Ubuntu repository problem


#1

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:


#2

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)


#3

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:


#4

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/*


#5

Evo outputa na ovom linku


#6

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


#7

Pitanje je kako to promjeniti.


#8

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


#9

Hvala ti. Problem riješen :slight_smile:


#10

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

Hvala Emire, za korektan link i sed tip.