Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
depclean to complete delete gnome
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Sat Aug 27, 2022 12:57 pm    Post subject: depclean to complete delete gnome Reply with quote

Hello everyone, I would like to ask for your help to completely remove gnome from my system. I use einleightenment now (with slim) and it works perfectly, only i want to clean up what is left of gnome. specifically can you help me check what depclean wants to remove? are there any packages i need to keep? i was thinking x11-apps/xhost, x11-libs/colord-gtk, net-libs/webkit-gtk, sys-fs/fuse, sys-fs/fuse-common, gui-libs/gtk, are correct? am i forgetting anything?

thank you so much in advance

Code:
 x11-apps/xhost
    selected: 1.0.8
   protected: none
     omitted: none

 acct-user/gdm
    selected: 0
   protected: none
     omitted: none

 app-misc/jq
    selected: 1.7_pre20201109
   protected: none
     omitted: none

 app-text/yelp-tools
    selected: 42.0
   protected: none
     omitted: none

 gnome-extra/evolution-data-server
    selected: 3.44.3
   protected: none
     omitted: none

 sys-apps/xdg-desktop-portal-gtk
    selected: 1.8.0
   protected: none
     omitted: none

 gnome-base/gnome-control-center
    selected: 42.3
   protected: none
     omitted: none

 dev-libs/gjs
    selected: 1.72.1
   protected: none
     omitted: none

 app-arch/gnome-autoar
    selected: 0.4.3
   protected: none
     omitted: none

 media-fonts/cantarell
    selected: 0.303.1
   protected: none
     omitted: none

 x11-wm/mutter
    selected: 42.3
   protected: none
     omitted: none

 acct-group/gdm
    selected: 0
   protected: none
     omitted: none

 sys-apps/accountsservice
    selected: 22.08.8
   protected: none
     omitted: none

 gnome-extra/yelp-xsl
    selected: 42.0
   protected: none
     omitted: none

 gnome-extra/gnome-color-manager
    selected: 3.36.0
   protected: none
     omitted: none

 dev-libs/libgdata
    selected: 0.18.1
   protected: none
     omitted: none

 gnome-base/libgtop
    selected: 2.40.0-r1
   protected: none
     omitted: none

 gnome-extra/zenity
    selected: 3.42.1
   protected: none
     omitted: none

 dev-lang/spidermonkey
    selected: 91.11.0
   protected: none
     omitted: none

 sys-apps/xdg-desktop-portal
    selected: 1.14.6
   protected: none
     omitted: none

 gnome-base/gnome-desktop
    selected: 42.3-r400
   protected: none
     omitted: 42.3-r300

 dev-libs/libpwquality
    selected: 1.4.4-r1
   protected: none
     omitted: none

 app-i18n/ibus
    selected: 1.5.26-r1
   protected: none
     omitted: none

 net-wireless/gnome-bluetooth
    selected: 42.2
   protected: none
     omitted: none

 x11-libs/colord-gtk
    selected: 0.3.0
   protected: none
     omitted: none

 gnome-base/gnome-session
    selected: 42.0
   protected: none
     omitted: none

 app-admin/system-config-printer
    selected: 1.5.16-r1
   protected: none
     omitted: none

 gnome-base/libgnomekbd
    selected: 3.26.1
   protected: none
     omitted: none

 net-libs/gnome-online-accounts
    selected: 3.44.0
   protected: none
     omitted: none

 acct-group/plugdev
    selected: 0-r1
   protected: none
     omitted: none

 app-text/docbook-sgml-utils
    selected: 0.6.14-r5
   protected: none
     omitted: none

 x11-libs/libxklavier
    selected: 5.4
   protected: none
     omitted: none

 dev-python/pycups
    selected: 2.0.1-r1
   protected: none
     omitted: none

 sys-libs/cracklib
    selected: 2.9.7
   protected: none
     omitted: none

 app-i18n/unicode-emoji
    selected: 14.0
   protected: none
     omitted: none

 net-libs/rest
    selected: 0.8.1-r1
   protected: none
     omitted: none

 net-libs/webkit-gtk
    selected: 2.36.6
   protected: none
     omitted: none

 gnome-base/gnome-common
    selected: 3.18.0-r2
   protected: none
     omitted: none

 app-i18n/unicode-cldr
    selected: 40.0
   protected: none
     omitted: none

 app-i18n/unicode-data
    selected: 14.0.0
   protected: none
     omitted: none

 sys-fs/fuse
    selected: 3.11.0
   protected: none
     omitted: none

 net-print/cups-pk-helper
    selected: 0.2.6-r1
   protected: none
     omitted: none

 gui-libs/libadwaita
    selected: 1.1.3
   protected: none
     omitted: none

 media-libs/gsound
    selected: 1.0.3
   protected: none
     omitted: none

 gnome-base/gnome-settings-daemon
    selected: 42.2-r1
   protected: none
     omitted: none

 app-misc/geoclue
    selected: 2.6.0
   protected: none
     omitted: none

 app-text/xhtml1
    selected: 20020801-r6
   protected: none
     omitted: none

 app-text/docbook-sgml-dtd
    selected: 3.1-r5
   protected: none
     omitted: none

 app-text/docbook-dsssl-stylesheets
    selected: 1.79-r4
   protected: none
     omitted: none

 app-text/openjade
    selected: 1.3.2-r9
   protected: none
     omitted: none

 app-text/docbook-sgml-dtd
    selected: 4.0-r5
   protected: none
     omitted: none

 app-text/docbook-sgml-dtd
    selected: 4.2-r4
   protected: none
     omitted: none

 app-text/docbook-sgml-dtd
    selected: 4.4-r2
   protected: none
     omitted: none

 app-text/docbook-xml-simple-dtd
    selected: 1.0-r3
   protected: none
     omitted: none

 app-text/docbook-xml-simple-dtd
    selected: 4.1.2.4-r4
   protected: none
     omitted: none

 media-plugins/gst-plugins-opus
    selected: 1.20.2
   protected: none
     omitted: none

 media-libs/woff2
    selected: 1.0.2-r5
   protected: none
     omitted: none

 media-libs/gst-plugins-bad
    selected: 1.20.2
   protected: none
     omitted: none

 sys-apps/xdg-dbus-proxy
    selected: 0.1.4
   protected: none
     omitted: none

 sys-fs/fuse-common
    selected: 3.10.4
   protected: none
     omitted: none

 app-text/docbook-sgml-dtd
    selected: 4.1-r5
   protected: none
     omitted: none

 dev-libs/libgweather
    selected: 4.0.0
   protected: none
     omitted: none

 sys-power/upower
    selected: 0.99.20
   protected: none
     omitted: none

 x11-misc/colord
    selected: 1.4.6
   protected: none
     omitted: none

 gui-libs/gtk
    selected: 4.6.6
   protected: none
     omitted: none

 acct-user/geoclue
    selected: 0
   protected: none
     omitted: none

 acct-user/colord
    selected: 0
   protected: none
     omitted: none

 dev-libs/libgusb
    selected: 0.3.10
   protected: none
     omitted: none

 app-text/docbook-sgml-dtd
    selected: 3.0-r5
   protected: none
     omitted: none

 sci-geosciences/geocode-glib
    selected: 3.26.3
   protected: none
     omitted: none

 acct-group/geoclue
    selected: 0
   protected: none
     omitted: none

 acct-group/colord
    selected: 0
   protected: none
     omitted: none

 dev-ruby/kpeg
    selected: 1.1.0-r1
   protected: none
     omitted: none

 dev-util/ragel
    selected: 7.0.4
   protected: none
     omitted: none

 dev-util/colm
    selected: 0.14.7
   protected: none
     omitted: none

 dev-ruby/racc
    selected: 1.4.16-r1
   protected: none
     omitted: none

 net-libs/rpcsvc-proto
    selected: 1.4.3-r1
   protected: none
     omitted: none

 virtual/ruby-ssl
    selected: 11
   protected: none
     omitted: none

 dev-ruby/did_you_mean
    selected: 1.4.0
   protected: none
     omitted: none

 dev-ruby/json
    selected: 2.5.1-r1
   protected: none
     omitted: none

 dev-ruby/minitest
    selected: 5.14.4
   protected: none
     omitted: none

 media-video/wireplumber
    selected: 0.4.11-r2
   protected: none
     omitted: none

 dev-lang/lua
    selected: 5.4.4
   protected: none
     omitted: 5.1.5-r107 5.3.6-r3

 media-video/pipewire
    selected: 0.3.56
   protected: none
     omitted: none

 media-libs/libldac
    selected: 2.0.2.3-r1
   protected: none
     omitted: none

 media-libs/libfreeaptx
    selected: 0.1.1-r1
   protected: none
     omitted: none

 media-libs/fdk-aac
    selected: 2.0.2
   protected: none
     omitted: none

 media-libs/libcanberra
    selected: 0.30-r6
   protected: none
     omitted: none

 x11-themes/sound-theme-freedesktop
    selected: 0.8
   protected: none
     omitted: none

 dev-ruby/net-telnet
    selected: 0.2.0-r1
   protected: none
     omitted: none

 dev-ruby/bundler
    selected: 2.1.4
   protected: none
     omitted: none

 dev-ruby/xmlrpc
    selected: 0.3.2-r1
   protected: none
     omitted: none

 dev-ruby/webrick
    selected: 1.7.0
   protected: none
     omitted: none

 dev-ruby/test-unit
    selected: 3.3.9
   protected: none
     omitted: none

 x11-misc/xdg-user-dirs-gtk
    selected: 0.10-r1
   protected: none
     omitted: none

 x11-misc/xdg-user-dirs
    selected: 0.17
   protected: none
     omitted: none

 net-fs/samba
    selected: 4.15.7
   protected: none
     omitted: none

 net-fs/cifs-utils
    selected: 6.15
   protected: none
     omitted: none

 dev-perl/Parse-Yapp
    selected: 1.210.0-r1
   protected: none
     omitted: none

 sys-libs/ldb
    selected: 2.4.2-r1
   protected: none
     omitted: none

 sys-libs/liburing
    selected: 2.1-r2
   protected: none
     omitted: none

 sys-libs/libunwind
    selected: 1.6.2
   protected: none
     omitted: none

 virtual/krb5
    selected: 0-r1
   protected: none
     omitted: none

 sys-libs/libcap-ng
    selected: 0.8.3
   protected: none
     omitted: none

 dev-db/lmdb
    selected: 0.9.29
   protected: none
     omitted: none

 sys-libs/tdb
    selected: 1.4.5
   protected: none
     omitted: none

 sys-libs/tevent
    selected: 0.11.0
   protected: none
     omitted: none

 app-crypt/mit-krb5
    selected: 1.19.2-r4
   protected: none
     omitted: none

 dev-util/cmocka
    selected: 1.1.5
   protected: none
     omitted: none

 sys-libs/talloc
    selected: 2.3.3
   protected: none
     omitted: none

 dev-libs/libverto
    selected: 0.3.1-r1
   protected: none
     omitted: none

 sys-apps/keyutils
    selected: 1.6.3
   protected: none
     omitted: none

 dev-libs/libev
    selected: 4.33
   protected: none
     omitted: none

 dev-ruby/rdoc
    selected: 6.3.2
   protected: none
     omitted: none

 dev-ruby/power_assert
    selected: 1.1.7
   protected: none
     omitted: none

 dev-ruby/rake
    selected: 13.0.3-r1
   protected: none
     omitted: none

 virtual/rubygems
    selected: 16
   protected: none
     omitted: none

 dev-ruby/rubygems
    selected: 3.1.6
   protected: none
     omitted: none

 dev-lang/ruby
    selected: 2.7.6
   protected: none
     omitted: none

 app-eselect/eselect-ruby
    selected: 20191222
   protected: none
     omitted: none

_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9691
Location: almost Mile High in the USA

PostPosted: Sat Aug 27, 2022 1:17 pm    Post subject: Reply with quote

When you --depclean it will try to get a list of packages it's pretty sure are not needed to run the machine anymore. If you got rid of the gnome-base/gnome (meta) package, everything under it is fair game for removal as long as something else is not using it. So yes you can get rid of them all.

However if you grew accustomed to using a dependency of Gnome without knowing it, like perhaps using xhost, then that will disappear too of course as it's in the depclean list. It will be your responsibility to do without, find an alternative, or perhaps just adding that package to @world (emerge --select --noreplace x11-apps/xhost) so that it won't try to depclean it. This is why --depclean asks you to check the list before letting it clean up packages.

But if you don't really use these packages, just let it depclean it! No real need to keep webkit-gtk around if you delete yelp or epiphany, which is/had been a dependency of Gnome.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Sat Aug 27, 2022 1:23 pm    Post subject: Reply with quote

luna80,

Those are all packages that are not required my the packages listed in /var/lib/portage/world.
You can look but do not edit that file.

There are two questions ...
1. Have you got world pollution?
That is, are there things listed there that should not be?
If so, there are more packages that can be considered for --depclean.
2. Are there packages in that list that you have installed with --oneshot but really want to keep.

Regardless of the answer to 1, the list is harmless. Its not going to remove gcc or libc.
If you get the answer to 2. wrong, you can always fix it later.

To edit the world file use
Code:
emerge --deselect <list of packages>
to remove world file entries and
Code:
emerge --noreplace  <list of packages>
to add things that you want to keep

Cleaning up world pollution is really a separate job.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Sat Aug 27, 2022 1:59 pm    Post subject: Reply with quote

eccerr0r wrote:
When you --depclean it will try to get a list of packages it's pretty sure are not needed to run the machine anymore. If you got rid of the gnome-base/gnome (meta) package, everything under it is fair game for removal as long as something else is not using it. So yes you can get rid of them all.

However if you grew accustomed to using a dependency of Gnome without knowing it, like perhaps using xhost, then that will disappear too of course as it's in the depclean list. It will be your responsibility to do without, find an alternative, or perhaps just adding that package to @world (emerge --select --noreplace x11-apps/xhost) so that it won't try to depclean it. This is why --depclean asks you to check the list before letting it clean up packages.

But if you don't really use these packages, just let it depclean it! No real need to keep webkit-gtk around if you delete yelp or epiphany, which is/had been a dependency of Gnome.


thank you very much
my doubts come from the fact that I don't know most of these packages and I wouldn't they're accidentally inserted in this list but they are needed to other packages. that's why I was asking, just in case.
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Sat Aug 27, 2022 2:03 pm    Post subject: Reply with quote

NeddySeagoon wrote:
luna80,

Those are all packages that are not required my the packages listed in /var/lib/portage/world.
You can look but do not edit that file.

There are two questions ...
1. Have you got world pollution?
That is, are there things listed there that should not be?
If so, there are more packages that can be considered for --depclean.
2. Are there packages in that list that you have installed with --oneshot but really want to keep.

Regardless of the answer to 1, the list is harmless. Its not going to remove gcc or libc.
If you get the answer to 2. wrong, you can always fix it later.

To edit the world file use
Code:
emerge --deselect <list of packages>
to remove world file entries and
Code:
emerge --noreplace  <list of packages>
to add things that you want to keep

Cleaning up world pollution is really a separate job.


many thanks to you too,

to answer your questions
1. what do you mean with "world pollution"? sorry but I don't speek english very well
2. no, I don't know most of those packages
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8938

PostPosted: Sat Aug 27, 2022 2:08 pm    Post subject: Reply with quote

The world file contains packages that you consciously installed to be permanently on your system.

It should not contain packages that you know nothing about, like libraries, but these entries find their way into @world by careless manual emerge runs (not using -1 (--oneshot) will register packages in @world when requested for (re-)build).
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Sat Aug 27, 2022 2:52 pm    Post subject: Reply with quote

luna80,

When things get added to world accidentality, it's not an immediate problem.

It become a problem when the package(s) get masked or removed. They are listed in your world, so portage wants to keep them installed.
However, it works out that there are "no packages that provide ..." or " all packages that can provide ... are masked", so the dependency tree cannot be resolved.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Sat Aug 27, 2022 3:23 pm    Post subject: Reply with quote

ok, so I shouldn't have any problems running this depclean if I don't know these packages?
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Sat Aug 27, 2022 3:24 pm    Post subject: Reply with quote

luna80,

Nothing you can't fix if you find you really wanted to keep something.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Sat Aug 27, 2022 3:50 pm    Post subject: Reply with quote

many many thanks, to all
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Sun Aug 28, 2022 3:59 am    Post subject: Reply with quote

NeddySeagoon wrote:
luna80,

When things get added to world accidentality, it's not an immediate problem.

It become a problem when the package(s) get masked or removed. They are listed in your world, so portage wants to keep them installed.
However, it works out that there are "no packages that provide ..." or " all packages that can provide ... are masked", so the dependency tree cannot be resolved.


sorry, another question about this.

if I wanto to keep (for example) x11-apps/xhost, is or isn't correct to do

Code:
#emerge --noreplace x11-apps/xhost

_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9691
Location: almost Mile High in the USA

PostPosted: Sun Aug 28, 2022 5:14 am    Post subject: Reply with quote

You should use --select with --noreplace if you want to keep the current version and stick it in @world. If you use both of these, it is eligible for update, so if you emerge @world, it will now be checked for new versions.

You could just emerge with no options, it will put it in world and update to the current version as well.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Sun Aug 28, 2022 5:21 am    Post subject: Reply with quote

eccerr0r wrote:
You should use --select with --noreplace if you want to keep the current version and stick it in @world. If you use both of these, it is eligible for update, so if you emerge @world, it will now be checked for new versions.

You could just emerge with no options, it will put it in world and update to the current version as well.


thanks a lot, I'll do that
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1687

PostPosted: Mon Aug 29, 2022 12:53 pm    Post subject: Reply with quote

eccerr0r wrote:
You should use --select with --noreplace if you want to keep the current version and stick it in @world. If you use both of these, it is eligible for update, so if you emerge @world, it will now be checked for new versions.

You could just emerge with no options, it will put it in world and update to the current version as well.


--select is the default unless --oneshot or --select=n is used (either by command-line or in EMERGE_DEFAULT_OPTS)
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Mon Aug 29, 2022 1:45 pm    Post subject: Reply with quote

grknight wrote:
eccerr0r wrote:
You should use --select with --noreplace if you want to keep the current version and stick it in @world. If you use both of these, it is eligible for update, so if you emerge @world, it will now be checked for new versions.

You could just emerge with no options, it will put it in world and update to the current version as well.


--select is the default unless --oneshot or --select=n is used (either by command-line or in EMERGE_DEFAULT_OPTS)


do you mean that if I do emerge --noreplace, is the same of doing emerge --select --noreplace?
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9691
Location: almost Mile High in the USA

PostPosted: Mon Aug 29, 2022 4:08 pm    Post subject: Reply with quote

Apparently, yes. I guess I just wanted to make sure it does what I want it to do :D
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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