Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Rant ...

Here you can discuss every aspect of Debian. Note: not for support requests!
Post Reply
Message
Author
archie.bald
Posts: 16
Joined: 2017-10-15 06:04

Rant ...

#1 Post 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.

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: Rant ...

#2 Post 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?

archie.bald
Posts: 16
Joined: 2017-10-15 06:04

Re: Rant ...

#3 Post 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.

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: Rant ...

#4 Post 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

archie.bald
Posts: 16
Joined: 2017-10-15 06:04

Re: Rant ...

#5 Post 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?

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: Rant ...

#6 Post 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

User avatar
RU55EL
Posts: 546
Joined: 2014-04-07 03:42
Location: /home/russel

Re: Rant ...

#7 Post 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.
Last edited by RU55EL on 2017-11-11 13:30, edited 1 time in total.

archie.bald
Posts: 16
Joined: 2017-10-15 06:04

Re: Rant ...

#8 Post 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

User avatar
RU55EL
Posts: 546
Joined: 2014-04-07 03:42
Location: /home/russel

Re: Rant ...

#9 Post 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

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Rant ...

#10 Post 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.

steve_v
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 1400
Joined: 2012-10-06 05:31
Location: /dev/chair
Has thanked: 79 times
Been thanked: 175 times

Re: Rant ...

#11 Post 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.
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

User avatar
RU55EL
Posts: 546
Joined: 2014-04-07 03:42
Location: /home/russel

Re: Rant ...

#12 Post 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.

User avatar
RU55EL
Posts: 546
Joined: 2014-04-07 03:42
Location: /home/russel

Re: Rant ...

#13 Post 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

archie.bald
Posts: 16
Joined: 2017-10-15 06:04

Re: Rant ...

#14 Post 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

User avatar
RU55EL
Posts: 546
Joined: 2014-04-07 03:42
Location: /home/russel

Re: Rant ...

#15 Post 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.

archie.bald
Posts: 16
Joined: 2017-10-15 06:04

Re: Rant ...

#16 Post by archie.bald »

cheers mate.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Rant ...

#17 Post 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.

archie.bald
Posts: 16
Joined: 2017-10-15 06:04

Re: Rant ...

#18 Post 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.

Post Reply