0

Like it says in the title, I've tried "Zara", "zara" and "22.2", all to no avail. Think I'll try "main" or "mint" next. Is it likely that the value is getting cached somewhere obscure and not being wiped when I try to change it? Cinnamon BTW. Mostly tried via:

user@host:/etc/apt/apt.conf.d$ echo 'APT::Default-Release "22.2";' | sudo tee -a 20aptkit and sudo systemctl --now daemon-reexec, then refreshing the apt-cache

1
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. Commented Nov 6 at 4:35

1 Answer 1

-1

user@host:/etc/apt/apt.conf.d$ echo 'APT::Default-Release { "zara"; "main"; };' | sudo tee -a 00mint followed by removing the dud "22.2" config string with nano and then a quick sudo systemctl --now daemon-reexecfollowed up with ye olde sudo apt update && sudo apt upgradeand all was well with the world... The <list> took its toll on my eyes after a heavy night but was worth it I think to set two lynch pins up so solidly!

1
  • 2
    Are you sure that really works? Default-Release doesn’t support a list of values, only one value. If you try it on the command line you’ll get an error: apt policy -o 'APT::Default-Release={ "zara"; "main"; }' systemd. In a configuration file the last value wins, you can check that with apt-config dump | grep Release; since there’s no main release the setting ends up having no effect. To check if your configuration file works, run apt policy systemd and see if there’s a 990 policy instead of 500. Commented Nov 6 at 12:01

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.