[00:24] <xboxbml> hey all.. i have what many may call a stupid question.. i am a bit new to linux.. but here goes.. i have a PC with multiple drives in it, 1 drive is windows 10 and i installed ubuntu on another, so i can dual boot.. i'm wondering, could linux ever arbitrarily wreck my windows drive?
[00:25] <sarnold> yup
[00:25] <oerheks> theoretically yes
[00:26] <sarnold> in practice the riskiest part is the installation step, and that's not usually a big deal
[00:26] <xboxbml> how could that happen?
[00:27] <ravage> not arbitrarily. usually its the users fault
[00:27] <oerheks> creating a live usb, and select the wrong drive :-D
[00:28] <ravage> classic
[00:30] <xboxbml> @ravage-that's what i was kinda thinking.. I have ubuntu 21.04 on a spinner and win10 on ssd.. i just started the upgrade process from 21.04 to 21.10
[00:31] <xboxbml> i popped the ssd cable off just in case..
[00:32] <sarnold> back when I did 'dual boot' that's what I did, too :) it strongly encouraged me to stick to one os, hehe
[00:36] <xboxbml> yeah, i'm still pretty tied to my mac/apple stuff.. pretty engrained in apple ecosystem.. lots of money invested in movies/music.. i'm trying to see if i can run iTunes on linux successfully enough so that i can watch those movies.. i got it running inside a vm on my mac but it's a black screen. i'm hoping to be more successful on a real physical machine with an actual graphics card..
[00:37] <xboxbml> plus trying to get familiar with linux itself.. so last year i had loaded ubuntu on an old spinner i had laying around and thru it into my house pc..
[00:38] <xboxbml> anyone else actually get itunes to work in ubuntu?
[00:44] <ravage> google says it runs in wine. but i have no idea about watching movies. DRM is always a b*tch
[00:44] <oerheks> there are tons of better music programms
[00:47] <ravage> found https://snapcraft.io/apple-music-for-linux but i dont own anything apple
[00:48] <ravage> but maybe it lets you at least listen to the music you "own" :)
[00:50] <oerheks> !info aac
[00:51] <oerheks> !info aac-enc
[00:51] <oerheks> you want this package on your music station for apple stuff..
[00:53] <xboxbml> yeah i had gotten it to install and run with Wine on my vm.. but like i said, black screen.. non-fenctional
[01:25] <mike18_> hi, i have a docker which gets stopped or killed by jenkins - how can i figure out what how it was stopped or killed? is there a way to see it in the terminal somehow?
[01:26] <sarnold> does jenkins keep logs?
[01:27] <oerheks> mike18_,  why crossposting?
[01:27] <mike18_> i dont have access to jenkins logs
[01:27] <mike18_> i would like to know if SIGTERM or SIGKILL is sent
[01:27] <mike18_> or something else
[01:28] <mike18_> can i see that soemhow?
[01:28] <oerheks> then ask your administrator?
[01:28] <mike18_> oerheks: could be one option
[01:28] <mike18_> cant i figure out from terminal?
[01:28] <sarnold> if you can't see jenkins logs it's pretty unlikely you'll be able to figure *that* out, unless you've got access to the docker logs, and it logs why it exits
[01:28] <oerheks> your only option, i guess.
[01:28] <mike18_> you mean docker logs pid ?
[01:29] <sarnold> hopefully it logs *something* when it exits
[01:29] <mike18_> i called that before docker logs pid -f : Error response from daemon: configured logging driver does not support reading
[01:29] <mike18_> got that issue :)
[01:29] <sarnold> another thing to talk to your admin about, heh
[01:30] <mike18_> sarnold: are you sure jenkins logs would store that?
[01:30] <mike18_> i never looked at jenkins logs to be honest
[01:30] <sarnold> mike18_: I'd sure hope it logs aspects of lifecycle management; if not, then I hope it's just a quick log level change or something
[01:31] <mike18_> and if its doesnt store that
[01:31] <mike18_> there is no way to get the command whcih killed the docker run?
[01:31] <mike18_> or stopped
[01:32] <oerheks> nope
[01:32] <sarnold> then you'd bust out execsnoop or killsnoop-bpfcc
[01:32] <sarnold> or other low-level observability tools
[01:32] <mike18_> tought you can get some kernel logs
[01:32] <oerheks> why the hard way?
[01:32] <sarnold> kernel doesn't log kills
[01:32] <mike18_> SIGKILL or SIGTERM
[01:32] <sarnold> those can happen tens of thousands of times per second
[01:32] <oerheks> this seems not related to ubutnu at all
[01:33] <mike18_> or see docker history
[01:33] <mike18_> what caused the docker to exit
[02:42] <maryo> How the nameserver search order will travel in Ubuntu? I have 3 nameservers configured in Ubuntu 20.04. The first nameserver doesn't return any answer to the search query, so then the request will goto the secondary nameserver right? But its not happening..
[02:44] <wez> maryo: Depends, I believe the second and third ones are used if the first one doesn't answer at all.  However a NX record is an answer.
[02:45] <maryo> wez, I hop the A record is the answer right?
[02:47] <wez> maryo: "By default, the nameservers are used in listed order with a 5-second timeout before moving to the next entry."  There is a config setting to round robbin what's in /etc/resolv.conf.  If you are using network manager, there is probably an option in that too.
[02:48] <wez> maryo: If the DNS server doesn't respond then the next one is queried. If the DNS server does respond but the answer is NX (non-existent domain) then that is the answer, the next DNS server isn't querried.
[02:51] <maryo> wez, Ah thanks that clarifies. May I know where this 5-second timeout is configured ? I am using ubuntu container image.. So not sure, what it uses.
[02:52] <wez> maryo: ummmmm, /etc/resolv.conf usually. If there is an entry for 127.0.0.1 then that means a proxy is being used, like network manager or whatever its service is called.
[02:53] <wez> maryo: Typing in `man resolv.conf` will shed some light on it.
[02:53] <maryo> wez, thank you so much
[03:05] <maryo> wez, one last question. Incase If I wanted to test whether the timeout that I set in /etc/resolv.conf is working properly.. I hope if the request doesn't go via glibc resolver library then we can't verify this.. Any better ways?
[04:34] <ONEONEONE> R960
[04:35] <ONEONEONE> P95
[04:36] <ONEONEONE> LOGDONG
[04:36] <ONEONEONE> LOGDONG FLEISCHPEITSCH
[04:36] <ONEONEONE> FLEISCHPEITSCHE
[04:37] <ONEONEONE> R980
[05:09] <Hash> How do you change the DNS server in ubuntu 20.04?
[05:10] <moha> in the LinuxMint forum I read somewhere: "You don't need a swap partition with LM19.x, it will use a swap file."; What about Ubuntu? Shouldn't we create a swap partition any more?
[05:14] <guiverc> moha, Ubuntu can use swapfiles & swap partitions; or either one
[05:17] <moha> which one is recommended?
[05:18] <moha> by not creating a swap partition, does it automatically use sawpfile?
[05:22] <Bashing-om> moha: Affirmed - if a swap partition does not exist, the installer will create a swap file in latest Ubuntu releases.
[05:31] <matsaman> moha: the only real difference is that a swap partition is really expendable partition space in a pinch
[05:32] <matsaman> which shouldn't happen much
[05:35] <tomreyn> !ot | ONEONEONE
[05:42] <tomreyn> Hash: on a desktop, network manager manages network connections, and its GUI lets you set the resolver to use for each connection.
[06:14] <moha> to auto-expand the sda3 (on a fresh installation, keeping default partitioning setting), may you take a glance at these 10 lines; do you find something risky, unnecessary or lack of a command?
[06:14] <moha> ----> https://p.teknik.io/7iuyx
[06:26] <tomreyn> moha: you might not want to rescan all devices, but just the relevant one in line 10. if you still want to loop, this is more simple: for path in /sys/class/scsi_device/*/device/rescan; do echo echo 1 > $path; done
[06:27] <tomreyn> moha: you might not want to rescan all devices, but just the relevant one in line 10. if you still want to loop, this is more simple: for path in /sys/class/scsi_device/*/device/rescan; do echo 1 > $path; done
[06:27] <tomreyn> the latter actually
[06:27] <tomreyn> you also lack error handling, obviously
[06:28] <tomreyn> generally speaking, a better place for help with bash scripting is probably #bash
[06:50] <xu-irc33w> ppl cant see my ip yeah?
[06:52] <tomreyn> xu-irc33w: we can see an ip address for you. we can't know for sure whether that's yours or that of a system you tunnel through. but this is not really an ubuntu support question - head over to #libera for help with irc and to learn how to get a cloak.
[08:19] <Gekko> After a recent update on Ubuntu 20.04 and enrolling a vmware MOK key, I ended up in a state where my ubuntu no longer boots. Before decrypting my hard drive, the MOK enrolling utility should start, but instead I get a screen that appears to print things from pe.c, sbat.c, and mok.c, likely related to some kind of problem with enrolling my MOK key. This goes on for about 10 mins, then the boot
[08:19] <Gekko> repeats to the same result. The system is currently inaccessible. I have the ability to boot a live USB stick - do I need to remove some files from the hard drive to skip this problematic MOK key? Here's a video that shows what's going on - the best I can do at this time https://plantmonster.net/ubuntu_shim.mp4
[08:19] <marchello> getting error when trying to run apt-get upgrade, full text is here: https://pastebin.com/UaDReMm3 -- please advise; also related error with grub-legacy-ec2 -- please see https://pastebin.com/1gaEvfZB
[08:22] <alkisg> Gekko: does it boot if you temporarily disable secure boot?
[08:22] <Gekko> I'll try
[08:23] <alkisg> marchello: I've never used grub-legacy-ec2, but it sounds to me like it was removed but not purge. What's the output of `dpkg -l | grep grub-legacy-ec2` ?
[08:24] <marchello> alkisg: $ sudo dpkg -l | grep grub-legacy-ec2 -- empty output
[08:25] <Gekko> nope. with secure boot disabled, I now get a blue screen from the MOK utility that says "secure boot not enabled", then the repeat of the prints from the video
[08:25] <alkisg> marchello: and the output of this? `dpkg -S /etc/kernel/postinst.d/x-grub-legacy-ec2`
[08:28] <Gekko> I think I know what might be behind this - before booting, I ran "mokutil --set-verbosity" because I was debugging something else. Maybe the prints come from that, and that is somehow preventing the boot
[08:28] <Gekko> "set-verbosity true" I mean
[08:30] <marchello> alkisg: sudo dpkg -S /etc/kernel/postinst.d/x-grub-legacy-ec2 - dpkg-query: no path found matching pattern /etc/kernel/postinst.d/x-grub-legacy-ec2
[08:30] <alkisg> marchello: eh, it sounds to me like some bad uninstallation or upgrade left it there; just move it elsewhere initially, `mv /etc/kernel/postinst.d/x-grub-legacy-ec2 /var/backups/`, and later if you see that the problem is fixed, just delete it
[08:33] <marchello> alkisg: now getting on apt-get upgrade: W: APT had planned for dpkg to do more than it reported back (20 vs 24). Affected packages: linux-image-4.15.0-171-generic:amd64
[08:35] <alkisg> Try it once more; if it still says it, you have held packages
[08:45] <iomari891> greetings, how to downgrade from 21.10 to 21.04?
[08:46] <tomreyn> iomari891: release downgrades are unsupported / effectively not possible
[08:46] <tomreyn> why would you want / need to?
[08:46] <tomreyn> 21.04 is EOL
[08:54] <tomreyn> Gekko: that would explain why it's so verbose - i've never seen such output before
[08:55] <Gekko> I'm currently preparing a live USB. going to try mounting the file system to it, chroot to it, reverse the mokutil verbose step, see what happens
[08:55] <Gekko> if that fails, figure out how to remove the new keys from being enrolled
[09:03] <tomreyn> Gekko: in case it helps, there's somewhat extensive documentation on ubuntu's secureboot implementation at https://wiki.ubuntu.com/UEFI/SecureBoot - unfortunately the "MokManager" page this page seems to link to does not exist. but see the links on the top of the page, too.
[09:04] <tomreyn> also this might be useful https://askubuntu.com/questions/1050070/mokmanager-does-not-start-on-reboot
[09:06] <Gekko> useful. maybe I can boot to something like EFI shell and try manually launching mokmanager with some cmd params or whatever
[09:09] <alkisg> Gekko: you could also write https://github.com/alkisg/liveusb (a few MB) in a liveusb, which will give you signed grub, which you can use to type "set root=(hd0,msdos1); configfile /boot/grub/grub.cfg" and boot from your disk, instead of a usb
[09:10] <Gekko> I'll keep that as an option, thanks
[09:14] <Gekko> looks like the issue is with the verbose output. I booted ubuntu from live USB, and the bundled mokmanager started and properly enrolle the key (onto the USB)
[09:15] <Gekko> since the live USB mokmanager has verbose disabled
[09:25] <Gekko> and it worked: live usb -> mount -> chroot -> set-verbosity false -> reboot -> works
[10:49] <iomari891> tomreyn: sorry for the late reply. A colleague just upgraded to 21.10 and now he's having issues so he wanted to  go back to 21.04. But I convinced him to solve his problem without trying to downgrade.
[10:51] <anotheryou> Hi, my machine wont boot, says "ACPI BIOS Error (bug): A_AML_BUFFER_LIMIT". Any ideas?
[10:51] <anotheryou> Backstory: My laptop crashed (tried to run an installer through wine) before. Full messages: https://www.irccloud.com/pastebin/QStSgfU0/Full%20Messages (OCR text, missing some underscores here and there). Happens after I unlock the drive with the encryption password and leaves me at a commandline with (initramfs).
[11:02] <tomreyn> iomari891: that sounds like the right approach to take. your collegue could come here if he has specific questions
[11:05] <tomreyn> anotheryou: those ACPI errors could be unrelated to the problem where the system fails to boot. what is this installer you ran through wine, what was it supposed to do, how did it "crash"?
[11:11] <anotheryou> @tomreyn it was some hopefully undemanding installer for a business tool. At ~10% installer progress the whole laptop just froze and I hard-reset it.
[11:11] <anotheryou> @tomreyn to be precise I tried it with "bottles" instead of just wine
[11:11] <Sqaure> Anyone know if there are alternative to Spotify or Slack clients? I have have a 5yo old laptop running 18.04 LTS and these apps are absolute resource hoggers there
[11:13] <anotheryou> @Sqaure you tried browser? is a tad better sometimes
[11:14] <lotuspsychje> Sqaure: you might start a topic in #ubuntu-discuss if you like
[11:14] <Sqaure> oh sorry. Its OT?
[11:14] <hans> Open Tibia?
[11:16] <Sqaure> hans, that was hard to google. You dont happen to have an URL to it?
[11:17] <tomreyn> anotheryou: okay, hopefully you didn't run it with sudo so then it shouldnt have been able to cause this anyways. look into a cmos reset or bios update.
[11:19] <anotheryou> tomreyn: no sudo :). resets I can try. but weird it worked before
[11:19] <anotheryou> thank you :)
[11:22] <dreamon> Hello. my thinkpad dont recognice some key stroke anymore since a few Minutes. Using external keyboard works normally
[11:22] <tomreyn> anotheryou: i can think of three causes: something you did or that was applied as an update caused your initramfs to break, the unclean shutdown somehow casued your cmos to get corrupt (though that seems unlikely), there is a hardware problem (ACPI messages point to GPU, but this could also be caused by a broken disk or even RAM)
[11:23] <dreamon> example space dont work.
[11:23] <tomreyn> anotheryou: something else you can try is to actually bring up the grub menu and boot into an earlier kernel
[11:24] <anotheryou> tomreyn: is bios reset and cmos reset the same?
[11:25] <tomreyn> anotheryou: not exactly, but can be good enough.
[11:26] <tomreyn> anotheryou: try booting into the other kernel first, though
[11:27] <dreamon> space, p, s=(pops up screenshot,k, 4=standby...really strange
[11:30] <anotheryou> @tomreyn older kernel with recovery mode shows another error and drops me to (initramfs) again. The error is about corruption on the root file system... It recommends running fsck manually. I guess that I do now?
[11:32] <anotheryou> @tomreyn fsck and accepting all fixes worked :)))) thanks so much!
[11:33] <hans> Square: nvm that thing, but check out Pidgin
[11:34] <hans> mhm https://github.com/dylex/slack-libpurple
[12:38] <anotheryou> is it just time of day or is the ubuntu irc less frequented these days? I remember it being the busiest channel on freenode a few years ago
[12:40] <semitones> anotheryou: it has been less busy for years, even on freenode, but I remember those busy times
[12:41] <anotheryou> I see :)
[12:42] <anotheryou> semitones: I used to be able to equal my karma easily even as a noob. Ask a question, answer a question :)
[12:43] <semitones> Same ! I never stopped being a noob though. Have you also joined #ubuntu-offtopic ?
[12:51] <RaimondRaj> How To Install And Configure Sendmail On Ubuntu
[12:58] <ravage> you install it with apt. i dont think there is a lot of Ubuntu specific configuration. so just read up on configuring sendmail
[13:00] <BluesKaj> Hi all
[13:04] <RaimondRaj> ok
[13:40] <eoli3n> Hi
[13:40] <eoli3n> what will be the deployment method for 22.04 release ?
[13:40] <eoli3n> preseed still ?
[13:42] <Maik> eoli3n: maybe best to ask in #ubuntu-next
[13:42] <eoli3n> thanks
[13:43] <Maik> no problem
[14:09] <misha_> hello
[14:11] <Charlie_Bravo> hi
[14:46] <xnox> lukenow:  heya
[15:39] <marchello> Hi all, sorry for repeating, lost connection and can't see previous replies: getting error when trying to run apt-get upgrade, full text is here: https://pastebin.com/UaDReMm3 -- please advise; also related error with grub-legacy-ec2 -- please see https://pastebin.com/1gaEvfZB
[15:40] <tomreyn> !irclogs | marchello
[15:42] <tomreyn> marchello: i assume this is an AWS EC2 instance running Ubuntu 18.04 LTS?
[15:43] <tomreyn> Can you show    sudo apt update   output as well
[15:43] <tomreyn> also   apt policy   after that
[15:49] <marchello> tomreyn: it's vps, but no it's not aws ec2 instance and that's why I don't really understand why I have this package missing
[15:51] <marchello> tomreyn: sudo apt update output: https://pastebin.com/DCpFafLM
[15:51] <RaimondRaj> Failed to restart php7.4-fpm.service: Unit php7.4-fpm.service not found.
[15:52] <RaimondRaj> any idea guy
[15:52] <tomreyn> marchello: i suspect that the hosting company decided to use Ubuntu AWS cloud images, which may have been a bad choice, because they're AWS specific (and there are generic ones).
[15:52] <marchello> tomreyn: sudo apt policy output: https://pastebin.com/XVxdGMsv
[15:54] <tomreyn> marchello: what does this return?   apt list --installed | grep ',local\]$' | nc termbin.com 9999
[15:57] <tomreyn> marchello: also    cat /etc/fstab | nc termbin.com 9999
[16:00] <tomreyn> marchello: also, what's the output of     dpkg -S /etc/kernel/postinst.d/x-grub-legacy-ec2
[16:01] <jchittum> if it's based on an "official" Ubuntu cloud image, you can also provide build info: `cat /etc/cloud/build.info`
[16:02] <tomreyn> marchello: my guess is that /etc/kernel/postinst.d/x-grub-legacy-ec2 is a leftover file, and should not actually be there anymore. if running 'dpkg -S' against it shows that no package is known for it, it should be save to move it out of the way.
[16:02] <marchello> tomreyn: sudo apt list --installed | grep ',local\]$' | nc termbin.com 9999 -- WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
[16:02] <tomreyn> marchello: there should have been another line of output, though
[16:02] <tomreyn> unless your firewall blocked the outbound connection to termbin.com:9999 (TCP)
[16:03] <marchello> tomreyn: sudo dpkg -S /etc/kernel/postinst.d/x-grub-legacy-ec2 -- dpkg-query: no path found matching pattern /etc/kernel/postinst.d/x-grub-legacy-ec2
[16:03] <tomreyn> so move it out of the way
[16:04] <tomreyn> you might actually want to get support from your hosting provider there, because i don't know which virtualization they use, how your VPS is supposed to boot, and why this file exists when it's not from an installed package
[16:06] <jchittum> marchello: if it's based on an ubuntu cloud image from cloud-images.ubuntu.com, it will grub-legacy-ec2 installed by default for various "legacy" reasons. you can check official Ubuntu manifests by going to $VERSION/$SERIAL/ such as : http://cloud-images.ubuntu.com/bionic/20220315/
[16:06] <jchittum> if the image is based on an official Ubuntu image, there will be a serial in `/etc/cloud/build.info` that gives a serial date. hopefully they're using "release" images, and you can check there
[16:07] <jchittum> as for upgrades, generally speaking, a kvm based cloud-image should still smoothly apply an upgrade. that being said, I can check more thoroughly from an Ubuntu perspective with the output of `build.info` so I can grab the kvm image directly and try
[16:11] <tomreyn> jchittum: the above info would be quite useful to have documented somewhere publically, do you happen to know whether it is?
[16:16] <marchello> tomreyn: thank you, now it's all good
[16:16] <jchittum> It is not publicly documented anywhere. There's very little public documentation on the differences between cloud images and Server. We're working on it, but we're fighting a losing battle on our backlog to keep up.
[16:17] <tomreyn> jchittum: that's what i assumed, both of it. :-/ thanks for letting me know.
[16:17] <jchittum> https://ubuntu.com/server/docs/cloud-images/introduction : that's what's available now
[16:18] <jchittum> I (we, Canonical) are working to add a lot more documentation. But, unfortunately, historically we didn't publish a lot of information, and just stated "it's like Ubuntu Server." that's missing a lot of the story though :/
[16:18] <tomreyn> yes, and it's been a while
[16:19] <tomreyn> but i understand that cloud images are primarily for commercial use
[16:19] <BinarySavior> is it better to install cargo via npm or via apt?
[16:20] <tomreyn> marchello: you should also    sudo dpkg --configure --all    and     sudo apt -f install    and    sudo apt upgrade    and   sudo apt full-upgrade
[16:20] <BinarySavior> with context: setting up environment for element-desktop  the README.md does not have instructions for installing dependencies yet, it's on the TODO list https://github.com/vector-im/element-desktop/blob/develop/docs/native-node-modules.md
[16:20] <jchittum> BinarySavior: do you mean cargo as in the rust-lang package manager?
[16:21] <BinarySavior> jchittum, i believe that's it.  I'm wlaking in the dark blind here, not familiar with developing in javascript, i'm starting with this project to learn
[16:21] <tomreyn> marchello: and, in the end, to test whether this system is actually still bootable now that the x-grub-legacy-ec2 hook is no longer present - you might want to reboot, too, possibly after re-building the initramfs and grub-install, too
[16:21] <BinarySavior> the docs for this project are not helpful with setting up the dev environment
[16:24] <jchittum> BinarySavior: if it's for rust-lang, then npm is definitely the most wrong answer. Either use the rust-lang stack provided by Ubuntu (rustc and cargo) or from upstream (https://www.rust-lang.org/tools/install)
[16:24] <BinarySavior> jchittum, nice, i made the right choice :D
[16:24] <BinarySavior> pure dumb luck
[16:24] <tomreyn> marchello: can you show us what's in    /etc/cloud/build.info    and tell us which hosting provider this is? that's just nice to get a better understanding of why you may have ended up in this unfortunate situation to begin with
[16:25] <jchittum> BinarySavior: However, there is an NPM package called cargo: https://www.npmjs.com/package/cargo
[16:28] <BinarySavior> I did sudo apt install libyadayada-dev but now when I type history I do not see it listed there
[16:29] <BinarySavior> I'm trying to make notes so I can help udpate the README.md on this project with setting up dependencies
[16:29] <tomreyn> you probably had a leading blank space on that line
[16:29] <BinarySavior> I was going to use `history` as a reference on what I did but I'm not seeing my sudo apt install command
[16:29] <BinarySavior> oh
[16:30] <tomreyn> another option for 'recording' what you're doing there is to use "script", or "asciinema"
[16:31] <tomreyn> that way you'd also preserve context (input + outputs)
[16:34] <BinarySavior> thanks tomreyn
[16:37] <marchello> tomreyn: sudo dpkg --configure --all return error about unknown option --all, so I ran sudo dpkg --configure -a, there was no output
[16:37] <marchello> tomreyn: sudo apt -f install -- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[16:38] <marchello> tomreyn: sudo apt upgrade -- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[16:38] <tomreyn> marchello: sorry, it's    sudo dpkg --configure -a    not what i wrote
[16:39] <marchello> tomreyn: sudo apt full-upgrade -- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[16:39] <tomreyn> marchello: but i guess you'll be fine then. you didn't report back what    apt list --installed | grep ',local\]$' | nc termbin.com 9999     returned other than a warning, though
[16:40] <tomreyn> nor /etc/cloud/build.info
[16:41] <tomreyn> (bbl, having a shower)
[16:43] <ecdhe> I have a TV for a monitor.  When my pc idles for 5 minutes, the screen goes blank, but my TV doesn't turn off like a monitor would.  I'd like to make my computer send a command to the TV to turn it off whenever the screen goes blank, and to turn it back on whenever it wakes up.  Are these events something I can detect with DBUS in ubuntu?  I've been reading on DBUS but haven't found a reference of events
[16:43] <ecdhe> that Ubuntu supports
[16:47] <ogra> ecdhe, thats not a software issue but something your graphics card would have to support ... to turn on a TV you'd need to send a CEC signal down the HDMI cable, apart from the raspberry pi i personally do not know any GPU that supports this ...
[16:49] <ogra> you could perhaps apply a hardware hack like https://www.pulse-eight.com/p/104/usb-hdmi-cec-adapter to send CEC commands with libcec4 to your TV
[16:49] <ecdhe> ogra, I was going to use an IR led to send the "power" signal to the TV.  I just need to be able able to trigger this behavior when Ubuntu Desktop is in the appropriate state.
[16:50] <leftyfb> ecdhe: https://askubuntu.com/a/1339494/1151311
[16:51] <leftyfb> ecdhe: if the screen is connected via HDMI, and the TV supports CEC, you can use cec-ctl to send a signal to the TV
[16:51] <ogra> ah, right, IR will surely work too if you have a free line of sight
[16:58] <ecdhe> Thanks ogra, leftyfb
[17:13] <loganrun> how do I start mysql-server
[17:15] <leftyfb> loganrun: what version of ubuntu are you running and how did you install mysql-server?
[17:16] <loganrun> 20.04
[17:16] <leftyfb> loganrun: which set of instructions are you following to install and setup your mysql server?
[17:17] <loganrun> https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-20-04
[17:17] <loganrun> the sudo mysql_secure_installation fiails
[17:18] <leftyfb> loganrun: https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-20-04#:~:text=If%20MySQL%20isn%E2%80%99t%20running
[17:18] <loganrun> Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
[17:18] <loganrun> ok but the statement I mentioned fails
[17:18] <loganrun> step 1
[17:20] <jhutchins> loganrun: Did you check for relase-specific documentation in /usr/share/doc/ ?
[17:23] <loganrun> don't see anything
[17:33] <jhutchins> !mysql
[17:33] <jhutchins> Sigh.
[17:43] <lotuspsychje> jhutchins: !lamp
[17:44] <jhutchins> That would also be a useful factoid.
[17:53] <jhutchins> Is ubottu open to updates, or does it require special permissions?
[17:53] <lotuspsychje> !lamp | jhutchins
[17:54] <lotuspsychje> jhutchins: ubottu can accept factoid changes/request that will forward the suggest to the ops
[17:56] <marchello> hi all, getting "read-only filesystem" after reboot
[17:57] <marchello> could you please remind, what is preffered way of sharing screenshots?
[17:57] <leftyfb> marchello: run dmesg -T     # and look for I/O or drive errors
[17:57] <leftyfb> marchello: imgur.com is popular
[18:00] <marchello> leftyfb: read-only filesystem error screenshot -- https://imgur.com/a/McIQKt1
[18:01] <loganrun> this is driving me crazy why won't mysql start
[18:01] <marchello> leftyfb: I can access my vps only through provider's console, but not from outside
[18:01] <leftyfb> loganrun: is this on a VPN or some hosting provider?
[18:01] <leftyfb> loganrun: sorry, VPS
[18:03] <loganrun> no it is my local system
[18:05] <marchello> leftyfb: dmesg -T output -- https://imgur.com/a/KFYVZcl
[18:05] <marchello> leftyfb: not sure how exactly do I grep for only I/O or drive errors
[18:06] <leftyfb> marchello: try dmesg -l err or dmesh -l warn
[18:07] <leftyfb> sorry, typo in dmesg
[18:10] <mkusu> hello
[18:10] <lotuspsychje> welcome mkusu
[18:10] <mkusu> thanks
[18:11] <mkusu> im using linux mint 2.0 from vm but i am going to install it to 512 mb ram machine is it ok?
[18:11] <leftyfb> !mint | mkusu
[18:12] <marchello> leftyfb: dmesg -l err output -- https://imgur.com/a/6LGfB5D
[18:13] <leftyfb> marchello: maybe try an fsck on your filesystem(s) out of band
[18:14] <mkusu> so its ubuntu 6.10
[18:14] <marchello> leftyfb: ... and this is dmesg -l warn output -- https://imgur.com/a/S24NUrA
[18:16] <leftyfb> mkusu: We cannot provide support for Linux Distributions which are based on Ubuntu (like Mint), nor can we provide support for releases of Ubuntu which went End of Life 14 years ago.
[18:17] <mkusu> ubuntu is awsome
[18:17] <marchello> leftyfb: sudo fsck output -- https://imgur.com/a/c11Mq76
[18:17] <leftyfb> mkusu: then install a current release of ubuntu
[18:18] <mkusu> im in irc and firefox at same time and it only uses 160 mb of ram
[18:18] <leftyfb> marchello: you're supposed to run fsck out of band, as in, not while the OS is running. Also, you should show the commands you are running and the entire output
[18:19] <mkusu> leftyfb i cant install a newer version because i dont have hardware that is capacle of running newer version
[18:19] <leftyfb> mkusu: sorry, but we cannot support Ubuntu 6.10 nor Linux Mint here
[18:20] <marchello> leftyfb: the command was just "sudo fsck", that was entire output; also I don't understand what exactly do you mean by running it while the OS is not running, because it's remote vps and I don't have physical access there
[18:21] <leftyfb> marchello: you might have to contact your VPS provider to figure out why your filesystem is read-only then
[18:22] <marchello> leftyfb: contacting my VPS provider makes sense, thanks
[18:22] <mkusu> alright goodbye for now i will join again if i can download it to an old machine
[18:41] <Pat0sMax0sMaxim0> hi
[18:41] <Pat0sMax0sMaxim0> Looking for ubuntu offtopic
[18:41] <lotuspsychje> !chat | Pat0sMax0sMaxim0
[18:41] <sarnold> #ubuntu-offtopic ?
[18:42] <Pat0sMax0sMaxim0> I will not register
[18:42] <Pat0sMax0sMaxim0> but thanks
[18:48]  * genii wonders how long until they realize they have to register to join to join the channel and return
[20:06] <c355E3B> Is there an upgrade path for moving off of needing the `libzfs2linux` for Ubuntu 18.04 to Ubuntu 22.04?
[20:09] <Maik> c355E3B: 22.04 isn't even Beta yet and still under heavy development. Try asking in #ubuntu-next.
[20:10] <c355E3B> Thanks Maik
[20:10] <Maik> no problem :)
[20:45] <kenperkins> I recently installed a new USB-C Power Delivery outlet supplying 60w to each port, but my Thinkpad running 20.04.1 is stuck "estimating" and doesn't appear to be charging. Is there a command I can run to show current power delivery?
[20:49] <leftyfb> kenperkins: maybe check your BIOS to see if there's info in the power tab
[20:50] <impermanence> despite my packages being on the same version when I go to upgrade they each start complaining about the following:
[20:50] <impermanence> https://bpa.st/HNKA
[20:52] <leftyfb> impermanence: you'll need to contact Canonical for ESM support
[20:52] <impermanence> you really think I can't resolve this by changing "some numbers" on "some things"?
[20:52] <ahasenack> what does "apt-cache policy libssl-dev" say?
[20:52] <genii> One says esm1 and one says esm2
[20:52] <impermanence> yeah I was just looking at that one sec
[20:52] <ahasenack> maybe libssl-dev you have installed isn't available in the repositories anymore, and --reinstall can't fix it
[20:53] <impermanence> one sec I can post the cache policy for both packages
[20:53] <impermanence> https://bpa.st/IDCA
[20:55] <kenperkins> is there a command to show current charging status?
[20:56] <leftyfb> kenperkins: upower -i $(upower -e | grep 'BAT') | grep -E "state|to\ full|percentage"
[20:57] <kenperkins> perfect
[20:57] <kenperkins> I hate usb-c; so many cables that do or don't work in different situations
[20:57] <leftyfb> kenperkins: upower -i $(upower -e | grep 'BAT')    might give you more info
[20:58] <tomreyn> impermanence: you should probably run   sudo apt-get update && sudo apt-get -f install && sudo apt-get upgrade && sudo apt-get dist-upgrade    first of all. and make sure you don't actually have held packages getting in the way.
[20:58] <tomreyn> also, none of these commands should print warnings or errors
[21:00] <impermanence> tomreyn: none of which commands?
[21:00] <impermanence> (and thanks a lot)
[21:00] <leftyfb> impermanence: sudo apt-get update && sudo apt-get -f install && sudo apt-get upgrade && sudo apt-get dist-upgrade
[21:01] <tomreyn> impermanence: all of those i just posted
[22:23] <Maximalist> apt list --installed
[22:23] <Maximalist> whoops
[22:25] <Niklas__E> https://pastebin.com/2XRCWsJR   I thinks it might be trouble with fastcgi (need to use php7.4)
[22:26] <Niklas__E> after I screwed up the mysql I reinstalled mysql and nextcloud, but  dont work so good, now I get it very slow and it keeps hanging
[23:46] <ednash> i want to mount something manually, but want the mount directory to be automatically removed
[23:46] <ednash> will mounting in /tmp do this for me?
[23:46] <ednash> any pitfalls if i mount in /tmp/externalhdd?
[23:46] <sarnold> what does it mean for the mount directory to be automatically removed?
[23:47] <ednash> if i create a directory under /mnt, it tends to stick around unles i `rmdir` it
[23:47] <wez> Is that an issue ednash ?
[23:47] <wez> Directories don't make up much storage
[23:47] <ednash> clutter
[23:47] <ednash> it's just clutter
[23:47] <wez> take*
[23:48] <ednash> any pitfalls mounting in /tmp/subdir instead of mount?
[23:48] <ednash> instead of /mnt/ i mean
[23:48] <oerheks> manually in /media/
[23:48] <sarnold> ednash: so you just basically want the directory to go away on the next reboot?
[23:48] <wez>  /tmp has the sticky bit enabled, generally.  Shouldn't be an issue, depends what user you are doing it as
[23:48] <ednash> i mounted a bitlocker encrypted drive on /tmp/bitlocker, seemed to work
[23:49] <ogra> ednash, udisksctl mount -b /dev/sdXY
[23:49] <ednash> cool thanks
[23:49] <ogra> ednash, that will automatically mount it in /media and remove the path on unmount
[23:50] <ednash> that's cool thanks ogra
[23:50] <sarnold> ogra: oh neat