[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xlibs breaking dependencies



Hi Michel

Thanks for your stamina!!

Am Sonntag, 27.07.03, um 14:12 Uhr (Europe/Zurich) schrieb Michel Dänzer:

On Sun, 2003-07-27 at 13:17, Andreas Wüst wrote:

Sorry, I didn't get this one! I thought, deps would be handled
automatically??  If I tell it, for instance, to apt-get -u -t
unstable
install openoffice.org, apt-get tells me that libc6 etc. (of which I obviously have already an older, i.e. woody, version installed) will
be
upgraded. So, why does it not do that when trying to install
gnome-session?

Hmm. Did you maybe pin xlibs to the older version before with
something
like xlibs=4.1.0-16 or xlibs/stable?

No. There is no /etc/apt/preferences at all.

Here neither, pinning with <package>=<version> or <package>/<release>
is independent from that.

Huh? But, how do I do that

apt-get install xlibs=4.1.0-16

or

apt-get install xlibs/unstable

(same with aptitude)

Interesting. I've never seen this yet.

Is it possible for packages to pin themselves?

Another possibility is that other packages somehow prevent apt from
upgrading xlibs automatically. If you add it to the install line, does
it cause other packages to be upgraded additionally as well?

Add to which install line? The one with gnome-session?

Yes. I asked about this earlier in this thread, and you said it
worked...

Yes, of course it works if I put gnome-session and xlibs into the same line. But you asked about the packages which get upgraded *additionally*, but since gnome-session alone doesn't work, I can *only* tell you which packages get upgraded at all by adding xlibs, and not which packages are *additionally* upgraded compared to an install line with only gnome-session!!

But, in my quest to fulfill your wish at least partially, I've copied some output, please see the very last paragraph of this post, there I'm running with gnome-session and xlibs together!

Since install gnome-session doesn't work out and simply quits with
"E: Sorry, broken packages", it won't give me any packages which are
to be upgraded.

It does that by default, the idea is to track down the problem by adding
packages it complains about to the install line.

That's what I've done. See below.

The thing is, I can still only speculate about what you're trying to do
and what happens...

Ok, now, a lot of ouput follows. Some could be copied directly, on some I had to use --trivial-only to be able to redirect it to a file. Please note that I forgot to copy the stderror output..

*** What I want to do:

# apt-get -u -t unstable install gnome-session

Reading Package Lists...
Building Dependency Tree...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

Sorry, but the following packages have unmet dependencies:
gnome-session: Depends: libbonoboui2-0 (>= 2.2.2) but it is not going to be installed Depends: libgconf2-4 (>= 2.2.1) but it is not going to be installed Depends: libgnome2-0 (>= 2.1.90) but it is not going to be installed Depends: libgnomecanvas2-0 (>= 2.1.90) but it is not going to be installed Depends: libgnomeui-0 (>= 2.1.90) but it is not going to be installed Depends: libgnomevfs2-0 (>= 2.2.5) but it is not going to be installed Depends: libgnomevfs2-common (>= 2.2.5) but it is not going to be installed Depends: libgtk2.0-0 (>= 2.2.1) but it is not going to be installed Depends: libpango1.0-0 (>= 1.2.1) but it is not going to be installed
E: Sorry, broken packages

*** D'oh, doesn't look nice! Ok, lets try to track the culprit down!!

# apt-get -u -t unstable install libpango1.0-0

Reading Package Lists...
Building Dependency Tree...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

Sorry, but the following packages have unmet dependencies:
libpango1.0-0: Depends: libpango1.0-common (>= 1.2.3-1) but it is not going to be installed Depends: libxft2 (> 2.1.1) but it is not going to be installed Depends: xlibs (> 4.2.0) but 4.1.0-16 is to be installed

*** Hmm, we can already spot the xlibs thingy. But, lets dig deeper into it by one level.

# apt-get -u -t unstable install libxft2

Reading Package Lists...
Building Dependency Tree...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

Sorry, but the following packages have unmet dependencies:
  libxft2: Depends: xlibs (> 4.2.0) but 4.1.0-16 is to be installed

*** Ok, we seem to have reached the bottom of the dep tree.

# apt-get -u -t unstable install xlibs

Reading Package Lists...
Building Dependency Tree...
The following extra packages will be installed:
  autoconf bonobo-activation console-common cpp-3.2 debconf debconf-i18n
debsums defoma dialog docbook-dsssl docbook-xsl esound-common fontconfig
  gcc-3.2-base gcc-3.3-base gconf2 gnome-doc-tools gnome-icon-theme
  gnome-themes gnome-themes-common gnome2-user-guide gstreamer-audiofile
  gstreamer-gconf gstreamer-mad gstreamer-misc gstreamer-plugin-apps
gstreamer-plugin-libs gstreamer-tools gstreamer-vorbis gtk2-engines-crux
  gtk2-engines-lighthouseblue gtk2-engines-pixbuf gtk2-engines-redmond95
  gtk2-engines-thinice jade libart-2.0-2 libasound2 libatk1.0-0
  libbonobo-activation4 libbonobo2-0 libbonobo2-common libc6 libc6-dev
  libcdparanoia0 libcupsys2 libdb1-compat libdb4.0 libesd0 libexpat1
libfontconfig1 libfreetype6 libgail-common libgail17 libgcc1 libgconf11 libgconf2-4 libgcrypt1 libgdbm3 libglade2-0 libglib2.0-0 libglib2.0-data libglib2.0-dev libgnome2-common libgnomecanvas2-0 libgnomecanvas2-common
  libgnomeprint2.2-0 libgnomeprint2.2-data libgnomeprintui2.2-0
  libgnomeprintui2.2-common libgnomeui-common libgnutls5 libgnutls7
  libgstreamer0.6-0 libgtk2.0-0 libgtk2.0-common libgtkhtml2-0 libgtop2
  libid3tag0 libidl0 liblinc1 liblocale-gettext-perl liblzo1 libmad0
libmetacity0 libncurses5 libnewt0.51 libogg0 libopencdk4 liborbit0 liborbit2 libpango1.0-0 libpango1.0-common libperl5.8 libpng12-0 libpopt0 librsvg2-2 libsp1 libstartup-notification0 libstdc++5 libtasn1-0 libtext-charwidth-perl
  libtext-iconv-perl libtext-wrapi18n-perl libvorbis0a libvorbisenc2
libvorbisfile3 libvte-common libvte4 libwnck-common libwnck4 libxft2 libxml2 libxrender1 libxslt1 locales metacity perl perl-base perl-modules perl-tk
  pkg-config scrollkeeper sgml-base slang1a-utf8 whiptail xbase-clients
  xfree86-common
The following packages will be REMOVED:
  autoconf2.13 libdigest-md5-perl
The following NEW packages will be installed:
bonobo-activation cpp-3.2 debconf-i18n docbook-dsssl docbook-xsl fontconfig
  gcc-3.2-base gcc-3.3-base gconf2 gnome-doc-tools gnome-icon-theme
  gnome-themes gnome-themes-common gnome2-user-guide gstreamer-audiofile
  gstreamer-gconf gstreamer-mad gstreamer-misc gstreamer-plugin-apps
gstreamer-plugin-libs gstreamer-tools gstreamer-vorbis gtk2-engines-crux
  gtk2-engines-lighthouseblue gtk2-engines-pixbuf gtk2-engines-redmond95
  gtk2-engines-thinice jade libart-2.0-2 libasound2 libatk1.0-0
libbonobo-activation4 libbonobo2-0 libbonobo2-common libcupsys2 libdb1-compat
  libdb4.0 libfontconfig1 libgail-common libgail17 libgcc1 libgconf2-4
  libgcrypt1 libgdbm3 libglade2-0 libgnome2-common libgnomecanvas2-0
  libgnomecanvas2-common libgnomeprint2.2-0 libgnomeprint2.2-data
libgnomeprintui2.2-0 libgnomeprintui2.2-common libgnomeui-common libgnutls5 libgnutls7 libgstreamer0.6-0 libgtk2.0-0 libgtk2.0-common libgtkhtml2-0 libgtop2 libid3tag0 libidl0 liblinc1 liblocale-gettext-perl liblzo1 libmad0
  libmetacity0 libnewt0.51 libogg0 libopencdk4 liborbit2 libpango1.0-0
  libpango1.0-common libperl5.8 libpng12-0 librsvg2-2 libsp1
  libstartup-notification0 libstdc++5 libtasn1-0 libtext-charwidth-perl
  libtext-iconv-perl libtext-wrapi18n-perl libvorbis0a libvorbisenc2
  libvorbisfile3 libvte-common libvte4 libwnck-common libwnck4 libxft2
  libxrender1 metacity slang1a-utf8
The following packages will be upgraded
autoconf console-common debconf debsums defoma dialog esound-common libc6
  libc6-dev libcdparanoia0 libesd0 libexpat1 libfreetype6 libgconf11
libglib2.0-0 libglib2.0-data libglib2.0-dev libncurses5 liborbit0 libpopt0 libxml2 libxslt1 locales perl perl-base perl-modules perl-tk pkg-config
  scrollkeeper sgml-base whiptail xbase-clients xfree86-common xlibs
34 packages upgraded, 94 newly installed, 2 to remove and 259 not upgraded.
Need to get 55.8MB of archives. After unpacking 108MB will be used.

*** Hmm, it doesn't complain! Now, let's have gnome-session and xlibs together.

# apt-get -u -t unstable install gnome-session xlibs

Reading Package Lists...
Building Dependency Tree...
The following extra packages will be installed:
  autoconf bonobo-activation console-common cpp-3.2 debconf debconf-i18n
debsums defoma dialog docbook-dsssl docbook-xsl esound-common fontconfig
  gcc-3.2-base gcc-3.3-base gconf2 gnome-doc-tools gnome-icon-theme
  gnome-themes gnome-themes-common gnome2-user-guide gstreamer-audiofile
  gstreamer-gconf gstreamer-mad gstreamer-misc gstreamer-plugin-apps
gstreamer-plugin-libs gstreamer-tools gstreamer-vorbis gtk2-engines-crux
  gtk2-engines-lighthouseblue gtk2-engines-pixbuf gtk2-engines-redmond95
  gtk2-engines-thinice jade libart-2.0-2 libasound2 libatk1.0-0
  libbonobo-activation4 libbonobo2-0 libbonobo2-common libbonoboui2-0
libbonoboui2-common libc6 libc6-dev libcdparanoia0 libcupsys2 libdb1-compat
  libdb4.0 libesd0 libexpat1 libfam0c102 libfontconfig1 libfreetype6
libgail-common libgail17 libgcc1 libgconf11 libgconf2-4 libgcrypt1 libgdbm3
  libglade2-0 libglib2.0-0 libglib2.0-data libglib2.0-dev libgnome2-0
libgnome2-common libgnomecanvas2-0 libgnomecanvas2-common libgnomeprint2.2-0
  libgnomeprint2.2-data libgnomeprintui2.2-0 libgnomeprintui2.2-common
libgnomeui-0 libgnomeui-common libgnomevfs2-0 libgnomevfs2-common libgnutls5 libgnutls7 libgstreamer0.6-0 libgtk2.0-0 libgtk2.0-common libgtkhtml2-0 libgtop2 libid3tag0 libidl0 liblinc1 liblocale-gettext-perl liblzo1 libmad0 libmetacity0 libncurses5 libnewt0.51 libogg0 libopencdk4 liborbit0 liborbit2 libpango1.0-0 libpango1.0-common libperl5.8 libpng12-0 libpopt0 librsvg2-2 libsp1 libstartup-notification0 libstdc++5 libtasn1-0 libtext-charwidth-perl
  libtext-iconv-perl libtext-wrapi18n-perl libvorbis0a libvorbisenc2
libvorbisfile3 libvte-common libvte4 libwnck-common libwnck4 libxft2 libxml2 libxrender1 libxslt1 locales metacity perl perl-base perl-modules perl-tk
  pkg-config scrollkeeper sgml-base slang1a-utf8 whiptail xbase-clients
  xfree86-common
The following packages will be REMOVED:
autoconf2.13 gnome-applets gnome-panel gnome-panel-data libdigest-md5-perl
  libfam0
The following NEW packages will be installed:
bonobo-activation cpp-3.2 debconf-i18n docbook-dsssl docbook-xsl fontconfig
  gcc-3.2-base gcc-3.3-base gconf2 gnome-doc-tools gnome-icon-theme
  gnome-themes gnome-themes-common gnome2-user-guide gstreamer-audiofile
  gstreamer-gconf gstreamer-mad gstreamer-misc gstreamer-plugin-apps
gstreamer-plugin-libs gstreamer-tools gstreamer-vorbis gtk2-engines-crux
  gtk2-engines-lighthouseblue gtk2-engines-pixbuf gtk2-engines-redmond95
  gtk2-engines-thinice jade libart-2.0-2 libasound2 libatk1.0-0
  libbonobo-activation4 libbonobo2-0 libbonobo2-common libbonoboui2-0
  libbonoboui2-common libcupsys2 libdb1-compat libdb4.0 libfam0c102
  libfontconfig1 libgail-common libgail17 libgcc1 libgconf2-4 libgcrypt1
  libgdbm3 libglade2-0 libgnome2-0 libgnome2-common libgnomecanvas2-0
  libgnomecanvas2-common libgnomeprint2.2-0 libgnomeprint2.2-data
libgnomeprintui2.2-0 libgnomeprintui2.2-common libgnomeui-0 libgnomeui-common libgnomevfs2-0 libgnomevfs2-common libgnutls5 libgnutls7 libgstreamer0.6-0
  libgtk2.0-0 libgtk2.0-common libgtkhtml2-0 libgtop2 libid3tag0 libidl0
liblinc1 liblocale-gettext-perl liblzo1 libmad0 libmetacity0 libnewt0.51 libogg0 libopencdk4 liborbit2 libpango1.0-0 libpango1.0-common libperl5.8 libpng12-0 librsvg2-2 libsp1 libstartup-notification0 libstdc++5 libtasn1-0 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libvorbis0a libvorbisenc2 libvorbisfile3 libvte-common libvte4 libwnck-common libwnck4
  libxft2 libxrender1 metacity slang1a-utf8
The following packages will be upgraded
  autoconf console-common debconf debsums defoma dialog esound-common
gnome-session libc6 libc6-dev libcdparanoia0 libesd0 libexpat1 libfreetype6 libgconf11 libglib2.0-0 libglib2.0-data libglib2.0-dev libncurses5 liborbit0
  libpopt0 libxml2 libxslt1 locales perl perl-base perl-modules perl-tk
pkg-config scrollkeeper sgml-base whiptail xbase-clients xfree86-common xlibs 35 packages upgraded, 101 newly installed, 6 to remove and 255 not upgraded.
Need to get 57.6MB of archives. After unpacking 93.3MB will be used.

*** Obviously, some more stuff has to be fetched.

Hope you've enjoyed the read, if you got this far! ;)

--
Best wishes, and thanks for all your help!!
Andi


Reply to: