Package: dpkg
Version: 1.15.5.6
Severity: normal

Let's do a small experiment:

root# dpkg -i dummy_1_all.deb 
Selecting previously deselected package dummy.
(Reading database ... 288646 files and directories currently installed.)
Unpacking dummy (from dummy_1_all.deb) ...
Setting up dummy (1) ...
# No postinst, no preinst, nothing
root# cat /var/lib/dpkg/info/dummy.conffiles 
/etc/dummy/test1
root# ls -l /etc/dummy/test1 
-rw-r--r-- 1 root root 9 Mar 18 01:01 /etc/dummy/test1
root# cat /etc/dummy/test1 
coshoopu
root# echo "I am a bug" > /tmp/a
root# rm /etc/dummy/test1; ln -s /tmp/a /etc/dummy/test1; cat /etc/dummy/test1
I am a bug
root# ls -l /etc/dummy/test1 
lrwxrwxrwx 1 root root 6 Mar 19 22:19 /etc/dummy/test1 -> /tmp/a
root# dpkg -i dummy_3_all.deb # new conffile
(Reading database ... 288653 files and directories currently installed.)
Preparing to replace dummy 1 (using dummy_3_all.deb) ...
Unpacking replacement dummy ...
Setting up dummy (3) ...
root# ls -l /etc/dummy/      
total 4
lrwxrwxrwx 1 root root 6 Mar 19 22:19 test1 -> /tmp/a
-rw-r--r-- 1 root root 9 Mar 18 01:15 test1.dpkg-new


##########################################################
#===================> No prompt !
#Nothing said about anything changed.
##########################################################

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (800, 'unstable'), (700, 'testing'), (500, 'stable'), (50, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dpkg depends on:
ii  coreutils                     8.4-2      GNU core utilities
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared lib
ii  lzma                          4.43-14    Compression method of 7z format in

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt                           0.7.25.3   Advanced front-end for dpkg

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