Activity log for bug #1343737

Date Who What changed Old value New value Message
2014-07-18 02:35:43 Peter Cordes bug added bug
2014-07-18 02:35:43 Peter Cordes attachment added pstree from after killing jed and bash, and exitting the X session https://bugs.launchpad.net/bugs/1343737/+attachment/4155218/+files/abacus.conffile-edit.dpkg.pstree.txt
2014-07-18 02:40:46 Peter Cordes description on my seldom-used laptop, (running 12.04LTS last updates early august 2013) I ran sudo do-release-upgrade -p from bash in a gnome-terminal. It proceeded fine, until for one of the changed-config-file prompts I had it start a shell to examine the situation. I ran jed, a small emacslike editor, but immediately after I hit ^x ^c to exit jed, the screen session started by do-release-upgrade put up the message that the process had exitted, and did I want to close the screen window or restart the command. Attempted restarts gave the message that the dpkg database was already locked. From another shell, it turned out that jed was actually still running. I suspect I might have hit the ^x ^c, or maybe the preceding ^x ^s, following a ^space. do-release-upgrade starts screen with the escape character ^space, using the -e option. So to mark a region in an emacslike editor, I needed to get screen to pass through a ^space literally, so I had to press ^space space. I maybe have fumbled this and been in the middle of a screen escape sequence when trying to exit jed. Although neither ^x nor ^c, or even ^s (^x ^s = save in emacslike editors) should have done anything like what I observed, as screen escape commands. I unfortunately don't still have the situation fully available to poke at, as running firefox on the laptop completely hosed the system. Something must have tried to composite something, but the combination of updated and still running libdrm and nouveau libraries and kernel module just completely did not get along. After a big pause, I was able to switch to a text console, but eventually I just sshed in from my desktop to run ubuntu-bug. Anyway, I no longer have the whole process tree to look at or post, so I'm just working from memory. The gnome-session - bash - sudo - do-release-upgrade - screen - screen - dpkg - bash - jed process tree was still there, but I think even at that point, the trusty - dpkg process tree had split off and was a child of init (pid 1). I've attached the pstree output from the system after exitting X, which killed all the do-release-upgrade stuff. and here's some poking with ps and ls /proc/pid/fd, from an ssh session: # ps auxw | egrep 'dpkg|trusty' root 6402 0.0 0.2 22748 9920 pts/1 Ss+ 15:15 0:04 /usr/bin/dpkg --force-overwrite --status-fd 75 --configure ttf-dejavu-core:all libcamel-1.2-45:amd64 libgcr-ui-3-1:amd64 libgcr-3-1:amd64 dconf-service:amd64 dconf-gsettings-backend:amd64 libcap-ng0:amd64 gcr:amd64 p11-kit-modules:amd64 p11-kit-modules:i386 p11-kit:amd64 libcap2-bin:amd64 gnome-keyring:amd64 libgnome-keyring-common:all libgnome-keyring0:amd64 libgirepository-1.0-1:amd64 gir1.2-glib-2.0:amd64 gir1.2-gnomekeyring-1.0:amd64 libsecret-common:all libsecret-1-0:amd64 libavahi-glib1:amd64 libassuan0:amd64 libgpgme11:amd64 seahorse:amd64 evolution-data-server-common:all libedataserver-1.2-18:amd64 libebook-contacts-1.2-0:amd64 libebackend-1.2-7:amd64 ... prob irrelevant so cutting out the clutter. root 11781 0.0 0.0 9448 872 pts/11 S+ 23:22 0:00 egrep dpkg|trusty root 12306 0.8 2.6 288968 106104 ? S 14:32 4:24 /usr/bin/python /tmp/update-manager-Y4hcGh/trusty --mode=server --frontend=DistUpgradeViewText root@abacus:~# ll /proc/12306/fd total 0 lrwx------ 1 root root 64 Jul 17 23:17 0 -> /dev/pts/4 (deleted) lrwx------ 1 root root 64 Jul 17 23:17 1 -> /dev/pts/4 (deleted) lr-x------ 1 root root 64 Jul 17 23:17 10 -> /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_trusty_partner_binary-amd64_Packages lr-x------ 1 root root 64 Jul 17 23:17 11 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty-updates_universe_i18n_Translation-en lr-x------ 1 root root 64 Jul 17 23:17 12 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty-updates_restricted_i18n_Translation-en lr-x------ 1 root root 64 Jul 17 23:17 13 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty-updates_multiverse_i18n_Translation-en lr-x------ 1 root root 64 Jul 17 23:17 14 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty-updates_main_i18n_Translation-en lr-x------ 1 root root 64 Jul 17 23:17 15 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty-updates_multiverse_binary-i386_Packages lr-x------ 1 root root 64 Jul 17 23:17 16 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty-updates_universe_binary-i386_Packages lr-x------ 1 root root 64 Jul 17 23:17 17 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty-updates_restricted_binary-i386_Packages lr-x------ 1 root root 64 Jul 17 23:17 18 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty-updates_main_binary-i386_Packages lr-x------ 1 root root 64 Jul 17 23:17 19 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty-updates_multiverse_binary-amd64_Packages lrwx------ 1 root root 64 Jul 17 23:17 2 -> /dev/pts/4 (deleted) lr-x------ 1 root root 64 Jul 17 23:17 20 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty-updates_universe_binary-amd64_Packages lr-x------ 1 root root 64 Jul 17 23:17 21 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty-updates_restricted_binary-amd64_Packages lr-x------ 1 root root 64 Jul 17 23:17 22 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty-updates_main_binary-amd64_Packages lr-x------ 1 root root 64 Jul 17 23:17 23 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty_universe_i18n_Translation-en%5fCA lr-x------ 1 root root 64 Jul 17 23:17 24 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty_universe_i18n_Translation-en lr-x------ 1 root root 64 Jul 17 23:17 25 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty_restricted_i18n_Translation-en lr-x------ 1 root root 64 Jul 17 23:17 26 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty_multiverse_i18n_Translation-en lr-x------ 1 root root 64 Jul 17 23:17 27 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty_main_i18n_Translation-en%5fCA lr-x------ 1 root root 64 Jul 17 23:17 28 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty_main_i18n_Translation-en lr-x------ 1 root root 64 Jul 17 23:17 29 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty_multiverse_binary-i386_Packages l-wx------ 1 root root 64 Jul 17 23:17 3 -> /var/log/dist-upgrade/20140717-1529/main.log lr-x------ 1 root root 64 Jul 17 23:17 30 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty_universe_binary-i386_Packages lr-x------ 1 root root 64 Jul 17 23:17 31 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty_restricted_binary-i386_Packages lr-x------ 1 root root 64 Jul 17 23:17 32 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty_main_binary-i386_Packages lr-x------ 1 root root 64 Jul 17 23:17 33 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty_multiverse_binary-amd64_Packages lr-x------ 1 root root 64 Jul 17 23:17 34 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty_universe_binary-amd64_Packages lr-x------ 1 root root 64 Jul 17 23:17 35 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty_restricted_binary-amd64_Packages lr-x------ 1 root root 64 Jul 17 23:17 36 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty_main_binary-amd64_Packages lrwx------ 1 root root 64 Jul 17 23:17 37 -> /var/log/dist-upgrade/20140717-1529/apt.log lrwx------ 1 root root 64 Jul 17 23:17 38 -> /dev/pts/4 (deleted) lrwx------ 1 root root 64 Jul 17 23:17 39 -> /var/log/dist-upgrade/20140717-1529/apt.log lr-x------ 1 root root 64 Jul 17 23:17 4 -> pipe:[161795] lr-x------ 1 root root 64 Jul 17 23:17 40 -> /var/lib/dpkg/status (deleted) lr-x------ 1 root root 64 Jul 17 23:17 41 -> /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-i386_Packages lr-x------ 1 root root 64 Jul 17 23:17 42 -> /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-amd64_Packages lr-x------ 1 root root 64 Jul 17 23:17 43 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise-updates_universe_i18n_Translation-en%5fCA lr-x------ 1 root root 64 Jul 17 23:17 44 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise-updates_universe_i18n_Translation-en lr-x------ 1 root root 64 Jul 17 23:17 45 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise-updates_restricted_i18n_Translation-en lr-x------ 1 root root 64 Jul 17 23:17 46 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise-updates_multiverse_i18n_Translation-en lr-x------ 1 root root 64 Jul 17 23:17 47 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise-updates_main_i18n_Translation-en%5fCA lr-x------ 1 root root 64 Jul 17 23:17 48 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise-updates_main_i18n_Translation-en lr-x------ 1 root root 64 Jul 17 23:17 49 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise-updates_multiverse_binary-i386_Packages l-wx------ 1 root root 64 Jul 17 23:17 5 -> pipe:[161795] lr-x------ 1 root root 64 Jul 17 23:17 50 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise-updates_universe_binary-i386_Packages lr-x------ 1 root root 64 Jul 17 23:17 51 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise-updates_restricted_binary-i386_Packages lr-x------ 1 root root 64 Jul 17 23:17 52 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise-updates_main_binary-i386_Packages lr-x------ 1 root root 64 Jul 17 23:17 53 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise-updates_multiverse_binary-amd64_Packages lr-x------ 1 root root 64 Jul 17 23:17 54 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise-updates_universe_binary-amd64_Packages lr-x------ 1 root root 64 Jul 17 23:17 55 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise-updates_restricted_binary-amd64_Packages lr-x------ 1 root root 64 Jul 17 23:17 56 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise-updates_main_binary-amd64_Packages lr-x------ 1 root root 64 Jul 17 23:17 57 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise_universe_i18n_Translation-en%5fCA lr-x------ 1 root root 64 Jul 17 23:17 58 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise_universe_i18n_Translation-en lr-x------ 1 root root 64 Jul 17 23:17 59 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise_restricted_i18n_Translation-en l-wx------ 1 root root 64 Jul 17 23:17 6 -> /var/log/dist-upgrade/20140717-1529/apt-term.log lr-x------ 1 root root 64 Jul 17 23:17 60 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise_multiverse_i18n_Translation-en lr-x------ 1 root root 64 Jul 17 23:17 61 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise_main_i18n_Translation-en%5fCA lr-x------ 1 root root 64 Jul 17 23:17 62 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise_main_i18n_Translation-en lr-x------ 1 root root 64 Jul 17 23:17 63 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise_multiverse_binary-i386_Packages lr-x------ 1 root root 64 Jul 17 23:17 64 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise_universe_binary-i386_Packages lr-x------ 1 root root 64 Jul 17 23:17 65 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise_restricted_binary-i386_Packages lr-x------ 1 root root 64 Jul 17 23:17 66 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise_main_binary-i386_Packages lr-x------ 1 root root 64 Jul 17 23:17 67 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise_multiverse_binary-amd64_Packages lr-x------ 1 root root 64 Jul 17 23:17 68 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise_universe_binary-amd64_Packages lr-x------ 1 root root 64 Jul 17 23:17 69 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise_restricted_binary-amd64_Packages lrwx------ 1 root root 64 Jul 17 23:17 7 -> /var/lib/apt/lists/lock lr-x------ 1 root root 64 Jul 17 23:17 70 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise_main_binary-amd64_Packages lrwx------ 1 root root 64 Jul 17 23:17 71 -> /var/log/dist-upgrade/20140717-1529/apt.log lrwx------ 1 root root 64 Jul 17 23:17 72 -> /dev/pts/4 (deleted) l-wx------ 1 root root 64 Jul 17 23:17 73 -> /var/log/dist-upgrade/20140717-1529/history.log lr-x------ 1 root root 64 Jul 17 23:17 74 -> pipe:[618808] lrwx------ 1 root root 64 Jul 17 23:17 76 -> /dev/ptmx lr-x------ 1 root root 64 Jul 17 23:17 8 -> /var/lib/dpkg/status (deleted) lr-x------ 1 root root 64 Jul 17 23:17 9 -> /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_trusty_partner_binary-i386_Packages # and the dpkg process root@abacus:~# ll /proc/6402/fd total 0 lrwx------ 1 root root 64 Jul 17 15:47 0 -> /dev/pts/1 lrwx------ 1 root root 64 Jul 17 15:47 1 -> /dev/pts/1 lrwx------ 1 root root 64 Jul 17 15:47 2 -> /dev/pts/1 lrwx------ 1 root root 64 Jul 17 15:47 3 -> /var/lib/dpkg/lock l-wx------ 1 root root 64 Jul 17 15:47 4 -> /var/lib/dpkg/updates/tmp.i lrwx------ 1 root root 64 Jul 17 15:47 5 -> /var/lib/dpkg/triggers/Lock l-wx------ 1 root root 64 Jul 17 15:47 6 -> /var/log/dpkg.log lr-x------ 1 root root 64 Jul 17 15:47 7 -> /var/lib/dpkg/diversions lrwx------ 1 root root 64 Jul 17 15:47 71 -> /var/log/dist-upgrade/20140717-1529/apt.log lrwx------ 1 root root 64 Jul 17 15:47 72 -> /dev/pts/4 (deleted) l-wx------ 1 root root 64 Jul 17 15:47 75 -> pipe:[618808] so the most interesting thing is that the trusty script, and dpkg, are somehow daemonized. They didn't exit when their parent terminal closed. And /dev/pts/1 isn't even deleted, even though the screen session is dead. I believe that the gnome-terminal tab I started sudo do-release-upgrade from may have been using the pts/1 pty. root@abacus:~# ll /dev/pts/[0-5] crw--w---- 1 lightdm tty 136, 0 Jul 17 16:45 /dev/pts/0 crw--w---- 1 root tty 136, 1 Jul 17 15:46 /dev/pts/1 crw--w---- 1 lightdm tty 136, 2 Jul 17 16:00 /dev/pts/2 crw--w---- 1 lightdm tty 136, 3 Jul 17 16:17 /dev/pts/3 crw--w---- 1 root tty 136, 5 Jul 17 15:22 /dev/pts/5 # my ssh session Anyway, now that I have this reported, I'll see if I can get my laptop cleaned up and working :P I foresee some happy hours with aptitude. It was fairly far along in the upgrade, to the point where lsb_release -rd shows Description: Ubuntu 14.04 LTS Release: 14.04 for the record, since that's in the bug report guidelines. Also, it's pretty cool that do-release-upgrade uses screen. I used ^s (xoff flow control), then ^space [ to pause and scroll back to look at stuff that caught my eye while scrolling past. I normally run everything from a screen session in a gnome-terminal tab managed by fluxbox, and have done so for about 10 years. So I'm very used to using screen. Never felt the need for a graphical shell, just a window manager to let me alt tab between my terminal and GUI programs. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: ubuntu-release-upgrader-core 1:0.220.2 ProcVersionSignature: Ubuntu 3.8.0-28.41~precise1-generic 3.8.13.5 Uname: Linux 3.8.0-28-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.2 Architecture: amd64 CrashDB: ubuntu Date: Thu Jul 17 19:46:00 2014 EcryptfsInUse: Yes InstallationDate: Installed on 2009-12-14 (1676 days ago) InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027) PackageArchitecture: all ProcEnviron: TERM=screen PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_CA.UTF-8 SHELL=/bin/bash SourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: Upgraded to trusty on 2014-07-17 (0 days ago) on my seldom-used laptop, (running 12.04LTS last updates early august 2013) I ran sudo do-release-upgrade -p from bash in a gnome-terminal.  It proceeded fine, until for one of the changed-config-file prompts I had it start a shell to examine the situation. I ran jed, a small emacslike editor, but immediately after I hit ^x ^c to exit jed, the screen session started by do-release-upgrade put up the message that the process had exitted, and did I want to close the screen window or restart the command. Attempted restarts gave the message that the dpkg database was already locked. From another shell, it turned out that jed was actually still running.  I suspect I might have hit the ^x ^c, or maybe the preceding ^x ^s, following a ^space. do-release-upgrade starts screen with the escape character ^space, using the -e option. So to mark a region in an emacslike editor, I needed to get screen to pass through a ^space literally, so I had to press ^space space. I maybe have fumbled this and been in the middle of a screen escape sequence when trying to exit jed. Although neither ^x nor ^c, or even ^s (^x ^s = save in emacslike editors) should have done anything like what I observed, as screen escape commands.  I unfortunately don't still have the situation fully available to poke at, as running firefox on the laptop completely hosed the system. Something must have tried to composite something, but the combination of updated and still running libdrm and nouveau libraries and kernel module just completely did not get along. After a big pause, I was able to switch to a text console, but eventually I just sshed in from my desktop to run ubuntu-bug. Anyway, I no longer have the whole process tree to look at or post, so I'm just working from memory.  The gnome-session - bash - sudo - do-release-upgrade - screen - screen - dpkg - bash - jed process tree was still there, but I think even at that point, the trusty - dpkg process tree had split off and was a child of init (pid 1).  I've attached the pstree output from the system after exitting X, which killed all the do-release-upgrade stuff. and here's some poking with ps and ls /proc/pid/fd, from an ssh session: # ps auxw | egrep 'dpkg|trusty' root 6402 0.0 0.2 22748 9920 pts/1 Ss+ 15:15 0:04 /usr/bin/dpkg --force-overwrite --status-fd 75 --configure ttf-dejavu-core:all libcamel-1.2-45:amd64 libgcr-ui-3-1:amd64 libgcr-3-1:amd64 dconf-service:amd64 dconf-gsettings-backend:amd64 libcap-ng0:amd64 gcr:amd64 p11-kit-modules:amd64 p11-kit-modules:i386 p11-kit:amd64 libcap2-bin:amd64 gnome-keyring:amd64 libgnome-keyring-common:all libgnome-keyring0:amd64 libgirepository-1.0-1:amd64 gir1.2-glib-2.0:amd64 gir1.2-gnomekeyring-1.0:amd64 libsecret-common:all libsecret-1-0:amd64 libavahi-glib1:amd64 libassuan0:amd64 libgpgme11:amd64 seahorse:amd64 evolution-data-server-common:all libedataserver-1.2-18:amd64 libebook-contacts-1.2-0:amd64 libebackend-1.2-7:amd64 ... prob irrelevant so cutting out the clutter. root 11781 0.0 0.0 9448 872 pts/11 S+ 23:22 0:00 egrep dpkg|trusty root 12306 0.8 2.6 288968 106104 ? S 14:32 4:24 /usr/bin/python /tmp/update-manager-Y4hcGh/trusty --mode=server --frontend=DistUpgradeViewText root@abacus:~# ll /proc/12306/fd total 0 lrwx------ 1 root root 64 Jul 17 23:17 0 -> /dev/pts/4 (deleted) lrwx------ 1 root root 64 Jul 17 23:17 1 -> /dev/pts/4 (deleted) lr-x------ 1 root root 64 Jul 17 23:17 10 -> /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_trusty_partner_binary-amd64_Packages lr-x------ 1 root root 64 Jul 17 23:17 11 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty-updates_universe_i18n_Translation-en (edit: trimmed out the open file descriptors for more package lists and translations, beween 11 and 70) lrwx------ 1 root root 64 Jul 17 23:17 2 -> /dev/pts/4 (deleted) l-wx------ 1 root root 64 Jul 17 23:17 3 -> /var/log/dist-upgrade/20140717-lr-x------ 1 root root 64 Jul 17 23:17 36 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_trusty_main_binary-amd64_Packages lrwx------ 1 root root 64 Jul 17 23:17 37 -> /var/log/dist-upgrade/20140717-1529/apt.log lrwx------ 1 root root 64 Jul 17 23:17 38 -> /dev/pts/4 (deleted) lrwx------ 1 root root 64 Jul 17 23:17 39 -> /var/log/dist-upgrade/20140717-1529/apt.log lr-x------ 1 root root 64 Jul 17 23:17 4 -> pipe:[161795] lr-x------ 1 root root 64 Jul 17 23:17 40 -> /var/lib/dpkg/status (deleted) l-wx------ 1 root root 64 Jul 17 23:17 5 -> pipe:[161795] l-wx------ 1 root root 64 Jul 17 23:17 6 -> /var/log/dist-upgrade/20140717-1529/apt-term.log lr-x------ 1 root root 64 Jul 17 23:17 69 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise_restricted_binary-amd64_Packages lrwx------ 1 root root 64 Jul 17 23:17 7 -> /var/lib/apt/lists/lock lr-x------ 1 root root 64 Jul 17 23:17 70 -> /var/lib/apt/lists/mirror.its.dal.ca_ubuntu_dists_precise_main_binary-amd64_Packages lrwx------ 1 root root 64 Jul 17 23:17 71 -> /var/log/dist-upgrade/20140717-1529/apt.log lrwx------ 1 root root 64 Jul 17 23:17 72 -> /dev/pts/4 (deleted) l-wx------ 1 root root 64 Jul 17 23:17 73 -> /var/log/dist-upgrade/20140717-1529/history.log lr-x------ 1 root root 64 Jul 17 23:17 74 -> pipe:[618808] lrwx------ 1 root root 64 Jul 17 23:17 76 -> /dev/ptmx lr-x------ 1 root root 64 Jul 17 23:17 8 -> /var/lib/dpkg/status (deleted) lr-x------ 1 root root 64 Jul 17 23:17 9 -> /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_trusty_partner_binary-i386_Packages # and the dpkg process root@abacus:~# ll /proc/6402/fd total 0 lrwx------ 1 root root 64 Jul 17 15:47 0 -> /dev/pts/1 lrwx------ 1 root root 64 Jul 17 15:47 1 -> /dev/pts/1 lrwx------ 1 root root 64 Jul 17 15:47 2 -> /dev/pts/1 lrwx------ 1 root root 64 Jul 17 15:47 3 -> /var/lib/dpkg/lock l-wx------ 1 root root 64 Jul 17 15:47 4 -> /var/lib/dpkg/updates/tmp.i lrwx------ 1 root root 64 Jul 17 15:47 5 -> /var/lib/dpkg/triggers/Lock l-wx------ 1 root root 64 Jul 17 15:47 6 -> /var/log/dpkg.log lr-x------ 1 root root 64 Jul 17 15:47 7 -> /var/lib/dpkg/diversions lrwx------ 1 root root 64 Jul 17 15:47 71 -> /var/log/dist-upgrade/20140717-1529/apt.log lrwx------ 1 root root 64 Jul 17 15:47 72 -> /dev/pts/4 (deleted) l-wx------ 1 root root 64 Jul 17 15:47 75 -> pipe:[618808] so the most interesting thing is that the trusty script, and dpkg, are somehow daemonized. They didn't exit when their parent terminal closed. And /dev/pts/1 isn't even deleted, even though the screen session is dead. I believe that the gnome-terminal tab I started sudo do-release-upgrade from may have been using the pts/1 pty. root@abacus:~# ll /dev/pts/[0-5] crw--w---- 1 lightdm tty 136, 0 Jul 17 16:45 /dev/pts/0 crw--w---- 1 root tty 136, 1 Jul 17 15:46 /dev/pts/1 crw--w---- 1 lightdm tty 136, 2 Jul 17 16:00 /dev/pts/2 crw--w---- 1 lightdm tty 136, 3 Jul 17 16:17 /dev/pts/3 crw--w---- 1 root tty 136, 5 Jul 17 15:22 /dev/pts/5 # my ssh session  Anyway, now that I have this reported, I'll see if I can get my laptop cleaned up and working :P I foresee some happy hours with aptitude. It was fairly far along in the upgrade, to the point where lsb_release -rd shows Description: Ubuntu 14.04 LTS Release: 14.04 for the record, since that's in the bug report guidelines.  Also, it's pretty cool that do-release-upgrade uses screen. I used ^s (xoff flow control), then ^space [ to pause and scroll back to look at stuff that caught my eye while scrolling past. I normally run everything from a screen session in a gnome-terminal tab managed by fluxbox, and have done so for about 10 years. So I'm very used to using screen. Never felt the need for a graphical shell, just a window manager to let me alt tab between my terminal and GUI programs. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: ubuntu-release-upgrader-core 1:0.220.2 ProcVersionSignature: Ubuntu 3.8.0-28.41~precise1-generic 3.8.13.5 Uname: Linux 3.8.0-28-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.2 Architecture: amd64 CrashDB: ubuntu Date: Thu Jul 17 19:46:00 2014 EcryptfsInUse: Yes InstallationDate: Installed on 2009-12-14 (1676 days ago) InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027) PackageArchitecture: all ProcEnviron:  TERM=screen  PATH=(custom, no user)  XDG_RUNTIME_DIR=<set>  LANG=en_CA.UTF-8  SHELL=/bin/bash SourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: Upgraded to trusty on 2014-07-17 (0 days ago)
2014-07-18 02:50:50 Peter Cordes summary weird problem running an editor inside do-release-upgrade's screen session ^x ^c while running an editor inside do-release-upgrade's screen session disconnects part of the session
2015-04-13 05:46:15 Launchpad Janitor ubuntu-release-upgrader (Ubuntu): status New Confirmed