[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with --purge and reinstalling




Le 5 sept. 07 à 21:58, Thibaut Paumard a écrit :

Dear mentors,

I'm maintaining the yorick-* packages. The source package is split into yorick, yorick-data and yorick-dev. The conffiles are in the - data package. However, yorick.postrm removes these files upon -- purge. I guess I must have been slightly offset from my head when I did this, but that's the situation in Etch.

I just noticed a problem if a user does:
aptitude install yorick (installs yorick and yorick-data)
aptitude remove yorick (removes yorick and yorick-data)
dpkg --purge yorick (deletes /etc/yorick/*, which actually belongs to yorick-data)
aptitude install yorick (installs yorick and yorick-data)

When reinstalling yorick the conffiles are not installed! One needs to purge y-data for these conffiles to get reinstalled.

Hi all,

I've been thinking about it and Justin's answer, and this is where I stand:

1) I believe the conffiles should belong to the "yorick" package, not "yorick-data".

2) the upgrade from etch's yorick to the next set should be seamless if yorick and yorick-data have both been removed and if they boh been purged (equivalent to not installed).

3) on the other hand, in this special case, I believe the admin should be prompted either if the files have been modified or if they have been deleted.

Do we agree on what the next upload of the package _should_ do?

Best regards, Thibaut.



Reply to: