/srv/irclogs.ubuntu.com/2020/07/21/#ubuntu.txt

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) ethernet00:00
sarnoldkenwoodfox: *probably* -22 comes from this: $ errno 2200:00
sarnoldEINVAL 22 Invalid argument00:00
lewie67[p]TJ-: Ok, interesting00:01
kenwoodfoxsarnold: 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 request00:01
lewie67[p]TJ-: and on reboot interface is still down00:02
TJ-lewie67[p]: is there a "Wired connection 1" or similar connection? "nmcli con"00:02
sarnoldkenwoodfox: 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, etc00:02
TJ-lewie67[p]: are you relying on netplan to configure it?00:03
kenwoodfoxOh, i found it out,00:03
lewie67[p]TJ-: not intentionally using netplan00:03
kenwoodfoxit was a syntax error00:03
kenwoodfoxthank you sarnold00:03
sarnoldkenwoodfox: hooray :)00:04
lewie67[p]TJ-: nmcli con gives me a "netplan-enp1s0" and "Wired connection 1"00:04
kenwoodfoxlooking up errno 22 brought me to that solution ;300:04
TJ-lewie67[p]: oooo so netplan-enp1s0 would be the one I guess00: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 while00:04
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 dhclient00: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:05
TJ-lewie67[p]: there may be a sublte syntax error in it00: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:06
lewie67[p]TJ-: I'll pastebin both the netplan file and the file in system-connections...hold plesae00:07
TJ-lewie67[p]: thanks00:07
TJ-lewie67[p]: we're on a process of ellimination... reduce the problem space. after this we'll look at the NM log00: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  :P00:08
lewie67[p]TJ-: system-connections file: https://pastebin.com/P6yectp000:09
lewie67[p]TJ-: 01-netcfg.yaml: https://pastebin.com/FPUpgh5X00:09
lewie67[p]I've tried the netcfg file the way it's pasted and with "renderer: NetworkManager" as well, but no bueno either way00:10
TJ-lewie67[p]: "renderer: networkd" should be ^^^^00:10
TJ-lewie67[p]: this line says use systemd-networkd00:10
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:12
lewie67[p]TJ-: So renderer: should be NetworkManager?00:13
TJ-lewie67[p]: for desktops, with NM, yes, always00: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:13
TJ-lewie67[p]: disable it if it is active, for sure00: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
puffsarnold: I have no strong feelings for/against gnome, though I believe xubuntu uses gnome.00:14
lewie67[p]TJ-: /run/systemd/network directory doesn't exist00:15
TJ-puff: Xubuntu uses XFCE400:15
TJ-lewie67[p]: ok, so that suggests systemd-networkd is NOT active? does systemctl confirm that?00:15
puffTJ-: Ah yeah, it justs a lot of gnome apps.00:15
puffTJ-, 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 running00:16
TJ-lewie67[p]: aha!00:16
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 control00:17
lewie67[p]TJ-: sure thing00:17
puffTJ-, 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-networkd00:17
TJ-puff: the 'start' menu in xubuntu has had a text search function for many releases; I've used Xubuntu for 10+ years00:18
puffI 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:18
TJ-puff: I used multiple monitors for that :)00:19
puffHah... yeah.00:19
lewie67[p]TJ-: ok, so netplan says "renderer: NetworkManager", systemd-networkd is disabled, and NetworkManager is running00:19
lewie67[p]TJ-: still the same00:19
puffTJ-: One thing I always wanted was a way to map workspaces to monitors.00:19
sarnoldpuff: 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 environment00:19
lewie67[p]TJ-: no ip on the nic...  :'(00:19
sarnoldentirely00:19
puffsarnold: Thanks.00:19
puffHm, 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 stupid00:20
puffsarnold: hm:  https://extensions.gnome.org/extension/310/alt-tab-workspace/00:21
sarnoldpuff: 20.04 was released ~three months ago00:21
puffsarnold: Is 20.04 LTS?00:21
sarnoldpuff: yes00:21
lewie67[p]TJ-: yes after reboot, and systemd is off, but NetworkManager is active00:21
TJ-lewie67[p]: just a case of drilling down and collecting evidence/facts :)00:21
puffsarnold: Cool... how traumatic is the upgrade likely to be?00:21
lewie67[p]TJ-: Yup, i'm all about learning, just frustrating sometimes  :)00:21
sarnoldpuff: excellent question :) Im' currently upgrading one of my headless machines from 19.10 to 20.0400: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 sane00:22
puffsarnold: Fun.00:22
sarnoldpuff: 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:22
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/svV6FD9900:23
puffsarnold: I know in the past, in debian, the upgrade from one release to another was sometimes less than graceful.00:23
lewie67[p]TJ-: That paste was the nmconneciton file00:24
lewie67[p]i'll get the journal now00:24
sarnoldpuff: yeah, I found something *really* frustrating on a distro to distro upgrade once, it took me hours to put all the pieces back together00:24
puffsarnold: 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-today00:24
puffsarnold: I still need to order a bigger drive for my laptop, maybe I'll upgrade when I get that installed.00:25
sarnoldpuff: ooh :D that sounds like a good plan00:25
sarnoldnew toys!00:25
sarnoldpuff: my guess is that 20.04.1 will probably wait until august00:26
lewie67[p]TJ-: https://pastebin.com/NZQR1X5v00:26
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:29
lewie67[p]TJ-: only one i see is /etc/network/interfaces00:30
TJ-lewie67[p]: what are its content?00:30
lewie67[p]TJ-: there are a series of files in /etc/network/if-{pre,post,up,down}...00:31
puffsarnold: 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 log00:31
TJ-lewie67[p]: ^^ that's from mine00:31
TJ-lewie67[p]: /etc/network/interfaces is the primary config for Debian's ifupdown tools00:32
lewie67[p]TJ-: interfaces file: https://pastebin.com/9juAn4ir00:32
TJ-lewie67[p]: really, ifupdown should not be being seeded/installed00:32
puffsarnold: 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 work00:33
lewie67[p]TJ-: ok...00:33
TJ-lewie67[p]: presumably your preseed is pulling in ifupdown and generating that enp1s0 stanza00:34
lewie67[p]TJ-: Aha! Ok, so network is up on NM restart and reboot00:34
TJ-lewie67[p]: not sure if, with this solved, you'll still need the NM except:type:ethernet to ensure this'll work :D00:34
lewie67[p]TJ-: So now, how to stop the preseed from doing that  :P00:34
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 foreman00:35
TJ-lewie67[p]: aha, so find out if it assumes it should use ifupdown00:35
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-network00:36
tds01: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 boot00:38
tds(and drop the config for enp1s0)00:38
TJ-tds: it needs to lose ifupdown entirely00:39
lewie67[p]tds: thanks...but it looks like lo comes up with that file gone00:39
tdsah, if something else is bringing it up, good good :)00:39
TJ-tds: problem here is that was preventing NetworkManager from managing the i/f00:40
puffHm, I have the gnome-shell firefox add on installed but it's still just offering to download the zip file.00:44
tdsTJ-: yeah; will network-manager correctly handle lo in that situation?00:45
tdsall the ubuntu NM machines i've encountered in the past have still used ifupdown to bring up lo (but nothing else), which seemed curious00: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 NM00:45
TJ-tds: that was just 'legacy'00:45
tdsahh00:45
lewie67[p]hmm, ok i'll give that a shot00: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 well00:46
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:47
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-network00:48
TJ-lewie67[p]: much of the Ubuntu docs copy or extend that00:48
lewie67[p]TJ-: got it, i'll poke around there too. Thanks!00:49
tdsTJ-: aha, TIL NM will bring up lo even when it considers it unmanaged, funky00:50
tdssounds good with zen though, glad it's all sorted, that kernel sounds a bit new and scary ;)00:52
TJ-tds: better than 4.14.187 and good we're able to build our own that includes/excludes to our specific requirements00:55
tdsheh00:55
tdsi got fed up running custom kernels on my routers, very happy to be back on buster-backports now00: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 does00:55
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 it00:56
tdsheh00:57
puffWHen I restart gnome with Alt-F2 does that kill all my GUI apps?00:57
tdsthere 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:57
TJ-tds: I've ordered another Mox for our lab so once that's here... gateway gets to rest :)00:58
puffHm, 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.html00:59
tdsTJ-: is the mox stuff nice?01:00
TJ-tds: oh yeah! totally open hardware to software01:00
TJ-tds: i'll switch to ##networking01:00
tdsi've also got lots of debian routers, that's pretty much entirely containers/VMs for my own infra, and pretty standard servers for $work, though01:00
puffAnd 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:01
lewie67[p]TJ-: Bad news...pulling all the netcfg stuff out of the preseed didn't fix the issue01:05
lewie67[p]TJ-: but at least i know where to look for solving it  :)01:05
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 done01:06
lewie67[p]i verified that systemd-networkd is disabled and not running01:06
TJ-lewie67[p]: "apt list --installed ifupdown"01:06
lewie67[p]but the interfaces file is still there01:07
TJ-lewie67[p]: or just "apt list ifupdown" and see if it has the "installed" keyword01:07
lewie67[p]TJ-: Nope, not installed01:08
TJ-lewie67[p]: so then what/where is /etc/network/interfaces coming from? is ansible doing that?01:08
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 going01:09
TJ-lewie67[p]: what install image are you starting with?01:09
=== zbenjamin is now known as Guest45281
=== zbenjamin_ is now known as zbenjamin
lewie67[p]TJ-: I'm using a mirrored repo cause eventually this will go to a site to reduce bandwidth requirements01:11
lewie67[p]TJ-: there is a /var/log/installer directory01:13
TJ-lewie67[p]: maybe there are clues ?01:13
lewie67[p]TJ-: interesting...  Jul 21 01:03:34 netcfg[13038]: WARNING **: Using /etc/netplan/01-netcfg.yaml01:14
lewie67[p]Jul 21 01:03:34 netcfg[13038]: WARNING **: Using netplan for network config01:14
lewie67[p]but then: Jul 21 01:03:34 finish-install: cp: can't stat '/etc/network/interfaces': No such file or directory01:14
lewie67[p]Jul 21 01:03:34 finish-install: warning: /usr/lib/finish-install.d/55netcfg-copy-config returned error code 101:14
TJ-lewie67[p]: are you (re)installing to a clean VM each time? not inheriting the old /etc/network/interfaces ?01:15
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 weird01:16
TJ-lewie67[p]: well, first, check the timestamp of that file against others? is it from the current boot session?01:23
lewie67[p]TJ-: Yea, it's the correct "wrong time" if that makes sense01:24
lewie67[p]it matches the time on the network i'm testing on01:24
lewie67[p]but i dorpped and recreated the disk just to be sure01:24
TJ-lewie67[p]: OK so created during the current install session01:24
TJ-lewie67[p]: did you say you're creating the VM image using an Ansible playbook, generated by foreman?01:25
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  :O01:27
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
Smaughi 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
Smaugand it gives me out of space errors01:28
Smaugany thoughts?01:28
Smaugtl;dr I have 152G free but am receiving out of space errors01:28
lewie67[p]Smaug: it's probably trying to write logs to /var/log/01:28
lewie67[p]Smaug: if it can't write there it won't work01:29
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
Smauglewie67[p]:  /var/log is 786 M01:30
Smaugtmp is 1 M01:30
Smaugassuming values given by "du -csm" are M01:31
Smauglewie67[p]: what is /var/log/journal ? that takes up 777 of the 78601:32
lewie67[p]Smaug: that's how much space tmp is taking up. but if it's on / that might be your problem01:32
TJ-Smaug: that's the systemd-journald logs01:32
Smaugi see01:32
Smaugso what's the game plan, delete some logs?01:32
Smaughow do i determine what's safe to delte?01:32
TJ-Smaug: give / more space!01:33
Smaugalso good01:33
Smaugis there a good way to do that, ideally from command line, as I am ssh-ing in01:33
TJ-Smaug: are you using LVM, if so, this is trivial to do01:33
Smaughow do I determine that?01:33
lewie67[p]Smaug: how big is /? expanding it is probably the easiest option01:33
TJ-Smaug: does 'df' show paths beginning "/dev/mapper/"01:34
Smaug"/" is currently allocated 24 G01:34
=== blackest_mamba_ is now known as blackest_mamba
lewie67[p]Smaug: ok, so /var/log/journal is not your problem if it's only 777Mb out of 24G01:34
TJ-Smaug: that's large for /, where is the space being used!? try "sudo du -h -d 2 | sort -h"01:34
TJ-Smaug: that'll list the biggest space users last01:35
TJ-oops, typo01:35
TJ-Smaug: try "sudo du -h -d 2 / | sort -h"01:35
SmaugTJ-: it does not.   df -h shows: udev, multiple tmpfs, /dev/nvme0n1p2, /dev/nvme0n1p3, /dev/loop0 through /dev/loop27, /dev/sda01:35
TJ-Smaug: ok, so fixed size partitions makes it difficult to shuffle space around01:36
Smaugbiggest space users in order:01:36
TJ-Smaug: put it in a pastebin01:36
Smaugok01:36
TJ-Smaug: as in  "pastebinit <( sudo du -h -d 2 / | sort -h )"01:36
Smaughere: https://pastebin.com/rDe1tKxT01:38
Smaugremoved the usernames01:38
SmaugTJ-: pasted01:38
TJ-Smaug: snaps!01:40
SmaugTJ-: yes,....?01:41
Smaugi see 'em01:41
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
Smaugcan the snaps be claened up?01:42
TJ-Smaug: as a short term op "sudo apt autoremove" and "sudo apt-get clean" may remove some unneeded files01:43
Smaugbiggest in the var is /var/lib and /var/lib/snapd01:43
Smaugand /var/cache01:43
Smaugthat sounds a likely candidate for removal, no?01:43
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 fs01:44
Smaug- /var /lib is 3.8 G, /var/lib/snapd is 3.3G01:44
TJ-Smaug: the apt commands will clean out the apt /var/cache/ stuff01:44
Smaugi'm open to that01:44
Smaugdo you have links to resources I could read to learn how to bind-mount?01:44
sarnoldSmaug: 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 help01:46
Smaugi am after space, and I don't know much about snaps, your exclamation made me wonder if there was an opportunity there01:46
Smaugor rather, TJ-'s exclamation01:46
Smaugsarnold: thanks for the link01: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 location01:47
Smaugi am on ssh, and would prefer to avoid rebooting since the computer is a desktop in a different location01: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 time01:48
Smaugif it must be done I'll find someone who can assist I suppsoe01:48
Smaugi appreciate you explaining it01:48
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:49
Smaugthanks!  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 running01:50
Smaugalright thanks01:52
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 here01:53
TJ-Smaug: so something more needs to be done I think01:53
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
Smaugok!01:54
looting101why 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:58
looting101now you gotta jerk around with bind mounts on a desktop01:59
zevenarsnaps slow pc01:59
zevenarshe loves snaps the women01:59
zevenarsnaps let her install easily on any linux distro02:00
Smauglooting101: i did not set up the system02:02
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 needed02:08
TJ-Smaug: so you have to do several steps because I don't see a way to tell snap to cleanly unmount everything02:09
Smaugok02:09
Smaugwant to put in a paste? :)02:10
sarnoldTJ-: maybe umount -t squashfs? something?02:10
looting101stopping snap service doesnt? What about disable and reboot?02:11
looting101I never really played with snap since kinda just works02:11
WaVSmaug: have you tried sudo apt autoremove yet to see if anything can be removed to free up space?02:13
looting101oh wow snap is all tied into this ubuntu 20 system i am on.02:13
jwashhi 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:15
looting101copy and paste. history > OUT if want that02:16
SmaugWaV: i did and it worked, but I definitely will record this session in case the issue recurs02:28
Smaugas I fear it may02:28
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
Smaughaha02:33
SmaugTJ-: amazing thank you02:34
=== martian67| is now known as martian67
xbfrogwhy 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 exist03:01
xbfrogi opened ubuntu software03:01
sarnoldxbfrog: 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:03
Bashing-omxbfrog: Any more info from the terminal ' sudo apt update ; sudo apt upgrade ' ?03:04
oerhekshttps://bugs.launchpad.net/snap-store-desktop/+bug/188821903:04
ubottuLaunchpad bug 1888219 in snap-store-desktop "Error opening directory "/usr/share/appdata": No Such file or directory" [Undecided,New]03:04
oerheksOpen System Monitor and search for snap-store; Select the snap-store process and hit End Process; Re-open Ubuntu Software03:04
oerheksfrom https://askubuntu.com/questions/1246668/ubuntu-software-error-error-opening-directory-usr-share-appdata-no-such-fil03:05
zevenarInstalled ubuntu on parents computer03:06
xbfrogyes if you told me i did03:06
zevenarUbuntu works great with a touch screen all-in-one03:07
sarnoldxbfrog: 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:07
xbfrogupdate found, security, launchpad and several others03:08
xbfrogy03:09
xbfrogits updating now03:09
xbfrogit will be a few only 50 percent now03:11
xbfrogok done03:13
xbfrogno ill effects seem to happen i can still install and remove apps03:14
xbfrogok thanks i'll write that down in case it becomes worse03:15
xbfrogthanks again for your help03:17
=== dtux_ is now known as dtux
=== Grldfrdom_ is now known as Grldfrdom
=== Grldfrdom is now known as Grldfrdom_
=== PowerTower_121 is now known as PowerTower_120
=== StathisA_ is now known as StathisA
=== r3m_ is now known as r3m
makarahi. 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 nothing06:12
ajdif 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:13
makarahow can I get the default /etc/manpath.config that is installed in a ubuntu 18.04 distribution?06:32
ossemakara: the file itself?06:52
ossedownload the man-db package and extract it, I suppose06:53
oerheksreinstall man-db i guess.. you did not make a backup, eh?06:54
oerheksdpkg -S /etc/manpath.config # shows man-db06:56
oerheks*hips*06:56
makarayes, thanks06:57
basalthi, 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 page07:10
lotuspsychjebasalt: can you screenshot that please?07:10
basaltany prefered page to upload the img ?07:17
lotuspsychjeimgur sure07:17
basalthttps://imgur.com/i6dEhuV07:19
lotuspsychjebasalt: did you see errors on apt during upgrade?07:20
basaltnot really, but maybe i missed them07:27
lotuspsychje!uptodate | basalt doublecheck07:27
ubottubasalt doublecheck: To ensure you have all the latest known patches and security updates for your ubuntu installation, please update with the following command: `sudo apt update && sudo apt upgrade`. See also !upgrades and !security; you may also need to run `apt full-upgrade`.07:27
basalt0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.07:28
basaltso nothing to update / upgrade and did already reboots07:29
basaltis the upgrade (20.04) log somewhere persisted ?07:29
lotuspsychjebasalt: /var/log/dpkg07:30
basaltthe logs look clean07:34
basalti can paste it, buts its around 16k lines07:38
makaracan I put a quota on disk mounts in /etc/fstab ? A self-imposed quota07:55
knewsbar awl_0 add -before awl_0 -alignment left usercount08:10
thyriaenHiho, i got the following error in dmesg which results in my ethernet-to-usbc adapter not being recognized - any ideas ? https://hastebin.com/yuwupuyevu.css09:11
adacIs there a command line tool that is showing iptables status in a more simply way?09:16
Ben64adac: you can just use ufw09:22
thyriaenHiho, i got the following error in dmesg which results in my ethernet-to-usbc adapter not being recognized - any ideas ? https://hastebin.com/yuwupuyevu.css09:45
anbratenWith 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"09:50
=== TomyLobo2 is now known as TomyWork
PeanutHi, how would one propose that a package gets added to the 'focal-updates' repository?10:39
oerheks!sru10:39
ubottuStable Release Update information is at https://wiki.ubuntu.com/StableReleaseUpdates10:39
oerheksone can file a request for a package, rules are explained there10:40
PeanutAwesome, thanks.10:40
oerhekshave fun!10:40
BluesKajHowdy all10:46
=== mateen1 is now known as mateen
Mr_xhi11:25
Mr_xi 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_xhow to solve that11:26
Mr_xi use ubuntu 20.0411:27
oceanMr_x: it seems that you have two sources (in sources.list) providing weechat. both sources disagree on the right hash value11:30
oceanMr_x: run apt-cache policy weechat11:31
oceanshows which repositories you use that provide weechat package11:31
Mr_xocean: i get this when i run apt-cache policy weechat ------>> https://pastebin.com/bpbxQRub12:36
Mr_xok acean thank you12:37
EriC^^!info weechat 20.0412:38
ubottu'20.04' is not a valid distribution: bionic, bionic-backports, bionic-proposed, cosmic, cosmic-backports, cosmic-proposed, disco, disco-backports, disco-proposed, eoan, eoan-backports, eoan-proposed, focal, focal-backports, focal-proposed, groovy, groovy-backports, groovy-proposed, kubuntu-backports, kubuntu-experimental, kubuntu-updates, partner, precise, precise-backports, precise-proposed, stable, testing, trusty, trusty-backports, trusty-proposed, uns12:38
EriC^^!info weechat focal12:38
ubottuweechat (source: weechat): Fast, light and extensible chat client (metapackage). In component universe, is optional. Version 2.8-1 (focal), package size 2 kB, installed size 75 kB12:38
EriC^^Mr_x: you could try sudo apt-get update and see if that helps12:38
Mr_xEriC^^, i get this ----->> https://pastebin.com/1cG8Xm1312:40
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 agree12:45
EriC^^Mr_x: what does 'apt-cache show weechat' give?12:45
Mr_xhttps://pastebin.com/bpbxQRub12:46
EriC^^Mr_x: apt-cache show      (not policy)12:47
Mr_xEriC^^,  but i already hit Y bout 15 minute ago .. n i get this ------>>  https://pastebin.com/78BWZAHh12:53
analogicalin Window when I press alt+255 I get a blank character how do I create the same blank character in Ubuntu?13:18
ossethat's a non-breaking space13:25
ossetry Alt-space13:25
osseOr AltGr, if you have one of those13:25
analogicalthanks ossë13:30
deltreeyI 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:45
deltreeyalso, unity desktop is super finicky on 20.04, but that is unrelated13:46
rjwiiideltreey: I assume you've tried a different mouse?13:54
rightisleftHi 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
rightislefthttps://stackoverflow.com/questions/62997202/why-isnt-docker-compose-responding-to-sig-signals-to-stop-or-background-the-pr13:57
rightisleftWhen i hit ctrl-z to background the process nothing happens13:59
rightisleftsame with ctrl-c13:59
rightisleftif this is not the right channel, please let me know a better location13:59
rightisleftthanks in advance!13:59
cpachPSA: 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.html14:37
cpachotherwise support for 14.04 will be dropped.14:40
nbusronehi 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:41
Sven_vBI'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
DArqueBishopcpach: 14.04 is no longer supported, so by all rights the better option for those people is to upgrade to a supported release.14:52
Sven_vBnbusrone, have you ensured to uninstall any remains of an old non-wineHQ wine?14:53
Sven_vBnbusrone, oh I see you're in #winehq already, let's talk there then.14:53
nbusroneSven_vB : I never install wine on repository at all.14:54
b100shi2all; what packege brings netcat? `dpkg -S /bin/nc` gives: "dpkg-query: no path found matching pattern /bin/nc"15:01
Peanutb100s: netcat-openbsd. Follow the symlink via /etc/alternatives.15:01
b100sOh! 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:03
PeanutThis is done when there are more packages providing the same functionality.15:04
PeanutTHere's 'ncat', 'netcat', 'netcat-traditional' and 'netcat-openbsd' at first glance.15:04
=== coconut_ is now known as coconut
rjwiiideltreey: I assume you've tried a different mouse?15:07
b100sI 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:08
Peanutb100s: see 'man update-alternatives'15:09
b100sPeanut, 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:12
Sven_vBb100s, if you claim authority over /bin/nc using dpkg-divert, update-alternatives can still operate on /etc/alternatives/nc without interference.15:13
Sven_vBb100s, usually the install instructions come with the source of a program, often a file called "INSTALL" next to "README"15:13
Peanutb100s, in addition to what Sven_vB just said: the netcat-openbsd actually gets its source from (no surprise) OpenBSD.15:17
Peanutb100s: 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
cpachDArqueBishop: good point!15:18
b100sSven_vB, Peanut , thanks a lot! Seems the netcat-openbsd has no INSTALL instructions (https://salsa.debian.org/debian/netcat-openbsd) :(15:22
Sven_vBb100s, maybe you can find help on an openbsd channel15:22
Peanutb100s: But is has a Makefile that you can try and edit to get your desired effect.15:24
b100syup, 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 compiler15:26
Peanutb100s: I'd suggest to read up on 'building debian source packages' first.15:27
rypervenchelamiastella: 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:34
MonkeyDustlamiastella  winff is nice gui to ffmpeg15:36
TomyWorkhttps://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:41
nbusroneSven_vB : sorry ,newbie , how do I explain here about wine package hold ?15:45
nbusronehi I am not able to install wine as in synaptic and wineHQ , some package is holding ?15:45
Sven_vBcan someone explain for nbusrone how to review apt package holds and release unintended ones?15:46
nbusroneSven_vB : nothing on dpkg --get-selections | grep hold15:46
nbusroneSven_vB : https://paste.ubuntu.com/p/4hNTcS4Ht9/15:48
Sven_vBI hope someone else can help you further, because I'll be afk now.15:48
nbusroneSven_vB : can you have a look on the faudio ttps://paste.ubuntu.com/p/4hNTcS4Ht9/15:49
quadrathoch2on which ubuntu version are you? nbusrone15:50
nbusronequadrathoch2: 18.0415:51
quadrathoch2and what does apt policy wine-stable say?15:51
nbusronequadrathoch2: https://paste.ubuntu.com/p/DvqMGFmMpF/15:53
quadrathoch2nbusrone do you want to install the repository version or winehq?15:54
nbusronequadrathoch2: my chat log on wineHQ channel https://paste.ubuntu.com/p/q7zDNnM6vt/15:54
nbusronequadrathoch2: both also fine , since I am not using anything specific for faudio.15:55
quadrathoch2still asking you, which version do you want? nbusrone15:56
quadrathoch2as there is a difference15:56
AlexMaxGood 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 journalctl15:56
AlexMaxhttps://hastebin.com/xagixisile.txt15:56
AlexMaxI got a hard freeze and this was the last message I got in my journal from that boot.15:57
nbusronequadrathoch2: repository version , much stable i assume15:58
quadrathoch2nbusrone then you should remove first the winehq repository, apt update, and then install wine-stable15:59
AlexMaxI have been trying out different kernel versions and mesa drivers to try and rule Linux graphics drivers issues.15:59
AlexMaxbut i first ran into these issues on stock15:59
nbusronequadrathoch2: repository version , much stable i assume16:02
lotuspsychjeAlexMax: you could try #ubuntu-kernel the kernel devs might have an idea what its about16:02
lotuspsychjeAlexMax: please also mention your kernel version to them16:02
quadrathoch2nbusrone as I said, first remove the winehq repository16:06
nbusronequadrathoch2: Should I remove the key too ?16:06
quadrathoch2nbusrone if you want to, I guess, as you remove the repository, you wouldn't need the key16:07
nbusronequadrathoch2: i had remove just now , what should I do next ?16:07
quadrathoch2'sudo apt update' 'sudo apt install wine-stable'16:08
nbusronequadrathoch2: Ok thanks downloading now16:09
quadrathoch2nbusrone yw16:09
cmdrmoozyHi, 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
cmdrmoozyI 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 analyze16:17
ioriacmdrmoozy, 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%20Packages16:27
cmdrmoozyioria: ah, thanks! I wonder why that doesn't show up here? https://packages.ubuntu.com/search?keywords=systemd&searchon=names&suite=focal&section=all16:28
ioriacmdrmoozy, it's out of regular repos16:29
ddstreetyou can also install ubuntu-dev-tools and use pull-lp-ddebs16:29
nbusronequadrathoch2: I can't find my wine under "open with other application" list16:34
nbusronequadrathoch2: I will try and restart16:35
leftyfbwasn't there a command that listed all the leases and such?16:41
leftyfbsorry, "releases"16:43
dontlookhello, is here a good place to ask a subiquity autoinstall question?16:49
dontlookI'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 machine16:50
dontlookused 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 eth016:51
quadrathoch2dontlook I guess #ubuntu-server would be a better place to ask16:54
dontlookquadrathoch2: thanks!  didn't know that was a thing16:55
nbusronequadrathoch2 : there is no wine on "open with other application" but using terminal works .17:08
quadrathoch2nbusrone wine is a terminal application, so I don't know how you would add it to the right click menu17:08
nbusronequadrathoch2 : is it possible to have it in right click menu ?17:09
quadrathoch2nbusrone I guess, but no idea17:10
nbusronequadrathoch2 :  ok17:10
nbusronequadrathoch2 : 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:13
quadrathoch2nbusrone I'm sorry, but I never had a nvidia gpu, so I wouldn't know17:14
nbusronequadrathoch2 : so which pu you are using ? intel or amd ?17:16
quadrathoch2amd, using a desktop17:16
nbusronequadrathoch2 : did you have any issue with brightness adjustment on amd ? like setting brightness on amd driver and get reset ?17:22
quadrathoch2nbusrone I can't really comment on that, as I always used desktops. so no idea17:24
nbusronequadrathoch2 : what do you mean by desktop ?17:25
quadrathoch2https://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 this17:26
nbusronequadrathoch2 : same using desktop not for laptop17:29
nbusronequadrathoch2 : want to confirm it didn't affect amd driver or only on nvidia driver17:29
quadrathoch2nbusrone oO the brightness is controlled by the display, so idk what the driver should interfere17:30
nbusronequadrathoch2 : any application to control the display ?17:31
quadrathoch2nbusrone not as I know of, but there is some command line craze, but never looked into it, as I don't have to adjust brightness17:33
nbusronequadrathoch2 :  At the image,https://i.imgur.com/2TFGdhP.jpg on nvidia setting on desktop,17:35
nbusroneWhen 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:35
quadrathoch2nbusrone sorry, no idea17:36
nbusroneok17:37
nbusroneI anyone using nvidia driver on desktop ?17:38
nbusroneNeed some help to confirm whether it's a driver issue or ubuntu bug before I going to make a bug report17:39
scwooblesI need help removing all php packages17:40
scwooblesnvm I just figured it out17:41
scwooblesI need help to uninstall PHP17:46
bloodfarthello, 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 forth17:46
quadrathoch2scwoobles what issue do you have?17:46
sarnoldbloodfart: lsusb17:47
pavloslsusb -v17:47
sarnoldbloodfart: 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 still17:47
scwooblesquadrathoch2: I need to remove all of my current php which is 7.4 and just install version 7.017:48
bloodfartOkay, 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
scwooblesor 7.117:49
quadrathoch2scwoobles 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 remove17:49
pavlosscwoobles: dpkg -l | grep php and purge all those17:49
bloodfartWhen I plug it in it displays 250GB17:50
pavlosbloodfart: fdisk -l /dev/sdX should be accurate17:52
sarnoldscwoobles: your options are, run xenial to get php7.0, bionic to get php7.2, and focal to get php7.417:53
pavlosscwoobles: there is a repo by ondrej that gave me php7.0 (I needed that version) in bionic17:55
pavlosscwoobles: deb http://ppa.launchpad.net/ondrej/php/ubuntu bionic main17:56
scwooblessarnold: xenial ?17:56
bloodfartThe sectors are off on it. Is it possible to fix the sectors?17:56
sarnoldscwoobles: xenial, 16.04 LTS17:57
scwooblespavlos: to install that package do i need to add it to repo's or can I just use an apt-get17:58
pavlosscwoobles: first I added the repo, did update, then apt install php7.017:59
scwooblessorry, its been 10 years since I have used linux18:00
bloodfartIs there a place where I can download usb firmware?18:02
sarnoldthe linux-firmware package probably has a bunch18:03
sarnoldiirc it's built off of https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/18:03
pavlosbloodfart: sudo fdisk -l /dev/sdX | nc termbin.com 999918:04
bloodfartThanks18:13
sumagnahello18:21
sumagnai want to know if this is a bug or not18:21
sumagnawhenever i close the lid of my laptop and reopen, it suspends(which is not a problem) but18:22
sumagnathe wifi reconnects18:22
sumagnaso is the disconnecting and reconnecting thing a bug?18:23
pavlosno18:24
sarnoldsumagna: reconnected when unsuspending seems like the kind thing to do ;) most people just want the thing to work18:24
sumagnano not that18:25
sumagnai have a script which runs on the wifi18:25
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
sumagnaeverytime this happens, it gives an error and doesnt do anythinng later18:26
sumagnaso any way to solve this18:27
sumagna?18:27
sarnoldsumagna: is the problem that your script doesn't handle transient network failure well?18:28
pavlosBlueShark_: could it be difference between GB and GiB ?18:28
sumagnathe 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 fix18:29
sumagnait sometimes stops my downloads18:30
max12345hello, can I completely avoid snaps?18:31
_Sym_of course you can18:31
sarnoldmax12345: sudo apt purge snapd18:31
max12345cool, thanks!18:32
sarnoldsumagna: ah, then look at logind.conf manpage, you should be able to configure your system to let it stay running when you close the lid18:33
BlueShark_pavlos: I don't think so.18:36
sumagnasarnold: any help?18:36
sumagnaits a bit more information than i can take right now18:37
sarnoldsumagna: yes -- read man logind.conf and look at HandleLidSwitch=18:37
nbusroneAnyone 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 report18:37
=== kostkon__ is now known as kostkon
sumagnawhat is the "lock" value for?18:41
sumagnadoes it just lock ubuntu?18:41
varuit seems qemu in ubuntu 20.04 has dropped pulseaudio support, i'm wondering why this was done18:48
varuthis breaks various pa driver fixes for stuttering audio within VMs as pulseaudio now cannot be used; there are workarounds, but they ain't pretty18:50
kinghatif i have my samba server config set to browseable = yes shouldnt i be able to see it in explorers?18:57
sumagnahey sarnold,  how to check if the lid thing works or not?18:57
sarnoldsumagna: close the lid and see if your laptop suspends or keeps running :)18:57
sumagnawithout restarting any service or anything?18:57
sumagnasarnold: ?18:58
sarnoldsumagna: argh, that's annoying :( normally systemd manpages are good about those details :( -- try sudo systemctl daemon-reload18:59
sumagnathey didnt say anything about restarting anything after editing the file18:59
sumagnastill did the reconnecting thing19:01
sarnoldsumagna: aww bugger. maybe try a reboot then? :(19:03
ScottHDevHello, 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:04
ScottHDev*I could19:05
ScottHDevI could probably just download all the debs from the debian buster repo but not sure if this isn't a good solution19:07
ScottHDev*but I'm sure it is a bad decision19:07
sarnoldScottHDev: can you get your CI provider to offer focal instead of bionic?19:10
ScottHDevtravis CI doesn't even support eoan19:10
sarnoldthat makes sense, eoan reached end of life last week19:11
ScottHDevhttps://docs.travis-ci.com/user/reference/linux19:11
sarnoldI wonder, is there enough horsepower there to use lxd to install a focal container, and then do all your work in that?19:12
ScottHDevIsn't this a bit overkill for just a GTK+ build19:13
ScottHDevI thought maybe some APT repos exists for that19:13
ScottHDev*exist19:13
varuresolved by passing said fixes to the spice driver, which itself calls upon pulseaudio19:14
varuwould still be nice if decisions like this were documented somewhere, maybe i'm not looking in the right place19:15
sarnoldScottHDev: yeah it does feel a bit much -- that's why it'd be nice for travis folks to support newer releases :( bummer19:17
younderReading 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:17
leftyfbyounder: your question belongs in ##linux19:18
sarnoldyounder: or #kernelnewbies on irc.oftc.net -- though I suspect the book you're reading may be too old19:18
youndersarnold, I t is a reread of a third edition from 2010.19:19
leftyfbsarnold: 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 it19:19
sarnoldleftyfb: not that I can recall -- you may be remember ubuntu-security-status (focal and newer) or ubuntu-support-status (bionic and earlier)19:20
leftyfbubuntu-support-status is for packages19:21
sarnoldleftyfb: every time I want to know which releases are still supported, I head to the wiki https://wiki.ubuntu.com/Releases19:21
leftyfbyeah, it was a good tool to use in scripts to parse ubuntu versions/codenames and status and such19:22
younderleftyfb, 'aptcache search' if that is relevant19:23
leftyfbI 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 it19:23
leftyfbyounder: yup, been down that road. Also apt-file19:23
sarnoldleftyfb: I've seen stuff to ask launchpad for that information..19:23
leftyfbit might have asked launchpad, not sure19:23
iorialeftyfb, ubuntu-distro-info ?19:25
sarnoldooh, neat19:26
leftyfbbingo19:26
leftyfb"distro-info" being the package name19:26
sarnoldthis is way faster than asking launchpad, too :)19:26
leftyfb:)19:26
leftyfbexactly19:26
leftyfbhow did you find it?19:27
iorialeftyfb, google query . "ubuntu  parse ubuntu versions/codenames and status"19:27
leftyfbhm, it's got a bug in bionic. "ubuntu-distro-info --lts" only lists focal19:28
ScottHDevI'll try the docker alternative19:28
leftyfband --stable only lists focal19:28
sarnoldI think that's intentional:19:30
sarnold       --lts  latest long term support (LTS) version19:30
younderI found a apt-list versions. It seems to list versions available to the current OS version.19:30
younderapt-list versions19:30
younderthere is supposed to be a - in there but IRC seems to rease it19:31
=== mnemonic is now known as Guest87662
=== semeion_ is now known as mnemonic
youndersarnold, Thanks for the tip on ##linux. That place rocks!19:52
sarnoldyounder: that was leftyfb :)19:52
polichouzHello there.20:19
younder<disillusion> 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
younderTwo 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
younderfrom ##liux. Any ideas?21:26
younderyounder, several, including Debian 10, Ubuntu 19*, and openSUSE.21:27
rjwiiiyounder: Are you using multiple monitors?21:28
Bashing-omyounder: A thought: The log file /var/log/gpu-manager.log show all sane ?21:29
younderBashing-om, How dis you get a gpu-manager.log?21:33
Bashing-omyounder: cat the file - : cat /var/log/gpu-manager.log ' and will output to your terminal.21:34
rjwiiiyounder: Are you using multiple monitors?21:34
compdocyou might need to install xserver-xorg-video-ati21:35
rjwiiiyounder: I noticed you are using a Radeon GPU ...  Are you using multiple monitors?21:37
disillusionrjwiii, 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:39
younderrjwiii, I am forwarding aproblem from disilusion on ##linux21:40
younderI seems to be a bit late.21:40
rjwiiidisillusion: 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:41
rjwiiidisillusion: I have a Radeon GPU, too ...21:42
disillusionrjwiii, 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:45
disillusionreboot always fixes the problem, and all intensive graphics applications work fine for a time until the next glitch or freeze.21:46
disillusionsometimes just logging out and back in fixes it for a time.21:46
rjwiiidisillusion: Check your dmesg for for [powerplay] issues ...21:47
Bashing-omdisillusion: Running out of memory ? what shows ' free -m ' under load ?21:47
disillusionBashing-om, this problem happens even when I've tried to keep ram usage at or below 50%.21:52
Bashing-omdisillusion: How much ram is available ? - as most modern systems require 4 gigs as a minimum.21:54
disillusionrjwiii, I don't see any obvious problems in dmesg. Anything else I should look for in that?21:54
disillusionBashing-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:55
rjwiiidisillusion: 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:57
PhatfidyHey, 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:21:58
sarnoldPhatfidy: 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.html22:00
lamiastellaI 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-dpkg22:55
=== billybigrigger7 is now known as billybigrigger
sarnoldlamiastella: it looks like you're on 20.04 but installed packages (and perhaps repositories?) intended for 18.0423:00
sarnoldlamiastella: 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 etc23:01
lamiastellayes I made a mistake and noticed it quite late in the process sarnold23:03
lamiastellahow do I fix this https://pastebin.com/9tQbyGyp23:03
sarnoldhmm that's not loading for me, can you stuff it on another psatebin site?23:04
sarnoldoh maybe that wouldn't help..23:05
sarnoldexisting tcp sessions / udp seems to be working but that's it :/23:05
lamiastellasarnold: 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:05
sarnoldlamiastella: yes, that's probably a good first step23:06
lamiastellathanks sarnold what's the next step after editing the list files?23:09
lamiastella$ sudo apt-get install –f23:11
lamiastellaReading package lists... Done23:11
lamiastellaBuilding dependency tree23:11
lamiastellaReading state information... Done23:11
lamiastellaE: Unable to locate package –f23:11
lamiastellasarnold: at least fix broken is working now sarnold https://pastebin.com/raw/nRgG0Crr23:13
shibbolethi've noticed the new kernel packages but nothing on usn?23:25
looting101if you change repos around you have to apt update23:43
=== mnemonic is now known as Guest92353
=== semeion_ is now known as mnemonic
sarnoldshibboleth: kernel usn publication is an involved process, they're coming23:53

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