SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2010-09-09 11:51:50

drlizau
New Member
Registered: 2010-04-26
Posts: 7

alpha 2 cb-welcome

This started for me, and then i noted it was downloading from distant repositories (de).
I stopped it and changed the repos to local ones and then restarted.
I remember gentoo having a package which found your closest repos and then set the config script to use them. I think that type of package would be an improvement for the script. I don´t know if debian even has one.

Offline

Help fund CrunchBang, donate to the project!

#2 2010-09-09 12:51:16

FiniteStateMachine
Part of the Machine
From: Ontario, Canada
Registered: 2009-06-29
Posts: 1,489

Re: alpha 2 cb-welcome

from what i understand, de is a sane default, as it gets good speeds from pretty much everywhere. Whereas other mirrors are only good when your close.
I've had no issue using de mirrors.


just call me...
~FSM~

Offline

#3 2010-09-09 14:47:32

snowpine
#!-a-roo
Registered: 2008-11-24
Posts: 2,558

Re: alpha 2 cb-welcome

de is a good default; just edit your /etc/apt/sources.list if you prefer a different mirror (or use something like smxi).

There is also an app called netselect that claims to find the fastest mirror; haven't tried it personally.


/hugged

Online

#4 2010-09-09 15:56:12

FiniteStateMachine
Part of the Machine
From: Ontario, Canada
Registered: 2009-06-29
Posts: 1,489

Re: alpha 2 cb-welcome

I tried an online selector, though i've never tried netselect. The problem is, at least with the online program i tried, is it takes your current speeds. It doesn't look at how reliable the mirror is in giving you speeds at other times. It would be better to select a mirror thats slightly slower, but has a reliable speed, rather then one that has spikes of high and low.


just call me...
~FSM~

Offline

#5 2010-09-09 18:47:34

wuy
#! Member
Registered: 2009-02-05
Posts: 76

Re: alpha 2 cb-welcome

The "Software Sources" app (also called from within Synaptic when choosing the repositories) has mirror tests.

Offline

#6 2010-09-11 05:36:18

johnraff
#!Drunkard
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 2,497
Website

Re: alpha 2 cb-welcome

^wuy, does that "software sources" app work for you in Debian, or only Ubuntu?
I think the command would be 'gksu software-properties-gtk' and for me it fails to launch on Statler, with the error message currently "GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed"

It worked on alpha 1 but even then I don't remember those mirror tests the Ubuntu version has.

edit: according to this, "the error only occurs with packages that need installation of dependencies" so I'll have to look around for some possible missing package...
('gksu update-manager' gives the same error so maybe it's something related to gksu?)

Last edited by johnraff (2010-09-11 05:41:34)


John
--------------------
( a boring Japan blog , and idle twitterings )

Offline

#7 2010-11-24 02:12:49

rstrcogburn
CrunchRanger
From: The Wild West
Registered: 2010-06-12
Posts: 1,798
Website

Re: alpha 2 cb-welcome

@corenominal

great job on the cb-welcome script, saves lots of time typing stuff and trying to remember every little apache mod or some component for packaging.. I pretty much use every thing out of it except the extra xfce session


... and a kind word.  -Duke

Offline

#8 2010-11-24 02:27:33

corenominal
root
From: Lincoln, UK
Registered: 2008-11-20
Posts: 4,888
Website

Re: alpha 2 cb-welcome

@rstrcogburn, I am glad you like it. smile

I am not sure it will exist in its current form in the next release, but the scripts will be available. Maybe add them to the "settings" menu or something. Just thinking out loud. wink

Offline

#9 2010-11-29 17:07:24

brokenpike
#! Member
Registered: 2010-03-21
Posts: 55

Re: alpha 2 cb-welcome

Being in the  US the de mirror can slow me down a bit.  Using the uchicago mirror shaves over an hour off of my initial (.4G) dist-upgrade.  Netselect-apt will find a currently fast mirror and write a proper .list file for the sources.list.d directory. On problem is that it often pick a mirror with numerical url that apt does not like.  Another is the repo  seems to be rated on current speed rather than persistent throughput.

sudo netselect-apt --nonfree squeeze --outfile $HOME/documents/squeeze.list

You could as easily write the output to /etc/apt/sources.list.d/squeeze.list.  I am still unclear about apt preferences , pinning and the interplay between sources.list and the .list files ins ources.list.d .

~/documents/squeeze.list is now below.  The old file is automatically backed up.
# Debian packages for squeeze
deb http://mirror.peer1.net/debian/ squeeze main contrib non-free
# Uncomment the deb-src line if you want 'apt-get source'
# to work with most packages.
# deb-src http://mirror.peer1.net/debian/ squeeze main contrib non-free

# Security updates for stable
# deb http://security.debian.org/ stable/updates main contrib non-free

Last edited by brokenpike (2010-11-29 17:11:57)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo