Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61712 - dependancy problems when using packages
Summary: dependancy problems when using packages
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 60012 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-25 17:28 UTC by Daniel Kasak
Modified: 2004-09-08 23:44 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 Daniel Kasak 2004-08-25 17:28:01 UTC
On 3 separate occasions now I've had dependancy problems with using packages.

I'm building packages for use on a number of PCs. If I run:

emerge -up --deep gnome

I get a list of things to be installed:

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

---

Calculating dependencies ...done!
[ebuild     U ] x11-terms/xterm-196 [194] 
[ebuild     U ] x11-libs/pango-1.4.1-r1 [1.4.1] 
[ebuild     U ] dev-libs/libxml2-2.6.12 [2.6.11] 
[ebuild     U ] x11-libs/gtk+-2.4.7 [2.4.4] 
[ebuild     U ] gnome-base/orbit-2.10.4 [2.10.3] 
[ebuild     U ] media-sound/alsa-headers-1.0.6a [1.0.5a] 
[ebuild     U ] media-libs/alsa-lib-1.0.6 [1.0.5-r3] 
[ebuild     U ] media-sound/esound-0.2.35 [0.2.34] 
[ebuild     U ] app-text/docbook-xml-dtd-4.1.2-r5 [4.1.2-r4] 
[ebuild     U ] dev-libs/libxslt-1.1.9 [1.1.8-r1] 
[ebuild     U ] gnome-base/gdm-2.6.0.4-r1 [2.6.0.3] 
[ebuild     U ] net-print/cups-1.1.21_rc2 [1.1.21_rc1] 
[ebuild     U ] net-print/libgnomecups-0.1.10 [0.1.8] 
[ebuild     U ] net-print/gnome-cups-manager-0.23 [0.18] 
[ebuild     U ] net-www/mozilla-launcher-1.18 [1.16] 
[ebuild     U ] net-www/mozilla-1.7.2-r1 [1.7.2] 
[ebuild     U ] net-www/epiphany-1.2.8 [1.2.7] 
[ebuild     U ] dev-python/pygtk-2.3.96 [2.2.0] 
[ebuild     U ] x11-terms/gnome-terminal-2.6.1-r1 [2.6.1] 
[ebuild     U ] app-text/aspell-0.50.5-r4 [0.50.5-r3] 
[ebuild     U ] media-libs/gstreamer-0.8.5 [0.8.3-r1] 
[ebuild     U ] media-libs/gst-plugins-0.8.3 [0.8.2] 
[ebuild     U ] media-plugins/gst-plugins-mad-0.8.3 [0.8.2] 
[ebuild     U ] media-plugins/gst-plugins-oss-0.8.3 [0.8.2] 
[ebuild     U ] media-plugins/gst-plugins-esd-0.8.3 [0.8.2] 
[ebuild     U ] media-plugins/gst-plugins-alsa-0.8.3 [0.8.2-r1] 
[ebuild     U ] media-plugins/gst-plugins-ogg-0.8.3 [0.8.2] 
[ebuild     U ] media-plugins/gst-plugins-vorbis-0.8.3 [0.8.2] 
[ebuild     U ] gnome-extra/gcalctool-4.4.16 [4.3.51] 

---

However if I tell portage to use & build packages with:

emerge -upkb --deep gnome

I get a dependancy problem:

---

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

Calculating dependencies /
emerge: there are no masked or unmasked ebuilds to satisfy ">=gnome-base/ORBit2-2".

!!! Error calculating dependencies. Please correct.

---

If I rename my packages directory and create a new empty one, the issue goes away ( and returns when I move the old one back into place ). However this is not a 'solution' - just a workaround. Since I'm installing on 5 PCs here at work, I'd *really* prefer to continue using packages.

I have run the 'fixpackages' script and it made no difference.

*What* in the packages directly is the problem?

I found a sym-link in the /usr/portage/packages/gnome-base folder: 'ORBit2-2.10.3.tbz2' which was pointing to nothing. I deleted it ( I think the name of the package changed to lower-case ). This didn't solve my issue.

HOWEVER, ALL 3 TIMES this has happened it has been because of a name-change from upper-case to lower-case names, so I think the issue is here somewhere. I can't see where though. Something in the packages directory...

Reproducible: Always
Steps to Reproduce:
1. Build up a packages directory
2. Wait for someone to change the names of packages ( usually from upper-case to lower-case )
3. fixpackages ( optional - doesn't affect outcome )
4. Attempt to upgrade packages with 'emerge -upkb --deep system'
Actual Results:  
Dependancy problem, eg:

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

Calculating dependencies /
emerge: there are no masked or unmasked ebuilds to satisfy ">=gnome-base/ORBit2-2".

!!! Error calculating dependencies. Please correct.

Expected Results:  
Dependancies shown, eg:

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

Calculating dependencies ...done!
[ebuild     U ] x11-terms/xterm-196 [194] 
[ebuild     U ] x11-libs/pango-1.4.1-r1 [1.4.1] 
[ebuild     U ] dev-libs/libxml2-2.6.12 [2.6.11] 
[ebuild     U ] x11-libs/gtk+-2.4.7 [2.4.4] 
[ebuild     U ] gnome-base/orbit-2.10.4 [2.10.3] 
[ebuild     U ] media-sound/alsa-headers-1.0.6a [1.0.5a] 
[ebuild     U ] media-libs/alsa-lib-1.0.6 [1.0.5-r3] 
[ebuild     U ] media-sound/esound-0.2.35 [0.2.34] 
[ebuild     U ] app-text/docbook-xml-dtd-4.1.2-r5 [4.1.2-r4] 
[ebuild     U ] dev-libs/libxslt-1.1.9 [1.1.8-r1] 
[ebuild     U ] gnome-base/gdm-2.6.0.4-r1 [2.6.0.3] 
[ebuild     U ] net-print/cups-1.1.21_rc2 [1.1.21_rc1] 
[ebuild     U ] net-print/libgnomecups-0.1.10 [0.1.8] 
[ebuild     U ] net-print/gnome-cups-manager-0.23 [0.18] 
[ebuild     U ] net-www/mozilla-launcher-1.18 [1.16] 
[ebuild     U ] net-www/mozilla-1.7.2-r1 [1.7.2] 
[ebuild     U ] net-www/epiphany-1.2.8 [1.2.7] 
[ebuild     U ] dev-python/pygtk-2.3.96 [2.2.0] 
[ebuild     U ] x11-terms/gnome-terminal-2.6.1-r1 [2.6.1] 
[ebuild     U ] app-text/aspell-0.50.5-r4 [0.50.5-r3] 
[ebuild     U ] media-libs/gstreamer-0.8.5 [0.8.3-r1] 
[ebuild     U ] media-libs/gst-plugins-0.8.3 [0.8.2] 
[ebuild     U ] media-plugins/gst-plugins-mad-0.8.3 [0.8.2] 
[ebuild     U ] media-plugins/gst-plugins-oss-0.8.3 [0.8.2] 
[ebuild     U ] media-plugins/gst-plugins-esd-0.8.3 [0.8.2] 
[ebuild     U ] media-plugins/gst-plugins-alsa-0.8.3 [0.8.2-r1] 
[ebuild     U ] media-plugins/gst-plugins-ogg-0.8.3 [0.8.2] 
[ebuild     U ] media-plugins/gst-plugins-vorbis-0.8.3 [0.8.2] 
[ebuild     U ] gnome-extra/gcalctool-4.4.16 [4.3.51]
Comment 1 Daniel Kasak 2004-08-25 17:28:36 UTC
emerge --info:

Portage 2.0.50-r10 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.7-Redeeman13)
=================================================================
System uname: 2.6.7-Redeeman13 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm avi berkdb composite crypt cups encode esd foomaticdb freetds gdbm gif gnome gpm gtk gtk2 imlib imlib2 java jpeg libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png ppds python quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 2 Daniel Kasak 2004-08-25 17:30:09 UTC
*** Bug 60012 has been marked as a duplicate of this bug. ***
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2004-09-08 23:44:44 UTC
2.0.50-r10 had a broken package resolution. 2.0.50-r11 resolves this.