View previous topic :: View next topic |
Author |
Message |
while true Guru
Joined: 07 Apr 2010 Posts: 532 Location: Ljubljana, Slovenia
|
Posted: Tue May 22, 2018 8:52 am Post subject: manually uninstalling package [solved] |
|
|
noob here, chasing it's tale:
Code: | $ emerge --update --newuse --deep --with-bdeps=y @world
Calculating dependencies... done!
!!! Problems have been detected with your world file
!!! Please run emaint --check world
!!! Ebuilds for the following packages are either all
!!! masked or don't exist:
net-libs/webkit-gtk:2 net-libs/webkit-gtk:3
>>> Jobs: 0 of 0 complete Load avg: 1.14, 0.72, 0.57
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
$ emaint --check world
Emaint: check world 100% [============================================>]
$ emerge --depclean -pv
* Always study the list of packages to be cleaned for any obvious
* mistakes. Packages that are part of the world set will always
* be kept. They can be manually added to this set with
* `emerge --noreplace <atom>`. Packages that are listed in
* package.provided (see portage(5)) will be removed by
* depclean, even if they are part of the world set.
*
* As a safety measure, depclean will not remove any packages
* unless *all* required dependencies have been resolved. As a
* consequence of this, it often becomes necessary to run
* `emerge --update --newuse --deep @world` prior to depclean.
Calculating dependencies... done!
* Dependencies could not be completely resolved due to
* the following required packages not being installed:
*
* >=dev-libs/icu-3.8.1-r1:0/58.2= pulled in by:
* net-libs/webkit-gtk-2.4.11-r200
*
* >=dev-libs/icu-3.8.1-r1:0/58.2= pulled in by:
* net-libs/webkit-gtk-2.4.11-r1
*
* Have you forgotten to do a complete update prior to depclean? The
* most comprehensive command for this purpose is as follows:
*
* emerge --update --newuse --deep --with-bdeps=y @world
*
* Note that the --with-bdeps=y option is not required in many
* situations. Refer to the emerge manual page (run `man emerge`)
* for more information about --with-bdeps.
*
* Also, note that it may be necessary to manually uninstall
* packages that no longer exist in the portage tree, since it may
* not be possible to satisfy their dependencies. |
so, how does one go about manually uninstalling package that no longer exists ..., presumably?
Thank you _________________ Kind regards, Goran Mitic
alive
while true
kick ass
Last edited by while true on Wed May 23, 2018 12:04 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54234 Location: 56N 3W
|
Posted: Tue May 22, 2018 9:02 am Post subject: |
|
|
while true,
Don't remove anything yet.
Code: | !!! Ebuilds for the following packages are either all
!!! masked or don't exist:
net-libs/webkit-gtk:2 net-libs/webkit-gtk:3 | Is correct.
The current version is Code: | eix net-libs/webkit-gtk
* net-libs/webkit-gtk
Available versions: (4) 2.18.6(4/37)^t |
We need to discover why your system wants old versions like that.
Please post and put the output of Code: | cat /etc/portage/*/* | onto a pastebin.
Put your world file onto a pastebin too. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
while true Guru
Joined: 07 Apr 2010 Posts: 532 Location: Ljubljana, Slovenia
|
Posted: Tue May 22, 2018 9:21 am Post subject: |
|
|
Hello Neddy,
Code: | $ wgetpaste emerge-info
Your paste can be seen here: https://paste.pound-python.org/show/74jPYPS4kznH190pioYh/
$ cat /etc/portage/*/* > etc-portage
cat: /etc/portage/make.profile/gnome: Is a directory
cat: /etc/portage/make.profile/plasma: Is a directory
cat: /etc/portage/patches/app-emulation: Is a directory
cat: /etc/portage/savedconfig/media-gfx: Is a directory
cat: /etc/portage/savedconfig/sys-apps: Is a directory
cat: /etc/portage/savedconfig/sys-firmware: Is a directory
cat: /etc/portage/savedconfig/sys-kernel: Is a directory
cat: /etc/portage/savedconfig/www-client: Is a directory
cat: /etc/portage/savedconfig/x11-terms: Is a directory
cat: /etc/portage/savedconfig/x11-wm: Is a directory
$ wgetpaste etc-portage
Your paste can be seen here: https://paste.pound-python.org/show/ENvfB5FStWZxuvKKgeQR/ |
there was news, about webkit several weeks ago, so until yesterday i had in package.mask:
Code: | #>=app-editors/gedit-3.11
#>=app-editors/gedit-plugins-3.11
#<dev-lang/ruby-2.0.0_p648
>=net-libs/webkit-gtk-2.4.11-r200 |
which I commented yesterday
Code: | cat /etc/portage/package.mask
#>=app-editors/gedit-3.11
#>=app-editors/gedit-plugins-3.11
#<dev-lang/ruby-2.0.0_p648
#>=net-libs/webkit-gtk-2.4.11-r200 |
I am not quite sure how to put a world file... anywhere
thank you _________________ Kind regards, Goran Mitic
alive
while true
kick ass |
|
Back to top |
|
|
ian.au Guru
Joined: 07 Apr 2011 Posts: 592 Location: Australia
|
Posted: Tue May 22, 2018 9:34 am Post subject: |
|
|
while true wrote: |
I am not quite sure how to put a world file... anywhere
thank you |
Code: | wgetpaste /var/lib/portage/world |
|
|
Back to top |
|
|
while true Guru
Joined: 07 Apr 2010 Posts: 532 Location: Ljubljana, Slovenia
|
Posted: Tue May 22, 2018 9:39 am Post subject: |
|
|
Code: | $ wgetpaste /var/lib/portage/world
Your paste can be seen here: https://paste.pound-python.org/show/WGQvLuOwiitedj3vx6Ly/ |
thank you Ian, well, since there placements have been put so well i feel like i need a cegarette now, khehe
Thank you extra for bearing my humor _________________ Kind regards, Goran Mitic
alive
while true
kick ass |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54234 Location: 56N 3W
|
Posted: Tue May 22, 2018 9:46 am Post subject: |
|
|
while true,
Your world file as at /var/lib/portage/world. Its a text file. Its safe to look but if you feel the need to edit it, use the commands provided by emerge.
You get to keep the pieces of your system if you mess it up.
Quote: | until yesterday i had in package.mask |
Code: | >=net-libs/webkit-gtk-2.4.11-r200 |
I was expecting a lot more in Code: | cat /etc/portage/*/* | but the above explains it.
You kept >=net-libs/webkit-gtk-2.4.11-r200 masked and now all packages that could have provided webkit-gtk for you have been removed from the tree.
Having removed the mask, you need to update your system. That should update all the packages that need webkit-gtk to use the newer one.
Which file is
Code: | <sys-devel/libtool-2.4.3-r2
<sys-apps/openrc-0.13.0
<sys-process/procps-3.3.9-r2
<dev-lang/perl-5.18.0 | from?
Portage does not use ebuilds from the gentoo repository to remove packages. They may not be available.
At install time, it keeps its own copy of the ebuild, so its always available for an uninstall. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
while true Guru
Joined: 07 Apr 2010 Posts: 532 Location: Ljubljana, Slovenia
|
Posted: Tue May 22, 2018 10:15 am Post subject: |
|
|
Hello Neddy,
lines
Code: | <sys-devel/libtool-2.4.3-r2
<sys-apps/openrc-0.13.0
<sys-process/procps-3.3.9-r2
<dev-lang/perl-5.18.0 |
are from separate folders (in /etc/portage/) that i created in order to remove obsolete/learning/mistake files.
I just emerged system, from yesterday's eix-sync:
Code: | $ emerge -uDNa @world
These are the packages that would be merged, in order:
Calculating dependencies... done!
!!! Problems have been detected with your world file
!!! Please run emaint --check world
!!! Ebuilds for the following packages are either all
!!! masked or don't exist:
net-libs/webkit-gtk:2 net-libs/webkit-gtk:3
Nothing to merge; quitting. |
So, if I understand correctly, it will resolve on it's own update schedule (putting aside my evil ways with my little os ).
Thank you all for your time _________________ Kind regards, Goran Mitic
alive
while true
kick ass |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54234 Location: 56N 3W
|
Posted: Tue May 22, 2018 10:25 am Post subject: |
|
|
while true,
Please post your world file. It sounds like its become polluted.
For some reason Code: | net-libs/webkit-gtk:2 net-libs/webkit-gtk:3 | are still being pulled in.
Your update says that there is nothing to do.
As these are libraries, they are by definition, dependencies of other things, so should not be in world.
When something breaks its easy to forget --oneshot while you fix it and things are accidentally added to world.
Did you do a --depclean?
There may be installed junk on your system. Take great care with depclean. Always use --pretend and inspect the package list before you run it for real. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
while true Guru
Joined: 07 Apr 2010 Posts: 532 Location: Ljubljana, Slovenia
|
Posted: Tue May 22, 2018 10:36 am Post subject: |
|
|
oi Neddy, sorry, here it is:
Code: | $ wgetpaste /var/lib/portage/world
Your paste can be seen here: https://paste.pound-python.org/show/WGQvLuOwiitedj3vx6Ly/ |
is this the right one?
Thank you
edit
sorry again, here is depclean:
Code: | ┬─[root@keeshta:/etc/portage]─[12:36:59 PM]
╰─>$ emerge --depclean -pv
* Always study the list of packages to be cleaned for any obvious
* mistakes. Packages that are part of the world set will always
* be kept. They can be manually added to this set with
* `emerge --noreplace <atom>`. Packages that are listed in
* package.provided (see portage(5)) will be removed by
* depclean, even if they are part of the world set.
*
* As a safety measure, depclean will not remove any packages
* unless *all* required dependencies have been resolved. As a
* consequence of this, it often becomes necessary to run
* `emerge --update --newuse --deep @world` prior to depclean.
Calculating dependencies... done!
* Dependencies could not be completely resolved due to
* the following required packages not being installed:
*
* >=dev-libs/icu-3.8.1-r1:0/58.2= pulled in by:
* net-libs/webkit-gtk-2.4.11-r1
*
* >=dev-libs/icu-3.8.1-r1:0/58.2= pulled in by:
* net-libs/webkit-gtk-2.4.11-r200
*
* Have you forgotten to do a complete update prior to depclean? The
* most comprehensive command for this purpose is as follows:
*
* emerge --update --newuse --deep --with-bdeps=y @world
*
* Note that the --with-bdeps=y option is not required in many
* situations. Refer to the emerge manual page (run `man emerge`)
* for more information about --with-bdeps.
*
* Also, note that it may be necessary to manually uninstall
* packages that no longer exist in the portage tree, since it may
* not be possible to satisfy their dependencies.
┬─[root@keeshta:/etc/portage]─[12:37:48 PM]
╰─>$ |
_________________ Kind regards, Goran Mitic
alive
while true
kick ass |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54234 Location: 56N 3W
|
Posted: Tue May 22, 2018 11:16 am Post subject: |
|
|
while true,
world: | net-libs/webkit-gtk:2
net-libs/webkit-gtk:3 |
Your world file is telling portage to install net-libs/webkit-gtk in slots 2 and 3 but they no longer exist.
When you remove those packages, other things may break.
Code: | emerge -cav net-libs/webkit-gtk:2 net-libs/webkit-gtk:3 | will remove the packages if nothing else needs them.
For the future, the following should probably not be in world.
Code: | media-libs/exiftool
media-libs/gst-plugins-bad
media-libs/gst-plugins-ugly
media-libs/libcaca
media-libs/libgphoto2
media-libs/libsdl2
media-libs/libtxc_dxtn
media-libs/mesa
media-libs/openjpeg
media-libs/sdl2-image
media-libs/sdl2-mixer
net-libs/enet
net-libs/webkit-gtk
sys-auth/consolekit
sys-auth/polkit
sys-devel/llvm
sys-libs/ncurses
x11-base/xorg-drivers
x11-drivers/xf86-video-ati |
The media-libs/* and net-libs/* are libraries, so should be installed because something else needs them.
sys-auth/consolekit sys-auth/polkit are also dependencies of other packages. Often use flag controlled.
llvm is installed as a dependency.
ncurses is part of system.
x11-base/xorg-drivers and x11-drivers/xf86-video-ati are pulled in by xorg-server and the VIDEO_CARDS= in make.conf.
This is what I was hinting at about "world pollution". There may be other things that should no be there.
The entries Code: | sys-kernel/gentoo-sources:4.0.5
sys-kernel/gentoo-sources:4.14.13 | are only useful if you want to keep those specific kernel versions around for a long time.
I personally use --depclean --exclude="list of stuff to keep" but both ways work. Is gentoo-sources:4.0.5 still useful? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
while true Guru
Joined: 07 Apr 2010 Posts: 532 Location: Ljubljana, Slovenia
|
Posted: Tue May 22, 2018 8:42 pm Post subject: |
|
|
Hello Neddy, sorry for delayed response,
Code: | emerge -cav net-libs/webkit-gtk:2 net-libs/webkit-gtk:3 |
did the trick, thank you.
:2 was removed, depcleaned nicely and it seems my system is 'clean' again.
That said, i have polluted world, so I just remove those lines (nano, vim) or do I have to use some tool?
I can see when emerge says that some package was written into the world file,
but i can not say which is polluting and which is furtelizer...
about kernel, well i only this year learned how to upgrade kernel (that hardvare thing with CPUs), 4.0.5 was from 2-3 years ago when I installed gentoo on this machine.
But from previous experience (ex-machine, laptops) I needed source to edit/change/manipulate kernel, and that is why i have it in world file since depclean tends to remove source as new come along.
(mind you, that was not me thinking, just copy/pasting like pro from gentoo forum member's suggestion)
Also, just delete those two lines?
I used to go 3 or 4 months without rebooting, now I need to reboot almost weekly, those new kernels are coming like that swedish/finish bathroom-robe wearing guy has no better thing to do in life...
Oh Neddy, thank you again so much. _________________ Kind regards, Goran Mitic
alive
while true
kick ass |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54234 Location: 56N 3W
|
Posted: Tue May 22, 2018 9:01 pm Post subject: |
|
|
while true,
You can use ${EDITOR} on you world file.
Do make a backup before you start as making a mess with nano is not recoverable.
You might like to read cleaning the world file (wiki) - check the script
Like I say, keep a backup of world before you change it.
There is something similar on the wiki but I can't find a link. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
while true Guru
Joined: 07 Apr 2010 Posts: 532 Location: Ljubljana, Slovenia
|
Posted: Wed May 23, 2018 12:03 pm Post subject: |
|
|
Funny little script, so I ran it,
and after a while in /tmp/ I got
a file with list of packages
that I removed from world file.
After that nothing to emerge -uDNa @world,
but depclean removed 64 packages and
at the end suggested emerge @preserved-rebuild
since there were some existing preserved libs,
which reinstalled aterm.
At this point I found out that depclean removed vim,
which is my system editor, so i quickly emerged vim back,
and it added itself to world file, which serves my $EDITOR nicely.
I ran my new little script again.
This time only vim showed up,
but now I know better than to remove it.
Neddy, thank you again for your time and most valuable input. _________________ Kind regards, Goran Mitic
alive
while true
kick ass |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54234 Location: 56N 3W
|
Posted: Wed May 23, 2018 5:37 pm Post subject: |
|
|
while true,
That's what world pollution does to your system. It keeps junk around that you don't need.
Worse, the junk is maintained too, so you update it as it changes.
Then one day, some of the ebuilds for the junk are removed ... which brings us back to your original post.
vim was removed because things that need an editor depend on virtual/editor. It says Code: | RDEPEND="|| (
app-editors/nano
app-editors/dav
app-editors/e3
app-editors/ee
app-editors/efte
app-editors/elvis
app-editors/emacs
app-editors/emacs-vcs
app-editors/emact
app-editors/ersatz-emacs
app-editors/fe
app-editors/jasspa-microemacs
app-editors/jed
app-editors/joe
app-editors/jove
app-editors/kakoune
app-editors/le
app-editors/levee
app-editors/lpe
app-editors/mg
app-editors/ne
app-editors/neovim
app-editors/ng
app-editors/nvi
app-editors/qemacs
app-editors/teco
app-editors/uemacs-pk
app-editors/vile
app-editors/vim
app-editors/gvim
app-editors/vis
app-editors/xemacs
app-editors/zile
app-misc/mc[edit]
dev-lisp/cmucl
mail-client/alpine[-onlyalpine]
)" | so dependency checking will find nano before vim. As nano is installed, vim is not required.
As you have discovered, these strict checks are aids and advisories to keeping your system in trim. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|
|
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
|
|