Well here's an IRC conversation detailing the "fix" which really just
allowed me to uninstall it, it refused to run.

<Ademan> hey the k3d package failed to install (not k3b, this is a 3d modeling 
program) and it failed on the post-install script, now whenever i try to do 
anything with apt it first tries to run that stupid post-install script and it 
keeps failing and blocking me from doing anything else, including removing the 
offending package, what can i do?
<crimsun> Ademan: please pastebin the error spew.
<Ademan> crimsun: sure
 http://rafb.net/paste/results/8wCbEo29.html
<crimsun> Ademan: please paste /var/lib/dpkg/info/k3d.prerm and 
/var/lib/dpkg/info/k3d.postinst
<Ademan> sure
<-- dredhammer ([EMAIL PROTECTED]) has left #xubuntu ("Leaving")
<Ademan> http://rafb.net/paste/results/KUASVY41.html
 sorry i accidentally had it highlight c++ but whatever
<crimsun> ok, sec
<Ademan> i still need to bugreport the package, because i'm pretty sure its the 
package's fault
<crimsun> what's the output from ``/usr/bin/dpkg-query -s k3d|grep 
^Python-Version''
--> Commander-Crowe ([EMAIL PROTECTED]) has joined #xubuntu
<Ademan> are thnose backtics?
<crimsun> `` are backticks; '' are apostrophes
 you don't need them; they're used to denote a command
<Commander-Crowe> hey guys
<Zeqfreed> hey Commander-Crowe
<Ademan> crimsun: outputs Python-Versions: current
<crimsun> interesting
 grep -nH k3d /var/lib/dpkg/status
<Ademan> "/var/lib/dpkg/status:38226:Package: k3d"
<crimsun> ok, now sudo $EDITOR /var/lib/dpkg/status
 jump to line 38226
 at the end of the Package: k3d  section, there should be a Python-Version*
<Ademan> says current
<crimsun> what precisely does that line say?
<Ademan> "Python-Versions: current"
<crimsun> bingo
 it's a packaging bug because it uses the wrong syntax
 python-central expects Python-Version:, so Python-Versions: will fail
 what's the output from ``dpkg -l python2.3\*|grep ^ii'' ?
<Ademan> i ran "dpkg -l python2.3\*|grep ^ii" and got no output
<crimsun> good.
<Ademan> should i edit the status by hand to be Python-Version: ?
<crimsun> change "Python-Versions: current" to "Python-Version: >= 2.4"
<Ademan> k
<crimsun> ugliest hack every
 ever, even
<Ademan> definitely a package bug though huh?
<crimsun> python-central bug, yes

** Attachment added: "Relevant paste"
   http://librarian.launchpad.net/4946157/8wCbEo29.txt

-- 
k3d postinst causes problems
https://launchpad.net/bugs/69830

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

Reply via email to