OK, eli /etc/environment-tiedostossa on asetettu http_proxy ja todennäköisesti myös https_proxy osoittamaan operaattorin välityspalvelimeen. Kommentoi (lisää #-merkki rivin alkuun) tai poista kokonaan nuo rivit tiedostosta. Tallenna muutokset ja kirjaudu ulos työpöydältä ja takaisin sisään. Sen jälkeen apt:n pitäisi toimia normaalisti.
[/quote]
Poistin proxy -rivit ja käynnistin koneen uudelleen. Ei päivity, alla loitsut mitkä tein
$ grep -d skip -i http_proxy /etc/*
/etc/axelrc:# Note: If the HTTP_PROXY environment variable is set correctly already,
/etc/axelrc:# format as the HTTP_PROXY var, like '
http://host.domain.com:8080/',
/etc/axelrc:# http_proxy =
grep: /etc/gshadow: Lupa evätty
grep: /etc/gshadow-: Lupa evätty
grep: /etc/shadow: Lupa evätty
grep: /etc/shadow-: Lupa evätty
grep: /etc/subgid-: Lupa evätty
grep: /etc/subuid-: Lupa evätty
grep: /etc/sudoers: Lupa evätty
/etc/wgetrc:#http_proxy =
http://proxy.yoyodyne.com:18023/$ sudo apt update
Vrhe:1
http://fi.archive.ubuntu.com/ubuntu bionic InRelease
403 Forbidden [IP: 193.229.159.9 80]
Vrhe:2
http://security.ubuntu.com/ubuntu bionic-security InRelease
403 Forbidden [IP: 193.229.159.9 80]
Vrhe:3
http://dl.google.com/linux/chrome/deb stable InRelease
403 Forbidden [IP: 193.229.159.9 80]
Vrhe:4
http://fi.archive.ubuntu.com/ubuntu bionic-updates InRelease
403 Forbidden [IP: 193.229.159.9 80]
Vrhe:5
http://fi.archive.ubuntu.com/ubuntu bionic-backports InRelease
403 Forbidden [IP: 193.229.159.9 80]
Luetaan pakettiluetteloita... Valmis
N: See apt-secure(
manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository '
http://fi.archive.ubuntu.com/ubuntu bionic InRelease' is no longer signed.
E: Tiedoston
http://fi.archive.ubuntu.com/ubuntu/dists/bionic/InRelease nouto ei onnistunut 403 Forbidden [IP: 193.229.159.9 80]
N: See apt-secure(
manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository '
http://security.ubuntu.com/ubuntu bionic-security InRelease' is no longer signed.
E: Tiedoston
http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease nouto ei onnistunut 403 Forbidden [IP: 193.229.159.9 80]
N: See apt-secure(
manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository '
http://dl.google.com/linux/chrome/deb stable InRelease' is no longer signed.
E: Tiedoston
http://dl.google.com/linux/chrome/deb/dists/stable/InRelease nouto ei onnistunut 403 Forbidden [IP: 193.229.159.9 80]
E: Tiedoston
http://fi.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease nouto ei onnistunut 403 Forbidden [IP: 193.229.159.9 80]
E: The repository '
http://fi.archive.ubuntu.com/ubuntu bionic-updates InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(
manpage for repository creation and user configuration details.
E: Tiedoston
http://fi.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease nouto ei onnistunut 403 Forbidden [IP: 193.229.159.9 80]
E: The repository '
http://fi.archive.ubuntu.com/ubuntu bionic-backports InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(
manpage for repository creation and user configuration details.
$ sudo apt full-upgrade
Luetaan pakettiluetteloita... Valmis
Muodostetaan riippuvuussuhteiden puu
Luetaan tilatiedot... Valmis
Käsitellään päivitystä... Valmis
0 päivitetty, 0 uutta asennusta, 0 poistettavaa ja 0 päivittämätöntä.
Ja alla ne lähteet
deb
http://fi.archive.ubuntu.com/ubuntu/ bionic main restricted
deb
http://fi.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb
http://fi.archive.ubuntu.com/ubuntu/ bionic universe
deb
http://fi.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb
http://fi.archive.ubuntu.com/ubuntu/ bionic multiverse
deb
http://fi.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb
http://fi.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb
http://security.ubuntu.com/ubuntu bionic-security main restricted
deb
http://security.ubuntu.com/ubuntu bionic-security universe
deb
http://security.ubuntu.com/ubuntu bionic-security multiverse