logoalt Hacker News

gschizaslast Saturday at 3:05 PM1 replyview on HN

This command:

  lsb_release -cs
Doesn't work for Linux Mint 22.2

What you want is UBUNTU_CODENAME from /etc/os-release (in the case of Linux Mint 22.2, it's "noble")

EDIT: Actually, I'm not even sure you can do $(command) inside /etc/apt/sources.list.d/*


Replies

yxl448last Saturday at 4:02 PM

Try again. I don't have mint instance to test, but should work now.

show 1 reply