Package: mini-dinstall
Version: 0.6.29
Severity: normal
Tags: upstream

Dear Maintainer,

currently, if a package is installed more than once, without changing the
version of the package, an incorrect "Packages" file is generated by
mini-dinstall.

Subsequently, APT errors out with "size mismatch" when trying to install that
package.

Re-installing the same package_version combination is a common scenario if
mini-dinstall is used to provide a development repository (arguably the main use
case for mini-dinstall).

Apparently, the size is recorded in the <repository_name>.db file when a version
is first installed in the repository, but never updated for that version
afterwards, even if the version is re-installed.

My current workaround is to delete the binary <repository>.db file in a
"pre_install_script" hook.

A permanent fix would require a patch to the upstream source, so that it will
always record the size information for a package in the binary database, even if
the package version is already present.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-2-686-pae (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

Versions of packages mini-dinstall depends on:
ii  apt-utils       0.9.5.1
ii  python          2.7.2-10
ii  python-apt      0.8.4
ii  python-support  1.0.14

Versions of packages mini-dinstall recommends:
ii  gpgv  1.4.12-4

Versions of packages mini-dinstall suggests:
ii  debian-keyring  2012.02.22

-- 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