You are not logged in.

#1 2016-11-29 17:38:24

rabauki
Member
Registered: 2016-04-23
Posts: 20

apt-get mirror.dkm.cz is very slow...

Hi,

i want to delete this Server in my apt-sources, because every time i update with apt-get my terminal freezes for minutes using this resource.

I have choosen the fastest mirror with netselect-apt - but this mirror is still alive somewhere in my bunse wink

Someone knows where i can kill it ?

Thanks ! Greeting, Rabauki

Offline

#2 2016-11-29 17:46:17

nobody
The Great
Registered: 2015-08-10
Posts: 3,655

Re: apt-get mirror.dkm.cz is very slow...

grep -rL dkm.cz /etc/apt/sources.list*

Inspect all matching files.

Offline

#3 2016-11-29 17:56:12

rabauki
Member
Registered: 2016-04-23
Posts: 20

Re: apt-get mirror.dkm.cz is very slow...

Hi nobody,

thanks for the reply.
Your command lists this files :

/etc/apt/sources.list
/etc/apt/sources.list~
/etc/apt/sources.list.1477298829
/etc/apt/sources.list.d/bunsen.list
/etc/apt/sources.list.d/bunsen-jessie-backports.list
/etc/apt/sources.list.d/wine.list
/etc/apt/sources.list.d/debian-jessie-backports.list
/etc/apt/sources.list.d/palemoon.list
/etc/apt/sources.list.org

I have checked every file with geany and searched for dkm.cz ...
Nothing ;(

Offline

#4 2016-11-29 20:28:29

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: apt-get mirror.dkm.cz is very slow...

Try this instead:

grep dkm.cz /etc/apt/sources.list{,.d/*}

Last edited by Head_on_a_Stick (2016-11-29 21:32:00)

Offline

#5 2016-11-30 07:16:00

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: apt-get mirror.dkm.cz is very slow...

it's very leet to do this with grep, but i suggest you just look at the /etc/apt/ folder and subfolders yourself, there can't be that many files in there.
if you have other sources covering the same repositories, you can simply delete the offending line, otherwise you have to replace it with another server.

Offline

#6 2016-11-30 07:48:54

rabauki
Member
Registered: 2016-04-23
Posts: 20

Re: apt-get mirror.dkm.cz is very slow...

grep dkm.cz /etc/apt/sources.list{,.d/*}

I did this - and no file was found.

I have looked in any file located in /etc/apt/ ...
No one has a mirror.dkm.cz in it.

Now i asked me from where can apt-get get this mirror ???
Its always the last in the list apt-get looks for data. And this is the one which slows down my system for minutes.

Offline

#7 2016-11-30 16:00:40

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,754

Re: apt-get mirror.dkm.cz is very slow...

If you use http://httpredir.debian.org/, then that may select the bad mirror automagically. A demo.

p.s. There seems to be no way to blacklist certain servers, so the way to solve that would be to use a server directly instead of httpredir, like ftp.us.debian.org.

Last edited by brontosaurusrex (2016-11-30 16:13:06)

Offline

#8 2016-11-30 19:57:49

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: apt-get mirror.dkm.cz is very slow...

Try:

sudo rm /var/lib/apt/lists/*
sudo apt update

If that doesn't fix things, please post the full output of the second command.

Offline

#9 2016-11-30 20:14:16

mi
Member
Registered: 2015-09-30
Posts: 70

Re: apt-get mirror.dkm.cz is very slow...

bronto's theory sounds familiar..  I had trouble with updating mirrors not very long ago. I don't remember the output anymore. The problem was solved by switching all the 'httpredir' mirrors for fix ones.


It's milk time!
____________________________
Be excellent to each other!

Offline

#10 2016-12-01 03:34:49

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,661
Website

Re: apt-get mirror.dkm.cz is very slow...

Another one to try (if it's not because of httpredir): check the output of

apt-cache policy

and see if there is any line containing dkm.cz.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#11 2016-12-01 07:17:03

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: apt-get mirror.dkm.cz is very slow...

brontosaurusrex wrote:

the way to solve that would be to use a server directly instead of httpredir

OP wrote:

I have choosen the fastest mirror with netselect-apt

The OP is not using httpredir.debian.org

Offline

Board footer

Powered by FluxBB