Problem in Kubuntu while installing files… How to solve? E: Sub-process /usr/bin/dpkg returned an error code (1)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












-1















sudo apt install adobe-flashplugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
adobe-flashplugin is already the newest version (1:20190212.1-0ubuntu0.18.10.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up grub-efi-amd64-signed (1.110.2+2.02+dfsg1-5ubuntu8.2) ...
Installing for x86_64-efi platform.
Could not prepare Boot variable: Invalid argument
grub-install: error: efibootmgr failed to register the boot entry: Input/output error.
dpkg: error processing package grub-efi-amd64-signed (--configure):
installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
grub-efi-amd64-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)





##










share|improve this question



















  • 1





    Look into /var/lib/dpkg/info and find the post install script, should be grub-efi-amd64-signed.postinst. Try to run that script and see what is the actual error that it reports. It is not the issue with adobe-flashplugin package, but another package that was installed earlier. Judging from the fact that it's a grub package it might have come via recent update/upgrade

    – Sergiy Kolodyazhnyy
    Mar 2 at 1:49











  • I checked that out but running the script in konsole only shows black screen.

    – Saugat Baral
    Mar 2 at 2:10











  • OK, so it's possible the script does not output anything. What's the exit status reported via echo $? after you run the script ? (Well, in the error message it reports exit status 1), so if it is the case that the script has no output but does return exit status, we'll have to attempt other things to figure out what exactly causes it to exit with error

    – Sergiy Kolodyazhnyy
    Mar 2 at 2:12












  • Sorry, I couldn't understand. What are you asking me to do ?

    – Saugat Baral
    Mar 2 at 2:13











  • Run the script. After the script exits, run echo $?

    – Sergiy Kolodyazhnyy
    Mar 2 at 2:14















-1















sudo apt install adobe-flashplugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
adobe-flashplugin is already the newest version (1:20190212.1-0ubuntu0.18.10.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up grub-efi-amd64-signed (1.110.2+2.02+dfsg1-5ubuntu8.2) ...
Installing for x86_64-efi platform.
Could not prepare Boot variable: Invalid argument
grub-install: error: efibootmgr failed to register the boot entry: Input/output error.
dpkg: error processing package grub-efi-amd64-signed (--configure):
installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
grub-efi-amd64-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)





##










share|improve this question



















  • 1





    Look into /var/lib/dpkg/info and find the post install script, should be grub-efi-amd64-signed.postinst. Try to run that script and see what is the actual error that it reports. It is not the issue with adobe-flashplugin package, but another package that was installed earlier. Judging from the fact that it's a grub package it might have come via recent update/upgrade

    – Sergiy Kolodyazhnyy
    Mar 2 at 1:49











  • I checked that out but running the script in konsole only shows black screen.

    – Saugat Baral
    Mar 2 at 2:10











  • OK, so it's possible the script does not output anything. What's the exit status reported via echo $? after you run the script ? (Well, in the error message it reports exit status 1), so if it is the case that the script has no output but does return exit status, we'll have to attempt other things to figure out what exactly causes it to exit with error

    – Sergiy Kolodyazhnyy
    Mar 2 at 2:12












  • Sorry, I couldn't understand. What are you asking me to do ?

    – Saugat Baral
    Mar 2 at 2:13











  • Run the script. After the script exits, run echo $?

    – Sergiy Kolodyazhnyy
    Mar 2 at 2:14













-1












-1








-1








sudo apt install adobe-flashplugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
adobe-flashplugin is already the newest version (1:20190212.1-0ubuntu0.18.10.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up grub-efi-amd64-signed (1.110.2+2.02+dfsg1-5ubuntu8.2) ...
Installing for x86_64-efi platform.
Could not prepare Boot variable: Invalid argument
grub-install: error: efibootmgr failed to register the boot entry: Input/output error.
dpkg: error processing package grub-efi-amd64-signed (--configure):
installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
grub-efi-amd64-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)





##










share|improve this question
















sudo apt install adobe-flashplugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
adobe-flashplugin is already the newest version (1:20190212.1-0ubuntu0.18.10.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up grub-efi-amd64-signed (1.110.2+2.02+dfsg1-5ubuntu8.2) ...
Installing for x86_64-efi platform.
Could not prepare Boot variable: Invalid argument
grub-install: error: efibootmgr failed to register the boot entry: Input/output error.
dpkg: error processing package grub-efi-amd64-signed (--configure):
installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
grub-efi-amd64-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)





##







grub kubuntu






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 2 at 7:24









Rui F Ribeiro

41.9k1483142




41.9k1483142










asked Mar 2 at 1:25









Saugat BaralSaugat Baral

11




11







  • 1





    Look into /var/lib/dpkg/info and find the post install script, should be grub-efi-amd64-signed.postinst. Try to run that script and see what is the actual error that it reports. It is not the issue with adobe-flashplugin package, but another package that was installed earlier. Judging from the fact that it's a grub package it might have come via recent update/upgrade

    – Sergiy Kolodyazhnyy
    Mar 2 at 1:49











  • I checked that out but running the script in konsole only shows black screen.

    – Saugat Baral
    Mar 2 at 2:10











  • OK, so it's possible the script does not output anything. What's the exit status reported via echo $? after you run the script ? (Well, in the error message it reports exit status 1), so if it is the case that the script has no output but does return exit status, we'll have to attempt other things to figure out what exactly causes it to exit with error

    – Sergiy Kolodyazhnyy
    Mar 2 at 2:12












  • Sorry, I couldn't understand. What are you asking me to do ?

    – Saugat Baral
    Mar 2 at 2:13











  • Run the script. After the script exits, run echo $?

    – Sergiy Kolodyazhnyy
    Mar 2 at 2:14












  • 1





    Look into /var/lib/dpkg/info and find the post install script, should be grub-efi-amd64-signed.postinst. Try to run that script and see what is the actual error that it reports. It is not the issue with adobe-flashplugin package, but another package that was installed earlier. Judging from the fact that it's a grub package it might have come via recent update/upgrade

    – Sergiy Kolodyazhnyy
    Mar 2 at 1:49











  • I checked that out but running the script in konsole only shows black screen.

    – Saugat Baral
    Mar 2 at 2:10











  • OK, so it's possible the script does not output anything. What's the exit status reported via echo $? after you run the script ? (Well, in the error message it reports exit status 1), so if it is the case that the script has no output but does return exit status, we'll have to attempt other things to figure out what exactly causes it to exit with error

    – Sergiy Kolodyazhnyy
    Mar 2 at 2:12












  • Sorry, I couldn't understand. What are you asking me to do ?

    – Saugat Baral
    Mar 2 at 2:13











  • Run the script. After the script exits, run echo $?

    – Sergiy Kolodyazhnyy
    Mar 2 at 2:14







1




1





Look into /var/lib/dpkg/info and find the post install script, should be grub-efi-amd64-signed.postinst. Try to run that script and see what is the actual error that it reports. It is not the issue with adobe-flashplugin package, but another package that was installed earlier. Judging from the fact that it's a grub package it might have come via recent update/upgrade

– Sergiy Kolodyazhnyy
Mar 2 at 1:49





Look into /var/lib/dpkg/info and find the post install script, should be grub-efi-amd64-signed.postinst. Try to run that script and see what is the actual error that it reports. It is not the issue with adobe-flashplugin package, but another package that was installed earlier. Judging from the fact that it's a grub package it might have come via recent update/upgrade

– Sergiy Kolodyazhnyy
Mar 2 at 1:49













I checked that out but running the script in konsole only shows black screen.

– Saugat Baral
Mar 2 at 2:10





I checked that out but running the script in konsole only shows black screen.

– Saugat Baral
Mar 2 at 2:10













OK, so it's possible the script does not output anything. What's the exit status reported via echo $? after you run the script ? (Well, in the error message it reports exit status 1), so if it is the case that the script has no output but does return exit status, we'll have to attempt other things to figure out what exactly causes it to exit with error

– Sergiy Kolodyazhnyy
Mar 2 at 2:12






OK, so it's possible the script does not output anything. What's the exit status reported via echo $? after you run the script ? (Well, in the error message it reports exit status 1), so if it is the case that the script has no output but does return exit status, we'll have to attempt other things to figure out what exactly causes it to exit with error

– Sergiy Kolodyazhnyy
Mar 2 at 2:12














Sorry, I couldn't understand. What are you asking me to do ?

– Saugat Baral
Mar 2 at 2:13





Sorry, I couldn't understand. What are you asking me to do ?

– Saugat Baral
Mar 2 at 2:13













Run the script. After the script exits, run echo $?

– Sergiy Kolodyazhnyy
Mar 2 at 2:14





Run the script. After the script exits, run echo $?

– Sergiy Kolodyazhnyy
Mar 2 at 2:14










0






active

oldest

votes












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f503899%2fproblem-in-kubuntu-while-installing-files-how-to-solve-e-sub-process-usr%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 Unix & Linux Stack Exchange!


  • 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%2funix.stackexchange.com%2fquestions%2f503899%2fproblem-in-kubuntu-while-installing-files-how-to-solve-e-sub-process-usr%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

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay