On Mon, 2005-01-10 at 19:08 +0100, Bill Allombert wrote: > On Mon, Jan 10, 2005 at 11:00:57AM -0500, Adam C Powell IV wrote: > > During a woody->sarge upgrade, the new menu unpacked before the old > > ghostview was removed, resulting in the following breakage: > > Thanks to notifying me! > May I ask why ghostview was removed here ?
I don't remember, I think out of a habit of removing obsolete packages. > > Removing ghostview ... > > /var/lib/dpkg/info/ghostview.postrm: /usr/bin/update-menus: Permission > > denied > > dpkg: error processing ghostview (--purge): > > subprocess post-removal script returned error exit status 1 > > So ghostview.postrm use the ominous command -v > if command -v update-menus > /dev/null 2>&1; then > update-menus > fi > > (command -v has this nasty bug of finding non executable files in the > path and not being POSIX sh). This is serious multi-policy violation in > woody ghostview... It's annoying to have to work around past brokenness in order to make a current upgrade work. And the list of broken packages in your followup email is quite long. :-( > > How to fix this? I suppose you could conflict with ghostview, which is > > now obsolete, so it gets removed before menu is upgraded. Most other > > woody packages (at least, all others installed on my one remaining woody > > system) use test -x update-menus to avoid calling it if not executable, > > so those should upgrade just fine. > > I think you are right. I will try to check all relevant maintainers > scripts in woody first. > > I am afraid apt prefer to keep ghostview than removing it, making hard > to upgrade. What do you think ? Hmm, hard to say. Do we want to support people still using an obsolete package (by not conflicting with it), or force them to get rid of a broken one? Since alternatives are readily available, I'd lean toward the latter. Maybe I should wishlist bug gv to conflict/replace ghostview? -Adam -- GPG fingerprint: D54D 1AEE B11C CE9B A02B C5DD 526F 01E8 564E E4B6 Welcome to the best software in the world today cafe! http://www.take6.com/albums/greatesthits.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]