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

Bug#307454: apt-get doesn't install some packages without explicitly specifying additional packages



Package: apt
Version: 0.5.28.1
Severity: normal

apt-get doesn't install some packages without explicitly specify some
additional packages to meet their dependency, for example,

   $ apt-get --print-uris install galeon
   Reading Package Lists... Done
   Building Dependency Tree... Done
   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:

   The following packages have unmet dependencies:
     galeon: Depends: libgnomevfs2-0 (>= 2.8.3-7) but 2.8.2-0ubuntu1 is to
   be installed
   E: Broken packages

But when libgnomevfs2-0 is specified,

   $ apt-get --print-uris install galeon libgnomevfs2-0
   Reading Package Lists... Done
   Building Dependency Tree... Done
   The following extra packages will be installed:
     galeon-common libeel2-2 libexpat1 libexpat1-dev libfontconfig1
     libfontconfig1-dev libgcrypt11 libglade2-0 libglib2.0-0
   libglib2.0-data
     libglib2.0-dev libgnome2-0 libgnome2-common libgnomevfs2-common
   libgnutls11
     libgpg-error-dev libgpg-error0 libgtk2.0-0 libgtk2.0-bin
   libgtk2.0-common
     libgtk2.0-dev libnspr4 libopencdk8 libopencdk8-dev libpango1.0-0
     libpango1.0-common libpango1.0-dev libpng12-0 libpng12-dev libtasn1-2
     libtasn1-2-dev libxml2 libxml2-dev mozilla-browser
   Suggested packages:
     mozilla-bonobo gtm libglib2.0-doc gnutls-bin libgtk2.0-doc
   ttf-thryomanes
     libpango1.0-doc xprt xprt-xprintorg
   Recommended packages:
     mozilla-psm mozilla-mailnews iso-codes
   The following NEW packages will be installed:
     galeon galeon-common libgcrypt11 libgnutls11 mozilla-browser
   The following packages will be upgraded:
     libeel2-2 libexpat1 libexpat1-dev libfontconfig1 libfontconfig1-dev
     libglade2-0 libglib2.0-0 libglib2.0-data libglib2.0-dev libgnome2-0
     libgnome2-common libgnomevfs2-0 libgnomevfs2-common libgpg-error-dev
     libgpg-error0 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libgtk2.0-dev
     libnspr4 libopencdk8 libopencdk8-dev libpango1.0-0 libpango1.0-common
     libpango1.0-dev libpng12-0 libpng12-dev libtasn1-2 libtasn1-2-dev
   libxml2
     libxml2-dev
   31 upgraded, 5 newly installed, 0 to remove and 813 not upgraded.
   Need to get 0B/33.7MB of archives.
   After unpacking 66.8MB of additional disk space will be used.
   Do you want to continue? [Y/n] n
   Abort.

It continue to install without removing any packages.
This bug seems to be similar to #236146, but they are different in that
this doesn't require to remove any packages, while #236146 is to remove
some packages to meet the dependency.

The following is the result of the above apt-get commands with the option,
"-o Debug::pkgProblemResolver=1".

   $ apt-get -o 'Debug::pkgProblemResolver=1' --print-uris install galeon
   Reading Package Lists... Done
   Building Dependency Tree... Done
   Starting
   Starting 2
   Investigating libgnomevfs2-common
   Package libgnomevfs2-common has broken dep on libgnome2-0
     Considering libgnome2-0 281 as a solution to libgnomevfs2-common 69
     Holding Back libgnomevfs2-common rather than change libgnome2-0
   Investigating libgnomevfs2-0
   Package libgnomevfs2-0 has broken dep on libgnomevfs2-common
     Considering libgnomevfs2-common 69 as a solution to libgnomevfs2-0 368
     Holding Back libgnomevfs2-0 rather than change libgnomevfs2-common
    Try to Re-Instate libgnomevfs2-common
   Investigating galeon
   Package galeon has broken dep on libgnomevfs2-0
     Considering libgnomevfs2-0 368 as a solution to galeon 10000
       Reinst Failed because of libgnomevfs2-common
    Try to Re-Instate libgnomevfs2-0
   Done
   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:

   The following packages have unmet dependencies:
     galeon: Depends: libgnomevfs2-0 (>= 2.8.3-7) but 2.8.2-0ubuntu1 is to
   be installed
   E: Broken packages

   $ apt-get -o 'Debug::pkgProblemResolver=1' --print-uris install galeon libgnomevfs2-0
   Reading Package Lists... Done
   Building Dependency Tree... Done
   Starting
   Starting 2
   Investigating libgnomevfs2-common
   Package libgnomevfs2-common has broken dep on libgnome2-0
     Considering libgnome2-0 281 as a solution to libgnomevfs2-common 69
     Holding Back libgnomevfs2-common rather than change libgnome2-0
   Investigating libgnomevfs2-0
   Package libgnomevfs2-0 has broken dep on libgnomevfs2-common
     Considering libgnomevfs2-common 69 as a solution to libgnomevfs2-0
   10368
     Re-Instated libgnome2-common
     Re-Instated libgnome2-0
     Re-Instated libgnomevfs2-common
   Done
   The following extra packages will be installed:
     galeon-common libeel2-2 libexpat1 libexpat1-dev libfontconfig1
     libfontconfig1-dev libgcrypt11 libglade2-0 libglib2.0-0
   libglib2.0-data
     libglib2.0-dev libgnome2-0 libgnome2-common libgnomevfs2-common
   libgnutls11
     libgpg-error-dev libgpg-error0 libgtk2.0-0 libgtk2.0-bin
   libgtk2.0-common
     libgtk2.0-dev libnspr4 libopencdk8 libopencdk8-dev libpango1.0-0
     libpango1.0-common libpango1.0-dev libpng12-0 libpng12-dev libtasn1-2
     libtasn1-2-dev libxml2 libxml2-dev mozilla-browser
   Suggested packages:
     mozilla-bonobo gtm libglib2.0-doc gnutls-bin libgtk2.0-doc
   ttf-thryomanes
     libpango1.0-doc xprt xprt-xprintorg
   Recommended packages:
     mozilla-psm mozilla-mailnews iso-codes
   The following NEW packages will be installed:
     galeon galeon-common libgcrypt11 libgnutls11 mozilla-browser
   The following packages will be upgraded:
     libeel2-2 libexpat1 libexpat1-dev libfontconfig1 libfontconfig1-dev
     libglade2-0 libglib2.0-0 libglib2.0-data libglib2.0-dev libgnome2-0
     libgnome2-common libgnomevfs2-0 libgnomevfs2-common libgpg-error-dev
     libgpg-error0 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libgtk2.0-dev
     libnspr4 libopencdk8 libopencdk8-dev libpango1.0-0 libpango1.0-common
     libpango1.0-dev libpng12-0 libpng12-dev libtasn1-2 libtasn1-2-dev
   libxml2
     libxml2-dev
   31 upgraded, 5 newly installed, 0 to remove and 813 not upgraded.
   Need to get 0B/33.7MB of archives.
   After unpacking 66.8MB of additional disk space will be used.
   Do you want to continue? [Y/n] n
   Abort.


-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Get "";
APT::Get::List-Cleanup "false";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
Acquire "";
Acquire::http "";
Acquire::http::Proxy "http://localhost.localdomain:8080";;

-- (no /etc/apt/preferences present) --


-- /etc/apt/sources.list --

deb cdrom:[Ubuntu 4.10 _Warty Warthog_ - Preview i386 Binary-1 (20041020)]/ unstable main restricted
# This work fine, but have to manually copy the Packages file.
deb cdrom:[Ubuntu 4.10 _Warty Warthog_ - Preview i386 Binary-1 (20041020)]/ unstable main/debian-installer
#deb file:/cdrom warty main/debian-installer
#deb file:/var/cache/apt-build/repository apt-build main


## Uncomment the following two lines to fetch updated software from the network
# deb http://archive.ubuntu.com/ubuntu warty main restricted
# deb-src http://archive.ubuntu.com/ubuntu warty main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# deb http://archive.ubuntu.com/ubuntu warty universe
# deb-src http://archive.ubuntu.com/ubuntu warty universe

# deb http://security.ubuntu.com/ubuntu warty-security main restricted
# deb-src http://security.ubuntu.com/ubuntu warty-security main restricted

# warty
deb http://public.planetmirror.com/pub/ubuntu/archive warty main/debian-installer
deb http://public.planetmirror.com/pub/ubuntu/archive warty main restricted universe multiverse
deb-src http://public.planetmirror.com/pub/ubuntu/archive warty main restricted universe multiverse
# warty-security
deb http://public.planetmirror.com/pub/ubuntu/archive warty-security main restricted universe multiverse
deb-src http://public.planetmirror.com/pub/ubuntu/archive warty-security main restricted universe multiverse
# warty-updates
deb http://public.planetmirror.com/pub/ubuntu/archive warty-updates main restricted universe multiverse
deb-src http://public.planetmirror.com/pub/ubuntu/archive warty-updates main restricted universe multiverse

# sarge
deb http://ftp.debian.org sarge main/debian-installer
deb http://ftp.debian.org sarge main contrib non-free
deb http://non-us.debian.org sarge/non-US main contrib non-free
#deb http://non-us.debian.org sarge non-US/main non-US/contrib non-US/non-free
deb-src http://ftp.debian.org sarge main contrib non-free
deb-src http://non-us.debian.org sarge/non-US main contrib non-free
#deb-src http://non-us.debian.org sarge non-US/main non-US/contrib non-US/non-free

# woody
# no main/debian-installer in woody
#deb http://ftp.debian.org woody main/debian-installer
deb http://ftp.debian.org woody main contrib non-free
deb http://non-us.debian.org woody/non-US main contrib non-free
#deb http://non-us.debian.org woody non-US/main non-US/contrib non-US/non-free
deb-src http://ftp.debian.org woody main contrib non-free
deb-src http://non-us.debian.org woody/non-US main contrib non-free
#deb-src http://non-us.debian.org woody non-US/main non-US/contrib non-US/non-free

## sid
#deb http://ftp.debian.org sid main/debian-installer
#deb http://ftp.debian.org sid main contrib non-free
#deb http://non-us.debian.org sid/non-US main contrib non-free
##deb http://non-us.debian.org sid non-US/main non-US/contrib non-US/non-free
#deb-src http://ftp.debian.org sid main contrib non-free
#deb-src http://non-us.debian.org sid/non-US main contrib non-free
##deb-src http://non-us.debian.org sid non-US/main non-US/contrib non-US/non-free


-- System Information:
Debian Release: testing/unstable (ubuntu-4.10/warty)
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8.1-3-386
Locale: LANG=C, LC_CTYPE=thai

Versions of packages apt depends on:
ii  libc6              2.3.2.ds1-13ubuntu2.2 GNU C Library: Shared libraries an
ii  libgcc1            1:3.4.2-2ubuntu1      GCC support library
ii  libstdc++5         1:3.3.4-9ubuntu5      The GNU Standard C++ Library v3

-- no debconf information



Reply to: