[Touch-packages] [Bug 1981672] Re: phased updates API and client for aptitude
so if anyone else wants to opt out from it, you're welcome: https://github.com/alexmyczko/autoexec.bat/blob/master/config.sys/ubuntu- remove-phased-updates -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1981672 Title: phased updates API and client for aptitude Status in apt package in Ubuntu: Triaged Status in aptitude package in Ubuntu: Triaged Bug description: Having the configuration at https://discourse.ubuntu.com/t/phased-updates-in-apt-in-21-04/20345/24 it fails to work. The phased updates get distributed on some hosts anyways for 22.04. Please properly document and test this, and provide a working configuration to opt out from phased updates. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1981672/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1981672] Re: phased updates API and client for aptitude
** No longer affects: hobbit-plugins (Ubuntu) ** Changed in: aptitude (Ubuntu) Status: Invalid => Triaged ** Changed in: apt (Ubuntu) Status: Invalid => Triaged -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1981672 Title: phased updates API and client for aptitude Status in apt package in Ubuntu: Triaged Status in aptitude package in Ubuntu: Triaged Bug description: Having the configuration at https://discourse.ubuntu.com/t/phased-updates-in-apt-in-21-04/20345/24 it fails to work. The phased updates get distributed on some hosts anyways for 22.04. Please properly document and test this, and provide a working configuration to opt out from phased updates. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1981672/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1981672] Re: phased updates API and client for aptitude
hobbit-plugins client/apt check reports: Fri Sep 23 08:59:06 2022 - apt NOT ok Ubuntu 22.04.1 LTS yellow Packages not installed from apt repositories (4): libnss-systemd:amd64 (249.11-0ubuntu3.4) libudev1:amd64 (249.11-0ubuntu3.4) systemd-sysv (249.11-0ubuntu3.4) systemd-timesyncd (249.11-0ubuntu3.4) green Last apt update: 0.1 day(s) ago without checking if packages were installed while a phased update is going on: https://people.canonical.com/~ubuntu-archive/phased-updates.html one workaround would be to patch the check with: pkgreport('Packages not installed from apt repositories (maybe phased?)', 'green', @no_repo); but that would blind us on seeing packages really not installed from packages (and not phased updates) ** Also affects: hobbit-plugins (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1981672 Title: phased updates API and client for aptitude Status in apt package in Ubuntu: Invalid Status in aptitude package in Ubuntu: Invalid Status in hobbit-plugins package in Ubuntu: New Bug description: Having the configuration at https://discourse.ubuntu.com/t/phased-updates-in-apt-in-21-04/20345/24 it fails to work. The phased updates get distributed on some hosts anyways for 22.04. Please properly document and test this, and provide a working configuration to opt out from phased updates. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1981672/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1981672] Re: phased updates API and client for aptitude
Hi Julian, Looks like APT::Get::Phase-Policy true; did what I wanted. Thank you. ** Changed in: apt (Ubuntu) Status: Triaged => Invalid ** Changed in: aptitude (Ubuntu) Status: Triaged => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1981672 Title: phased updates API and client for aptitude Status in apt package in Ubuntu: Invalid Status in aptitude package in Ubuntu: Invalid Bug description: Having the configuration at https://discourse.ubuntu.com/t/phased-updates-in-apt-in-21-04/20345/24 it fails to work. The phased updates get distributed on some hosts anyways for 22.04. Please properly document and test this, and provide a working configuration to opt out from phased updates. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1981672/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
Re: [Touch-packages] [Bug 1981672] Re: phased updates API and client for aptitude
Hi Julian, Julian Andres Klode wrote: > Do note that aptitude is mostly unmaintained these days. I have to object here as well: There's no development currently, but it is _not_ unmaintained. (And the current RC bug in Debian will soon be addressed. I'm just back from holidays.) Regards, Axel -- ,''`. | Axel Beckert , https://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 `-| 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1981672 Title: phased updates API and client for aptitude Status in apt package in Ubuntu: Triaged Status in aptitude package in Ubuntu: Triaged Bug description: Having the configuration at https://discourse.ubuntu.com/t/phased-updates-in-apt-in-21-04/20345/24 it fails to work. The phased updates get distributed on some hosts anyways for 22.04. Please properly document and test this, and provide a working configuration to opt out from phased updates. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1981672/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1981672] Re: phased updates API and client for aptitude
To make it clear, my suggestion for a workaround for jammy would be to have _config->CndSet("APT::Get::Phase-Policy", true); somewhere in the aptitude code. It is unclear to me if aptitude will break then as phased versions get their pin limited to 1, apt certainly does if there's a mismatch as in bug 1979244 Anyone doing the SRU will have to analyse that regression potential. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1981672 Title: phased updates API and client for aptitude Status in apt package in Ubuntu: Triaged Status in aptitude package in Ubuntu: Triaged Bug description: Having the configuration at https://discourse.ubuntu.com/t/phased-updates-in-apt-in-21-04/20345/24 it fails to work. The phased updates get distributed on some hosts anyways for 22.04. Please properly document and test this, and provide a working configuration to opt out from phased updates. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1981672/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1981672] Re: phased updates API and client for aptitude
I have added an aptitude task and set the tasks accordingly to indicate that this is a feature request for aptitude. The needed API will surface at some point in APT due to some refactoring, likely in the 23.04 cycle. aptitude could then consume that API in its resolver and make choices to keep back phased upgrades, however, that is up to the aptitude maintainers upstream. Do note that aptitude is mostly unmaintained these days. Alternatively, aptitude can also enable the policy based variant as that likely works for its solver. That could be SRUed into jammy if somebody wants to provide a patch for that, do the SRU paperwork, and get it sponsored and then work on getting it released. Do note that this option is experimental and may disappear in a future release as we finalize the correct approach. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1981672 Title: phased updates API and client for aptitude Status in apt package in Ubuntu: Triaged Status in aptitude package in Ubuntu: Triaged Bug description: Having the configuration at https://discourse.ubuntu.com/t/phased-updates-in-apt-in-21-04/20345/24 it fails to work. The phased updates get distributed on some hosts anyways for 22.04. Please properly document and test this, and provide a working configuration to opt out from phased updates. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1981672/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp