SuSE 8.2 Prof installation of devs-2003.3.14-1 : rm: command not found
Hello List, While my configuration of autoyast in SuSE Linux 8.1 works perfectly an annoying RAID controller in a Dell server forced me to upgrade to 8.2. Normal installation from the SuSE CD's works like a charm. However, autoyast (adapted to the 8.2 rpm's like coreutils) returns errormessages during installation : - SuSE 8.2 Professional via autoyast - installation of devs-2003.3.14-1 - Error messages : - var/tmp/rpm-tmp.<PID>: line <n>: rm: command not found (line = 5 and 8) I checked (on tty2) and indeed most programs in /mnt/bin and /mnt/usr/bin are failing. I think the interesting part of the autoinstall.xml is : <software> <addons config:type="list"/> <base>Minimal</base> <packages config:type="list"> <package>SuSEfirewall2</package> <package>aaa_base</package> <package>aaa_skel</package> <package>acl</package> <package>acpid</package> <package>alsa</package> <package>apt</package> <package>apt-devel</package> <package>ash</package> <package>at</package> <package>attr</package> <package>autoyast2-installation</package> <package>bash</package> <package>bc</package> <package>bind9-utils</package> <package>bindutil</package> <package>bootsplash</package> <package>bootsplash-theme-SuSE</package> <package>bzip2</package> <package>compat</package> <package>coreutils</package> Remarks : - xmllint does not signal errors - the collection of packages includes all rpm's contained in the minimal installtion + some additional packages No need to tell you that after failure of devs installation the resulting system is not in working condition. ;-) If you find it useful I can put the autoinstall.xml (404 lines) on the web. -- Fred Mobach - fred@mobach.nl - postmaster@mobach.nl Systemhouse Mobach bv - The Netherlands - since 1976 website : http://fred.mobach.nl There's nothing remarkable about it. All one has to do is hit the right keys at the right time and the instrument plays itself. - J.S. Bach
Hi, Did you by any chance recreate the package database? This happens if you have created the database without using the dependency file from /usr/share/autoinstall. Anas Fred Mobach wrote:
Hello List,
While my configuration of autoyast in SuSE Linux 8.1 works perfectly an annoying RAID controller in a Dell server forced me to upgrade to 8.2. Normal installation from the SuSE CD's works like a charm. However, autoyast (adapted to the 8.2 rpm's like coreutils) returns errormessages during installation : - SuSE 8.2 Professional via autoyast - installation of devs-2003.3.14-1 - Error messages : - var/tmp/rpm-tmp.<PID>: line <n>: rm: command not found (line = 5 and 8)
I checked (on tty2) and indeed most programs in /mnt/bin and /mnt/usr/bin are failing. I think the interesting part of the autoinstall.xml is : <software> <addons config:type="list"/> <base>Minimal</base> <packages config:type="list"> <package>SuSEfirewall2</package> <package>aaa_base</package> <package>aaa_skel</package> <package>acl</package> <package>acpid</package> <package>alsa</package> <package>apt</package> <package>apt-devel</package> <package>ash</package> <package>at</package> <package>attr</package> <package>autoyast2-installation</package> <package>bash</package> <package>bc</package> <package>bind9-utils</package> <package>bindutil</package> <package>bootsplash</package> <package>bootsplash-theme-SuSE</package> <package>bzip2</package> <package>compat</package> <package>coreutils</package>
Remarks : - xmllint does not signal errors - the collection of packages includes all rpm's contained in the minimal installtion + some additional packages
No need to tell you that after failure of devs installation the resulting system is not in working condition. ;-)
If you find it useful I can put the autoinstall.xml (404 lines) on the web.
Anas Nashif wrote:
Did you by any chance recreate the package database? This happens if you have created the database without using the dependency file from /usr/share/autoinstall.
Thank you, I have corrected this and now it works as expected. -- Fred Mobach - fred@mobach.nl - postmaster@mobach.nl Systemhouse Mobach bv - The Netherlands - since 1976 website : http://fred.mobach.nl There's nothing remarkable about it. All one has to do is hit the right keys at the right time and the instrument plays itself. - J.S. Bach
Hello List, I'm getting the error as listed below (rm: command not found). But as far as I can determine I've used the dependency file as suggested by Anas below. What else may be wrong?? linux:~/bin> /usr/tmp/mkautorep82 (equal to: create_package_descr -d /dist/suse82/latest -o /dist/suse82/latest/setup/descr using settings: datadirs: /dist/suse82/latest languages: english output dir: /dist/suse82/latest/setup/descr is not a directory: ignoring extra_provides: /usr/share/autoinstall/EXTRA_PROV The packages files has the following information for the coreutils package: (rm, ln, touch are delivered by coreutils). ======================================== =Pkg: coreutils 4.5.8 12 i586 +Req: info /bin/sh /bin/sh ld-linux.so.2 libacl.so.1 libacl.so.1(ACL_1.0) libattr.so.1 libattr.so.1(ATTR_1.1) libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) libcrypt.so.1 libdl.so.2 libm.so.6 libm.so.6(GLIBC_2.0) libpam.so.0 libpthread.so.0 librt.so.1 librt.so.1(GLIBC_2.2) rpmlib(PayloadIsBzip2) <= 3.0.5-1 -Req: +Prq: info /bin/sh rpmlib(PayloadIsBzip2) <= 3.0.5-1 -Prq: +Prv: fileutil fileutils sh-utils sh_utils shellutl stat textutils textutl txtutils -Prv: +Obs: fileutil fileutils sh-utils sh_utils stat textutil textutils -Obs: =Grp: System/Base =Lic: GPL =Src: coreutils 4.5.8 12 src =Tim: 1050504269 =Loc: 1 coreutils.rpm =Siz: 1677871 6069228 ======================================== The autoinst.xml file has: <software> <base>default</base> </software> as software selection. The coreutils rpm is present: lrwxrwxrwx 43 2003-06-29 07:34 coreutils.rpm -> ../../base/i586/coreutils-4.5.8-12.i586.rpm All rpms in the autoinstall repository are links (without version, release or architecture info) to the most recent version of the package. This does not seem to be a problem, for the many packages that being installed before the "devs" package. Hopefully the solution is around the corner.... Op maandag 16 juni 2003 22:31, schreef Anas Nashif:
Hi,
Did you by any chance recreate the package database? This happens if you have created the database without using the dependency file from /usr/share/autoinstall.
Anas
Fred Mobach wrote:
Hello List,
While my configuration of autoyast in SuSE Linux 8.1 works perfectly an annoying RAID controller in a Dell server forced me to upgrade to 8.2. Normal installation from the SuSE CD's works like a charm. However, autoyast (adapted to the 8.2 rpm's like coreutils) returns errormessages during installation : - SuSE 8.2 Professional via autoyast - installation of devs-2003.3.14-1 - Error messages : - var/tmp/rpm-tmp.<PID>: line <n>: rm: command not found (line = 5 and 8)
-- Richard Bos Without a home the journey is endless
I've discovered what was wrong. The 8.2 package repository amount other versions is mounted on a suse-8.1 machine. That machine has /usr/share/autoinstall/EXTRA_PROV, _but_ this is the 8.1 version!!! Of course that went wrong as fileutils, textutils have been replaced by coreutils in 8.2 As the script create_package_descr pulls in the /usr/share/autoinstall/EXTRA_PROV the above mistake is easily made. Perhaps that the EXTRA_PROV should be extended with it's version number like EXTRA_PROV-8.1/2. And that the script create_package_descr could check the version number (the suse-release package is available should such a check could be made). Just my suggestion, up to the next challenge.... Op maandag 30 juni 2003 17:22, schreef Richard Bos:
Hello List,
I'm getting the error as listed below (rm: command not found). But as far as I can determine I've used the dependency file as suggested by Anas below. What else may be wrong??
linux:~/bin> /usr/tmp/mkautorep82 (equal to: create_package_descr -d /dist/suse82/latest -o /dist/suse82/latest/setup/descr using settings: datadirs: /dist/suse82/latest languages: english output dir: /dist/suse82/latest/setup/descr is not a directory: ignoring extra_provides: /usr/share/autoinstall/EXTRA_PROV
The packages files has the following information for the coreutils package: (rm, ln, touch are delivered by coreutils).
The coreutils rpm is present: lrwxrwxrwx 43 2003-06-29 07:34 coreutils.rpm -> ../../base/i586/coreutils-4.5.8-12.i586.rpm
All rpms in the autoinstall repository are links (without version, release or architecture info) to the most recent version of the package. This does not seem to be a problem, for the many packages that being installed before the "devs" package.
Hopefully the solution is around the corner....
Op maandag 16 juni 2003 22:31, schreef Anas Nashif:
Hi,
Did you by any chance recreate the package database? This happens if you have created the database without using the dependency file from /usr/share/autoinstall.
Anas
Fred Mobach wrote:
Hello List,
While my configuration of autoyast in SuSE Linux 8.1 works perfectly an annoying RAID controller in a Dell server forced me to upgrade to 8.2. Normal installation from the SuSE CD's works like a charm. However, autoyast (adapted to the 8.2 rpm's like coreutils) returns errormessages during installation : - SuSE 8.2 Professional via autoyast - installation of devs-2003.3.14-1 - Error messages : - var/tmp/rpm-tmp.<PID>: line <n>: rm: command not found (line = 5 and 8)
-- Richard Bos Without a home the journey is endless
-- Richard Bos Without a home the journey is endless
participants (3)
-
Anas Nashif
-
Fred Mobach
-
Richard Bos