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

Bug#705452: docbook-xml: Fail to upgrade due to pre-depend problem



Helmut Grohne wrote:
> > Stuart Prescott also tried demoting this Pre-Dependency to Depends and
> > showed that the very same upgrade failure occurs. So this is not an
> > option.
> 
> The conclusion here is that the only way to fix this bug in sgml-base is
> to have *no* dependency on dpkg at all.

Actually, removing the dependency on dpkg doesn't change the outcome at all -- 
dpkg is already unpacked and configured in the debug output we have. (I also 
edited Packages to remove the sgml-base→dpkg relationship and verified it still 
fails in the same way).

Andreas Beckmann wrote: 
> > Stuart Prescott also determined that kdepim + kde-plasma-desktop are
> > enough to reproduce this problem.
> 
> I could reproduce the problem in piuparts with installing/upgrading these 
two 
> packages, but it required --install-recommends. So there may be even a 
> smaller set of packages needed to reproduce the problem by cutting out some 
> recommended packages.

I don't doubt that there is a smaller subset of packages that can reproduce 
this failure, especially since installing those two drags in several hundred 
others -- that was just as far as I had managed to get in narrowing it down 
(sufficient vs necessary). Yes, the vm in which I have been testing this on is a 
minimal installation + standard task and I've not touched defaults such as 
installing recommends.

Some further testing narrows it down further to:

# apt-get --no-install-recommends install kde-window-manager
# sed -i s/squeeze/wheezy/ /etc/apt/sources.list; apt-get update; apt-get -s -
o Debug::pkgPackageManager=true dist-upgrade
		→ FAIL with error we have seen

# dpkg -r kde-window-manager
# apt-get -s -o Debug::pkgPackageManager=true dist-upgrade
		→ PASS

# dpkg -i /var/cache/apt/archives/kde-window-manager*deb
# apt-get -s -o Debug::pkgPackageManager=true dist-upgrade
		→ FAIL with error we have seen

kde-window-manager has a dependency on perl which is involved in the failure 
here, but it's not obvious to me why this is happening (and kde-window-manager 
still drags in about 200 packages so we've still got a large problem space to 
look at).

cheers
Stuart

-- 
Stuart Prescott    http://www.nanonanonano.net/   stuart@nanonanonano.net
Debian Developer   http://www.debian.org/         stuart@debian.org
GPG fingerprint    BE65 FD1E F4EA 08F3 23D4 3C6D 9FE8 B8CD 71C5 D1A8
GPG fingerprint    90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7


Reply to: