Bug#956736: python3-pbr: Uninstallable because of broken alternative

2020-04-15 Thread Chris Lamb
Hi,

> python-pbr (5.4.5-2) unstable; urgency=medium
> .
>   * Uploading to experimental, fixing "cannot install" (Closes: #956736).

Just an FYI that the changelog entry claims "Uploading to
experimental" yet it appears to be actually targetting unstable.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#956736: python3-pbr: Uninstallable because of broken alternative

2020-04-15 Thread Thomas Goirand
On 4/15/20 1:12 AM, Sandro Tosi wrote:
> On Tue, 14 Apr 2020 19:05:25 -0400 Sandro Tosi  wrote:
>>> Updating python3-pbr (or installing it) fails with:
>>>
>>> update-alternatives: error: alternative path /usr/bin/python3-pbr doesn't
>>> exist
>>>
>>> I suppose it's a left over of the alternative configuration when there was
>>> Python 2 version. Now the Python 3 package directly provides /usr/bin/pbr.
>>
>> this is my fault, i'll take a look

When I saw what you did, I double-guessed it was a possibility of
failure to install, though I didn't test. No worries, shit happens.

> I see zigo already fixed it in experimental with
> https://salsa.debian.org/openstack-team/libs/python-pbr/-/commit/59c12ab553f08494e89642ecd368c6777df64057
> -- wanna upload that package to sid, Thomas?

Well, now we have an issue. Unfortunately, pbr kind of depends on itself
because of unit tests (it depends on packages that need pbr to be
installed). I know it isn't ideal to have this kind of build-dependency
cycle, but it's still nicer to run unit tests than not, so I ignored
this situation. If you have any suggestion ...

So I uploaded a degraded version without unit tests and doc, and I'll do
a 2nd upload when the new PBR package reaches Sid.

Thomas Goirand (zigo)



Bug#956736: python3-pbr: Uninstallable because of broken alternative

2020-04-14 Thread Sandro Tosi
On Tue, 14 Apr 2020 19:05:25 -0400 Sandro Tosi  wrote:
> > Updating python3-pbr (or installing it) fails with:
> >
> > update-alternatives: error: alternative path /usr/bin/python3-pbr doesn't
> > exist
> >
> > I suppose it's a left over of the alternative configuration when there was
> > Python 2 version. Now the Python 3 package directly provides /usr/bin/pbr.
>
> this is my fault, i'll take a look

I see zigo already fixed it in experimental with
https://salsa.debian.org/openstack-team/libs/python-pbr/-/commit/59c12ab553f08494e89642ecd368c6777df64057
-- wanna upload that package to sid, Thomas?



Bug#956736: python3-pbr: Uninstallable because of broken alternative

2020-04-14 Thread Sandro Tosi
> Updating python3-pbr (or installing it) fails with:
>
> update-alternatives: error: alternative path /usr/bin/python3-pbr doesn't
> exist
>
> I suppose it's a left over of the alternative configuration when there was
> Python 2 version. Now the Python 3 package directly provides /usr/bin/pbr.

this is my fault, i'll take a look



Bug#956736: python3-pbr: Uninstallable because of broken alternative

2020-04-14 Thread Yannick Roehlly
Package: python3-pbr
Version: 5.4.3-3
Severity: grave
Justification: renders package unusable

Hi,

Updating python3-pbr (or installing it) fails with:

update-alternatives: error: alternative path /usr/bin/python3-pbr doesn't 
exist

I suppose it's a left over of the alternative configuration when there was
Python 2 version. Now the Python 3 package directly provides /usr/bin/pbr.

Regards,

Yannick

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.6.4 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr:en_GB (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-pbr depends on:
ii  python33.8.2-3
ii  python3-pkg-resources  44.0.0-1
ii  python3-setuptools 44.0.0-1
ii  python3-six1.14.0-3

python3-pbr recommends no packages.

python3-pbr suggests no packages.

-- no debconf information