LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   libblkid1 dependency problem! In squeeze (https://www.linuxquestions.org/questions/debian-26/libblkid1-dependency-problem-in-squeeze-810951/)

antoniusEde 05-29-2010 12:39 PM

libblkid1 dependency problem! In squeeze
 
Is it just me?
Code:

sudo mkfs.ext3
mkfs.ext3: /lib/libblkid.so.1: version `BLKID_2.17' not found (required by mkfs.ext3)

It says it requires version 2.17, but the one in the repository is libblkid1 (2.16.2-0) as seen on http://packages.debian.org/squeeze/libblkid1

I guess almost no one else is getting this as it isnt fixed! And it is such an important program (mkfs.ext*)

Should i install the one from sid's repository? If this is such a huge bug as it seemes to be, why hasnt it been fixd for more than a day (after an "aptitude upgrade", then i noticed this). Aptitude says everything is up to date...

knudfl 05-30-2010 05:39 AM

1 Attachment(s)
Debian Sid uses libc6-11.1
libblkid1 2.17.2-2 http://packages.debian.org/sid/libblkid1
.. But the dependencies says : libc6 (>= 2.4)
.. so I guess, you can use it.
→ → "Download libblkid1", and click <arch> to download the package.


Building a new libblkid.so.1 : see attachment.

devdol 06-09-2010 11:12 AM

You will run in similar trouble if you try to install from current "debian weekly build" (2010-06-07 at the very moment).

The installer refuses to format any partition. If you enter a shell and execute "cat /var/log/syslog", you will find:

...: /lib/libblkid.so.1: version `BLKID_2.17' not found (required by mkfs.ext3)

A solution would be to update package "libblkid1" from /unstable.
Unfortunately, the installer's environment neither has apt-get nor dpkg on board. But this is a short way to bypass the problem:
* Download the appropiate libblkid1-udeb-package (unstable, your CPU architecture) from http://packages.debian.org/
* unpack it, unpack data.tar.gz too
* copy the resulting file 'libblkid.so.1.1.0' onto an USB stick
* attach it to the machine you are about to install
* From the installer's main menu, choose to open a shell
* replace the exiting link /lib/libblkid.so.1 with the new file:
mkdir /stick
mount /dev/sdXY /stick/
cp /stick/libblkid.so.1.1.0 /lib/libblkid.so.1
umount -l /stick/
exit

After this, you can directly continue with your installation at the partitioning stage.


All times are GMT -5. The time now is 05:30 AM.