error while installing lsb-release package
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
add a comment |
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
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. Trysudo 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
add a comment |
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
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
xubuntu dpkg lsb-release
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. Trysudo 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
add a comment |
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. Trysudo 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
add a comment |
1 Answer
1
active
oldest
votes
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
Thanks for ur answer...the post you've share did help a lot..
– Keerti
Feb 3 at 17:36
add a comment |
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%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
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
Thanks for ur answer...the post you've share did help a lot..
– Keerti
Feb 3 at 17:36
add a comment |
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
Thanks for ur answer...the post you've share did help a lot..
– Keerti
Feb 3 at 17:36
add a comment |
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
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
edited Feb 3 at 13:25
answered Feb 3 at 13:08
WinEunuuchs2UnixWinEunuuchs2Unix
47.2k1190183
47.2k1190183
Thanks for ur answer...the post you've share did help a lot..
– Keerti
Feb 3 at 17:36
add a comment |
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
add a comment |
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%2f1115243%2ferror-while-installing-lsb-release-package%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
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