[fink:feature-requests] #245 Replacement/Update of ConfFiles

Daniel Macks via Fink-tracker <[email protected]>
Newsgroups gmane.os.apple.fink.tracker
Message-ID </p/fink/feature-requests/245/77505e993f9aa88ee12b89caba85119288ee09c5.feature-requests@fink.p.sourceforge.net>
'fink reinstall' just hands off to 'dpkg -i', and that's the layer where "a conffile has changed, what do you want to do?" is handled. I think it currently/already does happen if your .deb has a different ConfFile content than the previous .deb and you have changed the local one--you need to decide which set of changes (new-deb or local) to keep in the live file.

Except for core packages, you can 'dpkg -r --force-depends' to delete a package even if doing so would break the dependencies of other installed packages. Presumably that --force also works with 'dpkg --purge', so then you could 'reinstall' and get a fresh conffile installed. I also see a --force-confmiss option, documented as "Always install missing config files", so perhaps just 'dpkg -i --force-confmiss FOO.deb' would do exactly what you want?


---

** [feature-requests:#245] Replacement/Update of ConfFiles**

**Status:** open
**Group:** 
**Created:** Sun Mar 05, 2017 03:04 PM UTC by K.-M. Schindler
**Last Updated:** Mon Mar 06, 2017 07:33 AM UTC
**Owner:** nobody


Files listed in the field ConfFiles do not get replaced in newer versions / revisions of a package. The only way is a purge, install sequence, which is a pain, when there is a large number of dependences. 
My suggestions is that with install or update there is a dialogue about which version to take similar to the one, when such a file has been changed manually, and with reinstall the file is replaced without dialogue.


---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/fink/feature-requests/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/fink/admin/feature-requests/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Fink-tracker mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.tracker
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.