[pacman-dev] Big pause with "pacman -R <pkg>"

Allan McRae allan at archlinux.org
Thu Feb 28 07:20:09 EST 2013


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.
> 

Bingo!

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
slow-down.

Allan



More information about the pacman-dev mailing list