Update Question

shrek-m at gmx.de shrek-m at gmx.de
Sun Mar 28 08:59:10 UTC 2004


hutuworm wrote:

>up2date -u -f is better.
>  
>

why ?

-f = --force, use this only if there is really no other possibility


$ man up2date
# up2date-nox -u

$ man yum
# yum update

>>Is this a legal command in Linux to upgrade your box
>>rpm -Uvh *.rpm 
>>http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/Fedora/RPMS/
>>    
>>

while tesing i prefer yum, up2date-nox, up2date

for rhl/fedora i use
$ wget -cr ftp://bla.bla
# rpm -Fvh /path/to/rpms_and_for_kernel.arch_glibc.arch


afaik
'up2date' and 'yum' can handle $ARCH proper,
with 'rpm' you could run in trouble (search in bugzilla)


eg.
$ rpm -qa --qf "%{arch} %{name}\n" kernel* glibc*
i386 kernel-utils
athlon kernel
i386 glibc-common
athlon kernel
i386 kernel-pcmcia-cs
i386 kernel-source
i386 glibc-kernheaders
i386 glibc-devel
i686 glibc
i386 glibc-headers


rpm can handle ftp:// better than http://

eg.
i had less problems with
# rpm -Fvh ftp://bla.bla/*.rpm



-- 
shrek-m





More information about the test mailing list