Page 1 of 1

Rant ...

Posted: 2017-11-10 11:45
by archie.bald
Hi,

I am a new user, so of course I can acknowledge that I might have done something wrong, configured my repos wrong or something, but in 2017, when most home connections are around 50Mbps, where I can download a 2Go movie in a hour that any apt-get takes a hour to update/upgrade a 40Mo in the same time.

I know, torrents and direct access to server are not the same technology, but man, it's really so frustrating.
It's driving me mad.
I am trying to install default-jre and the thing has been at it for an hour and a half, downloaded 30Mo of data.
How can't the people behind the repos push their upload speed a little. For God sakes, from what I hear, one can download an iphone update in 18 minutes and the file is 2.8 Go ...
This is ridiculous.

I don't mean to be disrespectful, I'll accept advice and will work to make it work, but maybe there is debate to be had ...

Cheers.

Re: Rant ...

Posted: 2017-11-10 12:00
by arochester
What does your sources list say?

Have you used Synaptic to find the fastest mirror?

Have you used netselect-apt to find the fastest mirror?

Have you tried on of the redirection sites?

Re: Rant ...

Posted: 2017-11-10 12:12
by archie.bald
hey aro,
thanks for your reply:
here is the sources.list:

Code: Select all

# deb cdrom:[Debian GNU/Linux 9.2.0 _Stretch_ - Official amd64 DVD Binary-1 20171007-12:11]/ stretch main 

# deb cdrom:[Debian GNU/Linux 9.2.0 _Stretch_ - Official amd64 DVD Binary-1 20171007-12:11]/ stretch main 

deb http://deb.debian.org/debian/ stretch main 
# deb-src http://deb.debian.org/debian/ stretch main 

deb http://deb.debian.org/debian/ stretch-updates main 
# deb-src http://deb.debian.org/debian/ stretch-updates main 

# Line commented out by installer because it failed to verify:
# deb http://security.debian.org/debian-security/ stretch/updates main 
# Line commented out by installer because it failed to verify:
# deb-src http://security.debian.org/debian-security/ stretch/updates main 



# deb http://deb.debian.org/debian/ stretch non-free contrib 
# deb-src http://deb.debian.org/debian/ stretch non-free contrib 


deb http://deb.debian.org/debian/ stretch-updates contrib non-free 
# deb-src http://deb.debian.org/debian/ stretch-updates contrib non-free 

# Line commented out by installer because it failed to verify:
deb http://security.debian.org/debian-security/ stretch/updates non-free contrib 
# Line commented out by installer because it failed to verify:
# deb-src http://security.debian.org/debian-security/ stretch/updates non-free contrib 

# deb http://deb.torproject.org/torproject.org/ stretch main 
# deb-src http://deb.torproject.org/torproject.org/ stretch main 

deb http://ftp.debian.org/debian/ stretch-backports main contrib 

# deb http://downloads.sourceforge.net/projects/ubuntuzilla/mozilla/apt/ all main 
I've changed some of it, tried different things, haven't tried other sources.
I did try using Synaptics but it doesn't show anywhere anything about finding the fastest mirror, and I admit not having read about the last 2 while trying to find a solution.

Re: Rant ...

Posted: 2017-11-10 12:36
by arochester
Your sources list is a bit messy.

Try this:

Code: Select all

https://linuxconfig.org/how-to-find-a-fastest-debian-linux-mirror-for-your-etc-apt-sources-list

Re: Rant ...

Posted: 2017-11-10 12:54
by archie.bald
OK, got it

I cleaned it a little and here it's the result:

Code: Select all

deb http://mirror.lzu.edu.cn/debian/ stretch main 
deb-src http://mirror.lzu.edu.cn/debian/ stretch main 

deb http://mirror.lzu.edu.cn/debian/ stretch-updates main 
deb-src http://mirror.lzu.edu.cn/debian/ stretch-updates main 

deb http://mirror.lzu.edu.cn/debian/ stretch non-free contrib 
deb-src http://mirror.lzu.edu.cn/debian/ stretch non-free contrib 

deb http://mirror.lzu.edu.cn/debian/ stretch-updates contrib non-free 
deb-src http://mirror.lzu.edu.cn/debian/ stretch-updates contrib non-free 

# Line commented out by installer because it failed to verify:
deb http://mirror.lzu.edu.cn/debian-security/ stretch/updates non-free contrib 
# Line commented out by installer because it failed to verify:
deb-src http://mirror.lzu.edu.cn/debian-security/ stretch/updates non-free contrib 

# deb http://deb.torproject.org/torproject.org/ stretch main 
# deb-src http://deb.torproject.org/torproject.org/ stretch main 

deb http://mirror.lzu.edu.cn/debian/ stretch-backports main contrib 
As you can see, I changed the mirror, and it did improve the speed... well, a lot.
Thanks for pushing.

Are all lines in my sources list file really necessary?

Re: Rant ...

Posted: 2017-11-10 14:05
by arochester
deb http://ftp.cn.debian.org/debian/ stable main contrib non-free

deb http://ftp.cn.debian.org/debian/ stable-updates main contrib non-free

deb http://security.debian.org/ stable/updates main

deb http://ftp.debian.org/debian stretch-backports main

Re: Rant ...

Posted: 2017-11-10 16:06
by RU55EL
Debian Wiki on sources.list has some good information. Everyone using Debian should read the complete page at lease once.

The problem with using "stable" in your sources.list instead of "stretch" is that when Buster (which is currently in the class release labled [testing]) moves to the stable class release, you will be creating a frankendebian. Then a clean install of Debian will be required, or you will have to deal with frankendebian.

Re: Rant ...

Posted: 2017-11-11 03:56
by archie.bald
@arochester: thanks for the clarification about the sources list lines
@wizard10000: I'll have a look, thanks

@RUSSEL:
would this make more sense? related to the using stable versus stretch?

Code: Select all

deb http://mirror.lzu.edu.cn/debian/ stretch main contrib non-free
deb-src http://mirror.lzu.edu.cn/debian/ stretch main contrib non-free

deb http://mirror.lzu.edu.cn/debian/ stretch-updates main contrib non-free
deb-src http://mirror.lzu.edu.cn/debian/ stretch-updates main contrib non-free

deb http://mirror.lzu.edu.cn/debian/ stretch/updates main

deb http://mirror.lzu.edu.cn/debian/ stretch-backports main
Thanks for the info, guys, appreciated. I'm trying hard to make the transition work but sometimes it gets really on my nerves. :D

Re: Rant ...

Posted: 2017-11-11 05:12
by RU55EL
archie.bald wrote:@RUSSEL:
would this make more sense? related to the using stable versus stretch?
You should be able to answer this question if you read the wiki page on sources.list.

Unless you are compiling software from source code, you can comment out the source code repositories.

Code: Select all

deb  http://deb.debian.org/debian stretch main contrib non-free
# deb-src  http://deb.debian.org/debian stretch main contrib non-free

deb  http://deb.debian.org/debian stretch-updates main contrib non-free
# deb-src  http://deb.debian.org/debian stretch-updates main contrib non-free

deb http://security.debian.org/ stretch/updates main contrib non-free
# deb-src http://security.debian.org/ stretch/updates main contrib non-free

deb http://deb.debian.org/debian stretch-backports main contrib non-free

Re: Rant ...

Posted: 2017-11-11 10:16
by debiman
archie.bald wrote:

Code: Select all

deb http://mirror.lzu.edu.cn/debian/ stretch main 
deb-src http://mirror.lzu.edu.cn/debian/ stretch main 

deb http://mirror.lzu.edu.cn/debian/ stretch-updates main 
deb-src http://mirror.lzu.edu.cn/debian/ stretch-updates main 

deb http://mirror.lzu.edu.cn/debian/ stretch non-free contrib 
deb-src http://mirror.lzu.edu.cn/debian/ stretch non-free contrib 

deb http://mirror.lzu.edu.cn/debian/ stretch-updates contrib non-free 
deb-src http://mirror.lzu.edu.cn/debian/ stretch-updates contrib non-free 

# Line commented out by installer because it failed to verify:
deb http://mirror.lzu.edu.cn/debian-security/ stretch/updates non-free contrib 
# Line commented out by installer because it failed to verify:
deb-src http://mirror.lzu.edu.cn/debian-security/ stretch/updates non-free contrib 

# deb http://deb.torproject.org/torproject.org/ stretch main 
# deb-src http://deb.torproject.org/torproject.org/ stretch main 

deb http://mirror.lzu.edu.cn/debian/ stretch-backports main contrib 
As you can see, I changed the mirror, and it did improve the speed... well, a lot.
Thanks for pushing.

Are all lines in my sources list file really necessary?
you can comment out ALL deb-src lines; apart from that it looks fine like that.
glad you got it solved.

Re: Rant ...

Posted: 2017-11-11 12:13
by steve_v
RU55EL wrote:The problem with using "stable" in your sources.list instead of "stretch" is that when Buster (which is currently in the class release labled unstable) moves to the stable class release, you will be creating a frankendebian. Then a clean install of Debian will be required, or you will have to deal with frankendebian.
Eh? If you use stable in your sources, the worst you'll get is an unexpected (and probably incomplete) upgrade to buster when it becomes stable. I wouldn't recommend it, as I don't like surprises, but fixing it is just a dist-upgrade away.
To pick another small nit... Buster is currently testing, not unstable.

Re: Rant ...

Posted: 2017-11-11 13:35
by RU55EL
steve_v wrote:Eh? If you use stable in your sources, the worst you'll get is an unexpected (and probably incomplete) upgrade to buster when it becomes stable. I wouldn't recommend it, as I don't like surprises, but fixing it is just a dist-upgrade away.
Ether way, a bad idea. It is better to use the toy story name to avoid problems.
steve_v wrote:To pick another small nit... Buster is currently testing, not unstable.
You are correct. I've edited my previous post.

Re: Rant ...

Posted: 2017-11-11 13:43
by RU55EL
debiman wrote: you can comment out ALL deb-src lines; apart from that it looks fine like that.
glad you got it solved.

Code: Select all

    deb http://mirror.lzu.edu.cn/debian/ stretch main

    deb http://mirror.lzu.edu.cn/debian/ stretch-updates main

    deb http://mirror.lzu.edu.cn/debian/ stretch non-free contrib
 
    deb http://mirror.lzu.edu.cn/debian/ stretch-updates contrib non-free

    deb http://mirror.lzu.edu.cn/debian-security/ stretch/updates non-free contrib

    deb http://mirror.lzu.edu.cn/debian/ stretch-backports main contrib

Re: Rant ...

Posted: 2017-11-12 00:36
by archie.bald
They did say that the guys on the debian forums were helpful, they didn't lie.
@RU55EL: you are correct, but this is all pretty new, and although I read that page, a confirmation, when making the first steps, doesn't harm.

would you comment out lines you don't need or remove them completely? tomato - tomAto?

cheers

Re: Rant ...

Posted: 2017-11-12 00:56
by RU55EL
archie.bald wrote:[...]would you comment out lines you don't need or remove them completely? tomato - tomAto?
I usually just comment them out. Simpler, easier, and if you ever want to try compiling from source, you would only need to "uncomment" the lines.

Re: Rant ...

Posted: 2017-11-12 02:03
by archie.bald
cheers mate.

Re: Rant ...

Posted: 2017-11-12 08:58
by debiman
archie.bald wrote:They did say that the guys on the debian forums were helpful, they didn't lie.
why thanks.
but don't get your standards up, so you won't be disappointed later.
:mrgreen:

would you comment out lines you don't need or remove them completely? tomato - tomAto?
always do things in a way that you can UNdo them if the need arises. always. there's only one tomato.

Re: Rant ...

Posted: 2017-11-29 12:05
by archie.bald
why thanks.
but don't get your standards up, so you won't be disappointed later.
:mrgreen:
Message received :mrgreen:
And I also see the point about making sure that things can be undone. Makes a lot of sense.