View previous topic :: View next topic |
Author |
Message |
j-mr n00b
Joined: 26 Sep 2006 Posts: 4
|
Posted: Tue Sep 26, 2006 8:14 pm Post subject: e2fsck: Error: ext2fs library version out of date! |
|
|
Hi!
I upgraded my fsck.ext2 (emerge -NDu world) to sys-fs/e2fsprogs-1.39 and now get this error when I run e2fsck (as root):
# e2fsck
Error: ext2fs library version out of date!
e2fsck 1.39 (29-May-2006)
Using EXT2FS Library version 1.38, 30-Jun-2005
As far as I can see, there isn't another package containing the library...
Can you tell me which packages may need an upgrade or how I can get rid of this error without downgrading (version 1.38-r1 works, but the next upgrade would install the broken version again...)?
I'm using AMD64.
thanks,
Jan-Martin |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Tue Sep 26, 2006 8:17 pm Post subject: |
|
|
You could try running revdep-rebuild and see if it fixes anything. In any case, it shouldn't hurt to run it. _________________
Bones McCracker wrote: | On the other hand, regex is popular with the ladies. |
|
|
Back to top |
|
|
j-mr n00b
Joined: 26 Sep 2006 Posts: 4
|
Posted: Wed Sep 27, 2006 6:35 am Post subject: |
|
|
revdep-rebuild didn't help (it only tried to rebuild openobex-apps, wireshark and micq...) |
|
Back to top |
|
|
wynn Advocate
Joined: 01 Apr 2005 Posts: 2421 Location: UK
|
Posted: Wed Sep 27, 2006 10:31 am Post subject: |
|
|
You can try running Code: | # ldd /sbin/e2fsck
linux-gate.so.1 => (0xffffe000)
libext2fs.so.2 => /lib/libext2fs.so.2 (0xb7f6c000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0xb7f69000)
libblkid.so.1 => /lib/libblkid.so.1 (0xb7f62000)
libuuid.so.1 => /lib/libuuid.so.1 (0xb7f5f000)
libc.so.6 => /lib/libc.so.6 (0xb7e47000)
/lib/ld-linux.so.2 (0xb7f90000) | and looking at /lib/libext2fs.so.2 Code: | lrwxrwxrwx 1 root root 16 Sep 9 15:38 /lib/libext2fs.so.2 -> libext2fs.so.2.4
-rwxr-xr-x 1 root root 99520 Sep 9 15:38 /lib/libext2fs.so.2.4 | and comparing the date with that of e2fsck.
If e2fsck is newer then that is the problem, try emerge'ng e2fsprogs again. _________________ The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details. |
|
Back to top |
|
|
j-mr n00b
Joined: 26 Sep 2006 Posts: 4
|
Posted: Wed Sep 27, 2006 3:51 pm Post subject: |
|
|
libext2fs.so.2.4 is older (2006-07-21) than e2fsck (2006-09-27)... emering again doesn't work (I tried just emerge e2fsprogs, emerge -C e2fsprogs&&emerge e2fsprogs and renaming the lib and emerge e2fsprogs (the symlink pointed to the renamed file)). |
|
Back to top |
|
|
wynn Advocate
Joined: 01 Apr 2005 Posts: 2421 Location: UK
|
Posted: Wed Sep 27, 2006 4:14 pm Post subject: |
|
|
Try this then Code: | ebuild /usr/portage/sys-fs/e2fsprogs/e2fsprogs-1.39.ebuild install | This will unpack, configure, compile and install a new copy of e2fsprogs in /var/tmp/portage/e2fsprogs-1.39/image/.
Code: | cd /var/tmp/portage/e2fsprogs-1.39/image
# ls -l lib/libext2fs.so*
lrwxrwxrwx 1 root root 14 Sep 27 17:05 lib/libext2fs.so -> libext2fs.so.2
lrwxrwxrwx 1 root root 16 Sep 27 17:05 lib/libext2fs.so.2 -> libext2fs.so.2.4
-rwxr-xr-x 1 root root 99520 Sep 27 17:05 lib/libext2fs.so.2.4 | You can then check the size of this new version with the old one in /lib/libext2fs.so.2.4 and replace it. As the name is the same, the symlinks won't need to be remade.
See if e2fsck is happy now. _________________ The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details. |
|
Back to top |
|
|
j-mr n00b
Joined: 26 Sep 2006 Posts: 4
|
Posted: Wed Sep 27, 2006 5:04 pm Post subject: |
|
|
thanks, now it doesn't complain anymore (though I had to delete the old lib and then copy the new one to /lib... shouldn't emerge have done this? Well, it works, so I won't complain...) |
|
Back to top |
|
|
wynn Advocate
Joined: 01 Apr 2005 Posts: 2421 Location: UK
|
Posted: Wed Sep 27, 2006 5:43 pm Post subject: |
|
|
Quote: | I had to delete the old lib and then copy the new one to /lib... shouldn't emerge have done this? | Yes, it should but rather than try and find out what configuration setting was making it fail, direct action (tm) seemed the quickest fix.
Would you like to add "Solved" to the Subject line of the first post in this thread? _________________ The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details. |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Wed Sep 27, 2006 5:54 pm Post subject: |
|
|
Also, don't forget to file a bug against the ebuild as it obviously has problems in certain situations. _________________
Bones McCracker wrote: | On the other hand, regex is popular with the ladies. |
|
|
Back to top |
|
|
|