[Grml] Re: Any package replace /etc/apt/sources.list?

Michael Prokop mika at grml.org
Sat Oct 7 22:26:57 CEST 2006

* T <mlist4suntong at yahoo.com> [20061007 22:15]:
> On Thu, 05 Oct 2006 23:19:25 +0200, Michael Prokop wrote:

> > By default /etc/apt/sources.list is a symlink to
> > /etc/apt/sources.list.grml but if you modify the file on your own
> > (removing the symlink therefore) it won't be touched anymore.

> Oh, I was just working on /etc/apt/sources.list, and I didn't know it is
> symlinked. 

> Just for the archive, the file /etc/apt/sources.list.grml did get updated,
> and so is my modification. Luckily, I have backups.

> Lesson learned: remove the symlink before editing /etc/apt/sources.list.

Yes, or use vim - then the symlink is removed automatically when
editing /etc/apt/sources.list and you don't have to care about it. :)

You like grml?  Help us!      http://grml.org/donations/
Already on the grml-user-map? http://www.frappr.com/grmlusers
The Grml Planet               http://planet.grml.org/
Grml Solutions                http://solutions.grml.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://ml.grml.org/pipermail/grml/attachments/20061007/4ff58f6e/attachment-0003.pgp>

More information about the Grml mailing list