![]() |
How do you edit sources.list?
Okay in Ubuntu I would just open a xterm and type
Code:
sudo gedit /etc/apt/sources.list HEEEELLLLPPPPP! |
Re: How do you edit sources.list?
/etc/apt/sources.list.d/hildon-application-manager.list
|
Re: How do you edit sources.list?
Quote:
|
Re: How do you edit sources.list?
Edit it?
(with your favourite text editor) |
Re: How do you edit sources.list?
using emelFM2 to edit /etc/apt/sources.list.d/hildon-application-manager.list and I get permission denied?
|
Re: How do you edit sources.list?
Do it as root.
|
Re: How do you edit sources.list?
Okay, please I'm going round in circle and ready to throw my N800 at the wall.
Can you please do a step by step instructions for editing this file? What to open, what to type, etc.. |
Re: How do you edit sources.list?
sudo gainroot gets you a root shell; if it doesn't you need to either hook up to a Linux machine and use flasher-3.0 to enable R&D mode (which has other effects, too), or install the becomeroot package, which kills the test for R&D mode so gainroot works.
Once you've got a root shell, if you want it like Ubuntu's default, you need to use visudo to add a line with ALL, nopasswd, ALL.... EDIT: OK, here's the actual line to add: Code:
user ALL = NOPASSWD: ALL |
Re: How do you edit sources.list?
I've got becomeroot already installed and I can sudo gainroot.
Its what do I type next? If I edit with emelFM2 I get permission denied. |
Re: How do you edit sources.list?
Well, you can try using whatever editor you like; some GUI editors will have session-related issues from running root, and won't work; if you can't get your favorite, go with your favorite screen editor (I use JOE (with stylus support) for almost all editing on the N800), or maybe even sed...
(Sorry if the non-specificity is annoying, but while all the respondents so far are probably arrogant enough to tell you which editor is best ;), I think none are sufficiently presumptious to tell you which to use. If you want to use that piece-of-<insert rival editor>, I'm not gonna stop you...) |
All times are GMT. The time now is 03:37. |
vBulletin® Version 3.8.8