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

Bug#301587: apt: Odd recommendation on dist-upgrade (upgrade gets it right)



Package: apt
Version: 0.5.28.1
Severity: normal


This afternoon when I ran a dist-upgrade on my sarge box I got an odd
recommendation about upgrading php4:

# apt-get dist-upgrade -u
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following NEW packages will be installed:
  apache-common libapache-mod-php4
The following packages will be upgraded:
  libapache2-mod-php4 php4 php4-common php4-mysql
4 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/4314kB of archives.
After unpacking 6264kB of additional disk space will be used.
Do you want to continue? [Y/n] n

# apt-get upgrade -u
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded:
  libapache2-mod-php4 php4 php4-common php4-mysql
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/1829kB of archives.
After unpacking 21.5kB of additional disk space will be used.
Do you want to continue? [Y/n] n

php4 declares a dependancy on libapache2-mod-php4 or libapache-mod-php4.
Thus I don't understand why it wants to install apache and
libapache-mod-php4 when the apache2 version of both of those packages
are already installed.


-- 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";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";

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


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

deb http://debian.pomona.edu/ sarge main contrib non-free

deb http://security.debian.org/ sarge/updates main contrib non-free

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i586)
Kernel: Linux 2.6.8-2-386
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages apt depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.4.3-6    GCC support library
ii  libstdc++5                  1:3.3.5-8    The GNU Standard C++ Library v3

-- no debconf information



Reply to: