In case anyone else comes across this bug, the following workaround to
create the old style '<ppa-name>.list' file works well:

---

1. Create an 'aptaddppa' function (ZSH):

---

aptaddppa () {

     curl -fsSL
"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x${4}"; | sudo
gpg --dearmor -o /etc/apt/trusted.gpg.d/"${1}".gpg

     echo "deb [arch=$(dpkg --print-architecture)] ${2} $(lsb_release
-cs) ${3}" | sudo tee /etc/apt/sources.list.d/"${1}".list

     sudo apt update
}

---

2. From the command line:

---

$ aptaddppa flacon https://ppa.launchpadcontent.net/flacon/ppa/ubuntu
main 0606FBEA73863686801BE20ED5790E4FF2A61FE5

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2060331

Title:
  add-apt-repository --list not returning any deb822 repositories

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2060331/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to