Re: Upgrade error in nfsroot

Andreas Heinlein <[email protected]>
Newsgroups gmane.linux.debian.fai
Message-ID <[email protected]>
Hello,

I have to correct myself: upgrading the nfsroot worked, but the NFS root is not functional now. When booting, it says "cannot execute /etc/init.d/rcS". Indeed, /etc/init.d/rcS does not exist.

Is rcS supposed to be a real file or a link somewhere?

Thanks,

Andreas

Am 26.02.20 um 08:31 schrieb Andreas Heinlein:
> Hello,
>
> when upgrading FAI inside the nfsroot with 'fai-make-nfsroot -v -k -N', I got:
>
> Preparing to unpack .../15-fai-nfsroot_5.9.2_all.deb ...
> dpkg-divert: error: 'diversion of /etc/init.d/rcS to /etc/init.d/rcS.orig by fai-nfsroot' clashes with 'diversion of /etc/init.d/rcS to /etc/init.d/rcS.distrib by fai-nfsroot'
> dpkg: error processing archive /tmp/apt-dpkg-install-hXzBfK/15-fai-nfsroot_5.9.2_all.deb (--unpack):
>  new fai-nfsroot package pre-installation script subprocess returned error exit status 2
>
> when upgrading FAI from 5.9.1 to 5.9.2
>
> I had to manually chroot to the nfsroot and remove the diversion, then it worked. Maybe this should be included in the preinst script.
>
> Bye,
>
> Andreas
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.