[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#489857: clunky workaround

A workaround that I've just implemented and works fairly well, despite being a little clunky is as follows:

in /etc/hosts set an alias for each of the repositories you reference in sources.list such that they all resolve to the debtorrent-client demon

e.g.    localhost ftp.uk.debian.org.debtorrent www.debian-multimedia.org.debtorrent [etc.]

then modify /etc/apt/sources accordingly

deb debtorrent://localhost/ftp.uk.debian.org/debian/ lenny main
deb debtorrent://ftp.uk.debian.org.debtorrent/ftp.uk.debian.org/debian/ lenny main

and then apt-cache policy will report the hostname ftp.uk.debian.org.debtorrent rather than localhost

Cheers & God bless
    Sam "SammyTheSnake" Penny

Reply to: