Score:-1

How do I get end of life data for all Ubuntu releases programatically Python

cm flag

I previously asked this question and got told the data is in The package distro-info-data contains a file named /usr/share/distro-info/ubuntu.csv. However, I do not use Ubuntu/Linux. I am using a Macbook and trying to get this information

Is there an API/Package that is provided by Ubuntu to get end-of-life date for all past and present releases of Ubuntu - like the data on wiki.ubuntu.com/Releases but via an API/Package ?

Also, I'm already aware about third party websites providing this data, but I would rather get it from Ubuntu.

Score:1
cn flag

Step 1: Download the distro-info-data package from https://packages.ubuntu.com.

Step 2: The package is simply an .ar archive. Pull the ubuntu.csv file out of that archive.

  • Some folks find that they need to rename the archive. Change foo.deb to foo.ar

Step 3: Parse the csv file.

Monkey D Luffy avatar
cm flag
however i would like to automate this so downloading it everytime doesnt sound efficient
user535733 avatar
cn flag
@MonkeyDLuffy downloading a paltry 6kb package twice each year (the `ubuntu.csv` file changes in April and October) does not seem onerous or inefficient. Downloading the package more often would be inefficient.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.