[SRU: EDGY] packaging typo - k3d does not install
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | k3d (Ubuntu) |
High
|
Adrien Cunin | ||
| | Edgy |
High
|
William Grant | ||
| | olive (Ubuntu) |
Undecided
|
Unassigned | ||
| | Edgy |
Undecided
|
Unassigned | ||
Bug Description
On installing k3d, dpkg aborts with the following error:
Setting up k3d (0.5.12.0-1ubuntu2) ...
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
pkg.
File "/usr/bin/
raise PyCentralError, "package has no field Python-Version"
__main_
dpkg: error processing k3d (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
k3d
E: Sub-process /usr/bin/dpkg returned an error code (1)
| shadowcatcher (shadowcatcher) wrote : | #1 |
I did a dist-upgrade from dapper to edgy, and k3d consistently fails during any install/
This is the output of apt-get remove:
-----
>:$ sudo apt-get remove k3d
Reading package lists... Done
Building dependency tree... Done
The following packages were automatically installed and are no longer required:
k3d
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
k3d
0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 44.5MB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 273621 files and directories currently installed.)
Removing k3d ...
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
pkg.
File "/usr/bin/
raise PyCentralError, "package has no field Python-Version"
__main_
dpkg: error processing k3d (--remove):
subprocess pre-removal script returned error exit status 1
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
pkg.
File "/usr/bin/
raise PyCentralError, "package has no field Python-Version"
__main_
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
k3d
E: Sub-process /usr/bin/dpkg returned an error code (1)
-----
I tried a re-install of python-central, but I still get the same result.
I've been busy with midterms, so I haven't played with K3D much this month, but I'll confirm the upgrade/
| Alex Sutcliffe (alex.sutcliffe) wrote : | #4 |
Confirmed - Edgy and 0.5.12.0-1ubuntu2. https:/
As submitter of 68066 noted, this looks to be the problem:
Python-Versions: current
which should be
Python-Version: current
| Changed in k3d: | |
| status: | Unconfirmed → Confirmed |
| Alex Sutcliffe (alex.sutcliffe) wrote : | #5 |
I think the root cause is a typo in the debian/control file in the source package:
XB-Python-Versions: ${python:Versions}
should be
XB-Python-Version: ${python:Versions}
I've attached a patch for the source package but I'm not sure if I've done it correctly and would appreciate feedback!
Alex
Since that's the only occurrence of the string "Versions" in the source
package,
it must be the one that needs to be changed.
Your patch looks good to me. Not sure if that means anything...
On 10/26/06, Alex Sutcliffe <email address hidden> wrote:
>
> I think the root cause is a typo in the debian/control file in the
> source package:
>
> XB-Python-Versions: ${python:Versions}
>
> should be
>
> XB-Python-Version: ${python:Versions}
>
> I've attached a patch for the source package but I'm not sure if I've
> done it correctly and would appreciate feedback!
>
> Alex
>
>
> ** Attachment added: "fixes typo in control file - XB-Python-Versions
> should be XB-Python-Version"
> http://
>
> --
> k3d does not install
> https:/
>
I can confirm the behavior on Kubuntu Edgy final.
Same behavior here.
| Pavel Rojtberg (rojtberg) wrote : | #9 |
there is a fix for this in the debian package
Is there any workaround for this ?
| David (kubuntu-them) wrote : | #11 |
I don't know much about Debian packages, but the unremovable error in apt-get is annoying.
If I download the source package, untar it edit the file mentioned and then tar it back up and build it via dpkg -b, take the binary package and dpkg -i it will that remove the error?
If that is not the correct process can someone explain what the correct process is?
Thanks,
david
You can remove it by moving /usr/bin/pycentral to /tmp, then apt-get
remove k3d, then move pycentral back into place. I don't know if this
removes it properly or not, but at least it disappears from the package
list.
Cheers
JP
David wrote:
> I don't know much about Debian packages, but the unremovable error in
> apt-get is annoying.
>
> If I download the source package, untar it edit the file mentioned and
> then tar it back up and build it via dpkg -b, take the binary package
> and dpkg -i it will that remove the error?
>
> If that is not the correct process can someone explain what the correct
> process is?
>
> Thanks,
>
> david
>
>
I confirm this bug
| Adrien Cunin (adri2000) wrote : | #14 |
Bug rejected in olive. If there is the same problem in olive, file an other bug.
| Changed in olive: | |
| status: | Unconfirmed → Rejected |
| Changed in k3d: | |
| importance: | Undecided → High |
| Adrien Cunin (adri2000) wrote : | #15 |
I will request a sync for this bug. So it will be fixed in feisty but not in edgy unless someone makes a SRU proposal: https:/
| Changed in k3d: | |
| assignee: | nobody → adri2000 |
| Adrien Cunin (adri2000) wrote : | #16 |
Fix released in feisty.
| Changed in k3d: | |
| status: | Confirmed → Fix Released |
patch attached for SRU.
(confirming for edgy)
| Changed in k3d: | |
| status: | Fix Released → Confirmed |
| Steve Kowalik (stevenk) wrote : | #19 |
Patch is small, and looks sane. Fine with me, +1
proper sru.debdiff - no changes, apart from the version number. (darn dch -i)
| Steve Kowalik (stevenk) wrote : | #21 |
Yes, with the fixed version number it's still +1. :-)
| Daniel T Chen (crimsun) wrote : | #22 |
I believe we're using 0.5.12.
| Sven Herzberg (herzi) wrote : | #23 |
Dudes, you absolutely rock! Now, if someone could fix bug #63992… that'd be totally rad.
Daniel, is that for main, or universe?
Steve says it's for main.
I've not seen documentation that it's for universe - can you please confirm?
If you confirm it, i'll make a new debdiff before i upload.
| Steve Kowalik (stevenk) wrote : | #25 |
What I meant to say was that it has been adopted in main, so we are following suit. From what I've seen, anyway.
| StefanPotyra (sistpoty) wrote : | #26 |
+1.
I pretty much like the the new versioning scheme, so I'd appreciate a debdiff with it. However that doesn't make the current proposed debdiff wrong ;)
| Reinhard Tartler (siretart) wrote : | #27 |
+1, please proceed with uploading to edgy-proposed
| Daniel T Chen (crimsun) wrote : | #28 |
Sarah, what Steve said above. The debdiff is fine otherwise, +1.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 16 Dec 2006 15:58:08 +1100
Source: k3d
Binary: k3d-dev k3d
Architecture: source
Version: 0.5.12.
Distribution: edgy-proposed
Urgency: low
Maintainer: David MartÃnez Moreno <email address hidden>
Changed-By: Sarah Hobbs <email address hidden>
Description:
k3d - 3D modeling and animation system
k3d-dev - 3D modeling and animation system - Development files
Changes:
k3d (0.5.12.
.
* Fixes XB-Python-Version typo, meaning that this package is
installabl
* Closes malone #64848, #75794, #72700, #68066
Files:
9b69db8e90fd29
55ba7f200e8545
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFFhl9z7/
PJCfuGDWVWPMRK3
=K+DH
-----END PGP SIGNATURE-----
| Changed in k3d: | |
| status: | Confirmed → In Progress |
| Changed in olive: | |
| status: | Unconfirmed → Rejected |
| Changed in k3d: | |
| assignee: | nobody → hobbsee |
| importance: | Undecided → High |
| status: | Unconfirmed → In Progress |
| status: | In Progress → Fix Released |
| Tollef Fog Heen (tfheen) wrote : | #30 |
Accepted into -proposed; please solicit testing.
| Changed in k3d: | |
| status: | In Progress → Fix Committed |
I just tried the new package, but it doesn't seem to fix anything:
(Reading database ... 118223 files and directories currently installed.)
Preparing to replace k3d 0.5.12.0-1ubuntu2 (using .../k3d_
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
pkg.
File "/usr/bin/
raise PyCentralError, "package has no field Python-Version"
__main_
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
pkg.
File "/usr/bin/
raise PyCentralError, "package has no field Python-Version"
__main_
dpkg: error processing /home/mcduck/
subprocess new pre-removal script returned error exit status 1
| Sven Herzberg (herzi) wrote : | #32 |
You need to do it like that:
mv /usr/bin/
dpkg -r k3d
mv /tmp/pythoncentral /usr/bin
apt-get install k3d
| Aleix Pol Gonzàlez (aleixpol) wrote : | #33 |
At the date of today in still doesn't work. Now I can't remove the package and I don't know what to do with the error :S.
| vikingdocerrado (vikingdocerrado) wrote : RE: [Bug 64848] Re: [SRU: EDGY] packaging typo - k3d does not install | #34 |
The patch should be working, but if you are having problems using it you can fix it manually:
- The error is in the file/var/
- So, open the konsole/terminal and do something like:
sudo nano /var/lib/
- Find the entry for the k3d package.
- Now go to the last line of the k3d entry, it is:
Python-Versions: current
- But it should bePython-Version: current
- You just have to remove the "s" and the problem should be gone.
> From: <email address hidden>> Date: Fri, 23 Mar 2007 14:41:18 +0000> Subject: [Bug 64848] Re: [SRU: EDGY] packaging typo - k3d does not install> To: <email address hidden>> > At the date of today in still doesn't work. Now I can't remove the> package and I don't know what to do with the error :S.> > -- > [SRU: EDGY] packaging typo - k3d does not install> https:/
_______
Discover the new Windows Vista
http://
| William Grant (wgrant) wrote : | #35 |
Sarah's fix was wrong, but I'll have a new fix in a minute. This one will work, and hopefully unbreak Feisty upgrades.
| Changed in k3d: | |
| assignee: | hobbsee → fujitsu |
| status: | Fix Committed → In Progress |
| William Grant (wgrant) wrote : | #36 |
Here's a debdiff. I'm test-building it (it takes a number of hours to build), but it should be OK. I'll upload when I get up in the morning.
| William Grant (wgrant) wrote : | #37 |
Uploaded 0.5.12.
| Michael Vogt (mvo) wrote : | #38 |
Thanks for handling this!
If that is a issue in feisty too, we should do a sru for feisty-proposed too.
| William Grant (wgrant) wrote : | #39 |
Good point; there'll need to be a fix in feisty-updates for those who have already had their sources.lists changed over. I'll prepare an update now.
| William Grant (wgrant) wrote : | #40 |
I've uploaded a fix to feisty-proposed. Note that this only breaks upgrades from Edgy, not new installations.
| William Grant (wgrant) wrote : | #41 |
Accepted into {edgy,feisty}
We should also have a couple of people confirm that it installs OK in Edgy, just in case.
| Changed in k3d: | |
| status: | In Progress → Fix Committed |
Hi William,
What should I exactly do ?
What to pactch with the diff?
Thanks,
Riccardo
ps. I've Feisty installed, so the issue isn't only in Edgy.
| Martin Pitt (pitti) wrote : | #43 |
Nobody tested the -proposed upload and gave feedback here for more than half a year, and I guess nobody cares about edgy universe any more, so I removed the edgy-proposed package.
| Changed in k3d: | |
| status: | Fix Committed → Won't Fix |
| Martin Pitt (pitti) wrote : | #44 |
Likewise with the feisty-proposed package.
| Dries Desmet (dries) wrote : | #45 |
I can confirm that on a fresh gutsy installation (amd64) k3d installs without a glitch. Thanks for fixing this.
| Jeff Sparkes (jsparkes) wrote : | #46 |
--
Jeff Sparkes
<email address hidden>


have same problem....
it's impossible to make a "dpkg -e" on this paquetage...