[arch-general] pacman overwriting files (was Re: dcron 4.2)

Heiko Baums lists at baums-on-web.de
Wed Feb 10 15:59:26 EST 2010


Am Wed, 10 Feb 2010 22:30:52 +0200 (EET)
schrieb Dimitrios Apostolou <jimis at gmx.net>:

> Guys that thing bit me again: During the big libpng upgrade
> "initscripts" package got upgraded too and /etc/rc.{sysinit,shutdown}
> got overwritten without notifying me. Because of special changes I've
> made to mount /var as tmpfs, and because I forgot to put the files in
> the NoUpgrade line of pacman.conf, the system was unbootable and
> after fixing it pacman wants to download 500MB of packages again
> (ideas?). :-@
> 
> Can't pacman just emit a big fat warning like: 
> WARNING: /etc/rc.sysinit USER CHANGES OVERWRITTEN
> 
> Since this case is extremely rare, the message would appear scarcely.
> I can't thing of anything negative for such a feature.

Just add
NoUpgrade   = etc/rc.sysinit
to /etc/pacman.conf

Such a warning is not necessary, because /etc/rc.sysinit is a system
script which usually doesn't need to be modified. And people, who
modify it should know what they are doing.

Greetings,
Heiko


More information about the arch-general mailing list