Upgrade error in nfsroot

Andreas Heinlein <[email protected]>
Newsgroups gmane.linux.debian.fai
Message-ID <[email protected]>
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.