Fair enough.PeterO wrote: ↑Tue Jul 09, 2019 4:58 pmLook at the man pages for apt-get.
Using "-y" just hides the issue. Do you know there are no other questions asked that you might want to answer "no" ?
"--allow-releaseinfo-change" addresses this specific issue and is there to be used in this specific case.
Both may work, but only one is the right answer.
OH..... HOLD ON .....
You're using apt not apt-get... Why complicate the issue by using a different tool when there is an option designed specifically to deal with this situation in apt-get ? OP asked about problem with apt-get, so solution is to use the correct options, not ot use a different tool !
You only need to do it once because it is the correct action to take and is designed to deal with precisely this situation. Any other "work around" may work in the short term but might lead to a problem in the future !
Code: Select all
sudo apt update --allow-releaseinfo-change