> cross-install aborts the installation after installing less and > ed (optional packages), saying: > > ERROR: dpkg did return unusual messages, please investigate: > INSTALLATION ABORTED! > > warning, `temp_build/dpkg/DEBIAN/control' contains user-defined field > `Origin' > warning, `temp_build/dpkg/DEBIAN/control' contains user-defined field > `Bugs' > dpkg-deb: ignoring 2 warnings about the control file(s) > perl-5.005-base provides perl5-base but is unpacked but not > configured. > hurd provides login but is unpacked but not configured. > perl-5.005-base provides perl5-base but is unpacked but not > configured.
There are several new fields that the latest dpkg understands which
dpkg-hurd does not; this is causing the reported errors. The messages
are not, however, harmful. Apply the attached patch to cross-install
to continue the installation.
--- cross-install Mon Jan 15 23:02:52 2001
+++ cross-install.new Mon Jan 15 23:03:19 2001
@@ -340,7 +340,7 @@
done
set +e
-errors=`grep -v 'trying to overwrite\|but is unpacked but not
configured\|Preparing to replace\|Unpacking\|pre-dependency problem\|Selecting
previously deselected package\|pre-depends on\|overriding problem because
--force enabled\|(Reading database ...\| package architecture (hurd-i386) does
not match system\|is not installed.\|but has never been configured.\|dpkg-deb:
building package' ${log}`
+errors=`grep -v 'trying to overwrite\|but is unpacked but not
configured\|Preparing to replace\|Unpacking\|pre-dependency problem\|Selecting
previously deselected package\|pre-depends on\|overriding problem because
--force enabled\|(Reading database ...\| package architecture (hurd-i386) does
not match system\|is not installed.\|but has never been configured.\|dpkg-deb:
building package\|user-defined field\|control file' ${log}`
set -e
if [ ! "x${errors}" = x ] ; then
pgpZnkbCU2UfN.pgp
Description: PGP signature

