Update requires installation of untrusted packages
- Anmelden oder Registrieren um Kommentare zu schreiben
The packages to be updated are:
pparmor apparmor-utils libapparmor-perl libapparmor1 update-notifier update-notifier-common
The error message is:
Requires installation of untrusted packages
The action would require the installation of packages from not authenticated sources.
Why is this happening? It happens with other packages I try to install too, like icetea.
Perhaps the problem is that I don't have any authentication certificates. I looked in Software Sources, Authentication, trusted providers and nothing is listed. I think I need to import some keys. If that is right, how do
I do this? How was I able to update before? Have my keys gone missing somehow?
Thank you!
Here is what happened when I tried to install vnstat.
It told me I didn't need some packages any longer. It also said that there was no verification. Then it said something wicked happened resolving the 'us.archive.trisquel.info:http' (-5 - No address associated with hostname) IT failed to fetch some archives.
I don't know what is going on. Does it matter whether I use aptitude or apt-get?
This is the output:
sudo apt-get install vnstat
[sudo] password for yeehi:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gir1.2-atspi-2.0 libbrlapi0.5 python-speechd liblouis2 python-brlapi
gir1.2-wnck-3.0 python-louis python-pyatspi2 liblouis-data
Use 'apt-get autoremove' to remove them.
Suggested packages:
vnstati
The following NEW packages will be installed:
vnstat
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
Need to get 82.3 kB of archives.
After this operation, 315 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
vnstat
Install these packages without verification [y/N]? y
Err http://us.archive.trisquel.info/trisquel/ brigantia/main vnstat i386 1.11-1
Something wicked happened resolving 'us.archive.trisquel.info:http' (-5 - No address associated with hostname)
Failed to fetch http://us.archive.trisquel.info/trisquel/pool/main/v/vnstat/vnstat_1.11-1_i386.deb Something wicked happened resolving 'us.archive.trisquel.info:http' (-5 - No address associated with hostname)
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Changing mirror might help.
I tried all the various different mirrors. I couldn't get the system to update from any of them. I am able to reach web pages ok and surf the internet. I am on a wireless connection going through a proxy at the moment, if that makes a difference. (I have also tried to update using mobile broadband, without success.)
Here is the output from my attempts at updating at the various mirrors:
sudo apt-get update
Err ftp://fr.archive.trisquel.info brigantia InRelease
Err http://archive.trisquel.info brigantia-security InRelease
Err ftp://fr.archive.trisquel.info brigantia-security InRelease
Err http://archive.trisquel.info brigantia-security Release.gpg
Unable to connect to archive.trisquel.info:http:
Err ftp://fr.archive.trisquel.info brigantia-updates InRelease
Err ftp://fr.archive.trisquel.info brigantia Release.gpg
Unable to connect to fr.archive.trisquel.info:ftp:
Err ftp://fr.archive.trisquel.info brigantia-security Release.gpg
Unable to connect to fr.archive.trisquel.info:ftp:
Err ftp://fr.archive.trisquel.info brigantia-updates Release.gpg
Unable to connect to fr.archive.trisquel.info:ftp:
Reading package lists... Done
W: Failed to fetch ftp://fr.archive.trisquel.info/trisquel/dists/brigantia/InRelease
W: Failed to fetch http://archive.trisquel.info/trisquel/dists/brigantia-security/InRelease
W: Failed to fetch ftp://fr.archive.trisquel.info/trisquel/dists/brigantia-security/InRelease
W: Failed to fetch ftp://fr.archive.trisquel.info/trisquel/dists/brigantia-updates/InRelease
W: Failed to fetch ftp://fr.archive.trisquel.info/trisquel/dists/brigantia/Release.gpg Unable to connect to fr.archive.trisquel.info:ftp:
W: Failed to fetch http://archive.trisquel.info/trisquel/dists/brigantia-security/Release.gpg Unable to connect to archive.trisquel.info:http:
W: Failed to fetch ftp://fr.archive.trisquel.info/trisquel/dists/brigantia-security/Release.gpg Unable to connect to fr.archive.trisquel.info:ftp:
W: Failed to fetch ftp://fr.archive.trisquel.info/trisquel/dists/brigantia-updates/Release.gpg Unable to connect to fr.archive.trisquel.info:ftp:
W: Some index files failed to download. They have been ignored, or old ones used instead.
yeehi@Trisquel-Laptop:~$ sudo apt-get update
Err http://archive.trisquel.info brigantia-security InRelease
Err http://archive.trisquel.info brigantia-security Release.gpg
Unable to connect to archive.trisquel.info:http:
Err http://ftp.rediris.es brigantia InRelease
Err http://ftp.rediris.es brigantia-updates InRelease
Err http://ftp.rediris.es brigantia Release.gpg
Unable to connect to ftp.rediris.es:http:
Err http://ftp.rediris.es brigantia-updates Release.gpg
Unable to connect to ftp.rediris.es:http:
Reading package lists... Done
W: Failed to fetch http://ftp.rediris.es/mirror/Trisquel/packages/dists/brigantia/InRelease
W: Failed to fetch http://archive.trisquel.info/trisquel/dists/brigantia-security/InRelease
W: Failed to fetch http://ftp.rediris.es/mirror/Trisquel/packages/dists/brigantia-updates/InRelease
W: Failed to fetch http://archive.trisquel.info/trisquel/dists/brigantia-security/Release.gpg Unable to connect to archive.trisquel.info:http:
W: Failed to fetch http://ftp.rediris.es/mirror/Trisquel/packages/dists/brigantia/Release.gpg Unable to connect to ftp.rediris.es:http:
W: Failed to fetch http://ftp.rediris.es/mirror/Trisquel/packages/dists/brigantia-updates/Release.gpg Unable to connect to ftp.rediris.es:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
yeehi@Trisquel-Laptop:~$ sudo apt-get update
Ign ftp://in.archive.trisquel.info brigantia InRelease
Err http://archive.trisquel.info brigantia-security InRelease
Err http://archive.trisquel.info brigantia-security Release.gpg
Unable to connect to archive.trisquel.info:http:
Err ftp://in.archive.trisquel.info brigantia-updates InRelease
Err ftp://in.archive.trisquel.info brigantia Release.gpg
Unable to connect to in.archive.trisquel.info:ftp:
Err ftp://in.archive.trisquel.info brigantia-updates Release.gpg
Unable to connect to in.archive.trisquel.info:ftp:
Reading package lists... Done
W: Failed to fetch http://archive.trisquel.info/trisquel/dists/brigantia-security/InRelease
W: Failed to fetch ftp://in.archive.trisquel.info/trisquel/dists/brigantia-updates/InRelease
W: Failed to fetch ftp://in.archive.trisquel.info/trisquel/dists/brigantia/Release.gpg Unable to connect to in.archive.trisquel.info:ftp:
W: Failed to fetch http://archive.trisquel.info/trisquel/dists/brigantia-security/Release.gpg Unable to connect to archive.trisquel.info:http:
W: Failed to fetch ftp://in.archive.trisquel.info/trisquel/dists/brigantia-updates/Release.gpg Unable to connect to in.archive.trisquel.info:ftp:
W: Some index files failed to download. They have been ignored, or old ones used instead.
yeehi@Trisquel-Laptop:~$ sudo apt-get update
Err http://nl.archive.trisquel.info brigantia InRelease
Err http://nl.archive.trisquel.info brigantia-updates InRelease
Err http://archive.trisquel.info brigantia-security InRelease
Err http://nl.archive.trisquel.info brigantia Release.gpg
Unable to connect to nl.archive.trisquel.info:http:
Err http://archive.trisquel.info brigantia-security Release.gpg
Unable to connect to archive.trisquel.info:http:
Err http://nl.archive.trisquel.info brigantia-updates Release.gpg
Unable to connect to nl.archive.trisquel.info:http:
Reading package lists... Done
W: Failed to fetch http://nl.archive.trisquel.info/trisquel/dists/brigantia/InRelease
W: Failed to fetch http://archive.trisquel.info/trisquel/dists/brigantia-security/InRelease
W: Failed to fetch http://nl.archive.trisquel.info/trisquel/dists/brigantia-updates/InRelease
W: Failed to fetch http://nl.archive.trisquel.info/trisquel/dists/brigantia/Release.gpg Unable to connect to nl.archive.trisquel.info:http:
W: Failed to fetch http://nl.archive.trisquel.info/trisquel/dists/brigantia-updates/Release.gpg Unable to connect to nl.archive.trisquel.info:http:
W: Failed to fetch http://archive.trisquel.info/trisquel/dists/brigantia-security/Release.gpg Unable to connect to archive.trisquel.info:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
yeehi@Trisquel-Laptop:~$ sudo apt-get update
Err http://archive.trisquel.info brigantia InRelease
Err http://archive.trisquel.info brigantia-security InRelease
Err http://archive.trisquel.info brigantia-updates InRelease
Err http://archive.trisquel.info brigantia Release.gpg
Unable to connect to archive.trisquel.info:http:
Err http://archive.trisquel.info brigantia-security Release.gpg
Unable to connect to archive.trisquel.info:http:
Err http://archive.trisquel.info brigantia-updates Release.gpg
Unable to connect to archive.trisquel.info:http:
Reading package lists... Done
W: Failed to fetch http://archive.trisquel.info/trisquel/dists/brigantia/InRelease
W: Failed to fetch http://archive.trisquel.info/trisquel/dists/brigantia-security/InRelease
W: Failed to fetch http://archive.trisquel.info/trisquel/dists/brigantia-updates/InRelease
W: Failed to fetch http://archive.trisquel.info/trisquel/dists/brigantia/Release.gpg Unable to connect to archive.trisquel.info:http:
W: Failed to fetch http://archive.trisquel.info/trisquel/dists/brigantia-security/Release.gpg Unable to connect to archive.trisquel.info:http:
W: Failed to fetch http://archive.trisquel.info/trisquel/dists/brigantia-updates/Release.gpg Unable to connect to archive.trisquel.info:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
yeehi@Trisquel-Laptop:~$ sudo apt-get update
Err http://archive.trisquel.info brigantia-security InRelease
Err http://archive.trisquel.info brigantia-security Release.gpg
Unable to connect to archive.trisquel.info:http:
Err http://es.archive.trisquel.info brigantia InRelease
Err http://es.archive.trisquel.info brigantia-updates InRelease
Err http://es.archive.trisquel.info brigantia Release.gpg
Unable to connect to es.archive.trisquel.info:http:
Err http://es.archive.trisquel.info brigantia-updates Release.gpg
Unable to connect to es.archive.trisquel.info:http:
Reading package lists... Done
W: Failed to fetch http://es.archive.trisquel.info/trisquel/dists/brigantia/InRelease
W: Failed to fetch http://archive.trisquel.info/trisquel/dists/brigantia-security/InRelease
W: Failed to fetch http://es.archive.trisquel.info/trisquel/dists/brigantia-updates/InRelease
W: Failed to fetch http://archive.trisquel.info/trisquel/dists/brigantia-security/Release.gpg Unable to connect to archive.trisquel.info:http:
W: Failed to fetch http://es.archive.trisquel.info/trisquel/dists/brigantia/Release.gpg Unable to connect to es.archive.trisquel.info:http:
W: Failed to fetch http://es.archive.trisquel.info/trisquel/dists/brigantia-updates/Release.gpg Unable to connect to es.archive.trisquel.info:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
If you are using a proxy server apt needs to know about it.
Just type something like this in the terminal:
export http_proxy=http://username:name at domain:port/
Thank you so much for helping me with this, aloniv. It will really get me going :)
It is difficult for me to work out what to substitute into this command line:
export http_proxy=http://username:password [at] proxyserver [dot] net:port/:
I tried the following:
export http_proxy=http://yeehi'sUserName;yeehi'sPassword [at] proxyserver [dot] net:port/:
It said:
bash: export: `[at]': not a valid identifier
bash: export: `[dot]': not a valid identifier
bash: export: `netport/': not a valid identifier
Do I have to substitute data for "proxyserver"?
Do I write @ instead of [at]?
do I write . instead of [dot]?
Thank you!
Yes (the address of the proxy), yes and yes. :-)
Same thing for the port.
Thank you, Magic Banana!
Could you please write out the contents of a command line with some imaginary user, imaginary password and imaginary other details, like the http stuff and the port.
That will help me figure out what data I have to put into the command line when I do it properly.
I am sorry I am a bit slow with this!
Thank you :)
Well, you had an example above: "username" is the imaginary user, "password" her imaginary password, "proxyserver.net" the imaginary proxy, and "port" the imaginary port to access the proxy.
Take a look at this documentation for more extensive explanations.
Thanks for the help.
I typed in something very like this:
export http_proxy=http://thisismyusername:thisismypasasword@123.456.7.8:1234
I didn't get any error messages. I tried to run sudo apt-get update
The computer failed to connect to the server.
Do I have to substitute data for http_proxy?
I have tried editing /etc/bash.bashrc and adding the following two lines:
export ftp_proxy=http://thisismyusername:thisismypasasword@123.456.7.8:1234
export http_proxy=http://thisismyusername:thisismypasasword@123.456.7.8:1234
I still can't download from the repositories.
What about this command:
Acquire::http:roxy "http://proxy.Idon'tknowit.com.sg:8080";
How do I find out what url to put in that line? I know the IP address of the proxy, but not the http url...
Somebody please help :)
The IP address of the proxy is OK. Since you are behind a proxy, I believe somebody administrates it and may help you with your configuration.
I tried something close to the following:
Acquire::http::Proxy "http://123.456.7.8.sg:8080";
The output was command not found.
I tried launching Synaptic, going into settings, Network, Manual Proxy settings and put in the correct details there. Then I put in the username and password in authentication. I was sure this would work! I tried it. It failed to connect.
I have also tried editing ~/.bashrc and adding the following two lines:
ftp_proxy=http://thisismyusername:thisismypasasword@123.456.7.8:1234
http_proxy=http://thisismyusername:thisismypasasword@123.456.7.8:1234
I still can't download from the repositories.
I want to try and solve this problem by editing apt.conf with the following lines:
Acquire {
Retries "0";
HTTP {
Proxy "http://123.456.7.8:8080";
};
};
I have opened up apt.conf, but it is too complicated for me. I don't know what to overwrite in the .conf file. Here belo is what I can see in the apt.conf. What should I change it to?
// $Id: apt.conf,v 1.43 1999/12/06 02:19:38 jgg Exp $
/* This file is a sample configuration file with a few harmless sample
options.
*/
APT
{
// Options for apt-get
Get
{
Download-Only "false";
};
};
// Options for the downloading routines
Acquire
{
Retries "0";
};
// Things that effect the APT dselect method
DSelect
{
Clean "auto"; // always|auto|prompt|never
};
DPkg
{
// Probably don't want to use force-downgrade..
Options {"--force-overwrite";}
}
Acquire::http::Proxy "http://123.456.7.8.sg:8080"; is not a command. It is a line to add to /etc/apt/apt.conf (for instance at the end of it). And I do not know what is the ".sg" for but it should not be there.
The lines in .bashrc will only have an influence on what you do in a terminal. If you want to use a graphical front-end to APT (and not apt-get or aptitude), I believe it will not have any influence.
The configuration through Synaptic's preferences should have worked...
There is something I am not sure about: has APT ever been able to access the repository from your system and with the same network interface? If it used to work, configuring a proxy does not look necessary (unless the proxy was added since then).
- Anmelden oder Registrieren um Kommentare zu schreiben