[Yast-users] problem installing yast on new oel4-U5 system
Zhao Shujing
pearly.zhao at oracle.com
Mon Dec 10 19:31:55 PST 2007
hi, Phillip
Thanks for the information you provided. What caused that problem is the
rpm version of latest EL4 is different with the system we built yast-EM.
yast-EM has been rebuilt for both EL4U5 and EL4U6 now.
You can get it from
http://oss.oracle.com/projects/yast/dist/files/el4/20070117/rpm/yast-EM-1.0.0-0.3.noarch.rpm
or get the all tar files from
http://oss.oracle.com/projects/yast/dist/files/el4/20070117/yast_el4_x86_32.tar
Thanks
Pearly Zhao
On Fri, 2007-11-30 at 13:30 +1100, Phillip Brown wrote:
> 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.
> >>
> >
>
>
More information about the Yast-users
mailing list