help-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cross-install, perl package broken?


From: Moritz Schulte
Subject: Re: cross-install, perl package broken?
Date: 29 Dec 2000 10:29:08 +0100
User-agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7

Fabian Sturm <f@rtfs.org> writes:

[...]
> after cross-install fetched some packages fom ftp.de.debian.org
> it crashes with this error:
[...]
> 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.
> 
> INSTALLATION ABORTED because of unknown errors. Partial installation
> is NOT usable. Correct the error and start from scratch.

I had the same problem (with other packages). In line ~343 all non
important messages from a log should be removed. It seems that
Potato's dpkg produces output, which is unknown to cross-install. So
this variable ("errors"), wich contains the rest of the output, is not
empty - cross-install sees this as an ERROR. I worked around this
problem something like:

<snip>
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}`
set -e

echo "ERRORS: $errors"
echo "Is this OK?"
echo -n "> "
read answer

if [ "$answer" != "yes" ] ; then
        echo
        echo 'ERROR: dpkg did return unusual messages, please investigate:'
        echo 'INSTALLATION ABORTED!'
</snip>

        moritz
-- 
Moritz Schulte <moritz@chaosdorf.de> http://www.chaosdorf.de/moritz/
Debian/GNU supporter - http://www.debian.org/ http://www.gnu.org/
GPG fingerprint = 3A14 3923 15BE FD57 FC06  B501 0841 2D7B 6F98 4199



reply via email to

[Prev in Thread] Current Thread [Next in Thread]