E: Sub-process /usr/bin/dpkg returned an error code (1) Ubuntu 14.04 LTS
After doing :
sudo apt-get -f install
I get :
Errors were encountered while processing:
apturl
gaphor
gdebi
gdebi-core
gnome-applets-data
gnome-orca
gnome-sudoku
guake
nvidia-prime
onboard
soundconverter
python-gnome2
python-pip
python3-commandnotfound
python3-uno
software-center
terminator
usb-creator-gtk
usb-creator-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
I cannnot install anything with apt-get ,can't open ubuntu settings basically i have only gedit,chromium browser,and terminal.
I tried everything but still can't figure this out.
14.04 apt package-management software-installation dpkg
add a comment |
After doing :
sudo apt-get -f install
I get :
Errors were encountered while processing:
apturl
gaphor
gdebi
gdebi-core
gnome-applets-data
gnome-orca
gnome-sudoku
guake
nvidia-prime
onboard
soundconverter
python-gnome2
python-pip
python3-commandnotfound
python3-uno
software-center
terminator
usb-creator-gtk
usb-creator-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
I cannnot install anything with apt-get ,can't open ubuntu settings basically i have only gedit,chromium browser,and terminal.
I tried everything but still can't figure this out.
14.04 apt package-management software-installation dpkg
the output ofsudo dpkg --configure -a
?
– GAD3R
Mar 25 '16 at 10:46
No output after running it
– Youssef Kamoun
Mar 25 '16 at 10:50
trysudo apt-get remove --purge getdeb-repository
andsudo apt-get autoremove ´ && sudo apt-get update
– GAD3R
Mar 25 '16 at 10:56
unable to locate gedeb-repository
– Youssef Kamoun
Mar 25 '16 at 11:13
add a comment |
After doing :
sudo apt-get -f install
I get :
Errors were encountered while processing:
apturl
gaphor
gdebi
gdebi-core
gnome-applets-data
gnome-orca
gnome-sudoku
guake
nvidia-prime
onboard
soundconverter
python-gnome2
python-pip
python3-commandnotfound
python3-uno
software-center
terminator
usb-creator-gtk
usb-creator-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
I cannnot install anything with apt-get ,can't open ubuntu settings basically i have only gedit,chromium browser,and terminal.
I tried everything but still can't figure this out.
14.04 apt package-management software-installation dpkg
After doing :
sudo apt-get -f install
I get :
Errors were encountered while processing:
apturl
gaphor
gdebi
gdebi-core
gnome-applets-data
gnome-orca
gnome-sudoku
guake
nvidia-prime
onboard
soundconverter
python-gnome2
python-pip
python3-commandnotfound
python3-uno
software-center
terminator
usb-creator-gtk
usb-creator-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
I cannnot install anything with apt-get ,can't open ubuntu settings basically i have only gedit,chromium browser,and terminal.
I tried everything but still can't figure this out.
14.04 apt package-management software-installation dpkg
14.04 apt package-management software-installation dpkg
asked Mar 25 '16 at 10:40
Youssef KamounYoussef Kamoun
111
111
the output ofsudo dpkg --configure -a
?
– GAD3R
Mar 25 '16 at 10:46
No output after running it
– Youssef Kamoun
Mar 25 '16 at 10:50
trysudo apt-get remove --purge getdeb-repository
andsudo apt-get autoremove ´ && sudo apt-get update
– GAD3R
Mar 25 '16 at 10:56
unable to locate gedeb-repository
– Youssef Kamoun
Mar 25 '16 at 11:13
add a comment |
the output ofsudo dpkg --configure -a
?
– GAD3R
Mar 25 '16 at 10:46
No output after running it
– Youssef Kamoun
Mar 25 '16 at 10:50
trysudo apt-get remove --purge getdeb-repository
andsudo apt-get autoremove ´ && sudo apt-get update
– GAD3R
Mar 25 '16 at 10:56
unable to locate gedeb-repository
– Youssef Kamoun
Mar 25 '16 at 11:13
the output of
sudo dpkg --configure -a
?– GAD3R
Mar 25 '16 at 10:46
the output of
sudo dpkg --configure -a
?– GAD3R
Mar 25 '16 at 10:46
No output after running it
– Youssef Kamoun
Mar 25 '16 at 10:50
No output after running it
– Youssef Kamoun
Mar 25 '16 at 10:50
try
sudo apt-get remove --purge getdeb-repository
and sudo apt-get autoremove ´ && sudo apt-get update
– GAD3R
Mar 25 '16 at 10:56
try
sudo apt-get remove --purge getdeb-repository
and sudo apt-get autoremove ´ && sudo apt-get update
– GAD3R
Mar 25 '16 at 10:56
unable to locate gedeb-repository
– Youssef Kamoun
Mar 25 '16 at 11:13
unable to locate gedeb-repository
– Youssef Kamoun
Mar 25 '16 at 11:13
add a comment |
1 Answer
1
active
oldest
votes
Try the following command:
sudo rm /var/lib/apt/lists/lock
backup
sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
replace
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
purge
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
sudo rm /var/cache/apt/*.bin
and try:
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo apt-get install -f
sudo apt-get update
sudo apt-get upgrade
Edit
Reboot your system choose the Recovery Mode option below the default entry. When you get to a command-line login prompt, simply type your username, hit Enter, then enter your password, and hit Enter.
You will get to the Recovery Menu, on which you choose the dpkg option. You will need to be connected to the internet for it to retrieve the packages it needs.
It didn't work :(
– Youssef Kamoun
Mar 25 '16 at 12:16
I will try that after Backing up my files :)
– Youssef Kamoun
Mar 25 '16 at 12:41
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%2f750033%2fe-sub-process-usr-bin-dpkg-returned-an-error-code-1-ubuntu-14-04-lts%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
Try the following command:
sudo rm /var/lib/apt/lists/lock
backup
sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
replace
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
purge
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
sudo rm /var/cache/apt/*.bin
and try:
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo apt-get install -f
sudo apt-get update
sudo apt-get upgrade
Edit
Reboot your system choose the Recovery Mode option below the default entry. When you get to a command-line login prompt, simply type your username, hit Enter, then enter your password, and hit Enter.
You will get to the Recovery Menu, on which you choose the dpkg option. You will need to be connected to the internet for it to retrieve the packages it needs.
It didn't work :(
– Youssef Kamoun
Mar 25 '16 at 12:16
I will try that after Backing up my files :)
– Youssef Kamoun
Mar 25 '16 at 12:41
add a comment |
Try the following command:
sudo rm /var/lib/apt/lists/lock
backup
sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
replace
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
purge
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
sudo rm /var/cache/apt/*.bin
and try:
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo apt-get install -f
sudo apt-get update
sudo apt-get upgrade
Edit
Reboot your system choose the Recovery Mode option below the default entry. When you get to a command-line login prompt, simply type your username, hit Enter, then enter your password, and hit Enter.
You will get to the Recovery Menu, on which you choose the dpkg option. You will need to be connected to the internet for it to retrieve the packages it needs.
It didn't work :(
– Youssef Kamoun
Mar 25 '16 at 12:16
I will try that after Backing up my files :)
– Youssef Kamoun
Mar 25 '16 at 12:41
add a comment |
Try the following command:
sudo rm /var/lib/apt/lists/lock
backup
sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
replace
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
purge
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
sudo rm /var/cache/apt/*.bin
and try:
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo apt-get install -f
sudo apt-get update
sudo apt-get upgrade
Edit
Reboot your system choose the Recovery Mode option below the default entry. When you get to a command-line login prompt, simply type your username, hit Enter, then enter your password, and hit Enter.
You will get to the Recovery Menu, on which you choose the dpkg option. You will need to be connected to the internet for it to retrieve the packages it needs.
Try the following command:
sudo rm /var/lib/apt/lists/lock
backup
sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
replace
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
purge
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
sudo rm /var/cache/apt/*.bin
and try:
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo apt-get install -f
sudo apt-get update
sudo apt-get upgrade
Edit
Reboot your system choose the Recovery Mode option below the default entry. When you get to a command-line login prompt, simply type your username, hit Enter, then enter your password, and hit Enter.
You will get to the Recovery Menu, on which you choose the dpkg option. You will need to be connected to the internet for it to retrieve the packages it needs.
edited Mar 25 '16 at 12:26
answered Mar 25 '16 at 11:36
GAD3RGAD3R
1,523821
1,523821
It didn't work :(
– Youssef Kamoun
Mar 25 '16 at 12:16
I will try that after Backing up my files :)
– Youssef Kamoun
Mar 25 '16 at 12:41
add a comment |
It didn't work :(
– Youssef Kamoun
Mar 25 '16 at 12:16
I will try that after Backing up my files :)
– Youssef Kamoun
Mar 25 '16 at 12:41
It didn't work :(
– Youssef Kamoun
Mar 25 '16 at 12:16
It didn't work :(
– Youssef Kamoun
Mar 25 '16 at 12:16
I will try that after Backing up my files :)
– Youssef Kamoun
Mar 25 '16 at 12:41
I will try that after Backing up my files :)
– Youssef Kamoun
Mar 25 '16 at 12:41
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%2f750033%2fe-sub-process-usr-bin-dpkg-returned-an-error-code-1-ubuntu-14-04-lts%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
the output of
sudo dpkg --configure -a
?– GAD3R
Mar 25 '16 at 10:46
No output after running it
– Youssef Kamoun
Mar 25 '16 at 10:50
try
sudo apt-get remove --purge getdeb-repository
andsudo apt-get autoremove ´ && sudo apt-get update
– GAD3R
Mar 25 '16 at 10:56
unable to locate gedeb-repository
– Youssef Kamoun
Mar 25 '16 at 11:13