El jue, 17-01-2002 a las 19:24, Franki escribi�:
> Hi all,
>
> I just downloaded the entire 8.1 update site, lock stock and barrel, and
> burned it to a CD...
>
> problem is that I don't know what to do with it now, I wanted to take it to
> each server, and use it as a source for updating all my linux servers
> running all over the country side..
>
> but it won't accept it as a source, it tells me it has no hdlist.. and then
> it won't build one..
>
> anyone know a way to check if a package is installed, and if it is, is its
> version older then the one on the cd???
>
> I just wanted to save myself some downloading the same stuff over and
> over...
>
>
> any ideas people?
>
>
> rgds
>
> Frank
The command you are looking for is:
rpm -Fvh *.rpm
This is from the man page of rpm:
rpm {-F|--freshen} [install-options] PACKAGE_FILE ...
This will upgrade packages, but only if an earlier version
currently exists. The PACKAGE_FILE may be specified as an
ftp or http URL, in which case the package will be down�
loaded before being installed.
but be carefully, because you can have problems with kernel packages.
The kernel packages must be installed with -ivh option (I believe, but I
can't remember exactly now, please correct me if necessary).
If it is correct, you must put your kernel packages in a different
folder to allow a different install command.
Saludos
�scar.
--
.-.
oo|
/`'\ Usuario de Linux Registrado #227443
(\_;/) http://counter.li.org/
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com