Hi Alvaro,
Alvaro Herrera wrote:
> I started an aptitude safe-upgrade and left the computer for half an
> hour. Upon return I find that there's a suspicious process eating 100%
> of a CPU for a long time.
Sorry for the long silence. Let's see.
> /proc/pid/cmdline says:
>
> # cat cmdline
> /usr/bin/perl-w/usr/share/debconf/frontend/var/lib/dpkg/info/dash.postinstabort-upgrade0.5.5.1-2.3
- "prerm upgrade" and "prerm failed-upgrade" failed, or
- "preinst upgrade" failed and "postrm abort-upgrade" succeeded, or
- "postrm upgrade" and "postrm failed-upgrade" failed and
"preinst abort-upgrade" and "postrm abort-upgrade" succeeded.
Which is to say, something went seriously wrong.
> strace'ing the process yields this:
[...]
> ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B0 -opost -isig icanon -echo ...}) = > 0
> <repeats ad nauseam>
(isatty, I think.)
> Killing that process and doing an "aptitude install dash" reports this:
[...]
> dpkg: error processing /var/cache/apt/archives/dash_0.5.5.1-2.3_amd64.deb
> (--unpack):
> trying to overwrite `/bin/sh', which is also in package bash
At last, something simpler to understand. Does a more recent version
of the dash package work?
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]