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

Bug#222810: apt: Refuses to upgrade when a package changes sources.



Package: apt
Version: 0.5.14
Severity: normal

I am attempting to upgrade from the unstable version of postgresql
(7.3.4-9) to the version in the experimental archive (7.4-1).  No matter
what I tried, including removing EVERY source from my sources.list 
except for the experimental source, apt will not upgrade. 

I think this apt-cache policy output nicely sums up the problem:

postgresql:
  Installed: 7.3.4-9
  Candidate: 7.3.4-9
  Version Table:
     7.4-1 0
          1 http://ftp.us.debian.org ../project/experimental/main Packages
 *** 7.3.4-9 0
        100 /var/lib/dpkg/status

All I can think to say is, WTF? 

I have had this happen before, and have finally managed to get the
package installed by manually removing it and reinstalling.  However,
this is not right, and could cause one to miss important updates IF
the problem is as bad as it looks to me.  I have not done enough
testing to know more than that the postgresql package won't upgrade.

Thanks,
b.g.

-- 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:: "if dpkg -s apt-listbugs | grep -q 'Status: install ok installed'; then /usr/sbin/apt-listbugs -I -l -g -H misato.debian.or.jp --indexdir=/~taru/apt-listbugs/ --pin-priority=1000 apt; fi";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";

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


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

deb http://ftp.us.debian.org/debian/ ../project/experimental main contrib 

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

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






-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux serrano 2.6.0-test11 #1 Tue Dec 2 09:54:50 CST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages apt depends on:
ii  libc6                       2.3.2.ds1-10 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.3.2-4    GCC support library
ii  libstdc++5                  1:3.3.2-4    The GNU Standard C++ Library v3

-- no debconf information




Reply to: