[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#203791: dpkg: update-alternatives switches to auto in inappropriate case



Package: dpkg
Version: 1.10.10
Severity: important

Find below three calls to update-alternatives. It seems that the
--remove konquwror is handled incorrect. The x-www-browser switches to
automatic although galeon was selected manually before.

--------------------8<------------------------------------------------

coyote:/var/lib/dpkg/info# update-alternatives --verbose --config
x-www-browser

There are 3 alternatives which provide `x-www-browser'.

  Selection    Alternative
-----------------------------------------------
	1        /usr/bin/galeon
	2        /usr/bin/mozilla
*+	3        /usr/bin/konqueror
	      
Enter to keep the default[*], or type selection number: 1
Using `/usr/bin/galeon' to provide `x-www-browser'.
Checking available versions of x-www-browser, updating links in /etc/alternatives ...
(You may modify the symlinks there yourself if desired - see `man ln'.)
Automatic updates of /etc/alternatives/x-www-browser are disabled, leaving it alone.
To return to automatic updates use `update-alternatives --auto x-www-browser'.

coyote:/var/lib/dpkg/info# /usr/sbin/update-alternatives --verbose --remove x-www-browser /usr/bin/konqueror
Checking available versions of x-www-browser, updating links in /etc/alternatives ...
(You may modify the symlinks there yourself if desired - see `man ln'.)
Removing manually selected alternative - switching to auto mode
Updating x-www-browser (/usr/bin/x-www-browser) to point to /usr/bin/mozilla.
Updating x-www-browser.1.gz (/usr/share/man/man1/x-www-browser.1.gz) to point to /usr/share/man/man1/mozilla.1.gz.

coyote:/var/lib/dpkg/info#  update-alternatives --verbose --install /usr/bin/x-www-browser x-www-browser /usr/bin/konqueror 100
Checking available versions of x-www-browser, updating links in /etc/alternatives ...
(You may modify the symlinks there yourself if desired - see `man ln'.)
Updating x-www-browser (/usr/bin/x-www-browser) to point to /usr/bin/konqueror.
Removing x-www-browser.1.gz (/usr/share/man/man1/x-www-browser.1.gz), not appropriate with /usr/bin/konqueror.
coyote:/var/lib/dpkg/info# 

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux coyote 2.4.20 #1 Fri Jun 13 19:12:09 CEST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages dpkg depends on:
ii  dselect                       1.10.10    a user tool to manage Debian packa
ii  libc6                         2.3.1-17   GNU C Library: Shared libraries an

-- no debconf information





Reply to: