Package: dash
Version: 0.5.5.1-2
Severity: important

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.  /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

strace'ing the process yields this:

ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B0 -opost -isig icanon -echo ...}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B0 -opost -isig icanon -echo ...}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B0 -opost -isig icanon -echo ...}) = 0
<repeats ad nauseam>

Killing that process and doing an "aptitude install dash" reports this:

# LC_ALL=C sudo aptitude install dash
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Reading task descriptions... Done  
The following packages will be upgraded:
  dash 
1 packages upgraded, 0 newly installed, 0 to remove and 473 not upgraded.
Need to get 0B/99.5kB of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n/?] 
Writing extended state information... Done
Reading changelogs...
Preconfiguring packages ...
(Reading database ... 213689 files and directories currently installed.)
Preparing to replace dash 0.5.5.1-2 (using .../dash_0.5.5.1-2.3_amd64.deb) ...
Adding `diversion of /usr/share/man/man1/sh.1.gz to 
/usr/share/man/man1/sh.distrib.1.gz by dash'
Unpacking replacement dash ...
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
Removing `diversion of /usr/share/man/man1/sh.1.gz to 
/usr/share/man/man1/sh.distrib.1.gz by dash'
Processing triggers for man-db ...
Processing triggers for menu ...
Errors were encountered while processing:
 /var/cache/apt/archives/dash_0.5.5.1-2.3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Reading package lists... Done             
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Reading task descriptions... Done  


And this is the status of bash and dash in my system:

LC_ALL=C apt-cache policy bash dash
bash:
  Installed: 4.0-4
  Candidate: 4.0-4
  Version table:
 *** 4.0-4 0
        990 http://ftp.debian.org testing/main Packages
        100 /var/lib/dpkg/status
dash:
  Installed: 0.5.5.1-2
  Candidate: 0.5.5.1-2.3
  Version table:
     0.5.5.1-2.3 0
        990 http://ftp.debian.org testing/main Packages
 *** 0.5.5.1-2 0
        100 /var/lib/dpkg/status


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_CL.UTF-8, LC_CTYPE=es_CL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dash depends on:
ii  libc6                         2.9-25     GNU C Library: Shared libraries

dash recommends no packages.

dash suggests no packages.

-- debconf information:
  dash/sh: false



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to