How to update debian using server instead of discs

If none of the more specific forums is the right place to ask

How to update debian using server instead of discs

Postby Leon8200 » 2017-03-12 19:52

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?
Leon8200
 
Posts: 34
Joined: 2016-02-02 08:27

Re: How to update debian using server instead of discs

Postby GarryRicketson » 2017-03-12 20:19

You could try:
How to update debian using server
One of many results:
https://www.debian.org/doc/manuals/debian-reference/ch02.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/debian-faq/ch-uptodate.en.html
To update your system from the command line, run

aptitude update

followed by

aptitude full-upgrade
"What we expect you have already Done"

Before doing anything, read the Debian documentation:
Debian Documentation
How to ask the smart way
Debian Foro Español
======================
For the Birds
User avatar
GarryRicketson
 
Posts: 4277
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: How to update debian using server instead of discs

Postby Ardouos » 2017-03-12 20:28

Edit your sources to point towards mirrored servers.

https://wiki.debian.org/SourcesList
User avatar
Ardouos
 
Posts: 914
Joined: 2013-11-03 00:30
Location: Elicoor II

Re: How to update debian using server instead of discs

Postby Leon8200 » 2017-03-12 20:51

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

Postby Leon8200 » 2017-03-12 20:54

Can someone paste a valid working source list code so I can paste it overwriting mine that will make this work for me please
Leon8200
 
Posts: 34
Joined: 2016-02-02 08:27

Re: How to update debian using server instead of discs

Postby dasein » 2017-03-12 21:05

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
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: How to update debian using server instead of discs

Postby stevepusser » 2017-03-12 21:07

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.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.1.0, Pale Moon 27.5.0, Liquorix kernel 4.12-10, mpv 0.27.0, Kodi 17.3, 0ad 0.0.22, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8815
Joined: 2009-10-06 05:53

Re: How to update debian using server instead of discs

Postby Leon8200 » 2017-03-12 21:23

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
Leon8200
 
Posts: 34
Joined: 2016-02-02 08:27

Re: How to update debian using server instead of discs

Postby dasein » 2017-03-12 21:29

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
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: How to update debian using server instead of discs

Postby Leon8200 » 2017-03-12 21:48

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

Postby Leon8200 » 2017-03-12 22:12

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
Leon8200
 
Posts: 34
Joined: 2016-02-02 08:27

Re: How to update debian using server instead of discs

Postby Ardouos » 2017-03-12 22:20

Linux is case sensitive.

Edit: /beer
Last edited by Ardouos on 2017-03-12 22:37, edited 6 times in total.
User avatar
Ardouos
 
Posts: 914
Joined: 2013-11-03 00:30
Location: Elicoor II

Re: How to update debian using server instead of discs

Postby Segfault » 2017-03-12 22:21

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.
Segfault
 
Posts: 480
Joined: 2005-09-24 12:24

Re: How to update debian using server instead of discs

Postby No_windows » 2017-03-12 22:27

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
No_windows
 
Posts: 375
Joined: 2015-08-05 03:03

Re: How to update debian using server instead of discs

Postby Leon8200 » 2017-03-12 23:04

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.
Leon8200
 
Posts: 34
Joined: 2016-02-02 08:27

Next

Return to General Questions

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable