/srv/irclogs.ubuntu.com/2020/03/14/#ubuntu+1.txt

=== mcphail2 is now known as mcphail
lotuspsychjegood morning04:28
pizzaioloo/04:36
lotuspsychjehey pizza, what cooking :p04:36
pizzaioloin about 18 hours, pizza! \o/04:37
lotuspsychjehehe04:37
=== mceier_ is now known as mceier
lotuspsychjetodays update borked system completly, something libc related08:07
lotuspsychjeand current dailys give me mdsum errors, cant work around to setup or live08:11
lotuspsychjefalling back to bionic temp08:13
TR2990WXwill ubuntu 2020.04 support zfs out of the box?10:01
takov751yes indeed. As it seems10:02
=== ikonia_ is now known as ikonia
bkurt78I just hit an issue running an apt upgrade on my 20.04 install.  https://paste.ubuntu.com/p/B3d3Y9hfsz/12:06
lotuspsychjebkurt78, yeah be careful with that, i had a borked system this morning after updates12:07
bkurt78lotuspsychje:  yeah it doesn't look good.12:08
bkurt78not sure how to recover from this one12:08
lotuspsychjebkurt78, after reboot, i couldnt enter my system anymore, systemd gave me error on recoverymode too12:09
lotuspsychjeand cant reinstall a daily hence another mdsum error neither..12:09
lotuspsychjebkurt78, so you might wanna backup stuff before rebooting12:13
tomreynyou could download and dpkg -i https://packages.ubuntu.com/focal/libcrypt112:19
lotuspsychjebkurt78, think at updates this morning, system also asked to start/stop systemd service, doublecheck if you get that too12:22
lotuspsychjeso i tryed to clean install daily 20.04 desktop, but at boot/F1 it floods fsck/mdsum errors and a whole bunch of nvidia lines and does not continue towards setup12:25
RikMillshttps://bugs.launchpad.net/ubuntu/+source/glibc/+bug/186684412:27
ubottuLaunchpad bug 1866844 in glibc (Ubuntu) "package libc6:amd64 2.31-0ubuntu3 failed to install/upgrade: installed libc6:amd64 package post-installation script subprocess returned error exit status 127" [Undecided,Confirmed]12:27
lotuspsychjeah tnx RikMills 12:27
bkurt78My 20.04 install got borked this morning with a failed update and now won't boot back up properly.  It looked like a glibc update that didn't succeed.  Anyone else hit this and know of a fix?15:38
lotuspsychjebkurt78: RikMills pointed us to this bug ID already, did you miss it?15:38
bkurt78Yeah, I missed it.  I was actually on the laptop with the issue at the time.  I had to walk away and when it came back it had gone to sleep and was toast from there.15:39
bkurt78Do you happen to still have the link?15:40
lotuspsychjesure thing holdon15:40
bkurt78I tried searching through launchpad but I couldn't find the bug report in there so I must have not been searching with the right info.15:41
lotuspsychjebkurt78: i reinstalled daily and it seems to work again now15:42
bkurt78I was hoping to not have to do that, but not a big deal I guess.15:43
MikeRLHaving a very similar issue now on 20.04 prerelease I had on eoan with updates. I will leave a paste. Basically, libc6 errors. Specifically, "libc6:amd64 tries to upgrade and gets "/usr/bin/perl: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory15:44
MikeRL"15:44
bkurt78lotuspsychje: you recall if there was a fix, or was the solution to just reload at that point?15:44
lotuspsychjebkurt78: bug #186684415:45
ubottubug 1866844 in glibc (Ubuntu) "package libc6:amd64 2.31-0ubuntu3 failed to install/upgrade: installed libc6:amd64 package post-installation script subprocess returned error exit status 127" [Undecided,Confirmed] https://launchpad.net/bugs/186684415:45
MikeRLShould've used a paste but figured it was short enough. Ironically I upgraded to 20.04 early thinking I could avert that package issue.15:45
MikeRLI'll vote on the bug. That package was broken on eoan, but with a different effect.15:46
bkurt78lotuspsychje: got it.  Thank you!15:46
bkurt78I think I'll boot off some recovery media and try the repair steps and if that doesn't work then just reload15:47
lotuspsychjebkurt78: i got 2.31-0ubuntu5 libc6 now15:48
bkurt78I just did the repair steps in the bug report and they worked perfectly for me.  Back up and running.  Thank you all for the help.15:56
lotuspsychjegreat bkurt78 15:57
murphnjlordcirth_: As requested.....16:41
murphnjlordcirth_: Just for background, I have the ability to get all the files off of it, and it was there for goofing around and testing stuff, so I'm not recovering critical, irreplaceable data or anything.  I'd just rather learn how to fix it than wash and reload too quickly.16:43
murphnjI don't want to mess up the Fedora on the other drive though, that one is a little more inportant. 16:44
lordcirth_murphnj, I would look in auth.log first, if you can't login 16:45
tomreynrecovery may still work, since it doesn't usually need to prompt for a password16:47
murphnjAuth failure, but more interesting:  PAm unable to dlopen /lib/securoty/pam)unix.so No such file or directory.16:50
murphnjSadly, can't cut and paste, need auth to log in, and I don't want to break everything on this machine to log in from there.  16:50
lotuspsychjefor those who want to reproduce, i filed bug #186744516:59
ubottubug 1867445 in gnome-shell-extension-workspaces-to-dock (Ubuntu) "Workspaces to dock extension does not launch anymore" [Undecided,New] https://launchpad.net/bugs/186744516:59
=== Katnip is now known as yarddog
murphnjlordcirth_: I'm heading to the outside world for a few, will return to diagnose if you're still available.17:08
=== yarddog is now known as Katnip
lotuspsychjewelcome jkwiatko 18:27
jkwiatkohello18:27
lotuspsychjejkwiatko: you are facing bug #186684418:28
ubottubug 1867431 in glibc (Ubuntu) "duplicate for #1866844 ERROR got an error from dpkg for pkg: 'libc6'" [Critical,Incomplete] https://launchpad.net/bugs/186743118:28
lotuspsychjeand bug #186684418:29
ubottubug 1867431 in glibc (Ubuntu) "duplicate for #1866844 ERROR got an error from dpkg for pkg: 'libc6'" [Critical,Incomplete] https://launchpad.net/bugs/186743118:29
jkwiatkoah thank you will read through these now!18:31
murphnjlordcirth_: I'm back.  Any ideas?18:42
murphnjInteresting, I don't seem to have a /lib/security folder at all.18:43
murphnjThat seems pretty bad.18:43
murphnjI'm going to take the step of backing up everything from that machine to a disk.18:46
jkwiatkoThanks lotuspsychje, that did solve my issue!19:00
=== Katnip is now known as yarddog
=== yarddog is now known as Guest82584
=== Guest82584 is now known as Katnip
murphnjAnyone else able to help out a bit?  Login fails without asking for password.  auth.log gives an error like  'PAM unable to open /lib/security/pam_unix.so' and indeed there is NO directory /lib/security.  Worked earlier, ran an update, and there was an error, but I ran a suggested "fix-broken" sort of thing from apt.  The failed packages looked simiar to what ubottu reported at 14:28. (If I recall 19:56
murphnjcorrectly)19:56
lordcirth_murphnj, I'm not sure what's up20:00
murphnjThe fact that /lib/security is gone is strange, seems like the failed upgrade removed something, but didn't replace it.20:01
lordcirth_Here on 18.04, I don't have a /lib/security, though20:02
murphnjLuckily, this was there to try new things.  I guess I'll give it a little more elbow grease, then I may be trying re-installing. :)20:02
lordcirth_But apt-file search says: virtualbox-guest-utils: /lib/security/pam_vbox.so20:02
murphnjIt looks like PAM is looking for it.  I do, however have Virtualbox installed on it.20:03
murphnjlordcirth_: I don't ask questions that are easy most of the time.  I only bring the tricky ones.20:03
lordcirth_murphnj, does "apt-file search /lib/security/pam_unix.so" find anything on your system?20:04
murphnjI can't boot into ubuntu at all.  My view into the filesystem and logs is through Fedora on another drive.20:05
lordcirth_murphnj, You can chroot in, though20:05
murphnjI can try20:06
murphnjIf I remove all of the password from /etc/shadow for that account, will the account log in without password?20:07
lordcirth_No, it will be locked, I think20:07
murphnjWhere should I chroot from?  cd to the root of that drive then chroot . ?20:07
lordcirth_however, if you boot into recovery, you can normally get a root shell without a login20:08
lordcirth_Your working directory doesn't matter, just chroot to the root of the drive20:08
murphnjapt-file fails20:11
murphnjAfter the chroot20:11
lordcirth_fails how?20:14
murphnjI don't know if it is installed, the message is from "command-not-found"20:29
murphnjIt seems apt20:29
murphnjsees apt20:29
Bashing-om!info apt-file | murphnj 20:33
ubottumurphnj: apt-file (source: apt-file): search for files within Debian packages (command-line interface). In component universe, is optional. Version 3.2.2 (focal), package size 27 kB, installed size 90 kB20:33
murphnjI tried to install apt-file, and got the following amongst the errors.20:36
murphnjlibc-bin : Depends : libc6 <2.31) but 2.31-0ubunru5 is to be installed20:37
murphnjA few others like this, ending with Unmet Dependencies. try apt --fix-broken install 20:38
murphnjWhich sounds a lot like what I got on the update I ran, and then did what they suggested (the --fix....)20:38
murphnjRight before I got here.20:38
murphnjIt looks like apt-file is not installed by default20:41
Bashing-om!info libc620:41
ubottulibc6 (source: glibc): GNU C Library: Shared libraries. In component main, is required. Version 2.31-0ubuntu5 (focal), package size 2649 kB, installed size 13245 kB20:41
murphnjI also don't have a /lib/security on my other Ubuntu machine.20:41
murphnjSo I guess that is not the problem, despite the error message.20:43
Bashing-ommurphnj: ' apt policy libc-bin ' ??20:45
murphnjInstalled: 2-30-0ubuntu320:48
murphnjCandidate: 2.31-0ubuntu520:48
murphnjAre you looking for more?  (I have to type the results across)20:49
Bashing-ommurphnj: Kinda leary to mess about here as " apt show libc-bin " indicates exercise extreme caution.20:52
murphnjI have little to lose.  Data is backed up, machine is not supporting anything important. :)20:53
murphnjIf it were important, I would have backed up more thoroughly, if it was important ot get running right away, I would have washed and reloaded alreasy.20:53
Bashing-ommurphnj: One can take a poke at it ' sudo apt install libc6 '. see what the package manager screams about.20:57
Bashing-ommurphnj: Maybe better as ' sudo apt install --reintall libc6 ' ?20:58
Bashing-om--reinstall**20:58
murphnjit failed, libc-bin, libc-dev-bin, libc6-dbg, and libc6-dev all want libc6 2.30, but 2.31 is to be installed. 21:01
murphnjIt looks like my accepting of the --fix-broken-packages move (suggested by the apt update) really did things in.21:02
Bashing-ommurphnj: "2.31-0ubuntu5" is the current version that should be installed . as to what is holding the system to that old 2.30 version, remains to be found.21:05
murphnjhmmmm.  I just installed (to contribute to a team) the folding@home client21:08
murphnjI wonder if that could be it.21:08
Bashing-ommurphnj: See what we can find. ' sudo apt update 2>&1 | nc termbin.com 9999 ; sudo apt upgrade 2>&1 | nc termbin.com 9999 ' pass the resulting links back here for us to looksee.21:09
murphnjapt is failing to get out on the network in the chroot.21:12
TJ-murphnj: use "5.39.93.71" instead of "termbin.com" 21:13
murphnjFirst, I want to see the file I'd be putting out there first, so I tried the command piped to a file.  It's not termbin, it's apt that is failing.21:16
murphnjI can ping by IP, so I could send it, but it's all apt failing name resolution.21:16
TJ-murphnj: ahh, so from *outside* the chroot do "sudo mount --bind /etc/resolv.conf /$CHROOT/etc/resolv.conf" -- setting $CHROOT appropriately21:17
Bashing-ommurphnj: TJ- is very very sharp - follow his leads.21:18
murphnjhttps://termbin.com/8g4621:23
murphnjThanks for all the help, by the way.21:24
murphnjI missed a '9' at the end of the upgrade one, try ...1j5q21:24
TJ-murphnj: I can see the problem there, or at least a reason. There's a series of tests that are expected to succeed and aren't doing. We can try to break it down to locate the failing test21:27
TJ-murphnj: oh! so I was looking at the wrong pastebin 21:30
murphnjTJ-: Not wrong, just half of the picture.21:30
TJ-murphnj: ahh21:31
TJ-murphnj: what version does "apt list libc6-bin" report as installed ?21:31
Bashing-omTJ-: murphnj may I suggest that libc6-dbg and libc6-dev be removed ?21:32
TJ-looking at the changelog seems like there's been some churn this week that has caused this https://changelogs.ubuntu.com/changelogs/pool/main/g/glibc/glibc_2.31-0ubuntu5/changelog21:34
TJ-murphnj: oh I see the problem, doh! You're in a chroot and haven't mounted /dev and possibly other required kernel file-systems21:36
TJ-murphnj: the error about unable to create /dev/null gives it away21:36
Bashing-omTJ-: ^^ there is a reason why I look over your shoulder: " create /dev/null" had me wondering !21:38
TJ-murphnj: when setting up a chroot of a full system install you need to do e.g. " TARGET=/target; for n in proc sys dev etc/resolv.conf; do sudo mount --rbind /$n $TARGET/$n; done; chroot $TARGET mount -a; chroot $TARGET "21:38
TJ-sometimes even need to add the /run/ directory too21:39
murphnjI'll try it.  21:41
murphnjSorry, I've been jumping between this and the Libreplanet talks.21:41
murphnjSo in the above command is it as-is, or is TARGET and target supposed to be substituted with something.  I'm not clear on that.21:42
murphnjI haven't had to do this on the regular, so I'm learning new things.21:43
TJ-murphnj: you set TARGET=/whereever/you/want/to/mount/the/rootfs 21:43
TJ-murphnj: I use /target because that is what the Debian/Ubuntu installer uses by default21:43
TJ-murphnj: of course that directory must exist/be created21:43
murphnjOk, I'm already in a chroot, so I have to crete a new location, 22:09
murphnjcreate a directory, and go from there?22:09
TJ-murphnj: exit the chroot, remove any mounts you've made inside it, and start again22:13
murphnjI got a lot of fails - 22:14
murphnjLet me recheck what I typed.22:14
murphnjSo I also have to create all of the mount points under target?22:16
murphnjI did that and took out /etc/resolv.conf, (becuase it failed)22:20
TJ-murphnj: no, do not have to create mountpoints22:20
murphnjI am getting "chroot failed to run command ' mount': no such file or dir  (and then the same fior /bin/bash)22:21
TJ-let's say your root-fs you want to work on is on /dev/sdz922:21
TJ-so, you'd do "sudo mkdir /target; sudo mount /dev/sdz9 /target; for n in proc sys dev etc/resolv.conf; do sudo mount --rbind /$n /target/$n; done; sudo chroot /target mount -a; sudo chroot /target" --- now you're in the correctly mounted target as 'root' and can work22:22
murphnjI misunderstood22:22
murphnjI have to go in a few minutes, let me give this one more shot.22:22
murphnjOk seems to have worked.22:23
TJ-murphnj: now you might be able to get "apt -f install" to solve things22:24
murphnjIt is giving many scary warnings.22:25
murphnjBut I fear not.22:25
TJ-murphnj: capture them :)22:25
murphnjHalted, too many errors.22:25
TJ-murphnj: you can do things like "apt -f install &| tee /tmp/apt.log" then when it stops, "pastebinit /tmp/apt.log" and give us the URL22:26
murphnjDO you mean for that & before the |22:27
TJ-Yes - it causes both stdout and sterr to be piped to 'tee' so you capture both22:28
murphnjCertificate error with pastebinit22:29
murphnjIt gave an unspecified token error.22:30
TJ-sounds weird; OK do "cat /tmp/apt.log | nc termbin.com 9999 "22:30
murphnjnc command not found22:31
TJ-blimey, that root-fs you're chroot-ed into seems rather badly broken!22:31
murphnjI may have to leave, and try to pick this up later.22:31
murphnjUbuntu's update (and subsequent suggestion to resolve it) really did me in.22:32
murphnjI'm going to be sure to keep better backups, luckily I was able to mount the partition and get everything off, and wasn't really counting on it.22:32
murphnjfdy222:33
murphnjIt was nc.openbsd22:33
murphnjThere must be an alias missing somewhere22:33
TJ-yes, there should be a symlink via /etc/alternatives/ from /usr/bin/nc to it22:34
TJ-readlink -e /usr/bin/nc22:34
TJ-/usr/bin/nc.openbsd22:34
murphnjI have to leave.  I'll leave the window open, thanks for the help, if you're around later, I'll try to ping you.22:35
TJ-it's 22:30 here so someone else will likely be around, but I'll be asleep!22:36
murphnjTJ-: Thank you for all of your help.  I doubt someone is going to be able to pick this up fom the middle.22:38
TJ-well, you're in a stable chroot now which'll help. Let them know that :)22:38
TJ-grabbing that apt.log will help enormously22:38
murphnjWe'll see.22:38
murphnjThanks.22:38

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