djatlantic@gmail.com (Steven Truong) writes:
> Hello, all. I am a vservers newbie. I have tried to setup vservers
> and learn more about it. I have FC4 x86 with kernel 2.6.12. I
> applied the patch-2.6.12.4-vs4 to the vanilla kernel. I also
> installed dietlibc-0.29, beecrypt-4.1.2-8, and util-vserver-0.30-208.
> The Linux box has gcc 4.0.1. I changed
> /etc/vservers/.distributions/fc4/apt/source.list to include only:
> rpm http://download.fedora.us/fedora/fedora latest/i386 os updates
This points to an FC2 repository...
> I tried to build a guest server with this command:
> vserver lanweb build -m apt-rpm --hostname=lanweb --netdev eth0 -- -d fc4
... and this indicates that you expect FC4
> Everything went smoothly until after all the rpms got downloaded and
> started to install. These are the start of the errors.
> ...
> Header V3 DSA signature: NOKEY, key ID 731002fa
> Preparing... ########################################### [100%]
> 1:bash ########################################### [ 2%]
> /bin/sh: error while loading shared libraries: libtermcap.so.2: cannot
> open shared object file: No such file or directory
> error: %post(bash-2.05b-38.i386) scriptlet failed, exit status 127
> ...
> 15:libtermcap ########################################### [ 35%]
this indicates some dependency problem in the packages (e.g. circular
deps, insufficient Requires(pre) annotations). So, 'libtermcap' (with
libtermcap.so.2) will be installed after the packages which are using
it in their %post scriptlets.
> /bin/sh: error while loading shared libraries: libtermcap.so.2: cannot
> open shared object file: No such file or directory
> error: %pre(coreutils-5.2.1-7.i386) scriptlet failed, exit status 127
> error: install: %pre scriptlet failed (2), skipping coreutils-5.2.1-7
%pre of coreutils failed so its installation will be skipped...
> 38:sysklogd ########################################### [ 88%]
> /var/tmp/rpm-tmp.55110: line 4: touch: command not found
> /var/tmp/rpm-tmp.55110: line 5: chmod: command not found
... and tools like 'touch' and 'chmod' are missing
> It seemed like the package termcap did not work with the rest of
> the packages and so others can not access and share it. Could
> you tell me how to fix this? And why suddenly touch/chown/chmod
> could not be found when they are actually in the PATH? Could
> you tell me how to fix this or any recommendations of what to
> build at this point instead of FC4 for my current settings?
'apt-rpm' is nearly dead and I am not aware of apt repositories
for recent Fedora distributions. You could create your own repo
and test whether is works (things above look like packaging
errors which might be fixed in the meantime).
Or you could try 'yum', but it is unconfigurable and makes stupid
assumptions without providing ways to turn them off so it is
difficultly to use in chroot environments. So you have to apply a
patch to make it work properly.
Enrico
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver