Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -U world - How often
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
robmoss
Retired Dev
Retired Dev


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Tue May 04, 2004 11:33 pm    Post subject: Reply with quote

Right, well I would suggest:

Code:
mkdir -p /etc/portage
echo "=net-nds/openldap-2.1.26" >> /etc/portage/package.unmask


Try that, and then tell me what the output of "emerge -p openldap" is again.
_________________
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
View user's profile Send private message
unstable_geek
Tux's lil' helper
Tux's lil' helper


Joined: 01 Mar 2003
Posts: 102
Location: In my own happy place

PostPosted: Wed May 05, 2004 3:47 pm    Post subject: Reply with quote

Code:

coal root # mkdir /etc/portage
coal root # echo "=net-nds/openldap-2.1.26" >> /etc/portage/package.unmask
coal root # emerge -p openladap

These are the packages that I would merge, in order:

Calculating dependencies
emerge: there are no masked or unmasked ebuilds to satisfy "openladap".

!!! Error calculating dependencies. Please correct.


I did a emerge -s for goo dmeasure
Code:


coal root # emerge -s openldap
Searching...
[ Results for search key : openldap ]
[ Applications found : 1 ]

*  net-nds/openldap [ Masked ]
      Latest version available: 2.1.30
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 1,996 kB
      Homepage:    http://www.OpenLDAP.org/
      Description: LDAP suite of application and development tools
      License:     OPENLDAP


_________________
I hate my sig
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4975
Location: Gothenburg, Sweden

PostPosted: Wed May 05, 2004 4:43 pm    Post subject: Reply with quote

unstable_geek wrote:
Code:

coal root # emerge -p openladap


Spot the mistake? openladap.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Back to top
View user's profile Send private message
unstable_geek
Tux's lil' helper
Tux's lil' helper


Joined: 01 Mar 2003
Posts: 102
Location: In my own happy place

PostPosted: Wed May 05, 2004 6:22 pm    Post subject: Reply with quote

ah crap..... :oops:

Code:

coal root # emerge -p openldap

These are the packages that I would merge, in order:

Calculating dependencies
!!! all ebuilds that could satisfy "openldap" have been masked.
!!! possible candidates are:
- net-nds/openldap-2.1.30 (masked by: profile, ~keyword)
- net-nds/openldap-2.1.26 (masked by: profile)
- net-nds/openldap-2.1.27 (masked by: profile, ~keyword)
- net-nds/openldap-2.1.27-r1 (masked by: profile, ~keyword)

!!! Error calculating dependencies. Please correct.


no change though......
_________________
I hate my sig
Back to top
View user's profile Send private message
robmoss
Retired Dev
Retired Dev


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Thu May 06, 2004 12:22 am    Post subject: Reply with quote

This is the strangest thing I've seen in a good while. It appears to be a genuine bug - quite what triggers it I don't know - but if you head over to https://bugs.gentoo.org/ and report it there, that'd be great. Sorry I can't be of more help...
_________________
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
View user's profile Send private message
unstable_geek
Tux's lil' helper
Tux's lil' helper


Joined: 01 Mar 2003
Posts: 102
Location: In my own happy place

PostPosted: Thu May 06, 2004 1:21 am    Post subject: Reply with quote

great tip robmoss2k - you've been a great help.

The answer I think can be found here.
_________________
I hate my sig
Back to top
View user's profile Send private message
robmoss
Retired Dev
Retired Dev


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Thu May 06, 2004 1:24 am    Post subject: Reply with quote

Ah, I getcha! Hadn't realised you'd been around for a sufficiently long time for that to be a problem - I must make a habit of looking at people's joined dates!

Anyway, I would suggest that updating your /etc/make.profile symlink to something a bit more current might be a good idea. default-x86-2004.0 is a little more current than default-1.0...
_________________
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
View user's profile Send private message
hepta_sean
Apprentice
Apprentice


Joined: 27 Apr 2004
Posts: 246
Location: Berlin, Germany

PostPosted: Thu May 06, 2004 1:57 am    Post subject: Reply with quote

Crap, too late, just found the possibility of the profile masking the package, while you were already solving the problem. :)

Just as an addition: We could have seen this earlier, because if one of the package.mask files would have been the problem emerge would have said "masked by: package.mask", not "masked by: profile".

So, whenever there is a "masked by: profile", robmoss2k's tip of checking the make.profile symlink could be useful.

Regards, sean
Back to top
View user's profile Send private message
robmoss
Retired Dev
Retired Dev


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Thu May 06, 2004 12:54 pm    Post subject: Reply with quote

Yeah, I should have realised that sooner. I've never had the problem before, but I know what to do with it from now on :D
_________________
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
View user's profile Send private message
unstable_geek
Tux's lil' helper
Tux's lil' helper


Joined: 01 Mar 2003
Posts: 102
Location: In my own happy place

PostPosted: Thu May 06, 2004 7:43 pm    Post subject: Reply with quote

wow - didn't even realise the profile versioning stuff.

will I have to recompile everything if I change from defualt-1.0 to default-x86-2004.0?
_________________
I hate my sig
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Thu May 06, 2004 7:46 pm    Post subject: Reply with quote

You can if you want to, but you don't have to. Just run am emerge -Duav world and see what wants to update.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
unstable_geek
Tux's lil' helper
Tux's lil' helper


Joined: 01 Mar 2003
Posts: 102
Location: In my own happy place

PostPosted: Fri May 07, 2004 1:30 am    Post subject: Reply with quote

ai yai yaaii! 8O

Code:

coal root # emerge -Duva world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild     U ] dev-python/python-fchksum-1.7.1 [1.6.1-r1]  26 kB
[ebuild     U ] sys-libs/readline-4.3-r4 [4.1-r5]  940 kB
[ebuild     U ] sys-apps/baselayout-1.8.12 [1.8.6.13] -bootstrap -build -livecd -(selinux) -static  198 kB
[ebuild     U ] x11-misc/ttmkfdir-3.0.9-r1 [3.0.9]  19 kB
[ebuild  N    ] sys-devel/gcc-3.3.2-r5  +X -bootstrap -build -gcj -java -multilib +nls -static  23,451 kB
[ebuild     U ] sys-libs/glibc-2.3.2-r9 [2.2.5-r9] -build +nls -nptl -pic  18 kB
[ebuild     U ] dev-python/pyxml-0.8.3 [0.8.2]  712 kB
[ebuild     U ] dev-libs/libxml2-2.6.7 [2.6.6] -ipv6 +python +readline  2,589 kB
[ebuild     U ] dev-libs/glib-2.4.0 [2.2.3] -debug -doc  1,986 kB
[ebuild     U ] dev-libs/atk-1.6.0 [1.4.1] -doc  480 kB
[ebuild     U ] x11-libs/pango-1.4.0 [1.2.5-r1] -doc  899 kB
[ebuild     U ] x11-libs/gtk+-2.4.0-r1 [2.2.4-r1] -doc +jpeg -tiff  8,277 kB
[ebuild     U ] x11-libs/gtk+-1.2.10-r11 [1.2.10-r10] -debug +nls  2,880 kB
[ebuild     U ] dev-db/postgresql-7.4.2-r1 [7.3.6] -doc -java +libg++ +nls +pam +perl -pg-hier -pg-intdatetime -pg-vacuumdelay +python +readline +ssl +tcltk +zlib  9,015 kB
[ebuild     U ] net-print/cups-1.1.20-r1 [1.1.20] +pam -slp +ssl  3,653 kB
[ebuild     U ] media-libs/libogg-1.1 [1.0]  276 kB
[ebuild     U ] dev-perl/MIME-Base64-3.00 [2.20]  13 kB
[ebuild     U ] dev-perl/HTML-Parser-3.34-r1 [3.28]  73 kB
[ebuild     U ] gnome-base/gail-1.6.0 [1.4.1]  485 kB
[ebuild     U ] app-text/sgml-common-0.6.3-r4 [0.6.3-r3]  74 kB
[ebuild     U ] net-www/lynx-2.8.5 [2.8.4.1c] -ipv6 +nls +ssl  2,126 kB
[ebuild     U ] dev-libs/libxslt-1.1.4 [1.1.3] +python  1,677 kB
[ebuild     UD] net-nds/openldap-2.1.26 [2.1.30] +berkdb +crypt -debug +gdbm -ipv6 -kerberos +odbc +perl +readline +samba -sasl -slp +ssl +tcpd  1,994 kB
[ebuild     U ] net-www/apache-2.0.49-r1 [2.0.49] +berkdb -doc +gdbm -ipv6 +ldap -threads  0 kB
[ebuild  N    ] dev-tex/latex2html-2002.2  +gif +png  1,096 kB
[ebuild  N    ] dev-python/pyOpenSSL-0.5.1  +tetex  172 kB
[ebuild  N    ] dev-python/pyserial-2.0   40 kB
[ebuild     U ] dev-python/pygtk-2.0.0-r1 [2.0.0] +gnome +opengl  514 kB
[ebuild     U ] dev-python/twisted-1.2.0 [1.1.0] -doc +gtk +gtk2  1,251 kB
[ebuild     U ] gnome-base/gnome-print-0.37 [0.35-r3] +nls  750 kB
[ebuild     U ] gnome-base/gconf-1.0.9 [1.0.8-r5] +nls  765 kB
[ebuild     U ] gnome-extra/gtkhtml-1.1.10-r1 [1.1.10] +gnome +nls  1,005 kB
[ebuild     U ] app-crypt/gringotts-1.2.8 [1.2.7]  170 kB
[ebuild     U ] net-libs/libsoup-1.99.28 [1.99.26-r1] -gnutls  227 kB
[ebuild     U ] gnome-extra/gal-1.99.11 [1.99.10] -doc  927 kB
[ebuild     U ] gnome-extra/libgtkhtml-3.0.10 [3.0.9]  1,049 kB
[ebuild     U ] dev-tcltk/itcl-3.2.1-r1 [3.2-r2]  417 kB
[ebuild  N    ] dev-tcltk/iwidgets-4.0.1   1,049 kB
[ebuild     U ] net-mail/evolution-1.4.6 [1.4.5] +crypt -doc -ipv6 +kde -kerberos +ldap +mozilla +pda +spell +ssl  15,509 kB
[ebuild  N    ] app-office/mdbtools-0.5  +X +odbc  387 kB
[ebuild  N    ] gnome-extra/libgda-1.0.2  -doc -firebird +freetds +ldap +mdb -mysql -oci8 +odbc +postgres -sqlite  1,031 kB
[ebuild     U ] app-office/gnumeric-1.2.6 [1.2.2] +bonobo +libgda +python  10,858 kB
[ebuild     U ] app-arch/tar-1.13.92-r3 [1.13.25-r3] -build +nls -static  1,018 kB
[ebuild     U ] media-libs/imlib2-1.1.0 [1.0.6.20030220-r1] +X -doc +gif +jpeg -mmx +nls +png -static -tiff  795 kB
[ebuild     U ] media-video/ffmpeg-0.4.7 [0.4.7_pre20030624] -doc +dvd +encode -faad +imlib -mmx +oggvorbis +sdl -static +truetype  1,273 kB
[ebuild     U ] media-video/mjpegtools-1.6.1.90-r2 [1.6.0-r7] -3dnow +X +avi +dv +gtk -mmx +quicktime +sdl -sse  1,141 kB
[ebuild     U ] media-libs/libdvdread-0.9.4 [0.9.3]  250 kB
[ebuild     U ] dev-libs/lzo-1.08-r1 [1.08]  0 kB
[ebuild     U ] media-video/camstream-0.26.3 [0.26.2] -doc  1,548 kB
[ebuild     U ] sys-apps/module-init-tools-3.0 [0.9.15_pre4]  347 kB
[ebuild     U ] net-analyzer/ethereal-0.10.3 [0.9.16] -adns +gtk +gtk2 -ipv6 +snmp +ssl  0 kB
[ebuild     U ] dev-perl/extutils-depends-0.202 [0.102]  8 kB
[ebuild     U ] dev-perl/extutils-pkgconfig-1.03 [1.02]  5 kB
[ebuild     U ] dev-perl/glib-perl-1.040 [1.012] -xml  178 kB
[ebuild     U ] dev-perl/gtk2-perl-1.040 [1.012] +perl  512 kB
[ebuild     U ] dev-perl/gnome2-vfs-perl-1.00 [0.05]  45 kB
[ebuild     U ] dev-perl/gnome2-perl-0.90 [0.49]  72 kB
[ebuild     U ] app-misc/glimpse-4.17.4 [4.15-r1] -static  373 kB
[ebuild     U ] dev-util/cvs-1.11.15 [1.11.11]  2,196 kB
[ebuild  N    ] net-misc/dhcpcd-1.3.22_p4-r4  -build -static  148 kB
[ebuild     U ] x11-wm/metacity-2.8.0 [2.6.3] +xinerama  1,951 kB
[ebuild     U ] app-text/gpdf-0.112.1 [0.112]  819 kB
[ebuild     U ] x11-libs/gtksourceview-0.7.1 [0.7.0-r1] -doc  560 kB
[ebuild  N    ] app-shells/sash-3.6  +readline  49 kB
[ebuild  N    ] media-sound/cdparanoia-3.9.8-r1   113 kB
[ebuild     U ] dev-cpp/gtkmm-2.2.11 [2.2.8]  3,770 kB
[ebuild     U ] media-libs/libmikmod-3.1.11 [3.1.10-r1] -alsa +esd -oss  597 kB
[ebuild     U ] media-sound/normalize-0.7.6-r2 [0.7.6-r1] -audiofile +mad +xmms  292 kB
[ebuild     U ] sys-apps/pciutils-2.1.11-r1 [2.1.11]  118 kB
[ebuild     U ] sys-apps/hotplug-20040401 [20040105]  0 kB
[ebuild     U ] media-libs/libgphoto2-2.1.4 [2.1.3-r1] -doc +jpeg +nls  1,776 kB
[ebuild     U ] media-gfx/gphoto2-2.1.4 [2.1.3] -aalib +jpeg +ncurses +nls +readline  342 kB
[ebuild     U ] app-text/sablotron-1.0 [0.97] -doc +perl  472 kB
[ebuild  N    ] dev-php/mod_php-4.3.6-r1  +X +apache2 +berkdb +crypt -curl -doc -fdftk -firebird -flash +freetds +gd -gd-external +gdbm -gmp +imap -informix -ipv6 -java +jpeg +ldap -mcal -memlimit -mysql +nls -oci8 +odbc +pam +pdflib +png +postgres +qt +snmp +spell +ssl -tiff +truetype +xml2 -yaz  3,866 kB
[ebuild     U ] dev-php/php-4.3.6 [4.3.4-r4] +X +berkdb +crypt -curl -doc -fdftk -firebird -flash +freetds +gd -gd-external +gdbm -gmp +imap -informix -ipv6 -java +jpeg +ldap -mcal -memlimit -mysql +ncurses +nls -oci8 +odbc +pam +pdflib +png +postgres +qt +readline +snmp +spell +ssl -tiff +truetype +xml2 -yaz  3,866 kB
[ebuild     U ] app-arch/cfv-1.16 [1.15]  49 kB
[ebuild     U ] app-portage/mirrorselect-0.83 [0.82-r3]  4 kB
[ebuild     U ] dev-perl/DB_File-1.807 [1.803-r2]  79 kB
[ebuild     U ] net-mail/squirrelmail-1.4.2-r4 [1.4.2-r3] +crypt +ldap +ssl -virus-scan  30 kB
[ebuild     U ] media-libs/xine-lib-1_rc4 [1_rc2] +X -aalib -alsa +arts +avi -directfb +dvd +esd +gnome -ipv6 +nls +oggvorbis +sdl -speex -theora  6,629 kB
[ebuild  N    ] sys-apps/kbd-1.08-r5  +nls  800 kB
[ebuild     U ] app-misc/kdiff3-0.9.82 [0.9.61]  1,198 kB
[ebuild     U ] app-editors/vim-core-6.2-r7 [6.2-r5] -acl +ncurses +nls -(selinux)  2,345 kB
[ebuild     U ] dev-perl/Test-Harness-2.30 [2.28-r1]  50 kB
[ebuild     U ] dev-perl/Inline-0.44-r1 [0.44]  89 kB
[ebuild  N    ] x11-libs/gtkglarea-1.2.3-r1   284 kB
[ebuild     U ] dev-perl/gtk-perl-0.7008-r11 [0.7008-r9] +gnome  445 kB
[ebuild     U ] net-libs/nss_ldap-215-r1 [207-r1] +berkdb -debug  197 kB
[ebuild     UD] app-pda/synce-serial-0.7 [0.8-r1] +gnome  0 kB
[ebuild     U ] media-libs/libao-0.8.5 [0.8.4-r1] -alsa +arts +esd -mmap -nas  261 kB
[ebuild     U ] net-im/gaim-0.77 [0.75-r10] +cjk +crypt -debug -nas +nls +perl +spell  3,622 kB
[ebuild     U ] net-im/gaim-encryption-2.25 [2.21]  348 kB
[ebuild     U ] sys-boot/syslinux-2.06 [2.05]  321 kB
[ebuild  N    ] media-libs/libgd-2.0.22  +X +gif +jpeg +png +truetype  594 kB
[ebuild     U ] dev-util/strace-4.5.1 [4.4.98]  372 kB
[ebuild     U ] dev-perl/MailTools-1.60 [1.58]  42 kB
[ebuild     U ] app-arch/unrar-3.3.6 [3.3.4]  114 kB
[ebuild     U ] app-cdr/k3b-0.11.9 [0.11.6] -debug -dvdr +encode +flac +kde +mad -monkey +oggvorbis  6,245 kB
[ebuild     U ] net-libs/gnet-2.0.5 [2.0.4]  409 kB


_________________
I hate my sig
Back to top
View user's profile Send private message
Psych0
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2004
Posts: 127
Location: Carson City, Nevada USA

PostPosted: Fri May 07, 2004 4:45 am    Post subject: Reply with quote

Carmine wrote:
Well well well, glad to know that, so far, I've messed up my system
with the "emerge -UD..." stuff and "etc-update" killer.

Great post, this is and the force flows powerful in robmoss2k.


Heh, the emerge -UD killed mine good once
The etc-update mess was recoverable, a live/rescue-CD of most any description is a must for a gentoo noob. I clobbered fstab, modules.autoload.d and one other, I forget which once :oops:

dispatch-conf yes! that looks like a must have!

Where's glsa-check come from? Searching on fresh ebuilds, emerge -s or -S no joy
And yes, this looks like a really good candidate for a sticky, great info here!
_________________
Proud GNU/Linux user 158149
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Fri May 07, 2004 5:52 am    Post subject: Reply with quote

glsa-check is in app-portage/gentoolkit
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
dhurt
Apprentice
Apprentice


Joined: 14 May 2003
Posts: 278
Location: Davis, CA

PostPosted: Fri May 07, 2004 6:29 pm    Post subject: Reply with quote

Thanks all!

This has been one of the best threads that I have ever read. I to have the old profile problem, never realized that I needed to i needed to update /etc/make.profiles.

Also thanks for the description on how to add certain unstable packages to your tree. I was just running into this problem since I switched from xfree to xorg X server.

PS -> robmoss2k - I found this thread through your sig, many thanks.
_________________
"And isn't sanity really just a one-trick pony, anyway? I mean, all you get is one trick, rational thinking, but when you're good and crazy, ooh ooh ooh, the sky's the limit!" -- The Tick


Last edited by dhurt on Fri May 07, 2004 6:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
ikshaar
Veteran
Veteran


Joined: 23 Jul 2002
Posts: 1339
Location: Baltimore, MD

PostPosted: Fri May 07, 2004 6:40 pm    Post subject: Reply with quote

hi robmoss2k,

I agree that emerge -uU can be incorrect in the case you report but adding ~x86 to packages.keyword for xfree or gcc or any other packages does not sound like a safer solution... As soon as a new unstable version of them is released, your portage will propose to upgrade... it's ok if you want a sharp edge machine but not a solution for stability.

Also I did not see any mention anywhere of -U being deprecated, or soon to be as you reported... any link to such info ? my man pages did not report that.

I use -uUD and I think it is good solution. Matter of taste may be :wink:
_________________
"May God stands between you and harm in all the empty places where you must walk" - Babylon 5
Back to top
View user's profile Send private message
robmoss
Retired Dev
Retired Dev


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Sat May 08, 2004 6:26 am    Post subject: Reply with quote

ikshaar wrote:
hi robmoss2k,

I agree that emerge -uU can be incorrect in the case you report but adding ~x86 to packages.keyword for xfree or gcc or any other packages does not sound like a safer solution... As soon as a new unstable version of them is released, your portage will propose to upgrade... it's ok if you want a sharp edge machine but not a solution for stability.

Also I did not see any mention anywhere of -U being deprecated, or soon to be as you reported... any link to such info ? my man pages did not report that.

I use -uUD and I think it is good solution. Matter of taste may be :wink:


Would that still be a good solution if you were on a dial-up connection and rsync-2.6.2 hosed any chance of you being able to "emerge sync"? I think not. Would it still be a good solution if binutils-2.15* broke compilation of xorg-x11 and a new, stable release of that showed up? I think not. It's a very, very bad solution. Truly disgusting. If you want an unstable package and don't want future unstable releases, then either you shouldn't be using the unstable package in the first place, or you want a very specific version to use unstable, and so you should add something like this to package.keywords instead:

Code:
=x11-base/xfree-4.3.0* ~x86


-U is going fairly soon... you need to check out IRC for such information though. It's not "official" per se, but believe me, it's going.
_________________
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
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Mon May 10, 2004 4:29 pm    Post subject: Reply with quote

When I run emerge -pv depclean my system tries to unmerge my kernel sources

I have tried emerging them again but depclean still insists on removing them. Is there any way round this?
Back to top
View user's profile Send private message
robmoss
Retired Dev
Retired Dev


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Mon May 10, 2004 5:10 pm    Post subject: Reply with quote

Indeed there is! You don't have your kernel sources listed in /var/cache/edb/virtuals. So in that particular file, the following line exists on my system:

Code:
virtual/linux-sources sys-kernel/gentoo-dev-sources


You need something similar in your own virtuals file.
_________________
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
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Tue May 11, 2004 9:16 am    Post subject: Reply with quote

I have that exact same line in my /var/edb/cache/virtuals and my kernel sources are gentoo-dev-sources but emerge depclean still wants to remove them, any more ideas
Back to top
View user's profile Send private message
hepta_sean
Apprentice
Apprentice


Joined: 27 Apr 2004
Posts: 246
Location: Berlin, Germany

PostPosted: Tue May 11, 2004 10:32 am    Post subject: Reply with quote

Forgive me, if stating the obvious, but you have
Code:
sys-kernel/gentoo-dev-sources
also in your /var/cache/edb/world file, haven't you?

Code:
emerge depclean

should never try to unmerge packages in world and system and their dependencies. I don't know, if it cares about the virtuals.

If your system tries to unmerge gentoo-dev-sources, although it is in world, that is some very strange error. Please post some more information, then.
Back to top
View user's profile Send private message
robmoss
Retired Dev
Retired Dev


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Tue May 11, 2004 4:23 pm    Post subject: Reply with quote

But, nobspangle (great name by the way!) do you also have another "virtual/linux" line in there? This would be as a result of merging two or more kernel sources. It does happen - this is probably something to do with a package that required kernel sources as a dependency during your initial install. You should have only one "virtual/linux" line in virtuals, and your kernel sources don't need to be, but should, be listed in world. Both virtuals and world are in the same place, by the way - /var/cache/edb.
_________________
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
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Tue May 11, 2004 4:46 pm    Post subject: Reply with quote

I found the problem, but fixing it creates a new problem I could do with advice on.

in world I had the line
sys-kernel/gentoo-dev-sources=2.6.3-r1

I added the version to stop emerge -uD world from updating my kernel. Removing the version number has stopped emerge depclean from trying to remove the kernel sources.

So the questions

1. Why does this happen?
2. Is there a way I can stop it from happening?
3. If not can I fix my kernel source version a different way?

[edit]I have tried the following without success
adding =2.6.3-r1 to the line in virtuals
removing the line from world
combinations of the two[/edit]
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Tue May 11, 2004 5:17 pm    Post subject: Reply with quote

sys-kernel/gentoo-dev-sources=2.6.3-r1 is not a valid atom.

=sys-kernel/gentoo-dev-sources-2.6.3-r1 is a valid atom.

Ways to fix a package are with >sys-kernel/gentoo-dev-sources-2.6.3-r1 in /etc/portage/package.mask (package exclusion mask) or =sys-kernel/gentoo-dev-sources-2.6.3-r1 in /etc/portage/profile/packages (package inclusion mask).
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
hepta_sean
Apprentice
Apprentice


Joined: 27 Apr 2004
Posts: 246
Location: Berlin, Germany

PostPosted: Tue May 11, 2004 5:44 pm    Post subject: Reply with quote

robmoss2k wrote:
You should have only one "virtual/linux" line in virtuals,

Does anyone, have an idea, why my line in virtuals looks like this:
Code:
virtual/linux-sources sys-kernel/love-sources sys-kernel/gentoo-sources sys-kernel/gentoo-dev-sources sys-kernel/development-sources

I had all those sources, but shouldn't emerge remove those, which are unmerged? Currently there are only gentoo-dev-sources and love-sources on my system.

robmoss2k wrote:
and your kernel sources don't need to be, but should,
be listed in world.

Sorry, but this is wrong: I just tried and when removing the sources from world emerge -p depclean wants to remove them, which was the initial problem of nobspangle.

BTW: I learned a lot in this thread (once again thanks, especially to robmoss2k and ecatmur), so shouldn't the title be changed or the thread be split, so that others can find it, too?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 3 of 10

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum