Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 22155  / 2 Years ago, sun, february 20, 2022, 1:08:53

I have Ubuntu 11.10 64-bit installed and I have to install 32-bit deb package on it. It depends on other 32 bit libraries. I overcome this with getlibs:



sudo getlibs -i ./hp-netconnect_1.2-12_i386.deb 


Package is installed successfully and I can use it, but now I can't install anything with apt-get:



ytaras@bueno:~/Downloads$ sudo apt-get install bison-doc 
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:
hp-netconnect:i386 : Depends: openssl:i386 but it is not going to be installed
Depends: procps:i386 but it is not going to be installed
Depends: zenity:i386 but it is not going to be installed
Depends: sun-java6-jre:i386 but it is not installable or
sun-java5-jre:i386 but it is not installable
Recommends: sun-java6-plugin:i386 but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


If I run 'apt-get -f install', it just removes hp-netconnect package. Now I have to uninstall this package with 'apt-get -f install' every time I want to install something and reinstall it later.


More From » 11.10

 Answers
3

With multiarch, you don't need getlibs, the dependencies should "just-work".
However, the problem here is that openssl, procps, zenity, and Java haven't been marked as MultiArch: foreign yet. Meaning that the amd64 versions will probably work for this script, but dpkg can't see that.



I'm afraid, your best way around this is probably to edit that .deb, and remove the problematic dependencies. Somebody wrote a script to help with that.


[#42328] Sunday, February 20, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ampust

Total Points: 133
Total Questions: 109
Total Answers: 111

Location: Reunion
Member since Fri, Jul 22, 2022
2 Years ago
;