Cascadia Code version number: 1909.16
Application (with version) used to display text: Gnome Fonts 3.28.0-1
OS platform and version: Ubuntu 18.04
Screen resolution (i.e. 220dpi): N/A
Any other software?
Font should be installed, button should show "Installed"
Font failed to install, button shows "Install Failed"

For me it worked to put the font in ~/.fonts
Ubuntu 18.04.03.
I clicked install and it didn't do anything, but I clicked it a second time and it was installed. I'm on Ubuntu 18.04.3 LTS
@davidchoo12 There is a known issue in GNOME Fonts, the default app to install and manage fonts in Ubuntu (except some derivatives), where the "Installed failed" error is actually a false positive:
Please check whether the font has been installed after receiving the error message (look up for files or folders on ~/.local/share/fonts/) since this one is likely a duplicate of above issue.
Manually copying the Cascadia.ttf file into ~/.local/share/fonts works.
I removed the ttf file and tried reinstalling the font using my first method (clicking the install button), and it worked now. Not sure why though.
Thanks for the help!
For others who come by here, I've added a PPA for this which will install it for the system. https://launchpad.net/~justinabrahms/+archive/ubuntu/ttf-cascadia-code
@justinabrahms
E: The repository 'http://ppa.launchpad.net/justinabrahms/ttf-cascadia-code/ubuntu disco Release' does not have a Release file.
Thanks. I only released it for bionic. Do you have experience with packaging for Ubuntu? Know how to make it across many released without a lot of editing work?
On Mon, Oct 14, 2019, at 2:30 AM, Peter Savichev wrote:
@justinabrahms https://github.com/justinabrahms
E: The repository 'http://ppa.launchpad.net/justinabrahms/ttf-cascadia-code/ubuntu disco Release' does not have a Release file.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/microsoft/cascadia-code/issues/50?email_source=notifications&email_token=AAAA6DOEOJDODDRSKZS4NOTQOQ33BA5CNFSM4IYJZAE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBD44XQ#issuecomment-541576798, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA6DOVHJAGCHH77ZEK6ELQOQ33BANCNFSM4IYJZAEQ.
Thanks. I only released it for bionic. Do you have experience with packaging for Ubuntu? Know how to make it across many released without a lot of editing work?
On Mon, Oct 14, 2019, at 2:30 AM, Peter Savichev wrote: @justinabrahms https://github.com/justinabrahmsE: The repository 'http://ppa.launchpad.net/justinabrahms/ttf-cascadia-code/ubuntu disco Release' does not have a Release file.
…
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#50?email_source=notifications&email_token=AAAA6DOEOJDODDRSKZS4NOTQOQ33BA5CNFSM4IYJZAE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBD44XQ#issuecomment-541576798>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA6DOVHJAGCHH77ZEK6ELQOQ33BANCNFSM4IYJZAEQ.
No, unfortunately, I have zero experience with it
I think font packages should be completely compatible with older versions of Ubuntu, including 16.04 (xenial) and even 14.04 (trusty), as long it is installed to /usr/share/fonts.
You might want to add the package's support to Debian's stretch and jessie, where Ubuntu is based on.
Ah, so the issue @proton reported here is because you need to explicitly state which Ubuntu version the font package will support. Even though disco (Ubuntu 19.04 "Disco Dingo") is more recent than bionic (Ubuntu 18.04 LTS "Bionic Beaver"), the package manager will just ignore it since there are no package releases for dingo.
So the solution here is to add support for every single release codenames for Ubuntu, starting with 14.04 LTS "Trusty Tahr" to the upcoming 19.10 "Eoan Ermine":
Update on this. While I was trying to install another font, I just encountered the same issue I had before. I found out that it was a 10 year old UI bug in Ubuntu Fonts. So clicking the install button once actually did install the font but the button and font listing did not show it. Clicking the button a second time shows "Install Failed" just like my initial screenshot.
Most helpful comment
Manually copying the
Cascadia.ttffile into~/.local/share/fontsworks.I removed the ttf file and tried reinstalling the font using my first method (clicking the install button), and it worked now. Not sure why though.
Thanks for the help!