Okay so it's a feature that has been added to Ubuntu 18.04 which automatically calls apt update after adding any PPA, sometimes it's a time saver as I don't have to run sudo apt update manually after adding a PPA. But sometimes it just pisses me off when I've to add multiple PPA's, and I've to wait for all the list updates after adding every single PPA.

Don't recommend "Can't you add multiple PPA by && ?", cause it's just pain.

1 Answer 1


Checking the help:

$ add-apt-repository --help
Usage: add-apt-repository <sourceline>
  -h, --help            show this help message and exit
  -m, --massive-debug   Print a lot of debug information to the command line
  -r, --remove          remove repository from sources.list.d directory
  -s, --enable-source   Allow downloading of the source packages from the
  -y, --yes             Assume yes to all queries
  -n, --no-update       Do not update package cache after adding
  -u, --update          Update package cache after adding (legacy option)
  -k KEYSERVER, --keyserver=KEYSERVER
                        Legacy option, unused.


sudo add-apt-repository -n ppa:...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.