On 10/23/2012 09:15 AM, Daniel Baumann wrote: > retitle 685810 partial upgrade from 3.0.3 fails if no procps installed > severity 685810 normal > tag 685810 wontfix > thanks
I'm not interested in a game of bug ping-pong. I just want to ensure we can move forward with live-* unblocks so we can finally get things released. All that matters is to get things to a releasable state. Regardless of how this bug is marked, I am not satisfied with the state it is in. > On 10/23/2012 11:27 AM, Ben Armstrong wrote: >> New steps to reproduce. In a clean wheezy chroot: > > 'clean' as in 'no procps installed before live-tools'. No, that's not the case. "clean" as in, I did exactly this: # debootstrap wheezy wheezy This installs procps. I checked by redoing my test from scratch. What follows is a verbatim log of steps to produce from a clean debootstrap wheezy (all I did here was tar up the debootstrap immediately afterwards and unpack it again to ensure it is clean): synrg@lear:~/projects$ sudo chroot wheezy root@lear:/# dpkg -l procps live-tools Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-=========================-=================-=================-======================================================= ii procps 1:3.3.3-2 i386 /proc file system utilities dpkg-query: no packages found matching live-tools root@lear:/# mount -t proc proc /proc root@lear:/# mount -t sysfs sys /sys root@lear:/# export LC_ALL=C root@lear:/# apt-get install live-tools Reading package lists... Done Building dependency tree... Done Suggested packages: debian-installer-launcher perl rsync The following NEW packages will be installed: live-tools 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 7622 B of archives. After this operation, 72.7 kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! live-tools Install these packages without verification [y/N]? y Get:1 http://ftp.us.debian.org/debian/ wheezy/main live-tools all 3.0.3-1 [7622 B] Fetched 7622 B in 0s (22.9 kB/s) Can not write log, openpty() failed (/dev/pts not mounted?) Selecting previously unselected package live-tools. (Reading database ... 9285 files and directories currently installed.) Unpacking live-tools (from .../live-tools_3.0.3-1_all.deb) ... Processing triggers for man-db ... Can not write log, openpty() failed (/dev/pts not mounted?) Setting up live-tools (3.0.3-1) ... root@lear:/# echo deb http://ftp.us.debian.org/debian sid main >> /etc/apt/sources.list root@lear:/# apt-get update Get:1 http://ftp.us.debian.org wheezy InRelease [208 kB] Get:2 http://ftp.us.debian.org sid InRelease [219 kB] Get:3 http://ftp.us.debian.org wheezy/main i386 Packages/DiffIndex [7876 B] Get:4 http://ftp.us.debian.org wheezy/main Translation-en [3907 kB] Get:5 http://ftp.us.debian.org sid/main i386 Packages [6202 kB] Get:6 http://ftp.us.debian.org sid/main Translation-en [4069 kB] Fetched 14.6 MB in 30s (484 kB/s) Reading package lists... Done root@lear:/# apt-get install -t sid live-tools Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: debian-installer-launcher perl rsync uuid-runtime The following packages will be upgraded: live-tools 1 upgraded, 0 newly installed, 0 to remove and 30 not upgraded. Need to get 13.1 kB of archives. After this operation, 47.1 kB of additional disk space will be used. Get:1 http://ftp.us.debian.org/debian/ sid/main live-tools all 3.0.12-1 [13.1 kB] Fetched 13.1 kB in 0s (29.4 kB/s) Can not write log, openpty() failed (/dev/pts not mounted?) (Reading database ... 9303 files and directories currently installed.) Preparing to replace live-tools 3.0.3-1 (using .../live-tools_3.0.12-1_all.deb) ... Unpacking replacement live-tools ... Processing triggers for man-db ... Can not write log, openpty() failed (/dev/pts not mounted?) Setting up live-tools (3.0.12-1) ... root@lear:/# dpkg --purge live-tools (Reading database ... 9317 files and directories currently installed.) Removing live-tools ... Purging configuration files for live-tools ... Processing triggers for man-db ... root@lear:/# ls -la /usr/bin/uptime* ls: cannot access /usr/bin/uptime*: No such file or directory At this point, procps is *broken* as /usr/bin/uptime is gone. That's not a "minor" issue. Anyone with live-tools installed on their build boxes who upgrades to 3.0.12-1 will end up with no original procps /usr/bin/uptime, and nothing will fix that except reinstalling procps. This is not some strange corner case that will not happen in the "real world". It's going to break a certain percentage of real world installs that exist out there today. Ben -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]
