View previous topic :: View next topic |
Author |
Message |
d99ma Tux's lil' helper
Joined: 21 Jul 2003 Posts: 148 Location: Lund, Sweden
|
Posted: Wed May 05, 2004 10:49 am Post subject: emerge -U after x.org installation |
|
|
I have a problem after changing from XFree to X.org.
When I do emerge -U world i get the following:
Code: |
Calculating world dependencies ...done!
[ebuild U ] app-arch/unrar-3.3.6 [3.3.4]
[ebuild U ] sys-apps/baselayout-1.8.12 [1.8.11]
[ebuild U ] x11-misc/ttmkfdir-3.0.9-r1 [3.0.9]
[ebuild N ] x11-base/xfree-4.3.0-r5
[ebuild U ] media-libs/libsdl-1.2.7 [1.2.6-r3]
[ebuild U ] media-libs/xine-lib-1_rc4 [1_rc3-r2]
[ebuild U ] app-text/sablotron-1.0 [0.97]
[ebuild U ] net-libs/libwww-5.4.0-r2 [5.4.0-r1]
[ebuild U ] sys-devel/gnuconfig-20040214 [20030708]
[ebuild U ] dev-db/postgresql-7.4.2-r1 [7.3.5]
[ebuild N ] net-mail/mailwrapper-0.1
[ebuild U ] net-mail/ssmtp-2.60.7 [2.48]
[ebuild N ] app-doc/php-docs-200403
[ebuild U ] dev-php/php-4.3.6 [4.3.4-r4]
[ebuild U ] app-arch/tar-1.13.92-r3 [1.13.25-r3]
[ebuild U ] app-editors/nano-1.3.2 [1.2.3]
[ebuild U ] net-misc/curl-7.11.0 [7.10.8-r1]
[ebuild U ] media-video/xine-ui-0.9.23-r2 [0.9.22-r2]
[ebuild U ] x11-libs/gtk+-1.2.10-r11 [1.2.10-r10]
[ebuild UD] media-sound/lame-3.93.1-r1 [3.95.1]
[ebuild U ] media-sound/cdparanoia-3.9.8-r1 [3.9.8]
[ebuild U ] media-video/mplayer-1.0_pre4 [0.92-r1]
[ebuild U ] app-text/mpage-2.5.3 [2.5.1]
|
When I do emerge package where package is a package which takes the X use flag there is no problem, but when I issue emerge -U package with the same package it want's to install XFree.
How do I resolve this?
Thanks
/Martin
Last edited by d99ma on Wed May 05, 2004 1:22 pm; edited 2 times in total |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Wed May 05, 2004 12:27 pm Post subject: |
|
|
No, don't use "-U", it will break things - check out the link in my sig.
I would suggest:
Code: | mkdir -p /etc/portage
echo "x11-base/xfree" >> /etc/portage/package.mask |
Then try again. You'll see something break. At a guess, it's possible x11-base/xfree is still listed in /var/cache/edb/virtuals - if it is, remove it. Otherwise, there's an ebuild which is depending on x11-base/xfree instead of virtual/x11 - if you could tell us what it is that would be most helpful as a bug should be filed in this eventuality. _________________ Reality is for those who can't face Science Fiction.
emerge -U will kill your Gentoo
ecatmur, Lord of Portage Bash Scripts |
|
Back to top |
|
|
d99ma Tux's lil' helper
Joined: 21 Jul 2003 Posts: 148 Location: Lund, Sweden
|
Posted: Wed May 05, 2004 12:45 pm Post subject: |
|
|
Thanks for the help.
The problem was that xorg-x11 is ~x86 masked and thats why portage wanted to use xfree.
Adding x11-base/xorg-x11 ~x86 to /etc/portage/package.keywords solved the problem.
I'l look into using your method instead as it seems a lot better.
I see trouble though. Beacuse when the package e.g. gnome-2.6 goes stable I don't want to continue using ~x86 gnome. So there is a lot of monitoring. And that get hard when I have a lot of packages, for instance all the gnome related packages.
/Martin |
|
Back to top |
|
|
d99ma Tux's lil' helper
Joined: 21 Jul 2003 Posts: 148 Location: Lund, Sweden
|
Posted: Wed May 05, 2004 1:21 pm Post subject: |
|
|
And a thing like linux-headers isn't working in your system. I have linux-headers-2.6.5 installed. emerge -u world wants to downgrade them to 2.4 not what I want. I add them to package.keywords but then emerge -u world wants to upgrade them to 2.6.22 not what I want either.
How do I solve problems like theese? |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Wed May 05, 2004 1:25 pm Post subject: |
|
|
Well linux-headers are -* masked, not ~x86 masked. So you're using something marked as broken rather than testing (although IMHO it's probably time to move these to testing). So in package.keywords, you instead want:
Code: | sys-kernel/linux-headers -* |
By the way, I assume you meant 2.4.22 rather than 2.6.22? _________________ Reality is for those who can't face Science Fiction.
emerge -U will kill your Gentoo
ecatmur, Lord of Portage Bash Scripts |
|
Back to top |
|
|
d99ma Tux's lil' helper
Joined: 21 Jul 2003 Posts: 148 Location: Lund, Sweden
|
Posted: Wed May 05, 2004 2:43 pm Post subject: |
|
|
Yes of course downgrade to 2.4.22 is what I meant.
Thanks again! |
|
Back to top |
|
|
|