On: 16 Nov 1998 12:59:30 +0100 Joachim Trinkwitz writes:

[...]

>> update-alternatives: slave link name /usr/man/man1/java.1.gz duplicated
>> dpkg: error processing jdk1.1 (--install):
>> subprocess post-installation script returned error exit status 2
>> Errors were encountered while processing:
>> jdk1.1
>> mother#
>> 
> I got the same error messages and had to re-install the old version
> (jdk1.1-runtime_1.1.5v5-2) -- very bad, because some other packages
> (e.g. the postgres pgjava module) depends on jdk1.1 ...   :^( 
> 
> I've already posted it as a bug, but there was never a reaction
> besides the automatic bug tracking system reply.
> 
> I have no idea how to do a workaround, too.

I remember getting the same error message.  IIRC, I deleted the files
in /var/lib/dpkg/available where the link (e.g., java.1.gz) where
mentioned (java and appletviewer at least).  Make sure the reinstall
the package to rerun the update-alternatives calls, if you don't want
to unpack all the files again you can also call
"/var/lib/dpkg/info/jdk1.1.postinst configure" or similiar for other
packages.

        Torsten

BTW: If you succeed in installing using this method you should send a
followup to your own bugreport ([EMAIL PROTECTED], replace bugid
by the number your bug was assigned to).  

Reply via email to