Bug#503303: etch -> lenny minimal chroot upgrade fails due to Conflicts/Pre-Depends loop
Here is how I do to reproduce the bug:
gio@desktop:~$ mkdir test
gio@desktop:~$ sudo piuparts -m "http://ftp.belnet.be/debian/ main" -s \
etch_root.tar.gz -d etch -a hddtemp -t test
gio@desktop:~$ rm -Rf test/*
gio@desktop:~$ sudo tar -xzf etch_root.tar.gz -C test/
gio@desktop:~$ cd test
gio@desktop:~/test$ sudo chroot .
root@desktop:/# apt-get update
root@desktop:/# apt-get dist-upgrade
root@desktop:/# sed -i s/etch/lenny/ /etc/apt/sources.list
root@desktop:/# apt-get update
root@desktop:/# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following NEW packages will be installed:
debconf debconf-i18n gcc-4.3-base libdb4.6 liblocale-gettext-perl
libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl lzma passwd
The following packages will be upgraded:
apt base-files base-passwd bash bsdutils coreutils debian-archive-keyring
debianutils diff dpkg e2fslibs e2fsprogs findutils gcc-4.1-base gnupg gpgv grep
gzip hostname initscripts libacl1 libattr1 libblkid1 libbz2-1.0 libc6
libcomerr2 libdb4.2 libgcc1 libgcrypt11 libgpg-error0 libncurses5 libpam-modules
libpam-runtime libpam0g libreadline5 libsasl2-2 libselinux1 libsepol1
libslang2 libss2 libstdc++6 libtasn1-3 libusb-0.1-4 libuuid1 login lsb-base makedev
mawk mktemp mount ncurses-base ncurses-bin perl-base readline-common sed
sysv-rc sysvinit sysvinit-utils tar tzdata util-linux zlib1g
62 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 27.4MB of archives.
After unpacking 13.5MB of additional disk space will be used.
Do you want to continue [Y/n]?
WARNING: The following packages cannot be authenticated!
gcc-4.3-base libc6 libstdc++6 lzma apt dpkg perl-base liblocale-gettext-perl
libtext-iconv-perl libtext-charwidth-perl libtext-wrapi18n-perl debconf-i18n
debconf tzdata libgcc1 libbz2-1.0 readline-common libncurses5 libreadline5
libusb-0.1-4 zlib1g gpgv gnupg debian-archive-keyring base-passwd base-files
debianutils bash libselinux1 coreutils diff libcomerr2 libblkid1 e2fslibs
e2fsprogs libpam-runtime libpam0g libdb4.6 libpam-modules passwd libuuid1
findutils grep gzip hostname login mktemp mount ncurses-bin sed libsepol1
sysvinit tar libslang2 lsb-base util-linux bsdutils ncurses-base sysvinit-utils
mawk initscripts libattr1 libacl1 libss2 sysv-rc libgpg-error0 libgcrypt11
libsasl2-2 libtasn1-3 makedev gcc-4.1-base libdb4.2
Authentication warning overridden.
Get:1 http://ftp.belnet.be lenny/main gcc-4.3-base 4.3.2-1 [103kB]
Get:2 http://ftp.belnet.be lenny/main libc6 2.7-14 [4438kB]
Get:3 http://ftp.belnet.be lenny/main libstdc++6 4.3.2-1 [333kB]
Get:4 http://ftp.belnet.be lenny/main lzma 4.43-14 [57.5kB]
Get:5 http://ftp.belnet.be lenny/main apt 0.7.14+b1 [1619kB]
Get:6 http://ftp.belnet.be lenny/main dpkg 1.14.22 [2295kB]
Get:7 http://ftp.belnet.be lenny/main perl-base 5.10.0-16 [964kB]
Get:8 http://ftp.belnet.be lenny/main liblocale-gettext-perl 1.05-4 [21.0kB]
Get:9 http://ftp.belnet.be lenny/main libtext-iconv-perl 1.7-1+b1 [16.9kB]
Get:10 http://ftp.belnet.be lenny/main libtext-charwidth-perl 0.04-5+b1 [11.6kB]
Get:11 http://ftp.belnet.be lenny/main libtext-wrapi18n-perl 0.06-6 [8828B]
Get:12 http://ftp.belnet.be lenny/main debconf-i18n 1.5.22 [172kB]
Get:13 http://ftp.belnet.be lenny/main debconf 1.5.22 [153kB]
Get:14 http://ftp.belnet.be lenny/main tzdata 2008h-2 [742kB]
Get:15 http://ftp.belnet.be lenny/main libgcc1 1:4.3.2-1 [25.7kB]
Get:16 http://ftp.belnet.be lenny/main libbz2-1.0 1.0.5-1 [44.9kB]
Get:17 http://ftp.belnet.be lenny/main readline-common 5.2-3 [50.8kB]
Get:18 http://ftp.belnet.be lenny/main libncurses5 5.6+20080830-1 [333kB]
Get:19 http://ftp.belnet.be lenny/main libreadline5 5.2-3 [129kB]
Get:20 http://ftp.belnet.be lenny/main libusb-0.1-4 2:0.1.12-12 [20.1kB]
Get:21 http://ftp.belnet.be lenny/main zlib1g 1:1.2.3.3.dfsg-12 [73.2kB]
Get:22 http://ftp.belnet.be lenny/main gpgv 1.4.9-3 [143kB]
Get:23 http://ftp.belnet.be lenny/main gnupg 1.4.9-3 [1943kB]
Get:24 http://ftp.belnet.be lenny/main debian-archive-keyring 2008.04.16+nmu1
[10.8kB]
Get:25 http://ftp.belnet.be lenny/main base-passwd 3.5.19 [39.3kB]
Get:26 http://ftp.belnet.be lenny/main base-files 4.0.5 [61.4kB]
Get:27 http://ftp.belnet.be lenny/main debianutils 2.30 [55.4kB]
Get:28 http://ftp.belnet.be lenny/main bash 3.2-4 [586kB]
Get:29 http://ftp.belnet.be lenny/main libselinux1 2.0.65-5 [72.5kB]
Get:30 http://ftp.belnet.be lenny/main coreutils 6.10-6 [3751kB]
Get:31 http://ftp.belnet.be lenny/main diff 2.8.1-12 [187kB]
Get:32 http://ftp.belnet.be lenny/main libcomerr2 1.41.2-1 [41.4kB]
Get:33 http://ftp.belnet.be lenny/main libblkid1 1.41.2-1 [56.4kB]
Get:34 http://ftp.belnet.be lenny/main e2fslibs 1.41.2-1 [131kB]
Get:35 http://ftp.belnet.be lenny/main e2fsprogs 1.41.2-1 [768kB]
Get:36 http://ftp.belnet.be lenny/main libpam-runtime 1.0.1-4 [165kB]
Get:37 http://ftp.belnet.be lenny/main libpam0g 1.0.1-4 [104kB]
Get:38 http://ftp.belnet.be lenny/main libdb4.6 4.6.21-11 [573kB]
Get:39 http://ftp.belnet.be lenny/main libpam-modules 1.0.1-4 [289kB]
Get:40 http://ftp.belnet.be lenny/main passwd 1:4.1.1-5 [872kB]
Get:41 http://ftp.belnet.be lenny/main libuuid1 1.41.2-1 [44.7kB]
Get:42 http://ftp.belnet.be lenny/main findutils 4.4.0-2 [541kB]
Get:43 http://ftp.belnet.be lenny/main grep 2.5.3~dfsg-6 [278kB]
Get:44 http://ftp.belnet.be lenny/main gzip 1.3.12-6 [102kB]
Get:45 http://ftp.belnet.be lenny/main hostname 2.95 [11.8kB]
Get:46 http://ftp.belnet.be lenny/main login 1:4.1.1-5 [854kB]
Get:47 http://ftp.belnet.be lenny/main mktemp 1.5-9 [10.8kB]
Get:48 http://ftp.belnet.be lenny/main mount 2.13.1.1-1 [138kB]
Get:49 http://ftp.belnet.be lenny/main ncurses-bin 5.6+20080830-1 [135kB]
Get:50 http://ftp.belnet.be lenny/main sed 4.1.5-6 [250kB]
Get:51 http://ftp.belnet.be lenny/main libsepol1 2.0.30-2 [115kB]
Get:52 http://ftp.belnet.be lenny/main sysvinit 2.86.ds1-61 [113kB]
Get:53 http://ftp.belnet.be lenny/main tar 1.20-1 [785kB]
Get:54 http://ftp.belnet.be lenny/main libslang2 2.1.3-3 [457kB]
Get:55 http://ftp.belnet.be lenny/main lsb-base 3.2-20 [19.5kB]
Get:56 http://ftp.belnet.be lenny/main util-linux 2.13.1.1-1 [525kB]
Get:57 http://ftp.belnet.be lenny/main bsdutils 1:2.13.1.1-1 [61.7kB]
Get:58 http://ftp.belnet.be lenny/main ncurses-base 5.6+20080830-1 [13.7kB]
Get:59 http://ftp.belnet.be lenny/main sysvinit-utils 2.86.ds1-61 [71.1kB]
Get:60 http://ftp.belnet.be lenny/main mawk 1.3.3-11.1 [80.2kB]
Get:61 http://ftp.belnet.be lenny/main initscripts 2.86.ds1-61 [68.3kB]
Get:62 http://ftp.belnet.be lenny/main libattr1 1:2.4.43-1 [11.1kB]
Get:63 http://ftp.belnet.be lenny/main libacl1 2.2.47-2 [17.3kB]
Get:64 http://ftp.belnet.be lenny/main libss2 1.41.2-1 [46.2kB]
Get:65 http://ftp.belnet.be lenny/main sysv-rc 2.86.ds1-61 [63.8kB]
Get:66 http://ftp.belnet.be lenny/main libgpg-error0 1.4-2 [34.6kB]
Get:67 http://ftp.belnet.be lenny/main libgcrypt11 1.4.1-1 [242kB]
Get:68 http://ftp.belnet.be lenny/main libsasl2-2 2.1.22.dfsg1-23 [106kB]
Get:69 http://ftp.belnet.be lenny/main libtasn1-3 1.4-1 [58.7kB]
Get:70 http://ftp.belnet.be lenny/main makedev 2.3.1-88 [42.3kB]
Get:71 http://ftp.belnet.be lenny/main gcc-4.1-base 4.1.2-23 [208kB]
Get:72 http://ftp.belnet.be lenny/main libdb4.2 4.2.52+dfsg-5 [401kB]
Fetched 27.4MB in 3m43s (122kB/s)
E: This installation run will require temporarily removing the essential package
tzdata due to a Conflicts/Pre-Depends loop. This is often bad, but if you really
want to do it, activate the APT::Force-LoopBreak option.
E: Internal Error, Could not early remove tzdata
root@desktop:/# exit
--
Giovanni
Reply to: