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

 

 

 

How to update debian using server instead of discs

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
Leon8200
Posts: 34
Joined: 2016-02-02 08:27

How to update debian using server instead of discs

#1 Post by Leon8200 »

Hi I'm running the latest debian and want to update the system using an official debian server I stead of discs, how do I do this?

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: How to update debian using server instead of discs

#2 Post by GarryRicketson »

You could try:
How to update debian using server
One of many results:
https://www.debian.org/doc/manuals/debi ... 02.en.html


In a nut shell, you add some sources to your /etc/apt/sources.list,
Then you can use, apt-get, aptitude, or even synaptic package manager,..
from: https://www.debian.org/doc/manuals/debi ... te.en.html
To update your system from the command line, run

aptitude update

followed by

aptitude full-upgrade

User avatar
Ardouos
Posts: 1075
Joined: 2013-11-03 00:30
Location: Elicoor II
Has thanked: 1 time
Been thanked: 4 times

Re: How to update debian using server instead of discs

#3 Post by Ardouos »

Edit your sources to point towards mirrored servers.

https://wiki.debian.org/SourcesList
There is only one Debian | Do not break Debian | Stability and Debian | Backports

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Leon8200
Posts: 34
Joined: 2016-02-02 08:27

Re: How to update debian using server instead of discs

#4 Post by Leon8200 »

I'm sorry I just can't get it to work, can someone please give me an example because I followed the example on the wiki and after copying and pasting the example it just doesn't work, I need to know what to paste into the source list

Leon8200
Posts: 34
Joined: 2016-02-02 08:27

Re: How to update debian using server instead of discs

#5 Post by Leon8200 »

Can someone paste a valid working source list code so I can paste it overwriting mine that will make this work for me please

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: How to update debian using server instead of discs

#6 Post by dasein »

Then you're doing it wrong.

Because anyone posting a working sources.list would give you the exact same thing as the Wiki. So it "wouldn't work" either.

P.S. "It doesn't work" isn't diagnostically useful. Post exact error output.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: How to update debian using server instead of discs

#7 Post by stevepusser »

The installer didn't enable the servers because it couldn't establish a connection to them during the install. Can you use the Net in Debian now? That's the first question to answer.

Then the correct addresses are in your /etc/apt/sources.list file, just commented out with the "#" at the start of the line. You edit the file to remove those, and comment out or remove the disc entries.

As for more about sources.list, I will "lead the horse to water" and suggest the Debian wiki, as the "before you post anything on this forum" instructions here state. You'll will have to do the drinking yourself.
MX Linux packager and developer

Leon8200
Posts: 34
Joined: 2016-02-02 08:27

Re: How to update debian using server instead of discs

#8 Post by Leon8200 »

The terminal says

E: type 'deb' is not known on line 1 in source list /etc/apt/sources.list
E: the list of sources could not be read.

My list says

Deb HTTP://FTP.us.debian.org/debian/ Jessie main

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: How to update debian using server instead of discs

#9 Post by dasein »

Hmm. Forgot. This OP is a troll who's pulled this kind of thing before. Apparently he gets kicks out of wasting other people's time.

Unless you believe that we need another totally pointless 4-page thread...
Image

Leon8200
Posts: 34
Joined: 2016-02-02 08:27

Re: How to update debian using server instead of discs

#10 Post by Leon8200 »

dasein wrote:Hmm. Forgot. This OP is a troll who's pulled this kind of thing before. Apparently he gets kicks out of wasting other folks' time.

Image
I am only trying to get support you are being disrespectfull,

if you don't like me, leave me alone,

if you find my thread(s) (trolling) then why waste your time posting In Them?!?!

I am not the one who is (trolling), if I was I would be cursing you out right now instead of respectfully explaining to you how what you are doing is offensive,

Please think about what I said and remember that all people have feelings and deserve to be respected.

Leon8200
Posts: 34
Joined: 2016-02-02 08:27

Re: How to update debian using server instead of discs

#11 Post by Leon8200 »

I have read the wiki and still cant get it to work can someone please post an example in the way it is supposed to be applied to the list

User avatar
Ardouos
Posts: 1075
Joined: 2013-11-03 00:30
Location: Elicoor II
Has thanked: 1 time
Been thanked: 4 times

Re: How to update debian using server instead of discs

#12 Post by Ardouos »

Linux is case sensitive.

Edit: /beer
Last edited by Ardouos on 2017-03-12 22:37, edited 6 times in total.
There is only one Debian | Do not break Debian | Stability and Debian | Backports

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: How to update debian using server instead of discs

#13 Post by Segfault »

Code: Select all

Deb HTTP://FTP.us.debian.org/debian/ Jessie main
I've never tried to mix upper/lowercase like this. :?
Post your actual sources.list, and use code tags, please.

No_windows
Posts: 505
Joined: 2015-08-05 03:03

Re: How to update debian using server instead of discs

#14 Post by No_windows »

Leon8200 wrote:Deb HTTP://FTP.us.debian.org/debian/ Jessie main
I noticed you seemed to have your cap lock on at one point.....maybe it's case sensitive?

Code: Select all

#Debian security
deb http://security.debian.org/ jessie/updates contrib main non-free 

#Debian mirror
deb http://httpredir.debian.org/debian/ jessie contrib main non-free 

#Debian jessie-updates mirror
deb http://httpredir.debian.org/debian/ jessie-updates contrib main non-free 

#Debian jessie-backports mirror
deb http://httpredir.debian.org/debian/ jessie-backports non-free main contrib 

Leon8200
Posts: 34
Joined: 2016-02-02 08:27

Re: How to update debian using server instead of discs

#15 Post by Leon8200 »

No_windows wrote:
Leon8200 wrote:Deb HTTP://FTP.us.debian.org/debian/ Jessie main
I noticed you seemed to have your cap lock on at one point.....maybe it's case sensitive?

Code: Select all

#Debian security
deb http://security.debian.org/ jessie/updates contrib main non-free 

#Debian mirror
deb http://httpredir.debian.org/debian/ jessie contrib main non-free 

#Debian jessie-updates mirror
deb http://httpredir.debian.org/debian/ jessie-updates contrib main non-free 

#Debian jessie-backports mirror
deb http://httpredir.debian.org/debian/ jessie-backports non-free main contrib 
I copied and pasted the code you gave me overwriting the one In my source list, and saved it, yet I still get this in the terminal

Apt-get update
type 'deb' is not known on line 1 in source list /etc/apt/sources.list
E: the list of sources could not be read.

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: How to update debian using server instead of discs

#16 Post by Segfault »

I asked you to post full actual sources.list. Where is it? Nowhere.

I guess you cannot update Debian then.


Leon8200
Posts: 34
Joined: 2016-02-02 08:27

Re: How to update debian using server instead of discs

#18 Post by Leon8200 »

Segfault wrote:I asked you to post full actual sources.list. Where is it? Nowhere.

I guess you cannot update Debian then.
My source list

#Debian security
deb http://security.debian.org/ jessie/updates contrib main non-free

#Debian mirror
deb http://httpredir.debian.org/debian/ jessie contrib main non-free

#Debian jessie-updates mirror
deb http://httpredir.debian.org/debian/ jessie-updates contrib main non-free

#Debian jessie-backports mirror
deb http://httpredir.debian.org/debian/ jessie-backports non-free main contrib

Post Reply