Repository

Hello.  I need help getting into my source.list to delete some lines.  How do I change the permissions?  I've tried Synaptic, but the lines I need to delete aren't there.
 
Sebastian-- "...heart and soul....one will burn."- Joy Division

No votes yet

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Repository

On Mon, 26 Feb 2007 14:16:24 -0800
Baz wrote:

> Hello. I need help getting into my source.list to delete some
> lines. How do I change the permissions? I've tried Synaptic, but
> the lines I need to delete aren't there.

Login as root and edit with an editor the file /etc/apt/sources.list .
Better then to login, is to use the su command.

Frank

RE: Repository

v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}

/etc/apt/source.list

 

From: Baz
[mailto:bazciscor@gmail.com]
Sent: Tuesday, 27 February 2007
08:16
To:
;
Subject: Repository

 

Hello.  I need help getting into my source.list to delete
some lines.  How do I change the permissions?  I've tried Synaptic,
but the lines I need to delete aren't there.

 

Sebastian

--
"...heart and soul....one will burn."
- Joy Division

RE: Repository

v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}

/etc/apt/source.list

 

From: Baz
[mailto:bazciscor@gmail.com]
Sent: Tuesday, 27 February 2007
08:16
To:
;
Subject: Repository

 

Hello.  I need help getting into my source.list to delete
some lines.  How do I change the permissions?  I've tried Synaptic,
but the lines I need to delete aren't there.

 

Sebastian

--
"...heart and soul....one will burn."
- Joy Division

Repository

Baz wrote:
> Hello. I need help getting into my source.list to delete some lines. How
> do I change the permissions? I've tried Synaptic, but the lines I need to
> delete aren't there.
>
> Sebastian
>
Open a terminal and type this:

nano /etc/apt/sources.list

Press enter.

Now you can edit it :-)

--
/Niels
Registred Linux user #133791
Get counted at http://counter.li.org

--

Repository

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/26/07 16:16, Baz wrote:
> Hello. I need help getting into my source.list to delete some lines. How
> do I change the permissions? I've tried Synaptic, but the lines I need to
> delete aren't there.

- From a wide-enough xterm window:
$ cat /etc/apt/sources.list

If you see them:
$ sudo nano /etc/apt/sources.list

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF42qQS9HxQb37XmcRAjyYAJ44KJQ49R0isSWkRkGIMHH0BMrzpgCgmy1d
VPa8EexIzBqCrByX99nqrIc=
=85pn
-----END PGP SIGNATURE-----

--

Repository

On Mon, Feb 26, 2007 at 02:16:24PM -0800, Baz wrote:
> Hello. I need help getting into my source.list to delete some lines. How
> do I change the permissions? I've tried Synaptic, but the lines I need to
> delete aren't there.
>
> Sebastian
>

If changing the permissions is what you want to do, you can su into
root and change them using the chmod command. Note that if you share
your computer with other people this could cause a lot of trouble,
where others can mess with your sources.list.

Or you can just do what everyone else does and edit it as superuser :)

--

Repository

On Mon, Feb 26, 2007 at 10:42:56PM -0500, Michael Pobega wrote:
> On Mon, Feb 26, 2007 at 02:16:24PM -0800, Baz wrote:
> > Hello. I need help getting into my source.list to delete some lines. How
> > do I change the permissions? I've tried Synaptic, but the lines I need to
> > delete aren't there.
> >
> > Sebastian
> >
>
> If changing the permissions is what you want to do, you can su into
> root and change them using the chmod command. Note that if you share
> your computer with other people this could cause a lot of trouble,
> where others can mess with your sources.list.

yeah, I would strongly advise against changing the perms of
sources.list.

A

Repository

Please do not cross-post non-laptop related questions to the
debian-laptop list.

On Mon, Feb 26, 2007 at 02:16:24PM -0800, Baz wrote:
> Hello. I need help getting into my source.list to delete
> some lines. How do I change the permissions? I've tried
> Synaptic, but the lines I need to delete aren't there.

You can check permissions using 'ls'

ankh% ls -l /etc/apt/sources.list
-rw-r--r-- 1 root root 698 2007-01-12 16:51 /etc/apt/sources.list

I'd suggest not changing those permissions, but editing that
file as the root user. You can use the tool 'gksu' to
execute your favourite (graphical) editor as the root user,
e.g. 'gksu /usr/bin/gedit'

--
Jon Dowland

--

Syndicate content