[00:01] <sarnold> ash_worksi: check the manpage, the -r description says it can't keep track of screen size
[00:01] <ash_worksi> oooh
[00:02] <ash_worksi> thanks sarnold
[00:38] <goddard> how can you install kde plasma but keep your gnome and plasma setup completely separate?
[00:39] <oerheks> install side-by-side
[00:39] <jhutchins> Rumen: That's unusual, but you're welcome to try.
[00:40] <goddard> oerheks: don't you find it always has some strange quirks that mess with the system?
[00:40] <jhutchins> oerheks: They would share $HOME.
[00:40] <jhutchins> goddard: It's not supposed to, they're supposed to be compatible.
[00:40] <oerheks> 2 separate linux installs, no clutter, no messing with sddm/gdm
[00:41] <sarnold> just unplug one hard drive and plug in the other? :)
[00:41] <oerheks> i would not share /home, but i would make a separate partition for common data
[00:44] <goddard> :D good suggestions
[00:52] <russtifer> here for the first time...now what?
[00:58] <oerheks> hi russtifer, do you have an Ubuntu support issue?
[01:01] <sarnold> russtifer: welcome :) irc works best if you stay connected for a while -- when people see you disconnect, they'll not bother answering, and quite often people don't see *reconnects*
[02:37] <Um3> Hi all. Is anybody having HTree corruptions with ext4 when activating the large_dir option on 5.x kernels? After reading https://shorturl.at/sCR19 I tried to upgrade to kernel 5.15 and now I'm not able to replicate the bug. However, I still sometimes see errors such as "EXT4-fs error (device dm-0): dx_probe:888: inode #...: block ...: comm rsync: directory leaf block found instead of index block"
[02:37] <SamuelMarks> hi
[02:37] <SamuelMarks> On Ubuntu but not Debian I'm getting: "/usr/include/string.h:33:10: fatal error: 'stddef.h' file not found". Any ideas?
[02:37] <SamuelMarks> LLVM https://github.com/SamuelMarks/type-correct/runs/4583832029?check_suite_focus=true#step:7:104
[02:41] <Um3> SamuelMarks: I believe you need to install the kernel headers: sudo apt install linux-headers-`uname -r`
[02:42] <Um3> or libgcc-dev
[02:43] <Um3> oh, just saw that you are using clang
[02:44] <Um3> I have that file in the linux-libc-dev package
[02:55] <Syzygy> I'm trying to run python code and I would like to > the output to a file, but see it in the console as well. I know there's tee, but that seems to wait until my code has finished until it displays either
[03:14] <jkc> Syzygy: try stdbuf.
[03:15] <jkc> stdbuf --output=L python3 file.py | tee output.log
[03:16] <jkc> That forces output that is line-buffered, so it'll print line by line, even through tee.
[03:28] <SamuelMarks> Um3 - yeah I made the change 1 minute before your suggestion 😅 - added libc-dev
[03:29] <SamuelMarks> I took a look at what is actually in build-essential
[03:37] <mojtaba>  Hello, does anybody know how can I add an app indicator in Gnome top bar? (basically I want to add that indicator based on the existence of a background process.)
[06:02] <pagios>  hello, is it possible / safe to install ZFS on ubuntu? is it supported out of the box
[06:06] <Bashing-om> !zfs | pagios
[07:34] <Intelo> any clue? https://pastebin.mozilla.org/Cu4WYqup
[07:44] <Guest129123> Hello, I
[07:44] <Guest129123> Hello, I'm live booting ubuntu 20.04 LTS
[07:44] <Guest129123> and
[07:45] <Guest129123> I wanted to test something by installing a package that I saw on https://packages.ubuntu.com/focal/ but it doesn't show up when searching with "apt search" after running "apt update"
[07:46] <Guest129123> why would it not show up?
[07:47] <ThinkT510> what package is it?
[07:48] <Guest129123> vim-athena, in packages.ubuntu.com it says vim is a virtual package provided by vim-athena
[07:48] <Guest129123> in case that matters
[07:50] <ThinkT510> do you have the universe and security repositories enabled?
[07:51] <Guest129123> oh I don't have the universe one, sorry my bad
[08:27] <pagios> does ubuntu 20.04 support zfs out of the box ?
[08:27] <pagios> what is your experience guys? alamlinux 8.5 doesnt like it
[08:29] <oerheks> pagios, no, zfs is available in the 21.10 installer, AFAIK
[08:29] <pagios> oerheks: i am looking for a distro with a LTS support and zfs enabled
[08:30] <oerheks> you asked that before yesterday
[08:30] <oerheks> wait for 22.04
[08:30] <oerheks> = lts
[08:32] <pagios> in 3 month
[08:32] <oerheks> yes, but don't come ask the same stuff every day
[08:32] <pagios> oakridge: anothe rother distro tht you know off that supports it ?
[08:33] <oerheks> dunno, ask in #linux?
[08:34] <ducasse> pagios: pretty sure 20.04 supports zfs
[08:35] <pagios> i am a bit concerned about it breaking after upgrading packages and such
[08:35] <ducasse> just checked my 20.04 box, it supports zfs
[08:36] <oerheks> oh indeed, i thought only the server;  'ZFS support with ZSys is still experimental'
[08:36] <ducasse> even 18.04 supports it
[08:42] <ducasse> pagios: i've been running zfs on ubuntu for years with no problems, recommend it
[08:43] <pagios> ducasse: can survive upgrades ?
[08:43] <ducasse> it's never been an issue for me
[08:48] <pagios> i am getting an exception/crash when trying to install ubuntu https://imgur.com/a/0b3OH0v
[08:51] <oerheks> installing ubuntu + zfs not bare metal, but on KVM ?
[08:59] <pagios> yes
[09:03] <oerheks> interestind idea, not sure that works
[09:07] <pagios> where can i find the DVD ISO of ubuntu 20.04 ? not the live dc
[09:07] <pagios> dc
[09:08] <oerheks> install iso is the same
[09:09] <ThinkT510> they have been dvd iso for a while now
[09:09] <oerheks> you *must* have seen 'install' or 'live' question
[09:09] <pagios> seems i am not able to install until i have internet on the box
[09:10] <oerheks> zfs on a kvm session ..
[09:10] <pagios> i f i choose ubuntu desktop ,       and make it minimal is this the same as fdownloading the ubuntu server minimal?
[09:10] <oerheks> no
[09:11] <pagios> difference being ?
[09:11] <oerheks> it just skips a lot of programs from the desktop selection
[09:11] <pagios> i just need a minimal ubuntu installation
[09:11] <pagios> why cant i use desktop version and choose minimal
[09:12] <ThinkT510> isn't there a ubuntu core version?
[09:13] <pagios> no'
[09:13] <oerheks> yes, there is a core iso
[09:14] <oerheks> https://cdimage.ubuntu.com/ubuntu-core/
[09:14] <oerheks> https://ubuntu.com/core/docs/uc20/install
[09:21] <funabashi> Hi guys, can anyone be nice and help me and recommend a guide for unattended ubuntu installation ?
[09:25] <oerheks> funabashi, for what ubuntu version, and server or desktop?
[09:27] <oerheks> server supports autoinstall
[09:29] <Intelo> in yt-dlp or youtube-dl how can I download/ use timestamps and video partitions that the youtuber had already done to categorize the video parts?
[09:30]  * oerheks ignoring crossposters
[09:33] <funabashi> oerheks: yeah server edition
[09:33] <oerheks> https://ubuntu.com/server/docs/install/autoinstall -- https://ubuntu.com/server/docs/install/autoinstall-quickstart
[09:33] <oerheks> get the server live-iso and read the docs
[09:34] <funabashi> oerheks: thanks
[10:07] <pagios> how can i add the equiv to ip address add 203.0.113.40/32 dev eth0  in netplan config file ?
[10:08] <pagios> and this : ip route add 10.0.0.2 dev eth0
[10:10] <pagios> my main question is how can i specify DEV in netplan config
[10:12] <GuiToris> hello, I don't know how many of you uses ubuntu virtually, but I don't understand why I have to reboot it every time if I'd like to start ubuntu. If I just start it, it won't boot, I have to wait then restart it again... annoying
[10:13] <GuiToris> other OSes don't do this
[10:14] <nicoz-> GuiToris what do you use to virtualize?
[10:14] <GuiToris> oh, sorry, I didn't mention it, virtualbox
[10:15] <nicoz-> I virtualize with Qemu or Boxes and I don't have these problems
[10:15] <GuiToris> I have archlinux and fedora and they don't do this either :/
[10:15] <GuiToris> I think the previous release of ubuntu does the very same thing
[10:16] <nicoz-> virtualbox is a bit problematic I admit it ...
[10:16] <nicoz-> use another virtualizer
[10:16] <GuiToris> I'll look around, thank you for helping :)
[10:16] <nicoz-> ;)
[10:17] <nicoz-> use KVM
[10:18] <GuiToris> VT-x/AMD-V, Nested Paging, PAE/NX, KVM Paravirtualization, whatever they mean
[10:19] <GuiToris> I haven't figured out what could be different for the second time
[10:20] <GuiToris> the screen is usually black, I don't see the plymouth either
[10:20] <GuiToris> and it's not responsive
[11:02] <farkaan> I pulled this 1TB hdd out of an old desktop and gnome-disks reports there's "88 bad sectors" on it. Is it bad? It does say "Disk is OK, 88 bad sectors" and I can access the contents
[11:05] <oerheks> 88 bad dectors .. usually bad sectors grow ..
[11:05] <oerheks> ( in my experience)
[11:07] <farkaan> I can't read the SMART tests but they seem 'OK'
[11:08] <farkaan> But yeah, probably time to replace the thing (it doesn't belong to me but I'll recommend the owner to replace the drive)
[11:10] <VIA> Hi all ! I didnt  install "Pidgin" on my system, ow in the fact didd it end up there and wh is it running??
[11:10] <VIA> ok, to be fair might have been with a copypasted line to intall some or other tool.
[11:11] <VIA> i usually go through my installls tho. how to i get rid of/purge thi "Pidgin" ASAP ?
[11:13] <farkaan> VIA: `apt rdepends pidgin` will tell you about all the stuff that needs the package
[11:15] <oerheks> !info pidgin
[11:15] <oerheks> optional; so you installed it yourself. there is no other software that pulls in pidgin, so ...
[11:16] <benni> How to see the applied settings from files in /etc/apt/apt.conf.d ?
[11:17] <benni> (I have some settings for unattended upgrades in /etc/apt/apt.conf.d/99custom and now i want so see if theyre get applied)
[11:17] <VIA> ty farkaan
[11:18] <VIA> dont recognize anything i use or need
[11:18] <VIA> how to i get rid of it?
[11:19] <oerheks> VIA,  normally you can do that through software center?
[11:19] <farkaan> VIA: `apt purge pidgin --auto-remove`
[11:20] <VIA> farkaan:  .. oerheks  this is the output o farkaanS command https://pastebin.com/8SxBNA8P
[11:21] <VIA> i reall dont see why i have this Cancer running on my system alll of a sudden
[11:21] <VIA> suspexct it might have something to do which is cancer in itself
[11:21] <oerheks> keep this channel family friendly, thanks
[11:21] <farkaan> Seconded
[11:21]  * oerheks ignores VIA, knowing he is a long time ubuntu user
[11:23] <VIA> i could kill 3 instances that seemed to to be related wo pidgin, bu i stilll the the ugly symbol in the upper right corner. also there no option to close or quit.
[11:24] <VIA> how this this application end up on my system?
[11:24] <farkaan> VIA: Purge then logout and log back in. Check ~/.config/autostart
[11:24] <VIA> oerheks: who is a longterm ubuntu user?
[11:24] <VIA> im using linux for about 1 yr now
[11:24] <VIA> thxalot farkan will try and report back
[11:25] <farkaan> VIA Are you on xubuntu or Linux mint?
[11:26] <VIA> a different distro
[11:26] <VIA> but this symbol didnt appear before yesterday.
[11:26] <VIA> yesterday i treied to run a game on steam with "proton experimental" and other proton versions (unsucccesfully ... )
[11:27] <farkaan> Curious
[11:27] <VIA> indeed
[11:27] <oerheks> farkaan, we support only ubuntu, you don't have to answer
[11:27] <Maik> VIA: what distro are you running? Know that only Ubuntu and official flavors are supported here
[11:28] <oerheks> certainly not with such language
[11:28] <farkaan> I'm guessing some Debian derivative since apt works
[11:28] <VIA> i wasnt aware of that, i thought since ubuntu is ubuntu,. and most ubuntu distros keep the core of it its all the same
[11:28] <Maik> VIA: Which distro are you using....
[11:29] <VIA> the channel my of my specific disctro was so rude, i never returned. autistic, selfish, entitled people who think theyre smarter than other person on this planet ..
[11:29] <Maik> that doesn't answer my question VIA
[11:30] <farkaan> VIA: `cat /proc/version`
[11:30] <pagios> hi what is the equiv of "ip route add 10.0.0.2 dev eth0"  in netplan
[11:30] <pagios> i cant find it
[11:30] <Maik> please don't fool around and just answer VIA
[11:31] <VIA> " oerheks | farkaan, we support only ubuntu, you don't have to answer                 " ... are you tryug to be extra rude/offend me oerheks ?
[11:31] <VIA> i had a question, and farkan was a nice person who tried to help me
[11:31] <VIA> i appreciate nice people
[11:31] <Maik> VIA: mind telling which distro you use, thanks in advance or otherwise move over to #linux
[11:32] <VIA> Maik: you did not hekp me with anything or answer my question, why do you demand i answer yours?
[11:32] <oerheks> pagios, "ip link" shows the network adapter names, eth0 is the old way
[11:32] <farkaan> VIA: Probably best to move to #linux
[11:32] <pagios> oerheks: yea but my issue is in the syntax of how to map that to netplan
[11:32] <oerheks> most likely enp1s0 or something like that
[11:32] <Maik> because other ubuntu based distro's are NOT supported here VIA, THAT's why i asked you 3 to 4 times kindly
[11:33] <Maik> don't be so stubborn
[11:33] <VIA> noted. #linux might be a good channel. somehow i never look for any channel, people just poiont them out for me, rarely do i join a specific one because i need very specific help
[11:33] <Maik> good luck then
[11:33] <oerheks> !netplan
[11:34] <oerheks> that netplan page gives examples
[11:34] <VIA> you could have told me that other distros are not supporterd in your very first sentence, ionstead you decided "to ask me for it 4 times ..." this keeps getting better and beter
[11:34] <Maik> VIA: i did
[11:34] <oerheks> https://netplan.io/reference/#examples
[11:34] <Maik> learn to read
[11:34] <farkaan> > "#ubuntu supports Ubuntu and official flavors; versions 18.04, 20.04, 21.04, 21.10 | Unofficial derivatives: use your distro's support channel, not here"
[11:34] <oerheks> VIA you could read that in the topic.
[11:35] <oerheks> enough time wasted
[11:35] <Maik> and it's in the channel topic ^^
[11:35] <farkaan> Ubuntu budgie is an official flavor innit?
[11:35] <VIA> ah IC now im in the wrong you did Maik. apologies for that
[11:35] <Maik> np
[11:36] <Maik> farkaan: https://ubuntu.com/download/flavours
[11:36] <Maik> that are the official flavors
[11:37] <VIA> "what an ubuntu-official-flavour" extremely often i make the experience that you linux/freenode/ppl that never see anything else but their monitors r very entitled, claim theyre always in the right, think theyre the smartest persons on this panet and theyre just better humans overall. thats why i usually stick to ask qquestionsm sideways. same way i approach doactors now
[11:38] <Maik> !discuss | VIA
[11:38] <VIA> this wasnt meant to be an offfense just a general observation i made over and over sice i joined freenode in 2018 i think
[11:39] <VIA> i just asked a question, i thought this was the best place to ask.
[11:39] <oerheks> now type /quit
[11:39] <Maik> VIA:  enough for now, no need to continue about it
[11:39] <VIA> sry for my wrong doings you allmighty gods. (thxalot tho to the nice ones out there <3) x*
[11:39] <farkaan> VIA It's alright but you can't blame #ubuntu users for freenode assholery, #ubuntu is one of the nicest irc communities in my experience
[11:39] <Maik> sigh....
[11:39] <mjt> oerheks: civility please
[11:40] <Maik> farkaan: if you guys want to discuss it further please move over to #ubuntu-discuss
[11:41] <VIA> ty for the referece again, but i didnt try try or discuss anything about "Ubuntu" this was a commentary/my perception on this very channel, nothig else
[11:41] <VIA> im outtties now thx again to the nice ones xoxo
[11:41] <Maik> VIA: we asked you to move over to -discuss
[11:44] <farkaan> Is there a way to find the difference between two very similar tarballs without extracting them?
[11:45] <ravage> pax -v <(archive1.tar) <(archive2.tar)
[11:45] <ravage> or mount them with avfs for example and do a diff
[11:45] <farkaan> ravage thanks
[11:47] <ravage> google also found https://github.com/maksverver/tardiff
[11:47] <ravage> looks like what you want
[11:57] <farkaan> Is deja dup still the best GUI backup tool (I'm talking "regular" people that don't want to use the terminal here)?
[12:00] <oerheks> there is no single best, but yes; it is pretty neat
[12:00] <oerheks> and standard installed
[12:05] <pagios> guys anyone can help me mapping https://docs.hetzner.com/robot/dedicated-server/ip/additional-ip-adresses/#:~:text=ip%20route%20add%2010.0.0.2%20dev%20eth0%0Aip%20route%20add%20default%20via%2010.0.0.2 to netplan ?
[12:05] <pagios> i am not sure what config to put
[12:16] <linuxlotus> hi
[12:21] <Aarch64debian> !arp-scan
[12:22] <Aarch64debian> !info arp-scan
[12:28] <Aarch64debian> root@localhost:~# arp-scan
[12:29] <Aarch64debian> my_lookupdev: bond0: SIOCETHTOOL(ETHTOOL_GLINK) ioctl failed: Permission denied
[12:47] <nikolam> My connections on 21.10 are keeping disconnecting and stay disconnected and then connect after a while. This is a new behavior
[13:16] <nikolam> all connections keep disconnecting and I have 2 lans
[13:17] <lotuspsychje> !details | nikolam and logs please
[13:52] <BluesKaj> Hi folks
[14:04] <farkaan> is a swap partition (logical or physical) faster than a swapfile?
[14:05] <cbreak> if you care about performance, why use swap at all?
[14:06] <farkaan> Well swap is still important because of disk caching
[14:06] <farkaan> https://chrisdown.name/2018/01/02/in-defence-of-swap.html
[14:07] <farkaan> I got 1gb of swap across all my machines for this reason
[14:08] <farkaan> But I always use a partition (or lvm) except on ubuntu because swap files are the default
[14:10] <cbreak> when I set up my ubuntu system, it created a swap partition
[14:10] <cbreak> this seems to be the default, when using zfs root
[14:10] <cbreak> (because having swap files on a zfs dataset would be very dumb)
[14:11] <farkaan> I dunno, I haven't installed in a long time
[14:11] <farkaan> But i do have a swapfile
[14:11] <farkaan> And not a partition on ubuntu budgie 20.04
[14:14] <farkaan> On serverfault there's some old discussion from 2011 that primarily talks about kernel version 2.6 so I'm not sure if it's applicable anymore
[14:18] <jkc> farkaan: There is no functional difference between a swap file and a swap partition. They're directly mapped to disk locations in both cases.
[14:18] <farkaan> Yeah that's what I figured
[14:19] <jkc> cbreak: a swap file can in many cases improve performance, not hinder it. The performance problem comes in when people act like swap is extra ram, which it isn't.
[14:19] <farkaan> `swapon` will refuse to work with a sparse file so it's a non issue
[14:19] <farkaan> Swapping to a SSD is even better and doesn't 'kill' the disk
[14:20] <farkaan> jkc: People see used up swap even at <60% memory usage and assume that their system is running at subpar performance because it's using the disk as RAM which isn't exactly the case
[14:22] <farkaan> Swap only causes problems when you go OOM (thrashing)
[14:23] <Maik> cbreak: ubuntu, since 18.04, creates a swapfile not a swap partition
[14:23] <farkaan> huh so that's why
[14:24] <jkc> I prefer swap files. Way easier to manage. As long as, of course, its configured properly for the underlying filesystem.
[14:30] <cbreak> Maik: not with zfs
[14:31] <cbreak> at least not with 20.10, which is what I installed with (I think... could have been 21.04)
[14:32] <cbreak> I still have remnant swap partitions from then, which I since stopped using
[14:33] <Maik> i see
[14:33] <cbreak> (since I use encryption, and the swap partition seem to be used without any indication of encryption, although it can very well be that linux itself encrypts the data before swapping it out)
[14:34] <jkc> cbreak: Most likely, its a logical volume, and the physical volume that provides storage for the volume group is encrypted.
[14:36] <cbreak> that's not how it looked like in userland. It was just a partition directly visible / used via swapon / fstab
[14:38] <cbreak> what I was hoping for was that linux itself just encrypts the data before swapping, transparently, without relying on something like lvm / dm-crypt / luks
[14:39] <cbreak> but I'm not that experienced with linux, so I don't know if it does that. Ubuntu's old default setup doesn't set up any encryption I can spot.
[14:44] <impermanence> I have snap running amazon-ssm-agent (which is never used really) and the /dev/loop partitions related to it are full and only like 50MB and alerting.  Is there a way I can safely purge these?
[14:47] <leftyfb> impermanence: define "alerting". The snap mounts are supposed to be at 100% at all times. There is no problem other than your alerting on something that shouldn't be monitored
[14:48] <impermanence> leftyfb: ha, okay.  alerting in datadog.
[14:48] <leftyfb> impermanence: configure it to ignore loop mounts
[14:48] <impermanence> yeppers.  thanks.  would not have known the 100% thing!
[14:49] <leftyfb> impermanence: more accurately, loop mounts that are squashfs
[15:00] <impermanence> ah, okay.
[15:00] <impermanence> what does that mean though?
[15:38] <hejux> we have systemd-networkd and networkmanager, tell me, why the heck do we need netplan? wtf is this piece of sh**y
[15:39] <hejux> it took me 1 hour to figure out WHO configured my ethernet dhcp
[15:42] <prawat> Hi All, I want to assemble the custom iso image with all my deb packages and some customization in the installation process(configurator). I know  preceed and autoinstall way for making iso installation hand free. but I am looking for a way to build iso from scratch. Could anyone please share some idea how I can achieve this?
[15:46] <hejux> prawat: install ubuntu to a VM, install needed software, configure the all the needed shit. tar the whole '/' , untar to a new server
[15:48] <hejux> much better than ISO.
[15:49] <hejux> you can then use any ISO... to boot and extract your tarball with TAR to the new hardware... you can have some startup services to do some init job.
[15:50] <hejux> not wat you're looking for, but just a suggestion
[15:54] <Auprivave2> any hackers here?
[15:56] <jkc> Auprivave2: That's not a great way to start. Might want to just ask your question.
[15:58] <Auprivave2> jkc: sorry. see what you mean :D well.. library computers running Ubuntu 16.04. Wifi is on for no reason, and ethernet cable exposed. I have terminal access. home folder gets overwritten after each login. If there a way in?
[15:58] <jkc> So you're asking for help in breaking into a system that you don't own.
[15:58] <Auprivave2> There is a bit hole behind the computer where the ethernet cable (that is not locked in place) goes down.
[15:59] <Auprivave2> im asking for help to figure out is its possible. so intentions are to help.
[15:59] <jkc> Intentions don't make it unethical.
[15:59] <jkc> That's a double negative.
[16:00] <Auprivave2> jkc: :D
[16:00] <jkc> Intentions don't make the activity ethical.
[16:00] <jkc> You're trying to break into a system you don't own. Even if you want to help, it's unethical and may even be illegal depending on where you are.
[16:00] <Auprivave2> jkc: last time these machines got hacked, private people lost millions in total. Management wont lift a finger before its either way too late, or the press is on to them.
[16:01] <jkc> My answer is not going to change no matter how to try to rationalize it.
[16:01] <jkc> s/how to try/how you try/
[16:01] <jkc> I cannot type today.
[16:02] <Auprivave2> that can evolve into an entire new language
[16:02] <jkc> Also, I don't believe you. "library computers" don't handle millions of dollars.
[16:02] <jkc> So you need to reconsider how you're trying to address the issue.
[16:02] <Auprivave2> jkc: scandal was very real. keyloggers planted at libraries.
[16:03] <jkc> Sure, Jan. Asking for help with illegal activity is off-topic for this channel and the whole Libera network.
[16:03] <Auprivave2> stealing people digital ID that way, emptying accounts and taking loans.
[16:03] <prawat> @hejux: Thanks for suggestion, I have already build system for CentOS where we are creating the customized iso with our rpm files. Now, the whole set of things need to move to ubuntu. The output should be iso image which can be install on the bare metal servers.
[16:04] <Auprivave2> well.. its a Ubuntu question really. They are running a very old version. I have terminal access. but cant find a way to elevate the user.
[16:04] <jkc> !ops
[16:04] <Auprivave2> jkc: not illegal activity. okay. thanks. I will try arch chan.
[16:05] <Maik> Auprivave2: they won't help you either
[16:05] <prawat> @hejux : Any reference git or blog will be more helpfull
[16:05] <Auprivave2> Maik: thanks Maik
[16:06] <Auprivave2> I will try the WinXP chan then
[16:06] <Maik> Auprivave2: stop trolling
[16:06] <Auprivave2> Maik: that was not trolling
[16:07] <Maik> you are at the moment, if you don't have a ubuntu support question then move on
[16:07] <Auprivave2> Maik: this is your chan?
[16:07] <Maik> Auprivave2: cut it
[16:08] <Auprivave2> So you are OP, and you dont think a question concerning Ubuntu 16.04 security on library computers is relevant?
[16:08] <Maik> !ops | Auprivave2
[16:08] <Auprivave2> fair enough
[16:08] <Auprivave2> oh. so you are not OP. you just want to hunt me down.
[16:09] <Auprivave2> Merry xmas Maik
[16:09] <Maik> sigh...
[16:09] <Auprivave2> bye
[16:09] <Maik> finally
[16:09] <hejux> prawat: do not use UBUNTU as server
[16:10] <jkc> prawat: Ignore that advice entirely.
[16:10] <jkc> Ubuntu is a great server platform.
[16:10] <hejux> if you are from CentOS, then, go direct to Almalinux
[16:11] <jkc> hejux: Or let people make their own platform decisions. And I'm #almalinux staff.
[16:11] <hejux> prawat: with one command, your centOS can be switched to Almalinux
[16:12] <hejux> jkc: i don't think he knows Alma.
[16:12] <hejux> so, i basically opened a door to him
[16:13] <jkc> hejux: Seriously, ubuntu is a really good server platform. Going into #ubuntu to try to chase people away from Ubuntu to Alma doesn't make Alma look good as a community.
[16:13] <prawat> @hejux : I can't move to Almalinux, decision has been made for ubuntu.... also all the rpms are converted in deb
[16:13] <jkc> Alma is a great option, obviously, but its not the answer for everyone or every use case.
[16:14] <prawat> I need to just incorprate those deb packages to the ubuntu server
[16:14] <hejux> jkc: well, he mentioned CentOS, therefor i suggest Alma. that's all.
[16:14] <jkc> NO option is the answer for everyone or every use case.
[16:14] <prawat> I was trying this https://github.com/mvallim/live-custom-ubuntu-from-scratch
[16:15] <prawat> but didn't get success
[16:15] <jkc> hejux: He actually said that everything needed to move to Ubuntu. And you joined this channel and immediately started complaining about netplan - which is also a great tool.
[16:16] <jkc> hejux: So I don't know what you're really trying to achieve here except for being inflammatory.
[16:17] <hejux> jkc: a great tool? it is a ..., it does nothing but pass the parameters to systemd-networkd or networkmanager
[16:17] <jkc> And?
[16:17] <jkc> It's a great tool.
[16:17] <jkc> cat isn't exactly complex, but its also very helpful.
[16:18] <hejux> a great tool of what? the expreriece on netplan stays on ubuntu. it is useless if you use REDHAT or DEBIAN
[16:19] <jkc> A great tool to do literally what it says on the tin. And you're kind of wrong, here. https://packages.debian.org/bullseye/netplan.io Arch also has netplan.
[16:20] <jkc> Building netplan for RHEL-alikes is easy, they have an RPM spec for it.
[16:20] <hejux> jkc: so, you spend hours, days, to learn the syntax of netplan, and then it only works on ubuntu... while i spend days hours on systemd-networkd, it works everywhere...
[16:20] <Maik> if you don't have any further ubuntu support questions and just want to discuss thing then please join #ubuntu-discuss hejux
[16:20] <jkc> hejux: Takes about two minutes to figure out netplan.
[16:21] <jkc> hejux: And it greatly simplifies a lot of the more complicated networkd setups. if all you want to do here is start arguments, you're starting with bad intentions and doing a bad job.
[16:21] <jkc> And, for me, netplan works everywhere. :)
[16:21] <jkc> hejux: A lack of expertise on your part doesn't translate to a tool being a bad tool.
[16:22] <hejux> yeah, i have to agree that i did not know netplan before i search google 'how to configure network on ubuntu'
[16:32] <Guest83> just installed ubuntu 20.04 on old iMac. brand new installation, not experienced. sound isn't working and wondering if someone could help.
[16:36] <tomreyn> !sound | Guest83: some of this is dated, but have a look
[16:37] <tomreyn> Running the "alsa-info" script is certainly a good idea to get started. (I won't personally be able to help there, though.)
[16:37] <Guest83> tomreyn: thanks trying that
[16:37] <tomreyn> "iMac" sounds *really* old - isn't this from the 68k era?
[16:39] <jkc> No. There are plenty of Intel iMacs.
[16:39] <jkc> Including even the latest ones.
[16:39] <Guest83> model name    : Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz
[16:40] <tomreyn> okay, i just noticed this name is still used. it makes me think of those light colored all-in-one computers from a good while ago.
[16:40] <Guest83> no, it's not too old
[16:40] <tomreyn> right, right, sorry.
[16:44] <jkc> tomreyn: eMac!
[16:48] <ioria> Guest83, is the card recognized ?  lspci -nnk | nc termbin.com 9999
[16:49] <Guest83> $ lspci -nnk | nc termbin.com 9999
[16:49] <Guest83> https://termbin.com/68pu
[16:51] <prawat> @hejux : do you have any reference what you suggested ??
[16:51] <eelstrebor> i wish the ubuntu hcl included lower cost laptops - not just the ones $1000+
[16:52] <Guest83> ioria: I don't know what it would look like for the card not to be recognized, but the system does seem to know what it's dealing with. (I'm not a device/systems person so please bear with me)
[16:53] <ioria> Guest83, yes , they are ; how are the speakers connected ? external or built-in  ?
[16:53] <Guest83> built-in
[16:53] <ioria> Guest83, in the monitor , for example
[16:54] <ioria> ok
[16:54] <Guest83> it's an iMac all-in-one, the monitor is not separate. all housed together.
[16:54] <ioria> sure
[16:56] <ioria> Guest83, i suggest you install pavucontrol : sudo apt update && sudo apt install pavucontrol
[16:56] <Guest83> already have it
[16:57] <ioria> Guest83, what you see in Output Devices ?
[16:57] <Guest83> dropdown: Speakers, Headphones
[16:58] <Guest83> controls grayed out (?)
[16:59] <ioria> Guest83, run from terminal 'alsamixer'
[16:59] <prawat> @jkc: Do you have any suggestion for my quarry??
[16:59] <Guest83> ok
[16:59] <Guest83> running
[17:00] <Guest83> it took over terminal; not sure what I'm looking for
[17:00] <jhutchins> !alsa
[17:00] <ioria> Guest83, what about Master ? is '00' or 'MM' ?
[17:01] <Guest83> ioria: I don't see Master, just "PCM" and "Internal Mic Boost"
[17:01] <ioria> Guest83, that's all ? you can scroll horizontally with arrow keys
[17:02] <Guest83> yes, just those two
[17:02] <ioria> not good
[17:02] <ioria> Guest83, press 'F6'
[17:02] <jhutchins> Guest83: You may see more than one sound device, including something for PulseAudio.
[17:03] <Guest83> ioria: F6 pops up Sound Card menu, showing
[17:03] <Guest83> - (default) 0 HDA Intel PCH 1 HDA ATI HDMI
[17:03] <jhutchins> Wow, 1,290,000 hits for "linux imac sound".
[17:04] <ioria> Guest83, is 'default' selected ?
[17:04] <Guest83> yes
[17:04] <Guest83> it also says "HDA Intel PCH" in upper right
[17:04] <Guest83> upper left sorry
[17:05] <ioria> Guest83,  dmesg | nc termbin.com 9999
[17:06] <Guest83> https://termbin.com/8y1j
[17:07] <ioria> snd_hda_codec_cirrus: probe of hdaudioC0D0 failed with error -22
[17:08] <ioria> snd_hda_codec_cirrus hdaudioC0D0: VID=00008086, DEV=00007270 not supported
[17:11] <ioria> Guest83,  not an audio guru, but your chipset might not be supported and you need additional (external) driver :  https://answers.launchpad.net/ubuntu/+source/alsa-driver/+question/698837
[17:11] <ioria> Guest83,  down the page (comment #2) there are the instructions
[17:12] <Guest83> ioria: ok, thanks, I see that in comment 2. thank you very much!!!
[17:12] <ioria> Guest83,  this is better (but the same) : https://github.com/davidjo/snd_hda_macbookpro
[17:13] <Guest83> ioria: terrific I will try that thanks again!
[17:13] <ioria> ok, good luck
[17:14] <ioria> afk
[17:22] <ash_worksi> sometimes I get notifications that hang down from my clock. Is there a way to dismiss (or otherwise interact with) those without using my mouse? :)
[17:31] <ash_worksi> found it, by default `Super+N,ESC`
[18:22] <jhutchins> Has anyone ever seen a keyboard with a key labeled "Super"?
[18:33] <rfm> jhutchins, yes, it was on a Lisp Machine, probably 1988 or so
[18:34] <cbreak> jhutchins: I've seen one labeled "hack" https://www.extremetech.com/wp-content/uploads/2016/12/MD-26055_20160823140932_ea396a26bf42b12c.jpg :)
[18:35] <cbreak> ah, here's a super key: https://external-preview.redd.it/aOQmrydGQd0j_0ljSAjOsu9fzQm012gkSgdI2X5w6gM.jpg?auto=webp&s=f3ac99800f85e82750f19546f8130f17aabc8ec0
[18:35] <Maik> i'd say it's offtopic...
[19:17] <rwinner> Hi, I'm trying to install the build-essential package and I'm getting this error. All updates and upgrades have been done. https://pastebin.com/LmD32pn0
[19:32] <cbreak> are you on some prehistoric ubuntu?
[19:32] <skitto> Hello.
[19:33] <cbreak> rwinner: this is probably not the correct solution, but you could try to install libc6-dev yourself and see what the error for that is
[19:34] <skitto> Issue: lowlatency Bionic kernel was hung up by a (live, active connection) USB peripheral being suddenly unplugged
[19:34] <cbreak> same for g++. Probably will take some chaining.
[19:34] <skitto> Effect: boot hangs at loading usb states
[19:36] <rwinner> cbreak: OK, thanks. Will try that.
[19:41] <rwinner> Hi, I'm having an issue with installing build-essential. I get an error whenever trying to install unmet dependencies. Anyone know a way out of this? https://pastebin.com/HjmELtPQ
[19:49] <rwinner> Looks like this is the solution. Going to try it out now... https://www.mexchip.com/en/2021/09/unable-to-install-build-essential-package-on-ubuntu-20-04/
[20:00] <rwinner> I don't want to take the chance, it says it's going to remove a couple of packages if I downgrade. I'll wait for a bug fix, because it's obvious from searching the web that this is a bug.
[20:14] <rfm> rwinner, this goes back to May when a bad version of libc6 (2.31-0ubuntu9.2) was released and then backed out.  see https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1926918
[20:15] <rfm> rwinner, so if you happened to upgrade while the bad version was there you get this mess.
[20:15] <rfm> rwinner, since nobody seems to have done anything about it in 7 months, you could be waiting a long time for the fix.
[20:17] <ayla> how to stop snapd from installing automatically when installing unrelated packages with apt?
[20:18] <SantaCoz_> ayla,  not sure but try  --exclude  when updating in terminal
[20:18] <SantaCoz_> --exclude (name of package(s)
[20:19] <ayla> I tried to apt-mark hold snapd but after rebooting it seems not to hold snapd anymore for some reason
[20:24] <rwinner> rfm, ah...OK, thanks. I'll wait a little longer. So far it's just build-essential that seems to trigger it. Thanks!
[20:26] <rfm> rwinner, if you look at comment #15 in that bug it has an awk script for downgrading all (and only) the bogus libc6 packages, which is much less scary than uninstalling dependencies...
[20:27] <rwinner> rfm, ah thanks. I'm going to have a look at the bug report. I appreciate your help.
[20:46] <i7ch> hey guys. anyone here on 20.04 (5.11.0-43-generic) having issues with suspend to ram? issues, as in suspend not working at all?
[20:55] <rfm> i7ch, assuming you're asking because you are having such problems, the first thing I'd do is check for a BIOS update for the system
[20:56] <i7ch> @rfm: I did that. updating to latest stable BIOS version did not solve the issue.
[20:57] <i7ch> also, I triple check that s2m is  enabled in BIOS. also checked kernel has the correct config (CONFIG_SUSPEND=y)
[20:57] <i7ch> *s2r
[20:58] <rfm> i7ch, check syslog for messages around the suspend attempt.
[21:00] <rfm> i7ch, it may be a particular device not suspending right, unfortunately tracking that down would involve disconnecting and disabling as much as you can, and see if that helps
[21:00] <i7ch> did that too. nothing relevant. i only get 4 lines of logs, all relating to ether link down / link up
[21:00] <jkc> ayla: If it's trying to install snapd, then its not unrelated. Not sure how it would be related, since I don't know what package you're working with.
[21:01] <rfm> i7ch, one problem being is the most likely suspect is the display adapter which is kinda hard to disable (unless it's a desktop and you have a different one around to swap in)
[21:02] <i7ch> yeah, that would be hard to do as I don't have another GPU
[21:04] <rfm> i7ch, is it nVidia by any chance?  Lots of people seem to be having trouble with those lately.
[21:05] <rfm> i7ch, has suspend ever worked on this system, and only stopped working fairly recently?
[21:05] <i7ch> @rfm: yes, yes it is. now .. that you mention it, this starting happening after some nvidia proprietary driver update ...
[21:06] <ayla> jkc: chromium for example. apt install chromium installs a snap.
[21:07] <i7ch> yes, it worked fine for as long as I remember. also, works from window 10 which kinda tells me that is somehow related to my linux / kerner and not BIOS / hw issues
[21:07] <jkc> ayla: I knew that was going to be the example. Due to INFAMOUS difficulties packaging Chrome in such a way that allows for timely updates, Ubuntu is migrating Chrome to the snap version.
[21:07] <jkc> So when you try to install chromium-browser, it directs to a snap install.
[21:07] <jkc> https://packages.ubuntu.com/focal/chromium-browser
[21:08] <jkc> ayla: In this case, timely updates includes security updates.
[21:08] <rfm> i7ch, I suppose you could try downgrading the driver, or even swapping to nouveau to see if it changes
[21:10] <i7ch> yup. Imma try just that. this is driving me nuts already. though using nouveau is not really an option long term :(
[21:10] <i7ch> @rfm: thank you for the assistance o/
[21:28] <i7ch> @rfm: well, apparently the issue fixed "itself" as magically as it appeared. switch to nouveau driver (was not working) but switching back to nvidia-470 (closed source) and now it just frackin' works
[21:29] <rfm> i7ch, it's possible reinstalling the -470 forced it to re-update the firmware on the card or some such (i.e. the original install failed silently)
[21:30] <rfm> i7ch, but at least we figured out what spot to kick it...
[21:30] <i7ch> ¯\_(ツ)_/¯
[21:30] <i7ch> until next time :)
[21:30] <i7ch> but yeah, me happy now. and thanks again for suggesting to reinstall drivers
[21:33] <Kuleshov> https://www.youtube.com/watch?v=SLxrrE6wC5I Jeanette - Porque te vas
[21:54] <bobdobbs> I'm not 100% clear on some stuff around security. I want to put a binary in /usr/local/bin. I want all system users to be able to run it. Who should own the file?
[22:00] <EriC^^> bobdobbs: root
[22:00] <bobdobbs> hmmm
[22:01] <EriC^^> if someone else were to own it, they could modify it and compromise everyone
[22:02] <bobdobbs> ah, I see
[22:02] <bobdobbs> So the file should be owned by root, writable only be root, and runnable by anyone?
[22:03] <bobdobbs> *only by
[22:03] <EriC^^> correct, you want it read+execute by all
[22:03] <jkc> bobdobbs: owned by root:root (user:group), with rwx for root, rx for group, rx for others.
[22:04] <bobdobbs> thanks
[22:04] <EriC^^> no problem
[22:04] <bobdobbs> I've been using linux since forever. But some of the basics still trip me up
[22:12] <derek_> hello
[22:17] <derek_> im trying to save an .img of an sd card the sdcard is 57.7 GB i use the following command "sudo dd if=/dev/sdb of=~/backup.img" and ive tried "bs=1024" and "bs=1M" and a few other variations of bs. DD starts writing the image and i can see the sd card reader working. but after a few minutes the "working" light on the sd card reader just goes solid red and my computer becomes non responsive. the only way to "un-freeze" my computer is
[22:17] <derek_>  by pulling the card reader out and hitting the hardware reset button. Im using a desktop computer with ubuntu 20.04. the image does write..... but the resulting .img is only 20.7 gb everytime. ive tried 11 different sd cards and two different card readers
[22:22] <jkc> derek_: Is there an underlying reason to why you're trying to back up the SD card via an image like that?
[22:23] <derek_> jkc: its a micro sd card used in a pi. i spend a few dozen hours setting up the os on the pi and i wanted to make a backup
[22:23] <jhutchins> derek_: Sounds like you have a corrupt SD.
[22:23] <derek_> i thought that too
[22:23] <derek_> but it does the same on a brand new sd card. i tried many
[22:24] <derek_> jkc : if theres a better way to do sd card backups id love to know
[22:25] <jkc> I don't treat my RPis any differently than I treat other systems. I back up the system from within the system using a proper backup utility, e.g. borg.
[22:26] <derek_> its not running raspian
[22:26] <derek_> its running retropie on a handheld
[22:26] <derek_> im giving several out to friends and family for christmas
[22:27] <derek_> and id like to have a backup on my computer so when they break things
[22:28] <derek_> when i search "backup an sd card in ubuntu" almost every page i find refers to dd
[22:29] <jkc> I just rsync everything in /home/pi to backup storage.
[22:30] <derek_> but that doesnt save all of my configuration and partition data
[22:32] <jkc> Suggest you actually look in /home/pi. Second, partition data doesn't matter. Image new SD card with RetroPie, rsync /home/pi back, restart.
[22:33] <derek_> what am i looking for?
[22:37] <oerheks> i would use sudo dd bs=4M if=~/backup.img of=/dev/sdb && sync  # but your command should be oke
[22:38] <sarnold> are we writing to or reading from the sd card?
[22:39] <derek_> we are reading from the sd card and writing the image to my ssd on my desktop
[22:52] <jhutchins> derek_: How long have you left the system in the "locked" condition?
[22:56] <derek_> i watched it work until it "locked" and then left the house for 5 hours this morning. it was locked when i came back (64gb ram intel I5 6 core processor at 2.6ghz per core
[22:56] <derek_> it was locked when i came home exactly where i left it
[22:57] <derek_> also it should be noted that etcher and the raspian sd card flasher both work great, but niether have a backup option
[23:22] <sem> hey I installed lubuntu on an old pc and I am having some crashes. I think I found the relevant part of syslog (only place I know to look), can you take a look? https://pastebin.ubuntu.com/p/gHhsfRbRPY/
[23:29] <ravage> make sure its not a hardware defect first. change cables, try another drive if possible
[23:30] <sem> it only started happening after I changed the CPU
[23:30] <skitto> Ubuntu 18.04 low-latencyMusic production computer Crashed when peripheral was unplugged hot, an
[23:30] <skitto> &now hangs forever, booting
[23:30] <ravage> so it is totally possible that you messed up some cables doing that
[23:31] <skitto> Perdon me
[23:31] <sarnold> I wonder, there's a 2007 bios date in there.. just how old was the old cpu? I wodner if a cpu that old could enforce NX permissions or not
[23:32] <sem> It is from 2007: AMD Athlon64 X2
[23:33] <sem> the "new" cpu is just the faster clockspeed version because the old one was getting really slow
[23:33] <sem> pretty good that lubuntu is pretty snappy on this :) just would be nice if it didn't crash
[23:35] <sarnold> ah, some random benchmarking website said it has an NX bit. well, that makes sense, these logs also say that :)
[23:36] <sem> there was a thing in the dmesg that said that if timing was an issue there was something you could do
[23:36] <sem> let me look
[23:36] <sem> >Nvidia board detected. Ignoring ACPI timer override. If you got timer trouble try acpi_use_timer_override
[23:37] <sem> Is that related?
[23:37] <sarnold> well ... I wouldn't think so, but I otherwise don't have any suggestions :(
[23:37] <ravage> sem: "kernel tried to execute NX-protected page " also should not happen
[23:38] <ravage> can you try to disable NX protection in your BIOS and see if the problem still exists? maybe there is a BIOS update?
[23:40] <sarnold> sem: did you perchance swap video cards while you were at it? the faulting process here is xorg, and nouveau_connector_detect is the function that failed..
[23:40] <sem> i'll take a look in the bios. Not sure that I've seen a setting like that; also ePoX went out of business, hopefully I can find any bios updates
[23:40] <sarnold> sem: or maybe the cable was replaced? that's a long shot..
[23:40] <sem> sarnold, i did not swap video cards, but I did at one point try the proprietary drivers
[23:41] <sem> i'm using nouveau again, which seems to be better