/srv/irclogs.ubuntu.com/2022/09/01/#ubuntu-server.txt

SpaceBassHey yall,  I'm hitting an error trying to upgrade a ubuntu server https://paste.debian.net/1252362/00:24
SpaceBassGoing from 20.04 to 22.04 LTS00:25
sarnoldweird, I can't say I've seen that one before; you don't need the -d any more, though, try it without that?00:26
SpaceBassTried with and without :/ 00:26
sarnold:(00:27
mwhudsondo you have PYTHONPATH set to anything unusual?00:28
SpaceBassLeme check00:28
mwhudsonor is the python or python3 on your path not the one from the archive package?00:28
SpaceBassIt does seem to be in the path, or at least that envar is empty 00:29
SpaceBasshttps://paste.debian.net/1252365/00:29
SpaceBass(I know... root... it is a VM, with snapshots, on an isolated network) 00:30
sarnoldthis is grasping at straws, but maybe apt install --reinstall python3-apt  ? 00:31
SpaceBassThat gave me a useful error... my sources are messed up :/ 00:31
sarnoldhah, not what I expected :)00:32
sarnoldif you've got part-way through an upgrade and it failed, it can leave your sources in a *really* unhappy state00:32
SpaceBassOk... fixed sources to canonical, re-installed python3-apt, no joy on the do-release-upgrade00:33
SpaceBassI can always create a new machine and sync everything over... not my favorite plan, but this all started chasing a kerberos key tab goal 00:34
sarnold:(00:35
SpaceBassI know, right? :( 00:35
sarnoldmaybe sudo debsums -ca  ?  that'll try to point out changed files .. it might report a *lot* depending upon how many config files you've fiddled with00:37
* SpaceBass has fiddled a lot 00:37
SpaceBass:) 00:37
JanCpython3-apt depends on libapt-pkg6.0 (or whatever the version for that is in 20.04)00:49
SpaceBassIll check00:49
JanCbased on the error name it looks like it might happen when loading that library fails (but that's just a guess, I didn't go read the source)00:51
sarnoldyeah, I was hoping debsums would point out something accidentally overwritten or something..00:51
SpaceBassI have a massive python3 app installed in an env and I'm quite sure I probably did something stupid on the initial install or an upgrade at some point 00:52
SpaceBassIts a production server so I'll just make a new one with 22.04 and test and then migrate over 00:53
sarnoldnot a bad approach00:53
ExeciNHi people. I'm trying to install ubuntu server 22.04 on a vps but something goes wrong with the installer right after I confirm the ssh keys fetched from my github account and I get prompted to report this to canonical. Is there a workaround besides moving on without imported keys?07:16
ExeciNI can set up key authentication later but doing it through vnc is a PitA. I have to somehow aquire the keys (I can maybe post each one on termbin), create/populate .ssh/authorized_keys, change permissions for .ssh and authorized_keys, modify /etc/ssh/sshd_config, reload sshd07:16
=== Avago_Broadqual7 is now known as Avago_Broadqual
=== OpenSource is now known as Linux
tomreynExeciN: i guess i would spawen a shell from the help menu and inspect the logs, and configure /target/etc/ssh/sshd_config to temporarily allow for non Root password authentication - and pick a good password.09:15
ExeciNAt this point is easier to continue without key authentication and set it up later. This can be done using the installer's TUI.09:20
=== Avago_Broadqual2 is now known as Avago_Broadqual
fricklerExeciN: it would be interesting to see some more details for the "something goes wrong" part. It does work pretty well for me, although I only tested on baremetal so far.09:47
fricklerExeciN: also regarding the fixup later, you can simply do "curl https://github.com/username.keys > .ssh/authorized_keys"09:48
ExeciNfranksmcb: yeah but I would still have to fix permissions, modify sshd_config and reload sshd11:43
=== leosilva1 is now known as leosilva
tomreynExeciN: i dont think any of this should be needed, as long as it's owned by the right user.13:01
tomreynExeciN: and indeed, more details would be nice to have.13:01
=== polymorp- is now known as polymorphic
alirezaI have many ubuntu servers (more than 100), and it is hard for me to update them manually. Is there any automatic solution?16:33
tomreynunattended-upgrades16:34
tomreynlandscape16:34
=== Fossil_ is now known as Fossil
=== beisner_ is now known as beisner
=== surskit_ is now known as surskit
=== odc_ is now known as odc
=== open10k8s_ is now known as open10k8s
=== haggertk_ is now known as haggertk

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