Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Quick fix for e2fsprogs, com_err, and ss blockers

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
213 posts
  • Page 1 of 9
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 9
  • Next
Author
Message
richard.scott
Veteran
Veteran
Posts: 1497
Joined: Mon May 19, 2003 5:19 pm
Location: Oxfordshire, UK
Contact:
Contact richard.scott
Website

Quick fix for e2fsprogs, com_err, and ss blockers

  • Quote

Post by richard.scott » Tue Oct 28, 2008 12:25 pm

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: Select all

# 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 [bug=234907]the bug[/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.
Top
szczerb
Veteran
Veteran
Posts: 1709
Joined: Sat Feb 24, 2007 9:54 pm
Location: Poland => Lodz

  • Quote

Post by szczerb » Tue Oct 28, 2008 12:33 pm

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.
Top
richard.scott
Veteran
Veteran
Posts: 1497
Joined: Mon May 19, 2003 5:19 pm
Location: Oxfordshire, UK
Contact:
Contact richard.scott
Website

  • Quote

Post by richard.scott » Tue Oct 28, 2008 12:36 pm

oooh!, cool, thanks for the tip :D
I've edited the original post now.
Top
Rcomian
Apprentice
Apprentice
User avatar
Posts: 174
Joined: Sat Jan 10, 2004 11:20 pm
Location: Uk, Northwest

  • Quote

Post by Rcomian » Tue Oct 28, 2008 1:07 pm

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.
Top
gerard27
Advocate
Advocate
Posts: 2377
Joined: Sun Jan 04, 2004 3:30 pm
Location: Netherlands

  • Quote

Post by gerard27 » Tue Oct 28, 2008 1:09 pm

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
Top
Rcomian
Apprentice
Apprentice
User avatar
Posts: 174
Joined: Sat Jan 10, 2004 11:20 pm
Location: Uk, Northwest

  • Quote

Post by Rcomian » Tue Oct 28, 2008 1:16 pm

Gerard van Vuuren:

Could you add in exactly what other packages you had to unmerge to get this working? Might be helpful for others.
Top
Fenixoid
Apprentice
Apprentice
Posts: 154
Joined: Thu Dec 09, 2004 11:30 am
Location: Lithuania

  • Quote

Post by Fenixoid » Tue Oct 28, 2008 1:27 pm

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
Top
richard.scott
Veteran
Veteran
Posts: 1497
Joined: Mon May 19, 2003 5:19 pm
Location: Oxfordshire, UK
Contact:
Contact richard.scott
Website

  • Quote

Post by richard.scott » Tue Oct 28, 2008 1:31 pm

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.
Top
szczerb
Veteran
Veteran
Posts: 1709
Joined: Sat Feb 24, 2007 9:54 pm
Location: Poland => Lodz

  • Quote

Post by szczerb » Tue Oct 28, 2008 1:43 pm

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 :)
Top
oliver
Apprentice
Apprentice
User avatar
Posts: 170
Joined: Wed Jun 25, 2003 9:39 pm

  • Quote

Post by oliver » Tue Oct 28, 2008 1:53 pm

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.
Top
snIP3r
l33t
l33t
Posts: 866
Joined: Fri May 21, 2004 6:21 pm
Location: germany

  • Quote

Post by snIP3r » Tue Oct 28, 2008 2:10 pm

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
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 i3-4130T on ASUS P9D-X
Kernel 6.6.52-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Top
Dan
Veteran
Veteran
Posts: 1302
Joined: Tue Oct 25, 2005 3:04 pm

  • Quote

Post by Dan » Tue Oct 28, 2008 2:17 pm

Code: Select all

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.
Top
snIP3r
l33t
l33t
Posts: 866
Joined: Fri May 21, 2004 6:21 pm
Location: germany

  • Quote

Post by snIP3r » Tue Oct 28, 2008 2:29 pm

Dan wrote:

Code: Select all

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: Select all

[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 i3-4130T on ASUS P9D-X
Kernel 6.6.52-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Top
richard.scott
Veteran
Veteran
Posts: 1497
Joined: Mon May 19, 2003 5:19 pm
Location: Oxfordshire, UK
Contact:
Contact richard.scott
Website

  • Quote

Post by richard.scott » Tue Oct 28, 2008 2:37 pm

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: Select all

echo "<=app-crypt/mit-krb5-1.6.3-r2" >> /etc/portage/package.keywords
and try again.
Top
snIP3r
l33t
l33t
Posts: 866
Joined: Fri May 21, 2004 6:21 pm
Location: germany

  • Quote

Post by snIP3r » Tue Oct 28, 2008 2:43 pm

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: Select all

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 i3-4130T on ASUS P9D-X
Kernel 6.6.52-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Top
cgmd
Veteran
Veteran
User avatar
Posts: 1585
Joined: Thu Feb 17, 2005 6:58 pm
Location: Louisiana

  • Quote

Post by cgmd » Tue Oct 28, 2008 3:41 pm

I need help, now...

Code: Select all

 # 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: Select all

 emerge -aC e2fsprogs
Now my related libraries are a terrible mess! :(

What to do???????
"Primum non nocere" ---Galen
Top
gerard27
Advocate
Advocate
Posts: 2377
Joined: Sun Jan 04, 2004 3:30 pm
Location: Netherlands

  • Quote

Post by gerard27 » Tue Oct 28, 2008 3:51 pm

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
Top
oliver
Apprentice
Apprentice
User avatar
Posts: 170
Joined: Wed Jun 25, 2003 9:39 pm

  • Quote

Post by oliver » Tue Oct 28, 2008 3:58 pm

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.
Top
Aurisor
Guru
Guru
User avatar
Posts: 361
Joined: Sat Sep 20, 2003 7:52 am
Location: Boston MA
Contact:
Contact Aurisor
Website

  • Quote

Post by Aurisor » Tue Oct 28, 2008 4:12 pm

Worked for me, thanks!
Top
cgmd
Veteran
Veteran
User avatar
Posts: 1585
Joined: Thu Feb 17, 2005 6:58 pm
Location: Louisiana

  • Quote

Post by cgmd » Tue Oct 28, 2008 4:14 pm

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
Top
mindful
n00b
n00b
User avatar
Posts: 13
Joined: Tue Aug 14, 2007 3:04 pm

  • Quote

Post by mindful » Tue Oct 28, 2008 4:15 pm

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...
Top
depontius
Advocate
Advocate
Posts: 3533
Joined: Wed May 05, 2004 4:06 pm

  • Quote

Post by depontius » Tue Oct 28, 2008 4:24 pm

I had no trouble with this, this morning

Code: Select all

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
Top
oliver
Apprentice
Apprentice
User avatar
Posts: 170
Joined: Wed Jun 25, 2003 9:39 pm

  • Quote

Post by oliver » Tue Oct 28, 2008 4:27 pm

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.
Top
ianw1974
Guru
Guru
User avatar
Posts: 387
Joined: Wed Oct 18, 2006 12:25 pm
Location: UK and Poland
Contact:
Contact ianw1974
Website

  • Quote

Post by ianw1974 » Tue Oct 28, 2008 4:58 pm

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: Select all

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: Select all

[ 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?
Last edited by ianw1974 on Tue Oct 28, 2008 5:03 pm, edited 1 time in total.
Ian Walker

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

Linux Systems Limited | Masternode Monitoring
Top
richard.scott
Veteran
Veteran
Posts: 1497
Joined: Mon May 19, 2003 5:19 pm
Location: Oxfordshire, UK
Contact:
Contact richard.scott
Website

  • Quote

Post by richard.scott » Tue Oct 28, 2008 5:02 pm

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
Top
Post Reply

213 posts
  • Page 1 of 9
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 9
  • Next

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic