Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
e2fsprogs update alert/warning <heads up!>
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Sun Aug 17, 2008 6:35 pm    Post subject: e2fsprogs update alert/warning <heads up!> Reply with quote

Just a general heads-up. For ~arch users who have yet to sync your tree today ( 8-17-08 ) and update. There's a nice bomb waiting for you.

The first thing you will note is that the update comes up blocking things. In order to fix this, you need to emerge -C e2fsprogs before you install the e2fsprogs update. That will eliminate the blockage.

Unfortunately, if you are using NFS to access your distfiles, AND you're running wireless networking as well, NFS breaks, as does the wireless network...at least it did on Gen-tosh.

So, when that one comes through, it's best if you're using the wired network. If NFS becomes a problem, you may have serious problems if your portage tree is shared. If only your distfiles are shared (as in my case), you will have to temporarily remove the symlink to your nfs distfiles, and generate a /usr/portage/distfiles directory and emerge the new e2fsprogs and it's libs from fresh distfiles.

Once you reboot after the update, things will return to normal. If you do the update and it fails for the reasons above, get out your trusty install disk, chroot, and emerge e2fsprogs that way. I say this because if you reboot, things will break on a massive scale, as in no boot! It can be fixed rather easily in a chroot, but that initial shock is a real buzz kill!

As long as you take precautions, and are running wired, you should be able to get through it without too much problem. However, if it fails, you're in for some temporary hell.

Good luck.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Sun Aug 17, 2008 7:21 pm    Post subject: Reply with quote

No problems with wireless (ndiswrapper) here.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
drinian
Tux's lil' helper
Tux's lil' helper


Joined: 01 Feb 2004
Posts: 81
Location: Maryland

PostPosted: Sun Aug 17, 2008 7:29 pm    Post subject: Reply with quote

Am I seeing this because my Portage tree is only halfway up to date, and an rsync later today or tomorrow will fix things?

Code:

~ # emerge e2fsprogs
Calculating dependencies... done!
[ebuild  N    ] sys-libs/e2fsprogs-libs-1.41.0  USE="nls"
[ebuild  N    ] sys-fs/e2fsprogs-1.41.0  USE="nls"
[blocks B     ] sys-libs/ss (is blocking sys-libs/e2fsprogs-libs-1.41.0)
[blocks B     ] sys-libs/com_err (is blocking sys-libs/e2fsprogs-libs-1.41.0)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

Back to top
View user's profile Send private message
ok
Guru
Guru


Joined: 11 Jul 2006
Posts: 390
Location: germany

PostPosted: Sun Aug 17, 2008 7:40 pm    Post subject: Reply with quote

not the only problem: https://bugs.gentoo.org/show_bug.cgi?id=234907
Back to top
View user's profile Send private message
drinian
Tux's lil' helper
Tux's lil' helper


Joined: 01 Feb 2004
Posts: 81
Location: Maryland

PostPosted: Mon Aug 18, 2008 12:11 am    Post subject: Reply with quote

Good tip, and I was able to successfully move forward using this post in the bug report:

https://bugs.gentoo.org/show_bug.cgi?id=234907#c7
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 975
Location: The Village, Portmeirion

PostPosted: Mon Aug 18, 2008 12:29 am    Post subject: Reply with quote

Edit: Things will probably break if you do this!
It's a bit safer if you don't unmerge e2fsprogs and just unmerge ss and com_err first, then update e2fsprogs. From the bug report:
Code:
[ebuild  N    ] sys-libs/e2fsprogs-libs-1.41.0  USE="nls" 476 kB
[ebuild     U ] sys-fs/e2fsprogs-1.41.0 [1.40.11] USE="nls -static" 4,161 kB
[blocks B     ] <sys-fs/e2fsprogs-1.41 (is blocking
sys-libs/e2fsprogs-libs-1.41.0)
[blocks B     ] sys-libs/ss (is blocking sys-libs/e2fsprogs-libs-1.41.0)
[blocks B     ] sys-libs/com_err (is blocking sys-libs/e2fsprogs-libs-1.41.0)


Notice there is no version information about what versions of ss and com_err are blocking. it's just ss and com_err are blocking. They will need to be removed. But with e2fsprogs it is a lower installed version that is blocking. "<sys-fs/e2fsprogs-1.41 (is blocking" This can be updated without removing it first.


Last edited by skellr on Tue Sep 02, 2008 2:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Mon Aug 18, 2008 5:57 am    Post subject: Reply with quote

yngwin wrote:
No problems with wireless (ndiswrapper) here.
Not so here. It shut down dead. No contact with the other machines on the LAN, no internet, nothing! If the net had stayed up, I probably wouldn't have had to break out the boot CD. But The net did die, and so did Gen_tosh...temporarily

Oh, don't think for one minute that removing com_err and ss won't hurt things. That is what I did prior to nfs then the network dying. If com_err and ss are gone, so is e2fsprogs, and so is mount, umount, and a few other REALLY important programs. I found things worked best when the old e2fsprogs is unmerged, and the new version emerged. I did that on the two machines that had successful transitions.

Blessed be!
Pappy

EDIT: It's nice to have one system that takes the big hits for the team. Too bad it's so slow when those hits result in breakage. :roll:
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Elbar Thera
n00b
n00b


Joined: 15 May 2008
Posts: 60

PostPosted: Mon Aug 18, 2008 8:20 am    Post subject: Reply with quote

Well i have run into this e2fsprogs trap too, but it seems like that i did it in a much stylisher :wink: way. I dont have any use for kerberos on my one computer system, so i thought i shall get rid of kerberos alltogether. Disabling the kerberos use flag and pruning mit-krb5 from the computer, then re-emerging all packages that rely on the flag and here we go....At least that was the plan :P

Unfortunatly i found a SINGLE package that relies on kerberos and that is MEDIA-VIDEO/TOTEM.... :evil: what the hell does totem need kerberos for? (btw i might add that gnome-base/gnome-2.22.3 depends on totem )

This means that gnome cant be installed without kerberos? :?:

Funny things seems to be happening lately...
Elbar

PS: e2fsprogs-1.41.0 and comrads are from now on masked on my system....
Back to top
View user's profile Send private message
Bloodsurfer
Guru
Guru


Joined: 07 Dec 2005
Posts: 361
Location: Wolfstein, Germany (Rhineland-Palatinate)

PostPosted: Mon Aug 18, 2008 9:41 am    Post subject: Reply with quote

There was already a thread about this: https://forums.gentoo.org/viewtopic-t-704413.html

It should be pinned, many people will run into trouble with this.
_________________
SiberianSniper: my girlfriend's name ends with .c
Clete2: Uber geek! W00t! I'd rather have it end in .cpp... <insert name>.cpp
Dralnu: ...why not <name>.o? Then she's ready for linking...
SiberianSniper: or <name>.ko, so she's ready for insertion?
Back to top
View user's profile Send private message
zsitvaij
n00b
n00b


Joined: 11 Jan 2006
Posts: 74

PostPosted: Mon Aug 18, 2008 9:42 am    Post subject: Reply with quote

AFAIK the recommended way to deal with blockers like this is to install the new packages before unmerging the old ones.

For portage: emerge --oneshot --nodeps sys-libs/e2fsprogs-libs sys-fs/e2fsprogs && emerge -C sys-libs/com_err sys-libs/ss

For paludis: paludis -1i sys-fs/e2fsprogs --dl-upgrade as-needed --dl-blocks discard && paludis -u --permit-unsafe-uninstalls sys-libs/com_err sys-libs/ss

This is because the system remains working throughout the upgrade, and since the new packages are now the owners of the needed files, the unmerge only gets rid of the files the old packages exclusively own.
Back to top
View user's profile Send private message
square_
Tux's lil' helper
Tux's lil' helper


Joined: 20 Dec 2007
Posts: 114

PostPosted: Mon Aug 18, 2008 9:55 am    Post subject: e2fsprogs-libs wants ss and com_err unmerged Reply with quote

im using portage-2.2-rc8

Code:
[uninstall    ] sys-libs/com_err-1.40.11  USE="nls"
[blocks b     ] sys-libs/com_err (is blocking sys-libs/e2fsprogs-libs-1.41.0)
[uninstall    ] sys-libs/ss-1.40.11  USE="nls"
[blocks b     ] sys-libs/ss (is blocking sys-libs/e2fsprogs-libs-1.41.0)

i can not imagine that this is safe.
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5934

PostPosted: Mon Aug 18, 2008 10:02 am    Post subject: Reply with quote

merged one post.
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
kiboko
n00b
n00b


Joined: 29 May 2003
Posts: 59

PostPosted: Mon Aug 18, 2008 5:15 pm    Post subject: Reply with quote

zsitvaij wrote:
AFAIK the recommended way to deal with blockers like this is to install the new packages before unmerging the old ones.

For portage: emerge --oneshot --nodeps sys-libs/e2fsprogs-libs sys-fs/e2fsprogs && emerge -C sys-libs/com_err sys-libs/ss

For paludis: paludis -1i sys-fs/e2fsprogs --dl-upgrade as-needed --dl-blocks discard && paludis -u --permit-unsafe-uninstalls sys-libs/com_err sys-libs/ss

This is because the system remains working throughout the upgrade, and since the new packages are now the owners of the needed files, the unmerge only gets rid of the files the old packages exclusively own.


I gave the portage receipe a shot in a ~x86 box and it appears to have worked fine. The only side effect was a large @preserved-rebuild list which ended up re-installing sys-libs/e2fsprogs-libs, sys-fs/e2fsprogs and other programs.

I guess this is a good thing.

Will repeat on other ~x86 and ~amd64 boxes.
Back to top
View user's profile Send private message
cst
Apprentice
Apprentice


Joined: 24 Feb 2008
Posts: 203
Location: /proc

PostPosted: Mon Aug 18, 2008 5:30 pm    Post subject: Reply with quote

zsitvaij wrote:
AFAIK the recommended way to deal with blockers like this is to install the new packages before unmerging the old ones.

For portage: emerge --oneshot --nodeps sys-libs/e2fsprogs-libs sys-fs/e2fsprogs && emerge -C sys-libs/com_err sys-libs/ss

For paludis: paludis -1i sys-fs/e2fsprogs --dl-upgrade as-needed --dl-blocks discard && paludis -u --permit-unsafe-uninstalls sys-libs/com_err sys-libs/ss

This is because the system remains working throughout the upgrade, and since the new packages are now the owners of the needed files, the unmerge only gets rid of the files the old packages exclusively own.

Did this and it broke my system, the @preserved packages failed to emerge, e2fsprogs didnt want to re-emerge, and I ended up in chroot, masked the new e2fsprogs, emerged old one + com_err +ss, and did the things according to the 1st post and now I am ok.
_________________
i7 3930K @ 4GHz
MSI X79A-GD45 (8D)
32GB 1600 MHz DDR3 Samsung
Samsung 840 PRO, 2xSamsung HD502HJ in RAID 1
MSI GTX 980Ti
latest gentoo-sources on x86_64 Fluxbox (amd64)

best render farm: www.GarageFarm.NET
Back to top
View user's profile Send private message
arnvidr
l33t
l33t


Joined: 19 Aug 2004
Posts: 629
Location: Oslo, Norway

PostPosted: Mon Aug 18, 2008 5:44 pm    Post subject: Reply with quote

Portage should resolve the blockers automatically now, as detailed on the bug. At least it did for me, when I synced and updated about 5 hours ago.
_________________
Noone wrote:
anything
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Tue Aug 19, 2008 12:41 am    Post subject: Reply with quote

Me too :)

I saw those 3 blockers when I did --pretend , but portage was able to resolve those blockers on its own (portage-2.2_rc8)
Back to top
View user's profile Send private message
weisso5
Apprentice
Apprentice


Joined: 07 Dec 2007
Posts: 268
Location: NYC

PostPosted: Tue Aug 19, 2008 3:19 pm    Post subject: Reply with quote

drinian wrote:
Good tip, and I was able to successfully move forward using this post in the bug report:

https://bugs.gentoo.org/show_bug.cgi?id=234907#c7


This seems to be the best workaround, and also the tracker for the main issue here. Thread should at least have[workaround], well at least that's my vote.


-weisso
Back to top
View user's profile Send private message
arnvidr
l33t
l33t


Joined: 19 Aug 2004
Posts: 629
Location: Oslo, Norway

PostPosted: Tue Aug 19, 2008 6:43 pm    Post subject: Reply with quote

Thread should have [solved] if anything, since portage now resolves this blocker automatically.
_________________
Noone wrote:
anything
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Tue Aug 19, 2008 7:33 pm    Post subject: Reply with quote

I am going to leave the title as is. It's meant to be a heads up...so it's a heads up. It is an issue that if improperly done can damage systems.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
steffl
n00b
n00b


Joined: 19 Aug 2008
Posts: 4

PostPosted: Tue Aug 19, 2008 7:50 pm    Post subject: Reply with quote

pappy_mcfae wrote:

[...] It's meant to be a heads up...so it's a heads up. It is an issue that if improperly done can damage systems.

For example my system got broke already.
After it's already not starting anymore, I tried my luck with a Boot-CD and chroot. I finally got the fix from the bug report, but now emerge won't work properly anymore.
Packages stop installing because "touch" doesn't work properly. It sayst that touch can't create the timestamp for the .package file in the folder of the installing package (or s.th. likely). So now I am unable to repair my system. How nice! :-/
That was the last time I uninstalled a system package just because of a blocker!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Aug 19, 2008 7:55 pm    Post subject: Reply with quote

steffl,

Welcome to Gentoo.

touch needs /proc to be mounted. You can get into the chroot without doing that step
Outside the chroot do
Code:
mount -t proc /proc /mnt/gentoo/proc

_________________
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
steffl
n00b
n00b


Joined: 19 Aug 2008
Posts: 4

PostPosted: Tue Aug 19, 2008 8:00 pm    Post subject: Reply with quote

OK. I totally missed that step. It seems chrooting is not my daily business... ;-)
Thanks for such a fast answer to fix my problem!
Back to top
View user's profile Send private message
steffl
n00b
n00b


Joined: 19 Aug 2008
Posts: 4

PostPosted: Tue Aug 19, 2008 8:25 pm    Post subject: Reply with quote

Hm. Unfortunately that was not the cause of my problem! Even after following all necessary steps for chrooting (even looking up the gentoo docs ) touch still brings that error while producing files:
Code:
touch: setting times of `test': Function not implemented


Hmm....

P.S. Could this also be, because my system lacks the installed e2fsprogs at the moment? It seems that package provides a lot of important functions though.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Aug 19, 2008 9:00 pm    Post subject: Reply with quote

steffl,

Cheat ... download the binpackage for your arch from tinderbox.dev.gentoo.org and put it in your gentoo root.
Untar it there just like it was a stage3, tar xpjf .... and ignore the warning about extra garbage at end ignored.

You can fix all sorts of messes this way ... missing gcc, removed glibc ....

As soon as you can, emerge the package(s) you downloaded as they are not likely to be made with your CFLAGS or your USE flags.
_________________
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
herbert12345
n00b
n00b


Joined: 04 Sep 2007
Posts: 58

PostPosted: Wed Aug 20, 2008 9:27 am    Post subject: Reply with quote

Just wanted to report what happened here. Synced today but portage couldn't resolve the blockers for me. I did the emerge --oneshot --nodeps e2fsprogs-libs e2fsprogs && emerge -C ss com_err thing and emerge @preserved-rebuild failed on every package. Then I did emerge --oneshot e2fsprogs-libs e2fsprogs and currently it appears as if emerge @preserved-rebuild will finish.
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  Next
Page 1 of 5

 
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