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. -- Neal Holtz http://www.docuweb.ca/~nholtz Dept. of Civil and Environmental Engineering, Carleton University, Ottawa, Ontario, Canada K1S 5B6. nholtz@docuweb.ca
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. Never ever under any circumstances use --force 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
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
On Thursday 26 August 2004 20:21, Neal M. Holtz wrote:
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).
In that case, you probably have a version installed that the patch rpm can't handle. Go get http://ftp.gwdg.de/linux/suse/ftp.suse.com/suse/i386/update/9.0/rpm/noarch/w... instead and -Uvh with that. That's the full version
On Thursday 26 August 2004 20:24, Anders Johansson wrote:
In that case, you probably have a version installed that the patch rpm can't handle. Go get
http://ftp.gwdg.de/linux/suse/ftp.suse.com/suse/i386/update/9.0/rpm/noarch/ webmin-1.150-5.noarch.rpm
instead and -Uvh with that. That's the full version
Additionally, since you used -i I'll bet you have a messed up rpm database now. If you do "rpm -q webmin", you probably see more than one version. So before you install the above version, it's probably best to "rpm -e" both of those, and then "rpm -i" the above full version.
On Thu, Aug 26, 2004 at 08:28:49PM +0200, Anders Johansson wrote:
On Thursday 26 August 2004 20:24, Anders Johansson wrote:
In that case, you probably have a version installed that the patch rpm can't handle. Go get
http://ftp.gwdg.de/linux/suse/ftp.suse.com/suse/i386/update/9.0/rpm/noarch/ webmin-1.150-5.noarch.rpm
instead and -Uvh with that. That's the full version
Additionally, since you used -i I'll bet you have a messed up rpm database now. If you do "rpm -q webmin", you probably see more than one version. So before you install the above version, it's probably best to "rpm -e" both of those, and then "rpm -i" the above full version.
rpm -q shows me only one version, but I'll rpm -e anyway. Hope that doesn't delete config files under /etc/webmin, but I'll save them JIC. I looked at my patch mirror. It had both -r--r--r-- 1 xx xx 6856504 2004-08-18 14:02 webmin-1.150-5.noarch.rpm -r--r--r-- 1 xx xx 3527270 2004-08-18 14:31 webmin-1.150-5.noarch.patch.rpm in i386/update/9.0/rpm/noarch but in i386/update/9.0/patches is only -r--r--r-- 1 xx xx 1934 2004-08-24 13:40 webmin-51590 (wonder why its datestamped 6 days later than the rpms) it it claims: PatchRpmBasedOn: 1.070-169 BuiltFrom: webmin-1.150-5.src.rpm Version: 1.150-5 And of courses, I had 1.070-169 installed. So online_update only downloaded the patch and tried to apply it to the wrong version ... I wonder if there was a mixup in the patch files ... I'll hand-install 1.150-5 as you suggest .. Thanks -- Neal Holtz http://www.docuweb.ca/~nholtz Dept. of Civil and Environmental Engineering, Carleton University, Ottawa, Ontario, Canada K1S 5B6. nholtz@docuweb.ca
participants (2)
-
Anders Johansson
-
Neal M. Holtz