You are not logged in.

#1 2016-08-12 19:42:24

jouissance
Member
Registered: 2015-07-15
Posts: 20

pacman -Rs only registering explicitely named package, not deps

After installing a package, I'm trying to uninstall it with its dependencies, but pacman -Rs is only registering the explicitely named package, not it's dependencies. I tried uninstalling it IMMEDIATELY after installing it, so obviously those dependencies aren't being used by other apps.

The installed package is lib32-fontconfig. pacman.log shows this concerning the transaction:

[2016-08-12 12:48] [PACMAN] Running '/usr/bin/pacman -S --asdeps ld-lsb>=3-5 lib32-fontconfig lib32-glu lib32-libgl lib32-libsm lib32-libxrender lib32-mesa'
[2016-08-12 12:50] [PACMAN] Running 'pacman -S lib32-fontconfig'
[2016-08-12 12:50] [ALPM] transaction started
[2016-08-12 12:50] [ALPM] installed lib32-glibc (2.24-2)
[2016-08-12 12:50] [ALPM] installed lib32-expat (2.2.0-1)
[2016-08-12 12:50] [ALPM] installed lib32-zlib (1.2.8-1)
[2016-08-12 12:50] [ALPM] installed lib32-bzip2 (1.0.6-2)
[2016-08-12 12:50] [ALPM] installed lib32-libpng (1.6.24-1)
[2016-08-12 12:50] [ALPM] installed lib32-gcc-libs (6.1.1-5)
[2016-08-12 12:50] [ALPM] installed lib32-icu (57.1-1)
[2016-08-12 12:50] [ALPM] installed lib32-libdbus (1.10.8-1)
[2016-08-12 12:50] [ALPM] installed lib32-libffi (3.2.1-1)
[2016-08-12 12:50] [ALPM] installed lib32-pcre (8.39-1)
[2016-08-12 12:50] [ALPM] installed lib32-glib2 (2.48.1-1)
[2016-08-12 12:50] [ALPM] installed lib32-harfbuzz (1.3.0-1)
[2016-08-12 12:50] [ALPM] installed lib32-freetype2 (2.6.5-1)
[2016-08-12 12:50] [ALPM] installed lib32-fontconfig (2.12.0-1)
[2016-08-12 12:50] [ALPM-SCRIPTLET] updating font cache... done.
[2016-08-12 12:50] [ALPM] transaction completed

Running 'pacman -Rs lib32-fontconfig' gives me this:

checking dependencies...

Packages (1) lib32-fontconfig-2.12.0-1

Total Removed Size:  0.29 MiB

I can individually uninstall the dependencies named in pacman.log, but there are two problems:

1) In pacman.log, some dependencies are listed in this line:

[2016-08-12 12:48] [PACMAN] Running '/usr/bin/pacman -S --asdeps ld-lsb>=3-5 lib32-fontconfig lib32-glu lib32-libgl lib32-libsm lib32-libxrender lib32-mesa'

while others are listed in the lines formatted as such:

[ALPM] installed . . .

Why are they listed differently and how do I know that they're all listed?

2) This doesn't address why pacman has behaved in this way, and I'd like to get to the bottom of it.

Thanks.

Last edited by jouissance (2016-08-12 19:43:02)

Offline

#2 2016-08-12 23:20:13

TheChickenMan
Member
From: United States
Registered: 2015-07-25
Posts: 354

Re: pacman -Rs only registering explicitely named package, not deps

Try pacman -Rsc


If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet.
Niels Bohr

Offline

#3 2016-08-12 23:30:19

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: pacman -Rs only registering explicitely named package, not deps

What, exactly, do you expect it to uninstall?

Offline

#4 2016-08-13 03:55:24

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,673
Website

Re: pacman -Rs only registering explicitely named package, not deps

lib32-harfbuzz and lib32-freetype2 have a dependency loop.  Pacman-5.0 struggles with these (fixed in git).   Use -Rs on those two packages and all will work...

Offline

Board footer

Powered by FluxBB