Bug#233685: The apt package description does not show apt's dependence on dpkg
Package: apt
Version: 0.5.21
Severity: minor
When getting apt-get to run on a RedHat system,
I noticed that the package description for apt
does not mention it's dependence on dpkg,
yet apt-get will try to run /usr/bin/dpkg under
some conditions:
See error message below:
mint:bin# ./apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
gcc-3.3-base libc6 libdb1-compat libgcc1 libstdc++5
Suggested packages:
glibc-doc locales
The following NEW packages will be installed:
gcc-3.3-base libc6 libdb1-compat libgcc1 libstdc++5
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/5411kB of archives.
After unpacking 17.1MB of additional disk space will be used.
Do you want to continue? [Y/n]
Could not exec dpkg!
E: Sub-process /usr/bin/dpkg returned an error code (100)
mint:bin#
And, the depends from apt-cache show apt is:
Package: apt
Provides: libapt-pkg-libc6.3-5-3.3
Depends: libc6 (>= 2.3.2.ds1-4), libgcc1 (>= 1:3.3.2-1), libstdc++5 (>=
1:3.3.2-1)
Suggests: aptitude | synaptic | gnome-apt | wajig, dpkg-dev, apt-doc
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
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";
-- (no /etc/apt/preferences present) --
-- /etc/apt/sources.list --
deb ftp://ftp.uk.debian.org/debian/ testing main non-free contrib
deb-src ftp://ftp.uk.debian.org/debian/ testing main non-free contrib
# deb http://mirror.ox.ac.uk/debian testing main contrib non-free
# deb-src http://mirror.ox.ac.uk/debian testing main contrib non-free
deb http://mirror.ox.ac.uk/debian-non-US testing/non-US main contrib non-free
deb-src http://mirror.ox.ac.uk/debian-non-US testing/non-US main contrib non-free
# deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
# deb-src http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
# deb http://mirrors.kernel.org/debian/ testing main non-free contrib
# deb-src http://mirrors.kernel.org/debian/ testing main non-free contrib
deb http://security.debian.org/ testing/updates main contrib non-free
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux gpk 2.4.23 #2 Sun Dec 7 11:46:58 GMT 2003 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages apt depends on:
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
ii libgcc1 1:3.3.3-0pre3 GCC support library
ii libstdc++5 1:3.3.3-0pre3 The GNU Standard C++ Library v3
-- no debconf information
Reply to: