Installing 32-bit stuff
- Login o registrati per inviare commenti
I'm running 64-bit Trisquel 6.0
I want to install a program called zsnes:i386
I try to install it and I get this:
trisquel@thinkpad:~$ sudo apt-get install zsnes:i386
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:
zsnes:i386 : Depends: libao4:i386 (>= 1.1.0) but it is not going to be installed
Depends: libc6:i386 (>= 2.4) but it is not going to be installed
Depends: libgcc1:i386 (>= 1:4.1.1) but it is not going to be installed
Depends: libgl1-mesa-glx:i386 but it is not going to be installed or
libgl1:i386
Depends: libpng12-0:i386 (>= 1.2.13-4) but it is not going to be installed
Depends: libsdl1.2debian:i386 (>= 1.2.10-1) but it is not going to be installed
Depends: libstdc++6:i386 (>= 4.1.1) but it is not going to be installed
Depends: zlib1g:i386 (>= 1:1.2.2.3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
trisquel@thinkpad:~$
I looked around quite a bit on the forums for a solution. I can't find anything recent that will work. Is there an exact process for doing this? It would be really nice.
One thing I might suggest is trying with aptitude instead of apt-get. It still won't work, but you might get some more information than that all these packages are "not going to be installed".
I don't know how to use aptitude and have never used it before. I don't know what information I need.
I marked it for installation and at the bottom of the terminal it says these packages are "Unsatisfied" under the dependencies:
libao4
libc6
libgcc1
libgl1-mesa-glx
libpng12-0
libsdl1.2debian
libstdc++6
zlib1g
What should I do?
aptitude's main commands are the same as apt-get. So, "sudo aptitude install zsnes:i386", in this case. This is just to hopefully get some more information about the problem (aptitude's error messages tend to be more useful than apt-get's).
I attached the output after putting in that code. Hopefully that's enough information about the problem. What should I do next?
Allegato | Dimensione |
---|---|
Untitled Document 1.txt | 9.3 KB |
bump
bump
If you insist on installing zsnes, you'll need to add architecture support for 32 bit. I personally recommend **Higan** for 64 bit systems.
sudo apt-get install higan
To add 32 bit architecture support (in case you insist on zsnes) ->
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get upgrade
Then you install zsnes as you would normally
sudo apt-get install zsnes
Yes I have tried higan but it does not have everything I want that zsnes has
Here's what happened when I tried your second option:
trisquel@thinkpad:~$ sudo dpkg --add-architecture i386
dpkg: error: unknown option --add-architecture
Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Options marked [*] produce a lot of output - pipe it through `less' or `more' !
- Login o registrati per inviare commenti