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













0















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?










share|improve this question


























    0















    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?










    share|improve this question
























      0












      0








      0








      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?










      share|improve this question














      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 2 hours ago









      HoidbergHoidberg

      14




      14




















          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%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















          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%2f1124889%2fapt-get-not-working-again%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

          Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

          Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

          Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»