Comment 3 for bug 564360

Revision history for this message
Scott Merrilees (scott.merrilees) wrote : Re: console-setup installation hangs

If try to remove console-setup, and accept the default to install console-setup-mini, I get this:

# pstree -ap 17906
aptitude,17906 purge console-setup
  ├─dpkg,18150 --status-fd 32 --configure console-setup-mini
  │ └─frontend,18151 -w /usr/share/debconf/frontend...
  │ └─console-setup-m,18320 ...
  │ └─plymouth,18365 --ping
  └─{aptitude},17907

So this hangs in plymouth too. Maybe plymouth shouldn't be involved in a serial/hvc0 console setup?

I can kill 18365, and the install continues, however I'm unsure as to what state this leaves the system.

# aptitude purge console-setup
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages are BROKEN:
  kbd ubuntu-minimal
The following packages will be REMOVED:
  console-setup{p}
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 1,430kB will be freed.
The following packages have unmet dependencies:
  ubuntu-minimal: Depends: console-setup but it is not installable
  kbd: Depends: console-setup but it is not installable
The following actions will resolve these dependencies:

Remove the following packages:
console-terminus

Install the following packages:
console-setup-mini [1.34ubuntu14 (lucid)]

Score is 104

Accept this solution? [Y/n/q/?] y
The following NEW packages will be installed:
  console-setup-mini{a}
The following packages will be REMOVED:
  console-setup{p} console-terminus{a}
0 packages upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
Need to get 1,012kB of archives. After unpacking 864kB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Get:1 http://au.archive.ubuntu.com/ubuntu/ lucid/universe console-setup-mini 1.34ubuntu14 [1,012kB]
Fetched 1,012kB in 0s (1,894kB/s)
Preconfiguring packages ...
dpkg: console-setup: dependency problems, but removing anyway as you requested:
 ubuntu-minimal depends on console-setup.
 kbd depends on console-setup.
(Reading database ... 25797 files and directories currently installed.)
Removing console-setup ...
Purging configuration files for console-setup ...
Processing triggers for ureadahead ...
Processing triggers for man-db ...
(Reading database ... 25591 files and directories currently installed.)
Removing console-terminus ...
Selecting previously deselected package console-setup-mini.
(Reading database ... 25422 files and directories currently installed.)
Unpacking console-setup-mini (from .../console-setup-mini_1.34ubuntu14_all.deb) ...
Processing triggers for man-db ...
Setting up console-setup-mini (1.34ubuntu14) ...
Terminated
update-initramfs: deferring update (trigger activated)

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.32-21-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done

#