Comment 3 for bug 1871006

Revision history for this message
Pablo (alunt) wrote :

Hi Sebastien,

I used exactly the same command I used to add the ppa, except that I added the flag --remove. Here is the command:

sudo add-apt-repository --remove ppa:"deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"

The thing here is that, even if the command had the wrong parameter (which seems to be the case), the exception should still be caught and a proper error message be shown, shouldn't it?

The command to add this ppa (without the --remove flag) has been taken from the official Docker page.

In addition to this error, I found that, having this ppa (which could not be found due to Docker not having released the related version to "focal"), when doing a refresh from the Software & Updates package, it fails showing the Report Bug window and freezes, not letting the user to close it. I guess this bug would appear with any ppa that cannot be found.