Thanks Jerry!
I know in the past I could not run updates on a couple of MX machines because the keyring needed updating:
Code: Select all
sudo apt-get update
sudo apt-get install antix-archive-keyring
sudo apt-get update
Thanks Jerry!
Code: Select all
sudo apt-get update
sudo apt-get install antix-archive-keyring
sudo apt-get update
I'd rather not mess with keyrings, gpg keys, etc. or do anything with that interferes with updating of the apt repos, that's fragile enough as it is already imo. Instead I would rather have MX Updater monitor some other channel / source for update warnings. If it finds that there's a warning it could add the warning to the upgrade preview window, or maybe just show the warning instead of a preview of the upgrade(s). Maybe also display a different icon in the systray/notification area while a update warning is in effect.KBD wrote: ↑Fri Jun 21, 2019 1:14 pm I'm just thinking out loud, but if we run into a serious update problem in the future couldn't a new keyring be issued to prevent updates? That would pretty much automatically bring users to the forum and they would then see the warning. A new key could be issued with instructions when it's safe to update again. Just a thought, maybe there is a better way to do it, but stopping updates before something breaks in that situation seems better than users breaking things then having to fix it.
Code: Select all
#!/bin/bash
wget http://repo.antixlinux.com/check -O /tmp/check &> /dev/null
if grep "unsafe" /tmp/check &> /dev/null
then
echo "Repo is known by the dev team to be unsafe, please consult the forum for details"
echo "Do you wish to continue? (Y/N)"
read ans
case $ans in
y|Y) apt-get $@ ;;
n|N) exit ;;
esac
else
apt-get $@;
fi
Code: Select all
alias apt-get="apt-get-safe"
Yes, I think something like that might work (maybe also include aptitude and Synaptic), and you'd still be able to use apt-get/apt if you really wanted to.antiX-Dave wrote: ↑Fri Jun 21, 2019 10:01 pm So are we suggesting a message system something like this? ...