[Yast-users] problem installing yast on new oel4-U5 system
Phillip Brown
phillip.brown at opesprime.com
Thu Nov 29 18:30:27 PST 2007
Hi
This morning I (again) downloaded the file from
http://oss.oracle.com/projects/yast/dist/files/el4/20070117/yast_el4_x86_32.tar
scp'ed it across to the problem server, untarred, which it did with no
complaint, then ran uninstall - no problem, and install, which ended up
with the same problem
pbrown at arisia:~/temp/yast_el4_x86_32> md5sum yast-EM-1.0.0-0.2.rpm
29fe8bf9389b99ab3ad2db2f069ab245 yast-EM-1.0.0-0.2.rpm
....
[root at appserver05 ~]# cd yast_el4_x86_32
[root at appserver05 yast_el4_x86_32]# md5sum yast-EM-1.0.0-0.2.rpm
29fe8bf9389b99ab3ad2db2f069ab245 yast-EM-1.0.0-0.2.rpm
[root at appserver05 yast_el4_x86_32]# rpm -Uvh yast-EM-1.0.0-0.2.rpm
Preparing... ###########################################
[100%]
1:yast-EM ###########################################
[100%]
error: unpacking of archive failed: cpio: Bad magic
Also, this is happening on more than one server (both servers have same
update level)
FWIW, I have just worked out a work-around
pbrown at arisia:~/temp/yast_el4_x86_32> rpm2cpio yast-EM-1.0.0-0.2.rpm |
cpio -icvd
./usr/share/YaST2/clients/EM-dns.ycp
./usr/share/YaST2/clients/EM-host.ycp
./usr/share/YaST2/clients/EM-network-devices.ycp
./usr/share/YaST2/clients/EM-nfs-client.ycp
./usr/share/YaST2/clients/EM-routing.ycp
./usr/share/YaST2/clients/EM-services.ycp
./usr/share/YaST2/clients/EM-test.ycp
./usr/share/YaST2/clients/GPL
./usr/share/YaST2/clients/LICENSE
./usr/share/YaST2/clients/RunYast.sh
173 blocks
.....
[root at appserver05 yast_el4_x86_32]# rpm -Uvh yast-EM-1.0.0-0.2.rpm --justdb
Preparing... ########################################### [100%]
....
pbrown at arisia:~/temp/yast_el4_x86_32> cd usr
pbrown at arisia:~/temp/yast_el4_x86_32/usr> scp -r * root at appserver05:/usr
root at appserver05's password:
EM-network-devices.ycp 100% 13KB 12.6KB/s 00:00
EM-services.ycp 100% 7611 7.4KB/s 00:00
EM-host.ycp 100% 4852 4.7KB/s 00:00
GPL 100% 18KB 17.6KB/s 00:00
EM-nfs-client.ycp 100% 12KB 11.7KB/s 00:00
LICENSE 100% 18KB 17.6KB/s 00:00
RunYast.sh 100% 1339 1.3KB/s 00:00
EM-dns.ycp 100% 3132 3.1KB/s 00:00
EM-routing.ycp 100% 7528 7.4KB/s 00:00
EM-test.ycp 100% 1370 1.3KB/s 00:00
regards
Phillip
Zhao Shujing wrote:
> Hi, Phillip
> I think perhaps on the first machine the rpm might be corrupted. I'd
> suggest to verify with md5sum if its the same as on the box where it
> works.
>
> Thanks
> Pearly Zhao
>
> On Thu, 2007-11-29 at 11:06 +1100, Phillip Brown wrote:
>> I have been trying to install yast2 on a new oel4-u5, with latest (as of
>> today) updates.
>>
>> It all goes fine until it gets to installing yast-EM-1.0.0-0.2.rpm
>> (which is the current one available from oss.oracle.com).
>>
>> [root at appserver05 ~]# rpm -Uvh yast-EM-1.0.0-0.2.rpm
>> Preparing... ###########################################
>> [100%]
>> 1:yast-EM ###########################################
>> [100%]
>> error: unpacking of archive failed: cpio: Bad magic
>> [root at appserver05 ~]# rpm -q cpio
>> cpio-2.5-13.RHEL4
>> [root at appserver05 ~]# cpio --version
>> GNU cpio version 2.5
>> [root at appserver05 ~]# rpm -q rpm
>> rpm-4.3.3-23_nonptl.0.1
>> [root at appserver05 ~]# rpm2cpio yast-EM-1.0.0-0.2.rpm | cpio -it
>> cpio: premature end of archive
>>
>> rpm -q on the file works, but not actually installing
>>
>>
>> on my opensuse 10.3 laptop, I can do
>>
>> pbrown at arisia:~/temp> rpm2cpio yast-EM-1.0.0-0.2.rpm | cpio -it
>> ./usr/share/YaST2/clients/EM-dns.ycp
>> ./usr/share/YaST2/clients/EM-host.ycp
>> ./usr/share/YaST2/clients/EM-network-devices.ycp
>> ./usr/share/YaST2/clients/EM-nfs-client.ycp
>> ./usr/share/YaST2/clients/EM-routing.ycp
>> ./usr/share/YaST2/clients/EM-services.ycp
>> ./usr/share/YaST2/clients/EM-test.ycp
>> ./usr/share/YaST2/clients/GPL
>> ./usr/share/YaST2/clients/LICENSE
>> ./usr/share/YaST2/clients/RunYast.sh
>> 173 blocks
>> pbrown at arisia:~/temp> cpio --version
>> cpio (GNU cpio) 2.9
>>
>> any ideas?
>>
>> p.s. I would have logged a bugzilla, but yast2 does not appear as a
>> choice for logging a bug.
>>
>
--
Phillip Brown
Senior Business Systems Administrator
Opes Prime Stockbroking Ltd.
Level 17,
330 Collins Street
Melbourne
VIC 3000
ph : +61 3 9675 0700
mob: +61 416 287 946
fax: +61 3 9618 7599
web: http://www.opesprime.com
Participating Organisation of the Australian Stock Exchange Limited
AFSL: 247408
ABN : 18 086 294 028
Opes Prime Stockbroking Ltd is a Market Participant of ASX Limited; AFS Licence No: 247408
The contents of this email or the attachments are not a recommendation and have been prepared without considering your investment objectives, financial situation or particular needs. Before acting on this email, you should seek independent financial advice and consider its appropriateness to your circumstances.
This email and any attachments are confidential and for the use of the intended recipient(s) only. If you are not the intended recipient, any use, interference with, disclosure or copying of this material is unauthorised and prohibited. If you have received this email in error, please delete it and any copies from your system, and notify the sender.This email and attachments are subject to copyright and you should not reproduce or communicate any part of it without the written consent of Opes Prime Stockbroking Ltd. It is your responsibility to check this email and any attachments for viruses before opening or forwarding it.
Opes Prime Stockbroking Ltd is part of Opes Prime Group Ltd ABN 13 120 372 223 www.opesprime.com
More information about the Yast-users
mailing list