Coder Social home page Coder Social logo

Comments (5)

netson avatar netson commented on August 19, 2024

It sounds like a nice addition to the script and I will most certainly merge any decent PR which adds this functionality. I don't have time atm to do any work on this myself, so all PR's are more than welcome!

from ubuntu-unattended.

mnebuerquo avatar mnebuerquo commented on August 19, 2024

I have not yet been able to find any way to identify the newest release of Ubuntu without screen scraping pages. Some distros in the past had a current release symlink in their download directories, which always pointed at the file which was newest. Some had a text file containing version numbers.

Closest idea I have is to start with a number 14.04.3 and increment the revision after every 404 response. This is obviously not ideal, as it could iterate through a large number of revisions before finding the correct one. Or it could fail entirely if someone numbered it 14.04.05 instead of 14.04.5 for some reason.

My thought is that we won't get to automate this without someone at Ubuntu providing a text file, or current release symlink or something like that.

from ubuntu-unattended.

incrazyboyy avatar incrazyboyy commented on August 19, 2024

lsb_release -r -s outputs the runnig Ubuntu version. I hope that helps!

from ubuntu-unattended.

mnebuerquo avatar mnebuerquo commented on August 19, 2024

@incrazyboyy : lsb_release gets the version of the currently running Ubuntu. It is not getting the newest release version. I'm not interested in what version I have installed, but the newer version which I haven't downloaded yet.

from ubuntu-unattended.

skorzhevsky avatar skorzhevsky commented on August 19, 2024

I did, sent a PR.

from ubuntu-unattended.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.