Bug#152299: acknowledged by developer (Re: Bug#152299: dpkg: Should warn when 3rd-party file effects (un)installation)
On Mon, Jul 08, 2002 at 02:25:41PM -0700, Michael Toomim wrote:
> >>When dpkg encounters a package's installed file that has been modified
> >>by the user, it doesn't by default replace it with a new version.
> >>Instead, it just leaves the file there and skips the new version's
> >>file.
> >
> >Er, only conffiles get such treatment.
>
> I'm confused. What do you mean by hand waving here? Was I leaving out
> some information? Was I wrong about some information?
Yes, Adam didn't say it explicitely, but your premise is wrong -- dpkg
blithely overwrites all files that aren't marked as conffiles.
The conclusions you later drew were wrong and could be interpreted as
handwaving (see the Jargon file definition :).
> I thought that when I upgraded X, my mga drivers in
> /usr/X11R6/lib/modules/drivers/mga* didn't get replaced, and that the
> mismatch caused the new X to segfault. I thought that this was because
> dpkg doesn't replace files that are modified by the user after the
> original installation. Am I wrong?
The files might not have gotten replaced if they e.g. weren't part of a
package but obtained some other way. Or, alternatively, the new X segfaulted
for some other reason.
--
2. That which causes joy or happiness.
--
To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: