./retropie_setup.sh breaks packages
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
So I tried installing RetroPie on Ubuntu 18.04 using [this guide][1], but after running ./retropie_setup.sh
, I get these errors when trying to run sudo apt uprade
:
christian@mate-laptop:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libsdl2-2.0-0 : Breaks: libsdl2-2.0-0:i386 (!= 2.0.8+1) but 2.0.8+dfsg1-1ubuntu1.18.04.1 is installed
libsdl2-2.0-0:i386 : Breaks: libsdl2-2.0-0 (!= 2.0.8+dfsg1-1ubuntu1.18.04.1) but 2.0.8+1 is installed
libsdl2-dev : Depends: libsdl2-2.0-0 (= 2.0.8+dfsg1-1ubuntu1.18.04.1) but 2.0.8+1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
I run sudo apt --fix-broken install
to try to fix this and I get more errors:
christian@mate-laptop:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libsdl2-2.0-0
The following packages will be upgraded:
libsdl2-2.0-0
1 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.
19 not fully installed or removed.
Need to get 0 B/378 kB of archives.
After this operation, 111 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 265018 files and directories currently installed.)
Preparing to unpack .../libsdl2-2.0-0_2.0.8+dfsg1-1ubuntu1.18.04.1_amd64.deb ...
Unpacking libsdl2-2.0-0:amd64 (2.0.8+dfsg1-1ubuntu1.18.04.1) over (2.0.8+1) ...
dpkg: error processing archive /var/cache/apt/archives/libsdl2-2.0-0_2.0.8+dfsg1-1ubuntu1.18.04.1_amd64.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libsdl2-2.0-0/copyright', which is different from other instances of package libsdl2-2.0-0:amd64
Errors were encountered while processing:
/var/cache/apt/archives/libsdl2-2.0-0_2.0.8+dfsg1-1ubuntu1.18.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
What can I do to fix this?
apt 18.04 package-management upgrade updates
add a comment |
So I tried installing RetroPie on Ubuntu 18.04 using [this guide][1], but after running ./retropie_setup.sh
, I get these errors when trying to run sudo apt uprade
:
christian@mate-laptop:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libsdl2-2.0-0 : Breaks: libsdl2-2.0-0:i386 (!= 2.0.8+1) but 2.0.8+dfsg1-1ubuntu1.18.04.1 is installed
libsdl2-2.0-0:i386 : Breaks: libsdl2-2.0-0 (!= 2.0.8+dfsg1-1ubuntu1.18.04.1) but 2.0.8+1 is installed
libsdl2-dev : Depends: libsdl2-2.0-0 (= 2.0.8+dfsg1-1ubuntu1.18.04.1) but 2.0.8+1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
I run sudo apt --fix-broken install
to try to fix this and I get more errors:
christian@mate-laptop:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libsdl2-2.0-0
The following packages will be upgraded:
libsdl2-2.0-0
1 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.
19 not fully installed or removed.
Need to get 0 B/378 kB of archives.
After this operation, 111 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 265018 files and directories currently installed.)
Preparing to unpack .../libsdl2-2.0-0_2.0.8+dfsg1-1ubuntu1.18.04.1_amd64.deb ...
Unpacking libsdl2-2.0-0:amd64 (2.0.8+dfsg1-1ubuntu1.18.04.1) over (2.0.8+1) ...
dpkg: error processing archive /var/cache/apt/archives/libsdl2-2.0-0_2.0.8+dfsg1-1ubuntu1.18.04.1_amd64.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libsdl2-2.0-0/copyright', which is different from other instances of package libsdl2-2.0-0:amd64
Errors were encountered while processing:
/var/cache/apt/archives/libsdl2-2.0-0_2.0.8+dfsg1-1ubuntu1.18.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
What can I do to fix this?
apt 18.04 package-management upgrade updates
add a comment |
So I tried installing RetroPie on Ubuntu 18.04 using [this guide][1], but after running ./retropie_setup.sh
, I get these errors when trying to run sudo apt uprade
:
christian@mate-laptop:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libsdl2-2.0-0 : Breaks: libsdl2-2.0-0:i386 (!= 2.0.8+1) but 2.0.8+dfsg1-1ubuntu1.18.04.1 is installed
libsdl2-2.0-0:i386 : Breaks: libsdl2-2.0-0 (!= 2.0.8+dfsg1-1ubuntu1.18.04.1) but 2.0.8+1 is installed
libsdl2-dev : Depends: libsdl2-2.0-0 (= 2.0.8+dfsg1-1ubuntu1.18.04.1) but 2.0.8+1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
I run sudo apt --fix-broken install
to try to fix this and I get more errors:
christian@mate-laptop:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libsdl2-2.0-0
The following packages will be upgraded:
libsdl2-2.0-0
1 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.
19 not fully installed or removed.
Need to get 0 B/378 kB of archives.
After this operation, 111 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 265018 files and directories currently installed.)
Preparing to unpack .../libsdl2-2.0-0_2.0.8+dfsg1-1ubuntu1.18.04.1_amd64.deb ...
Unpacking libsdl2-2.0-0:amd64 (2.0.8+dfsg1-1ubuntu1.18.04.1) over (2.0.8+1) ...
dpkg: error processing archive /var/cache/apt/archives/libsdl2-2.0-0_2.0.8+dfsg1-1ubuntu1.18.04.1_amd64.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libsdl2-2.0-0/copyright', which is different from other instances of package libsdl2-2.0-0:amd64
Errors were encountered while processing:
/var/cache/apt/archives/libsdl2-2.0-0_2.0.8+dfsg1-1ubuntu1.18.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
What can I do to fix this?
apt 18.04 package-management upgrade updates
So I tried installing RetroPie on Ubuntu 18.04 using [this guide][1], but after running ./retropie_setup.sh
, I get these errors when trying to run sudo apt uprade
:
christian@mate-laptop:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libsdl2-2.0-0 : Breaks: libsdl2-2.0-0:i386 (!= 2.0.8+1) but 2.0.8+dfsg1-1ubuntu1.18.04.1 is installed
libsdl2-2.0-0:i386 : Breaks: libsdl2-2.0-0 (!= 2.0.8+dfsg1-1ubuntu1.18.04.1) but 2.0.8+1 is installed
libsdl2-dev : Depends: libsdl2-2.0-0 (= 2.0.8+dfsg1-1ubuntu1.18.04.1) but 2.0.8+1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
I run sudo apt --fix-broken install
to try to fix this and I get more errors:
christian@mate-laptop:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libsdl2-2.0-0
The following packages will be upgraded:
libsdl2-2.0-0
1 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.
19 not fully installed or removed.
Need to get 0 B/378 kB of archives.
After this operation, 111 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 265018 files and directories currently installed.)
Preparing to unpack .../libsdl2-2.0-0_2.0.8+dfsg1-1ubuntu1.18.04.1_amd64.deb ...
Unpacking libsdl2-2.0-0:amd64 (2.0.8+dfsg1-1ubuntu1.18.04.1) over (2.0.8+1) ...
dpkg: error processing archive /var/cache/apt/archives/libsdl2-2.0-0_2.0.8+dfsg1-1ubuntu1.18.04.1_amd64.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libsdl2-2.0-0/copyright', which is different from other instances of package libsdl2-2.0-0:amd64
Errors were encountered while processing:
/var/cache/apt/archives/libsdl2-2.0-0_2.0.8+dfsg1-1ubuntu1.18.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
What can I do to fix this?
apt 18.04 package-management upgrade updates
apt 18.04 package-management upgrade updates
edited Feb 10 at 0:42
Mdxxx
asked Feb 9 at 18:03
MdxxxMdxxx
35
35
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I followed these instructions and ran sudo mv /usr/share/doc/libsdl2-2.0-0/copyright /usr/share/doc/libsdl2-2.0-0/copyright.backup
and then sudo apt --fix-broken install
and that seems to work.
Now the only message I get is
W: APT had planned for dpkg to do more than it reported back (150 vs 154).
Affected packages: libsdl2-dev:amd64
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1116967%2fretropie-setup-sh-breaks-packages%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I followed these instructions and ran sudo mv /usr/share/doc/libsdl2-2.0-0/copyright /usr/share/doc/libsdl2-2.0-0/copyright.backup
and then sudo apt --fix-broken install
and that seems to work.
Now the only message I get is
W: APT had planned for dpkg to do more than it reported back (150 vs 154).
Affected packages: libsdl2-dev:amd64
add a comment |
I followed these instructions and ran sudo mv /usr/share/doc/libsdl2-2.0-0/copyright /usr/share/doc/libsdl2-2.0-0/copyright.backup
and then sudo apt --fix-broken install
and that seems to work.
Now the only message I get is
W: APT had planned for dpkg to do more than it reported back (150 vs 154).
Affected packages: libsdl2-dev:amd64
add a comment |
I followed these instructions and ran sudo mv /usr/share/doc/libsdl2-2.0-0/copyright /usr/share/doc/libsdl2-2.0-0/copyright.backup
and then sudo apt --fix-broken install
and that seems to work.
Now the only message I get is
W: APT had planned for dpkg to do more than it reported back (150 vs 154).
Affected packages: libsdl2-dev:amd64
I followed these instructions and ran sudo mv /usr/share/doc/libsdl2-2.0-0/copyright /usr/share/doc/libsdl2-2.0-0/copyright.backup
and then sudo apt --fix-broken install
and that seems to work.
Now the only message I get is
W: APT had planned for dpkg to do more than it reported back (150 vs 154).
Affected packages: libsdl2-dev:amd64
answered Feb 10 at 0:43
MdxxxMdxxx
35
35
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1116967%2fretropie-setup-sh-breaks-packages%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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