Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Apt-get error involving e2fslibs / e2fsprogs

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
Tekneek
Posts: 1
Joined: 2005-05-02 00:46

Apt-get error involving e2fslibs / e2fsprogs

#1 Post by Tekneek »

I am not sure what happened to bring this about, but now I cannot use apt-get to update anything. There is a version conflict with a package... Here is what I can get out of apt-get:

Code: Select all

$ sudo apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  e2fsprogs: PreDepends: e2fslibs (= 1.37-2sarge1) but 1.38-2 is installed
E: Unmet dependencies. Try using -f.

$ sudo apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  e2fsprogs
Suggested packages:
  gpart parted e2fsck-static
The following packages will be upgraded:
  e2fsprogs
1 upgraded, 0 newly installed, 0 to remove and 68 not upgraded.
1 not fully installed or removed.
Need to get 0B/526kB of archives.
After unpacking 49.2kB of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up e2fslibs (1.38-2) ...
/var/lib/dpkg/info/e2fslibs.postinst: line 6:  7793 Illegal instruction     ldconfig
dpkg: error processing e2fslibs (--configure):
 subprocess post-installation script returned error exit status 132
Errors were encountered while processing:
 e2fslibs
E: Sub-process /usr/bin/dpkg returned an error code (1)

$ sudo dpkg --configure e2fslibs
Setting up e2fslibs (1.38-2) ...
/var/lib/dpkg/info/e2fslibs.postinst: line 6:  7798 Illegal instruction     ldconfig
dpkg: error processing e2fslibs (--configure):
 subprocess post-installation script returned error exit status 132
Errors were encountered while processing:
 e2fslibs
Any ideas on a fix for this?

Zimpee

The Same

#2 Post by Zimpee »

Hello!!!
I have the same problem, it offers to remove e2fsprogs, so i can install the others. well, when i did it, i couldn't restart, boot or anything.

Ideas???

Thanks: zimpee

calbasi
Posts: 5
Joined: 2005-10-03 13:33
Location: Barcelona (Catalonia)

#3 Post by calbasi »

I had it a week ago (when I upgrade X.org, etc.). I must to delete this package (forced) and then all is all right. You could delete it from the console (with forced options) and then reinstall it...

Regards and good luck

EarthBound

e2fsprogs

#4 Post by EarthBound »

Here is the fix for your problem.............

open a console and type

apt-get -u -o APT::Force-LoopBreak=1

Shold cure your e2fsprogs problem.
Glenn

gauri

command not working

#5 Post by gauri »

Hi All,

I am new user of Debian. For me the same problem with e2fsprog. So i tried
apt-get -u -o APT::Force-LoopBreak=1

but for me the command itself it not working. It is telling the full list of the usge of this command

Thanks & Regards
Gauri Agrawal

gauri

#6 Post by gauri »

I checked i dont have apt.conf file...is the error because of that..

geoffb
Posts: 122
Joined: 2005-10-19 18:09
Location: Calgary, AB

#7 Post by geoffb »

gauri wrote:I checked i dont have apt.conf file...is the error because of that..
I don't have an apt.conf file, and apt works fine for me.

$ ls /etc/apt/
$ cat /etc/apt/sources.list
$ whereis apt-get

What do you get?

Guest

#8 Post by Guest »

geoffb wrote:
gauri wrote:I checked i dont have apt.conf file...is the error because of that..
I don't have an apt.conf file, and apt works fine for me.

$ ls /etc/apt/
$ cat /etc/apt/sources.list
$ whereis apt-get

What do you get?
source.list is as


#deb file:://cdrom /sarge main
deb cdrom:[Debian GNU/Linux testing-Sarge - Official Snapshot i386 Binary -1(20041121]) unstable main

deb http://security.debian.org//testing/ upgrading main contrib
deb http://http.iitm.ac.in/Debian testing main

geoffb
Posts: 122
Joined: 2005-10-19 18:09
Location: Calgary, AB

#9 Post by geoffb »

Anonymous wrote:
geoffb wrote:
gauri wrote:I checked i dont have apt.conf file...is the error because of that..
I don't have an apt.conf file, and apt works fine for me.

$ ls /etc/apt/
$ cat /etc/apt/sources.list
$ whereis apt-get

What do you get?
source.list is as


#deb file:://cdrom /sarge main
deb cdrom:[Debian GNU/Linux testing-Sarge - Official Snapshot i386 Binary -1(20041121]) unstable main

deb http://security.debian.org//testing/ upgrading main contrib
deb http://http.iitm.ac.in/Debian testing main
Try commenting out all of those lines (put a # in front of them) or make a backup of sources.list, and then add this:

Code: Select all

deb http://security.debian.org/ testing/updates main

deb http://ftp.debian.org/debian/ etch main contrib non-free
deb-src http://ftp.debian.org/debian/ etch main contrib non-free
Read this document before committing to these changes (i.e. you might not want non-free software), then save sources.list.

Run apt-get update. Hopefully, that occurs without problems.

Now try apt-get again.

Guest

#10 Post by Guest »

Thanks for the prompt reply and i have done what you sugessted but still the command is not working.

Thanks & Regards
Gauri Agrawal
geoffb wrote:
Anonymous wrote:
geoffb wrote:
I don't have an apt.conf file, and apt works fine for me.

$ ls /etc/apt/
$ cat /etc/apt/sources.list
$ whereis apt-get

What do you get?
source.list is as


#deb file:://cdrom /sarge main
deb cdrom:[Debian GNU/Linux testing-Sarge - Official Snapshot i386 Binary -1(20041121]) unstable main

deb http://security.debian.org//testing/ upgrading main contrib
deb http://http.iitm.ac.in/Debian testing main
Try commenting out all of those lines (put a # in front of them) or make a backup of sources.list, and then add this:

Code: Select all

deb http://security.debian.org/ testing/updates main

deb http://ftp.debian.org/debian/ etch main contrib non-free
deb-src http://ftp.debian.org/debian/ etch main contrib non-free
Read this document before committing to these changes (i.e. you might not want non-free software), then save sources.list.

Run apt-get update. Hopefully, that occurs without problems.

Now try apt-get again.

Guest

#11 Post by Guest »

Hi,

I tried this also
apt-get -f install
dpkg --force-overwrite /var/cache/apt/archives/e2fsprogs.*.deb

but it is giving unknow option overwrite...so i feel it is not recognizing the options. should i reinstall debian or apt-get....

Plz help me out.

Thanks & Regards
Gauri Agrawal

Jeroen
Debian Developer, Site Admin
Debian Developer, Site Admin
Posts: 483
Joined: 2004-04-06 18:19
Location: Utrecht, NL
Contact:

#12 Post by Jeroen »

You're running testing -- probably because you installed sarge at the time it wasn't released yet -- are you sure you want that? Testing is in flux and can break once in a while, stable (sarge) is must safer...

Jeroen
Debian Developer, Site Admin
Debian Developer, Site Admin
Posts: 483
Joined: 2004-04-06 18:19
Location: Utrecht, NL
Contact:

#13 Post by Jeroen »

Anyway, reinstalling won't really help, for dpkg you didn't give the right option, you were missing a -i or --install. Also the apt-get command was bogus, it didn't list a command for apt to run.

Anyway, the illegal instruction thingy is weird, and shows some serious error somewhere. Try running:

ldconfig

and if that works, try again apt-get -f install. If it doesn't work, try as root first 'echo > /var/lib/dpkg/info/e2fslibs.postinst', and try again apt-get -f install. That should work.

Post Reply