You are not logged in.

#1 2016-03-25 14:33:24

gameboy9309
Member
From: United States
Registered: 2016-03-03
Posts: 52

[SOLVED] Cannot Remove Orphan Packages

Hi, I can't remove orphan packages. After I updated my system, I couldn't run the pacman -Rns $(pacman -Qtdq)
command. It'll tell me: error: no targets specified (use -h for help)

If anyone could help, I'd be so grateful. Thanks. smile

Last edited by gameboy9309 (2016-04-07 15:06:38)


Don't like me? Well I can agree

Offline

#2 2016-03-25 14:35:17

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED] Cannot Remove Orphan Packages

That means you have no orphans.  You can confirm by running just `pacman -Qtdq` - it will produce no output.

Not a sys admin issue, moving to N.C.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2016-03-25 14:37:26

gameboy9309
Member
From: United States
Registered: 2016-03-03
Posts: 52

Re: [SOLVED] Cannot Remove Orphan Packages

Trilby wrote:

That means you have no orphans.  You can confirm by running just `pacman -Qtdq` - it will produce no output.

Not a sys admin issue, moving to N.C.

I guess it was that simple.... xD Thanks anyways. big_smile


Don't like me? Well I can agree

Offline

#4 2016-03-25 14:37:27

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] Cannot Remove Orphan Packages

Have you considered the possibility that you don't actually have any orphans?

I mean, if you keep uninstalling orphans all the time it stands to reason you won't have any left to uninstall the next time around... I don't usually assume every pacman update leaves orphaned packages...

EDIT: ninjaed...

Last edited by eschwartz (2016-03-25 14:38:28)


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#5 2016-03-26 10:42:31

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] Cannot Remove Orphan Packages

@gameboy9309, please mark the thread as solved.

Offline

#6 2016-03-26 10:53:52

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: [SOLVED] Cannot Remove Orphan Packages

% which orphans
orphans: aliased to [[ -n $(pacman -Qdt) ]] && sudo pacman -Rs $(pacman -Qdtq) || echo "no orphans to remove"

Offline

Board footer

Powered by FluxBB