Report forwarded
to debian-bugs-dist@lists.debian.org, Dpkg Developers <debian-dpkg@lists.debian.org>: Bug#574656; Package dpkg.
(Fri, 19 Mar 2010 21:24:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Jean-Christophe Dubacq <jcdubacq1@free.fr>:
New Bug report received and forwarded. Copy sent to Dpkg Developers <debian-dpkg@lists.debian.org>.
(Fri, 19 Mar 2010 21:24:04 GMT) (full text, mbox, link).
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dpkg: [CONFFILE] upgrade changing conffile replaced by symlink gives no
prompt at all
Date: Fri, 19 Mar 2010 22:21:08 +0100
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
Changed Bug title to 'dpkg: Upgrade changing conffile replaced by symlink gives no prompt at all' from 'dpkg: [CONFFILE] upgrade changing conffile replaced by symlink gives no prompt at all'
Request was from Guillem Jover <guillem@debian.org>
to control@bugs.debian.org.
(Sun, 29 Mar 2015 01:30:10 GMT) (full text, mbox, link).
Severity set to 'wishlist' from 'normal'
Request was from Guillem Jover <guillem@debian.org>
to control@bugs.debian.org.
(Sat, 15 Oct 2022 02:42:07 GMT) (full text, mbox, link).
Merged 361996574656
Request was from Guillem Jover <guillem@debian.org>
to control@bugs.debian.org.
(Sat, 15 Oct 2022 02:42:07 GMT) (full text, mbox, link).
Changed Bug title to 'dpkg: Upgrade changing conffile replaced by symlink gives no conffile prompt' from 'dpkg: Upgrade changing conffile replaced by symlink gives no prompt at all'.
Request was from Guillem Jover <guillem@debian.org>
to control@bugs.debian.org.
(Sat, 15 Oct 2022 02:42:08 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.