Xubuntu software update failed

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











up vote
0
down vote

favorite












I tried to make update on my system (4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:37:27 UTC 2018 i686 i686 i686 GNU/Linux ) via software updater but the update failed. So I tried to make the update via apt-get command but also not successfully. There was this output:



Do you want to continue? [Y/n] y Get:1 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main i386 ubuntu-release-upgrader-gtk all 1:18.04.24 [9 360 B] Get:2 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main i386 ubuntu-release-upgrader-core all 1:18.04.24 [24,3 kB] Get:3 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main i386 python3-distupgrade all 1:18.04.24 [105 kB] Fetched 139 kB in 0s (881 kB/s)
Extracting templates from packages: 100% Preconfiguring packages ... Setting up install-info (6.5.0.dfsg.1-2) ... /usr/sbin/update-info-dir: 3: /etc/environment: Syntax error: Unterminated quoted string dpkg: error processing package install-info (--configure): installed install-info package post-installation script subprocess returned error exit status 2 Errors were encountered while processing: install-info



What was wrong?



Thank you










share|improve this question























  • Please post your terminal session as a code block, and describe what “failed” means.
    – G-Man
    Aug 19 at 20:44










  • Could you please edit your question and include the command you've executed? Also give the contents of your /etc/environment file using cat /etc/environment
    – Dipankar Nalui
    Aug 20 at 6:07










  • From the output we understand that there is Syntax error in the file /etc/environment.
    – Dipankar Nalui
    Aug 20 at 6:10














up vote
0
down vote

favorite












I tried to make update on my system (4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:37:27 UTC 2018 i686 i686 i686 GNU/Linux ) via software updater but the update failed. So I tried to make the update via apt-get command but also not successfully. There was this output:



Do you want to continue? [Y/n] y Get:1 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main i386 ubuntu-release-upgrader-gtk all 1:18.04.24 [9 360 B] Get:2 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main i386 ubuntu-release-upgrader-core all 1:18.04.24 [24,3 kB] Get:3 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main i386 python3-distupgrade all 1:18.04.24 [105 kB] Fetched 139 kB in 0s (881 kB/s)
Extracting templates from packages: 100% Preconfiguring packages ... Setting up install-info (6.5.0.dfsg.1-2) ... /usr/sbin/update-info-dir: 3: /etc/environment: Syntax error: Unterminated quoted string dpkg: error processing package install-info (--configure): installed install-info package post-installation script subprocess returned error exit status 2 Errors were encountered while processing: install-info



What was wrong?



Thank you










share|improve this question























  • Please post your terminal session as a code block, and describe what “failed” means.
    – G-Man
    Aug 19 at 20:44










  • Could you please edit your question and include the command you've executed? Also give the contents of your /etc/environment file using cat /etc/environment
    – Dipankar Nalui
    Aug 20 at 6:07










  • From the output we understand that there is Syntax error in the file /etc/environment.
    – Dipankar Nalui
    Aug 20 at 6:10












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I tried to make update on my system (4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:37:27 UTC 2018 i686 i686 i686 GNU/Linux ) via software updater but the update failed. So I tried to make the update via apt-get command but also not successfully. There was this output:



Do you want to continue? [Y/n] y Get:1 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main i386 ubuntu-release-upgrader-gtk all 1:18.04.24 [9 360 B] Get:2 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main i386 ubuntu-release-upgrader-core all 1:18.04.24 [24,3 kB] Get:3 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main i386 python3-distupgrade all 1:18.04.24 [105 kB] Fetched 139 kB in 0s (881 kB/s)
Extracting templates from packages: 100% Preconfiguring packages ... Setting up install-info (6.5.0.dfsg.1-2) ... /usr/sbin/update-info-dir: 3: /etc/environment: Syntax error: Unterminated quoted string dpkg: error processing package install-info (--configure): installed install-info package post-installation script subprocess returned error exit status 2 Errors were encountered while processing: install-info



What was wrong?



Thank you










share|improve this question















I tried to make update on my system (4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:37:27 UTC 2018 i686 i686 i686 GNU/Linux ) via software updater but the update failed. So I tried to make the update via apt-get command but also not successfully. There was this output:



Do you want to continue? [Y/n] y Get:1 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main i386 ubuntu-release-upgrader-gtk all 1:18.04.24 [9 360 B] Get:2 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main i386 ubuntu-release-upgrader-core all 1:18.04.24 [24,3 kB] Get:3 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main i386 python3-distupgrade all 1:18.04.24 [105 kB] Fetched 139 kB in 0s (881 kB/s)
Extracting templates from packages: 100% Preconfiguring packages ... Setting up install-info (6.5.0.dfsg.1-2) ... /usr/sbin/update-info-dir: 3: /etc/environment: Syntax error: Unterminated quoted string dpkg: error processing package install-info (--configure): installed install-info package post-installation script subprocess returned error exit status 2 Errors were encountered while processing: install-info



What was wrong?



Thank you







xubuntu






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 20 at 5:32

























asked Aug 19 at 20:28









Sir Montes

83




83











  • Please post your terminal session as a code block, and describe what “failed” means.
    – G-Man
    Aug 19 at 20:44










  • Could you please edit your question and include the command you've executed? Also give the contents of your /etc/environment file using cat /etc/environment
    – Dipankar Nalui
    Aug 20 at 6:07










  • From the output we understand that there is Syntax error in the file /etc/environment.
    – Dipankar Nalui
    Aug 20 at 6:10
















  • Please post your terminal session as a code block, and describe what “failed” means.
    – G-Man
    Aug 19 at 20:44










  • Could you please edit your question and include the command you've executed? Also give the contents of your /etc/environment file using cat /etc/environment
    – Dipankar Nalui
    Aug 20 at 6:07










  • From the output we understand that there is Syntax error in the file /etc/environment.
    – Dipankar Nalui
    Aug 20 at 6:10















Please post your terminal session as a code block, and describe what “failed” means.
– G-Man
Aug 19 at 20:44




Please post your terminal session as a code block, and describe what “failed” means.
– G-Man
Aug 19 at 20:44












Could you please edit your question and include the command you've executed? Also give the contents of your /etc/environment file using cat /etc/environment
– Dipankar Nalui
Aug 20 at 6:07




Could you please edit your question and include the command you've executed? Also give the contents of your /etc/environment file using cat /etc/environment
– Dipankar Nalui
Aug 20 at 6:07












From the output we understand that there is Syntax error in the file /etc/environment.
– Dipankar Nalui
Aug 20 at 6:10




From the output we understand that there is Syntax error in the file /etc/environment.
– Dipankar Nalui
Aug 20 at 6:10










1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










Check, if you have all needed folders in enviroment PATH like this:



# sudo echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


If not, you need correct this through adding appropriate folders to PATH variable.



Additionally check syntax at this file:



# sudo nano /etc/environment


All missing a " must be there.






share|improve this answer






















  • Thank you, there was missing quotes in JAVA_HOME path in /etc/environment file.
    – Sir Montes
    Aug 25 at 7:53










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',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
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%2f463535%2fxubuntu-software-update-failed%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote



accepted










Check, if you have all needed folders in enviroment PATH like this:



# sudo echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


If not, you need correct this through adding appropriate folders to PATH variable.



Additionally check syntax at this file:



# sudo nano /etc/environment


All missing a " must be there.






share|improve this answer






















  • Thank you, there was missing quotes in JAVA_HOME path in /etc/environment file.
    – Sir Montes
    Aug 25 at 7:53














up vote
0
down vote



accepted










Check, if you have all needed folders in enviroment PATH like this:



# sudo echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


If not, you need correct this through adding appropriate folders to PATH variable.



Additionally check syntax at this file:



# sudo nano /etc/environment


All missing a " must be there.






share|improve this answer






















  • Thank you, there was missing quotes in JAVA_HOME path in /etc/environment file.
    – Sir Montes
    Aug 25 at 7:53












up vote
0
down vote



accepted







up vote
0
down vote



accepted






Check, if you have all needed folders in enviroment PATH like this:



# sudo echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


If not, you need correct this through adding appropriate folders to PATH variable.



Additionally check syntax at this file:



# sudo nano /etc/environment


All missing a " must be there.






share|improve this answer














Check, if you have all needed folders in enviroment PATH like this:



# sudo echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


If not, you need correct this through adding appropriate folders to PATH variable.



Additionally check syntax at this file:



# sudo nano /etc/environment


All missing a " must be there.







share|improve this answer














share|improve this answer



share|improve this answer








edited Aug 19 at 21:36

























answered Aug 19 at 21:31









Adminisrator

314




314











  • Thank you, there was missing quotes in JAVA_HOME path in /etc/environment file.
    – Sir Montes
    Aug 25 at 7:53
















  • Thank you, there was missing quotes in JAVA_HOME path in /etc/environment file.
    – Sir Montes
    Aug 25 at 7:53















Thank you, there was missing quotes in JAVA_HOME path in /etc/environment file.
– Sir Montes
Aug 25 at 7:53




Thank you, there was missing quotes in JAVA_HOME path in /etc/environment file.
– Sir Montes
Aug 25 at 7:53

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f463535%2fxubuntu-software-update-failed%23new-answer', 'question_page');

);

Post as a guest













































































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