Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I cannot upgrade or install any software. Problem started few weeks ago, when I tried to upgrade from 12.04 to 12.10 alpha.

I was getting an error parsing file /var/lib/dpkg/status. But with my editor, I found the package that was giving me the parsing error, and removed all the the lines that has anything to do with it. I did the trick for several package and now there is not more parsing error.

Now, I got this

Internal Error, No file name for libattr1

Below is the command and the error:

sudo dpkg --configure -a

dpkg: error processing libattr1:amd64 (--configure): package libattr1:amd64 1:2.4.46-8ubuntu1 cannot be configured because libattr1:i386 is at a different version (1:2.4.46-5ubuntu1) dpkg: error processing libattr1:i386 (--configure): package libattr1:i386 1:2.4.46-5ubuntu1 cannot be configured because libattr1:amd64 is at a different version (1:2.4.46-8ubuntu1) Errors were encountered while processing: libattr1:amd64 libattr1:i386

I have been stuck for several weeks. Please help me to solve this libattr1 configuration problem.
Thanks

share|improve this question
    
Have you tried a sudo apt-get install -f? –  NorTicUs Oct 24 '12 at 8:18
    
yes, I tried: sudo apt-get install -f and I got the following: Internal Error, No file name for libattr1 –  Horacio Galan Oct 24 '12 at 8:39
    
dupe askubuntu.com/questions/167688/… –  bain May 7 at 9:42

1 Answer 1

It looks like there is a mix between amd64 and i386

the problem is this file libattr1:

Because of this file, no command: upgrade, install or broken package don't work.

Please see the two commands bellow, one for the file and the other for dependency problems.

dpkg -l|grep libattr1

iU libattr1:amd64 1:2.4.46-8ubuntu1 amd64 Extended attribute shared library

iF libattr1:i386 1:2.4.46-5ubuntu1 i386 Extended attribute shared library

sudo dpkg --configure -a

dependency problems - leaving unconfigured

Errors were encountered while processing:

libsane:amd64

libsane:i386

glib-networking:amd64

glib-networking:i386

libattr1:amd64

libattr1:i386

gvfs-libs:amd64

gvfs-libs:i386

libacl1:amd64

libacl1:i386

gvfs:amd64

gvfs:i386

udisks2

gvfs-daemons

gvfs-fuse

libglib2.0-0:amd64

libglib2.0-0:i386

gvfs-bin

gvfs-backends

libudisks2-0:amd64

libsecret-1-0

glib-networking-services

libglib2.0-bin

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.