Package: dpkg
Version: 1.15.8.9
Severity: important

I have a dangling symlink in /etc/alternatives/lvm-default pointing to
/lib/lvm-200 (which doesn't exist).

# ls -l /etc/alternatives/lvm-default 
lrwxrwxrwx 1 root root 12 Mar  7  2008 /etc/alternatives/lvm-default -> 
/lib/lvm-200

# cat /var/lib/dpkg/alternatives/lvm-default 
auto
/lib/lvm-default

/lib/lvm-200
1

I get a segmentation fault if I do this:

# update-alternatives --auto lvm-default
update-alternatives: warning: alternative /lib/lvm-200 (part of link group 
lvm-default) doesn't exist. Removing from list of alternatives.
update-alternatives: warning: /etc/alternatives/lvm-default is dangling, it 
will be updated with best choice.
Segmentation fault

-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=pt_PT, LC_CTYPE=pt_PT (charmap=UTF-8) (ignored: LC_ALL set to 
pt_PT.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dpkg depends on:
ii  coreutils               8.5-1            GNU core utilities
ii  libbz2-1.0              1.0.5-6          high-quality block-sorting file co
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libselinux1             2.0.96-1         SELinux runtime shared libraries
ii  xz-utils                5.0.0-2          XZ-format compression utilities
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt                           0.8.10     Advanced front-end for dpkg

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to