error while installing lsb-release package












1















I tried to install lsb-release using sudo apt install lsb-release and I'm getting this error:
Sub-process /usr/bin/dpkg returned an error code (1)



what is this dpkg error and how to resolve it?
Is it necesary to install this package to run python(Image processing) codes..or can we continue without it?










share|improve this question


















  • 1





    dpkg almost for all errors return error code (1). So what's the actual error?

    – Kulfy
    Feb 3 at 13:09











  • I'm totally new to Linux and I thought dpkg module has some error in it...Thanks for pointing out..I'll try to find out what the actual error is.

    – Keerti
    Feb 3 at 13:41






  • 1





    In the post you have written I tried to install lsb-release using sudo apt install lsb-release and I'm getting this error:, if the error is while installing it must occur again. Try sudo apt install lsb-release in terminal and paste the whole and exact error message you'd receive.

    – Kulfy
    Feb 3 at 13:46













  • This was the error: "Errors were encountered while processing: tzdata" and I'm getting the same error while I'm running sudo apt upgrade

    – Keerti
    Feb 3 at 17:42













  • Please paste the exact output to question body. One line error message sometimes is not sufficient.

    – Kulfy
    Feb 4 at 8:20
















1















I tried to install lsb-release using sudo apt install lsb-release and I'm getting this error:
Sub-process /usr/bin/dpkg returned an error code (1)



what is this dpkg error and how to resolve it?
Is it necesary to install this package to run python(Image processing) codes..or can we continue without it?










share|improve this question


















  • 1





    dpkg almost for all errors return error code (1). So what's the actual error?

    – Kulfy
    Feb 3 at 13:09











  • I'm totally new to Linux and I thought dpkg module has some error in it...Thanks for pointing out..I'll try to find out what the actual error is.

    – Keerti
    Feb 3 at 13:41






  • 1





    In the post you have written I tried to install lsb-release using sudo apt install lsb-release and I'm getting this error:, if the error is while installing it must occur again. Try sudo apt install lsb-release in terminal and paste the whole and exact error message you'd receive.

    – Kulfy
    Feb 3 at 13:46













  • This was the error: "Errors were encountered while processing: tzdata" and I'm getting the same error while I'm running sudo apt upgrade

    – Keerti
    Feb 3 at 17:42













  • Please paste the exact output to question body. One line error message sometimes is not sufficient.

    – Kulfy
    Feb 4 at 8:20














1












1








1








I tried to install lsb-release using sudo apt install lsb-release and I'm getting this error:
Sub-process /usr/bin/dpkg returned an error code (1)



what is this dpkg error and how to resolve it?
Is it necesary to install this package to run python(Image processing) codes..or can we continue without it?










share|improve this question














I tried to install lsb-release using sudo apt install lsb-release and I'm getting this error:
Sub-process /usr/bin/dpkg returned an error code (1)



what is this dpkg error and how to resolve it?
Is it necesary to install this package to run python(Image processing) codes..or can we continue without it?







xubuntu dpkg lsb-release






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 3 at 12:56









KeertiKeerti

61




61








  • 1





    dpkg almost for all errors return error code (1). So what's the actual error?

    – Kulfy
    Feb 3 at 13:09











  • I'm totally new to Linux and I thought dpkg module has some error in it...Thanks for pointing out..I'll try to find out what the actual error is.

    – Keerti
    Feb 3 at 13:41






  • 1





    In the post you have written I tried to install lsb-release using sudo apt install lsb-release and I'm getting this error:, if the error is while installing it must occur again. Try sudo apt install lsb-release in terminal and paste the whole and exact error message you'd receive.

    – Kulfy
    Feb 3 at 13:46













  • This was the error: "Errors were encountered while processing: tzdata" and I'm getting the same error while I'm running sudo apt upgrade

    – Keerti
    Feb 3 at 17:42













  • Please paste the exact output to question body. One line error message sometimes is not sufficient.

    – Kulfy
    Feb 4 at 8:20














  • 1





    dpkg almost for all errors return error code (1). So what's the actual error?

    – Kulfy
    Feb 3 at 13:09











  • I'm totally new to Linux and I thought dpkg module has some error in it...Thanks for pointing out..I'll try to find out what the actual error is.

    – Keerti
    Feb 3 at 13:41






  • 1





    In the post you have written I tried to install lsb-release using sudo apt install lsb-release and I'm getting this error:, if the error is while installing it must occur again. Try sudo apt install lsb-release in terminal and paste the whole and exact error message you'd receive.

    – Kulfy
    Feb 3 at 13:46













  • This was the error: "Errors were encountered while processing: tzdata" and I'm getting the same error while I'm running sudo apt upgrade

    – Keerti
    Feb 3 at 17:42













  • Please paste the exact output to question body. One line error message sometimes is not sufficient.

    – Kulfy
    Feb 4 at 8:20








1




1





dpkg almost for all errors return error code (1). So what's the actual error?

– Kulfy
Feb 3 at 13:09





dpkg almost for all errors return error code (1). So what's the actual error?

– Kulfy
Feb 3 at 13:09













I'm totally new to Linux and I thought dpkg module has some error in it...Thanks for pointing out..I'll try to find out what the actual error is.

– Keerti
Feb 3 at 13:41





I'm totally new to Linux and I thought dpkg module has some error in it...Thanks for pointing out..I'll try to find out what the actual error is.

– Keerti
Feb 3 at 13:41




1




1





In the post you have written I tried to install lsb-release using sudo apt install lsb-release and I'm getting this error:, if the error is while installing it must occur again. Try sudo apt install lsb-release in terminal and paste the whole and exact error message you'd receive.

– Kulfy
Feb 3 at 13:46







In the post you have written I tried to install lsb-release using sudo apt install lsb-release and I'm getting this error:, if the error is while installing it must occur again. Try sudo apt install lsb-release in terminal and paste the whole and exact error message you'd receive.

– Kulfy
Feb 3 at 13:46















This was the error: "Errors were encountered while processing: tzdata" and I'm getting the same error while I'm running sudo apt upgrade

– Keerti
Feb 3 at 17:42







This was the error: "Errors were encountered while processing: tzdata" and I'm getting the same error while I'm running sudo apt upgrade

– Keerti
Feb 3 at 17:42















Please paste the exact output to question body. One line error message sometimes is not sufficient.

– Kulfy
Feb 4 at 8:20





Please paste the exact output to question body. One line error message sometimes is not sufficient.

– Kulfy
Feb 4 at 8:20










1 Answer
1






active

oldest

votes


















1














lsb-release is usually installed by default



To check if lsb-release package is already installed use:



$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial


Error may apply to all packages



The error message may apply to all packages, not just lsb-release. From:




  • How To Solve “sub process usr bin dpkg returned an error code 1″ Error in Ubuntu


These are the most common steps to solve the error:



Method 1: Reconfigure Package Database



The first method you can try is to reconfigure the package database. Probably the database got corrupted while installing a package. Reconfiguring often fixes the problem.



sudo dpkg --configure -a


Method 2: Use force install



If a package installation was interrupted previously, you may try to do a force install.



sudo apt-get install -f





share|improve this answer


























  • Thanks for ur answer...the post you've share did help a lot..

    – Keerti
    Feb 3 at 17:36











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%2f1115243%2ferror-while-installing-lsb-release-package%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









1














lsb-release is usually installed by default



To check if lsb-release package is already installed use:



$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial


Error may apply to all packages



The error message may apply to all packages, not just lsb-release. From:




  • How To Solve “sub process usr bin dpkg returned an error code 1″ Error in Ubuntu


These are the most common steps to solve the error:



Method 1: Reconfigure Package Database



The first method you can try is to reconfigure the package database. Probably the database got corrupted while installing a package. Reconfiguring often fixes the problem.



sudo dpkg --configure -a


Method 2: Use force install



If a package installation was interrupted previously, you may try to do a force install.



sudo apt-get install -f





share|improve this answer


























  • Thanks for ur answer...the post you've share did help a lot..

    – Keerti
    Feb 3 at 17:36
















1














lsb-release is usually installed by default



To check if lsb-release package is already installed use:



$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial


Error may apply to all packages



The error message may apply to all packages, not just lsb-release. From:




  • How To Solve “sub process usr bin dpkg returned an error code 1″ Error in Ubuntu


These are the most common steps to solve the error:



Method 1: Reconfigure Package Database



The first method you can try is to reconfigure the package database. Probably the database got corrupted while installing a package. Reconfiguring often fixes the problem.



sudo dpkg --configure -a


Method 2: Use force install



If a package installation was interrupted previously, you may try to do a force install.



sudo apt-get install -f





share|improve this answer


























  • Thanks for ur answer...the post you've share did help a lot..

    – Keerti
    Feb 3 at 17:36














1












1








1







lsb-release is usually installed by default



To check if lsb-release package is already installed use:



$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial


Error may apply to all packages



The error message may apply to all packages, not just lsb-release. From:




  • How To Solve “sub process usr bin dpkg returned an error code 1″ Error in Ubuntu


These are the most common steps to solve the error:



Method 1: Reconfigure Package Database



The first method you can try is to reconfigure the package database. Probably the database got corrupted while installing a package. Reconfiguring often fixes the problem.



sudo dpkg --configure -a


Method 2: Use force install



If a package installation was interrupted previously, you may try to do a force install.



sudo apt-get install -f





share|improve this answer















lsb-release is usually installed by default



To check if lsb-release package is already installed use:



$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial


Error may apply to all packages



The error message may apply to all packages, not just lsb-release. From:




  • How To Solve “sub process usr bin dpkg returned an error code 1″ Error in Ubuntu


These are the most common steps to solve the error:



Method 1: Reconfigure Package Database



The first method you can try is to reconfigure the package database. Probably the database got corrupted while installing a package. Reconfiguring often fixes the problem.



sudo dpkg --configure -a


Method 2: Use force install



If a package installation was interrupted previously, you may try to do a force install.



sudo apt-get install -f






share|improve this answer














share|improve this answer



share|improve this answer








edited Feb 3 at 13:25

























answered Feb 3 at 13:08









WinEunuuchs2UnixWinEunuuchs2Unix

45.9k1189180




45.9k1189180













  • Thanks for ur answer...the post you've share did help a lot..

    – Keerti
    Feb 3 at 17:36



















  • Thanks for ur answer...the post you've share did help a lot..

    – Keerti
    Feb 3 at 17:36

















Thanks for ur answer...the post you've share did help a lot..

– Keerti
Feb 3 at 17:36





Thanks for ur answer...the post you've share did help a lot..

– Keerti
Feb 3 at 17:36


















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%2f1115243%2ferror-while-installing-lsb-release-package%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 make a Squid Proxy server?

Is this a new Fibonacci Identity?

19世紀