Posts: 41
Joined: Wed Nov 15, 2017 9:55 pm

[Solved] Is there a way to look-up 'orphan packages'?

Thu Nov 23, 2017 10:29 pm

Update: I answered myself partially on first question, see Edit 2. Question # 2 still remains on 'how to list orphaned dependencies'.

Installed bookworm which pulled granite as dependency. When removed bookworm, it left granite on system which indicates that system will get bloated with deps that are no longer claimed/required by any package.


#1. Is there a way to remove package with all its deps
For example in Arch using below command will remove a package with all of the dependencies not required by any other package on system:

Code: Select all

sudo pacman -Rsn <packagename>

#2. How to list orphaned deps that are no longer required
People familiar with Arch / pacman will understand:

Code: Select all

sudo pacman -Rns $(pacman -Qtdq)


Found this, seems we have to live with orphans > viewtopic.php?f=14&t=3141

Found this, eopkg history can be used to rollback transactions > https://solus-project.com/articles/pack ... llback/en/
Last edited by HellBorne on Fri Nov 24, 2017 1:55 pm, edited 1 time in total.
As a courtesy to all users and keeping our forums tidy, please

* Mark your thread [Solved] if done (i.e. edit 1st post & prepend [Solved] in subject)
* Use [ code ] to paste your logs
* Use [ quote ] to cite relevant portions instead of quoting entire post

User avatar
Development Team
Posts: 3618
Joined: Mon Jul 28, 2014 10:42 am
Location: Adelaide, Australia
Contact: Website Google+ Twitter

Re: Is there a way to look-up 'orphan packages'?

Thu Nov 23, 2017 11:04 pm

Indeed rollback can be done, however we'll be looking into Orphan tracking in the re-write of eopkg.

Return to “Packaging”