[pacman-dev] Big pause with "pacman -R <pkg>"
dpmcgee at gmail.com
Thu Feb 28 07:55:12 EST 2013
On Thu, Feb 28, 2013 at 6:20 AM, Allan McRae <allan at archlinux.org> wrote:
> On 28/02/13 07:08, Andrew Gregory wrote:
>> I get a significant delay when removing a package that is the sole owner
>> of a directory as the filelists for all installed packages are resolved
>> to make sure none of them own the directory as well.
> Lets kill that... And by that I mean the resolving part for the remove
> (if possible).
> That check is to make sure that no package owns the empty directory
> before removing it. So if a package has files there due to a symlink,
> all will be fine (not empty). The case of having a symlink to a empty
> directory that needs kept can stay as a "bug" to avoid that massive
I think this is why I was hesitant to add ownership checks in the
remove path before. Does sound like there are some fairly common paths
that can be optimized though to make this less painful.
More information about the pacman-dev