[Fedora-packaging] More alternatives fun and games

Dominik 'Rathann' Mierzejewski dominik at greysector.net
Wed Jun 18 20:33:28 UTC 2008


On Wednesday, 18 June 2008 at 20:05, Orion Poplawski wrote:
> I just removed the 32-bit emacs package from a 64-bit machine and 
> /usr/bin/emacs went away, presumably because of:
> 
> preuninstall scriptlet (using /bin/sh):
> alternatives --remove emacs /usr/bin/emacs-22.1
> 
> Is there any standard way we can avoid this?  Count the number of emacs 
> packages there will be after removal?

Hm. Must be a packaging bug, because I have reviewed a (livna) package
that uses alternatives and uninstalling the 32bit version didn't make
the alternativized link go away.

Regards,
R.

-- 
Fedora http://fedoraproject.org/wiki/User:Rathann
Livna http://rpm.livna.org | MPlayer http://mplayerhq.hu
"Faith manages."
        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"




More information about the packaging mailing list