Results 1 to 4 of 4

Thread: Prevent LTS upgrading but keep updates going

  1. #1
    Join Date
    Aug 2024
    Beans
    2

    Question Prevent LTS upgrading but keep updates going

    Hi all, for a certain period of time I am obliged to keep my Ubuntu 22.04.5 LTS not upgrade to the 24.04.1 LTS.

    I would like to keep my packages and stuff updated, but I do not want accidentally upgrade my system to the next LTS version.

    How to block LTS upgrades but keep other updates going?

    Thank you

  2. #2
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,847

    Re: Prevent LTS upgrading but keep updates going

    When completing any updates, just don't click the "Upgrade" Button (see image attached). Other updates will still continue. Even if you did accidentally click it, there are options to abort the procedure without harm.
    Attached Images Attached Images

  3. #3
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,853
    Distro
    Ubuntu

    Re: Prevent LTS upgrading but keep updates going

    Change the line in the file /etc/update-manager/release-upgrades from Prompt=lts to Prompt=never and save it.
    You'll never see the Upgrade option again.

    Can also be done in Software and Updates by changing the entry in Updates > Notify of me of new Ubuntu version: and toggle it from For Long Term Support Version to Never.

    You can do one or the other as they'll both change together.


    When it's time to upgrade to the next release, reverse it and reset it back.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  4. #4
    Join Date
    Aug 2024
    Beans
    2

    Re: Prevent LTS upgrading but keep updates going

    Thank you ! Exactly what I was looking for

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •