Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] complete uninstall of packages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
381208
n00b
n00b


Joined: 19 Jul 2018
Posts: 2

PostPosted: Sun Jul 22, 2018 1:41 pm    Post subject: [SOLVED] complete uninstall of packages Reply with quote

I know that portage removes a package and the appropriate dependencies (if not needed by other packages)
when using the
Code:
emerge --depclean
command.

Is it possible to remove the configuration files the package created too, so that portage does a real full uninstall
of the package?


Last edited by 381208 on Sun Jul 22, 2018 5:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun Jul 22, 2018 1:57 pm    Post subject: Reply with quote

Short answer: no. Or, only manually. Portage has no way of knowing about files a package creates after it's installed.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Sun Jul 22, 2018 2:18 pm    Post subject: Reply with quote

sigkill ...

you might try app-portage/gcruft or app-portage/find_cruft.

HTH & best ... khay
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sun Jul 22, 2018 3:23 pm    Post subject: Reply with quote

Also app-portage/portage-utils:
Code:
# shopt -s globstar
# qfile -o /etc/**
Back to top
View user's profile Send private message
381208
n00b
n00b


Joined: 19 Jul 2018
Posts: 2

PostPosted: Sun Jul 22, 2018 4:12 pm    Post subject: Reply with quote

Thanks for the very fast and helpful answers!
Didn't thought the gentoo community is that fast *thumbs up*

app-portage/portage-utils looks very powerful
I will try this :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum