Fixing problem Repository ceres InRelease changed its Label value from Master to Devuan
tl;dr
rm /var/lib/apt/lists/*
The fix
If you encounter an error that resembles the following, on Devuan GNU/Linux, there is a fix for it!
# sudo apt-get update
Reading package lists... Done
E: Repository 'http://packages.roundr.devuan.org/merged ceres InRelease' changed its 'Label' value from 'Master' to 'Devuan'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
There's a new label in use, it seems. Big deal, except for the fact you can't really get around it. The apt- secure(8) page does not seem to provide any answers. To view the current labels for the enabled repos:
# apt policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://packages.devuan.org/merged ceres/non-free i386 Packages
release v=1.0.0,o=Devuan,a=unstable,n=ceres,l=Master,c=non-free,b=i386
origin packages.devuan.org
500 http://packages.devuan.org/merged ceres/contrib i386 Packages
release v=1.0.0,o=Devuan,a=unstable,n=ceres,l=Master,c=contrib,b=i386
origin packages.devuan.org
500 http://packages.devuan.org/merged ceres/main i386 Packages
release v=1.0.0,o=Devuan,a=unstable,n=ceres,l=Master,c=main,b=i386
origin packages.devuan.org
Pinned packages:
The fix is to remove the cached lists for the repositories and fetch it all again.
rm /var/lib/apt/lists/*
That's all there is to it! Then run apt-get update again, and you're back on your way.
References
Weblinks
- man page apt_preferences(5)
Local resources
- bash autocomplete for apt and apt-get
Comments