Results 11 to 13 of 13
Originally Posted by Daan
The "whoami" command is just to check that you have succesfully switched user to root. The output confirmed that you did. When I am root at ...
- 03-22-2009 #11Just Joined!
- Join Date
- Mar 2009
- Posts
- 14
Many thank yous for your latest response. Very useful information in it.
I repeated the operation and got
-rw- r--r-- root root 822 2009-03-22 04:48 /etc/apt/sources.list
-rw- r--r-- root root -- 0 2009-03-07 04:48 /etc/apt/sources.list~
-rw- r--r-- root root 822 2009-03-22 04:48 /etc/apt/sources.list.save
- 03-22-2009 #12
Hmm. The first rw for each file indicates that the owner - here that is root - can read and write the file. So doing
as root should open up an editor so that you can edit and save the file.Code:# gedit /etc/apt/sources.list
Before you do, please make a backup of the original
Good luck!Code:# cp -a /etc/apt/sources.list /etc/apt/sources.list.bak
OS's I use: Debian testing, Debian stable, Ubuntu, Windows XP, Windows Vista
- 03-25-2009 #13Just Joined!
- Join Date
- Mar 2009
- Posts
- 14



Reply With Quote
