On Feb 21,2003 15:04:39 -0500, Anthony DeRobertis <[EMAIL PROTECTED]> wrote : >On Mon, 2003-02-17 at 05:14, Martin Costabel wrote: >> On lundi, fév 17, 2003, at 08:48 Europe/Paris, Anthony DeRobertis wrote: >> [] >> > [0] Reading the postinst, this seems to be when a certain file is >> > missing. What ever happened to this file? And there are certainly >> > better ways to deal with this than asking for a manual re-install... >> >> I don' think so. This is a neat trick, in fact. The reinstall costs you >> nothing, since you already built the deb file. > >Not really. Remove/reinstall takes many minutes on my iBook 500 --- >certainly not as long as the build, but it's not free. And unlike the >build, it requires manual action. > >Some suggestions: > > 1) Add the file back. Depending on how it went missing, it > should still be in dpkg's database. Otherwise things like > dpkg-divert should make it possible. > 2) Rename the package, give the new one Provides/Replaces/Conflicts > with the old one. Depend on the new one. > >Probably some other courses of action as well --- but I'd have to hear >details before thinking of them. > >> >> Don't underestimate the difficulty of upgrading a bunch of heavily >> interdependent packages to a new version that has many new files and >> files moved around to different places. > >I don't --- I've been around Debian long enough to appreciate the >difficulty of making things work right. > >
Here's the problem: In the old version of tetex-base, I used a PostRemove script in an attempt to clean some things up when you uninstall tetex, but (with some hindsight) I didn't do it right: it contains the line rm -Rf %p/share/texmf/tex/context (At the time, the context package was being installed separately, but now it comes as part of tetex-texmf.) What happens when you now upgrade tetex-base? Well, first, due to the dependency, it upgrades tetex-texmf to the latest version. Then, it upgrades tetex-base, but in the course of doing so it executes that PostRemove script, which wipes out files that were just installed. My workaround is the "please reinstall tetex-texmf" message which you encountered. The problem is that the removal of files is happening in PostRemove, outside of dpkg's control. But if you can think of an alternate way to solve this problem, I would love to hear it. -- Dave ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel