Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I upgraded to 11.10 and lost power during the upgrade. After bringing the box back up, I attempted to continue the upgrade and at one point did a partial upgrade to resolved dependency issues that I thought at the time were related to may failed upgrade. Now I have a working system for the most part. The problem is I can not install the 'acroread' package anymore because of dependency errors:

~ $ sudo apt-get install acroread

Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: acroread : Depends: nspluginwrapper but it is not going to be installed E: Unable to correct problems, you have held broken packages.

~ $ sudo apt-get install nspluginwrapper`

Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: nspluginwrapper : Depends: nspluginviewer (= 1.4.4-0ubuntu3) E: Unable to correct problems, you have held broken packages.

 ~ $ sudo apt-get install nspluginviewer

Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: nspluginviewer:i386 : Depends: libgtk2.0-0:i386 (>= 2.8.0) but it is not going to be installed E: Unable to correct problems, you have held broken packages.

I am running 64-bit but it seems acroread needs some 32-bit libraries that are not able to be installed. In my reading, I've found that there were some changes to multi-arch packages.

Does anyone know how I can repair my system to get around this problem?

share|improve this question

3 Answers

up vote 3 down vote accepted

Try sudo apt-get install -f. It will probably give some suggestions about removing and installing packages, do what seems reasonable. If that doesn't help, try booting into recovery mode and choosing the "fix broken packages". If that doesn't work... I don't know, I'd reinstall Ubuntu if I were you. (This is a good reason to always have /home on a separate partition!)

share|improve this answer
1  
that command seems to think everything is fine. I'm researching how to move my home dir to another partition now, thanks. – Matt Hulse Nov 7 '11 at 21:31
I migrated my home directory to a separate partition and reinstalled 11.10. Now I'm golden, and it really wasn't as bad as I expected. – Matt Hulse Nov 11 '11 at 21:30

The latest release added multiple architecture support. 32 bit libraries are added as 32 bit libraries. I suspect you need to install the ia32-libs-multiarch. Try these commands:

sudo apt-get install ia32-libs-multiarch:i386
sudo apt-get check

Caught me by surprize. Also I found aptitude hasn't been updated to support the change.

share|improve this answer
The following packages have unmet dependencies: ia32-libs-multiarch:i386 : Depends: libcups2:i386 but it is not going to be installed Depends: libcupsimage2:i386 but it is not going to be installed Depends: libcurl3:i386 but it is not going to be installed E: Unable to correct problems, you have held broken packages. Looks like my system is hosed. – Matt Hulse Nov 7 '11 at 21:30

You need to enable multiarch before attempting to install 32 bit libs:

 echo foreign-architecture i386 | sudo tee /etc/dpkg/dpkg.cfg.d/multiarch

After doing so, you should then be able to install whatever 32 bit libs you need.

share|improve this answer
Thanks for the response. I ran that command and it didn't change anything for me. – Matt Hulse Nov 9 '11 at 15:28

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.