Package: dpkg-repack
Version: 1.36
Severity: important

hi, 

I was playing with dpkg-repack and I noted that it does not repack the list of 
conffiles

for example, 'libpam-runtime' and 'libpam-modules' have conffiles , 
indeed there exist files /var/lib/dpkg/info/libpam-runtime.conffiles and 
..modules...

but the list of conffiles is not repacked

# ar p libpam-modules_1.1.3-6_amd64.deb control.tar.gz | tar tzvf -
drwxr-xr-x root/root         0 2011-12-06 13:28 ./
-rw-r--r-- root/root      1268 2011-12-06 13:28 ./control
-rwxr-xr-x root/root       706 2011-11-07 04:48 ./postinst
-rw-r--r-- root/root     12867 2011-11-07 04:48 ./templates
-rwxr-xr-x root/root       259 2011-11-07 04:48 ./preinst
-rw-r--r-- root/root      7083 2011-11-07 04:48 ./md5sums
-rwxr-xr-x root/root       206 2011-11-07 04:48 ./postrm

# ar p libpam-runtime_1.1.3-6_all.deb control.tar.gz | tar tzvf -
drwxr-xr-x root/root         0 2011-12-06 13:28 ./
-rwxr-xr-x root/root        92 2011-11-07 04:48 ./prerm
-rw-r--r-- root/root       738 2011-12-06 13:28 ./control
-rwxr-xr-x root/root      1282 2011-11-07 04:48 ./postinst
-rw-r--r-- root/root     31377 2011-11-07 04:48 ./templates
-rw-r--r-- root/root      4944 2011-11-07 04:48 ./md5sums
-rwxr-xr-x root/root       517 2011-11-07 04:48 ./postrm

This is an important bug: 'dpkg' has a quite different behaviour depending on 
if a
file is a conffile or not

a.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

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

Versions of packages dpkg-repack depends on:
ii  perl  5.14.2-5

dpkg-repack recommends no packages.

dpkg-repack suggests no packages.

-- no debconf information

-- 
Andrea Mennucc
 "E' un mondo difficile. Che vita intensa!" (Tonino Carotone)

Attachment: signature.asc
Description: Digital signature

Reply via email to