I Can't use sudo apt install The Next CEO of Stack OverflowHow do I fix my package state after the installation process (dpkg) was interrupted?dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.apt-get install problemtrouble in dpkg says no space left on deviceLogin broken after 15.10 -> 16.04 LTS upgrade, related to NVIDIA driverError on installing applicationsIs this how I tell whether or not I have “third party drivers”?E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.ubuntu 17.10 when i open an program i go to lock screenDKPG problems on Ubuntu 18.04 with Wireguard

Defamation due to breach of confidentiality

Is it correct to say moon starry nights?

What happened in Rome, when the western empire "fell"?

Is French Guiana a (hard) EU border?

What does "shotgun unity" refer to here in this sentence?

Where do students learn to solve polynomial equations these days?

Help understanding this unsettling image of Titan, Epimetheus, and Saturn's rings?

Help! I cannot understand this game’s notations!

How to find image of a complex function with given constraints?

Traduction de « Life is a roller coaster »

Why don't programming languages automatically manage the synchronous/asynchronous problem?

Do scriptures give a method to recognize a truly self-realized person/jivanmukta?

Redefining symbol midway through a document

AB diagonalizable then BA also diagonalizable

"Eavesdropping" vs "Listen in on"

I dug holes for my pergola too wide

Calculate the Mean mean of two numbers

Is there an equivalent of cd - for cp or mv

Decide between Polyglossia and Babel for LuaLaTeX in 2019

Players Circumventing the limitations of Wish

Is there a way to save my career from absolute disaster?

Getting Stale Gas Out of a Gas Tank w/out Dropping the Tank

Does Germany produce more waste than the US?

Can someone explain this formula for calculating Manhattan distance?



I Can't use sudo apt install



The Next CEO of Stack OverflowHow do I fix my package state after the installation process (dpkg) was interrupted?dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.apt-get install problemtrouble in dpkg says no space left on deviceLogin broken after 15.10 -> 16.04 LTS upgrade, related to NVIDIA driverError on installing applicationsIs this how I tell whether or not I have “third party drivers”?E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.ubuntu 17.10 when i open an program i go to lock screenDKPG problems on Ubuntu 18.04 with Wireguard










-1















When ever i run sudo apt install it says:



E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.



but when I run sudo dpkg --configure -a it says:



Your system has UEFI Secure boot enabled. UEFI Secure Boot requires additional configuration to work with third-party drivers. The system will assist you in configuring UEFI Secure Boot. To permit the use of third-party drivers, a new Machine-Owner Key (MOK) has been generated. This key now needs to be enrolled in your system's firmware. To ensure that this change is being made by you as an authorized user, and not by an attacker, you must choose a password now and then confirm the change after reboot using the same password, in both the "Enroll MOK" and "Change Secure Boot state" menus that will be presented to you when this system reboots.



It Started doing that right after I installed Virtualbox



How can I Fix that?










share|improve this question
























  • It Won't work even though I did what it said

    – Hoidberg
    Feb 25 at 0:38











  • @Hoidberg Please edit and add more details. How exactly does it not work?

    – wjandrea
    Feb 25 at 0:38











  • And what exactly did you do?

    – terdon
    Feb 25 at 0:39











  • I Tried to fix it but even after doing what it says it still pops up

    – Hoidberg
    Feb 25 at 0:41






  • 3





    OK, but please edit your question and add these details. Did you choose a password? Did you reboot? Were the menus actually presented to you? Did you choose the choices described? Did you try the same command after rebooting? Did you get the exact same output?

    – terdon
    Feb 25 at 1:47















-1















When ever i run sudo apt install it says:



E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.



but when I run sudo dpkg --configure -a it says:



Your system has UEFI Secure boot enabled. UEFI Secure Boot requires additional configuration to work with third-party drivers. The system will assist you in configuring UEFI Secure Boot. To permit the use of third-party drivers, a new Machine-Owner Key (MOK) has been generated. This key now needs to be enrolled in your system's firmware. To ensure that this change is being made by you as an authorized user, and not by an attacker, you must choose a password now and then confirm the change after reboot using the same password, in both the "Enroll MOK" and "Change Secure Boot state" menus that will be presented to you when this system reboots.



It Started doing that right after I installed Virtualbox



How can I Fix that?










share|improve this question
























  • It Won't work even though I did what it said

    – Hoidberg
    Feb 25 at 0:38











  • @Hoidberg Please edit and add more details. How exactly does it not work?

    – wjandrea
    Feb 25 at 0:38











  • And what exactly did you do?

    – terdon
    Feb 25 at 0:39











  • I Tried to fix it but even after doing what it says it still pops up

    – Hoidberg
    Feb 25 at 0:41






  • 3





    OK, but please edit your question and add these details. Did you choose a password? Did you reboot? Were the menus actually presented to you? Did you choose the choices described? Did you try the same command after rebooting? Did you get the exact same output?

    – terdon
    Feb 25 at 1:47













-1












-1








-1


1






When ever i run sudo apt install it says:



E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.



but when I run sudo dpkg --configure -a it says:



Your system has UEFI Secure boot enabled. UEFI Secure Boot requires additional configuration to work with third-party drivers. The system will assist you in configuring UEFI Secure Boot. To permit the use of third-party drivers, a new Machine-Owner Key (MOK) has been generated. This key now needs to be enrolled in your system's firmware. To ensure that this change is being made by you as an authorized user, and not by an attacker, you must choose a password now and then confirm the change after reboot using the same password, in both the "Enroll MOK" and "Change Secure Boot state" menus that will be presented to you when this system reboots.



It Started doing that right after I installed Virtualbox



How can I Fix that?










share|improve this question
















When ever i run sudo apt install it says:



E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.



but when I run sudo dpkg --configure -a it says:



Your system has UEFI Secure boot enabled. UEFI Secure Boot requires additional configuration to work with third-party drivers. The system will assist you in configuring UEFI Secure Boot. To permit the use of third-party drivers, a new Machine-Owner Key (MOK) has been generated. This key now needs to be enrolled in your system's firmware. To ensure that this change is being made by you as an authorized user, and not by an attacker, you must choose a password now and then confirm the change after reboot using the same password, in both the "Enroll MOK" and "Change Secure Boot state" menus that will be presented to you when this system reboots.



It Started doing that right after I installed Virtualbox



How can I Fix that?







apt uefi dpkg






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 1 at 23:47







Hoidberg

















asked Feb 25 at 0:33









HoidbergHoidberg

35




35












  • It Won't work even though I did what it said

    – Hoidberg
    Feb 25 at 0:38











  • @Hoidberg Please edit and add more details. How exactly does it not work?

    – wjandrea
    Feb 25 at 0:38











  • And what exactly did you do?

    – terdon
    Feb 25 at 0:39











  • I Tried to fix it but even after doing what it says it still pops up

    – Hoidberg
    Feb 25 at 0:41






  • 3





    OK, but please edit your question and add these details. Did you choose a password? Did you reboot? Were the menus actually presented to you? Did you choose the choices described? Did you try the same command after rebooting? Did you get the exact same output?

    – terdon
    Feb 25 at 1:47

















  • It Won't work even though I did what it said

    – Hoidberg
    Feb 25 at 0:38











  • @Hoidberg Please edit and add more details. How exactly does it not work?

    – wjandrea
    Feb 25 at 0:38











  • And what exactly did you do?

    – terdon
    Feb 25 at 0:39











  • I Tried to fix it but even after doing what it says it still pops up

    – Hoidberg
    Feb 25 at 0:41






  • 3





    OK, but please edit your question and add these details. Did you choose a password? Did you reboot? Were the menus actually presented to you? Did you choose the choices described? Did you try the same command after rebooting? Did you get the exact same output?

    – terdon
    Feb 25 at 1:47
















It Won't work even though I did what it said

– Hoidberg
Feb 25 at 0:38





It Won't work even though I did what it said

– Hoidberg
Feb 25 at 0:38













@Hoidberg Please edit and add more details. How exactly does it not work?

– wjandrea
Feb 25 at 0:38





@Hoidberg Please edit and add more details. How exactly does it not work?

– wjandrea
Feb 25 at 0:38













And what exactly did you do?

– terdon
Feb 25 at 0:39





And what exactly did you do?

– terdon
Feb 25 at 0:39













I Tried to fix it but even after doing what it says it still pops up

– Hoidberg
Feb 25 at 0:41





I Tried to fix it but even after doing what it says it still pops up

– Hoidberg
Feb 25 at 0:41




3




3





OK, but please edit your question and add these details. Did you choose a password? Did you reboot? Were the menus actually presented to you? Did you choose the choices described? Did you try the same command after rebooting? Did you get the exact same output?

– terdon
Feb 25 at 1:47





OK, but please edit your question and add these details. Did you choose a password? Did you reboot? Were the menus actually presented to you? Did you choose the choices described? Did you try the same command after rebooting? Did you get the exact same output?

– terdon
Feb 25 at 1:47










1 Answer
1






active

oldest

votes


















0














MOK Manager



sudo mokutil --disable-validation
Root password:
Password:12345678
Password:12345678
sudo reboot


You will boot in MOK Manager = blue screen.



  1. The question to answer is YES for disabling secure boot.
    Number shown is password character: 7 is the 7th character of the pasword, keeping 12345678 is safer. Make sure numlock keyboard is enabled and enter numbers.

  2. Enroll the key/press enter : EFI/ubuntu/grubx64/OK/Redo for/BOOT/bootx64.efi/OK

  3. Enroll hash/press enter: EFI/ubuntu/grubx64.efi/OK/Redo for/BOOT/bootx64.efi/OK

  4. Reboot

On startup, you will see a message saying booting in insecure mode. Secure boot will be disabled momentarily on startup.



mokutil --sb-state


The same problem occurs when we compile custom kernel with secure boot enabled. We have to disable secure boot only in MOK. No need to enroll key and hash.



mokutil --sb-state
SecureBoot enabled
uname -a
Linux mm 5.0.0-050000rc8-generic #201902242030 SMP Mon Feb 25 01:32:53 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux


Tested on Kernel 5.0-rc8



If 2 and 3 is not working, select secure boot instead in MOK and disable it with the same password. In MOK, disable secure boot at boot time is better and works in all distros.






share|improve this answer

























    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%2f1120987%2fi-cant-use-sudo-apt-install%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









    0














    MOK Manager



    sudo mokutil --disable-validation
    Root password:
    Password:12345678
    Password:12345678
    sudo reboot


    You will boot in MOK Manager = blue screen.



    1. The question to answer is YES for disabling secure boot.
      Number shown is password character: 7 is the 7th character of the pasword, keeping 12345678 is safer. Make sure numlock keyboard is enabled and enter numbers.

    2. Enroll the key/press enter : EFI/ubuntu/grubx64/OK/Redo for/BOOT/bootx64.efi/OK

    3. Enroll hash/press enter: EFI/ubuntu/grubx64.efi/OK/Redo for/BOOT/bootx64.efi/OK

    4. Reboot

    On startup, you will see a message saying booting in insecure mode. Secure boot will be disabled momentarily on startup.



    mokutil --sb-state


    The same problem occurs when we compile custom kernel with secure boot enabled. We have to disable secure boot only in MOK. No need to enroll key and hash.



    mokutil --sb-state
    SecureBoot enabled
    uname -a
    Linux mm 5.0.0-050000rc8-generic #201902242030 SMP Mon Feb 25 01:32:53 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux


    Tested on Kernel 5.0-rc8



    If 2 and 3 is not working, select secure boot instead in MOK and disable it with the same password. In MOK, disable secure boot at boot time is better and works in all distros.






    share|improve this answer





























      0














      MOK Manager



      sudo mokutil --disable-validation
      Root password:
      Password:12345678
      Password:12345678
      sudo reboot


      You will boot in MOK Manager = blue screen.



      1. The question to answer is YES for disabling secure boot.
        Number shown is password character: 7 is the 7th character of the pasword, keeping 12345678 is safer. Make sure numlock keyboard is enabled and enter numbers.

      2. Enroll the key/press enter : EFI/ubuntu/grubx64/OK/Redo for/BOOT/bootx64.efi/OK

      3. Enroll hash/press enter: EFI/ubuntu/grubx64.efi/OK/Redo for/BOOT/bootx64.efi/OK

      4. Reboot

      On startup, you will see a message saying booting in insecure mode. Secure boot will be disabled momentarily on startup.



      mokutil --sb-state


      The same problem occurs when we compile custom kernel with secure boot enabled. We have to disable secure boot only in MOK. No need to enroll key and hash.



      mokutil --sb-state
      SecureBoot enabled
      uname -a
      Linux mm 5.0.0-050000rc8-generic #201902242030 SMP Mon Feb 25 01:32:53 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux


      Tested on Kernel 5.0-rc8



      If 2 and 3 is not working, select secure boot instead in MOK and disable it with the same password. In MOK, disable secure boot at boot time is better and works in all distros.






      share|improve this answer



























        0












        0








        0







        MOK Manager



        sudo mokutil --disable-validation
        Root password:
        Password:12345678
        Password:12345678
        sudo reboot


        You will boot in MOK Manager = blue screen.



        1. The question to answer is YES for disabling secure boot.
          Number shown is password character: 7 is the 7th character of the pasword, keeping 12345678 is safer. Make sure numlock keyboard is enabled and enter numbers.

        2. Enroll the key/press enter : EFI/ubuntu/grubx64/OK/Redo for/BOOT/bootx64.efi/OK

        3. Enroll hash/press enter: EFI/ubuntu/grubx64.efi/OK/Redo for/BOOT/bootx64.efi/OK

        4. Reboot

        On startup, you will see a message saying booting in insecure mode. Secure boot will be disabled momentarily on startup.



        mokutil --sb-state


        The same problem occurs when we compile custom kernel with secure boot enabled. We have to disable secure boot only in MOK. No need to enroll key and hash.



        mokutil --sb-state
        SecureBoot enabled
        uname -a
        Linux mm 5.0.0-050000rc8-generic #201902242030 SMP Mon Feb 25 01:32:53 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux


        Tested on Kernel 5.0-rc8



        If 2 and 3 is not working, select secure boot instead in MOK and disable it with the same password. In MOK, disable secure boot at boot time is better and works in all distros.






        share|improve this answer















        MOK Manager



        sudo mokutil --disable-validation
        Root password:
        Password:12345678
        Password:12345678
        sudo reboot


        You will boot in MOK Manager = blue screen.



        1. The question to answer is YES for disabling secure boot.
          Number shown is password character: 7 is the 7th character of the pasword, keeping 12345678 is safer. Make sure numlock keyboard is enabled and enter numbers.

        2. Enroll the key/press enter : EFI/ubuntu/grubx64/OK/Redo for/BOOT/bootx64.efi/OK

        3. Enroll hash/press enter: EFI/ubuntu/grubx64.efi/OK/Redo for/BOOT/bootx64.efi/OK

        4. Reboot

        On startup, you will see a message saying booting in insecure mode. Secure boot will be disabled momentarily on startup.



        mokutil --sb-state


        The same problem occurs when we compile custom kernel with secure boot enabled. We have to disable secure boot only in MOK. No need to enroll key and hash.



        mokutil --sb-state
        SecureBoot enabled
        uname -a
        Linux mm 5.0.0-050000rc8-generic #201902242030 SMP Mon Feb 25 01:32:53 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux


        Tested on Kernel 5.0-rc8



        If 2 and 3 is not working, select secure boot instead in MOK and disable it with the same password. In MOK, disable secure boot at boot time is better and works in all distros.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 31 mins ago

























        answered Feb 25 at 4:41









        MikemecanicMikemecanic

        695




        695



























            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%2f1120987%2fi-cant-use-sudo-apt-install%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»