[op-sepp] Package dependencies only work on installing but not on removing packages
Frank Thommen
frank.thommen at embl-heidelberg.de
Fri Apr 19 12:47:11 CEST 2013
Hi Tobi,
basically I agree and I might go this way. But it requires lots of
discipline by the software maintainers (which I can't really rely on
here :-). E.g. if an additional dependency (PATH, LD_LIBRARY_PATH,
etc.) is added to start.pl after installation, this will not be
reflected in the reverse index unless the respective seppadm function
(install/webbuild/...) is run. Adding to start.pl /after/ installation
happens quite often in the case of complex scientific packages where
dependencies appear only at runtime in specific functions (which are
only used now and then).
Generally I'd need a foolproof mechanism which is probably still to
check all META and start.pl files of all other packages when a package
is removed. This will require some time but we don't often remove
package anyway ;-)
Cheers
frank
On 18.04.13 18:45, Tobi Oetiker wrote:
> Frank,
>
> I guess you would have to build a reverse index, but sinc you could store it like the other indexes which are already being built, this would not be all that difficult.
>
> cheers
>
> Tobias Oetiker
> tobi at oetiker.ch
> 062 775 9902
>
> On 18.04.2013, at 11:08, Frank Thommen <frank.thommen at embl-heidelberg.de> wrote:
>
>> Hi
>>
>> package dependencies are only checked at package installation time, but
>> not when UNinstalling them. We have several time run into issues,
>> because a package has been removed which was required by others.
>>
>> Can you think for an easy way to implement such a check at
>> deinstallation time w/o searching through all META files of all other
>> packages?
>>
>> Cheers
>> frank
>>
>> --
>> Frank Thommen - Structures IT Management and Support - EMBL Heidelberg
>> frank.thommen at embl-heidelberg.de - +49 6221 387 8353
>>
>> _______________________________________________
>> op-sepp mailing list
>> op-sepp at lists.oetiker.ch
>> https://lists.oetiker.ch/cgi-bin/listinfo/op-sepp
>>
--
Frank Thommen - Structures IT Management and Support - EMBL Heidelberg
frank.thommen at embl-heidelberg.de - +49 6221 387 8353
More information about the op-sepp
mailing list