[pacman-dev] Removing empty directories

Allan McRae allan at archlinux.org
Sun Feb 27 05:53:58 EST 2011


On 27/02/11 20:40, Xavier Chantry wrote:
> On Sun, Feb 27, 2011 at 1:37 AM, Allan McRae<allan at archlinux.org>  wrote:
>> I just noticed this:
>>
>>> pacman -Qk | grep "^warning"
>> warning: filesystem: /opt/ (No such file or directory)
>> warning: hal: /usr/share/hal/fdi/information/20thirdparty/ (No such file or
>> directory)
>> warning: hal-info: /usr/share/hal/fdi/information/20thirdparty/ (No such
>> file or directory)
>> warning: hicolor-icon-theme: /usr/share/icons/hicolor/256x256/apps/ (No such
>> file or directory)
>> warning: network-manager-applet: /etc/gconf/schemas/ (No such file or
>> directory)
>>
>>
>> All these directories are empty in their package.  They appear to have been
>> removed when I uninstalled a different package that had files in that
>> directory.
>>
>> Maybe we need some more checking before removing an empty directory.
>>
>> Allan
>>
>>
>
> http://mailman.archlinux.org/pipermail/pacman-dev/2009-July/009008.html
> https://bugs.archlinux.org/task/15668
> https://bugs.archlinux.org/task/11263
>

I had a fair suspicion this had been discussed before...  I just did a 
"wtf?" when I saw /opt had disappeared.

I'm going to create a pactest for this.

Allan


More information about the pacman-dev mailing list