Bug#491123: djview: update-alternatives breaks apt-get

2008-10-05 Thread Luk Claes
Hi

Please backport the fix for this bug to lenny and upload to
testing-proposed-updates, TIA.

Cheers

Luk



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



Bug#491123: djview: update-alternatives breaks apt-get

2008-07-16 Thread Mark Whitis
Package: djview
Version: 3.5.20-7
Severity: critical
Justification: breaks unrelated software


Every time I run apt-get, it reports errors because this package's
install script apparently fails and keeps rerunning.  Since this
causes apt-get to fail, which can cause other side effects for
programs or scripts which invoke apt-get, this bug is marked as
causing other packages to fail.

ii  dpkg1.14.12 package maintenance system for 
Debian

apt-get install -t testing mercurial
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following extra packages will be installed:
  mercurial-common
Suggested packages:
  qct python-mysqldb python-pygments
The following NEW packages will be installed
  mercurial mercurial-common
0 upgraded, 2 newly installed, 0 to remove and 2417 not upgraded.
1 not fully installed or removed.
Need to get 561kB of archives.
After unpacking 2765kB of additional disk space will be used.
Do you want to continue [Y/n]? yy
Get: 1 http://http.us.debian.org testing/main mercurial-common 1.0.1-2 [474kB]
Get: 2 http://http.us.debian.org testing/main mercurial 1.0.1-2 [87.7kB]
 
Fetched 561kB in 19s (28.5kB/s) 
 
Selecting previously deselected package mercurial-common.
(Reading database ... 496890 files and directories currently installed.)
Unpacking mercurial-common (from .../mercurial-common_1.0.1-2_all.deb) ...
Selecting previously deselected package mercurial.
Unpacking mercurial (from .../mercurial_1.0.1-2_i386.deb) ...
Setting up djview (3.5.20-7) ...
ls: /usr/share/man/man1/djview3.*: No such file or directory
basename: missing operand
Try `basename --help' for more information.
update-alternatives: --slave needs link name path

Usage: update-alternatives [option ...] command

Commands:
  --install link name path priority
[--slave link name path] ...
   add a group of alternatives to the system.
  --remove name path   remove path from the name group alternative.
  --remove-all name  remove name group from the alternatives system.
  --auto nameswitch the master link name to automatic mode.
  --display name display information about the name group.
  --list namedisplay all targets of the name group.
  --config name  show alternatives for the name group and ask the
   user to select which one to use.
  --set name path  set path as alternative for name.
  --allcall --config on all alternatives.

link is the symlink pointing to /etc/alternatives/name.
  (e.g. /usr/bin/pager)
name is the master name for this link group.
  (e.g. pager)
path is the location of one of the alternative target files.
  (e.g. /usr/bin/less)
priority is an integer; options with higher numbers have higher priority in
  automatic mode.

Options:
  --altdir directory change the alternatives directory.
  --admindir directory   change the administrative directory.
  --test   don't do anything, just demonstrate.
  --verboseverbose operation, more output.
  --quiet  quiet operation, minimal output.
  --help   show this help message.
  --versionshow the version.
dpkg: error processing djview (--configure):
 subprocess post-installation script returned error exit status 2
Setting up mercurial-common (1.0.1-2) ...
Setting up mercurial (1.0.1-2) ...
Enabling hgk extension
Disabling highlight extension (package 'python-pygments' is not installed)
Enabling inotify extension

Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version
Errors were encountered while processing:
 djview
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages djview depends on:
ii  djview4   4.3-3  Viewer for the DjVu image format


djview recommends no packages.

-- no debconf information



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



Bug#491123: djview: update-alternatives breaks apt-get

2008-07-16 Thread Barak A. Pearlmutter
I believe this has already been fixed in version 3.5.20-8 currently in
unstable.  Could I trouble you to check?  It should install on lenny.

--Barak.
--
Barak A. Pearlmutter
 Hamilton Institute  Dept Comp Sci, NUI Maynooth, Co. Kildare, Ireland
 http://www.bcl.hamilton.ie/~barak/



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