Unable to install updates
I tried many times to install updates. After clicking on install, after authentication it starts and then says :- REQUIRES INSTALLATION OF UNTRUSTED PACKAGES . This requires installing packages from unauthenticated sources.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu xorg Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
For diagnostic purposes please provide the output of the following commands (to be executed in a terminal window):
uname -a
lsb_release -crid
sudo apt-get update
Revision history for this message
|
#2 |
uname -a
Linux denisito-
lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
sudo apt-get update
[sudo] password for denisito:
_______
From: <email address hidden> <email address hidden> on behalf of Manfred Hampl <email address hidden>
Sent: 21 March 2018 08:19
To: <email address hidden>
Subject: Re: [Question #666898]: Unable to install updates
Your question #666898 on xorg in Ubuntu changed:
https:/
Question #666898 : Questions : xorg package : Ubuntu<https:/
answers.
I tried many times to install updates. After clicking on install, after authentication it starts and then says :- REQUIRES INSTALLATION OF UNTRUSTED PACKAGES . This requires installing packages from unauthenticated sources.
Status: Open => Needs information
Manfred Hampl requested more information:
For diagnostic purposes please provide the output of the following
commands (to be executed in a terminal window):
uname -a
Linux denisito-
lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
sudo apt-get update
[sudo] password for denisito:
--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https:/
You received this question notification because you asked the question.
Revision history for this message
|
#3 |
You have to type your password at the "[sudo] password for denisito:" prompt (as a confirmation for an administrative action), but please note tat you will not get any feedback (no echo, not even '*' placeholders).
Please try again and copy/paste all output.
Revision history for this message
|
#4 |
[sudo] password for denisito:
Get:1 http://
Get:2 http://
Ign:1 http://
Get:3 http://
Ign:2 http://
Get:4 http://
Ign:3 http://
Ign:4 http://
Fetched 553 kB in 4s (137 kB/s)
Reading package lists... Done
W: GPG error: http://
W: The repository 'http://
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://
W: The repository 'http://
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://
W: The repository 'http://
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://
W: The repository 'http://
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
denisito@
_______
From: <email address hidden> <email address hidden> on behalf of Manfred Hampl <email address hidden>
Sent: 21 March 2018 09:47
To: <email address hidden>
Subject: Re: [Question #666898]: Unable to install updates
Your question #666898 on xorg in Ubuntu changed:
https:/
Question #666898 : Questions : xorg package : Ubuntu<https:/
answers.
I tried many times to install updates. After clicking on install, after authentication it starts and then says :- REQUIRES INSTALLATION OF UNTRUSTED PACKAGES . This requires installing packages from unauthenticated sources.
Status: Open => Needs information
Manfred Hampl requested more information:
You have to type your password at the "[sudo] password for denisito:"
prompt (as a confirmation for an administrative action), but please note
tat you will not get any feedback (no echo, not even '*' placeholders).
Please try again and copy/paste all output.
--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https:/
You received this question notification because you asked the question.
Revision history for this message
|
#5 |
What is the output of the command
ls -l /etc/apt/
Revision history for this message
|
#6 |
ls -l /etc/apt/
-rw-r--r-- 1 root root 12255 Mar 21 08:03 /etc/apt/
-rw------- 1 root root 1216 Apr 18 2014 /etc/apt/
-rw------- 1 root root 1216 Apr 18 2014 /etc/apt/
_______
From: <email address hidden> <email address hidden> on behalf of Manfred Hampl <email address hidden>
Sent: 21 March 2018 10:09
To: <email address hidden>
Subject: Re: [Question #666898]: Unable to install updates
Your question #666898 on xorg in Ubuntu changed:
https:/
Status: Open => Needs information
Manfred Hampl requested more information:
What is the output of the command
ls -l /etc/apt/
--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https:/
You received this question notification because you asked the question.
Revision history for this message
|
#7 |
Try the command
sudo chmod a+r /etc/apt/
and then re-execute
sudo apt-get update
and finally copy/paste all output as before.
(Remark: If you use e-mail replies to answer, please remove all old information from the e-mail.)
Revision history for this message
|
#8 |
sudo chmod a+r /etc/apt/
denisito@
denisito@
The program 'and' is currently not installed. You can install it by typing:
sudo apt install and
denisito@
denisito@
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Fetched 553 kB in 1s (341 kB/s)
Reading package lists... Done
denisito@
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
and
0 to upgrade, 1 to newly install, 0 to remove and 782 not to upgrade.
Need to get 30.0 kB of archives.
After this operation, 152 kB of additional disk space will be used.
Get:1 http://
Fetched 30.0 kB in 0s (83.1 kB/s)
Selecting previously unselected package and.
(Reading database ... 466370 files and directories currently installed.)
Preparing to unpack .../and_
Unpacking and (1.2.2-4.1) ...
Processing triggers for systemd (229-4ubuntu8) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db (2.7.5-1) ...
Setting up and (1.2.2-4.1) ...
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/
insserv: warning: script 'binfmt-support' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `binfmt-support'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `binfmt-support'
Processing triggers for systemd (229-4ubuntu8) ...
Processing triggers for ureadahead (0.100.0-19) ...
_______
From: <email address hidden> <email address hidden> on behalf of Manfred Hampl <email address hidden>
Sent: 21 March 2018 10:27
To: <email address hidden>
Subject: Re: [Question #666898]: Unable to install updates
Your question #666898 on xorg in Ubuntu changed:
https:/
Question #666898 : Questions : xorg package : Ubuntu<https:/
answers.
I tried many times to install updates. After clicking on install, after authentication it starts and then says :- REQUIRES INSTALLATION OF UNTRUSTED PACKAGES . This requires installing packages from unauthenticated sources.
Status: Open => Needs information
Manfred Hampl requested more information:
Try the command
sudo chmod a+r /etc/apt/
and then re-execute
sudo apt-get update
and finally copy/paste all output as before.
(Remark: If you use e-mail replies to answer, please remove all old
information from the e-mail.)
--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https:/
You received this question notification because you asked the question.
Revision history for this message
|
#9 |
There was a bit of a misunderstanding.
"and then re-execute ..." was part of my comment and should not have been interpreted as a request to install the program "and". In any case I do not expect that this does any harm.
Back to your problem:
It seems that correcting the access rights settings on the encryption key file has solved the problem; there are no error messages for the command "sudo apt-get update" any more.
If you now try updating your system, do you still see that "untrusted packages" warning?
Revision history for this message
|
#10 |
Looks fine now, to me.
If you run:
sudo apt-get update; sudo apt-get upgrade; sudo apt-get dist-upgrade
Is it now up to date? If so then please mark as solved and cite reply #7 as the resolution
Thanks