LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Running apt-get to install i386 lib will complain about armel dependencies (https://www.linuxquestions.org/questions/debian-26/running-apt-get-to-install-i386-lib-will-complain-about-armel-dependencies-941849/)

cnxsoft 04-26-2012 08:23 AM

Running apt-get to install i386 lib will complain about armel dependencies
 
I'm running Debian 6 32-bit, and if I try to install anything, it will always complain about armel dependencies.

Quote:

sudo apt-get install librsvg2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libgnutls-dev-armel-cross : Depends: libgnutls26-armel-cross (= 2.8.6-1+squeeze1) but 2.8.6-1+squeeze2 is to be installed
libtasn1-3-dev-armel-cross : Depends: libtasn1-3-armel-cross (= 2.7-1) but 2.7-1+squeeze+1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
"apt-get -f install librsvg2-dev" won't work.

I've tried to run apt-get update --fix-missing and cleaned the cache, but I still get this issue.

Is there a way to reinitialize apt-get ?

craigevil 04-26-2012 09:27 AM

apt-get -f install

no package just the above command

Also post your sources.list
and the output of uname -a

---------- Post added 04-26-12 at 09:27 AM ----------

apt-get -f install

no package just the above command

Also post your sources.list
and the output of uname -a

cnxsoft 04-26-2012 09:55 AM

Here's the output "sudo apt-get install -f":

Quote:

Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 63 not upgraded.
and the content of /etc/apt/sources.list

Quote:

#

# deb cdrom:[Debian GNU/Linux 6.0.3 _Squeeze_ - Official i386 NETINST Binary-1 20111008-19:55]/ squeeze main

#deb cdrom:[Debian GNU/Linux 6.0.3 _Squeeze_ - Official i386 NETINST Binary-1 20111008-19:55]/ squeeze main

deb http://mirror.kku.ac.th/debian/ squeeze main
deb-src http://mirror.kku.ac.th/debian/ squeeze main

deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main

# squeeze-updates, previously known as 'volatile'
deb http://mirror.kku.ac.th/debian/ squeeze-updates main
deb-src http://mirror.kku.ac.th/debian/ squeeze-updates main

# embian cross toolchain
deb http://www.emdebian.org/debian/ squeeze main
However, I can't try right now since http://mirror.kku.ac.th is down or too many people are updating to Ubuntu 12.04...

craigevil 04-26-2012 12:56 PM

So pick a different mirror.
Official Debian mirrors http://www.debian.org/mirror/list

Also what happens if you comment the emdebian repo? My guess is that is what is causing the weird armel issues.

cnxsoft 04-26-2012 11:46 PM

Yesterday, I've made a silly mistake while trying to fix the issue: deleting the content of /var/lib/dpkg. I've restored the status file

Quote:

cp /var/backups/dpkg.status.0 /var/lib/dpkg
And now I get a lot of error messages like:

Quote:

dpkg: warning: files list file for package `libxcomposite-dev' missing, assuming package has no files currently installed
Btw, it looks like simply running "sudo apt-get install -f" would have fixed the original issue...

cnxsoft 04-27-2012 03:40 AM

I've used the script provided at https://lists.ubuntu.com/archives/ub...st/000662.html to regenerate the file lists in /var/lib/dpkg/info/

And now everything seems back to normal.

---------- Post added 27th Apr 2012 at 15:40 ----------

I've used the script provided at https://lists.ubuntu.com/archives/ub...st/000662.html to regenerate the file lists in /var/lib/dpkg/info/

And now everything seems back to normal.


All times are GMT -5. The time now is 03:12 AM.