Installing 32-bit stuff

10 risposte [Ultimo contenuto]
oralfloss
Offline
Iscritto: 06/20/2013

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.

onpon4
Offline
Iscritto: 05/30/2012

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".

oralfloss
Offline
Iscritto: 06/20/2013

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?

onpon4
Offline
Iscritto: 05/30/2012

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).

oralfloss
Offline
Iscritto: 06/20/2013

I attached the output after putting in that code. Hopefully that's enough information about the problem. What should I do next?

AllegatoDimensione
Untitled Document 1.txt 9.3 KB
oralfloss
Offline
Iscritto: 06/20/2013

bump

oralfloss
Offline
Iscritto: 06/20/2013

bump

SuperTramp83

I am a translator!

Offline
Iscritto: 10/31/2014

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

oralfloss
Offline
Iscritto: 06/20/2013

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' !

SuperTramp83

I am a translator!

Offline
Iscritto: 10/31/2014

https://askubuntu.com/questions/423083/cant-run-dpkg-add-architecture-i386-on-12-04-64-bit-to-run-eclipse-adt/423089#423089

Well, the command I gave you works for me. Try doing the fix as described in the link above.

oralfloss
Offline
Iscritto: 06/20/2013

I ran the suggested command:
sudo sh -c "echo 'foreign-architecture i386' > /etc/dpkg/dpkg.cfg.d/multiarch"

nothing happened, still get the same error