Bug#598432: python-apt: upgrade fails

2010-09-29 Thread Luca Falavigna
Il 29/09/2010 19:51, Piotr Ozarowski ha scritto: > Luca: If python-apt maintainers will decide to use my patch, please > fast-process it in NEW if possible (it's part of the python3 in Squeeze > goal we talked about before, TIA) I've processed it just now. -- .''`. : :' : Luca Falavigna

Bug#598432: python-apt: upgrade fails

2010-09-29 Thread Michael Vogt
On Wed, Sep 29, 2010 at 08:09:14PM +0200, Piotr Ożarowski wrote: > [Piotr Ozarowski, 2010-09-29] > > attached > > here's a version of the patch that also uses dh_python2 (so that > python-central is not needed anymore) Many thanks for that patch! I commited it to bzr and uploaded a new version :)

Bug#598432: python-apt: upgrade fails

2010-09-29 Thread Michael Vogt
On Wed, Sep 29, 2010 at 08:22:56PM +0200, Julian Andres Klode wrote: > On Mi, 2010-09-29 at 19:51 +0200, Piotr Ozarowski wrote: > > tags 598432 + patch > > thanks > > > > [Piotr Ożarowski, 2010-09-29] > > > I'll try to send you a patch this evening > > > > attached > > > > Luca: If python-apt ma

Bug#598432: python-apt: upgrade fails

2010-09-29 Thread Julian Andres Klode
On Mi, 2010-09-29 at 19:51 +0200, Piotr Ozarowski wrote: > tags 598432 + patch > thanks > > [Piotr Ożarowski, 2010-09-29] > > I'll try to send you a patch this evening > > attached > > Luca: If python-apt maintainers will decide to use my patch, please > fast-process it in NEW if possible (it's

Bug#598432: python-apt: upgrade fails

2010-09-29 Thread Piotr Ożarowski
[Piotr Ozarowski, 2010-09-29] > attached here's a version of the patch that also uses dh_python2 (so that python-central is not needed anymore) diff -Nru python-apt-0.7.98/debian/changelog python-apt-0.7.98+nmu1/debian/changelog --- python-apt-0.7.98/debian/changelog 2010-09-28 15:47:51.0

Processed: Re: Bug#598432: python-apt: upgrade fails

2010-09-29 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: > tags 598432 + patch Bug #598432 [python-apt] python-apt: upgrade fails Added tag(s) patch. > thanks Stopping processing here. Please contact me if you need assistance. -- 598432: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598432 Debian Bug

Bug#598432: python-apt: upgrade fails

2010-09-29 Thread Piotr Ozarowski
tags 598432 + patch thanks [Piotr Ożarowski, 2010-09-29] > I'll try to send you a patch this evening attached Luca: If python-apt maintainers will decide to use my patch, please fast-process it in NEW if possible (it's part of the python3 in Squeeze goal we talked about before, TIA) diff -Nru py

Bug#598432: python-apt: upgrade fails

2010-09-29 Thread Stefan Fleischmann
Am Wed, 29 Sep 2010 15:36:28 +0200 schrieb Julian Andres Klode : > On Mi, 2010-09-29 at 15:12 +0200, Julian Andres Klode wrote: > > [CCed debian-python] > > > > AFAIK, /usr/lib/python3 is the new location. > > > > Dear debian-python subscribers, could someone please propose a fix for > > python-

Bug#598432: python-apt: upgrade fails

2010-09-29 Thread Julian Andres Klode
On Mi, 2010-09-29 at 15:12 +0200, Julian Andres Klode wrote: > [CCed debian-python] > > On Mi, 2010-09-29 at 14:31 +0200, Stefan Fleischmann wrote: > > Just to clarify, the "quick fix" I posted here was supposed to help people > > to > > get rid of the buggy package. It doesn't fix the actual pac

Bug#598432: python-apt: upgrade fails

2010-09-29 Thread Piotr Ożarowski
[Julian Andres Klode, 2010-09-29] > Dear debian-python subscribers, could someone please propose a fix for > python-apt? I do not intent to drop Python 3 support, but considering > that there is a new RC bug each month because python3 packaging changes > I start to wonder whether this is worth the

Bug#598432: python-apt: upgrade fails

2010-09-29 Thread Julian Andres Klode
[CCed debian-python] On Mi, 2010-09-29 at 14:31 +0200, Stefan Fleischmann wrote: > Just to clarify, the "quick fix" I posted here was supposed to help people to > get rid of the buggy package. It doesn't fix the actual package. > > Like I said before, the problem is not only the version number ha

Bug#598432: python-apt: upgrade fails

2010-09-29 Thread Stefan Fleischmann
Just to clarify, the "quick fix" I posted here was supposed to help people to get rid of the buggy package. It doesn't fix the actual package. Like I said before, the problem is not only the version number handling by pycentral but also the path of the installed files! If you have look at the pack

Bug#598432: python-apt: upgrade fails

2010-09-29 Thread Piotr Ożarowski
python-central doesn't support Python 3, please use dh_python3 -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 -- To UNSUBSCRIBE, email to

Bug#598432: python-apt: upgrade fails

2010-09-29 Thread Bjørn Mork
I also faced the same problem as Cameron after modifying /usr/share/pycentral-data/pyversions.py to allow single digit version numbers with this patch: --- /usr/share/pycentral-data/pyversions.py.orig2010-09-29 12:10:27.0 +0200 +++ /usr/share/pycentral-data/pyversions.py 2010-

Bug#598432: python-apt: upgrade fails

2010-09-29 Thread Theo Cabrerizo Diem
>> Stefan Fleischmann wrote: >> > Change the 3rd line in the file '/usr/share/pyshared-data/python-apt' to >> > "python-version = 2.6, 3.1, 2.5" > >> That doesn't work for me. [...] > >If I read Stefan's message further: >> Then you're able to remove the package or replace it with version >> 0.7.97

Bug#598432: python-apt: upgrade fails

2010-09-28 Thread Cameron Hutchison
I wrote: > Stefan Fleischmann wrote: > > Change the 3rd line in the file '/usr/share/pyshared-data/python-apt' to > > "python-version = 2.6, 3.1, 2.5" > That doesn't work for me. [...] If I read Stefan's message further: > Then you're able to remove the package or replace it with version > 0.7.97

Bug#598432: python-apt: upgrade fails

2010-09-28 Thread Cameron Hutchison
Stefan Fleischmann wrote: > Change the 3rd line in the file '/usr/share/pyshared-data/python-apt' to > "python-version = 2.6, 3.1, 2.5" That doesn't work for me. I tried both changing 3 to 3.1 and changing the regex in /usr/share/pycentral-data/pyversions.py to make the decimal point and following

Bug#598432: python-apt: upgrade fails

2010-09-28 Thread Stefan Fleischmann
I just compared the i386 and amd64 packages and it turns out that the path 'usr/lib/python3.1' is changed to 'usr/lib/python3' in the amd64 package. Looks like pycentral expects x.y version numbers and throws out the "ValueError" mentioned above which makes dpkg abort configuration. I think the er

Bug#598432: python-apt: upgrade fails

2010-09-28 Thread Christoph Anton Mitterer
Package: python-apt Version: 0.7.98 Severity: grave Justification: renders package unusable Hi. Upgrading to the most recent version fails with: Setting up python-apt (0.7.98) ... Traceback (most recent call last): File "/usr/bin/pycentral", line 2334, in main() File "/usr/bin/pycentral