jedit debian packages are not installable on debian testing
Submitted by Monday, 10 May, 2010 - 16:28
on
The debian packages of jedit (4.3.2) cant be installed with dpkg (im at debian testing and dpkg 1.15.7.1). The error is:
...
parse error in file '...' near line 7 package 'jedit'
duplicate value for 'Architecture' fiels
...
My last "install" time was the 4.3(.0) version, so i tried that deb, which results in the same error. For completness i checked the 4.3.1 version also, same result.
It seems that a change in dpkg causes this new more strict behaviuor.
The fix is quite simple:
I extracted the deb file and the "rules" stuff
mkdir jedit
dpkg -x jedit_4.3.2_all.dep jedit
mkdir jedit/DEBIAN
dpkg -e jedit_4.3.2_all.dep jedit/DEBIAN
remove the second "Architecture" line in the jedit/DEBIAN/control file and build a new one:
dpkg -c jedit
The resulting jedit.deb is installable without the error.
...
parse error in file '...' near line 7 package 'jedit'
duplicate value for 'Architecture' fiels
...
My last "install" time was the 4.3(.0) version, so i tried that deb, which results in the same error. For completness i checked the 4.3.1 version also, same result.
It seems that a change in dpkg causes this new more strict behaviuor.
The fix is quite simple:
I extracted the deb file and the "rules" stuff
mkdir jedit
dpkg -x jedit_4.3.2_all.dep jedit
mkdir jedit/DEBIAN
dpkg -e jedit_4.3.2_all.dep jedit/DEBIAN
remove the second "Architecture" line in the jedit/DEBIAN/control file and build a new one:
dpkg -c jedit
The resulting jedit.deb is installable without the error.