Score:2

Why must a PPA Label change be explicitly accepted in `apt`?

de flag

As discussed here, if an apt PPA changes its label and we try to apt-get update, we get something like this:

E: Repository 'http://ppa.launchpad.net/ondrej/php/ubuntu artful InRelease' changed its 'Label' value from '*****
The main PPA for PHP (5.6, 7.0, 7.1) with many PECL extensions *****' to '*****
The main PPA for supported PHP versions with many PECL extensions *****'
N: This must be accepted explicitly before updates for this repository can be applied.
See apt-secure(8) manpage for details."

The solution is to run apt update instead and manually accept the change.

This question is about the reasoning. Why is it important that the label does not change without my explicit awareness? I don't know where I would even see this label in normal day-to-day usage...

Score:10
us flag

You get this warning when the PPA owner changes the name of the PPA, and apt wants you to know that.

I can think of several reasons how this can be helpful.

  1. The PPA owner might want to discontinue the PPA, and they can change the name to something like the following to notify you. "PPA for X (discontinued), use another method to get this software"

  2. The PPA owner might add additional software to the same PPA, and the updated version of that software might break someone's workflow (suppose someone decides to put a later version of gnome-shell in a PPA for cheese). By changing the name, they can warn you so that you can decide whether you really want to continue using this PPA.

lucidbrot avatar
de flag
Ah, so it's not a security-related concern, just a mechanism for "notifying" users. Thank you!
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.