Comment 4 for bug 2039411

Revision history for this message
Oleg Grenrus (phadej) wrote (last edit ):

I facing this issue while doing just

    apt-add-repository -y 'ppa:hvr/ghc'

i.e. no `/ubungu` nor tilde. This is on Ubuntu 18.04, so maybe it's old apt-add-repository which does some rewriting?

E.g. in fresh buildpack-deps:bionic Docker container this fails 100% of the time

    apt-get update
    apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
    apt-add-repository -y 'ppa:hvr/ghc'

Either with JSONDecodeError or with "Cannot add PPA: 'ppa:~hvr/ubuntu/ghc'."

EDIT: seems to work on focal.