Team not found when adding PPAs on ARM snap builds

Asked by Michał Sawicz

We're getting weird errors on arm snap builds since yesterday…

E.g. https://launchpadlibrarian.net/607190039/buildlog_snap_ubuntu_focal_arm64_mir-kiosk-edge_BUILDING.txt.gz

```plain
+ sudo add-apt-repository -y ppa:mir-team/release
Cannot add PPA: 'ppa:~mir-team/ubuntu/release'.
ERROR: '~mir-team' user or team does not exist.
```

But… but… https://launchpad.net/~mir-team/+archive/ubuntu/release/+packages

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Michał Sawicz
Solved:
Last query:
Last reply:
Revision history for this message
Michał Sawicz (saviq) said :
#1

Hey. Some extra information. Using package-repositories: in the yaml, rather than add-apt-repositories seems to make it work:

https://launchpad.net/~saviq/+snap/test-mir-kiosk-ppas

The original continues to fail:

https://launchpad.net/~mir-team/+snap/mir-test-tools-edge

Unless it's the snap recipe triggers the issue somehow?

Revision history for this message
Colin Watson (cjwatson) said :
#2

We've escalated this to IS as https://portal.admin.canonical.com/C151311.

Revision history for this message
Michał Sawicz (saviq) said :
#3

ACK, we've also merged the fix.