Rant ...

Here you can discuss every aspect of Debian. Note: not for support requests!

Rant ...

Postby archie.bald » 2017-11-10 11:45

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.
archie.bald
 
Posts: 14
Joined: 2017-10-15 06:04

Re: Rant ...

Postby arochester » 2017-11-10 12:00

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?
"Something to be aware of: Debian is a core or source distribution. This means there are many Debian-based distributions. THEY ARE NOT DEBIAN."
arochester
 
Posts: 1089
Joined: 2010-12-07 19:55

Re: Rant ...

Postby archie.bald » 2017-11-10 12:12

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.
archie.bald
 
Posts: 14
Joined: 2017-10-15 06:04

Re: Rant ...

Postby arochester » 2017-11-10 12:36

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
"Something to be aware of: Debian is a core or source distribution. This means there are many Debian-based distributions. THEY ARE NOT DEBIAN."
arochester
 
Posts: 1089
Joined: 2010-12-07 19:55

Re: Rant ...

Postby archie.bald » 2017-11-10 12:54

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?
archie.bald
 
Posts: 14
Joined: 2017-10-15 06:04

Re: Rant ...

Postby arochester » 2017-11-10 14:05

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
"Something to be aware of: Debian is a core or source distribution. This means there are many Debian-based distributions. THEY ARE NOT DEBIAN."
arochester
 
Posts: 1089
Joined: 2010-12-07 19:55

Re: Rant ...

Postby RU55EL » 2017-11-10 16:06

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.
User avatar
RU55EL
 
Posts: 316
Joined: 2014-04-07 03:42
Location: /home/russel

Re: Rant ...

Postby wizard10000 » 2017-11-10 16:33

Although they don't advertise it much any more I get great service from Debian's CDN - http://cdn-fastly.deb.debian.org
we see things not as they are, but as we are.
-- anais nin
User avatar
wizard10000
 
Posts: 1204
Joined: 2011-05-09 20:02
Location: everywhere i go, there i am!

Re: Rant ...

Postby archie.bald » 2017-11-11 03:56

@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
archie.bald
 
Posts: 14
Joined: 2017-10-15 06:04

Re: Rant ...

Postby RU55EL » 2017-11-11 05:12

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
RU55EL
 
Posts: 316
Joined: 2014-04-07 03:42
Location: /home/russel

Re: Rant ...

Postby debiman » 2017-11-11 10:16

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.
User avatar
debiman
 
Posts: 1539
Joined: 2013-03-12 07:18

Re: Rant ...

Postby steve_v » 2017-11-11 12:13

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.
steve_v
 
Posts: 518
Joined: 2012-10-06 05:31
Location: New Zealand

Re: Rant ...

Postby RU55EL » 2017-11-11 13:35

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: 316
Joined: 2014-04-07 03:42
Location: /home/russel

Re: Rant ...

Postby RU55EL » 2017-11-11 13:43

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
User avatar
RU55EL
 
Posts: 316
Joined: 2014-04-07 03:42
Location: /home/russel

Re: Rant ...

Postby archie.bald » 2017-11-12 00:36

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
archie.bald
 
Posts: 14
Joined: 2017-10-15 06:04

Next

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable