I need to transition existing users from one PPA(s) to different PPA, so this is a question how to automate the transition with as little impact on the users as possible.
More precisely:
I have PPAs for PHP 5.5 and PHP 5.6 that use old style PHP packaging that was used pre-Xenial and they have a quite a lot of users.
Now I made a new PPA that includes PHP 5.5, PHP 5.6 and PHP 7.0 and I would the users of old PPAs to switch to this new PPA. I have a couple of ideas how to do this general, but I would like to have more input from the Ask Ubuntu community.
Please contribute your thoughts via comments, direct edits to the answers below or add your own suggestion.
Best Answer
Option 3 -- Automatically add the new PPA
This is like 2, but
php5-common
would automatically add the new PPA, so the new packages would be available after nextapt-get update
run. Optionally there could be a Debconf question whether the users wants the PPA added automatically or they will do so themselves./etc/apt/trusted.gpg.d/
and that also seems like security risk