Mailinglist Archive: opensuse-autoinstall (67 mails)
| < Previous | Next > |
[opensuse-autoinstall] update in chroot non-interactive
- From: Ingo Wichmann <iw@xxxxxxxxxxxxx>
- Date: Sun, 15 Apr 2007 18:17:18 +0200
- Message-id: <4622500E.7070703@xxxxxxxxxxxxx>
Hi!
I install my computers with fai (fully automatic installation for debian),
and it's usually working quite well. This time I want to install openSuSE 10.2 .
The prinziple is simple:
0. A Debian-based installer boots over NFS
1. Partitions and filesystems are created
2. a tar-image is extracted
3. changes individual to the system are made
One step within these changes is updating the system. Therefore I run the
command:
chroot /tmp/target zypper update -y
And that's not working perfectly:
------------------- from the install log -----------------------------
[S1:0][package]kdelibs3-3.5.5-45.4.i586 Subprocess failed. Error: RPM
failed: error: failed to stat /sys/kernel/debug: No such file or directory
------------------- from the install log -----------------------------
It seems, that rpm is expecting to have /sys/kernel/debug mounted as debugfs
- but the debian kernel does not hat that feature.
And later:
------------------- from the install log -----------------------------
[S1:0][package]kdebase3-3.5.5-102.3.i586 Subprocess failed. Error: RPM
failed: error: failed to stat /sys/kernel/debug: No such file or directory
Starting SuSEconfig, the SuSE Configuration Tool...
Running module permissions only
ERROR - can not find /dev/nfs/lib/YaST/SuSEconfig.functions!!
This should not happen. Exit...
error: %post(kdebase3-3.5.5-102.3.i586) scriptlet failed, exit status 1
(with nodeps+force)Invalid object
(A)bort, (R)etry, (I)gnore?
------------------- from the install log -----------------------------
Well, I can give that rpm it's lib/YaST/SuSEconfig.functions , but why is it
looking at /dev/nfs/lib/YaST/SuSEconfig.functions for it? I'll solve that
with a symlink or mount --bind, but still:
I don't like beeing asked questions when I'm away ... is there a better way
to update a openSuSE 10.2 system in a chroot non-interactively? Is yum doing
better? Are there some options to zypper I've missed?
Ingo
--
Linuxhotel, Inh. Reinhard Wiesemann, StNr. 111/5324/0471, UStID DE 180305557
Antonienallee 1, 45279 Essen, Tel.: 0201 8536-600, http://www.linuxhotel.de
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
I install my computers with fai (fully automatic installation for debian),
and it's usually working quite well. This time I want to install openSuSE 10.2 .
The prinziple is simple:
0. A Debian-based installer boots over NFS
1. Partitions and filesystems are created
2. a tar-image is extracted
3. changes individual to the system are made
One step within these changes is updating the system. Therefore I run the
command:
chroot /tmp/target zypper update -y
And that's not working perfectly:
------------------- from the install log -----------------------------
[S1:0][package]kdelibs3-3.5.5-45.4.i586 Subprocess failed. Error: RPM
failed: error: failed to stat /sys/kernel/debug: No such file or directory
------------------- from the install log -----------------------------
It seems, that rpm is expecting to have /sys/kernel/debug mounted as debugfs
- but the debian kernel does not hat that feature.
And later:
------------------- from the install log -----------------------------
[S1:0][package]kdebase3-3.5.5-102.3.i586 Subprocess failed. Error: RPM
failed: error: failed to stat /sys/kernel/debug: No such file or directory
Starting SuSEconfig, the SuSE Configuration Tool...
Running module permissions only
ERROR - can not find /dev/nfs/lib/YaST/SuSEconfig.functions!!
This should not happen. Exit...
error: %post(kdebase3-3.5.5-102.3.i586) scriptlet failed, exit status 1
(with nodeps+force)Invalid object
(A)bort, (R)etry, (I)gnore?
------------------- from the install log -----------------------------
Well, I can give that rpm it's lib/YaST/SuSEconfig.functions , but why is it
looking at /dev/nfs/lib/YaST/SuSEconfig.functions for it? I'll solve that
with a symlink or mount --bind, but still:
I don't like beeing asked questions when I'm away ... is there a better way
to update a openSuSE 10.2 system in a chroot non-interactively? Is yum doing
better? Are there some options to zypper I've missed?
Ingo
--
Linuxhotel, Inh. Reinhard Wiesemann, StNr. 111/5324/0471, UStID DE 180305557
Antonienallee 1, 45279 Essen, Tel.: 0201 8536-600, http://www.linuxhotel.de
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
| < Previous | Next > |