Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Why everytime i follow portage instructions i get screwed ?
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
feiticeir0
Apprentice
Apprentice


Joined: 13 Jul 2005
Posts: 288
Location: Castelo Branco, Portugal

PostPosted: Tue Feb 19, 2013 9:45 am    Post subject: Why everytime i follow portage instructions i get screwed ? Reply with quote

distros like ubuntu and alike have a little command apt-get autoremove that removes the obsolete packages in the system, keeping it clean - Gentoo, as far as i know, has --depclean !

It's not the first time i follow portage instructions and perform a --depclean to keep the system clean and happy ! The first time i did this, i almost had to install the same amount of packages it removed so i could work - I did that using revdep-rebuild...

My question is:

Am I doing something wrong or is just --depclean kind of a maverick and removes packages that are necessary to the system ?

I've moved from KDE to xfce and removed and installed a lot of packages and i'm sure there are still a few that are no longer needed...

I pretty sure that if i perform the following --depclean, there're packages in the list that are needed, because it's a long list of unwanted packages

SORRY FOR THE LONG LIST

Code:

All selected packages: net-libs/gupnp-0.18.4 media-plugins/gst-plugins-faad-1.0.5 dev-python/rdflib-3.2.3 dev-libs/qjson-0.8.1 x11-libs/qt-multimedia-4.8.4 media-plugins/gst-plugins-jpeg-1.0.5 dev-ruby/json-1.6.7 www-misc/htdig-3.2.0_beta6-r3 media-plugins/gst-plugins-a52dec-1.0.5 app-text/openjade-1.3.2-r3 net-misc/netkit-fingerd-0.17-r3 app-crypt/qca-ossl-2.0.0_beta3-r2 x11-themes/gtk-engines-2.20.2 dev-python/libwnck-python-2.32.0 media-fonts/cantarell-0.0.9 media-video/dvdauthor-0.7.0 media-libs/gexiv2-0.4.1 dev-dotnet/dbus-sharp-0.7.0-r1 media-libs/gst-plugins-base-1.0.5-r1 net-im/telepathy-connection-managers-1 x11-apps/xrandr-1.3.5 dev-dotnet/gudev-sharp-0.1 dev-libs/gmime-2.4.32 gnome-base/libbonobo-2.24.3 dev-libs/libattica-0.4.1 media-libs/taglib-1.8-r1 app-crypt/qca-2.0.3 net-libs/libbluedevil-1.9.2 media-libs/phonon-4.6.0-r1 dev-perl/JSON-2.530.0 x11-libs/qt-opengl-4.8.4 dev-dotnet/dbus-sharp-glib-0.5.0 dev-python/pygtksourceview-2.10.1 dev-scheme/guile-1.8.8-r1 media-libs/webrtc-audio-processing-0.1 x11-libs/gtksourceview-2.10.5-r2 app-text/docbook-xml-simple-dtd-4.1.2.4-r2 app-text/enchant-1.6.0 sys-devel/gdb-7.5 app-text/opensp-1.5.2-r3 dev-python/pygobject-3.4.2-r1 dev-dotnet/gkeyfile-sharp-0.1 dev-libs/fribidi-0.19.5-r1 gnome-base/gnome-mime-data-2.18.0 dev-python/gst-python-0.10.22 dev-dotnet/notify-sharp-0.4.0_pre20090305 dev-dotnet/gconf-sharp-2.24.2 media-libs/libao-1.1.0-r1 net-libs/webkit-gtk-1.10.2-r300 dev-lang/ruby-1.8.7_p370 gnome-base/gnome-vfs-2.24.4-r1 net-analyzer/traceroute-2.0.18 app-crypt/gpgme-1.3.2 app-accessibility/at-spi2-core-2.6.3 app-text/docbook-xml-dtd-4.3-r1 dev-python/sip-4.13.3 dev-util/itstool-1.2.0 x11-libs/qt-webkit-4.8.4 app-admin/system-config-printer-common-1.3.11-r1 app-text/docbook-sgml-dtd-3.0-r3 app-text/docbook-sgml-dtd-3.1-r3 sys-fs/cryptsetup-1.4.3 dev-libs/soprano-2.8.0 dev-python/bsddb3-5.3.0 net-libs/liboauth-0.9.7 media-plugins/gst-plugins-libav-1.0.5 dev-libs/gjs-1.34.0 media-libs/harfbuzz-0.9.11 app-admin/eselect-ruby-20100603 net-libs/farstream-0.2.2 app-crypt/libsecret-0.12 app-text/xmlto-0.0.24-r1 x11-misc/notification-daemon-0.7.6 dev-python/pycups-1.9.62 x11-apps/xhost-1.0.5 sys-apps/lm_sensors-3.3.1 sys-apps/baobab-3.6.4 sys-apps/gptfdisk-0.8.4 sys-apps/accountsservice-0.6.22 app-office/akonadi-server-1.8.1 dev-python/pyatspi-2.6.0-r1 dev-libs/json-glib-0.14.2 dev-libs/libpwquality-1.2.0-r2 app-text/docbook-dsssl-stylesheets-1.79 media-plugins/gst-plugins-v4l2-1.0.5 x11-misc/alacarte-0.13.2 sys-power/cpufrequtils-008-r1 x11-libs/qtscriptgenerator-0.2.0 media-plugins/gst-plugins-libmms-1.0.5 net-libs/gssdp-0.12.2.1 dev-libs/libgee-0.8.3 dev-util/gtk-builder-convert-2.24.11 net-misc/whois-5.0.15 app-cdr/cdrdao-1.2.3-r1 dev-libs/libunique-3.0.2 media-libs/libquvi-scripts-0.4.10 dev-cpp/eigen-2.0.17 media-video/transcode-1.1.7 net-libs/gupnp-igd-0.2.1 media-video/mjpegtools-2.0.0-r3 media-libs/gst-plugins-good-1.0.5 app-admin/openrc-settingsd-1.0.1 x11-apps/mesa-progs-8.0.1 x11-libs/xpyb-1.3.1 media-plugins/gst-plugins-mad-1.0.5 media-libs/clutter-gtk-1.4.2 x11-libs/qt-xmlpatterns-4.8.4 app-text/docbook-sgml-utils-0.6.14-r1 dev-libs/xapian-1.2.12 dev-util/automoc-0.9.88 dev-dotnet/gio-sharp-0.3 x11-wm/mutter-3.6.2 dev-games/ggz-client-libs-0.0.14.1-r1 dev-libs/shared-desktop-ontologies-0.10.0 dev-util/gdbus-codegen-2.34.3 dev-python/bug-buddy-python-2.32.0 media-libs/musicbrainz-3.0.3 net-libs/libasyncns-0.8-r2 media-libs/libraw-0.14.7 app-emulation/emul-linux-x86-gtklibs-20121202 app-misc/geoclue-0.12.99 virtual/rubygems-1 app-text/highlight-3.3 app-text/yelp-tools-3.4.1 media-libs/gst-plugins-ugly-1.0.5 dev-libs/qoauth-1.0.1 dev-lang/vala-0.16.1-r2 sys-auth/polkit-qt-0.103.0 media-plugins/gst-plugins-resindvd-1.0.5 virtual/cron-0 media-libs/taglib-extras-1.0.1 app-crypt/p11-kit-0.13 media-plugins/gst-plugins-taglib-1.0.5 dev-dotnet/gtk-sharp-2.12.10 virtual/rubygems-4 media-libs/musicbrainz-5.0.1 dev-libs/libzeitgeist-0.3.18 app-text/gtkspell-2.0.16 sys-auth/nss-myhostname-0.3 app-text/docbook-xml-dtd-4.5-r1 dev-python/pyopengl-3.0.1 dev-cpp/mm-common-0.9.5 media-plugins/gst-plugins-gconf-0.10.30 media-libs/libid3tag-0.15.1b-r2 dev-ruby/rdoc-3.12 x11-themes/sound-theme-freedesktop-0.7 dev-db/virtuoso-server-6.1.6 media-plugins/gst-plugins-flac-1.0.5 net-dns/bind-tools-9.9.2 dev-cpp/gtkmm-3.4.0 media-libs/libquvi-0.4.1 media-libs/sdl-mixer-1.2.12-r1 net-libs/webkit-gtk-1.8.3-r200 media-libs/faac-1.28-r3 app-text/docbook-xml-simple-dtd-1.0-r1 media-libs/libsoundtouch-1.7.0 x11-libs/qt-test-4.8.4 media-plugins/gst-plugins-soundtouch-0.10.22 dev-python/pyorbit-2.24.0 dev-dotnet/glib-sharp-2.12.10 media-libs/mutagen-1.20 x11-misc/xdg-user-dirs-gtk-0.9 dev-dotnet/pango-sharp-2.12.10 app-misc/tomboy-1.10.1 net-libs/libgrss-0.3.0 media-plugins/gst-plugins-libnice-0.1.3-r100 dev-libs/liboil-0.3.17 dev-util/gtk-doc-1.18-r1 dev-dotnet/gtk-sharp-gapi-2.12.10 media-libs/libv4l-0.8.9 dev-util/ragel-6.7-r1 sys-apps/paxctl-0.7-r2 dev-lang/ruby-1.9.3_p194-r1 media-gfx/gtkimageview-1.6.4 dev-python/notify-python-0.1.1-r2 dev-python/pyasn1-0.1.4 x11-libs/mx-1.4.7 app-pda/libplist-1.8-r1 app-misc/strigi-0.7.7-r2 app-accessibility/caribou-0.4.7 x11-libs/colord-gtk-0.1.24 dev-libs/dee-1.0.14 dev-dotnet/art-sharp-2.24.2 media-libs/cogl-1.12.2 dev-dotnet/mono-addins-0.6.2 media-libs/gstreamer-1.0.5 app-admin/system-config-printer-gnome-1.3.11 dev-ruby/rubygems-1.8.24 net-libs/libnice-0.1.3-r1 media-plugins/gst-plugins-faac-0.10.22 dev-libs/libyaml-0.1.4 app-i18n/ibus-1.4.1 app-admin/pessulus-2.30.4 virtual/cdrtools-0 app-accessibility/at-spi2-atk-2.6.2 dev-libs/vala-common-0.18.0 media-plugins/gst-plugins-vpx-1.0.5 dev-ruby/rake-0.9.2.2 media-libs/libgpod-0.8.2 dev-libs/json-c-0.9-r1 net-dialup/ppp-2.4.5-r3 media-plugins/gst-plugins-meta-1.0-r1 dev-dotnet/atk-sharp-2.12.10 net-print/cups-pk-helper-0.2.4 app-misc/media-player-info-17 media-plugins/gst-plugins-soup-0.10.31 dev-lang/vala-0.18.0 media-libs/clutter-1.12.2 x11-apps/setxkbmap-1.3.0 app-text/docbook-sgml-dtd-4.1-r3 media-plugins/gst-plugins-dts-1.0.5 dev-libs/libpeas-1.6.2-r1 media-plugins/gst-plugins-mpeg2dec-1.0.5 dev-dotnet/glade-sharp-2.12.10 app-text/docbook-sgml-dtd-4.0-r3 dev-python/mysql-python-1.2.3 media-libs/qimageblitz-0.0.6-r1 x11-libs/qt-svg-4.8.4 dev-python/libgnomecanvas-python-2.28.1 dev-db/virtuoso-odbc-6.1.6 dev-libs/libdbusmenu-qt-0.9.2 virtual/perl-Getopt-Long-2.380.0-r2 media-plugins/gst-plugins-taglib-0.10.30 sys-devel/automake-1.10.3 x11-apps/xmodmap-1.0.7 media-plugins/gst-plugins-gio-0.10.35 x11-libs/gtksourceview-3.6.2 dev-python/isodate-0.4.9 dev-python/python-ldap-2.4.10 app-cdr/cdrtools-3.00 dev-python/PyQt4-4.9.4-r1 media-libs/libquicktime-1.2.4 app-cdr/dvd+rw-tools-7.1-r1 dev-dotnet/gdk-sharp-2.12.10 media-plugins/gst-plugins-v4l2-0.10.30 media-plugins/gst-plugins-cdparanoia-1.0.5 x11-apps/xsetroot-1.1.0 dev-dotnet/gtk-sharp-beans-2.14.0 media-plugins/gst-plugins-x264-1.0.5 dev-lang/vala-0.14.2-r2 dev-dotnet/taglib-sharp-2.1.0.0 dev-lang/nasm-2.10.05 media-libs/clutter-gst-2.0.0 x11-libs/qt-declarative-4.8.4 dev-perl/SGMLSpm-1.03-r6 x11-libs/libwnck-3.4.4 app-editors/nano-2.3.1-r2 media-libs/libmp4v2-2.0.0 sys-apps/lsb-release-1.4 dev-util/fix-la-relink-command-0.1.1 x11-apps/scripts-1.0.1-r1 media-libs/memphis-0.2.3 sys-fs/udisks-2.0.91 media-libs/gd-2.0.35-r3 media-libs/swfdec-0.8.4 dev-ruby/racc-1.4.8 dev-libs/libgee-0.6.4 media-libs/libgphoto2-2.4.14 media-libs/libdiscid-0.2.2 media-plugins/gst-plugins-pango-0.10.35 dev-games/libggz-0.0.14.1 media-libs/libcanberra-0.29 media-libs/gst-plugins-bad-1.0.5 media-plugins/gst-plugins-lame-1.0.5 media-plugins/gst-plugins-dvdread-1.0.5 media-libs/freeglut-2.8.0-r1 x11-apps/xdpyinfo-1.3.0-r1 dev-libs/libatomic_ops-7.2d gnome-base/libgnome-2.32.1-r1 dev-libs/gmime-2.6.10 app-admin/eselect-gnome-shell-extensions-20120911

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

Would you like to unmerge these packages? [Yes/No] no

Quitting.

Packages installed:   1207
Packages in world:    89
Packages in system:   42
Required packages:    936
Number to remove:     271

 * IMPORTANT: 10 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.



the command line I use is: emerge --depclean -av

I'm I doing something wrong ?

Cheers,

Bruno Santos
_________________
Do It With Rhythm
Back to top
View user's profile Send private message
jormartr
Apprentice
Apprentice


Joined: 02 Jan 2008
Posts: 174

PostPosted: Tue Feb 19, 2013 11:25 am    Post subject: Reply with quote

I have not readen the whole list, but if you moved from kde to xfce, it's normal emerge wants to remove all the kde dependencies, which have to be alot.

I see it wants to remove nano, what means, you have not executed emerge --depclean in quite some time, which may let the list become even larger.
Back to top
View user's profile Send private message
feiticeir0
Apprentice
Apprentice


Joined: 13 Jul 2005
Posts: 288
Location: Castelo Branco, Portugal

PostPosted: Tue Feb 19, 2013 11:34 am    Post subject: Reply with quote

jormartr wrote:
I have not readen the whole list, but if you moved from kde to xfce, it's normal emerge wants to remove all the kde dependencies, which have to be alot.

I see it wants to remove nano, what means, you have not executed emerge --depclean in quite some time, which may let the list become even larger.


Hi ! You almost got it right, but the KDE dependencies have been all removed...

I've learn a few tricks and

equery list kde-base/* | xargs emerge -C

will remove the KDE packages and replacing that with kde-misc will remove the other packages

revdep-rebuild will do to identify the remaining packages that depend one way or another on KDE.

So this packages are not from KDE but packages from the system...

Thank you anyway !

BTW: I haven't done --depclean ever...
_________________
Do It With Rhythm
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1248
Location: 42.68n 85.41w

PostPosted: Tue Feb 19, 2013 12:23 pm    Post subject: Reply with quote

-C and --depclean pissed me off, ive been going hard on emerge --unmerge garbagepackages
Back to top
View user's profile Send private message
olek
Apprentice
Apprentice


Joined: 22 Oct 2011
Posts: 173

PostPosted: Tue Feb 19, 2013 1:27 pm    Post subject: Reply with quote

I do
Code:
emerge -c
all the time and never had problems that weren't my fault.
Just make sure everything you want to keep is in your world file.
If you are moving from one DE to another and build them through meta-packages, every program included in such meta-package would be removed as the meta-package would have been removed and anything else which dependency it was.
So better include the programs which were delivered through such meta-package and you want to keep into your world file before moving over.
_________________
https://plaintext.blog
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Tue Feb 19, 2013 3:53 pm    Post subject: Reply with quote

1) The -v arg to depclean seems to be more trouble than its worth. It seriously clutters the output. I recomend passing the "a" argument, as portage should never be allowed to do anything without asking.
2) try less /var/lib/portage/world. Make sure the file is intact. If its missing things, you will get into big trouble. Never edit the file by hand. Use emerge --noreplace and emerge --deselelct instead. You little trick is a start but it will not completely remove the dependencies. My guess is your list is harmless, as long as you really do want to remove gnome. It is normal for long lists to be pulled when removing large packages.
3) This size list is normal, particularly if you are moving from a KDE system to something lighter. That is why the new system is "Lighter" :wink:

A good trick to know is equery it is a little tool that can find deps for you. For more, consult the man pages or try equery -h. By the way, I had a list that was a comparable length due to neglect and world file pollution on an older system. I didn't remove more than a couple of packages and cleaned the world file, but a deluge of dependencies where no longer needed. If you don't recognize a package, you probably don't need it.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
feiticeir0
Apprentice
Apprentice


Joined: 13 Jul 2005
Posts: 288
Location: Castelo Branco, Portugal

PostPosted: Tue Feb 19, 2013 4:09 pm    Post subject: Reply with quote

The Doctor wrote:
1) The -v arg to depclean seems to be more trouble than its worth. It seriously clutters the output. I recomend passing the "a" argument, as portage should never be allowed to do anything without asking.
2) try less /var/lib/portage/world. Make sure the file is intact. If its missing things, you will get into big trouble. Never edit the file by hand. Use emerge --noreplace and emerge --deselelct instead. You little trick is a start but it will not completely remove the dependencies. My guess is your list is harmless, as long as you really do want to remove gnome. It is normal for long lists to be pulled when removing large packages.
3) This size list is normal, particularly if you are moving from a KDE system to something lighter. That is why the new system is "Lighter" :wink:

A good trick to know is equery it is a little tool that can find deps for you. For more, consult the man pages or try equery -h. By the way, I had a list that was a comparable length due to neglect and world file pollution on an older system. I didn't remove more than a couple of packages and cleaned the world file, but a deluge of dependencies where no longer needed. If you don't recognize a package, you probably don't need it.


Hi !

Thank you !

I don't use gnome, but xfce, so i'm assuming that some gnome packages are indeed necessary, not only because of xfce (i have -gnome use flag and my profile is desktop - not gnome nor kde). I also use chromium and i know it needs some gnome packages - don't know if they are in the list ..

I haven't done --depclean yet because i need my computer to work - but as soon as i'm out, i'll leave it with the --depclean and tomorow i'll see if I can work out of the box or revdep-rebuild will have to enter the game

I just want a nice and clean Gentoo working - over the months i install and remove packages and i'm sure some dependencies stay behind and are no longer needed - they keep occupying precious space and cluttering the system...

Thank you all for the responses - i'll post something in the morning ! :D
_________________
Do It With Rhythm
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1248
Location: 42.68n 85.41w

PostPosted: Tue Feb 19, 2013 4:15 pm    Post subject: Reply with quote

xfce requires 0 gnome.... i know from building it on linux from scratch. something else must be pulling in gnomes.
Back to top
View user's profile Send private message
feiticeir0
Apprentice
Apprentice


Joined: 13 Jul 2005
Posts: 288
Location: Castelo Branco, Portugal

PostPosted: Tue Feb 19, 2013 5:17 pm    Post subject: Reply with quote

666threesixes666 wrote:
xfce requires 0 gnome.... i know from building it on linux from scratch. something else must be pulling in gnomes.


Chromium probably and NetworkManager
_________________
Do It With Rhythm
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Tue Feb 19, 2013 8:09 pm    Post subject: Reply with quote

There are not pulling the listed packages. They appear to be left over from something you did a while ago and neglected to clean up. You have things like mutter. That is the kwin of gnome. Its not a networkmanager or chromium dependency.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Wed Feb 20, 2013 8:35 am    Post subject: Reply with quote

666threesixes666 wrote:
xfce requires 0 gnome.... i know from building it on linux from scratch. something else must be pulling in gnomes.


You are right.

People just confuse gnome-base/gvfs, used by Thunar for Trash and removable media and more, for "GNOME VFS" when it's really "GLIB/GIO VFS" and not gnome specific
package any more than gtk+ or glib are.

And people are free to not use Thunar and set USE="-thunar" and use some other filemanager if they want to cut down the deps all the way, even gnome-base/gvfs.

And gvfs is only required at runtime, not buildtime, so when you built it on LFS, this wouldn't have come up before actually running it.
Back to top
View user's profile Send private message
feiticeir0
Apprentice
Apprentice


Joined: 13 Jul 2005
Posts: 288
Location: Castelo Branco, Portugal

PostPosted: Thu Feb 21, 2013 9:53 am    Post subject: Reply with quote

Hi all !

Thank you for your replies !

I've switched from xfce to gnome and i know i've removed every single package of xfce and others that would depend on them.

After emerge --update --deep --newuse world and rev-dep rebuild i'm certain i don't have any missing dependencies and everything is up and running.

Now, preforming an emerge --depclean, after a few seconds i had to cancel because it removed the following packages:

Code:

=== Unmerging... (app-misc/tomboy-1.10.1)
1361438815:  >>> unmerge success: app-misc/tomboy-1.10.1
1361438815: === Unmerging... (net-im/telepathy-connection-managers-1)
1361438815:  >>> unmerge success: net-im/telepathy-connection-managers-1
1361438815: === Unmerging... (media-plugins/gst-plugins-soundtouch-0.10.22)
1361438817:  >>> unmerge success: media-plugins/gst-plugins-soundtouch-0.10.22
1361438817: === Unmerging... (sys-auth/polkit-qt-0.103.0)
1361438818:  >>> unmerge success: sys-auth/polkit-qt-0.103.0
1361438818: === Unmerging... (sys-apps/lsb-release-1.4)
1361438819:  >>> unmerge success: sys-apps/lsb-release-1.4
1361438819: === Unmerging... (gnome-extra/gnome-games-2.28.2)
1361438822:  >>> unmerge success: gnome-extra/gnome-games-2.28.2
1361438822: === Unmerging... (media-sound/sound-juicer-2.32.0-r1)
1361438824:  >>> unmerge success: media-sound/sound-juicer-2.32.0-r1
1361438824: === Unmerging... (net-libs/libbluedevil-1.9.2)
1361438826:  >>> unmerge success: net-libs/libbluedevil-1.9.2
1361438826: === Unmerging... (dev-perl/glib-perl-1.262.0)
1361438827:  >>> unmerge success: dev-perl/glib-perl-1.262.0
1361438827: === Unmerging... (gnome-base/gdm-2.20.11-r1)
1361438829:  >>> unmerge success: gnome-base/gdm-2.20.11-r1
1361438829: === Unmerging... (net-libs/webkit-gtk-1.10.2-r300)
1361438831:  >>> unmerge success: net-libs/webkit-gtk-1.10.2-r300
1361438831: === Unmerging... (media-plugins/gst-plugins-meta-1.0-r1)
1361438831:  >>> unmerge success: media-plugins/gst-plugins-meta-1.0-r1
1361438831: === Unmerging... (dev-dotnet/taglib-sharp-2.1.0.0)


After that, i performed revdep-rebuild and it doesn't detect those packages are missing ?

I know they have dependencies:
Code:

nightraider ~ # equery d webkit-gtk
 * These packages depend on webkit-gtk:
dev-java/swt-3.7.2 (webkit ? >=net-libs/webkit-gtk-1.2:2)
gnome-extra/yelp-2.30.2-r200 (net-libs/webkit-gtk:2)
media-gfx/gimp-2.6.12-r5 (webkit ? net-libs/webkit-gtk:2)
www-client/epiphany-2.30.6-r1 (>=net-libs/webkit-gtk-1.2.3:2[introspection?])


If epiphany and gimp depend on webkit, why didn't revdep-rebuild reported them ?

I know --depclean will eventually remove packages that are no longer needed, such as libbluedevil, but it will also remove packages in use... My question and the reason i've created this post is to know if this is a normal behavior of --depclean and in the end i'll always end up to have to run revdep-rebuild to correct the mess it has created ...

What if it removes portage ? Or gcc ? what then ?

Cheers,

Bruno Santos
_________________
Do It With Rhythm
Back to top
View user's profile Send private message
olek
Apprentice
Apprentice


Joined: 22 Oct 2011
Posts: 173

PostPosted: Thu Feb 21, 2013 11:12 am    Post subject: Reply with quote

Depclean wants to remove net-libs/webkit-gtk-1.10.2-r300, which is a different version installed in another slot as the version your packages depend on. It is save to be removed. Again: Depclean won't remove anything that's listed in system, world, or is a dependency of such a package. It's not broken or something. When you are unsure of a specific package or a version of it if it is save to be removed, you can always try
Code:
emerge -pvc =net-libs/webkit-gtk-1.10.2-r300
and it will either tell you that it would remove it 'cause nothing depends on it or it will show you what depends of it.
_________________
https://plaintext.blog
Back to top
View user's profile Send private message
feiticeir0
Apprentice
Apprentice


Joined: 13 Jul 2005
Posts: 288
Location: Castelo Branco, Portugal

PostPosted: Thu Feb 21, 2013 11:21 am    Post subject: Reply with quote

olek wrote:
Depclean wants to remove net-libs/webkit-gtk-1.10.2-r300, which is a different version installed in another slot as the version your packages depend on. It is save to be removed. Again: Depclean won't remove anything that's listed in system, world, or is a dependency of such a package. It's not broken or something. When you are unsure of a specific package or a version of it if it is save to be removed, you can always try
Code:
emerge -pvc =net-libs/webkit-gtk-1.10.2-r300
and it will either tell you that it would remove it 'cause nothing depends on it or it will show you what depends of it.


Thank you for the reply.

Hum... Ok, i'll check that, but what about gdm ? Is my login manager and as far as i know, i only have one version and --depclean want's to remove it.

Cheers,

Bruno Santos
_________________
Do It With Rhythm
Back to top
View user's profile Send private message
olek
Apprentice
Apprentice


Joined: 22 Oct 2011
Posts: 173

PostPosted: Thu Feb 21, 2013 11:32 am    Post subject: Reply with quote

So if you are sure gdm is your only DM and you need one, you can easily
Code:
emerge --noreplace gnome-base/gdm
to put it into your world file and it will never again be removed by Depclean.
_________________
https://plaintext.blog
Back to top
View user's profile Send private message
feiticeir0
Apprentice
Apprentice


Joined: 13 Jul 2005
Posts: 288
Location: Castelo Branco, Portugal

PostPosted: Thu Feb 21, 2013 11:47 am    Post subject: Reply with quote

olek wrote:
So if you are sure gdm is your only DM and you need one, you can easily
Code:
emerge --noreplace gnome-base/gdm
to put it into your world file and it will never again be removed by Depclean.


You were right ! I had slim installed . But isn't gdm installed and dependent on gnome ? Still, i've checked and gdm is installed - it wasn't removed..


Still, --depclean was run and removed a lot of packages... I've noticed now that gedit was removed.. why ? why would --depclean remove gedit ? I had it open and now, when trying to search for something, i get errors...

i'm not saying we shouldn't use --depclean, but --depclean removes packages that it shouldn't remove... And i'm certain that, when starting using the system again i'll find packages that were removed..

All i want is a method to clean old dependencies no longer needed and keep the system clean !

Cheers,

Bruno
_________________
Do It With Rhythm
Back to top
View user's profile Send private message
olek
Apprentice
Apprentice


Joined: 22 Oct 2011
Posts: 173

PostPosted: Thu Feb 21, 2013 12:14 pm    Post subject: Reply with quote

Gedit has apperantly been installed as a dependency. The depending package has been removed, so portage assumed it to be a no longer needed dependency save to remove and keep your system clean. It cannot read your mind. Packages you use and want to keep belong into the world file, this is just how portage works. Gentoo is about choice. If a package depends on a DM, it doesn't require one specific DM, but some DM.
_________________
https://plaintext.blog
Back to top
View user's profile Send private message
feiticeir0
Apprentice
Apprentice


Joined: 13 Jul 2005
Posts: 288
Location: Castelo Branco, Portugal

PostPosted: Thu Feb 21, 2013 12:46 pm    Post subject: Reply with quote

You're right !

But gedit is part of gnome... I'm using gnome !

Still, i love Gentoo and i'm still going to use it ! If i'm missing a package, i'll install it !

Thank you for the replies !

Cheers,

Bruno Santos
_________________
Do It With Rhythm
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