View previous topic :: View next topic |
Author |
Message |
larand54 l33t
Joined: 20 Feb 2004 Posts: 695 Location: Sweden
|
Posted: Fri Oct 22, 2004 7:13 pm Post subject: What to do with blocking packages?[SOLVED] |
|
|
Today I was recommended to upgrade portage, well doesn't matter when you run emerge -uDav world you'l get it anyway.
Well now I don't think that was so smart. I got this result:
Code: |
root@Jupiter larand # emerge -uDav world
--- Invalid atom in /etc/portage/package.keywords: >=x11-base/opengl
PORTAGE_GPG_DIR is invalid. Removing gpg from FEATURES.
PORTAGE_GPG_DIR is invalid. Removing gpg from FEATURES.
These are the packages that I would merge, in order:
PORTAGE_GPG_DIR is invalid. Removing gpg from FEATURES.
Calculating world dependencies ...done!
[blocks B ] sys-kernel/linux-headers (from pkg sys-kernel/linux26-headers-2.6.8.1)
[blocks B ] mail-mta/sendmail (from pkg mail-mta/ssmtp-2.60.9)
[blocks B ] mail-mta/ssmtp (from pkg mail-mta/sendmail-8.12.11-r3)
[ebuild N ] sys-kernel/linux26-headers-2.6.8.1 -build 0 kB [1]
[ebuild NS ] sys-kernel/development-sources-2.6.9 -build -doc 35,413 kB [1]
[ebuild U ] media-libs/fontconfig-2.2.3 [2.2.2] 732 kB [1]
[ebuild U ] net-print/cups-1.1.20-r4 [1.1.20-r3] -debug +pam -slp +ssl 0 kB [1]
[ebuild U ] media-libs/libogg-1.1.2 [1.1] 410 kB [1]
[ebuild U ] media-libs/libvorbis-1.1.0 [1.0.1-r2] -debug 1,281 kB [1]
[ebuild U ] app-text/docbook-sgml-dtd-4.1-r2 [4.1-r1] 55 kB [1]
[ebuild U ] app-text/docbook-sgml-dtd-4.0-r2 [4.0-r1] 54 kB [1]
[ebuild U ] app-text/docbook-sgml-dtd-3.0-r2 [3.0-r1] 42 kB [1]
[ebuild U ] app-text/docbook-sgml-dtd-3.1-r2 [3.1-r1] 54 kB [1]
[ebuild U ] media-libs/t1lib-5.0.1 [5.0.0-r2] +X -debug -doc 1,609 kB [1]
[ebuild U ] app-text/xpdf-3.00-r3 [2.03] +motif -nodrm 522 kB [1]
[ebuild U ] media-libs/freetype-1.3.1-r4 [1.3.1-r3] +nls +tetex* 1,919 kB [1]
[ebuild U ] net-misc/curl-7.12.0-r2 [7.11.0] -ipv6 -ldap +ssl 1,165 kB [1]
[ebuild U ] sys-fs/reiserfsprogs-3.6.18 [3.6.17] -debug 396 kB [1]
[ebuild U ] media-libs/gd-2.0.28 [2.0.26] +X +jpeg +png +truetype 555 kB [1]
[ebuild U ] sys-kernel/genkernel-3.1.0 [3.0.2c] +bootsplash* 2,496 kB [1]
[ebuild U ] sys-apps/net-tools-1.60-r9 [1.60-r8] -build -debug +nls -static (-uclibc) 203 kB [1]
Total size of downloads: 46,912 kB
Portage overlays:
[1] /usr/portage
!!! Error: The above package list contains packages which cannot be installed
!!! on the same system.
|
How do I proceed? In the sticky they recommended to run:
to find the blockers. But that's what I always do. They also told that to do what you like with them. I want the kernel, at least the latest one and sendmail. But I want to get rid of the blocking.
I have asked this question some time ago but forgot what I could do and I don't find my thread.
Any one that can give me some help again. This time I will write it down.
Last edited by larand54 on Sat Oct 23, 2004 2:40 pm; edited 1 time in total |
|
Back to top |
|
|
larand54 l33t
Joined: 20 Feb 2004 Posts: 695 Location: Sweden
|
Posted: Fri Oct 22, 2004 7:19 pm Post subject: |
|
|
Hmm, I was wrong the recommendation in the sticky had some more than I said, this is how it looks like when I follow the recommendation:
Code: | root@Jupiter larand # emerge --pretend --tree --update --deep world
--- Invalid atom in /etc/portage/package.keywords: >=x11-base/opengl
These are the packages that I would merge, in reverse order:
Calculating world dependencies ...done!
[blocks B ] mail-mta/ssmtp (from pkg mail-mta/sendmail-8.12.11-r3)
[blocks B ] mail-mta/sendmail (from pkg mail-mta/ssmtp-2.60.9)
[blocks B ] sys-kernel/linux-headers (from pkg sys-kernel/linux26-headers-2.6.8.1)
[ebuild U ] sys-apps/net-tools-1.60-r9 [1.60-r8]
[ebuild U ] sys-kernel/genkernel-3.1.0 [3.0.2c]
[nomerge ] mail-mta/sendmail-8.12.11-r3
[ebuild U ] media-libs/gd-2.0.28 [2.0.26]
[ebuild U ] sys-fs/reiserfsprogs-3.6.18 [3.6.17]
[nomerge ] media-gfx/gimp-print-4.2.6
[nomerge ] net-print/foomatic-db-engine-3.0.2
[ebuild U ] net-misc/curl-7.12.0-r2 [7.11.0]
[nomerge ] dev-php/php-4.3.9
[ebuild U ] media-libs/freetype-1.3.1-r4 [1.3.1-r3]
[nomerge ] app-office/lyx-1.3.4
[ebuild U ] app-text/xpdf-3.00-r3 [2.03]
[ebuild U ] media-libs/t1lib-5.0.1 [5.0.0-r2]
[nomerge ] gnome-extra/gnome-games-2.6.2
[nomerge ] app-text/scrollkeeper-0.3.14
[nomerge ] app-text/docbook-sgml-utils-0.6.12
[ebuild U ] app-text/docbook-sgml-dtd-3.1-r2 [3.1-r1]
[ebuild U ] app-text/docbook-sgml-dtd-3.0-r2 [3.0-r1]
[ebuild U ] app-text/docbook-sgml-dtd-4.0-r2 [4.0-r1]
[ebuild U ] app-text/docbook-sgml-dtd-4.1-r2 [4.1-r1]
[nomerge ] sys-apps/dcron-2.9-r2
[nomerge ] mail-mta/ssmtp-2.60.9
[nomerge ] games-emulation/dosbox-0.62
[nomerge ] media-libs/libsdl-1.2.7-r2
[nomerge ] kde-base/arts-1.3.0
[ebuild U ] media-libs/libvorbis-1.1.0 [1.0.1-r2]
[ebuild U ] media-libs/libogg-1.1.2 [1.1]
[nomerge ] dev-perl/DBD-mysql-2.1027
[nomerge ] dev-perl/DBI-1.38
[nomerge ] dev-perl/PlRPC-0.2016-r1
[nomerge ] dev-perl/Net-Daemon-0.37
[ebuild U ] net-print/cups-1.1.20-r4 [1.1.20-r3]
[nomerge ] media-video/nvidia-glx-1.0.6111
[nomerge ] x11-base/xfree-4.3.0-r7
[ebuild U ] media-libs/fontconfig-2.2.3 [2.2.2]
[nomerge ] media-sound/alsa-utils-1.0.6
[nomerge ] media-libs/alsa-lib-1.0.5-r3
[ebuild NS ] sys-kernel/development-sources-2.6.9
[nomerge ] sys-apps/man-pages-1.67
[nomerge ] sys-apps/man-1.5m-r2
[nomerge ] sys-apps/sed-4.0.9
[nomerge ] sys-libs/glibc-2.3.4.20040808-r1
[ebuild N ] sys-kernel/linux26-headers-2.6.8.1
|
But I still need help, it doesn't tell me why they blocks and to to get rid of the blocks. |
|
Back to top |
|
|
chunderbunny Veteran
Joined: 31 May 2004 Posts: 1281 Location: 51°24'27" N, 0°57'15" W
|
Posted: Fri Oct 22, 2004 7:21 pm Post subject: |
|
|
Just unmerge linux-headers and either ssmtp or senmail. That should fix it. You may also want to add the following entires into /etc/portage/profile/virtuals Code: | virtual/kernel sys-kernel/linux26-headers sys-kernel/development-sources
virtual/os-headers sys-kernel/linux26-headers
virtual/linux-sources sys-kernel/development-sources |
This will ensure that all programs will recognise the new linux headers and your kernel sources as being valid headers and sources packages.
Last edited by chunderbunny on Fri Oct 22, 2004 7:22 pm; edited 1 time in total |
|
Back to top |
|
|
elmicha n00b
Joined: 02 Aug 2003 Posts: 31 Location: Bonn, Germany
|
Posted: Fri Oct 22, 2004 7:22 pm Post subject: |
|
|
Quote: | [blocks B ] sys-kernel/linux-headers (from pkg sys-kernel/linux26-headers-2.6.8.1)
[blocks B ] mail-mta/sendmail (from pkg mail-mta/ssmtp-2.60.9)
[blocks B ] mail-mta/ssmtp (from pkg mail-mta/sendmail-8.12.11-r3)
[ebuild N ] sys-kernel/linux26-headers-2.6.8.1 -build 0 kB [1] |
linux-headers are for kernel 2.4, so unmerge them (and merge linux26-headers afterwards, of course). If you want sendmail, there's no need for the separate ssmtp, so unmerge it. |
|
Back to top |
|
|
larand54 l33t
Joined: 20 Feb 2004 Posts: 695 Location: Sweden
|
Posted: Fri Oct 22, 2004 7:59 pm Post subject: |
|
|
Thank you!
Hmm I unmerge all of them but the linuxheader persists to emerge when
running:
Code: | root@Jupiter larand # emerge -uDav world
--- Invalid atom in /etc/portage/package.keywords: >=x11-base/opengl
These are the packages that I would merge, in order:
Calculating world dependencies ...done!
[blocks B ] sys-kernel/linux-headers (from pkg sys-kernel/linux26-headers-2.6.8.1)
[ebuild N ] sys-kernel/linux26-headers-2.6.8.1 -build 0 kB [1]
[ebuild NS ] sys-kernel/development-sources-2.6.9 -build -doc 35,413 kB [1]
[ebuild U ] media-libs/fontconfig-2.2.3 [2.2.2] 732 kB [1]
[ebuild U ] net-print/cups-1.1.20-r4 [1.1.20-r3] -debug +pam -slp +ssl 0 kB [1]
[ebuild U ] media-libs/libogg-1.1.2 [1.1] 410 kB [1]
[ebuild U ] media-libs/libvorbis-1.1.0 [1.0.1-r2] -debug 1,281 kB [1]
[ebuild U ] app-text/docbook-sgml-dtd-4.1-r2 [4.1-r1] 55 kB [1]
[ebuild U ] app-text/docbook-sgml-dtd-4.0-r2 [4.0-r1] 54 kB [1]
[ebuild U ] app-text/docbook-sgml-dtd-3.0-r2 [3.0-r1] 42 kB [1]
[ebuild U ] app-text/docbook-sgml-dtd-3.1-r2 [3.1-r1] 54 kB [1]
[ebuild U ] media-libs/t1lib-5.0.1 [5.0.0-r2] +X -debug -doc 1,609 kB [1]
[ebuild U ] app-text/xpdf-3.00-r3 [2.03] +motif -nodrm 522 kB [1]
[ebuild U ] media-libs/freetype-1.3.1-r4 [1.3.1-r3] +nls +tetex* 1,919 kB [1]
[ebuild U ] net-misc/curl-7.12.0-r2 [7.11.0] -ipv6 -ldap +ssl 1,165 kB [1]
[ebuild U ] sys-fs/reiserfsprogs-3.6.18 [3.6.17] -debug 396 kB [1]
[ebuild U ] media-libs/gd-2.0.28 [2.0.26] +X +jpeg +png +truetype 555 kB [1]
[ebuild U ] sys-kernel/genkernel-3.1.0 [3.0.2c] +bootsplash* 2,496 kB [1]
[ebuild U ] sys-apps/net-tools-1.60-r9 [1.60-r8] -build -debug +nls -static (-uclibc) 203 kB [1]
Total size of downloads: 46,912 kB
Portage overlays:
[1] /usr/portage
!!! Error: The above package list contains packages which cannot be installed
!!! on the same system.
|
. |
|
Back to top |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Fri Oct 22, 2004 8:34 pm Post subject: |
|
|
Use "emerge -t" to see tree of dependencies and see what is trying to emerge linux-header...
Otherwise, if you were using old profile like 1.4, and switch to kernel 2.6 later, your virtuals may ask for linux-headers. Check your "/etc/make.profile/"
Code: | /usr/portage/profiles/default-x86-1.4/virtuals | for example ask for linux-headers. In that case, i am not sure what to do .. you could upgrade profile but that could lead to even more thing to fix .. or you can try to override the virtuals in :
Code: | /etc/portage/profile/virtuals |
_________________ "May God stands between you and harm in all the empty places where you must walk" - Babylon 5 |
|
Back to top |
|
|
chunderbunny Veteran
Joined: 31 May 2004 Posts: 1281 Location: 51°24'27" N, 0°57'15" W
|
Posted: Fri Oct 22, 2004 9:22 pm Post subject: |
|
|
Sorry, I forgot to mention that you need an entry in /etc/portage/profile which looks a little like this:
Code: | virtual/kernel sys-kernel/linux26-headers sys-kernel/gentoo-dev-sources
virtual/os-headers sys-kernel/linux26-headers
virtual/linux-sources sys-kernel/gentoo-dev-sources |
Obviously you should replace gentoo-dev-sources with whatever kernel you actually use. |
|
Back to top |
|
|
larand54 l33t
Joined: 20 Feb 2004 Posts: 695 Location: Sweden
|
Posted: Fri Oct 22, 2004 9:29 pm Post subject: |
|
|
This is what I get now:
Code: |
root@Jupiter larand # emerge -uDavt world
--- Invalid atom in /etc/portage/package.keywords: >=x11-base/opengl
These are the packages that I would merge, in reverse order:
Calculating world dependencies ...done!
[blocks B ] sys-kernel/linux-headers (from pkg sys-kernel/linux26-headers-2.6.8.1)
[ebuild U ] sys-apps/net-tools-1.60-r9 [1.60-r8] -build -debug +nls -static (-uclibc) 203 kB [1]
[ebuild U ] sys-kernel/genkernel-3.1.0 [3.0.2c] +bootsplash* 2,496 kB [1]
[ebuild U ] media-libs/gd-2.0.28 [2.0.26] +X +jpeg +png +truetype 555 kB [1]
[ebuild U ] sys-fs/reiserfsprogs-3.6.18 [3.6.17] -debug 396 kB [1]
[nomerge ] media-gfx/gimp-print-4.2.6 +cups +foomaticdb +gtk +nls -ppds +readline [1]
[nomerge ] net-print/foomatic-db-engine-3.0.2 [1]
[ebuild U ] net-misc/curl-7.12.0-r2 [7.11.0] -ipv6 -ldap +ssl 1,165 kB [1]
[nomerge ] dev-php/php-4.3.9 +X +berkdb +crypt -curl -debug -doc -fdftk -firebird -flash -freetds +gd -gd-external +gdbm -gmp -hardenedphp -imap -informix -ipv6 +java +jpeg -kerberos -ldap -mcal -memlimit -mssql +mysql +ncurses +nls -oci8 -odbc +pam +pdflib +png -postgres +qt +readline -snmp +spell +ssl +tiff +truetype +xml2-yaz [1]
[ebuild U ] media-libs/freetype-1.3.1-r4 [1.3.1-r3] +nls +tetex* 1,919 kB [1]
[nomerge ] app-office/lyx-1.3.4 +cups -debug +gnome +nls +qt [1]
[ebuild U ] app-text/xpdf-3.00-r3 [2.03] +motif -nodrm 522 kB [1]
[ebuild U ] media-libs/t1lib-5.0.1 [5.0.0-r2] +X -debug -doc 1,609 kB [1]
[nomerge ] gnome-extra/gnome-games-2.6.2 -debug -guile [1]
[nomerge ] app-text/scrollkeeper-0.3.14 +nls [1]
[nomerge ] app-text/docbook-sgml-utils-0.6.12 +tetex [1]
[ebuild U ] app-text/docbook-sgml-dtd-3.1-r2 [3.1-r1] 54 kB [1]
[ebuild U ] app-text/docbook-sgml-dtd-3.0-r2 [3.0-r1] 42 kB [1]
[ebuild U ] app-text/docbook-sgml-dtd-4.0-r2 [4.0-r1] 54 kB [1]
[ebuild U ] app-text/docbook-sgml-dtd-4.1-r2 [4.1-r1] 55 kB [1]
[nomerge ] games-emulation/dosbox-0.62 +alsa -hardened +opengl [1]
[nomerge ] media-libs/libsdl-1.2.7-r2 +X -aalib +alsa +arts -dga -directfb +esd -fbcon -ggi -libcaca -nas -noaudio -nojoystick -novideo +opengl +oss +svga -xinerama +xv [1]
[nomerge ] kde-base/arts-1.3.0 +alsa +arts -artswrappersuid -debug +esd -jack +mad +oggvorbis -xinerama [1]
[ebuild U ] media-libs/libvorbis-1.1.0 [1.0.1-r2] -debug 1,281 kB [1]
[ebuild U ] media-libs/libogg-1.1.2 [1.1] 410 kB [1]
[nomerge ] dev-perl/DBD-mysql-2.1027 [1]
[nomerge ] dev-perl/DBI-1.38 [1]
[nomerge ] dev-perl/PlRPC-0.2016-r1 [1]
[nomerge ] dev-perl/Net-Daemon-0.37 [1]
[ebuild U ] net-print/cups-1.1.20-r4 [1.1.20-r3] -debug +pam -slp +ssl 0 kB [1]
[nomerge ] media-video/nvidia-glx-1.0.6111 -multilib [1]
[nomerge ] x11-base/xfree-4.3.0-r7 -3dfx -3dnow -bindist -cjk -debug -doc -ipv6 -mmx +nls +pam -sdk -sse -static +truetype +xml2 [1]
[ebuild U ] media-libs/fontconfig-2.2.3 [2.2.2] 732 kB [1]
[nomerge ] media-sound/alsa-utils-1.0.6 [1]
[nomerge ] media-libs/alsa-lib-1.0.5-r3 -jack -static [1]
[ebuild NS ] sys-kernel/development-sources-2.6.9 -build -doc 35,413 kB [1]
[nomerge ] sys-apps/man-pages-1.67 [1]
[nomerge ] sys-apps/man-1.5m-r2 -debug +nls [1]
[nomerge ] sys-apps/sed-4.0.9 -bootstrap -build -debug +nls -static [1]
[nomerge ] sys-libs/glibc-2.3.4.20040808-r1 -build -debug -erandom -hardened -makecheck -multilib +nls +nptl -pic -userlocales [1]
[ebuild N ] sys-kernel/linux26-headers-2.6.8.1 -build 0 kB [1]
Total size of downloads: 46,912 kB
Portage overlays:
[1] /usr/portage
!!! Error: The above package list contains packages which cannot be installed
!!! on the same system.
|
It doesn't show anything that causes the emerge of the header, or does it?
I'll continue tomorrow. Thanks for your help. |
|
Back to top |
|
|
larand54 l33t
Joined: 20 Feb 2004 Posts: 695 Location: Sweden
|
Posted: Sat Oct 23, 2004 8:08 am Post subject: |
|
|
elmicha wrote: | Quote: | [blocks B ] sys-kernel/linux-headers (from pkg sys-kernel/linux26-headers-2.6.8.1)
[blocks B ] mail-mta/sendmail (from pkg mail-mta/ssmtp-2.60.9)
[blocks B ] mail-mta/ssmtp (from pkg mail-mta/sendmail-8.12.11-r3)
[ebuild N ] sys-kernel/linux26-headers-2.6.8.1 -build 0 kB [1] |
linux-headers are for kernel 2.4, so unmerge them (and merge linux26-headers afterwards, of course). If you want sendmail, there's no need for the separate ssmtp, so unmerge it. |
Ahhh! so easy
That helped
[quote="chunderbunny"] Quote: |
Just unmerge linux-headers and either ssmtp or senmail. That should fix it. You may also want to add the following entires into /etc/portage/profile/virtuals
Code:
virtual/kernel sys-kernel/linux26-headers sys-kernel/development-sources
virtual/os-headers sys-kernel/linux26-headers
virtual/linux-sources sys-kernel/development-sources
This will ensure that all programs will recognise the new linux headers and your kernel sources as being valid headers and sources packages.
Sorry, I forgot to mention that you need an entry in /etc/portage/profile which looks a little like this:
Code:
virtual/kernel sys-kernel/linux26-headers sys-kernel/gentoo-dev-sources
virtual/os-headers sys-kernel/linux26-headers
virtual/linux-sources sys-kernel/gentoo-dev-sources
Obviously you should replace gentoo-dev-sources with whatever kernel you actually use.
|
What are this good for and what "entry" in /etc/portage/profile/ do you mean?
From the beginning I didnt' had the directory "profile" in /etc/portage so I had to create that and the file "virtuals". That's why I don't know what you mean when you talk about this "entry" in /etc/portage/profile.
I've heard about profiles earlier but this is compleatly new for me so I would be happy if someone could explain in short about it or give a link to some helpful doc. |
|
Back to top |
|
|
loki99 Advocate
Joined: 10 Oct 2003 Posts: 2056 Location: Vienna, €urope
|
Posted: Sat Oct 23, 2004 10:02 am Post subject: Re: What to do with blocking packages? |
|
|
larand54 wrote: |
I have asked this question some time ago but forgot what I could do and I don't find my thread.
Any one that can give me some help again. This time I will write it down. |
but i hope you know that when you click on search there is a option to search by author name. thats what i use to find old posts of mine! |
|
Back to top |
|
|
larand54 l33t
Joined: 20 Feb 2004 Posts: 695 Location: Sweden
|
Posted: Sat Oct 23, 2004 1:31 pm Post subject: Re: What to do with blocking packages? |
|
|
loki99 wrote: |
but i hope you know that when you click on search there is a option to search by author name. thats what i use to find old posts of mine! |
Sure, I know that, but I still couldn't find it. I'm not one of the most active here but over 130 post was apparently to heavy for me to browse through. I browsed through all messages but couldn't find it.
Well, at the end I'm happy to say that there are lot of helpful people around here. So the thing was finally solved. I just got interested in portage profile-matter and want some more info about it. |
|
Back to top |
|
|
loki99 Advocate
Joined: 10 Oct 2003 Posts: 2056 Location: Vienna, €urope
|
Posted: Sat Oct 23, 2004 2:18 pm Post subject: Re: What to do with blocking packages? |
|
|
larand54 wrote: |
Well, at the end I'm happy to say that there are lot of helpful people around here. So the thing was finally solved. I just got interested in portage profile-matter and want some more info about it. |
thats what i love about gentoo and its forum! you might want to add a to the title.
cheers! |
|
Back to top |
|
|
larand54 l33t
Joined: 20 Feb 2004 Posts: 695 Location: Sweden
|
Posted: Sat Oct 23, 2004 2:43 pm Post subject: Re: What to do with blocking packages? |
|
|
loki99 wrote: |
thats what i love about gentoo and its forum! you might want to add a to the title.
cheers! |
Of course! That's solved too now |
|
Back to top |
|
|
|