deleted ppa (and/or deleted team) appears in my private ppa subscriptions

Bug #1861040 reported by Dan Streetman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

On my 'private ppa subscriptions' page, I appear to have several active subscriptions to deleted ppas, all which appear to be the normal ppa name suffixed with '-deletedppa', e.g.:

>>> for s in lp.me.getArchiveSubscriptions():
... if s.archive_link.endswith('-deletedppa'):
... print(s.archive_link)
...
https://api.launchpad.net/devel/~fips-cc-stig/+archive/ubuntu/fips-kernel-deletedppa
https://api.launchpad.net/devel/~ubuntu-esm/+archive/ubuntu/esm-proposed-deletedppa
https://api.launchpad.net/devel/~chelmsford-team/+archive/ubuntu/chelmsford-ubuntu-server-deletedppa
https://api.launchpad.net/devel/~jedis/+archive/ubuntu/test-deletedppa
https://api.launchpad.net/devel/~chelmsford-team/+archive/ubuntu/enablement-deletedppa
https://api.launchpad.net/devel/~indore-team/+archive/ubuntu/nightly-deletedppa
https://api.launchpad.net/devel/~indore-team/+archive/ubuntu/ppa-deletedppa
https://api.launchpad.net/devel/~canonical-support-eng/+archive/ubuntu/sf112273-deletedppa
https://api.launchpad.net/devel/~canonical-support-eng/+archive/ubuntu/sf107001-deletedppa
https://api.launchpad.net/devel/~canonical-support-eng/+archive/ubuntu/sf94878-deletedppa
https://api.launchpad.net/devel/~canonical-support-eng/+archive/ubuntu/kernel-builder-ddstreet-deletedppa
https://api.launchpad.net/devel/~cts-engineering/+archive/ubuntu/qa-icehouse-ipv6-deletedppa
https://api.launchpad.net/devel/~cts-engineering/+archive/ubuntu/qa-ipv6-deletedppa
https://api.launchpad.net/devel/~cts-engineering/+archive/ubuntu/snabbswitch-deletedppa
https://api.launchpad.net/devel/~cts-engineering/+archive/ubuntu/1326975-deletedppa
https://api.launchpad.net/devel/~cts-engineering/+archive/ubuntu/yahoo-jp-deletedppa
https://api.launchpad.net/devel/~cts-engineering/+archive/ubuntu/cloud-stagging-deletedppa
https://api.launchpad.net/devel/~firefox-esr/+archive/ubuntu/devel-deletedppa
https://api.launchpad.net/devel/~firefox-esr/+archive/ubuntu/stable-deletedppa
https://api.launchpad.net/devel/~ce-premium/+archive/ubuntu/premium-deletedppa
https://api.launchpad.net/devel/~canonical-sustaining-merged/+archive/ubuntu/ppa-testing-deletedppa
https://api.launchpad.net/devel/~upicek-team/+archive/ubuntu/experimental-deletedppa
https://api.launchpad.net/devel/~upicek-team/+archive/ubuntu/experimental-deletedppa

Some (maybe all?) of these ppas seem to actually still exist, even if they were deleted long ago, e.g. I deleted this ppa long ago but it appears to still exist:
https://launchpad.net/~canonical-support-eng/+archive/ubuntu/kernel-builder-ddstreet-deletedppa

These deleted ppas showing up in my subscriptions list are not generally a problem other than being annoying by increasing the size of the list, but they do cause failures when programatically parsing the subscribed ppa list (e.g. with launchpadlib), since the team owning the deleted ppa may not be accessible to me; for example I can't access the team that owns this ppa:

https://api.launchpad.net/devel/~canonical-sustaining-merged/+archive/ubuntu/ppa-testing-deletedppa

>>> import lazr
>>> try:
... lp.people('canonical-sustaining-merged')
... except lazr.restfulclient.errors.NotFound as e:
... print('failed: %s' % e)
...
failed: HTTP Error 404: Not Found

Changed in launchpad:
importance: Undecided → Medium
status: New → Triaged
tags: added: ppa soyuz-security
Colin Watson (cjwatson)
tags: added: lp-soyuz
Colin Watson (cjwatson)
Changed in launchpad:
importance: Medium → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.