Xubuntu software update failed
Clash 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
xubuntu
add a comment |Â
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
xubuntu
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 usingcat /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
add a comment |Â
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
xubuntu
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
xubuntu
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 usingcat /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
add a comment |Â
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 usingcat /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
add a comment |Â
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.
Thank you, there was missing quotes in JAVA_HOME path in /etc/environment file.
â Sir Montes
Aug 25 at 7:53
add a comment |Â
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.
Thank you, there was missing quotes in JAVA_HOME path in /etc/environment file.
â Sir Montes
Aug 25 at 7:53
add a comment |Â
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.
Thank you, there was missing quotes in JAVA_HOME path in /etc/environment file.
â Sir Montes
Aug 25 at 7:53
add a comment |Â
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.
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.
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
add a comment |Â
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
add a comment |Â
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
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
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
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
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
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