LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 04-26-2012, 09:23 AM   #1
cnxsoft
Member
 
Registered: Nov 2010
Location: Thailand
Distribution: Fedora 12, Ubuntu 10.10
Posts: 166

Rep: Reputation: 29
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 ?
 
Old 04-26-2012, 10:27 AM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
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
 
1 members found this post helpful.
Old 04-26-2012, 10:55 AM   #3
cnxsoft
Member
 
Registered: Nov 2010
Location: Thailand
Distribution: Fedora 12, Ubuntu 10.10
Posts: 166

Original Poster
Rep: Reputation: 29
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...

Last edited by cnxsoft; 04-26-2012 at 10:56 AM. Reason: typo
 
Old 04-26-2012, 01:56 PM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
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.
 
Old 04-27-2012, 12:46 AM   #5
cnxsoft
Member
 
Registered: Nov 2010
Location: Thailand
Distribution: Fedora 12, Ubuntu 10.10
Posts: 166

Original Poster
Rep: Reputation: 29
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...
 
Old 04-27-2012, 04:40 AM   #6
cnxsoft
Member
 
Registered: Nov 2010
Location: Thailand
Distribution: Fedora 12, Ubuntu 10.10
Posts: 166

Original Poster
Rep: Reputation: 29
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.
 
  


Reply

Tags
apt-get, armel, dependencies, i386


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get has unmet dependencies, but apt-get -f install doesn't solve problem sophanox Linux - Software 1 02-23-2011 11:07 AM
How do I install Equivs when apt is already locked by dependencies? weav Linux - Software 2 07-26-2009 05:54 PM
Are you capable to install Freevo through apt-get (without dependencies errors)? frenchn00b Debian 4 07-01-2009 02:20 AM
Packages.gz without lib dependencies: error when apt-get update Xeratul Linux - General 0 02-12-2007 04:59 PM
apt-get install not working due to unmet dependencies ibrewale Debian 10 07-26-2005 01:13 PM


All times are GMT -5. The time now is 03:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration