apt-get Not Working (Again)Can not install MySQL on my Ubuntu 12.04Rhythmbox updates failingFixing Broken Packages— /tesseract-ocr-osd_3.02-2_all.debErrors were encountered while processing: /var/cache/apt/archives/click_0.4.38.5ubuntu0.2_amd64.debApt-get not working after attempting to install kde desktopTrying to overwrite shared …, which is different from other instances of packageBroken dependencies stopping me from installing Emulation StationE: Sub-process /usr/bin/dpkg returned an error code (1) when try to execute apt-get install python3-pexpect18.04.1 Server keeps creating /var/lib/dpkg/lock and /var/cache/apt/archives/lock. What now?Kodi Failed Installation on Ubuntu 16.04
Reverse string, can I make it faster?
Are there historical instances of the capital of a colonising country being temporarily or permanently shifted to one of its colonies?
How to secure an aircraft at a transient parking space?
Accepted offer letter, position changed
NASA's RS-25 Engines shut down time
Word for a person who has no opinion about whether god exists
Coax or bifilar choke
'The literal of type int is out of range' con número enteros pequeños (2 dígitos)
Is it "Vierergruppe" or "Viergruppe", or is there a distinction?
Should I tell my boss the work he did was worthless
Latex does not go to next line
Conservation of Mass and Energy
Database Backup for data and log files
How can I get players to stop ignoring or overlooking the plot hooks I'm giving them?
Hotkey (or other quick way) to insert a keyframe for only one component of a vector-valued property?
How to write ı (i without dot) character in pgf-pie
Do f-stop and exposure time perfectly cancel?
How are showroom/display vehicles prepared?
When a wind turbine does not produce enough electricity how does the power company compensate for the loss?
Declaring and defining template, and specialising them
What wound would be of little consequence to a biped but terrible for a quadruped?
What is the magic ball of every day?
What are some noteworthy "mic-drop" moments in math?
How can The Temple of Elementary Evil reliably protect itself against kinetic bombardment?
apt-get Not Working (Again)
Can not install MySQL on my Ubuntu 12.04Rhythmbox updates failingFixing Broken Packages— /tesseract-ocr-osd_3.02-2_all.debErrors were encountered while processing: /var/cache/apt/archives/click_0.4.38.5ubuntu0.2_amd64.debApt-get not working after attempting to install kde desktopTrying to overwrite shared …, which is different from other instances of packageBroken dependencies stopping me from installing Emulation StationE: Sub-process /usr/bin/dpkg returned an error code (1) when try to execute apt-get install python3-pexpect18.04.1 Server keeps creating /var/lib/dpkg/lock and /var/cache/apt/archives/lock. What now?Kodi Failed Installation on Ubuntu 16.04
Whenever I Run sudo apt
Or sudo apt-get
it says:
hoidberg@Hoidberg:~$ sudo apt-get dist-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-4ubuntu1 is installed
libsdl2-2.0-0:i386 : Breaks: libsdl2-2.0-0 (!= 2.0.8+dfsg1-4ubuntu1) but 2.0.8+1 is installed
libsdl2-dev : Depends: libsdl2-2.0-0 (= 2.0.8+dfsg1-4ubuntu1) but 2.0.8+1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
but when I run sudo apt --fix-broken install
it says:
hoidberg@Hoidberg:~$ 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 3 not upgraded.
17 not fully installed or removed.
Need to get 0 B/381 kB of archives.
After this operation, 135 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 297753 files and directories currently installed.)
Preparing to unpack .../libsdl2-2.0-0_2.0.8+dfsg1-4ubuntu1_amd64.deb ...
Unpacking libsdl2-2.0-0:amd64 (2.0.8+dfsg1-4ubuntu1) over (2.0.8+1) ...
dpkg: error processing archive /var/cache/apt/archives/libsdl2-2.0-0_2.0.8+dfsg1-4ubuntu1_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-4ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
or when I run apt --fix-broken install
it says:
hoidberg@Hoidberg:~$ apt --fix-broken install
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
how can I fix this?
apt package-management dpkg dependencies
add a comment |
Whenever I Run sudo apt
Or sudo apt-get
it says:
hoidberg@Hoidberg:~$ sudo apt-get dist-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-4ubuntu1 is installed
libsdl2-2.0-0:i386 : Breaks: libsdl2-2.0-0 (!= 2.0.8+dfsg1-4ubuntu1) but 2.0.8+1 is installed
libsdl2-dev : Depends: libsdl2-2.0-0 (= 2.0.8+dfsg1-4ubuntu1) but 2.0.8+1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
but when I run sudo apt --fix-broken install
it says:
hoidberg@Hoidberg:~$ 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 3 not upgraded.
17 not fully installed or removed.
Need to get 0 B/381 kB of archives.
After this operation, 135 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 297753 files and directories currently installed.)
Preparing to unpack .../libsdl2-2.0-0_2.0.8+dfsg1-4ubuntu1_amd64.deb ...
Unpacking libsdl2-2.0-0:amd64 (2.0.8+dfsg1-4ubuntu1) over (2.0.8+1) ...
dpkg: error processing archive /var/cache/apt/archives/libsdl2-2.0-0_2.0.8+dfsg1-4ubuntu1_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-4ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
or when I run apt --fix-broken install
it says:
hoidberg@Hoidberg:~$ apt --fix-broken install
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
how can I fix this?
apt package-management dpkg dependencies
add a comment |
Whenever I Run sudo apt
Or sudo apt-get
it says:
hoidberg@Hoidberg:~$ sudo apt-get dist-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-4ubuntu1 is installed
libsdl2-2.0-0:i386 : Breaks: libsdl2-2.0-0 (!= 2.0.8+dfsg1-4ubuntu1) but 2.0.8+1 is installed
libsdl2-dev : Depends: libsdl2-2.0-0 (= 2.0.8+dfsg1-4ubuntu1) but 2.0.8+1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
but when I run sudo apt --fix-broken install
it says:
hoidberg@Hoidberg:~$ 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 3 not upgraded.
17 not fully installed or removed.
Need to get 0 B/381 kB of archives.
After this operation, 135 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 297753 files and directories currently installed.)
Preparing to unpack .../libsdl2-2.0-0_2.0.8+dfsg1-4ubuntu1_amd64.deb ...
Unpacking libsdl2-2.0-0:amd64 (2.0.8+dfsg1-4ubuntu1) over (2.0.8+1) ...
dpkg: error processing archive /var/cache/apt/archives/libsdl2-2.0-0_2.0.8+dfsg1-4ubuntu1_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-4ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
or when I run apt --fix-broken install
it says:
hoidberg@Hoidberg:~$ apt --fix-broken install
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
how can I fix this?
apt package-management dpkg dependencies
Whenever I Run sudo apt
Or sudo apt-get
it says:
hoidberg@Hoidberg:~$ sudo apt-get dist-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-4ubuntu1 is installed
libsdl2-2.0-0:i386 : Breaks: libsdl2-2.0-0 (!= 2.0.8+dfsg1-4ubuntu1) but 2.0.8+1 is installed
libsdl2-dev : Depends: libsdl2-2.0-0 (= 2.0.8+dfsg1-4ubuntu1) but 2.0.8+1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
but when I run sudo apt --fix-broken install
it says:
hoidberg@Hoidberg:~$ 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 3 not upgraded.
17 not fully installed or removed.
Need to get 0 B/381 kB of archives.
After this operation, 135 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 297753 files and directories currently installed.)
Preparing to unpack .../libsdl2-2.0-0_2.0.8+dfsg1-4ubuntu1_amd64.deb ...
Unpacking libsdl2-2.0-0:amd64 (2.0.8+dfsg1-4ubuntu1) over (2.0.8+1) ...
dpkg: error processing archive /var/cache/apt/archives/libsdl2-2.0-0_2.0.8+dfsg1-4ubuntu1_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-4ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
or when I run apt --fix-broken install
it says:
hoidberg@Hoidberg:~$ apt --fix-broken install
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
how can I fix this?
apt package-management dpkg dependencies
apt package-management dpkg dependencies
asked 2 hours ago
HoidbergHoidberg
14
14
add a comment |
add a comment |
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
);
);
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%2f1124889%2fapt-get-not-working-again%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
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%2f1124889%2fapt-get-not-working-again%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