On Thu, Oct 22, 1998 at 12:26:55PM -0400, Jacques Gelinas wrote:
>
> Anyway, managerpm is a small module (< 1000 lines of code). Check the
> source and provide patches, ideas. This has a huge potential and we are
> only tapping a small part currently.
>
We have the following need:
- We have a directory with all the rpms that a machine should have
installed. Nothing more, nothing less. We therefore need a way
of _removing_ rpms that are not in the directory we are 'syncing'
with. AFAIK, autorpm doesn't support this.
- We need a command-line interface.
Wrt. installing rpms, it is sometimes a bit tricky.
- If you install many rpms and one is bad, it barfs on you.
Consequently, you want to install one rpm at a time if possible.
- However, to handle cyclic dependencies you _must_ install all the
rpms in the cycle simultaneously.
A way to solve this is to repeatedly iterate through the list of
rpms that should be installed/updated, installing/updating one rpm
at a time. If you have a complete iteration through the list
without a successful installation/update, the last rpms might have
cyclic dependencies. The last rpms should therefore be installed in
one command.
astor
--
Alexander Kjeldaas, Guardian Networks AS, Trondheim, Norway
http://www.guardian.no/
---
You are currently subscribed to linuxconf as: [[email protected]]
To unsubscribe, forward this message to [EMAIL PROTECTED]