Package: xpdf
Version: 3.02-10
Severity: important

Hi there!

I guess there is something wrong with the transition from
xpdf-[common|reader|utils] to xpdf.  Indeed, both xpdf-reader and
xpdf-utils have an appropriate dummy transitional package, while
xpdf-common does not.  Or, better, it had it, but then it was removed
when trying to solve #589425.  Please note that the problem is exactly
the same as Adrian Bunk (cc:ed) suggested in:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589425#20

A lenny user who installed the xpdf-reader package and *not* the old
xpdf metapackage will still have the xpdf-common package installed, even
after the upgrade to the new (and real) xpdf package.  I tested this on
a clean lenny chroot:
=====
r...@gismo:/# apt-get update
r...@gismo:/# apt-get install xpdf-reader
[...]
Setting up xpdf-common (3.02-1.4+lenny2) ...
Setting up xpdf-reader (3.02-1.4+lenny2) ...

r...@gismo:/# sed -e 's/lenny/squeeze/g' -i /etc/apt/sources.list
r...@gismo:/# apt-get update
The following packages have been kept back:
[...]
  perl-base perl-modules readline-common sed sysv-rc util-linux wget xpdf-reader
[...]

r...@gismo:/# apt-get install xpdf-reader
The following packages were automatically installed and are no longer required:
  libpopt0 whiptail libt1-5 file libxpm4 libnewt0.52 defoma gsfonts libpaper1
  libmagic1 xpdf-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  fontconfig-config libexpat1 libfontconfig1 libjpeg62 liblcms1 libopenjpeg2
  libpng12-0 libpoppler5 libxml2 ttf-dejavu-core xpdf
[...]
The following packages will be upgraded:
  xpdf-reader
[...]
Preparing to replace xpdf-reader 3.02-1.4+lenny2 (using 
.../xpdf-reader_3.02-11_all.deb) ...
Unpacking replacement xpdf-reader ...
Selecting previously deselected package xpdf.
Unpacking xpdf (from .../xpdf_3.02-11_amd64.deb) ...
Replacing files in old package xpdf-common ...
[...]
Installing new version of config file /etc/xpdf/xpdfrc ...
Setting up xpdf-reader (3.02-11) ...

r...@gismo:/# dpkg -l xpdf\*
[...]
ii  xpdf            3.02-11            Portable Document Format (PDF) reader
[...]
ii  xpdf-common     3.02-1.4+lenny2    Portable Document Format (PDF) suite -- 
common files
[...]
ii  xpdf-reader     3.02-11            Transitional package for xpdf
r...@gismo:/#
=====

First, the new xpdf package overwrite files belonging to the old
xpdf-common package, and while this seems to be OK, it should be avoided
(given that this is a simple transition).

Second, the xpdf-common package is left installed and it is not
automatically removed, which means that the other configuration files in
/etc/xpdf (xpdfrc-arabic, xpdfrc-cyrillic, xpdfrc-greek, xpdfrc-hebrew,
xpdfrc-latin2, xpdfrc-thai and xpdfrc-turkish) are left installed as
well, with the user noticing nothing about that.

The correct solution is to also provide a transitional xpdf-common
package, please do that.

BTW1, I discovered this because I have not upgraded my sid during the
      xpdf transition, which means that now I am stucked with
      xpdf-common_3.02-2, xpdf-reader_3.02-2 and no more xpdf-utils
      (replaced by poppler-utils_0.12.4-1.1), as shown below.

BTW2, I set the version affecting this bug to the first version which
      completely removed the xpdf-common package, while IMHO a more
      correct version would be the same as the one in #589425, thus
      3.02-9.  For this reason, I was tempting to reopen that bug
      instead, given that it was not /completely/ fixed...

Thx, bye,
Gismo / Luca

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

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

xpdf-common depends on no packages.

Versions of packages xpdf-common recommends:
ii  gsfonts-x11                   0.21       Make Ghostscript fonts available t

Versions of packages xpdf-common suggests:
ii  poppler-utils [xpdf-utils]    0.12.4-1.1 PDF utilitites (based on libpopple
ii  xpdf-reader                   3.02-2     Portable Document Format (PDF) sui

-- no debconf information

Attachment: pgpjFuro4wKog.pgp
Description: PGP signature

Reply via email to