On Thu, Aug 26, 2004 at 08:02:11PM +0200, Anders Johansson wrote:
On Thursday 26 August 2004 19:57, Neal M. Holtz wrote:
The webmin update for 9.0 that was distributed yesterday (Aug 25) fails during installation. When I try manually, I get:
harry:/var/lib/YaST2/you/mnt/i386/update/9.0/rpm/noarch # rpm -ihv --force webmin-1.150-5.noarch.patch.rpm Preparing... ########################################### [100%] 1:webmin ########################################### [100%] error: unpacking of archive failed on file /usr/lib/webmin/caldera/telnet/images/icon.gif;412e232e: cpio: open failed - No such file or directory
If I don't use --force, I get a lot of conflicts with prev version.
rpm -Uhv ... gives me the same.
rpm -Uvh does not give you conflicts with the previous version. Use it.
Yes, but as I said, it gives me the same error as '-ihv --force'. And the 'online_update' procedure also gives an error (but not, of course, with any helpful error message).
Never ever under any circumstances use --force
Thats probably good advice. I wasn't thinking ...
You can't use -i on a patch rpm, it doesn't contain all files, only those that have changed between the original version and the update. Use -Uvh
There's a clue, thanks. I guess the patch included files (in the 'caldera' subdirectory) that weren't included in the installed version. -- Neal Holtz http://www.docuweb.ca/~nholtz Dept. of Civil and Environmental Engineering, Carleton University, Ottawa, Ontario, Canada K1S 5B6. nholtz@docuweb.ca