/srv/irclogs.ubuntu.com/2022/06/23/#ubuntu-devel.txt

fricklerjuliank: the phased update issue now has returned, current jammy cloud images are affected. what did become of your idea to fix apt?08:18
fricklerhttps://paste.opendev.org/show/bHolx6HtT6RhR9A0Vrbv/08:18
juliankwe have a new approach08:18
juliankI need to write it08:19
juliankIt was a huge issue past couple days with libssl08:19
juliankOh my fix is incomplete08:22
juliankBut it's going to suffice in practice08:22
juliankfrickler: So essentially, I'll apply phasing only when doing the upgrade code paths, but not in general for install and stuff08:23
fricklerjuliank: that sounds like it may not be enough like in my systemd case above08:25
fricklerah, wait, I think I read that the wrong way around08:26
fricklerso new installs will always get the most recent version, that sounds reasonable08:27
juliankit will force upgrades to not fully released versions which is meh08:29
juliankI really want things to be consistent08:29
fricklerwell then we are back to having to teach chroot and other image creation tools to be smarter08:32
juliankAPT will deal with those scenarios as well08:32
juliankBut that requires launchpad changes first08:32
juliankEssentially if all available versions > installed versioned are phasing, phasing is ignored08:33
juliankso if you have x=1.2 installed, and want to install x-dev=1.6, it would upgrade you to x-dev=1.608:33
juliankit would actually upgrade you to x-dev=1.5 because it would still be kept around by launchpad, but you get the idea08:34
juliankwell08:34
juliankapt install x-dev would install x-dev=1.5, upgrade x=1.508:34
juliankif you already had x=1.6 installed, it would install x-dev=1.608:34
juliankThe algorithm I had previously was incomplete, it only handled the latter case for the current launchpad setup08:35
juliankbecause it said, you have  x=1.6 installed, so x-dev=1.6 is allowed too08:36
juliankso when you had x=1.5 installed, it would not have allowed x-dev=1.508:36
juliankIf installed version >= latest available version without phasing -> allow more versions by ignoring phasing08:38
juliankmight actually work08:38
juliankI need to write test cases08:39
juliankI'm going to use 1, 1.1, and 1.2 as versions that are release pocket, previous update, and phasing update and then figure out the scenarios and after I have the tests just hack on the code until they work08:40
juliankI think that's the best approach rather than thinking about this first :D08:40
juliankI need to consider the cases where 1.1 is no longer available, and is still available08:41
juliankthere are 3x2 cases I think {1 installed, 1.1 installed, 1.2 installed} x {1.1 still available, 1.1 no longer available}08:41
juliankor I guess I should have a 1.3 that's phasing and a 1.2 other update that is still available08:42
philrochejuliank: Until this is in place, should disabling of phased updates in cloud images be discussed?09:12
juliankI think people upgrade those, so I don't think that's super helpful anyway09:12
schopinLocutusOfBorg: do you remember by any chance why you explicitly made GHC s390x builds "unregisterized"? The git logs don't tell me much... https://salsa.debian.org/haskell-team/DHG_packages/-/commit/2bc1dfc118c858269360c66f653e466efdf7864e09:13
ubottuCommit 2bc1dfc in haskell-team/DHG_packages "ghc: apply patch only on s390x architecture for now"09:13
julianklike if the image has a version 1.1 installed, you upgrade to 1.2, and then 1.3 is phasing,  and you want to install a dev package, you end up in the same problem of it trying to install it from the release pocket (1)09:13
juliankDocker images would benefit more I'd assume as you don't upgrade those usually and come back weeks later and install something else09:14
juliankand you don't want to end up without bug fixes in the cloud images either09:15
LocutusOfBorgschopin, https://buildd.debian.org/status/logs.php?pkg=ghc&arch=s390x09:15
LocutusOfBorg8.10.6-1~exp3 (experimental) Maybe-Successful 2021-08-26 19:22:17 zandonai 2h 34m 11.7 GB09:15
LocutusOfBorg8.10.6-1~exp2 (experimental) Maybe-Failed 2021-08-25 05:36:29 zandonai 51m 1.96 GB09:15
LocutusOfBorg8.10.6-1~exp1 (experimental) Maybe-Failed 2021-08-24 13:35:21 zandonai 51m09:15
LocutusOfBorgso I had to do that to fix the build I would say?09:15
* schopin bookmarks this page.09:16
philrochejuliank: "I think people upgrade those" I understood they can only upgrade to what is available via phased updates? 1.2 installed 1.3 is phasing and I try upgrade I will likely not get 1.3 and will remain on 1.209:21
juliankphilroche: well 1.2 got replaced by 1.3 in updates pocket, but it's still phasing, so you'd get 109:21
juliankphilroche: but previously you got 1.2 when you updated because it was done phasing09:22
juliankthis annoyance will be solved when launchpad preserves the previous update while the new one is phasing09:22
juliankallowing you to build images with 1.2, and people to install packages built from 1.209:22
juliankEssentially at the moment from apt's perspective, releasing 1.3 to updates (starting phasing) is equivalent to pulling the 1.2 update09:23
juliankbecause it disappears from Packages file09:23
philrocheAh. I was not aware of this09:24
philrochejuliank: So in frickler's example https://paste.opendev.org/show/bHolx6HtT6RhR9A0Vrbv/ Are the solutions  1. disable phased updates 2.  fix in apt 3. fix in launchpad so launchpad preserves the previous update while the new one is phasing ?09:30
julianknot entirely09:31
juliank1. you set that always-include-phased-updates option, reverting apt to previous behavior09:31
juliank2. there's a partial apt fix coming that solves this, but not upgrading and installing at the same time09:31
juliank3. the fix for launchpad will not solve that instance, as presumably 3.2 would be in the archive, not 3.1; but with another change to apt it would then work09:32
philrocheSorry yes this is what I meant for 1. `echo "APT::Get::Always-Include-Phased-Updates \"true\";" | sudo tee --append /etc/apt/apt.conf.d/99-disable-phased-updates`09:33
juliankjust don't call it disable-phased-updates :D09:34
philrocheack09:34
julianklike it's always-include not disable09:34
juliankbut you don't really want to do that for a week of cloud images, that would be odd09:34
philrocheWhy a week only? I had in mind that we would include phased updates until the apt fixes were complete09:42
juliankLike if I SRU the change for 2 (the partial fix that fixes all practical problems as much as we can without launchpad) that takes a week to publish?09:44
juliankgoal is to have an update out first week of July09:44
philrocheack. Good stuff09:45
juliankso in proposed by next monday :)09:45
philrochefor all supported Ubuntu releases?09:45
juliankwell it only affect impish+09:45
philroche👍09:46
juliankit doesn't even affect kinetic because there's simply no phasing happening09:46
juliank* yet09:46
LocutusOfBorgschopin, I might have done also some test builds on s390x on my ppa btw10:08
LocutusOfBorge.g. this one https://launchpad.net/~costamagnagianfranco/+archive/ubuntu/locutusofborg-ppa/+build/2201493610:09
LocutusOfBorgwas good10:09
LocutusOfBorgyou can try disable unregistered and upload in ppa?10:09
schopinYeah, that's my plan, but I'll wait 'til I have some time to debug stuff if it fails :D10:10
LocutusOfBorghttps://launchpad.net/~costamagnagianfranco/+archive/ubuntu/locutusofborg-ppa/+build/2410636510:31
LocutusOfBorgschopin, ^^10:31
jbichajuliank: I'm concerned about how phased-updates handles multiple source packages that depend on each other. For instance, every new version of evolution depends on the new version of evolution-data-server11:51
jbichaif evolution is phased first, what is the user experience? is it an uninstallable upgrade?11:51
jbichaor what if someone wants to install evolution & they don't have it installed currently. It is installable?11:52
jbichaI've usually sidestepped this issue by just updating the dependency first (wait for e-d-s to fully phase before letting evolution in to jammy-updates)11:53
jbichahttps://launchpad.net/ubuntu/+source/mutter/42.1-0ubuntu1 was fun because it added Breaks so I definitely wanted to make sure gtk3 & gtk4 were fully phased first, to be safe11:56
juliankjbicha: we know, the phased update groups proposal do conflict a bit with the other fixes I'm not sure how to tie that all together.12:03
seb128ginggs, hey, could you retry bolt/kinetic/armhf on that recent archive rebuild? the build log suggests a connectivity issue to the archive12:03
jbichajuliank: that's fine. Do you want me to file issues for these test case ideas somewhere?12:04
seb128ginggs, and fftw3/ppc64el, it's the dh_strip call which fails and I wonder if a retry would work12:04
seb128ginggs, and libsoup3/amd6412:04
LocutusOfBorgschopin, and it failed12:43
schopinLocutusOfBorg: might it be because llvm-13 is only a B-D on [arm64 armel armhf]?12:47
LocutusOfBorgand here another with added llvm https://launchpad.net/~costamagnagianfranco/+archive/ubuntu/locutusofborg-ppa/+build/2410668112:51
schopinI'm wondering why amd64 doesn't need llvm-13 to build the LLVM backend...12:52
xnoxrbasak:  i've set it to canonical-foundations now. i think it is probably because i registered repo & then renamed it to ubuntu-core-dev owner and it inherited me as reviewer. I don't recall ever explicitely setting it to myself. Even when I took over systemd maintainance from pitti.13:52
ginggsseb128: bolt,fftw3,libsoup3 given back14:03
seb128ginggs, thanks!14:05
rbasakxnox: yeah that's probably it. Thanks!14:17
LocutusOfBorgschopin, and failed again16:43
LocutusOfBorgbut really really after16:43
LocutusOfBorgmake[3]: *** [utils/haddock/ghc.mk:20: utils/haddock/dist/build/Paths_haddock.dyn_o] Illegal instruction (core dumped)16:43
enr0nCan a core dev please trigger the PPA autopkgtests listed here https://paste.ubuntu.com/p/fgtypGBt8k/18:55
enr0nTIA18:55
ginggsenr0n: doing...19:50
enr0nginggs: thanks!19:53
=== mmikowski_ is now known as mmikowski

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!