E: Sub-process /usr/bin/dpkg returned an error code (1) Ubuntu 14.04 LTS












0















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.










share|improve this question














bumped to the homepage by Community 9 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • 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 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
















0















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.










share|improve this question














bumped to the homepage by Community 9 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • 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 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














0












0








0








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.










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 25 '16 at 10:40









Youssef KamounYoussef Kamoun

111




111





bumped to the homepage by Community 9 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 9 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • 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 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



















  • 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 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

















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










1 Answer
1






active

oldest

votes


















0














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.






share|improve this answer


























  • 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











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%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









0














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.






share|improve this answer


























  • 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
















0














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.






share|improve this answer


























  • 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














0












0








0







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.






share|improve this answer















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.







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 25 '16 at 12:26

























answered Mar 25 '16 at 11:36









GAD3RGAD3R

1,511721




1,511721













  • 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











  • 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


















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%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





















































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

GameSpot

日野市

Tu-95轟炸機