LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   Using the sources.list(5) manual page (http://www.linuxquestions.org/questions/debian-26/using-the-sources-list-5-manual-page-544465/)

Greebstreebling 04-09-2007 04:20 AM

Using the sources.list(5) manual page
 
Dear all, I am thinking of upgrading to Debian 4 and on the Debian site I found the following:

(see the sources.list(5) manual page)

Can anyone help me with a command that allows me to access the page. I have tried similar help file access before without success, perhaps I need to install a package?

Is there a way to do it using the Gnome GUI?

Thanks,
Greeb

reddazz 04-09-2007 04:35 AM

The apt-get manual page (man apt-get) should have info that can help you upgrade one version od Debian to another. To do the upgrade, all you need to do is edit the /etc/apt/sources.list file, change the sources to point to the new release, do "apt-get update" and then "apt-get dist-upgrade".

BillyGalbreath 04-09-2007 11:07 AM

Quote:

Originally Posted by Greebstreebling
...see the sources.list(5) manual page...

When you see the message it means you need to type this in a terminal:

Code:

man sources.list
It will bring up the man pages for that item.

9/10 times man pages confuse me. So I use google to find most of my answers.

But to make things easier for you, all you have to do is open a terminal and su to root (type su, press enter, type in the root password, press enter) then open the sources.list file in your favorite text editor (mine is nano):

Code:

nano /etc/apt/sources.list
Then change all "sarge" to "etch" and save the file (for nano press CTRL+X to save).

Once the file has been saved with the new sources, you have to update the package lists.

Code:

apt-get update
If it errors, you have a typo or error in your sources.list file.

Once it successfully updates then you need to upgrade to etch with the dist-upgrade.

Code:

apt-get dist-upgrade
If this fails for whatever reason, run this command:

Code:

apt-get install -f
Then try dist-upgrade again until everything is finally upgraded.


All times are GMT -5. The time now is 11:44 AM.