You are not logged in.

#1 2024-03-13 15:02:28

gcb
Member
Registered: 2014-02-12
Posts: 213

clean up after plasma/kde6?

After plasma6/kde update I noticed a lot of old packages from 5.

Following the wiki suggestions to clean up unnecessary packages (WRONG command removed) did clean most of them. I still have duplicate ones e.g.

kwallet
kwallet5


And many more. But now the next step on the wiki is scary as "WRONG command removed" shows pretty much every single package installed smile

 $ WRONG command removed
1069

Last edited by gcb (2024-03-13 15:12:24)

Offline

#2 2024-03-13 15:06:27

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

Re: clean up after plasma/kde6?

Where in the wiki does it say -Qqd or -Qqdd?

Offline

#3 2024-03-13 15:11:22

gcb
Member
Registered: 2014-02-12
Posts: 213

Re: clean up after plasma/kde6?

My bad, got Qqdd wrong from my history.

Supposed to be from https://wiki.archlinux.org/title/Pacman … _(orphans)

so, I did the initial clean up with "pacman -Qdtq | pacman -Rns -"

and then the next step (Detecting more unneeded packages) "pacman -Qqd" returns almost all packages:

 $ pacman -Qqd | wc -l
1069

Offline

#4 2024-03-13 15:13:34

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

Re: clean up after plasma/kde6?

But you're piping that to a command that filters it further.

Offline

#5 2024-03-13 15:16:33

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,230

Re: clean up after plasma/kde6?

I don't see that command ever printing something that makes general sense to remove... It will give you a list of literally everything ever installed as a dependency of something, you are going to need the majority of those in any case

Edit: Ah yeahy, actually piping it into -Rsu makes more sense

Last edited by V1del (2024-03-13 15:17:32)

Offline

#6 2024-03-13 15:21:56

gcb
Member
Registered: 2014-02-12
Posts: 213

Re: clean up after plasma/kde6?

oh I see. -Ru is "unneeded". thanks. Didn't occur to me to check those options. Assumed options for -R were just to say how much to remove.

thanks!


edit: Well, one step further. It removed a couple kde5 packages (and "core/less" hmm) but I still have duplicates. I guess i will wait some more to see if the maintainers are still working on the cleanup. I only have virtual packages installed for kde, so i hope those steps should clean everything.

Last edited by gcb (2024-03-13 15:25:59)

Offline

#7 2024-03-13 15:26:56

NoSavvy
Member
From: Dorchester, Dorset, UK
Registered: 2013-01-23
Posts: 127

Re: clean up after plasma/kde6?

Go careful as just because there are **6 files doesn't mean that **5 files are not required. I found out the hard way. Had to spend ages seeing what was wrong

Offline

#8 2024-03-13 15:29:15

gcb
Member
Registered: 2014-02-12
Posts: 213

Re: clean up after plasma/kde6?

NoSavvy wrote:

Go careful as just because there are **6 files doesn't mean that **5 files are not required. I found out the hard way. Had to spend ages seeing what was wrong

Learned my lesson in the past too smile

But I still have two kwallet and they prompt me for key access twice, so i do think something is not right. But again, will just wait for pacman to decide based on the meta packages.

Last edited by gcb (2024-03-13 15:29:33)

Offline

#9 2024-03-13 15:32:22

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

Re: clean up after plasma/kde6?

gcb wrote:

But I still have two kwallet

Not abnormal. See pactree -r kwallet5 to see what still requires the old version.

Offline

#10 2024-03-13 20:39:23

gcb
Member
Registered: 2014-02-12
Posts: 213

Re: clean up after plasma/kde6?

that is one info i miss that is available on debian's apt/aptitude. "pacman -Si" should show what depends on that package too. with pactree moved out of the core it is even more annoying.

Thanks for reminding me it exists.

Culprit were some applications I will probably miss. k3b, kwave, kompare. Which were the ones i installed not included in the kde meta packages, and forgot.

k*5 (including kwallet5 and it's double prompts) are gone. sigh. off to push yet another fleet update.

Offline

Board footer

Powered by FluxBB