Package: fp-compiler Version: 2.0.0-1 Severity: important Justification: package cannot coexist with gpc Tags: patch
Hello, please apply this patch to the postinst script, otherwise installation fails with: (Reading database ... 293637 files and directories currently installed.) Unpacking fp-compiler (from .../fp-compiler_2.0.0-1_i386.deb) ... Setting up fp-compiler (2.0.0-1) ... update-alternatives: slave link name /usr/share/man/man1/pc.1.gz duplicated dpkg: error processing fp-compiler (--configure): subprocess post-installation script returned error exit status 2 Errors were encountered while processing: fp-compiler E: Sub-process /usr/bin/dpkg returned an error code (1) Some errors occurred while unpacking. I'm going to configure the packages that were installed. This may result in duplicate errors or errors caused by missing dependencies. This is OK, only the errors above this message are important. Please fix them and run [I]nstall again Press enter to continue. as it tries to use 'fpc.1.gz' link name in /etc/alternatives, although correct name (and one used by gpc) is 'pc.1.gz'. Thanks, Petr Vandrovec --- /tmp/fp-compiler.postinst.bad 2005-05-26 22:57:15.000000000 +0200 +++ /var/lib/dpkg/info/fp-compiler.postinst 2005-05-26 22:53:50.000000000 +0200 @@ -7,7 +7,7 @@ # add alternative update-alternatives \ --install /usr/bin/pc pc /usr/bin/fpc 20 \ - --slave /usr/share/man/man1/pc.1.gz fpc.1.gz /usr/share/man/man1/fpc.1.gz + --slave /usr/share/man/man1/pc.1.gz pc.1.gz /usr/share/man/man1/fpc.1.gz # create link ln -sf $FPCDIR/ppc386 /usr/bin/ppc386 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]