Ubuntu repository problem

Pojavio mi se hajde da kažem poznatiji problem prilikom update-a [Connecting to archive.ubuntu.com.ba (80.65.85.132)] .
Naravno odmah sam skoknuo do “Software and Updates” i promijenio na neki drugi server. Međutim odmah poslije dobijam grešku:

W:The repository ‘http://ppa.launchpad.net/colingille/freshlight/ubuntu xenial Release’ does not have a Release file., W:Data from such a repository can’t be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., W:Failed to fetch http://archive.ubuntu.com.ba/ubuntu/dists/xenial/InRelease Could not connect to archive.ubuntu.com.ba:80 (80.65.85.132), connection timed out, W:Failed to fetch http://archive.ubuntu.com.ba/ubuntu/dists/xenial-updates/InRelease Unable to connect to archive.ubuntu.com.ba:http:, W:Failed to fetch http://archive.ubuntu.com.ba/ubuntu/dists/xenial-backports/InRelease Unable to connect to archive.ubuntu.com.ba:http:, W:Failed to fetch http://archive.ubuntu.com.ba/ubuntu/dists/xenial-security/InRelease Unable to connect to archive.ubuntu.com.ba:http:, E:Failed to fetch http://ppa.launchpad.net/colingille/freshlight/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found, W:Some index files failed to download. They have been ignored, or old ones used instead.

Da li neko zna riješiti ovaj problem :slight_smile:

A da skloniš taj PPA i probaš ponovo? Koliko vidim jedino tu imaš error. I de probaj sa komandne linije, ja ne vjerujem ti GUI alatima :smiley: (otkud mu ponovo archive.ubuntu.com.ba)

Sklonio sam i sada mi se pojavljuje samo poruka. Check your internet connection. Problem je u tome što sada stoji drugi server (Main) a opet prilikom kucanja komande sudo apt-get update javlja mi istu grešku : [Connecting to archive.ubuntu.com.ba (80.65.85.132)]. I da preko komandne linije idu stvari koje znam. Koje ne znam valja mi preko GUI :slight_smile:

Eh sad vjerovatno treba samo pogledati popraviti /etc/apt/sources.list (da sklonimo .ba ubuntu mirror), hajde daj nam output:

cat /etc/apt/sources.list
cat /etc/apt/sources.list.d/*

Evo outputa na ovom linku

Hostname ubuntu.com.ba već neko vrijeme ne postoji, umjesto njega službeni je postao archive.ubuntu.mirror.ba.

Pitanje je kako to promjeniti.

sudo sed -i 's/ubuntu\.com\.ba/ubuntu\.mirror\.ba/g' /etc/apt/sources.list

1 Like

Hvala ti. Problem riješen :slight_smile:

Joj što volim kad se ovako samo riješi :smiley:

Hvala Emire, za korektan link i sed tip.

2 Likes