Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 671862 - /etc/portage/repo.postsync.d/q-reinit is not quiet
Summary: /etc/portage/repo.postsync.d/q-reinit is not quiet
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-25 12:25 UTC by C. Wijtmans
Modified: 2019-02-01 06:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description C. Wijtmans 2018-11-25 12:25:56 UTC
I got this email from my cron.

--
Cron <root@vps> emerge --sync --quiet
12:02 AM (13 hours ago)

q: Updating ebuild cache in /usr/portage/gentoo ...
--

Not very useful information to me for a --quit command.
Is this by design or a bug?
Comment 1 Fabian Groffen gentoo-dev 2018-11-25 16:21:29 UTC
what version of portage-utils do you have installed, and how does your etc/portage/repo.postsync.d/q-reinit look like?
Comment 2 C. Wijtmans 2018-11-25 16:27:12 UTC
(In reply to Fabian Groffen from comment #1)
> what version of portage-utils do you have installed, and how does your
> etc/portage/repo.postsync.d/q-reinit look like?

app-portage/portage-utils-0.64

chris@vps ~ $ cat /etc/portage/repo.postsync.d/q-reinit
#!/bin/sh

repository_name=$1
repository_path=$3

if [ -n "${repository_name}" ]; then
        q ${PORTAGE_QUIET:+-q} --reinitialize="${repository_path}"
fi

:
Comment 3 Fabian Groffen gentoo-dev 2018-11-25 16:48:34 UTC
this problem is fixed since portage-utils-0.65, I guess it's time for requesting a new stable version
Comment 4 C. Wijtmans 2018-12-16 02:06:12 UTC
should i unmask app-portage/portage-utils-0.65 isntead?
Comment 5 Fabian Groffen gentoo-dev 2018-12-16 09:52:33 UTC
For the time being (there's other problems why I can't request for a new stable version, which likely won't affect you) you best add an package.accept_keywords entry for portage-utils-0.73 or change the q-reinit file.

Sorry for the inconvenience.
Comment 6 C. Wijtmans 2019-01-31 14:51:52 UTC
The package was stabilized and the bug is now gone. However I noticed that when I accidentally used --silent --quiet instead of just --quiet there was an error syncing and it was not displayed.
Comment 7 Fabian Groffen gentoo-dev 2019-02-01 06:39:57 UTC
Could you please create a new bug for portage-utils regarding the new problem?

The problem described in this one is fixed now, I think.

Thanks