Results 1 to 8 of 8

Thread: Update repository

  1. #1
    Join Date
    Jan 2024
    Beans
    13

    Update repository

    Hello,

    I have searched without finding an answer. I have the file "/etc/apt/sources.list.d/ondrej-ubuntu-php-jammy.list". The content is:

    deb https://ppa.launchpadcontent.net/ondrej/php/ubuntu/ jammy main

    # deb-src https://ppa.launchpadcontent.net/ondrej/php/ubuntu/ jammy main

    I plan to upgrade from Jammy to Noble August 15 when 24.04.1 is supposed to be relased.

    Can I after the upgrade simply replace the line "deb https://ppa.launchpadcontent.net/ondrej/php/ubuntu/ jammy main" with "deb https://ppa.launchpadcontent.net/ondrej/php/ubuntu/ noble main"?


    Fred



  2. #2
    currentshaft is offline Oops! My Coffee Cup is empty.
    Join Date
    May 2024
    Beans
    Hidden!

    Re: Update repository

    24.04
    Last edited by currentshaft; 2 Weeks Ago at 01:29 AM.

  3. #3
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Update repository

    Before you run the online upgrade from Ubuntu 22.04 LTS to 24.04 LTS disable that PPA. You can do that with Software & Updates>Other Software tab. Just untick the box. After upgrading you can then use the Other Software tab to add the PPA with its address modified

    Regards
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  4. #4
    Join Date
    Mar 2010
    Location
    /home
    Beans
    9,658
    Distro
    Xubuntu

    Re: Update repository

    Make sure you have solid backups BEFORE upgrading.

  5. #5
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,829
    Distro
    Ubuntu

    Re: Update repository

    I'd remove the ppa and re-add the ppa because they've updated all the apt keys for all ppas.
    24.04 has higher key standards than 22.04 had, so they upgraded those in launchpad.

    The old keys are still good, but they might be too weak and you may get warnings that they're weak.
    Eventually, they'll become errors in future point releases for 24.04.

    Long thread on that here and what you may or may nt need to do about it:
    https://discourse.ubuntu.com/t/new-r...24-04/42854/10

    I don't know if they've ever added the functionality they mention in the first post to allow easy updating of the keys through add-apt-repository.
    Maybe they mention it somewhere in the rest of the thread, but I couldn't find it, though truth be told, I did not look very hard.
    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
    .

  6. #6
    Join Date
    Jan 2024
    Beans
    13

    Re: Update repository

    Thanks for help.
    Last edited by toft6633; August 8th, 2024 at 10:33 AM. Reason: misspelled

  7. #7
    Join Date
    Jan 2024
    Beans
    13

    Re: Update repository

    Thanks for help,

    I run Ubuntu server without graphical options.

    From what I undertand, before upgrande:
    "sudo add-apt-repository --remove ppa: odrej/php".
    After upgrade:
    "sudo add-apt-repository ppa: ondrej/php".
    Fred

  8. #8
    Join Date
    Jan 2024
    Beans
    13

    Re: Update repository

    Thanks Rubi1200. Not the best... I am on a VPS. Backups are too expensive. I make a copy of the /etc/ directory and cross my fingers...

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
  •