Bug#397263: I think dpkg is guilty
- To: 397263@bugs.debian.org
- Subject: Bug#397263: I think dpkg is guilty
- From: Jukka Neppius <jkn@iki.fi>
- Date: Thu, 08 Mar 2007 15:02:11 +0200
- Message-id: <[🔎] 87tzwv99d8.fsf_-_@homer.ritke.fi>
- Reply-to: jkn@iki.fi, 397263@bugs.debian.org
- In-reply-to: <handler.398062.B398062.11632668928312.ackinfo@bugs.debian.org> (Debian Bug Tracking System's message of "Sat, 11 Nov 2006 09:48:23 -0800")
- References: <E1GiwrA-00080J-7L@james.ritke.fi> <E1Givb1-0000pA-Aq@james.ritke.fi> <handler.398062.B398062.11632668928312.ackinfo@bugs.debian.org>
A few months ago kde-essential.menu disappeared from my laptop.
kcontrol didn't not work. Updating several times and
dpkg -i kdebase-data_3.5.5a.dfsg.1-6_all.deb did not bring it back.
dpkg --force-confmiss -i kdebase-data_3.5.5a.dfsg.1-6_all.deb
did solve the problem:
: Configuration file
: `/etc/xdg/menus/applications-merged/kde-essential.menu', does not
: exist on system.
: Installing new config file as you request.
Reasonable behaviour would be to ask user what to do, if old config
file is user edited. dpkg notices that it is user edited (useredited
== 1). Since user seems to have deleted it old file, it deletes new
file without any questions. Why?
configure.c at line 198
} else if (!strcmp(currenthash,NONEXISTENTFLAG) && fc_conff_miss) {
fc_conff_miss has value 0, so new config file is thrown away without
any questions. Why is missing conf file handled separately from user
edited conf file? Restoring deletet file is less dangerous than over
writing user edited config file. Re-deleting a file is easier than
re-editing it!
I don't know why kde-essential.menu disappeared. Perhaps disk full
condition when updating. Getting it back was too difficult!
- Jukka
Reply to: