Re: Yum Package Remove Order

2012-12-04 Thread Bruno Wolff III
On Tue, Dec 04, 2012 at 10:52:06 +0200, Panu Matilainen wrote: The ancient rpm on CentOS 5 doesn't know how to order erasures, no amount of fiddling with dependencies can cure that. This also has little to do with Fedora development... In a thread that wandered off list I pointed the orig

Re: Yum Package Remove Order

2012-12-04 Thread Panu Matilainen
On 12/02/2012 03:46 AM, Mark Bidewell wrote: On Fri, Nov 30, 2012 at 10:54 PM, Adam Williamson wrote: On Fri, 2012-11-30 at 17:24 +0100, Nicolas Mailhot wrote: Le Ven 30 novembre 2012 15:11, Mark Bidewell a écrit : I have been working on packaging software into RPMs for my company. These

Re: Yum Package Remove Order

2012-12-04 Thread Björn Persson
Mark Bidewell wrote: > Here is the setup we have. > 1) An RPM which creates a raw JBoss install > 2) An RPM which sets up a specialized server config (based on the > default config from 1) with common configuration > 3) RPMs containing WARs (and configuration). And how do those packages depend on

Re: Yum Package Remove Order

2012-12-03 Thread Fernando Nasser
: "Development discussions related to Fedora" > > Sent: Saturday, December 1, 2012 8:46:52 PM > Subject: Re: Yum Package Remove Order > > > > > > > > On Fri, Nov 30, 2012 at 10:54 PM, Adam Williamson < > awill...@redhat.com > wrote: >

Re: Yum Package Remove Order

2012-12-01 Thread Mark Bidewell
On Fri, Nov 30, 2012 at 10:54 PM, Adam Williamson wrote: > On Fri, 2012-11-30 at 17:24 +0100, Nicolas Mailhot wrote: > > Le Ven 30 novembre 2012 15:11, Mark Bidewell a écrit : > > > I have been working on packaging software into RPMs for my company. > These > > > RPMs create directories in %post

Re: Yum Package Remove Order

2012-11-30 Thread Adam Williamson
On Fri, 2012-11-30 at 17:24 +0100, Nicolas Mailhot wrote: > Le Ven 30 novembre 2012 15:11, Mark Bidewell a écrit : > > I have been working on packaging software into RPMs for my company. These > > RPMs create directories in %post into which dependent RPMs install > > components. > > You need to c

Re: Yum Package Remove Order

2012-11-30 Thread Richard W.M. Jones
On Fri, Nov 30, 2012 at 04:37:47PM +0100, Stanislav Ochotnicky wrote: > %file > ... > %dif /opt/companydirs %files ... %dir :-) Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software insi

Re: Yum Package Remove Order

2012-11-30 Thread Nicolas Mailhot
Le Ven 30 novembre 2012 15:11, Mark Bidewell a écrit : > I have been working on packaging software into RPMs for my company. These > RPMs create directories in %post into which dependent RPMs install > components. You need to create those directories in %install and have your package own them in

Re: Yum Package Remove Order

2012-11-30 Thread Stanislav Ochotnicky
Quoting Mark Bidewell (2012-11-30 16:21:20) > On Fri, Nov 30, 2012 at 9:47 AM, Fernando Nasser wrote: > > Hi, > > > > Why are you creating these directories in %post in the firs place? > > > > If you create them in %install (empty) and own them regularly in %file and > > do the same on > > the oth

Re: Yum Package Remove Order

2012-11-30 Thread Mark Bidewell
s on it, they will be properly removed > when the last > RPM that owns them go away. > > Regards, > Fernando > > - Original Message - > > From: "Mark Bidewell" > > To: "Development discussions related to Fedora" < > devel@lists.fedoraproj

Re: Yum Package Remove Order

2012-11-30 Thread Fernando Nasser
, Fernando - Original Message - > From: "Mark Bidewell" > To: "Development discussions related to Fedora" > > Sent: Friday, November 30, 2012 9:11:54 AM > Subject: Yum Package Remove Order > > > I have been working on packaging software i

Re: Yum Package Remove Order

2012-11-30 Thread Bruno Wolff III
On Fri, Nov 30, 2012 at 09:38:36 -0500, Matthew Miller wrote: On Fri, Nov 30, 2012 at 09:11:54AM -0500, Mark Bidewell wrote: I have been working on packaging software into RPMs for my company. These RPMs create directories in %post into which dependent RPMs install components. If I yum remo

Re: Yum Package Remove Order

2012-11-30 Thread Bruno Wolff III
On Fri, Nov 30, 2012 at 09:11:54 -0500, Mark Bidewell wrote: I have been working on packaging software into RPMs for my company. These RPMs create directories in %post into which dependent RPMs install components. If I yum remove the main package it will be erased first by yum prior to erasi

Re: Yum Package Remove Order

2012-11-30 Thread Matthew Miller
On Fri, Nov 30, 2012 at 09:11:54AM -0500, Mark Bidewell wrote: > I have been working on packaging software into RPMs for my company. These > RPMs create directories in %post into which dependent RPMs install > components. If I yum remove the main package it will be erased first by > yum prior to

Yum Package Remove Order

2012-11-30 Thread Mark Bidewell
I have been working on packaging software into RPMs for my company. These RPMs create directories in %post into which dependent RPMs install components. If I yum remove the main package it will be erased first by yum prior to erasing the dependent packages. When the uninstall scripts for the dep