Open GoogleCodeExporter opened 8 years ago
there is a way for fix it? :|
Original comment by xion...@gmail.com
on 11 Aug 2012 at 12:32
Hi,
I also get same issue in Ubuntu 12.04. Moreover i am in luck. I just extract
that package and remove a empty line(near the end) from control file. Rebuild
that package and install it.
Hope that will resolve your issue.
Original comment by papse...@gmail.com
on 14 Dec 2012 at 12:08
Linux Mint 14 has same problem. I did follow papse, and it works.
Original comment by zhuzhu10...@gmail.com
on 27 Apr 2013 at 4:03
I have solution for it.
Use attached file.
Or if you want to modify it manually then create script debedit.sh with content:
[CODE]
#!/bin/bash
if [[ -z "$1" ]]; then
echo "Syntax: $0 debfile"
exit 1
fi
DEBFILE="$1"
TMPDIR=`mktemp -d /tmp/deb.XXXXXXXXXX` || exit 1
OUTPUT=`basename "$DEBFILE" .deb`.modfied.deb
if [[ -e "$OUTPUT" ]]; then
echo "$OUTPUT exists."
rm -r "$TMPDIR"
exit 1
fi
dpkg-deb -x "$DEBFILE" "$TMPDIR"
dpkg-deb --control "$DEBFILE" "$TMPDIR"/DEBIAN
if [[ ! -e "$TMPDIR"/DEBIAN/control ]]; then
echo DEBIAN/control not found.
rm -r "$TMPDIR"
exit 1
fi
CONTROL="$TMPDIR"/DEBIAN/control
MOD=`stat -c "%y" "$CONTROL"`
nano "$CONTROL"
if [[ "$MOD" == `stat -c "%y" "$CONTROL"` ]]; then
echo Not modfied.
else
echo Building new deb...
dpkg -b "$TMPDIR" "$OUTPUT"
fi
rm -r "$TMPDIR"
[/CODE]
Then chmod +x debedit.sh
Run as ./debedit.sh pidgin-sendblabla.deb
Now delete line breaks from "Description:" so entire text will fit in one line
Example: "Description: 1.ble 2.ble 3.ble 4.nice program"
Save Ctrl +o
Exit Ctrl +x
Now install dpkg-i pidgin-sendblabla.modfied.deb
It works.
Original comment by darkan...@gmail.com
on 8 Sep 2013 at 8:54
Attachments:
Original issue reported on code.google.com by
xion...@gmail.com
on 13 Jun 2012 at 2:32