/srv/irclogs.ubuntu.com/2021/12/08/#ubuntu-devel.txt

=== pizzaiolo is now known as pizza
brycehhttps://autopkgtest.ubuntu.com/packages/n/node-caniuse-db/jammy/i386 --- what does "code 14" mean?01:56
sarnolddarktable in #ubuntu had a hirsute -> impish upgrade blow up, and usrmerge seems to have been involved somehow, https://pastebin.com/AnVB5zJv  -- while trying to walk him through piecing his system back together, some of us found we've got /bin -> /usr/bin symlinks, and some of us don't have such symlinks.. what's the long-term plan for harmonizing everyone's setups?02:19
sarnold(sigh, darktrick, not darktable)02:19
DarkTrickI added a persistent question here: https://askubuntu.com/questions/1379811/usrmerge-of-bin-sbin-lib-how-is-the-system-supposed-to-be02:45
DarkTrickI hope I got the details right. I hope for a quick answer to straighten out my system :)02:46
mwhudsonsarnold: using do-release-upgrade vs editing /apt/sources.list directly?03:08
sarnoldmwhudson: do-release-upgrade, heh, that was my first question :)03:09
sarnoldoh hah DarkTrick's in here, too :) I guess I'm not super-observant03:09
mwhudsonalthough usrmerge is recommended by ubuntu-minimal now so you'd have to try moderately hard not to have it?03:10
sarnoldmwhudson: hmnm, maybe; I certainly went through an awkard enough install process myself that I'm not surprised I don't have the usrmerge package installed, but I *do* have the /bin -> /usr/bin etc symlinks. (I don't understand it.)03:12
mwhudsonsarnold: well either your system came that way or you had it and uninstalled it i guess?03:12
sarnoldmwhudson: bashing-om probably didn't go to much effort to avoid usrmerge, but he doesn't have the symlinks; he's probably got an old install upgraded a few times though03:12
sarnoldmwhudson: my system is the ubuntu root on zfs with luks guide, who knows what exactly that is :) that's why I'm so surprised I've got the symlinks..03:13
mwhudsonsarnold: which version did you start with?03:13
sarnoldmwhudson: oh that's an excellent question. do you know off-hand where apport gets that from? :)03:14
mwhudsonsarnold: /var/lib/something/media-info03:15
mwhudsonor something03:15
mwhudsonah v03:15
mwhudson/var/log/installer/media-info03:15
mwhudsonof course i can't remember when we started making merged images so03:16
sarnoldmwhudson: thanks, not on this system :( bummer.03:17
sarnoldmwhudson: my memory is something like 19.10 but .. it's a very fuzzy memory.03:17
mwhudsonsarnold: debian enabled merged-usr by default in jun 2018 it seems, not sure about ubuntu03:19
DarkTrickJust for reference, I started with 18, I think03:19
mwhudson(default in debootstrap)03:19
=== genii is now known as genii-core
DarkTrickmwhudson, that means I should've had a merged dir from the beginning, but I don't ....03:20
mwhudsonDarkTrick: 18.what?03:20
sarnoldmwhudson: oh! that'd do it.. my install was debootstrap :)03:20
mwhudson18.04 wouldn't03:20
mwhudson18.10 might have?03:20
DarkTrickmwhudson, the LTS version03:20
mwhudsonyeah that's 18.0403:20
* DarkTrick was sooo close...03:21
mwhudsonah i think disco / 19.04 + were merged by default03:21
mwhudsonmaybe?03:22
mwhudsonsomewhere around then03:22
DarkTrickmwhudson, so I understand it's rather recommended to have usrmerge (?) and if not I should get it03:25
DarkTrickwhat about symlinks for individual files VS symlinks of the whole directory, like sarnold has?03:26
mwhudsonDarkTrick: yes i think for impish+ the idea is that unmerged is no longer supported, not sure though03:26
mwhudsonDarkTrick: uh no, symlinks from /bin to /usr/bin etc is the expectation03:26
mwhudsonthere are long and tedious arguments on debian-devel about this03:26
DarkTrickmwhudson, so, the whole directory, right?03:27
mwhudsonyea03:27
DarkTrickis this what would be done if I'd call `usrmerge` ?03:27
DarkTrick(the program)03:27
mwhudsonwell it03:27
mwhudsonwell it's all done by installing the package03:28
mwhudsonit does all the stuff in it's maintainer scripts i think03:28
DarkTrickmwhudson, I have the package, but it's not merged03:28
mwhudsonif your system is already wedged i don't know if it's going to work though03:28
mwhudsonDarkTrick: uhh03:28
* mwhudson checks some confidently made assertions03:28
DarkTrickworst case would be to manually move all non-links to /usr/* and create a symlink to the folder?03:29
mwhudsonDarkTrick: congratulations, i guess?03:29
mwhudsonDarkTrick: /usr/lib/usrmerge/convert-usrmerge is the script that does the deed03:30
DarkTrickso either I break my system now or I fix it :D03:30
mwhudsoni'm not sure i'd be brave enough to do this by hand03:30
DarkTrickwho needs a casino, I have Ubuntu xD03:31
mwhudsonthere are going to be moments during the process where the system is in a very strange state i assume03:31
mwhudsonlike /lib64/ld-linux-x86-64.so.2 being a dangling symlink03:31
sarnoldmaybe start a root sash or busybox first? enable all tools? something like that..03:32
mwhudsonreboot with break=bottom, run chroot /root /usr/lib/usrmerge/convert-usrmerge ?03:33
mwhudsonanyway good luck!03:33
sarnoldmwhudson: wat03:35
mwhudsonsarnold: doing it all from the initrd03:35
sarnoldmwhudson: google's giving me nothing but swimwear photos03:35
sarnoldhttps://sources.debian.org/src/debirf/0.38/src/debirf/?hl=219#L21903:36
sarnoldwhat the heck is debirf? :)03:36
sarnoldhere we go, this is more like it https://sources.debian.org/src/initramfs-tools/0.140/init/?hl=254#L15903:39
mwhudsonsarnold: "build a kernel and initrd to run Debian from RAM"03:40
mwhudsonnot heard of that one03:40
sarnoldmwhudson: ohhh hmm that might be useful, I've wondered before if my power9 system would be more reliable if I ran it from tmpfs or ramdisk.. (*sniff*)03:41
juliank  File "/snap/git-ubuntu/660/usr/lib/python3/dist-packages/gitubuntu/prepare_upload.py", line 112, in push10:11
juliank    assert gitubuntu.importer.VCS_GIT_URL_VALIDATION.fullmatch(10:11
juliankhooray?10:11
juliankThe reason for this is I had insteadOf configured for launchpad so it always uses ssh to talk to it10:36
=== cpaelzer_ is now known as cpaelzer
=== sem2peie- is now known as sem2peie
=== alan_g_ is now known as alan_g
rbasakjuliank: ah - so git-ubuntu is unable to determine what URL to put in the changes file for you that doesn't use insteadOf.12:07
juliankrbasak: basically same cause as https://bugs.launchpad.net/usd-importer/+bug/194298512:08
ubottuLaunchpad bug 1942985 in usd-importer "push-for-upload verification breaks on non-default but valid remotes" [Medium, Triaged]12:08
rbasakI'm not sure if git-ubuntu should expand insteadOf or not. It'd be nice if it did, but I'm not keen on chasing that functionality. It'd be nice if git could expand it for us.12:09
juliankrbasak: well, a fix for that will fix mine too; though maybe insteadOf is easier to fix itself by an option somewhere to not follow insteadOf12:09
rbasakNo, I think it's a different bug.12:09
juliankrbasak: No, the issue is that insteadOf expands the normal https:// url that git-ubuntu configured to ssh://12:09
julianks/expands/replaces/12:09
rbasakOh, OK.12:09
rbasakSo there's another failure case here too.12:09
juliankAnd pygit2 follows insteadOf apparently when you calculate the uri12:10
rbasakIf someone uses insteadOf to create a virtual alias such as lp:, then that won't work either.12:10
juliankright, I have12:10
juliank[url "git+ssh://juliank@git.launchpad.net/"]12:10
juliankinsteadOf = lp:12:10
juliankinsteadOf = https://git.launchpad.net/12:10
juliankso pygit2 returned git+ssh:// instead of whatever git-ubuntu actually configured in .git/config12:11
rbasak"git-ubuntu clone" configures https://git.launchpad.net/...12:12
rbasak(for fetch; git+ssh for push)12:12
juliankyes12:12
juliankdidn't want to write it :)12:12
rbasakI agree then that Christian's bug fixed will also fix your issue.12:12
rbasakSort of by accident though. I think git-ubuntu should indeed be using the actual URL used. But this one can be special cased.12:13
=== sem2peie- is now known as sem2peie
DarkTrickmwhudson, sarnold: Just back from work. I thought I'd follow up on my problem: usrmerge did only help half way: if two files exist it will report that one, single file, you have to solve it by hand, run again and wait for the next error to occur and handle. I ended up changing the usrmerge script to rename files instead of throw errors. So far everything seems ok.12:56
mapreriddstreet, teward: I wrote up a core-dev application.  I'd be happy if you could write something about me ^^ https://wiki.ubuntu.com/MattiaRizzolo/CoreDevApplication14:14
=== genii-core is now known as genii
=== sem2peie- is now known as sem2peie
sarnoldDarkTrick: oh! that's a clever fix to make it run reasonable speed :)19:42
Unit193mapreri: G'luck!19:43
=== sarnold_ is now known as sarnold
Unit193ahasenack: Looks like it's all merged, so I guess that's good then.20:58
ahasenackI proposed a PR in salsa too, but I have to update it with what I have actually uploaded20:59
ahasenackthere was some review feedback on the ubuntu side that made me change it a bit20:59
Unit193Yeah, saw that bit about tests failing not actually failing the build and all.21:18
=== sem2peie- is now known as sem2peie
=== nibbon_0 is now known as nibbon_

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