FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Packaging

 
 
LinkBack Thread Tools
 
Old 02-05-2010, 04:39 PM
Daniel Piddock
 
Default update-alternatives (and other such pre/post scripts) in multi-arch

Hi,

I'm trying to create a multi-arch package that uses update-alternatives.
I followed the spec on
https://fedoraproject.org/wiki/PackagingDrafts/UsingAlternatives but
this falls apart when uninstalling a package in a multi-arch system,
when the partner package is also installed e.g. removing the i686 when
the x86_64 is installed. $1=1 to %postun, like it was a simple upgrade.

java-1.6.0-openjdk appears to be one example of a package suffering this
problem.

Using $1 for other tasks in multi-arch packages gets just as messy.

https://bugzilla.redhat.com/show_bug.cgi?id=340391 is an open bug about
this issue with a history tracking back to 2004 that has received little
attention.

Is there any clean or possible way to get this to work? Or just hope
users don't uninstall and notice that alternatives now contains stale data?

Thank you,

Dan Piddock
--
System Administrator, CoreFiling Ltd
http://www.corefiling.com
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 

Thread Tools




All times are GMT. The time now is 10:16 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org