Installing 32-bit SDL2 on Ubuntu 18.04 LTS 64-bit












1















Trying to install libsdl2-2.0:i386, I am met with this



Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libsdl2-2.0-0:i386' for regex 'libsdl2-2.0'
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:
libsdl2-2.0-0:i386 : Depends: libasound2:i386 (>= 1.0.27)
Depends: libsndio6.1:i386 (>= 1.1.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Investigating, I find that sudo apt install libsndio6.1:i386 leads to



The following packages have unmet dependencies:
libsndio6.1:i386 : Depends: libasound2:i386 (>= 1.0.17)
E: Unable to correct problems, you have held broken packages.


sudo apt install libasound2:i386 leads to



The following packages have unmet dependencies:
libasound2:i386 : Depends: libasound2-data:i386 (>= 1.1.3-5)
E: Unable to correct problems, you have held broken packages.


But I hit a dead end because trying to install libasound2-data:i386 I get



Note, selecting 'libasound2-data' instead of 'libasound2-data:i386'
libasound2-data is already the newest version (1.1.3-5ubuntu0.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


This is on a fresh install of Ubuntu MATE 18.04 LTS and the 'broken package' fix from the Software Boutique doesn't help.



EDIT:
I fixed my problem by removing libasound2 and libasound2-data (the 64bit versions) -- without removing dependant packages (which would remove the whole system), and then reinstalling them (again the 64 bit ones). Now the 32bit ones install fine, and SDL2 32bit installs fine. Don't ask me why.



Turns out the version was wrong, but it refused to up/downgrade in Synaptic, so doing it like this was the only way I could see.



However I ran into the same problem trying to install another 32bit library! So, I'll keep this question open if anyone has a permanent solution...










share|improve this question




















  • 1





    On my clean installation of Ubuntu 18.04 LTS MATE (amd64) I can't reproduce your problem. Maybe you forgot to update package lists before installation of packages... Or your mirror is out of sync.

    – N0rbert
    May 25 '18 at 9:33













  • what is the output of dpkg -l "*asound2*"?

    – r0ng
    Oct 30 '18 at 3:46
















1















Trying to install libsdl2-2.0:i386, I am met with this



Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libsdl2-2.0-0:i386' for regex 'libsdl2-2.0'
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:
libsdl2-2.0-0:i386 : Depends: libasound2:i386 (>= 1.0.27)
Depends: libsndio6.1:i386 (>= 1.1.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Investigating, I find that sudo apt install libsndio6.1:i386 leads to



The following packages have unmet dependencies:
libsndio6.1:i386 : Depends: libasound2:i386 (>= 1.0.17)
E: Unable to correct problems, you have held broken packages.


sudo apt install libasound2:i386 leads to



The following packages have unmet dependencies:
libasound2:i386 : Depends: libasound2-data:i386 (>= 1.1.3-5)
E: Unable to correct problems, you have held broken packages.


But I hit a dead end because trying to install libasound2-data:i386 I get



Note, selecting 'libasound2-data' instead of 'libasound2-data:i386'
libasound2-data is already the newest version (1.1.3-5ubuntu0.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


This is on a fresh install of Ubuntu MATE 18.04 LTS and the 'broken package' fix from the Software Boutique doesn't help.



EDIT:
I fixed my problem by removing libasound2 and libasound2-data (the 64bit versions) -- without removing dependant packages (which would remove the whole system), and then reinstalling them (again the 64 bit ones). Now the 32bit ones install fine, and SDL2 32bit installs fine. Don't ask me why.



Turns out the version was wrong, but it refused to up/downgrade in Synaptic, so doing it like this was the only way I could see.



However I ran into the same problem trying to install another 32bit library! So, I'll keep this question open if anyone has a permanent solution...










share|improve this question




















  • 1





    On my clean installation of Ubuntu 18.04 LTS MATE (amd64) I can't reproduce your problem. Maybe you forgot to update package lists before installation of packages... Or your mirror is out of sync.

    – N0rbert
    May 25 '18 at 9:33













  • what is the output of dpkg -l "*asound2*"?

    – r0ng
    Oct 30 '18 at 3:46














1












1








1








Trying to install libsdl2-2.0:i386, I am met with this



Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libsdl2-2.0-0:i386' for regex 'libsdl2-2.0'
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:
libsdl2-2.0-0:i386 : Depends: libasound2:i386 (>= 1.0.27)
Depends: libsndio6.1:i386 (>= 1.1.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Investigating, I find that sudo apt install libsndio6.1:i386 leads to



The following packages have unmet dependencies:
libsndio6.1:i386 : Depends: libasound2:i386 (>= 1.0.17)
E: Unable to correct problems, you have held broken packages.


sudo apt install libasound2:i386 leads to



The following packages have unmet dependencies:
libasound2:i386 : Depends: libasound2-data:i386 (>= 1.1.3-5)
E: Unable to correct problems, you have held broken packages.


But I hit a dead end because trying to install libasound2-data:i386 I get



Note, selecting 'libasound2-data' instead of 'libasound2-data:i386'
libasound2-data is already the newest version (1.1.3-5ubuntu0.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


This is on a fresh install of Ubuntu MATE 18.04 LTS and the 'broken package' fix from the Software Boutique doesn't help.



EDIT:
I fixed my problem by removing libasound2 and libasound2-data (the 64bit versions) -- without removing dependant packages (which would remove the whole system), and then reinstalling them (again the 64 bit ones). Now the 32bit ones install fine, and SDL2 32bit installs fine. Don't ask me why.



Turns out the version was wrong, but it refused to up/downgrade in Synaptic, so doing it like this was the only way I could see.



However I ran into the same problem trying to install another 32bit library! So, I'll keep this question open if anyone has a permanent solution...










share|improve this question
















Trying to install libsdl2-2.0:i386, I am met with this



Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libsdl2-2.0-0:i386' for regex 'libsdl2-2.0'
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:
libsdl2-2.0-0:i386 : Depends: libasound2:i386 (>= 1.0.27)
Depends: libsndio6.1:i386 (>= 1.1.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Investigating, I find that sudo apt install libsndio6.1:i386 leads to



The following packages have unmet dependencies:
libsndio6.1:i386 : Depends: libasound2:i386 (>= 1.0.17)
E: Unable to correct problems, you have held broken packages.


sudo apt install libasound2:i386 leads to



The following packages have unmet dependencies:
libasound2:i386 : Depends: libasound2-data:i386 (>= 1.1.3-5)
E: Unable to correct problems, you have held broken packages.


But I hit a dead end because trying to install libasound2-data:i386 I get



Note, selecting 'libasound2-data' instead of 'libasound2-data:i386'
libasound2-data is already the newest version (1.1.3-5ubuntu0.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


This is on a fresh install of Ubuntu MATE 18.04 LTS and the 'broken package' fix from the Software Boutique doesn't help.



EDIT:
I fixed my problem by removing libasound2 and libasound2-data (the 64bit versions) -- without removing dependant packages (which would remove the whole system), and then reinstalling them (again the 64 bit ones). Now the 32bit ones install fine, and SDL2 32bit installs fine. Don't ask me why.



Turns out the version was wrong, but it refused to up/downgrade in Synaptic, so doing it like this was the only way I could see.



However I ran into the same problem trying to install another 32bit library! So, I'll keep this question open if anyone has a permanent solution...







apt package-management 64-bit 18.04 multiarch






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 25 '18 at 4:37







Luka Aleksić

















asked May 25 '18 at 3:45









Luka AleksićLuka Aleksić

914




914








  • 1





    On my clean installation of Ubuntu 18.04 LTS MATE (amd64) I can't reproduce your problem. Maybe you forgot to update package lists before installation of packages... Or your mirror is out of sync.

    – N0rbert
    May 25 '18 at 9:33













  • what is the output of dpkg -l "*asound2*"?

    – r0ng
    Oct 30 '18 at 3:46














  • 1





    On my clean installation of Ubuntu 18.04 LTS MATE (amd64) I can't reproduce your problem. Maybe you forgot to update package lists before installation of packages... Or your mirror is out of sync.

    – N0rbert
    May 25 '18 at 9:33













  • what is the output of dpkg -l "*asound2*"?

    – r0ng
    Oct 30 '18 at 3:46








1




1





On my clean installation of Ubuntu 18.04 LTS MATE (amd64) I can't reproduce your problem. Maybe you forgot to update package lists before installation of packages... Or your mirror is out of sync.

– N0rbert
May 25 '18 at 9:33







On my clean installation of Ubuntu 18.04 LTS MATE (amd64) I can't reproduce your problem. Maybe you forgot to update package lists before installation of packages... Or your mirror is out of sync.

– N0rbert
May 25 '18 at 9:33















what is the output of dpkg -l "*asound2*"?

– r0ng
Oct 30 '18 at 3:46





what is the output of dpkg -l "*asound2*"?

– r0ng
Oct 30 '18 at 3:46










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1040065%2finstalling-32-bit-sdl2-on-ubuntu-18-04-lts-64-bit%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1040065%2finstalling-32-bit-sdl2-on-ubuntu-18-04-lts-64-bit%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

 ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕