(Jul 21 2005 17:23) Andy Bakun wrote:
> # swup --upgrade perl
> Fetching upgrade info for site: Trustix Official http
> Fetching upgrade info for site: Trustix Official ftp
> Fetching resource info for site: Trustix Official ftp
> Fetching resource info for site: Trustix Official http
> Verifying packages.
> Done verifying packages.
> Checking conflicts - done.
> Packages to install/upgrade:
>         upgrade: perl, version 5.8.5 release 7tr
>         upgrade: ntp, version 4.2.0 release 14tr
>         upgrade: openldap, version 2.1.30 release 5tr
>         upgrade: php-ldap, version 5.0.4 release 7tr
> 
> 
> Am I missing something?  Why does upgrading perl require upgrades to
> ntp, openldap and php-ldap?  I assume there are some support scripts in
> each of these that are written in perl -- wouldn't it be better to
> require a major version of perl (5.8.x or 5.8.5) rather than a specific
> package (5.8.5-7tr)?

It's just swup trying to be wise and keep the system as up to date as
possible.

Both ntp and openldap requires /usr/bin/perl, and php-ldap requires
openldap.

What swup does when you issue the command "swup --upgrade perl" is to
check if a newer version of perl is available. If it is, swup then
checks if any other installed package that requires perl has an
available update. If it has one, that's also selected for upgrade, and
so on.

The '--local-first' switch might force swup to only upgrade what's
needed, but since it was not included for this specific situation, I'm
not sure that it will do anything useful. :)


kind regards

c


-- 
Christian H. Toldnes
Trustix Developer
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to