You are not logged in.
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
Someone knows where i can kill it ?
Thanks ! Greeting, Rabauki
Offline
grep -rL dkm.cz /etc/apt/sources.list*
Inspect all matching files.
Offline
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
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
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
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
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)
Online
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
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
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 )
Offline
the way to solve that would be to use a server directly instead of httpredir
I have choosen the fastest mirror with netselect-apt
The OP is not using httpredir.debian.org
Offline