[Pkg-xfce-devel] Bug#888838: Bug#888838: libxfce4ui-common: xfce4-keyboard-shortcuts.xml not being installed

Steve Petruzzello dlist at bluewin.ch
Fri Feb 2 08:46:06 UTC 2018


Le 01-02-2018, à 09:54:40 +0100, Yves-Alexis Perez a écrit :

>Please keep the bug on CC, even if it's closed.
>
>On Wed, 2018-01-31 at 08:38 +0100, Steve Petruzzello wrote:
>> > Removing a conffile is a configuration step by itself. Reinstalling the
>> > package won't reinstall a deleted conffile.
>>
>> Why this? One would expect the opposite.
>
>Because conffile modification are preserved by package install/upgrade (so you
>don't lose your modifications when upgrading, for example), and removing a
>conffile is a perfectly acceptable modification, which should be kept.

I perfectly understand that, but if one deletes it by error, he would
end up without any conffile, which could be pretty confusing.


>> I followed this thread by Paul Wise:
>>
>> https://lists.debian.org/debian-mentors/2013/05/msg00115.html
>
>
>>
>> > You can force it by using apt-get --reinstall -o Dpkg::Options::="--force-
>> > confmiss" install libxfce4ui-common
>>
>> Ok, it did the job. But the obsolete issue still remains:
>>
>> dpkg-query -W -f='${Conffiles}\n' | grep obsolete
>>  /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
>> 790207e5d25ad049de0ffebde9d19684 obsolete
>
>I'm not sure why it's shown as obsolete on your installation, because it's
>definitely not. Also the checksum is wrong:
>
>dpkg-query -W -f='${Conffiles}\n' | grep xfce4-keyboard-shortcuts.xml
> /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
>65d7008f598ba5cd1e193a0f2950fbf3

dpkg-query -W -f='${Conffiles}\n' | grep xfce4-keyboard-shortcuts.xml
 /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml 65d7008f598ba5cd1e193a0f2950fbf3
 /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml 790207e5d25ad049de0ffebde9d19684 obsolete


Rather strange. There is only one such file on my system.


>What does dpkg -S /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-
>shortcuts.xml returns for you?

libxfce4ui-common: /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml

>Is xfce-keyboard-shortcuts installed?

dpkg -l xfce-keyboard-shortcuts
ii  xfce-keyboard-shortcuts 4.12.1-2

Thanks for your help.

Best,
Steve



More information about the Pkg-xfce-devel mailing list