passenger icon indicating copy to clipboard operation
passenger copied to clipboard

New Apt Origin/Label

Open WilliamDEdwards opened this issue 1 year ago • 6 comments

Just to check, is your repo change legit?

E: Repository 'https://oss-binaries.phusionpassenger.com/apt/passenger bookworm Release' changed its 'Origin' value from '. bookworm' to 'Phusion-Passenger'
E: Repository 'https://oss-binaries.phusionpassenger.com/apt/passenger bookworm Release' changed its 'Label' value from '. bookworm' to 'Phusion-Passenger'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

Using deb https://oss-binaries.phusionpassenger.com/apt/passenger bookworm main

WilliamDEdwards avatar Jul 29 '24 18:07 WilliamDEdwards

the same occurs with bullseye main

Fezec avatar Jul 29 '24 18:07 Fezec

I'm not sure why this changed. I'm looking into it.

CamJN avatar Jul 29 '24 19:07 CamJN

I can confirm that the new Label and Origin are correct, but I don't know why they were wrong before.

CamJN avatar Jul 29 '24 19:07 CamJN

Thank you for confirming.

Fezec avatar Jul 30 '24 15:07 Fezec

I also confirm. I'm the one who changed the Origin/Label. This allows auto-upgrades via unattended-upgrades.

FooBarWidget avatar Aug 01 '24 19:08 FooBarWidget

The same happened on Ubuntu focal:

fatal: [REDACTED]: FAILED! => changed=false 
  msg: 'Failed to update apt cache: W:This must be accepted explicitly before updates for this repository can be applied. 
  See apt-secure(8) manpage for details., E:Repository ''https://oss-binaries.phusionpassenger.com/apt/passenger focal 
  Release'' changed its ''Origin'' value from ''. focal'' to ''Phusion-Passenger'', 
  E:Repository ''https://oss-binaries.phusionpassenger.com/apt/passenger focal Release'' 
  changed its ''Label'' value from ''. focal'' to ''Phusion-Passenger'''

One fix which worked for me, in case it helps others:

sudo rm /var/lib/apt/lists/oss-binaries.phusionpassenger.com_apt*

(then apt-get update etc)

Thanks @WilliamDEdwards for the issue and @FooBarWidget for the confirmation, much appreciated!

thbar avatar Aug 31 '24 10:08 thbar