[Pkg-haskell-maintainers] Bug#576094: please provide upgrade path for haskell-hdbc-doc

Stefan Potyra sistpoty at ubuntu.com
Wed Mar 31 21:11:29 UTC 2010


Package: libghc6-hdbc-doc
Version: 2.2.3-2
Severity: normal

Hi,

as I noticed, you have changed the binary name of the -doc package from
haskell-hdbc-doc to libghc6-hdbc-doc. The usual approach to do so is to
add a dummy package with the old name depending on the package with the
new name. 
With your current approach, my old package isn't upgraded 
while the newer package with a new name is already available.
(side note, it'll also mean that the old package winds up as NBS but 
 is still available in the archive until it is manually removed).

To verify if the virtual package does not provide an upgrade path,
I've tried to install the package with the old name, and then tried to
dist-upgrade afterwards, here's the shell output:

>> sudo dpkg -i haskell-hdbc-doc_2.2.3-1_all.deb
(Reading database ... 179789 files and directories currently installed.)
Preparing to replace haskell-hdbc-doc 2.2.3-1 (using haskell-hdbc-doc_2.2.3-1_all.deb) ...
Unpacking replacement haskell-hdbc-doc ...
Setting up haskell-hdbc-doc (2.2.3-1) ...
>> sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  gcj-jre-headless gij
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
>> apt-cache policy haskell-hdbc-doc
haskell-hdbc-doc:
  Installed: 2.2.3-1
  Candidate: 2.2.3-1
  Version table:
 *** 2.2.3-1 0
        100 /var/lib/dpkg/status
>> apt-cache policy libghc6-hdbc-doc
libghc6-hdbc-doc:
  Installed: (none)
  Candidate: 2.2.3-2
  Version table:
     2.2.3-2 0
        500 http://ftp.de.debian.org unstable/main Packages

Thanks,
  Stefan.

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

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash






More information about the Pkg-haskell-maintainers mailing list