Public bug reported:

Binary package hint: jde

1. Ubuntu Gutsy
2. jde
3. ii  jde                                        2.3.5.1-2                     
       JDEE, Java Development Environment for Emacs
4. a successful install of jde
5.
jde was failing to install on Gutsy:

Selecting previously deselected package jde.
(Reading database ... 120077 files and directories currently installed.)
Unpacking jde (from .../archives/jde_2.3.5.1-2_all.deb) ...
Setting up jde (2.3.5.1-2) ...
Error in `/usr/share/doc-base/jde', line 1: the first line does not contain 
valid `Document' field
dpkg: error processing jde (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
jde
E: Sub-process /usr/bin/dpkg returned an error code (1)


This bug was filed:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg122466.html

This temporary fix is:

sudo dpkg --purge jde
sudo apt-get install cogre cedet-contrib
sudo apt-get source jde
sudo sed -i '1,2d' ./jde-2.3.5.1/debian/jde.doc-base
sudo sed -i '1i\Document: jde\nSection: Apps\/Programming;' 
./jde-2.3.5.1/debian/jde.doc-base
cd jde-2.3.5.1/
sudo debian/rules binary
cd ..
sudo dpkg -i jde_2.3.5.1-2_all.deb 

The patch for jde-2.3.5.1 is:
--- /tmp/jde.doc-base.orig      2008-03-12 12:23:44.000000000 -0500
+++ debian/jde.doc-base 2008-03-12 12:16:08.000000000 -0500
@@ -1,5 +1,5 @@
-Section: Apps/Programming
 Document: jde
+Section: Apps/Programming;
 Title: JDEE JDE User's Guide
 Author: Paul Kinnucan
 Abstract: This guide explains how to use the JDE to develop Java applications

** Affects: jde (Ubuntu)
     Importance: Undecided
         Status: New

-- 
jde - Error in `/usr/share/doc-base/jde', line 1: the first line does not 
contain valid `Document' field
https://bugs.launchpad.net/bugs/201488
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to