Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Quick fix for e2fsprogs, com_err, and ss blockers
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1496
Location: Oxfordshire, UK

PostPosted: Tue Oct 28, 2008 12:25 pm    Post subject: Quick fix for e2fsprogs, com_err, and ss blockers Reply with quote

Hi,

Following the reading of lots of posts on these recent blockers I'd like to post my 2p worth on how I fixed it:

Code:
# echo "<=app-crypt/mit-krb5-1.6.3-r2" >> /etc/portage/package.keywords
# emerge --sync
# emerge -f e2fsprogs e2fsprogs-libs
# emerge --unmerge ss com_err e2fsprogs
# emerge e2fsprogs e2fsprogs-libs


You'll also need to upgrade mit-krb5 as this is the root cause of the blocked packages.

Don't worry, the contents of ss and com_err now seem to be included in e2fsprogs so you don't have to re-emerge them!

Hope this helps someone :)

Rich
p.s any chance we can make this post sticky for a while??
Seems reasonable...stuck. Interested parties may also wish to check the bug.
--timeBandit


For those only now encountering this block, or others like it, updating to a version of sys-apps/portage in the 2.2 or 2.1.6 or later series should allow emerge to resolve the block automatically unless the libraries which would be removed and replaced are members of the world set. -- desultory
Unstuck as the problem has been addressed in more recent versions of portage. -- desultory


Last edited by richard.scott on Tue Nov 11, 2008 1:06 pm; edited 5 times in total
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1634
Location: Poland => Lodz

PostPosted: Tue Oct 28, 2008 12:33 pm    Post subject: Reply with quote

I'd suggest "<=app-crypt/mit-krb5-1.6.3-r2". This version resolves the issue and won't cause upgrading mit-krb5 to a new unstable version every time such is available.
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1496
Location: Oxfordshire, UK

PostPosted: Tue Oct 28, 2008 12:36 pm    Post subject: Reply with quote

oooh!, cool, thanks for the tip :D
I've edited the original post now.
Back to top
View user's profile Send private message
Rcomian
Apprentice
Apprentice


Joined: 10 Jan 2004
Posts: 174
Location: Uk, Northwest

PostPosted: Tue Oct 28, 2008 1:07 pm    Post subject: Reply with quote

I can confirm that this works on my two machines, which run different versions of portage but which both hit this problem at the same time.

Can I second that this should be a sticky on the forums.

Also, there is a spurious quote mark on the end of the first line.

How on earth did this problem hit live/stable? It been a known problem since at least 24th August ...
http://bugs.gentoo.org/show_bug.cgi?id=235619

Gentoo devs, please - nothing on the front page warning us? Nothing in gentoo planet? No notice when we run the commands about what to do? No warning that the normal workarounds can leave you unable to download sources for the replacement packages?

This is not good, thank you richard for finding the magic sauce to make this work.
Back to top
View user's profile Send private message
gerard82
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2228
Location: Netherlands

PostPosted: Tue Oct 28, 2008 1:09 pm    Post subject: Reply with quote

Well it doesn't work for me.
Frustrating to say the least.
Gerard.

Edit:After some more emerge --unmerge I got my box working again.
Thanks all.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
Rcomian
Apprentice
Apprentice


Joined: 10 Jan 2004
Posts: 174
Location: Uk, Northwest

PostPosted: Tue Oct 28, 2008 1:16 pm    Post subject: Reply with quote

Gerard van Vuuren:

Could you add in exactly what other packages you had to unmerge to get this working? Might be helpful for others.
Back to top
View user's profile Send private message
Fenixoid
Apprentice
Apprentice


Joined: 09 Dec 2004
Posts: 154
Location: Lithuania

PostPosted: Tue Oct 28, 2008 1:27 pm    Post subject: Reply with quote

Yeah, that would be very nice, because if I don't repair my gentoo (running on enterprise server with angry users) - I'l be dead soon :D
_________________
gentoo.lt
p.s. my english sucks ;-)
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1496
Location: Oxfordshire, UK

PostPosted: Tue Oct 28, 2008 1:31 pm    Post subject: Reply with quote

Fenixoid wrote:
Yeah, that would be very nice, because if I don't repair my gentoo (running on enterprise server with angry users) - I'l be dead soon :D


The packages listed on my initial post are all you need to remove and re-install i.e. remove ss, com_err and e2fsprogs

You need to remember to fetch the packages before uninstalling anything as the uninstall of ss and com_err can sometimes break wget.
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1634
Location: Poland => Lodz

PostPosted: Tue Oct 28, 2008 1:43 pm    Post subject: Reply with quote

If you get screwd just follow my steps :)

1. Boot the minimal
2. chroot as in the handbook
3. try to emerge something and wget will complain about some lib file (com_err.so I think....)
4. on a VT without the chroot copy this file from /lib on the cd to /mnt/gentoo/lib
5. now wget will work and you can do whats in the first post :)
Back to top
View user's profile Send private message
oliver
Apprentice
Apprentice


Joined: 25 Jun 2003
Posts: 170

PostPosted: Tue Oct 28, 2008 1:53 pm    Post subject: Reply with quote

szczerb wrote:
If you get screwd just follow my steps :)

1. Boot the minimal
2. chroot as in the handbook
3. try to emerge something and wget will complain about some lib file (com_err.so I think....)
4. on a VT without the chroot copy this file from /lib on the cd to /mnt/gentoo/lib
5. now wget will work and you can do whats in the first post :)


I think if you could have got the sys-libs/com_err pkg from http://tinderbox.dev.gentoo.org/default-linux/ onto your box and extracted it, you could have avoided the boot from CD.... Luckily for me, ncftp still worked when wget didn't so I got around things that way
_________________
I can't help quoting you. 'Cos everything that you said rings true.
Back to top
View user's profile Send private message
snIP3r
l33t
l33t


Joined: 21 May 2004
Posts: 784
Location: germany

PostPosted: Tue Oct 28, 2008 2:10 pm    Post subject: Reply with quote

hi all!

this is very frustrating to me :( the earlier method unmerging the blocking package(s) and then re-emerge them do not seem to work. there are many posts about this problem and many suggestions on how to fix this. i think i found the reason for my blocks:

net-fs/nfs-utils-1.1.3

Quote:

area52 ~ # emerge -uavDN world

These are the packages that would be merged, in order:

Calculating world dependencies... done!
[ebuild U ] sys-fs/e2fsprogs-1.41.2 [1.40.9] USE="nls (-static%)" 4,263 kB
[ebuild N ] sys-libs/e2fsprogs-libs-1.41.2 USE="nls" 479 kB
[ebuild U ] net-fs/nfs-utils-1.1.3 [1.1.0-r1] USE="tcpd -kerberos -nonfsv4" 793 kB
[blocks B ] sys-libs/e2fsprogs-libs (is blocking sys-libs/ss-1.40.9, sys-lib s/com_err-1.40.9)
[blocks B ] sys-libs/ss (is blocking sys-libs/e2fsprogs-libs-1.41.2)
[blocks B ] <sys-fs/e2fsprogs-1.41 (is blocking sys-libs/e2fsprogs-libs-1.41 .2)
[blocks B ] sys-libs/com_err (is blocking sys-libs/e2fsprogs-libs-1.41.2)


but i am not sure how to fix this and which method i schould use? unmerging ss and com_err are suggested to make wget not working anymore. but why? on gentoo-portage.com i cannot find any dependency between wget and com_err/ss...
will this issue be fixed in further portage updates? if so, i can safely wait a few days for a clean portage tree...

snIP3r
_________________
Intel G3220 on ASUS P9D-X
Gentoo Base System 2.2
Kernel 3.12.20-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1301

PostPosted: Tue Oct 28, 2008 2:17 pm    Post subject: Reply with quote

Code:
emerge -f e2fsprogs e2fsprogs-libs && emerge -C com_err ss && emerge e2fsprogs e2fsprogs-libs

_________________
- Failure is not an option. It's bundled with your software.
Back to top
View user's profile Send private message
snIP3r
l33t
l33t


Joined: 21 May 2004
Posts: 784
Location: germany

PostPosted: Tue Oct 28, 2008 2:29 pm    Post subject: Reply with quote

Dan wrote:
Code:
emerge -f e2fsprogs e2fsprogs-libs && emerge -C com_err ss && emerge e2fsprogs e2fsprogs-libs


hi dan!

thx for the very fast answer. but i had to unmerge e2fsprogs too to get the last emerge work. but if i then try a emerge -uavDN world i get this:
Code:

[blocks B     ] sys-libs/ss (is blocking sys-libs/e2fsprogs-libs-1.41.2)
[blocks B     ] sys-libs/com_err (is blocking sys-libs/e2fsprogs-libs-1.41.2)
[blocks B     ] sys-libs/e2fsprogs-libs (is blocking sys-libs/ss-1.40.9, sys-libs/com_err-1.40.9)


even if ss and com_err are not installed anymore on the system but portage wants them to be installed again...

EDIT: the good thing is that wget is running so i can install packages...

snIP3r
_________________
Intel G3220 on ASUS P9D-X
Gentoo Base System 2.2
Kernel 3.12.20-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1496
Location: Oxfordshire, UK

PostPosted: Tue Oct 28, 2008 2:37 pm    Post subject: Reply with quote

sounds like you have app-crypt/mit-krb5 installed.
The stable versions of that will pull them back in.

you need to unmask the latest that doesn't do that:

Code:
echo "<=app-crypt/mit-krb5-1.6.3-r2" >> /etc/portage/package.keywords


and try again.
Back to top
View user's profile Send private message
snIP3r
l33t
l33t


Joined: 21 May 2004
Posts: 784
Location: germany

PostPosted: Tue Oct 28, 2008 2:43 pm    Post subject: Reply with quote

richard.scott wrote:
sounds like you have app-crypt/mit-krb5 installed.
The stable versions of that will pull them back in.

you need to unmask the latest that doesn't do that:

Code:
echo "<=app-crypt/mit-krb5-1.6.3-r2" >> /etc/portage/package.keywords


and try again.


oh, i first thought i havent installed it but it is.
but now: perfect. that works! :D
actually on two of my machines....

thx
snIP3r
_________________
Intel G3220 on ASUS P9D-X
Gentoo Base System 2.2
Kernel 3.12.20-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Back to top
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Tue Oct 28, 2008 3:41 pm    Post subject: Reply with quote

I need help, now...
Code:
 # emerge -f e2fsprogs e2fsprogs-libs
sudo: error while loading shared libraries: libcom_err.so.2: cannot open shared object file: No such file or directory


This started when I tried to unmerge the blocker:
Code:
 emerge -aC e2fsprogs


Now my related libraries are a terrible mess! :(

What to do???????
_________________
"Primum non nocere" ---Galen
Back to top
View user's profile Send private message
gerard82
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2228
Location: Netherlands

PostPosted: Tue Oct 28, 2008 3:51 pm    Post subject: Reply with quote

Sorry for not answering sooner,was browsing OTW.
I don't quite recall what I unmerged but in the end
I followed richardscott's "recipe" and it all worked again.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
oliver
Apprentice
Apprentice


Joined: 25 Jun 2003
Posts: 170

PostPosted: Tue Oct 28, 2008 3:58 pm    Post subject: Reply with quote

cgmd wrote:

What to do???????


Not sure where the sudo comes in, but the 'emerge -f' should come before the 'emerge -C'

You can get the missing com_err files from http://tinderbox.dev.gentoo.org/default-linux/ and untar it or follow the boot from cd advice earlier in this thread
_________________
I can't help quoting you. 'Cos everything that you said rings true.
Back to top
View user's profile Send private message
Aurisor
Guru
Guru


Joined: 20 Sep 2003
Posts: 361
Location: Boston MA

PostPosted: Tue Oct 28, 2008 4:12 pm    Post subject: Reply with quote

Worked for me, thanks!
Back to top
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Tue Oct 28, 2008 4:14 pm    Post subject: Reply with quote

oliver wrote:
cgmd wrote:

What to do???????


Not sure where the sudo comes in, but the 'emerge -f' should come before the 'emerge -C'

You can get the missing com_err files from http://tinderbox.dev.gentoo.org/default-linux/ and untar it or follow the boot from cd advice earlier in this thread


I would like to untar the com_err files rather than the cd boot. My system is x66...

Starting with http://tinderbox.dev.gentoo.org/default-linux/ , what file must I then look for?

Thanks!
_________________
"Primum non nocere" ---Galen
Back to top
View user's profile Send private message
mindful
n00b
n00b


Joined: 14 Aug 2007
Posts: 13

PostPosted: Tue Oct 28, 2008 4:15 pm    Post subject: Reply with quote

After monkeying with this for an hour I came up with the following.

1. echo "=app-crypt/mit-krb5-1.6.3-r4" >> /etc/portage/package.keywords (keyword app-crypt/mit-krb5-1.6.3-r4 because all previous versions pull in sys-libs/ss and sys-libs/com_err)

2. emerge -f sys-libs/e2fsprogs-libs (manually download sys-libs/e2fsprogs-libs since wget will not function properly after you have removed sys-libs/com_err)

3. emerge -Cav sys-libs/ss sys-libs/com_err sys-libs/e2fsprogs (remove conflicting libraries)

4. emerge -av sys-libs/e2fsprogs-libs sys-libs/e2fsprogs (rebuild all that seemed broken) :)
_________________
The world owes us nothing but a grave...
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 2524

PostPosted: Tue Oct 28, 2008 4:24 pm    Post subject: Reply with quote

I had no trouble with this, this morning
Code:
emerge -atuvDN world ( shows blockers )
qpkg com_err ss e2fsprogs
emerge -C com_err ss e2fsprogs
emerge -atuvDN world

All went just fine. I didn't have to force the install of e2fsprogs-libs, and the emerge that brought everything back to snuff had no problems. Now I'm not sure why. I'd seen this buzzing around, about a month ago, so knew there might be some problems. But for some reason, I didn't bother searching here first. I guess I was lucky, and will be more careful before upgrading my home systems.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
oliver
Apprentice
Apprentice


Joined: 25 Jun 2003
Posts: 170

PostPosted: Tue Oct 28, 2008 4:27 pm    Post subject: Reply with quote

cgmd wrote:

I would like to untar the com_err files rather than the cd boot. My system is x66...

Starting with http://tinderbox.dev.gentoo.org/default-linux/ , what file must I then look for?



Follow the link for your architecture (probably x86?) then go to sys-libs and you'll see com_err in there

stick the file in your / and run

tar xjpvf /com_err*

you might get a warning... I think you can ignore it
_________________
I can't help quoting you. 'Cos everything that you said rings true.
Back to top
View user's profile Send private message
ianw1974
Guru
Guru


Joined: 18 Oct 2006
Posts: 377
Location: UK and Poland

PostPosted: Tue Oct 28, 2008 4:58 pm    Post subject: Reply with quote

I did this without having to edit package.keywords for mit-krb5.

Of course, an emerge -uDN world now shows that ss and com_err are wanting to be installed, but cannot because of e2fsprogs!

Code:
These are the packages that would be merged, in order:

Calculating world dependencies... done!
[ebuild  N    ] sys-libs/com_err-1.40.9  USE="nls" 0 kB
[ebuild  N    ] sys-libs/ss-1.40.9  USE="nls" 0 kB
[blocks B     ] sys-libs/ss (is blocking sys-libs/e2fsprogs-libs-1.41.2)
[blocks B     ] sys-libs/com_err (is blocking sys-libs/e2fsprogs-libs-1.41.2)
[blocks B     ] sys-libs/e2fsprogs-libs (is blocking sys-libs/ss-1.40.9, sys-libs/com_err-1.40.9)


Code:
[ Searching for package 'mit-krb5' in all categories among: ]
 * installed packages
[I--] [  ] app-crypt/mit-krb5-1.6.3-r1 (0)


so is it safe to remove mit-krb5 and just not have it at all?
_________________
Ian Walker

Light travels faster than sound. This is why some people appear bright until you hear them speak.........


Last edited by ianw1974 on Tue Oct 28, 2008 5:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1496
Location: Oxfordshire, UK

PostPosted: Tue Oct 28, 2008 5:02 pm    Post subject: Reply with quote

if you upgrade your app-crypt/mit-krb5 to 1.6.3-r2 you won't be asked to re-install ss or com_err as it knows to use e2fsprogs
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
Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 1 of 9

 
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