[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
netselect usage
I thought I'd change the subject line.
I just tried netselect from sid and I'm not getting anything useful out
of it.
> netselect-apt sid
There is a already a mirrors_full file in the current
directory. I'll use that, rather than downloading it again.
Choosing a main Debian mirror using netselect.
netselect: unknown host ftp.dk.debian.org
Running netselect to choose 1 out of 207 addresses.
The fastest server seems to be:
Choosing a non-US Debian mirror using netselect.
netselect: unknown host ftp.dk.debian.org
netselect: unknown host non-us.openrock.net
Running netselect to choose 1 out of 154 addresses.
The fastest non-US server seems to be:
Writing the sources.list in the current directory.
Done.
It doesn't tell me the server. Here's the sources.list file it created.
> less sources.list
# the main Debian packages. Uncomment the deb-src line if you
# want 'apt-get source' to work with most packages.
deb sid main contrib non-free
# deb-src sid main contrib non-free
# the non-US Debian packages. Uncomment the deb-src line if you
# want 'apt-get source' to work with non-US packages.
deb sid/non-US main contrib non-free
# deb-src sid/non-US main contrib non-free
Steve
On Fri, 25 Jan 2002 08:41:50 -0800
[email protected] wrote:
> R.J.,
>
> Here's what I think is going on...
>
> In potato, the netselect package (0.2) just has the netselect binary. You
> have to give the netselect binary a list of mirrors to check. So if I
> wanted to see which of ftp.us.debian.org, debian.oit.umass.edu, or
> lyre.mit.edu was fastest, I'd do:
>
> netselect ftp.us.debian.org debian.oit.umass.edu lyre.mit.edu
>
> In the woody version (0.3), they've added a shell script called
> netselect-apt
> which downloads a list of mirrors, feeds them to netselect, and then uses
> the
> output of netselect to create a new sources.list.
>
> My whole system has been upgraded to woody for quite a while, so that's why
> I didn't even know this was an issue.
>
> It _may_ be possible to steal the netselect-apt script from the woody
> package (download it by hand and unpack it) to use with the netselect binary
> in potato.
>
> Sorry it didn't work for you...
>
> --Rob
>
>
>
> On Fri, Jan 25, 2002 at 08:33:44AM -0500, R. J. Winslow wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > When, on Friday 25 January 2002 04:00, [email protected] wrote, I replied:
> >
> > Here's what happened for me when I tried the directions below:
> >
> > root@rjw# apt-get install netselect
> > Reading Package Lists... Done
> > Building Dependency Tree... Done
> > The following NEW packages will be installed:
> > netselect
> > 0 packages upgraded, 1 newly installed, 0 to remove and 17 not upgraded.
> > Need to get 12.6kB of archives. After unpacking 49.2kB will be used.
> > Get:1 ftp://ftp.debian.org potato/main netselect 0.2-5 [12.6kB]
> > Fetched 12.6kB in 5s (2252B/s)
> > Selecting previously deselected package netselect.
> > (Reading database ... 92712 files and directories currently installed.)
> > Unpacking netselect (from .../netselect_0.2-5_i386.deb) ...
> > Setting up netselect (0.2-5) ...
> >
> > root@rjw# pwd
> > /root
> > root@rjw# netselect-apt stable
> > su: netselect-apt: not found
> > root@rjw# apt-netselect stable
> > su: apt-netselect: not found
> > root@rjw# netselect-apt stable
> > su: netselect-apt: not found
> > root@rjw# netselect stable
> > netselect: unknown host stable
> > root@rjw# netselect testing
> > netselect: unknown host testing
> >
> > Where am I going wrong?
> >
> >
> > > Sarah,
> > >
> > > It strikes me that you probably don't need so many lines for identical
> > > "testing" archives. I don't think you'll need the potato lines any more
> > > either (though _maybe_ there are some instances where this will ease the
> > > transition). The KDE archive you list is quite dated; the KDE packages in
> > > testing should be fine.
> > >
> > > Debian has a nifty little utility called netselect-apt that will actually
> > > find the archive that will give you the fastest download. You'll need to
> > > install it first ('apt-get install netselect') and then run it:
> > >
> > > netselect-apt testing
> > >
> > > This will create a new sources.list for for woody/testing you in the
> > > current directory. Here's what I got from my machine, which is parked in
> > > Maine:
> > >
> > > # the main Debian packages. Uncomment the deb-src line if you
> > > # want 'apt-get source' to work with most packages.
> > > deb http://debian.oit.umass.edu/debian/ testing main contrib non-free
> > > # deb-src http://debian.oit.umass.edu/debian/ testing main contrib non-free
> > >
> > > # the non-US Debian packages. Uncomment the deb-src line if you
> > > # want 'apt-get source' to work with non-US packages.
> > > deb http://debian.oit.umass.edu/debian-non-US/ testing/non-US main contrib
> > > non-free
> > > # deb-src http://debian.oit.umass.edu/debian-non-US/ testing/non-US main
> > > contrib non-free
> > >
> > > I recommend doing this as regular user from within your home directory. If
> > > you're happy with it, add the libranet and security lines, and then copy it
> > > over to /etc/apt/sources.list as root.
> > >
> > > Hope this proves useful...
> > >
> > > --Rob
> > >
> > > On Thu, Jan 24, 2002 at 11:25:28PM -0600, Sarah Hay wrote:
> > > > Here is the sources.list that I have altered to upgrade to woody. Could
> > > > someone paruse it and tell me if i am good to go. You will note that I
> > > > also added sources.
> > > >
> > > > # Use for a local mirror - remove the ftp1 http lines for the bits
> > > > # your mirror contains.
> > > > # deb file:/your/mirror/here/debian stable main contrib non-free
> > > > # See sources.list(5) for more information, especial
> > > > # Remember that you can only use http, ftp or file URIs
> > > >
> > > > #Libranet
> > > > deb https://libranetlinux.com updates/
> > > >
> > > > #Debian
> > > > deb ftp://ftp.debian.org/debian potato main contrib non-free
> > > > #deb-src ftp://ftp.debian.org/debian potato main contrib non-free
> > > > deb ftp://ftp.debian.org/debian woody main contrib non-free
> > > > deb-src ftp://ftp.debian.org/debian woody main contrib non-free
> > > > deb ftp://ftp.us.debian.org/debian testing main contrib non-free
> > > > deb-src ftp://ftp.us.debian.org/debian testing main contrib non-free
> > > > deb http://debian.uchicago.edu/debian testing main contrib non-free
> > > > deb-src http://debian.uchicago.edu/debian testing main contrib non-free
> > > > deb http://http.us.debian.org/debian testing main contrib non-free
> > > > deb-src http://http.us.debian.org/debian testing main contrib non-free
> > > >
> > > > #Debian Non-US
> > > > deb http://non-us.debian.org/ potato/non-US main contrib non-free
> > > > #deb-src http://non-us.debian.org/ potato/non-US main contrib non-free
> > > > deb http://non-us.debian.org/ woody/non-US main contrib non-free
> > > > deb-src http://non-us.debian.org/ woody/non-US main contrib non-free
> > > > deb ftp://ftp.uk.debian.org/debian/non-US/ testing/non-US main contrib
> > > > non-free
> > > > deb-src ftp://ftp.uk.debian.org/debian-non-US/ testing/non-US main
> > > > contrib non-free
> > > > deb http://non-us.debian.org/debian-non-US/ testing/non-US main contrib
> > > > non-free
> > > >
> > > > #Debian security updates
> > > > deb ftp://security.debian.org/debian-security potato/updates main contrib
> > > > non-free
> > > > #deb-src ftp://security.debian.org/debian-security potato/updates main
> > > > contrib non-free
> > > >
> > > > #KDE
> > > > deb ftp://kde.tdyc.com/debian potato main crypto optional qt1apps
> > > > #deb-src ftp://kde.tdyc.com/debian potato main crypto optional qt1apps
> > > >
> > > > #helixcode
> > > >
> > > >
> > > >
> > > >
> > > > ______
> > > >
> > > > I would welcome any comment and suggestions. Also, is there a woody
> > > > security source? I couldn't find one and replacing potato with woody or
> > > > testing failed to pass the apt-get update command.
> > > >
> > > > Thanks,
> > > > Sarah
> > > >
> > > > --
> > > > The archive is at https://www.libranetlinux.com/archive.html
> > > > To unsubscribe, send email to [email protected]
> > > > with a subject of UNSUBSCRIBE.
> >
> > - --
> > "They that give up essential liberty to obtain a little temporary safety
> > deserve neither liberty nor safety" --Benjamin Franklin, 1759
> >
> > Public key available at www.keyserver.net; KeyID: 0CB1056B
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.0.6 (GNU/Linux)
> > Comment: For info see http://www.gnupg.org
> >
> > iD8DBQE8UV7LOiPALwyxBWsRArnlAKCNwNY52KLZdTExzpFtaFtzMsSfagCcCFsP
> > ymD7xUenjOXTfoas+IjyJD4=
> > =a/zz
> > -----END PGP SIGNATURE-----
> >
> > --
> > The archive is at https://www.libranetlinux.com/archive.html
> > To unsubscribe, send email to [email protected]
> > with a subject of UNSUBSCRIBE.
>
> --
> The archive is at https://www.libranetlinux.com/archive.html
> To unsubscribe, send email to [email protected]
> with a subject of UNSUBSCRIBE.
--
The archive is at https://www.libranetlinux.com/archive.html
To unsubscribe, send email to [email protected]
with a subject of UNSUBSCRIBE.