Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] Question about updating /etc/portage/package.use

1,013 views
Skip to first unread message

Walter Dnes

unread,
Oct 17, 2012, 10:10:01 PM10/17/12
to
I ran "emerge -p --deep --update world" on a machine, and got...

====================================================================
* IMPORTANT: config file '/etc/portage/package.use' needs updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild U ] sys-devel/gnuconfig-20120818 [20120116]
[ebuild U ] dev-libs/expat-2.1.0-r2 [2.1.0]
[ebuild U ] media-libs/libpng-1.5.13-r1 [1.5.10]
[ebuild U ] virtual/libffi-3.0.11 [0]
[ebuild N ] dev-libs/gobject-introspection-common-1.32.1
[ebuild N ] dev-libs/elfutils-0.149 USE="bzip2 zlib -lzma -nls"
[ebuild U ] app-arch/zip-3.0-r1 [3.0] USE="-natspec%"
[ebuild U ] sys-apps/man-pages-3.42 [3.41]
[ebuild U ] dev-libs/libtasn1-2.13 [2.12]
[ebuild U ] app-text/dos2unix-6.0.1 [6.0]
[ebuild U ] dev-libs/glib-2.32.4-r1 [2.30.3]
[ebuild U ] x11-libs/pango-1.30.1 [1.29.4]
[ebuild U ] x11-libs/gdk-pixbuf-2.26.4 [2.24.1-r1]
[ebuild U ] dev-libs/atk-2.4.0 [2.2.0]
[ebuild U ] media-video/mplayer-1.1-r1 [1.0_rc4_p20110322-r1] USE="iconv*"
[ebuild U ] gnome-extra/libgsf-1.14.23 [1.14.22] USE="-introspection%"
[ebuild U ] net-libs/gnutls-2.12.20 [2.12.18]
[ebuild U ] x11-themes/gnome-icon-theme-3.4.0 [3.2.1.2]
[ebuild U ] gnome-base/librsvg-2.36.1 [2.34.2]
[ebuild U ] x11-libs/gtk+-2.24.12 [2.24.10-r1]
[i3][root][~]
====================================================================

I read that section of the emerge man page, and it talks about
CONFIG_PROTECT and CONFIG_PROTECT_MASK. The tone of the message seems
to indicate there is something wrong with my /etc/portage/package.use
file. But I can't figure out what the problem is. Can somebody please
explain it in plain English?

--
Walter Dnes <walt...@waltdnes.org>
I don't run "desktop environments"; I run useful applications

Mark Knecht

unread,
Oct 17, 2012, 10:30:01 PM10/17/12
to
On Wed, Oct 17, 2012 at 7:19 PM, Mark Knecht <markk...@gmail.com> wrote:
> On Wed, Oct 17, 2012 at 7:00 PM, Walter Dnes <walt...@waltdnes.org> wrote:
>> I ran "emerge -p --deep --update world" on a machine, and got...
>>
>> ====================================================================
>> * IMPORTANT: config file '/etc/portage/package.use' needs updating.
>> * See the CONFIGURATION FILES section of the emerge
>> * man page to learn how to update config files.
>>
> <SNIP>
>> I read that section of the emerge man page, and it talks about
>> CONFIG_PROTECT and CONFIG_PROTECT_MASK. The tone of the message seems
>> to indicate there is something wrong with my /etc/portage/package.use
>> file. But I can't figure out what the problem is. Can somebody please
>> explain it in plain English?
>>
>> --
>> Walter Dnes <walt...@waltdnes.org>
>> I don't run "desktop environments"; I run useful applications
>>
>
> Post package.use please.
>
> Cheers,
> Mark

Also, what version of portage are you using?

Note that I've never seen this message and other than adds and deletes
haven't changed my package.use file in I don't know how long.

- Mark

Mark Knecht

unread,
Oct 17, 2012, 10:30:02 PM10/17/12
to
On Wed, Oct 17, 2012 at 7:00 PM, Walter Dnes <walt...@waltdnes.org> wrote:
> I ran "emerge -p --deep --update world" on a machine, and got...
>
> ====================================================================
> * IMPORTANT: config file '/etc/portage/package.use' needs updating.
> * See the CONFIGURATION FILES section of the emerge
> * man page to learn how to update config files.
>
<SNIP>
> I read that section of the emerge man page, and it talks about
> CONFIG_PROTECT and CONFIG_PROTECT_MASK. The tone of the message seems
> to indicate there is something wrong with my /etc/portage/package.use
> file. But I can't figure out what the problem is. Can somebody please
> explain it in plain English?
>
> --
> Walter Dnes <walt...@waltdnes.org>
> I don't run "desktop environments"; I run useful applications
>

Tsukasa Mcp_Reznor

unread,
Oct 18, 2012, 12:50:02 AM10/18/12
to


> Date: Wed, 17 Oct 2012 19:26:54 -0700
> Subject: Re: [gentoo-user] Question about updating /etc/portage/package.use
> From: markk...@gmail.com
> To: gento...@lists.gentoo.org

dispatch-conf should show what it wants to change, or you can go in /etc/portage and look for a file named ._cfgXXXX to see what it wants to change it to manually

Walter Dnes

unread,
Oct 18, 2012, 1:30:01 AM10/18/12
to
On Wed, Oct 17, 2012 at 07:26:54PM -0700, Mark Knecht wrote
It's sys-apps/portage-2.1.11.9 My /etc/portage/package.use is
attached. I start my USE with "-*" so I have to put a lot of stuff in
package.use. Anyhow, I ran an update world. When I ran etc-update, here
are the changes it wanted to make to package.use...

1)
-app-emulation/qemu-kvm sdl
+# move app-emulation/qemu-kvm app-emulation/qemu
+app-emulation/qemu sdl

So they changed the name. No problem. I'll do this manually.


2)
-media-video/mplayer iconv

?!?!? But, but, but... on my first attempt, the update refosed to run,
claiming that "iconv" is required if I specify "truetype". Now 5
minutes later, it wants me to remove the "iconv" flag.


3)
-www-client/midori deprecated

No bleeping way!
* Short story Flash does not work on linux midori without this option
* Long story. See "I got midori working, including Flash" which I
posted on the 15th in this forum. The Flash binary is GTK+:2 and only
works if linked with GTK+:2, which "deprecated" causes. The default
install links against GTK+:3, which seems to be ABI-incompatable with
Flash video (sound still works).

BTW, this install is on my "media PC" hooked up to my 50" plasma TV,
not my regular working machine. I went and deleted the new config, so I
don't accidentally enable it it some day.
package.use

Neil Bothwick

unread,
Oct 18, 2012, 3:20:02 AM10/18/12
to
On Wed, 17 Oct 2012 22:00:49 -0400, Walter Dnes wrote:

> I read that section of the emerge man page, and it talks about
> CONFIG_PROTECT and CONFIG_PROTECT_MASK. The tone of the message seems
> to indicate there is something wrong with my /etc/portage/package.use
> file. But I can't figure out what the problem is. Can somebody please
> explain it in plain English?

When I've seen this message before, it is because a package I have in
package.use has moved categories. etc-update should sort this out for you.


--
Neil Bothwick

I've found a solution to Fermat's Last Theorem but I see I've run out of
room o
signature.asc

Walter Dnes

unread,
Oct 19, 2012, 5:10:03 AM10/19/12
to
On Thu, Oct 18, 2012 at 08:12:41AM +0100, Neil Bothwick wrote
> On Wed, 17 Oct 2012 22:00:49 -0400, Walter Dnes wrote:
>
> > I read that section of the emerge man page, and it talks about
> > CONFIG_PROTECT and CONFIG_PROTECT_MASK. The tone of the message seems
> > to indicate there is something wrong with my /etc/portage/package.use
> > file. But I can't figure out what the problem is. Can somebody please
> > explain it in plain English?
>
> When I've seen this message before, it is because a package I have in
> package.use has moved categories. etc-update should sort this out for you.

It looks like it was due to the qemu-kvm ==> qemu migration...

-app-emulation/qemu-kvm sdl
+# move app-emulation/qemu-kvm app-emulation/qemu
+app-emulation/qemu sdl

Neil Bothwick

unread,
Oct 19, 2012, 5:30:01 AM10/19/12
to
On Fri, 19 Oct 2012 05:01:16 -0400, Walter Dnes wrote:

> > When I've seen this message before, it is because a package I have in
> > package.use has moved categories. etc-update should sort this out for
> > you.
>
> It looks like it was due to the qemu-kvm ==> qemu migration...
>
> -app-emulation/qemu-kvm sdl
> +# move app-emulation/qemu-kvm app-emulation/qemu
> +app-emulation/qemu sdl

That's the same one I saw a few weeks ago. Isn't portage clever? :)


--
Neil Bothwick

Theory is when you know everything, but nothing works.
Reality is when everything works, but you don't know why.
However, usually theory and reality are mixed together :
Nothing works, and nobody knows why not.
signature.asc
0 new messages