[00:00] <TJ-> lewie67[p]: let's try something a little different in case the presence of that file no longer cancels things out ... try "sudo sed -i 's/cdma/cdma,except:type:ethernet/' /usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf " then "sudo systemctl restart NetworkManager"
[00:00] <TJ-> lewie67[p]: we're now telling it explicitly to manage (wired) ethernet
[00:00] <sarnold> kenwoodfox: *probably* -22 comes from this: $ errno 22
[00:00] <sarnold> EINVAL 22 Invalid argument
[00:01] <lewie67[p]> TJ-: Ok, interesting
[00:01] <kenwoodfox> sarnold: what does that mean?
[00:01] <lewie67[p]> TJ-: so i restarted NetworkManager and it brought the interface up but didn't attempt a dhcp request
[00:02] <lewie67[p]> TJ-: and on reboot interface is still down
[00:02] <TJ-> lewie67[p]: is there a "Wired connection 1" or similar connection? "nmcli con"
[00:02] <sarnold> kenwoodfox: it'd take a fair chunk of effort to figure out. maybe easier is to check other logs for better descriptions -- check dmesg, check the other server, etc
[00:03] <TJ-> lewie67[p]: are you relying on netplan to configure it?
[00:03] <kenwoodfox> Oh, i found it out,
[00:03] <lewie67[p]> TJ-: not intentionally using netplan
[00:03] <kenwoodfox> it was a syntax error
[00:03] <kenwoodfox> thank you sarnold
[00:04] <sarnold> kenwoodfox: hooray :)
[00:04] <lewie67[p]> TJ-: nmcli con gives me a "netplan-enp1s0" and "Wired connection 1"
[00:04] <kenwoodfox> looking up errno 22 brought me to that solution ;3
[00:04] <TJ-> lewie67[p]: oooo so netplan-enp1s0 would be the one I guess
[00:04] <lewie67[p]> though to be honest i don't know exactly what state it's in as compared to a fresh build as i've been effing with it for a while
[00:05] <lewie67[p]> TJ-: yea. on initial build the netplan file shows networkd but no matter what i do it won't get me on the network until i run dhclient
[00:05] <TJ-> lewie67[p]: check the runtime file netplan generated at /run/NetworkManager/system-connections/
[00:05] <TJ-> lewie67[p]: also can you pastebin the netplan file?
[00:06] <TJ-> lewie67[p]: there may be a sublte syntax error in it
[00:06] <lewie67[p]> TJ-: I'd be happy to, though if there's a syntax error it would come that way from the preseed process :/
[00:07] <lewie67[p]> TJ-: I'll pastebin both the netplan file and the file in system-connections...hold plesae
[00:07] <TJ-> lewie67[p]: thanks
[00:08] <TJ-> lewie67[p]: we're on a process of ellimination... reduce the problem space. after this we'll look at the NM log
[00:08] <lewie67[p]> TJ-: Appreciate the help, if this was RHEL i'd have moved on to bigger and better problems by now but the Ubuntu networking has always confused me a bit  :P
[00:09] <lewie67[p]> TJ-: system-connections file: https://pastebin.com/P6yectp0
[00:09] <lewie67[p]> TJ-: 01-netcfg.yaml: https://pastebin.com/FPUpgh5X
[00:10] <lewie67[p]> I've tried the netcfg file the way it's pasted and with "renderer: NetworkManager" as well, but no bueno either way
[00:10] <TJ-> lewie67[p]: "renderer: networkd" should be ^^^^
[00:10] <TJ-> lewie67[p]: this line says use systemd-networkd
[00:12] <TJ-> lewie67[p]: I've seen this before - I susoect you've also got systemd-networkd installed and active and it is immediately changing the state of enp1s0 when any other tool tries to control it... at least I've been caught out like that a few times!
[00:12] <TJ-> lewie67[p]: "systemctl status systemd-networkd" -- is it active?
[00:13] <lewie67[p]> TJ-: So renderer: should be NetworkManager?
[00:13] <TJ-> lewie67[p]: for desktops, with NM, yes, always
[00:13] <lewie67[p]> ok, i tried it with NetworkManager and it was the same...do i need to remove and/or disable networkd as well?
[00:14] <TJ-> lewie67[p]: disable it if it is active, for sure
[00:14] <TJ-> lewie67[p]: check if there is also a config for it, in /run/systemd/network/  ... any runtime configs mention enp1s0 there?
[00:14] <puff> sarnold: I have no strong feelings for/against gnome, though I believe xubuntu uses gnome.
[00:15] <lewie67[p]> TJ-: /run/systemd/network directory doesn't exist
[00:15] <TJ-> puff: Xubuntu uses XFCE4
[00:15] <TJ-> lewie67[p]: ok, so that suggests systemd-networkd is NOT active? does systemctl confirm that?
[00:15] <puff> TJ-: Ah yeah, it justs a lot of gnome apps.
[00:16] <puff> TJ-, sarnold: I used xubuntu for several years, when I got a new laptop and needed to reinstall I decided to try standard ubuntu out again.
[00:16] <lewie67[p]> TJ-: i just stopped it, but it was running
[00:16] <TJ-> lewie67[p]: aha!
[00:17] <TJ-> lewie67[p]: can you do a clean reboot with the netplan file correct and with system-networkd DISABLED? I suspect currently you've got both systemd-networkd and NetworkManager enabled and they are fighting for control
[00:17] <lewie67[p]> TJ-: sure thing
[00:17] <puff> TJ-, sarnold: I don't have strong feelings one way or the other, except for this alt-tab/workspaces thing.  I'm not fond of the search-by-name for all app launching, though god knows there were times I wished I could search the dropdown app menu in xubuntu.
[00:17] <TJ-> lewie67[p]: alternatively, just do a reboot and check if both are running to confirm that, then if needed you can alter the preseed to disable systemd-networkd
[00:18] <TJ-> puff: the 'start' menu in xubuntu has had a text search function for many releases; I've used Xubuntu for 10+ years
[00:18] <puff> I tend to keep a lot of windows and tabs open, for long periods of time, so I really, really liked using workspaces to segregate them, grouped by activity; one workspace for a programming project, another one for various stuff I was reading, another one for email and chat windows, etc.
[00:19] <TJ-> puff: I used multiple monitors for that :)
[00:19] <puff> Hah... yeah.
[00:19] <lewie67[p]> TJ-: ok, so netplan says "renderer: NetworkManager", systemd-networkd is disabled, and NetworkManager is running
[00:19] <lewie67[p]> TJ-: still the same
[00:19] <puff> TJ-: One thing I always wanted was a way to map workspaces to monitors.
[00:19] <sarnold> puff: I wonder if the version you're running can use extensions from https://extensions.gnome.org/ ? be conservative with these, when they break, they can take down the whole gui, and it's not always obvious that they're at fault for things, but it might be worth looking to see if someone's written a different alt+tabl thing this way, if you don't want to go to the trouble of a new desktop environment
[00:19] <lewie67[p]> TJ-: no ip on the nic...  :'(
[00:19] <sarnold> entirely
[00:19] <puff> sarnold: Thanks.
[00:20] <puff> Hm, 18 is still the latest LTS version, right?
[00:20] <TJ-> lewie67[p]: OK this is after the reboot? are both managers active? "systemctl status systemd-networkd NetworkManager"
[00:20] <lewie67[p]> TJ-: i've been doing this for going on 15 years now and these are the kinda problems that make me feel super stupid
[00:21] <puff> sarnold: hm:  https://extensions.gnome.org/extension/310/alt-tab-workspace/
[00:21] <sarnold> puff: 20.04 was released ~three months ago
[00:21] <puff> sarnold: Is 20.04 LTS?
[00:21] <sarnold> puff: yes
[00:21] <lewie67[p]> TJ-: yes after reboot, and systemd is off, but NetworkManager is active
[00:21] <TJ-> lewie67[p]: just a case of drilling down and collecting evidence/facts :)
[00:21] <puff> sarnold: Cool... how traumatic is the upgrade likely to be?
[00:21] <lewie67[p]> TJ-: Yup, i'm all about learning, just frustrating sometimes  :)
[00:22] <sarnold> puff: excellent question :) Im' currently upgrading one of my headless machines from 19.10 to 20.04
[00:22] <TJ-> lewie67[p]: so that's what we want, so we've narrowed it down. Now, without messing about with anything, check if netplan generated the /run/NetworkManager/system-connections/ file and its content looks sane
[00:22] <puff> sarnold: Fun.
[00:22] <sarnold> puff: I don't think we've advertised the 18.04 to 20.04 upgrade path yet, so perhaps there's more to do still :/ but it should be better than during the first few weeks..
[00:23] <TJ-> lewie67[p]: if so let's grab the latest journal from NM with "pastebinit <( journalctl -b 0 -u NetworkManager )"
[00:23] <lewie67[p]> https://pastebin.com/svV6FD99
[00:23] <puff> sarnold: I know in the past, in debian, the upgrade from one release to another was sometimes less than graceful.
[00:24] <lewie67[p]> TJ-: That paste was the nmconneciton file
[00:24] <lewie67[p]> i'll get the journal now
[00:24] <sarnold> puff: yeah, I found something *really* frustrating on a distro to distro upgrade once, it took me hours to put all the pieces back together
[00:24] <puff> sarnold: This says that it'll start showing a popup to upgrade once 20.04.1 comes out, roughly 3 months after 20.04 came out https://ubuntu.com/blog/how-to-upgrade-from-ubuntu-18-04-lts-to-20-04-lts-today
[00:25] <puff> sarnold: I still need to order a bigger drive for my laptop, maybe I'll upgrade when I get that installed.
[00:25] <sarnold> puff: ooh :D that sounds like a good plan
[00:25] <sarnold> new toys!
[00:26] <sarnold> puff: my guess is that 20.04.1 will probably wait until august
[00:26] <lewie67[p]> TJ-: https://pastebin.com/NZQR1X5v
[00:29] <TJ-> lewie67[p]: hmmm, "ifupdown parser" ! check if there are any 'interface' or 'interface.d/*' files for it with "find /etc/network -type f"
[00:30] <lewie67[p]> TJ-: only one i see is /etc/network/interfaces
[00:30] <TJ-> lewie67[p]: what are its content?
[00:31] <lewie67[p]> TJ-: there are a series of files in /etc/network/if-{pre,post,up,down}...
[00:31] <puff> sarnold: Cool.  Now if I can just figure out which M.2 NVME SSD is best for my laptop... actually the big problem is that I'd like to find a larger one, 2TB or 3TB even, most of the search results are 1TB and the bigger ones are weird brands I've never heard of.
[00:31] <TJ-> lewie67[p]: I still think you have a VM issue here; because you should a message like this "device (enp2s0): carrier: link connected" in the NM log
[00:31] <TJ-> lewie67[p]: ^^ that's from mine
[00:32] <TJ-> lewie67[p]: /etc/network/interfaces is the primary config for Debian's ifupdown tools
[00:32] <lewie67[p]> TJ-: interfaces file: https://pastebin.com/9juAn4ir
[00:32] <TJ-> lewie67[p]: really, ifupdown should not be being seeded/installed
[00:33] <puff> sarnold: Hm, it gave me a zip file, how do I actually install it? I don't see a .sh file or anything inside the zip.
[00:33] <TJ-> lewie67[p]: There is your problem! When NM finds ifupdown configured to manage an interface NM will NOT take it over!
[00:33] <TJ-> lewie67[p]: delete that file (/etc/network/interfaces) and "sudo systemctl restart NetworkManager" and it'll work
[00:33] <lewie67[p]> TJ-: ok...
[00:34] <TJ-> lewie67[p]: presumably your preseed is pulling in ifupdown and generating that enp1s0 stanza
[00:34] <lewie67[p]> TJ-: Aha! Ok, so network is up on NM restart and reboot
[00:34] <TJ-> lewie67[p]: not sure if, with this solved, you'll still need the NM except:type:ethernet to ensure this'll work :D
[00:34] <lewie67[p]> TJ-: So now, how to stop the preseed from doing that  :P
[00:35] <TJ-> lewie67[p]: well... that's YOUR problem, you wrote it I presume!?
[00:35] <lewie67[p]> TJ-: Not exactly  ;) I started with one that came with foreman
[00:35] <TJ-> lewie67[p]: aha, so find out if it assumes it should use ifupdown
[00:36] <lewie67[p]> TJ-: I've read the docs on the available options and nothing seems untoward...
[00:36] <lewie67[p]> TJ-: This is the doc i've been working off of, is there a better resource? I've had trouble tracking down anything better so far https://help.ubuntu.com/lts/installation-guide/s390x/apbs04.html#preseed-network
[00:38] <tds> 01:33 <TJ-> lewie67[p]: delete that file (/etc/network/interfaces) <- you may want to leave the ifupdown config in, just to bring up lo on boot
[00:38] <tds> (and drop the config for enp1s0)
[00:39] <TJ-> tds: it needs to lose ifupdown entirely
[00:39] <lewie67[p]> tds: thanks...but it looks like lo comes up with that file gone
[00:39] <tds> ah, if something else is bringing it up, good good :)
[00:40] <TJ-> tds: problem here is that was preventing NetworkManager from managing the i/f
[00:44] <puff> Hm, I have the gnome-shell firefox add on installed but it's still just offering to download the zip file.
[00:45] <tds> TJ-: yeah; will network-manager correctly handle lo in that situation?
[00:45] <tds> all the ubuntu NM machines i've encountered in the past have still used ifupdown to bring up lo (but nothing else), which seemed curious
[00:45] <TJ-> lewie67[p]: I'm no expert on d-i pressed but I think you need "d-i netcfg/enable boolean false" and nothing else netcfg related since I think that is what causes ifupdown to be installed/configured. You're dropping a netplan file and that will configure NM
[00:45] <TJ-> tds: that was just 'legacy'
[00:45] <tds> ahh
[00:46] <lewie67[p]> hmm, ok i'll give that a shot
[00:46] <TJ-> tds: btw, we're doing well now with Zen, thanks to you! I'm currently working on replacing the Turris Mox' openwrt with Debian Buster. Currently it is running kernel v5.8.0-rc6 and going well
[00:47] <lewie67[p]> TJ-: I'll make that change now and give it a go. do you know if theres a better place to look for preseed info?
[00:48] <TJ-> lewie67[p]: well d-i /preseed is a Debian thing. Authority is from https://www.debian.org/releases/stable/i386/apbs04.en.html#preseed-network
[00:48] <TJ-> lewie67[p]: much of the Ubuntu docs copy or extend that
[00:49] <lewie67[p]> TJ-: got it, i'll poke around there too. Thanks!
[00:50] <tds> TJ-: aha, TIL NM will bring up lo even when it considers it unmanaged, funky
[00:52] <tds> sounds good with zen though, glad it's all sorted, that kernel sounds a bit new and scary ;)
[00:55] <TJ-> tds: better than 4.14.187 and good we're able to build our own that includes/excludes to our specific requirements
[00:55] <tds> heh
[00:55] <tds> i got fed up running custom kernels on my routers, very happy to be back on buster-backports now
[00:55] <TJ-> tds: main thing is to be in a distro we fully know, and isn't cut-down and does things differently, as openwrt does
[00:56] <TJ-> tds: well I'm using mainline to try to resolve a bug in USB3 UAS when we plug some storage devices in - working with the linux-usb devs atm debugging it
[00:57] <tds> heh
[00:57] <puff> WHen I restart gnome with Alt-F2 does that kill all my GUI apps?
[00:57] <tds> there were some minor v6 issues i had to patch up, hence running custom kernels for a bit, those fixes have landed in buster-backports now though so distro kernels it is :)
[00:58] <TJ-> tds: I've ordered another Mox for our lab so once that's here... gateway gets to rest :)
[00:59] <puff> Hm, according to this the gnome-extensions command should already be available but it's not in my $PATH: http://manpages.ubuntu.com/manpages/focal/en/man1/gnome-extensions.1.html
[01:00] <tds> TJ-: is the mox stuff nice?
[01:00] <TJ-> tds: oh yeah! totally open hardware to software
[01:00] <TJ-> tds: i'll switch to ##networking
[01:00] <tds> i've also got lots of debian routers, that's pretty much entirely containers/VMs for my own infra, and pretty standard servers for $work, though
[01:01] <puff> And that page says gnome-extension is part of gnome-shell, but "sudo dpkg -L gnome-shell | fgrep -i gnome-extension" doesn't list it.
[01:05] <lewie67[p]> TJ-: Bad news...pulling all the netcfg stuff out of the preseed didn't fix the issue
[01:05] <lewie67[p]> TJ-: but at least i know where to look for solving it  :)
[01:06] <TJ-> lewie67[p]: hmmm, ifupdown was still installed *and* configured?
[01:06] <lewie67[p]> TJ-: maybe dumb question, but how do i verify if ifupdown is installed?
[01:06] <TJ-> lewie67[p]: in which case read the d-i install log in the target system for clues as to what/how it is being done
[01:06] <lewie67[p]> i verified that systemd-networkd is disabled and not running
[01:06] <TJ-> lewie67[p]: "apt list --installed ifupdown"
[01:07] <lewie67[p]> but the interfaces file is still there
[01:07] <TJ-> lewie67[p]: or just "apt list ifupdown" and see if it has the "installed" keyword
[01:08] <lewie67[p]> TJ-: Nope, not installed
[01:08] <TJ-> lewie67[p]: so then what/where is /etc/network/interfaces coming from? is ansible doing that?
[01:09] <TJ-> lewie67[p]: check /var/log/ - is there an ./installer/ or ./debian-installer/ or ./d-i/ directory with logs?
[01:09] <lewie67[p]> TJ-: Nope, no ansible config at the moment, just trying to get the base build going
[01:09] <TJ-> lewie67[p]: what install image are you starting with?
[01:11] <lewie67[p]> TJ-: I'm using a mirrored repo cause eventually this will go to a site to reduce bandwidth requirements
[01:13] <lewie67[p]> TJ-: there is a /var/log/installer directory
[01:13] <TJ-> lewie67[p]: maybe there are clues ?
[01:14] <lewie67[p]> TJ-: interesting...  Jul 21 01:03:34 netcfg[13038]: WARNING **: Using /etc/netplan/01-netcfg.yaml
[01:14] <lewie67[p]> Jul 21 01:03:34 netcfg[13038]: WARNING **: Using netplan for network config
[01:14] <lewie67[p]> but then: Jul 21 01:03:34 finish-install: cp: can't stat '/etc/network/interfaces': No such file or directory
[01:14] <lewie67[p]> Jul 21 01:03:34 finish-install: warning: /usr/lib/finish-install.d/55netcfg-copy-config returned error code 1
[01:15] <TJ-> lewie67[p]: are you (re)installing to a clean VM each time? not inheriting the old /etc/network/interfaces ?
[01:16] <lewie67[p]> TJ-: It's the same vm but the disk "should" get wiped each time. i could try dropping the hd and adding a new one just to confirm there's no artifacts or that it's doing something weird
[01:23] <TJ-> lewie67[p]: well, first, check the timestamp of that file against others? is it from the current boot session?
[01:24] <lewie67[p]> TJ-: Yea, it's the correct "wrong time" if that makes sense
[01:24] <lewie67[p]> it matches the time on the network i'm testing on
[01:24] <lewie67[p]> but i dorpped and recreated the disk just to be sure
[01:24] <TJ-> lewie67[p]: OK so created during the current install session
[01:25] <TJ-> lewie67[p]: did you say you're creating the VM image using an Ansible playbook, generated by foreman?
[01:27] <lewie67[p]> TJ-: no, i probably did a terrible job explaining what i'm doing. Right now i'm just using foreman to handle all the pxe stuffs and generate preseed files from a template. Once that all works correctly i'm going to move into the ansible configuration. but i can't do the ansible stuff until the network comes up on boot  :O
[01:28] <lewie67[p]> TJ-: Ok, new info. so new disk seems to have worked correctly so maybe my disk partition script didnt completely wipe the disk before repartitioning...?
[01:28] <Smaug> hi all.  I am running into an out-of-memory issue I don't know how to solve.   running `df -h`  shows me I have "/dev/nvme0n1p2" mounted on "/" and that is at 100% use (209M free).  I also have "/dev/nvme0n1p3" mounted on "/home" and that is at 22% use, 152G free.  I am attempting to install something about 700 M in an anaconda virtual env (which is, indeed, inside my user account inside /home)
[01:28] <Smaug> and it gives me out of space errors
[01:28] <Smaug> any thoughts?
[01:28] <Smaug> tl;dr I have 152G free but am receiving out of space errors
[01:28] <lewie67[p]> Smaug: it's probably trying to write logs to /var/log/
[01:29] <lewie67[p]> Smaug: if it can't write there it won't work
[01:30] <lewie67[p]> Smaug: could also be trying to write some stuff to /tmp...how does that fs look size wise?
[01:30] <TJ-> lewie67[p]: oh, good news about disk !
[01:30] <Smaug> lewie67[p]:  /var/log is 786 M
[01:30] <Smaug> tmp is 1 M
[01:31] <Smaug> assuming values given by "du -csm" are M
[01:32] <Smaug> lewie67[p]: what is /var/log/journal ? that takes up 777 of the 786
[01:32] <lewie67[p]> Smaug: that's how much space tmp is taking up. but if it's on / that might be your problem
[01:32] <TJ-> Smaug: that's the systemd-journald logs
[01:32] <Smaug> i see
[01:32] <Smaug> so what's the game plan, delete some logs?
[01:32] <Smaug> how do i determine what's safe to delte?
[01:33] <TJ-> Smaug: give / more space!
[01:33] <Smaug> also good
[01:33] <Smaug> is there a good way to do that, ideally from command line, as I am ssh-ing in
[01:33] <TJ-> Smaug: are you using LVM, if so, this is trivial to do
[01:33] <Smaug> how do I determine that?
[01:33] <lewie67[p]> Smaug: how big is /? expanding it is probably the easiest option
[01:34] <TJ-> Smaug: does 'df' show paths beginning "/dev/mapper/"
[01:34] <Smaug> "/" is currently allocated 24 G
[01:34] <lewie67[p]> Smaug: ok, so /var/log/journal is not your problem if it's only 777Mb out of 24G
[01:34] <TJ-> Smaug: that's large for /, where is the space being used!? try "sudo du -h -d 2 | sort -h"
[01:35] <TJ-> Smaug: that'll list the biggest space users last
[01:35] <TJ-> oops, typo
[01:35] <TJ-> Smaug: try "sudo du -h -d 2 / | sort -h"
[01:35] <Smaug> TJ-: it does not.   df -h shows: udev, multiple tmpfs, /dev/nvme0n1p2, /dev/nvme0n1p3, /dev/loop0 through /dev/loop27, /dev/sda
[01:36] <TJ-> Smaug: ok, so fixed size partitions makes it difficult to shuffle space around
[01:36] <Smaug> biggest space users in order:
[01:36] <TJ-> Smaug: put it in a pastebin
[01:36] <Smaug> ok
[01:36] <TJ-> Smaug: as in  "pastebinit <( sudo du -h -d 2 / | sort -h )"
[01:38] <Smaug> here: https://pastebin.com/rDe1tKxT
[01:38] <Smaug> removed the usernames
[01:38] <Smaug> TJ-: pasted
[01:40] <TJ-> Smaug: snaps!
[01:41] <Smaug> TJ-: yes,....?
[01:41] <Smaug> i see 'em
[01:42] <TJ-> Smaug: drill down on the / fs itself; with "sudo du -x -h -d 2 / | sort -h" then, for example, "sudo du -x -h -d 2 /var | sort -h" so you casee where the space is used and decide if there's anything can be cleaned up.
[01:42] <Smaug> _
[01:42] <Smaug> can the snaps be claened up?
[01:43] <TJ-> Smaug: as a short term op "sudo apt autoremove" and "sudo apt-get clean" may remove some unneeded files
[01:43] <Smaug> biggest in the var is /var/lib and /var/lib/snapd
[01:43] <Smaug> and /var/cache
[01:43] <Smaug> that sounds a likely candidate for removal, no?
[01:44] <TJ-> Smaug: I don't use snaps but you could move them into the file-system that contains /home/ and then bind-mount it back to /snap/ to free up 8.3G on the root fs
[01:44] <Smaug> - /var /lib is 3.8 G, /var/lib/snapd is 3.3G
[01:44] <TJ-> Smaug: the apt commands will clean out the apt /var/cache/ stuff
[01:44] <Smaug> i'm open to that
[01:44] <Smaug> do you have links to resources I could read to learn how to bind-mount?
[01:46] <sarnold> Smaug: I'm not sure what you're after with "can the snaps be cleaned up", but the retain setting on https://snapcraft.io/docs/keeping-snaps-up-to-date may help
[01:46] <Smaug> i am after space, and I don't know much about snaps, your exclamation made me wonder if there was an opportunity there
[01:46] <Smaug> or rather, TJ-'s exclamation
[01:47] <Smaug> sarnold: thanks for the link
[01:47] <TJ-> Smaug: something like this: "sudo mkdir /home/snap; sudo rsync -av /snap/ /home/snap/; echo "/home/snap /snap none bind" | sudo tee -a /etc/fstab" - at this point you either reboot or stop the snap service because you need to switch to the new location
[01:48] <Smaug> i am on ssh, and would prefer to avoid rebooting since the computer is a desktop in a different location
[01:48] <TJ-> Smaug: what this does is move the contents of /snaps/ to /home/snap/ then adds a file-system table (fstab) entry to bind-mount /home/snap/ onto /snap/ at boot time
[01:48] <Smaug> if it must be done I'll find someone who can assist I suppsoe
[01:48] <Smaug> i appreciate you explaining it
[01:49] <TJ-> Smaug: OK, you can do it without rebooting. You'd need to stop the snap daemon service with "sudo systemctl stop snapd.service" AND ensure something doesn't auto-restart it before you've moved things!
[01:50] <Smaug> thanks!  anything else I should keep in mind as I do it?
[01:50] <TJ-> Smaug: might be worth temporarily barring it by masking it with "sudo systemctl mask snapd.service"
[01:50] <TJ-> Smaug: with it masked AND stopped you're safe to move things around since all snaps should also have been stopped from running
[01:52] <Smaug> alright thanks
[01:53] <TJ-> Smaug: you can check that by ensuring no snaps show up with "mount | grep snap" --- looks like stopping snapd.service IS NOT enough to stop them running though, from a VM test here
[01:53] <TJ-> Smaug: so something more needs to be done I think
[01:54] <TJ-> Smaug: uhoh, I'm a little wrong here, /var/lib/snap/ is what needs moving! Ignore my earlier instructions whilst I revise!
[01:54] <Smaug> ok!
[01:58] <looting101> why have so many different partitions? I always hated that way of thinking. Makes sense in some ways, but as long as you watch your space you will be fine.
[01:59] <looting101> now you gotta jerk around with bind mounts on a desktop
[01:59] <zevenar> snaps slow pc
[01:59] <zevenar> she loves snaps the women
[02:00] <zevenar> snaps let her install easily on any linux distro
[02:02] <Smaug> looting101: i did not set up the system
[02:08] <TJ-> Smaug: wow! takes some doing to stop/unmount the running snaps!
[02:08] <TJ-> looting101: this is why we have LVM so space can be allocated on-demand rather than allocated before it is known what is needed
[02:09] <TJ-> Smaug: so you have to do several steps because I don't see a way to tell snap to cleanly unmount everything
[02:09] <Smaug> ok
[02:10] <Smaug> want to put in a paste? :)
[02:10] <sarnold> TJ-: maybe umount -t squashfs? something?
[02:11] <looting101> stopping snap service doesnt? What about disable and reboot?
[02:11] <looting101> I never really played with snap since kinda just works
[02:13] <WaV> Smaug: have you tried sudo apt autoremove yet to see if anything can be removed to free up space?
[02:13] <looting101> oh wow snap is all tied into this ubuntu 20 system i am on.
[02:15] <jwash> hi everyone, i've got a long lived bash session on a screen. there are many things I want to save, how would i copy the history of that screen to a file?
[02:16] <looting101> copy and paste. history > OUT if want that
[02:28] <Smaug> WaV: i did and it worked, but I definitely will record this session in case the issue recurs
[02:28] <Smaug> as I fear it may
[02:33] <TJ-> Smaug:  this *should* work but I'd strongly suggest you test it in a throw-away virtual machine installation first!  https://paste.ubuntu.com/p/QFpQv6tmmM/
[02:33] <Smaug> haha
[02:34] <Smaug> TJ-: amazing thank you
[03:01] <xbfrog> why am i getting this message...Sorry, something went wrong: Error opening directory "/usr/share/appdata": No such file or directory, the path and directory does exist
[03:01] <xbfrog> i opened ubuntu software
[03:03] <sarnold> xbfrog: I've got a feeling that I may have suggested to you to purge the appstream package a few weeks ago. Did I do that? I might have done that.
[03:04] <Bashing-om> xbfrog: Any more info from the terminal ' sudo apt update ; sudo apt upgrade ' ?
[03:04] <oerheks> https://bugs.launchpad.net/snap-store-desktop/+bug/1888219
[03:04] <oerheks> Open System Monitor and search for snap-store; Select the snap-store process and hit End Process; Re-open Ubuntu Software
[03:05] <oerheks> from https://askubuntu.com/questions/1246668/ubuntu-software-error-error-opening-directory-usr-share-appdata-no-such-fil
[03:06] <zevenar> Installed ubuntu on parents computer
[03:06] <xbfrog> yes if you told me i did
[03:07] <zevenar> Ubuntu works great with a touch screen all-in-one
[03:07] <sarnold> xbfrog: depending upon how bad the interface works now, you could either leave it alone, or try blindly running: apt update && apt install appstream && apt update  and see how it works after that :)
[03:08] <xbfrog> update found, security, launchpad and several others
[03:09] <xbfrog> y
[03:09] <xbfrog> its updating now
[03:11] <xbfrog> it will be a few only 50 percent now
[03:13] <xbfrog> ok done
[03:14] <xbfrog> no ill effects seem to happen i can still install and remove apps
[03:15] <xbfrog> ok thanks i'll write that down in case it becomes worse
[03:17] <xbfrog> thanks again for your help
[06:12] <makara> hi. I created some man files, but they're not showing up when I invoke. I added 'MANPATH /usr/local/share/man' to /etc/man.config .Still nothing
[06:13] <ajd> if i've got both golang-1.13-go and golang-1.14-go installed (on focal, from ubuntu main), what's the canonical way of updating the /usr/bin/go symlink provided by golang-go to point to 1.14 by default? or do i just have to hack around that myself and hope that future package upgrades don't break it?
[06:32] <makara> how can I get the default /etc/manpath.config that is installed in a ubuntu 18.04 distribution?
[06:52] <osse> makara: the file itself?
[06:53] <osse> download the man-db package and extract it, I suppose
[06:54] <oerheks> reinstall man-db i guess.. you did not make a backup, eh?
[06:56] <oerheks> dpkg -S /etc/manpath.config # shows man-db
[06:56] <oerheks> *hips*
[06:57] <makara> yes, thanks
[07:10] <basalt> hi, i miss the "settings" / "Appearance" menu entry after upgrade from 19.10 to 20.04 any hints on this? i have choosen the gnome desktop on login page
[07:10] <lotuspsychje> basalt: can you screenshot that please?
[07:17] <basalt> any prefered page to upload the img ?
[07:17] <lotuspsychje> imgur sure
[07:19] <basalt> https://imgur.com/i6dEhuV
[07:20] <lotuspsychje> basalt: did you see errors on apt during upgrade?
[07:27] <basalt> not really, but maybe i missed them
[07:27] <lotuspsychje> !uptodate | basalt doublecheck
[07:28] <basalt> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[07:29] <basalt> so nothing to update / upgrade and did already reboots
[07:29] <basalt> is the upgrade (20.04) log somewhere persisted ?
[07:30] <lotuspsychje> basalt: /var/log/dpkg
[07:34] <basalt> the logs look clean
[07:38] <basalt> i can paste it, buts its around 16k lines
[07:55] <makara> can I put a quota on disk mounts in /etc/fstab ? A self-imposed quota
[08:10] <knew> sbar awl_0 add -before awl_0 -alignment left usercount
[09:11] <thyriaen> Hiho, i got the following error in dmesg which results in my ethernet-to-usbc adapter not being recognized - any ideas ? https://hastebin.com/yuwupuyevu.css
[09:16] <adac> Is there a command line tool that is showing iptables status in a more simply way?
[09:22] <Ben64> adac: you can just use ufw
[09:45] <thyriaen> Hiho, i got the following error in dmesg which results in my ethernet-to-usbc adapter not being recognized - any ideas ? https://hastebin.com/yuwupuyevu.css
[09:50] <anbraten> With the mainline kernel 5.8-rc6 iptables are not working / supported? anymore. Is it something caused by nftables? How could I get iptables to work with legacy support? Error: "iptables v1.8.4 (legacy): can't initialize iptables table `filter': Bad address"
[10:39] <Peanut> Hi, how would one propose that a package gets added to the 'focal-updates' repository?
[10:39] <oerheks> !sru
[10:40] <oerheks> one can file a request for a package, rules are explained there
[10:40] <Peanut> Awesome, thanks.
[10:40] <oerheks> have fun!
[10:46] <BluesKaj> Howdy all
[11:25] <Mr_x> hi
[11:26] <Mr_x> i get this when i want to update weechat   ------->> W: Sources disagree on hashes for supposely identical version '2.9-1' of 'weechat:amd64'.
[11:26] <Mr_x> how to solve that
[11:27] <Mr_x> i use ubuntu 20.04
[11:30] <ocean> Mr_x: it seems that you have two sources (in sources.list) providing weechat. both sources disagree on the right hash value
[11:31] <ocean> Mr_x: run apt-cache policy weechat
[11:31] <ocean> shows which repositories you use that provide weechat package
[12:36] <Mr_x> ocean: i get this when i run apt-cache policy weechat ------>> https://pastebin.com/bpbxQRub
[12:37] <Mr_x> ok acean thank you
[12:38] <EriC^^> !info weechat 20.04
[12:38] <EriC^^> !info weechat focal
[12:38] <EriC^^> Mr_x: you could try sudo apt-get update and see if that helps
[12:40] <Mr_x> EriC^^, i get this ----->> https://pastebin.com/1cG8Xm13
[12:45] <EriC^^> Mr_x: you can either remove the weechat repo and stick with 2.8-1, or maybe continue if you're sure that the package isnt compromised, or wait and see if the sources change the hashes and they agree
[12:45] <EriC^^> Mr_x: what does 'apt-cache show weechat' give?
[12:46] <Mr_x> https://pastebin.com/bpbxQRub
[12:47] <EriC^^> Mr_x: apt-cache show      (not policy)
[12:53] <Mr_x> EriC^^,  but i already hit Y bout 15 minute ago .. n i get this ------>>  https://pastebin.com/78BWZAHh
[13:18] <analogical> in Window when I press alt+255 I get a blank character how do I create the same blank character in Ubuntu?
[13:25] <osse> that's a non-breaking space
[13:25] <osse> try Alt-space
[13:25] <osse> Or AltGr, if you have one of those
[13:30] <analogical> thanks ossë
[13:45] <deltreey> I keep having this weird glitch on 20.04 where it's as if my left mouse button is held down and I can't get it to think my mouse button has released without a reboot.  Ideas?
[13:46] <deltreey> also, unity desktop is super finicky on 20.04, but that is unrelated
[13:54] <rjwiii> deltreey: I assume you've tried a different mouse?
[13:57] <rightisleft> Hi folks, im going to ask this here as well. Is there any reason why when i SSH into an ubuntu server from OS X - sigterm signals might stop sending? Essentially im unable to pass commands to my docker-compose processes. I’ve posted the full question here:
[13:57] <rightisleft> https://stackoverflow.com/questions/62997202/why-isnt-docker-compose-responding-to-sig-signals-to-stop-or-background-the-pr
[13:59] <rightisleft> When i hit ctrl-z to background the process nothing happens
[13:59] <rightisleft> same with ctrl-c
[13:59] <rightisleft> if this is not the right channel, please let me know a better location
[13:59] <rightisleft> thanks in advance!
[14:37] <cpach> PSA: If there is anyone who needs Wireguard on Ubuntu 14.04 then send a message ASAP to the Wireguard mailing list. https://lists.zx2c4.com/pipermail/wireguard/2020-July/005670.html
[14:40] <cpach> otherwise support for 14.04 will be dropped.
[14:41] <nbusrone> hi I am not able to install wine as in synaptic and wineHQ , there is a broken dependencies.Nothing works on "sudo apt update --fix-missing" or "sudo apt install -f"
[14:52] <Sven_vB> I'm writing a parser for Ubuntu version names. In "14.04.2 LTS", what's the 3rd field ("2") and 4th field ("LTS") called?
[14:52] <DArqueBishop> cpach: 14.04 is no longer supported, so by all rights the better option for those people is to upgrade to a supported release.
[14:53] <Sven_vB> nbusrone, have you ensured to uninstall any remains of an old non-wineHQ wine?
[14:53] <Sven_vB> nbusrone, oh I see you're in #winehq already, let's talk there then.
[14:54] <nbusrone> Sven_vB : I never install wine on repository at all.
[15:01] <b100s> hi2all; what packege brings netcat? `dpkg -S /bin/nc` gives: "dpkg-query: no path found matching pattern /bin/nc"
[15:01] <Peanut> b100s: netcat-openbsd. Follow the symlink via /etc/alternatives.
[15:03] <b100s> Oh! Right! /bin/nc -> /etc/alternatives/nc , /etc/alternatives/nc -> /bin/nc.openbsd , and finally dpkg says netcat-openbsd: /bin/nc.openbsd . What is the reason for such link hierarchy?
[15:04] <Peanut> This is done when there are more packages providing the same functionality.
[15:04] <Peanut> THere's 'ncat', 'netcat', 'netcat-traditional' and 'netcat-openbsd' at first glance.
[15:07] <rjwiii> deltreey: I assume you've tried a different mouse?
[15:08] <b100s> I see. Does it mean ubuntu may bring it under different name like /bin/nc.special and then link it via alternatives. However still two questions: 1) if I have more than one packages with nc, will /bin/nc be linked to the latest installed? 2) Still not sure why we need two links; to me seems one is enough; what is the reason to have two symlinks?
[15:09] <Peanut> b100s: see 'man update-alternatives'
[15:12] <b100s> Peanut, thanks! Didn't know about such thing. Will read. And last question if possible. Where can I read about building nc from sources in such way, so it will be linked statically with all needed libs? (never done such before)
[15:13] <Sven_vB> b100s, if you claim authority over /bin/nc using dpkg-divert, update-alternatives can still operate on /etc/alternatives/nc without interference.
[15:13] <Sven_vB> b100s, usually the install instructions come with the source of a program, often a file called "INSTALL" next to "README"
[15:17] <Peanut> b100s, in addition to what Sven_vB just said: the netcat-openbsd actually gets its source from (no surprise) OpenBSD.
[15:18] <Peanut> b100s: You can also do 'apt src netcat-openbsd' (you may want to cd into an empty directory first) and get the sources as used in Ubuntu for building it.
[15:18] <cpach> DArqueBishop: good point!
[15:22] <b100s> Sven_vB, Peanut , thanks a lot! Seems the netcat-openbsd has no INSTALL instructions (https://salsa.debian.org/debian/netcat-openbsd) :(
[15:22] <Sven_vB> b100s, maybe you can find help on an openbsd channel
[15:24] <Peanut> b100s: But is has a Makefile that you can try and edit to get your desired effect.
[15:26] <b100s> yup, reading it. Not sure what $(CC) is. It's not defined in the file. Probably predefined compiler. Also need to find a switch, probably just '-static', to this compiler
[15:27] <Peanut> b100s: I'd suggest to read up on 'building debian source packages' first.
[15:34] <rypervenche> lamiastella: You can use "ffmpeg" to convert a wmv to mp4, however the codec of the video stream will need to be converted, so there will be some loss in quality, although it won't be noticeable.
[15:36] <MonkeyDust> lamiastella  winff is nice gui to ffmpeg
[15:41] <TomyWork> https://wiki.strongswan.org/versions/69 I would like to try out those bugfixes for those bypasslan-related bugs listed here. ubuntu has 5.6.2, i need 5.6.3. What's the best way to upgrade?
[15:45] <nbusrone> Sven_vB : sorry ,newbie , how do I explain here about wine package hold ?
[15:45] <nbusrone> hi I am not able to install wine as in synaptic and wineHQ , some package is holding ?
[15:46] <Sven_vB> can someone explain for nbusrone how to review apt package holds and release unintended ones?
[15:46] <nbusrone> Sven_vB : nothing on dpkg --get-selections | grep hold
[15:48] <nbusrone> Sven_vB : https://paste.ubuntu.com/p/4hNTcS4Ht9/
[15:48] <Sven_vB> I hope someone else can help you further, because I'll be afk now.
[15:49] <nbusrone> Sven_vB : can you have a look on the faudio ttps://paste.ubuntu.com/p/4hNTcS4Ht9/
[15:50] <quadrathoch2> on which ubuntu version are you? nbusrone
[15:51] <nbusrone> quadrathoch2: 18.04
[15:51] <quadrathoch2> and what does apt policy wine-stable say?
[15:53] <nbusrone> quadrathoch2: https://paste.ubuntu.com/p/DvqMGFmMpF/
[15:54] <quadrathoch2> nbusrone do you want to install the repository version or winehq?
[15:54] <nbusrone> quadrathoch2: my chat log on wineHQ channel https://paste.ubuntu.com/p/q7zDNnM6vt/
[15:55] <nbusrone> quadrathoch2: both also fine , since I am not using anything specific for faudio.
[15:56] <quadrathoch2> still asking you, which version do you want? nbusrone
[15:56] <quadrathoch2> as there is a difference
[15:56] <AlexMax> Good morning folks, so you know the last time I came here with hard freezes?  This time I think i got an error message that's actually useful in my journalctl
[15:56] <AlexMax> https://hastebin.com/xagixisile.txt
[15:57] <AlexMax> I got a hard freeze and this was the last message I got in my journal from that boot.
[15:58] <nbusrone> quadrathoch2: repository version , much stable i assume
[15:59] <quadrathoch2> nbusrone then you should remove first the winehq repository, apt update, and then install wine-stable
[15:59] <AlexMax> I have been trying out different kernel versions and mesa drivers to try and rule Linux graphics drivers issues.
[15:59] <AlexMax> but i first ran into these issues on stock
[16:02] <nbusrone> quadrathoch2: repository version , much stable i assume
[16:02] <lotuspsychje> AlexMax: you could try #ubuntu-kernel the kernel devs might have an idea what its about
[16:02] <lotuspsychje> AlexMax: please also mention your kernel version to them
[16:06] <quadrathoch2> nbusrone as I said, first remove the winehq repository
[16:06] <nbusrone> quadrathoch2: Should I remove the key too ?
[16:07] <quadrathoch2> nbusrone if you want to, I guess, as you remove the repository, you wouldn't need the key
[16:07] <nbusrone> quadrathoch2: i had remove just now , what should I do next ?
[16:08] <quadrathoch2> 'sudo apt update' 'sudo apt install wine-stable'
[16:09] <nbusrone> quadrathoch2: Ok thanks downloading now
[16:09] <quadrathoch2> nbusrone yw
[16:17] <cmdrmoozy> Hi, it looks like the systemd-dbg package isn't available for focal ... is there some other way to get debug symbols for systemd itself?
[16:17] <cmdrmoozy> I realize I can just go get the source and build with debugging symbols, but I have a core dump from ubuntu's systemd which I'd like to analyze
[16:27] <ioria> cmdrmoozy, i guess you want systemd-dbgsym pkg available from ddebs repository ( http://ddebs.ubuntu.com/ubuntu/ubuntu/dists/focal/main/binary-amd64/Packages ):    you ned to enable it ofc : https://wiki.ubuntu.com/Debug%20Symbol%20Packages
[16:28] <cmdrmoozy> ioria: ah, thanks! I wonder why that doesn't show up here? https://packages.ubuntu.com/search?keywords=systemd&searchon=names&suite=focal&section=all
[16:29] <ioria> cmdrmoozy, it's out of regular repos
[16:29] <ddstreet> you can also install ubuntu-dev-tools and use pull-lp-ddebs
[16:34] <nbusrone> quadrathoch2: I can't find my wine under "open with other application" list
[16:35] <nbusrone> quadrathoch2: I will try and restart
[16:41] <leftyfb> wasn't there a command that listed all the leases and such?
[16:43] <leftyfb> sorry, "releases"
[16:49] <dontlook> hello, is here a good place to ask a subiquity autoinstall question?
[16:50] <dontlook> I'm looking to build a config that assumes the device has only one active ethernet link and assigns it an IP, but I don't want to have to enumerate the interface name for every machine
[16:51] <dontlook> used to be you could pretty much count on eth0, but I know that is changed and my understanding is the names now have something to do with the mac address?  Is there a virtual name that is more generic like eth0
[16:54] <quadrathoch2> dontlook I guess #ubuntu-server would be a better place to ask
[16:55] <dontlook> quadrathoch2: thanks!  didn't know that was a thing
[17:08] <nbusrone> quadrathoch2 : there is no wine on "open with other application" but using terminal works .
[17:08] <quadrathoch2> nbusrone wine is a terminal application, so I don't know how you would add it to the right click menu
[17:09] <nbusrone> quadrathoch2 : is it possible to have it in right click menu ?
[17:10] <quadrathoch2> nbusrone I guess, but no idea
[17:10] <nbusrone> quadrathoch2 :  ok
[17:13] <nbusrone> quadrathoch2 : I have other problem which haven't been solve for few weeks finding the solution. Do you know about nvidia setting propriety ? I change the brightness but when my LED monitor wake up from blank screen it get reset.
[17:14] <quadrathoch2> nbusrone I'm sorry, but I never had a nvidia gpu, so I wouldn't know
[17:16] <nbusrone> quadrathoch2 : so which pu you are using ? intel or amd ?
[17:16] <quadrathoch2> amd, using a desktop
[17:22] <nbusrone> quadrathoch2 : did you have any issue with brightness adjustment on amd ? like setting brightness on amd driver and get reset ?
[17:24] <quadrathoch2> nbusrone I can't really comment on that, as I always used desktops. so no idea
[17:25] <nbusrone> quadrathoch2 : what do you mean by desktop ?
[17:26] <quadrathoch2> https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwww.howtogeek.com%2Fthumbcache%2F2%2F200%2F5aec5c86be8d8213a237f2d3abc2be70%2Fwp-content%2Fuploads%2F2014%2F02%2Fdesktop-pc-draws-power-when-hibernating-or-shut-down.jpg&f=1&nofb=1 sth like this
[17:29] <nbusrone> quadrathoch2 : same using desktop not for laptop
[17:29] <nbusrone> quadrathoch2 : want to confirm it didn't affect amd driver or only on nvidia driver
[17:30] <quadrathoch2> nbusrone oO the brightness is controlled by the display, so idk what the driver should interfere
[17:31] <nbusrone> quadrathoch2 : any application to control the display ?
[17:33] <quadrathoch2> nbusrone not as I know of, but there is some command line craze, but never looked into it, as I don't have to adjust brightness
[17:35] <nbusrone> quadrathoch2 :  At the image,https://i.imgur.com/2TFGdhP.jpg on nvidia setting on desktop,
[17:35] <nbusrone> When I lower the Birhgtness to -50 https://i.imgur.com/FfCPFhJ.jpg and -1 value https://i.imgur.com/2TFGdhP.jpg of the Nvidia setting graph line lower top and bottom x and y axis equaly but when I lower the brightness , the graph line only gets lower at the top and not equal.https://i.imgur.com/xoO4mTz.jpg and reduce to none https://i.imgur.com/9q7ofeI.jpg only flatten the graph compare to nvidia setting.
[17:36] <quadrathoch2> nbusrone sorry, no idea
[17:37] <nbusrone> ok
[17:38] <nbusrone> I anyone using nvidia driver on desktop ?
[17:39] <nbusrone> Need some help to confirm whether it's a driver issue or ubuntu bug before I going to make a bug report
[17:40] <scwoobles> I need help removing all php packages
[17:41] <scwoobles> nvm I just figured it out
[17:46] <scwoobles> I need help to uninstall PHP
[17:46] <bloodfart> hello, I want to know if there is a util that will list my usb hardware info. I need micro controller info, the FID, the PID, and so forth
[17:46] <quadrathoch2> scwoobles what issue do you have?
[17:47] <sarnold> bloodfart: lsusb
[17:47] <pavlos> lsusb -v
[17:47] <sarnold> bloodfart: if -v or similar don't show you what you need, there's also a bunch of files in /sys/ that may have more details still
[17:48] <scwoobles> quadrathoch2: I need to remove all of my current php which is 7.4 and just install version 7.0
[17:49] <bloodfart> Okay, the usb I bought is basically fake. It shows on the usb 256GB, I plug it in, and it says it's 256GB, but I ran HDD LLD and it states it's 268.48GB..
[17:49] <scwoobles> or 7.1
[17:49] <quadrathoch2> scwoobles and what happens if you just purge php? I mean there are multiple 'versions' to install, so no idea which one you have. Just list them with apt list installed | grep php maybe and then you know which one you can remove
[17:49] <pavlos> scwoobles: dpkg -l | grep php and purge all those
[17:50] <bloodfart> When I plug it in it displays 250GB
[17:52] <pavlos> bloodfart: fdisk -l /dev/sdX should be accurate
[17:53] <sarnold> scwoobles: your options are, run xenial to get php7.0, bionic to get php7.2, and focal to get php7.4
[17:55] <pavlos> scwoobles: there is a repo by ondrej that gave me php7.0 (I needed that version) in bionic
[17:56] <pavlos> scwoobles: deb http://ppa.launchpad.net/ondrej/php/ubuntu bionic main
[17:56] <scwoobles> sarnold: xenial ?
[17:56] <bloodfart> The sectors are off on it. Is it possible to fix the sectors?
[17:57] <sarnold> scwoobles: xenial, 16.04 LTS
[17:58] <scwoobles> pavlos: to install that package do i need to add it to repo's or can I just use an apt-get
[17:59] <pavlos> scwoobles: first I added the repo, did update, then apt install php7.0
[18:00] <scwoobles> sorry, its been 10 years since I have used linux
[18:02] <bloodfart> Is there a place where I can download usb firmware?
[18:03] <sarnold> the linux-firmware package probably has a bunch
[18:03] <sarnold> iirc it's built off of https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/
[18:04] <pavlos> bloodfart: sudo fdisk -l /dev/sdX | nc termbin.com 9999
[18:13] <bloodfart> Thanks
[18:21] <sumagna> hello
[18:21] <sumagna> i want to know if this is a bug or not
[18:22] <sumagna> whenever i close the lid of my laptop and reopen, it suspends(which is not a problem) but
[18:22] <sumagna> the wifi reconnects
[18:23] <sumagna> so is the disconnecting and reconnecting thing a bug?
[18:24] <pavlos> no
[18:24] <sarnold> sumagna: reconnected when unsuspending seems like the kind thing to do ;) most people just want the thing to work
[18:25] <sumagna> no not that
[18:25] <sumagna> i have a script which runs on the wifi
[18:26] <BlueShark_> If I right click on a folder and view its Properties, it shows a size, and if do `du -sh /dir/` it shows a different size. Why is this? Which one is correct?
[18:26] <sumagna> everytime this happens, it gives an error and doesnt do anythinng later
[18:27] <sumagna> so any way to solve this
[18:27] <sumagna> ?
[18:28] <sarnold> sumagna: is the problem that your script doesn't handle transient network failure well?
[18:28] <pavlos> BlueShark_: could it be difference between GB and GiB ?
[18:29] <sumagna> the script is working the way i want it but the reconnecting of wifi whenever i reopen the lid of my laptop is what i want to fix
[18:30] <sumagna> it sometimes stops my downloads
[18:31] <max12345> hello, can I completely avoid snaps?
[18:31] <_Sym_> of course you can
[18:31] <sarnold> max12345: sudo apt purge snapd
[18:32] <max12345> cool, thanks!
[18:33] <sarnold> sumagna: ah, then look at logind.conf manpage, you should be able to configure your system to let it stay running when you close the lid
[18:36] <BlueShark_> pavlos: I don't think so.
[18:36] <sumagna> sarnold: any help?
[18:37] <sumagna> its a bit more information than i can take right now
[18:37] <sarnold> sumagna: yes -- read man logind.conf and look at HandleLidSwitch=
[18:37] <nbusrone> Anyone using nvidia driver on desktop ? Need some help to confirm whether it's a driver issue or ubuntu bug before I going to make a bug report
[18:41] <sumagna> what is the "lock" value for?
[18:41] <sumagna> does it just lock ubuntu?
[18:48] <varu> it seems qemu in ubuntu 20.04 has dropped pulseaudio support, i'm wondering why this was done
[18:50] <varu> this breaks various pa driver fixes for stuttering audio within VMs as pulseaudio now cannot be used; there are workarounds, but they ain't pretty
[18:57] <kinghat> if i have my samba server config set to browseable = yes shouldnt i be able to see it in explorers?
[18:57] <sumagna> hey sarnold,  how to check if the lid thing works or not?
[18:57] <sarnold> sumagna: close the lid and see if your laptop suspends or keeps running :)
[18:57] <sumagna> without restarting any service or anything?
[18:58] <sumagna> sarnold: ?
[18:59] <sarnold> sumagna: argh, that's annoying :( normally systemd manpages are good about those details :( -- try sudo systemctl daemon-reload
[18:59] <sumagna> they didnt say anything about restarting anything after editing the file
[19:01] <sumagna> still did the reconnecting thing
[19:03] <sarnold> sumagna: aww bugger. maybe try a reboot then? :(
[19:04] <ScottHDev> Hello, do you know how could I properly install libgtkmm version 3.24 (and all the dependencies corresponding to this minimum version) in ubuntu bionic (working on a travis CI build)
[19:05] <ScottHDev> *I could
[19:07] <ScottHDev> I could probably just download all the debs from the debian buster repo but not sure if this isn't a good solution
[19:07] <ScottHDev> *but I'm sure it is a bad decision
[19:10] <sarnold> ScottHDev: can you get your CI provider to offer focal instead of bionic?
[19:10] <ScottHDev> travis CI doesn't even support eoan
[19:11] <sarnold> that makes sense, eoan reached end of life last week
[19:11] <ScottHDev> https://docs.travis-ci.com/user/reference/linux
[19:12] <sarnold> I wonder, is there enough horsepower there to use lxd to install a focal container, and then do all your work in that?
[19:13] <ScottHDev> Isn't this a bit overkill for just a GTK+ build
[19:13] <ScottHDev> I thought maybe some APT repos exists for that
[19:13] <ScottHDev> *exist
[19:14] <varu> resolved by passing said fixes to the spice driver, which itself calls upon pulseaudio
[19:15] <varu> would still be nice if decisions like this were documented somewhere, maybe i'm not looking in the right place
[19:17] <sarnold> ScottHDev: yeah it does feel a bit much -- that's why it'd be nice for travis folks to support newer releases :( bummer
[19:17] <younder> Reading Linux kernel development and I have one question. Why does Solaris and openBSD have treads while Linux only mimics them with having processes with shared memory and file handles ?
[19:18] <leftyfb> younder: your question belongs in ##linux
[19:18] <sarnold> younder: or #kernelnewbies on irc.oftc.net -- though I suspect the book you're reading may be too old
[19:19] <younder> sarnold, I t is a reread of a third edition from 2010.
[19:19] <leftyfb> sarnold: unrelated to the above, wasn't there a command in ubuntu that lists all the releases and their support status and such? I can't seem to find it
[19:20] <sarnold> leftyfb: not that I can recall -- you may be remember ubuntu-security-status (focal and newer) or ubuntu-support-status (bionic and earlier)
[19:21] <leftyfb> ubuntu-support-status is for packages
[19:21] <sarnold> leftyfb: every time I want to know which releases are still supported, I head to the wiki https://wiki.ubuntu.com/Releases
[19:22] <leftyfb> yeah, it was a good tool to use in scripts to parse ubuntu versions/codenames and status and such
[19:23] <younder> leftyfb, 'aptcache search' if that is relevant
[19:23] <leftyfb> I remember learning about it here, messing with it and noting (mentally) to use it later on in some scripts. Now I can't for the life of me find it
[19:23] <leftyfb> younder: yup, been down that road. Also apt-file
[19:23] <sarnold> leftyfb: I've seen stuff to ask launchpad for that information..
[19:23] <leftyfb> it might have asked launchpad, not sure
[19:25] <ioria> leftyfb, ubuntu-distro-info ?
[19:26] <sarnold> ooh, neat
[19:26] <leftyfb> bingo
[19:26] <leftyfb> "distro-info" being the package name
[19:26] <sarnold> this is way faster than asking launchpad, too :)
[19:26] <leftyfb> :)
[19:26] <leftyfb> exactly
[19:27] <leftyfb> how did you find it?
[19:27] <ioria> leftyfb, google query . "ubuntu  parse ubuntu versions/codenames and status"
[19:28] <leftyfb> hm, it's got a bug in bionic. "ubuntu-distro-info --lts" only lists focal
[19:28] <ScottHDev> I'll try the docker alternative
[19:28] <leftyfb> and --stable only lists focal
[19:30] <sarnold> I think that's intentional:
[19:30] <sarnold>        --lts  latest long term support (LTS) version
[19:30] <younder> I found a apt-list versions. It seems to list versions available to the current OS version.
[19:30] <younder> apt-list versions
[19:31] <younder> there is supposed to be a - in there but IRC seems to rease it
[19:52] <younder> sarnold, Thanks for the tip on ##linux. That place rocks!
[19:52] <sarnold> younder: that was leftyfb :)
[20:19] <polichouz> Hello there.
 I have a pc which randomly freezes or gets graphics glitches, and on multiple linux distros. Anyone have any good ideas for diagnosing if it's ram, the video card, power supply, or whatever else?  Sometimes the log files show an error, sometimes not.
[21:26] <younder> Two error messages that've showed up multiple times is from Xorg.0.log: "RADEON(0): flip queue failed: Cannot allocate memory" and "RADEON(0): Page flip failed: Cannot allocate memory"
[21:26] <younder> from ##liux. Any ideas?
[21:27] <younder> younder, several, including Debian 10, Ubuntu 19*, and openSUSE.
[21:28] <rjwiii> younder: Are you using multiple monitors?
[21:29] <Bashing-om> younder: A thought: The log file /var/log/gpu-manager.log show all sane ?
[21:33] <younder> Bashing-om, How dis you get a gpu-manager.log?
[21:34] <Bashing-om> younder: cat the file - : cat /var/log/gpu-manager.log ' and will output to your terminal.
[21:34] <rjwiii> younder: Are you using multiple monitors?
[21:35] <compdoc> you might need to install xserver-xorg-video-ati
[21:37] <rjwiii> younder: I noticed you are using a Radeon GPU ...  Are you using multiple monitors?
[21:39] <disillusion> rjwiii, Yes have 2 monitors. But what issue should this be causing? I've used dual monitors for a long time with no problems until a few months ago.
[21:40] <younder> rjwiii, I am forwarding aproblem from disilusion on ##linux
[21:40] <younder> I seems to be a bit late.
[21:41] <rjwiii> disillusion: I had some issues when I got my new System76 Thelio ... if you go to google maps and zoom in and out, does your computer seem to freeze?
[21:42] <rjwiii> disillusion: I have a Radeon GPU, too ...
[21:45] <disillusion> rjwiii, things like Google Earth, youtube HD, and games work fine for a time. This is what makes the problem so difficult to isolate. The problems occur randomly after a session has been active for a while.
[21:46] <disillusion> reboot always fixes the problem, and all intensive graphics applications work fine for a time until the next glitch or freeze.
[21:46] <disillusion> sometimes just logging out and back in fixes it for a time.
[21:47] <rjwiii> disillusion: Check your dmesg for for [powerplay] issues ...
[21:47] <Bashing-om> disillusion: Running out of memory ? what shows ' free -m ' under load ?
[21:52] <disillusion> Bashing-om, this problem happens even when I've tried to keep ram usage at or below 50%.
[21:54] <Bashing-om> disillusion: How much ram is available ? - as most modern systems require 4 gigs as a minimum.
[21:54] <disillusion> rjwiii, I don't see any obvious problems in dmesg. Anything else I should look for in that?
[21:55] <disillusion> Bashing-om, I have over 4 GB ram and have been using linux on the same hardware for a few years now with no problems. This problem started showing up around January.
[21:57] <rjwiii> disillusion: If you don't see any [powerplay] issues, it's not what I think is happening ... I had a BIG issue with my computer locking up while zooming in Google Maps ... Doesn't seem to be the issue here ...
[21:58] <Phatfidy> Hey, I have a question. In Windows you can create .bat files that run scripts in a command prompt. I know you can create .sh files on Linux, but it seems like you have to invoke the script from a terminal, that you can't double click to run (IN A VISIBLE TERMINAL) like you can on Windows. Help D:
[22:00] <sarnold> Phatfidy: if you make a .desktop file for your script, I think setting the 'Terminal' key in the file will ask most launchers to launch a terminal in order to run the script https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
[22:55] <lamiastella> I totally messed up with my system. could someone please help me with respect to CUDA drivers in Ubuntu 20.04 and TensorRT+CuDNN? https://askubuntu.com/questions/1260968/errors-were-encountered-while-processing-libcublas-e-sub-process-usr-bin-dpkg
[23:00] <sarnold> lamiastella: it looks like you're on 20.04 but installed packages (and perhaps repositories?) intended for 18.04
[23:01] <sarnold> lamiastella: check /etc/apt/sources.list /etc/apt/sources.list.d/*.list files for things that look like 18.04 / bionic, etc, and change those to 20.04 / focal etc
[23:03] <lamiastella> yes I made a mistake and noticed it quite late in the process sarnold
[23:03] <lamiastella> how do I fix this https://pastebin.com/9tQbyGyp
[23:04] <sarnold> hmm that's not loading for me, can you stuff it on another psatebin site?
[23:05] <sarnold> oh maybe that wouldn't help..
[23:05] <sarnold> existing tcp sessions / udp seems to be working but that's it :/
[23:05] <lamiastella> sarnold: should I change deb http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64 / to deb http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu2004/x86_64 / ?
[23:06] <sarnold> lamiastella: yes, that's probably a good first step
[23:09] <lamiastella> thanks sarnold what's the next step after editing the list files?
[23:11] <lamiastella> $ sudo apt-get install –f
[23:11] <lamiastella> Reading package lists... Done
[23:11] <lamiastella> Building dependency tree
[23:11] <lamiastella> Reading state information... Done
[23:11] <lamiastella> E: Unable to locate package –f
[23:13] <lamiastella> sarnold: at least fix broken is working now sarnold https://pastebin.com/raw/nRgG0Crr
[23:25] <shibboleth> i've noticed the new kernel packages but nothing on usn?
[23:43] <looting101> if you change repos around you have to apt update
[23:53] <sarnold> shibboleth: kernel usn publication is an involved process, they're coming