[00:26] <blei> I created a keyboard shortcut in Konsole that starts with Ctrl-x. Now konsole doesn't send any shortcuts that start with Ctrl-x to emacs
[00:30] <coraxx> hello there ...here is a question ... how do I create/customize MIME types in Ubuntu ? (10 years ago there was a GUI application called 'assogiate' ... is there an alternative ?
[00:33] <sarnold> coraxx: still no luck? :( I think you might just have to edit the file yourself :(
[00:34] <coraxx> sarnold: hi again ...not editing ... there are to many complication ...or rather some unknowns ...and I need the feature that enables me to copy an existing MIME
[00:36] <coraxx> sarnold: if there is a "safe" way to do it in CLI ... and that safe method has been tested _AFTER_ 2018 (or the release of Ubuntu 18.04) then it will also be fine.
[00:38] <sarnold> coraxx: well, you could add your mime types to /etc/mime.types and everything would work fine, until there's a new mime-support package that modifies the file -- then you'd have to handle your changes
[00:38] <sarnold> coraxx: so it could *seem* fine until you had to upgrade to a new release, when it'd be annoying..
[00:41] <coraxx> sarnold: /etc/mime.types does not contain a descriptor (a match string)
[00:42] <sarnold> coraxx: hmm? afaik these *are* the definitions of mime types..
[00:43] <coraxx> sarnold: they are not as the do not describe the MIME ...on the relation between some file extension and an already defined MIME
[00:43] <coraxx> *on = only
[00:58] <kn100> Hello all - I'm just wondering if anyone has had any success getting the AMDGPU-PRO drivers working on Ubuntu 21.10? The AMDGPU-PRO drivers only officially support LTS releases but I was wondering if there were any workarounds.
[00:58] <sarnold> probably whatever software you're running is only going to support LTS releases, too
[00:59] <kn100> sarnold - that'd be the next problem I'd try to figure out. Right now, the AMDGPU-Pro installer is complaining about a lack of gcc-7 and as far as I can tell nobodies packaged that for 21.10
[01:01] <sarnold> kn100: yup, that was deleted from impish in august https://launchpad.net/ubuntu/+source/gcc-7/+publishinghistory
[01:01] <sarnold> normally commercial software likes to stick to the LTS releases
[01:02] <kn100> Sad days. The OSS drivers are excellent, but was kind of hoping I could get a miner set up to run in the background and heat my flat in a more efficient way than a standard electric heater
[01:02] <kn100> I don't *really* want to downgrade either so I guess I just won't!
[03:44] <test992mobile> Hello
[03:45] <Bashing-om> test992mobile: Welcome to Ubuntu support.
[03:52] <test992mobile> My Android phone is not connect to ubuntu
[03:55] <test992mobile> I need help i need my files
[03:58] <tomreyn> test992mobile: i may not be able to help myself, but i think this would get you closer to it: explain which ubuntu release and variant (if any) you are using, how are you trying to connect to the android phone and access the data on it?
[03:59] <test992mobile> Kubuntu 20.04
[03:59] <test992mobile> Mtp error
[04:01] <tomreyn> if i recall correctly, kubuntu does this differently / has tighter integration with android than the standard gnome-shell / mutter based Ubuntu desktop
[04:01] <tomreyn> so #kubuntu might be right place to ask this indeed
[04:01] <sarnold> are you trying to do USB connection stuff? do you need to enable developer tools on your android phone or is usb to a computer just expected to work on android?
[04:07] <test992mobile> Ubuntu support mtp so it supposed to work
[04:07] <test992mobile> Standard Android file transfer
[04:10] <test992mobile> Can anyone help me please I need to backup my phone so I can root it
[04:12] <test992mobile> I'm thinking of installing windows 11 and using Linux vm
[04:16] <test992mobile> I'm only having  issues
[04:16] <lotuspsychje> test992mobile: did you enable developer mode/usb transfers on your phone?
[04:27] <magic_ninja> what are some good foss cloud service providers? I would like something to replace google drive.
[04:36] <test992mobile> No
[05:02] <KBar> Anyone else getting a "package dependencies cannot be resolved" dialog on 20.04.3?
[05:03] <KBar> https://imgur.com/RH9ucm2.png
[05:07] <Alexey_> Internet music:
[05:07] <Alexey_> http://komplex.psyradio.org:8010/index.html?sid=1
[05:07] <Alexey_> http://komplex.psyradio.org:8020/index.html?sid=1
[05:07] <Alexey_> http://komplex.psyradio.org:8030/index.html?sid=1
[05:07] <Alexey_> http://komplex.psyradio.org:8040/index.html?sid=1
[05:08] <KBar> !ops
[07:06] <KBar> Thanks.
[07:07] <tomreyn> KBar: thank you, too.
[07:27] <lupi> How do you restart netplan? I also tried netplan apply and restart but it does not seem to work. Config is as simple as network.ethernets.enp0s3.dhcp4: true
[07:27] <lupi> :q
[07:27] <lupi> aa crap sorry
[07:33] <lupi> hmm. ok so there seems to be a problem with the routing table. it is empty. how do I set it up?
[07:37] <tomreyn> lupi: if a gateway was provided by dhcp, this would be applied as a default route by netplan, for an interface that's configured to retrieve configuration via dhcpv4
[07:38] <lupi> yeah that's weird. maybe my router is not providing the default gateway that is why it can't seem to set it. the routing table is suddenly empty
[07:43] <tomreyn> i think netplan would log the data it received
[07:47] <lupi> tomreyn, where can I see the logs?
[07:56] <tomreyn> lupi: journalctl -b
[07:58] <KBar> Where can I report package update errors/instabilities? Today's updates to focal want to break dependencies: https://people.canonical.com/~ubuntu-archive/phased-updates.html and https://launchpad.net/ubuntu/+source/mesa/
[08:00] <tomreyn> Report them against the package(s) introducing the breakage, if you can tell. Your bug report will be reassigned, if needed. Use ubuntu-bug.
[08:00] <tomreyn> !bug
[08:02] <lupi> this is weird. why can't it get an ip. i assume just doing dhcp4: true would just get an ip from dhcp and that's it, right?
[08:02] <lupi> I am on the same network and this one im currently using can get an ip
[08:03] <tomreyn> not enough details, consider showing configuration and logs, provide your ubuntu version and variant, if any.
[08:07] <lupi> ls
[08:07] <lupi> aa crap
[08:07] <lupi> yup working on it :)
[08:18] <KBar> tomreyn, I found that it already has a bug report. The new update was released to fix bug #1952083. I'm just going to leave a comment and let others know.
[08:22] <lupi> tomreyn, here are some relevant stuff. routing is empty. enp0s3 is degraded? https://0bin.net/paste/ulxfgK5k#1mJhLa7WRtk4hL+DZBJdOQrsRpssGOYtjjjpgQpnPeC here's a paste. sorry. I still need to recover my paste.ubuntu password to login
[08:26] <lupi> here's a similar paste from paste.ubuntu https://paste.ubuntu.com/p/VJvPXVq7TY/
[08:39] <tomreyn> lupi: no ubuntu version, no logs
[08:40] <tomreyn> use "ip route", not "route"
[08:43] <lupi> gimme a sec. i am taking a screen shot
[08:43] <lupi> yea it's the same with ip route
[08:43] <tomreyn> KBar: it seems unlikely that a package update would depend on a much newer libc version. it is much more likely that you have third party packages causing this to break.
[08:46] <lupi> tomreyn, https://imgur.com/nAtIYyd https://imgur.com/DZypp7T https://imgur.com/37fVDHK https://imgur.com/E9jINvw here you go. sorry I can't copy paste inside virtualbox (vm network is bridged btw)
[08:47] <lupi> it was working before and the host's internet connection got cut off. I got disconnected from ssh and had to restart the vm and then it cannot connect to anything after that.
[08:49] <tomreyn> lupi: you can setup a serial console, then you can have a shell on the guest system even without network connectivity.
[08:50] <lupi> serial console? I was thinking of doing a nat then connect to it directly.
[08:51] <tomreyn> NAT requires networking
[08:52] <tomreyn> https://i.imgur.com/DZypp7T.png seems to indicate that you have a systemd event loop, preventing the network to be configured. have you changed systemd units recently?
[08:53] <lupi> recently? nope
[08:53] <tomreyn> no RFC1918 ("LAN") IPv4/6 addresses are assigned to interface enp0s3
[08:53] <lupi> i'm looking into how to setup a serial console so I could provide you a proper copy of logs
[08:54] <lupi> I am trying to do a dhcp only. not static?
[08:55] <lupi> so I expect it to ask for an IP to the dhcp server then it should connect normally
[08:55] <tomreyn> if it received one, or dhcp actually took place, yes
[08:55] <lupi> I assume "dhcp: true" in netplan is correct, right? I have seen "dhcp: yes" though.
[08:56] <tomreyn> compare to https://netplan.io/examples/
[08:56] <lupi> I also did. netplan apply, netplan try. (with sudo ofc) rebooted vm. also the host.
[08:57] <lupi> should I mentioned renderer too?
[08:59] <tomreyn> i think neplan defaults to networkd, but not sure.
[08:59] <lupi> yeah afaik it defaults to it too
[08:59] <tomreyn> testing whether that's the cause should be simple, though?
[09:02] <lupi> yeah rebooting it right now
[09:04] <lupi> welp it's the same
[09:08] <tomreyn> https://www.virtualbox.org/wiki/Serial_redirect https://docs.oracle.com/en/virtualization/virtualbox/6.1/user/BasicConcepts.html#serialports
[09:09] <tomreyn> https://gist.github.com/snb/284940/11e6354f170be602c9c2f67b59d489ed49ebd143
[09:10] <lupi> tomreyn, what should I look into after getting into the console? journalctl? or syslog?
[09:11] <tomreyn> whichever you have configured / prefer
[09:21] <lupi> tomreyn, currently can't do the serial thing now. I'll try to resolve it tomorrow again. have to go home now. thank you
[09:32] <tomreyn> good luck. make sure also that the VM actually has network connectivity still (try a static configuration), maybe that's the real issue.
[09:32] <tomreyn> lupi: ^
[09:33] <lupi> tomreyn, just configured it to use static and it seems to work. it's really the routing thing I cant ping google.com
[09:33] <lupi> but I can ping the local network
[09:33] <lupi> cant even ping 8.8.8.8 or 192.168.1.1 itself
[09:38] <tomreyn> lupi: the screnshots you had posted did not show a LAN IP address getting configured on the interface. but now you say you can ping the local network, which would suggest that a LAN ip address must have been configured (via DHCPv4, I guess).
[09:38] <tomreyn> see what is being logged about the DHCP lease / configuration received, whether it contains the gateway.
[09:39] <tomreyn> (and the right gateway, and the right LAN address - there could be multiple DHCP servers in your LAN, and maybe the wrong one responds first)
[09:40] <lupi> this ^
[09:40] <lupi> I configured netplan to have a static ip and it seem to work between host <-> guest. but when I ping another machine in the network it cant see it
[09:41] <tomreyn> broken bridging / firewalling configuration on the host
[09:43] <lupi> i dont have firewalls on both sides. and no (network?) bridging afaik.
 [..] (vm network is bridged btw)
[10:05] <lupi> tomreyn, oh yeah crap. I changed vm network to nat and it worked fine. had an IP configured and all that.
[10:07] <tomreyn> i changed something and it stopped working -> undo the change. ;)
[10:08] <KBar> Good advice. Sometimes people panic and change even more configurations. :D
[10:09] <KBar> Don't do that! Just undo the initial changes.
[10:09] <lupi> yeah the thing is ISP network went down. I got out. network got back up. get back home. ssh is disconnected and cant ping the vm. so I restarted and it cant seem to get an ip from dhcp.
[10:41] <xu-irc67w> hello, need help with installing vmware 16, it compains cant load all modules
[10:44] <xu-irc67w> vmmon vmnet wont install
[10:46] <xu-irc67w> Uploaded file: https://uploads.kiwiirc.com/files/66f18626ed4d80d2df9a6cbbc7642354/Plain%20Text1.txt
[10:46] <xu-irc67w> here is the fail log
[10:46] <tomreyn> xu-irc67w: you might want to check for a vmware support channel
[10:47] <xu-irc67w> o:
[10:47] <xu-irc67w> i guess their support isnt free
[10:48] <tomreyn> and i guess this is not a vmware support channel
[10:49] <tomreyn> we can try helping with software in ubuntu, such as kvm-qemu
[10:49] <tomreyn> !alis
[11:37] <silv3r_m00n> hi there, i am using a usb wifi adapter, on my desktop pc and the internet is really slow, the ping results show lots of DUPS, what can i do to fix it, its a D-link usb wifi adapter, tiny little thing, usb 2
[11:37] <silv3r_m00n> dwa-131 is the model name
[11:45] <tomreyn> there are different hardware revisions for dwa-131, with different wireless chipsets. get yours:  lspci -knn | grep -EA3 '(Network|Ethernet) controller' | nc termbin.com 9999
[11:46] <tomreyn> usually this is due to power saving or a bad driver
[11:47] <lotuspsychje> silv3r_m00n: ubuntu release & kernel version might be interesting to know for the volunteers aswell
[11:47] <silv3r_m00n> lotuspsychje: Linux enlightened 5.11.0-40-generic #44-Ubuntu SMP Wed Oct 20 16:16:42 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
[11:48] <silv3r_m00n> tomreyn: http://pastie.org/p/2JNwHuwRBRCnl0MAdc9SfX
[11:49] <silv3r_m00n> http://pastie.org/p/0hn0zYA83QW0eWrtZDcPMK
[11:49] <silv3r_m00n> according to iwconfig, power management is disabled
[11:49] <silv3r_m00n> Off
[11:50] <xu-irc67w> i want to upgrade kernel to 5.13, which files should i download?
[11:50] <xu-irc67w> https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13/
[11:50] <tomreyn> silv3r_m00n: Sorry, we don't support Bodhi Linux here, just Ubuntu
[11:51] <silv3r_m00n> speedtest.net says 3.81 Mbps download speed, whereas i should be getting arround 30
[11:51] <silv3r_m00n> tomreyn: where is bodhi ?
[11:51] <silv3r_m00n> i am using Kubuntu
[11:52] <xu-irc67w> anyone can help
[11:53] <tomreyn> silv3r_m00n: oh, so maybe i got this wrong. "Linux enlightened" sounds like Bodhi.
[11:53] <silv3r_m00n> tomreyn: thats my username on the system, enlightened
[11:53] <silv3r_m00n> :D
[11:53] <tomreyn> whoops, sorry
[11:54] <tomreyn> i need more sleep
[11:54] <silv3r_m00n> i just updated, all packages, so i suppose i have the latest drivers as provided by ubuntu, also this dlink wifi usb adapter, is a pretty popular piece
[11:54] <silv3r_m00n> so it should be supported fine on ubuntu
[11:54] <silv3r_m00n> internet is working, but speed is very slow, pings are very slow
[11:56] <tomreyn> xu-irc67w: for your architecture, locate the image, modules, headers in either the generic or lowlatency variant
[11:56] <tomreyn> xu-irc67w: but you should not do this if you don't know the risks involved. those images should only be used for testing.
[11:57] <tomreyn> silv3r_m00n: bad link quality, maybe it's just far fromt he AP?
[11:57] <silv3r_m00n> about 20 feets max
[11:58] <silv3r_m00n> yes there is a wall in between, but window air path is there
[11:58] <tomreyn> silv3r_m00n: well, does it get the specified throughput when you use it close to the AP?
[11:59] <silv3r_m00n> no, same speed
[11:59] <silv3r_m00n> but ipads, mobiles are pretty fast
[12:00] <tomreyn> silv3r_m00n: can you show the relevant lines form    lsusb    for the wireless dongle?
[12:00] <xu-irc67w> how fast on mobile
[12:07] <tomreyn> silv3r_m00n: i got to go, see you later.
[12:29] <Tob> Hi! Is there a way to launch nmcli and wait until a connection has been established?
[12:29] <Tob> 'nmcli networking on' will start net, but return immideately and 'nmcli networking connectivity check' will show disconnected state, however few seconds later connection will be established, as the process is going on in background.
[12:29] <Tob> Is there a ready way to raise a listener like 'until connection to www is full'? Except writing of while/if/sleep cycle?
[13:25] <trafficjam> guys everytime my ubuntu laptop goes into hibernation, i'm not able to un-hibernate it, only thing that works is turning power off and on again, is this normal?
[13:27] <KBar> trafficjam, Ubuntu version and flavor? `lsb_release -rd`
[13:28] <KBar> trafficjam, hibernation is disabled by default on Ubuntu.
[13:28] <trafficjam> KBar: or sleep or whatever it's called
[13:28] <KBar> trafficjam, well, you have to be more specific.
[13:29] <trafficjam> KBar: Ubuntu 20.04.3 LTS
[13:29] <trafficjam> my os knowledge is not deep enough to differentiate between the two to be honest, but whatever it is that happens by default when you close your lid or the power runs very low
[13:30] <trafficjam> maybe "Suspend" is the correct terminology?
[13:33] <Tob> trafficjam: AFAIR you need swap space amount to be equal to your RAM size. Do have such swap? 'free -h' may show current swap size.
[13:33] <KBar> trafficjam, with hibernate, all information is transferred to your hard drive. With suspend, it stays in RAM.
[13:33] <trafficjam> ah ok, let me check
[13:34] <KBar> trafficjam, which one do you want?
[13:35] <KBar> Tob, not really. I only have 2G of swap with 4G of RAM and I can suspend no problem.
[13:36] <Tob> Suspend is not consuming disk. During hibernate RAM is going to be dumped at SSD or another storage. It's dumped into swap areas.
[13:37] <Tob> Thus, swap size is a blocker for the process. At least.
[13:38] <Tob> SSD is wearing faster if N Gb each time dumped to it.
[13:38] <mncheck> when using -fstype=cifs in automount is there a way to see any log messages produced by mount.cifs when the map itself is seen in `mount` but accessing the mount-point can't access the share?
[13:38] <KBar> trafficjam, read my explanation and question above.
[13:38] <Tob> Swap area may be added as a file.
[13:40] <trafficjam> KBar: i'm honestly which type would be better, i've never thought about the differentiation between the two before
[13:41] <trafficjam> Tob: so i have 14GB ram and 2GB swap apparently
[13:41] <trafficjam> none of my swap is being used it seems though
[13:41] <trafficjam> *not sure which type
[13:42] <KBar> trafficjam, well, hibernate allows you to not care about power outages, but it will wear down your disk drives, especially SSD.
[13:42] <KBar> trafficjam, you will also need to enable it manually because it's disabled on Ubuntu by default.
[13:43] <KBar> trafficjam, swap size shouldn't be a problem, at least for suspend.
[13:43] <trafficjam> i guess suspend should be sufficient then, just can't figure out why it doesn't work
[13:43] <trafficjam> (properly)
[13:44] <KBar> trafficjam, check this official documentation: https://help.ubuntu.com/lts/ubuntu-help/power-suspendfail.html.en
[13:44] <KBar> Also available on your desktop.
[13:44] <trafficjam> thanks
[13:44] <Tob> With hibernation may exist the following question: what to do with keys, passwords, payment tools and so on from RAM, when swap not encrypted, if laptop stolen. In case of suspend and complex password RAM content will disappear on reboot. It's extremely hard to access RAM.
[13:45] <KBar> That's true.
[13:46] <KBar> Hibernate is less secure, at least in my opinion. Correct me if I'm wrong.
[13:46] <trafficjam> security is honestly not a huge concern of mine, nothing critical on this machine
[13:46] <trafficjam> but good to know
[13:47] <BluesKaj> Hi folks
[13:49] <KBar> Good. Could that be possible that your computer somehow loses power, e.g. loose battery slot or loose power cable with no battery, every time you suspend it?
[13:50] <trafficjam> KBar: almost certainly not, many times the powercord has stayed in while i've been away but i still have the same issue
[13:50] <trafficjam> yeah i just closed my lid (power cord is in) and it's not turning on again
[13:50] <trafficjam> so definitely not related to power
[13:51] <KBar> trafficjam, and pressing buttons doesn't wake it up?
[13:51] <trafficjam> nope, has no effect. holding the power button turns it off, after which time i can press it again and it reboots
[13:52] <KBar> trafficjam, what if you press the power button and hold it for 5 to 10 seconds?
[13:52] <trafficjam> KBar: while it's in this "dead" state?
[13:52] <trafficjam> or while its on?
[13:53] <KBar> trafficjam. Yeah, after you open its lid again to wake it up.
[13:53] <KBar> Does it reboot or wake up?
[13:56] <trafficjam> KBar: so if i close the lid and reopen the lid, the power button has that normal pulsing that happens when it's suspended, but quick pressing the power button has no effect. If i hold down on it for 10 seconds, then the laptop turns off. If i quick press it again after that, then it starts up (fresh boot)
[13:58] <KBar> trafficjam, I see. Can you check if suspend is enabled?
[13:59] <KBar> trafficjam, I don't use Ubuntu's default GNOME, so sorry. Just fiddle around and try to find if there's one.
[13:59] <KBar> trafficjam, could be in Power & battery
[13:59] <KBar> Or maybe in Display or Lock
[13:59] <trafficjam> KBar: automatic suspend is enabled "When on battery power"
[14:01] <KBar> trafficjam, aha. Please have a look at this guide.
[14:02] <KBar> And report back.
[14:02] <KBar> https://help.ubuntu.com/stable/ubuntu-help/power-closelid.html.en
[14:03] <trafficjam> KBar: this seems to suggest it's possible suspend does not work with my hardware -> https://help.ubuntu.com/stable/ubuntu-help/power-suspendfail.html.en
[14:03] <trafficjam> maybe it's a ryzen issue?
[14:04] <KBar> It could be, but unlikely.
[14:06] <KBar> trafficjam, it might be just your hardware, but first we need to eliminate all other options.
[14:11] <trafficjam> yeah good point
[14:11] <trafficjam> i've got to head out for a bit, but if i can't figure it out i'll come back on later, thanks again for the help man
[14:13] <KBar> trafficjam, no problem. Tweaks and suspend through the command line are last two methods. Try them.
[14:13] <KBar> See you.
[14:15] <trafficjam> will do, thanks man, take it easy
[14:18] <jStefan> Hello, are ext4 fast commits enabled on a default installation of impish?
[14:23] <KBar> jStefan, isn't this feature available since kernel version 5.10?
[14:24] <KBar> jStefan, Impish uses 5.13, so it should be enabled
[14:25] <jStefan> KBar, hirsute had the kernel, but not the e2fsprogs version. They may have updated the tools, but i'm not sure if the tools use fast commits by default.
[14:26] <jStefan> KBar, so just having the kernel is not enough as hirsute had 5.11(?). but not the tools
[14:26] <KBar> Ah, I see. Well, hopefully someone who uses Impish can answer you.
[14:27] <KBar> I'm on Focal. Prefer stability.:)
[14:27] <jStefan> i'm on focal with hwe kernel
[14:32] <KBar> jStefan, check these changlelogs: http://changelogs.ubuntu.com/changelogs/pool/main/l/linux-meta/linux-meta_5.11.0.41.42/changelog, http://changelogs.ubuntu.com/changelogs/pool/main/l/linux-meta/linux-meta_5.13.0.22.33/changelog
[14:33] <jStefan> KBar, didn't find the words fast nor commit
[14:34] <KBar> mee too :-(
[14:34] <jStefan> KBar, this would be more relevant: http://changelogs.ubuntu.com/changelogs/pool/main/e/e2fsprogs/e2fsprogs_1.46.3-1ubuntu3/changelog
[14:34] <jStefan> but still doesn't state what the default options would be
[14:38] <KBar> For what it's worth, you may wish to grab the source and search for relevant lines.
[14:38] <jStefan> KBar, i have an impish installation for testing, looking at the output of tune2fs -l, I don't see much difference from my older system. But IDK exactly what I would be looking for
[14:40] <KBar> Maybe for the string "default"? If you're lucky, the relevant lines might have comments attached to it.
[14:41] <KBar> I know I've found lots of things that way using Catfish, so.
[14:42] <jStefan> KBar, i used tune2fs to enable the option on the fs and rebooted, let's see
[14:43] <KBar> Fingers crossed.
[14:43] <jStefan> most info on the web say you need to "Create" a new fs, but the info may be outdated
[14:47] <jStefan> KBar, seems it is not enabled on the default installation, but the tools can be used to enable it. I now seem to be getting some information from /proc/fs/ext4/<dev>/fc_info, and it seems to be working
[14:49] <jStefan> focal however can't enable it, it needs e2fsprogs 1.46
[14:50] <jStefan> nor can hirsute
[15:00] <wedr> Currently Ubuntu 20.04 LTS is having frequent intermittent freezes every hour. I just rebooted a few minutes ago. Where do I check for the error logs?
[15:08] <cbreak> wedr: journalctl --since 15:00
[15:08] <cbreak> or something like that
[15:09] <jStefan> wedr, i would check dmesg and /var/log/ too
[15:09] <cbreak> dmesg doesn't survive reboots usually
[15:12] <jStefan> cbreak, but if the problem is still live after a reboot, it may show some information, i did not know about journalctl i usually dig into the individual log files.
[15:15] <wedr> thanks
[15:20] <KBar> jStefan, ah, good too know. Thanks.
[15:43] <Guest54> Hello. I'm trying to find out the version of openldap, but when I use slapd -VV command, I get @(#) $OpenLDAP: slapd  (Ubuntu) (Feb 18 2021 14:22:42) as the output. A fellow in the openldap channel recommended I interrogate my packaging system to see what version it says, but I'm not sure what that entails. Does anyone know how to do that?
[15:43] <leftyfb> Guest54: what version of ubuntu?
[15:47] <Guest54> 18.04
[15:47] <leftyfb> Guest54: apt list --installed |grep ldap
[15:47] <wedr> so the reason why I'm getting frequent crashing is because of nouveau drivers :(
[15:47] <wedr> uh, frequent freezing, not crashing
[15:49] <jStefan> Guest54, the repository for bionic seems to have 2.4.45 (https://packages.ubuntu.com/bionic/slapd)
[15:50] <Guest54> confirm, i see 2.4.45 now, thank you
[15:59] <marc_> How do you install .sh files
[16:00] <mrbrdo> Having a problem with Wifi on Ubuntu Server (headless). If I boot my machine without a LAN cable, the wifi won't connect (I think it associates but doesn't set the IP). As soon as I plug in my LAN cable, the wifi starts working too. I set the IP for both LAN and Wifi as static (in /etc/network/interfaces and for wifi in Netplan). Any idea?
[16:01] <mrbrdo> obviously what I want is to use it with Wifi only. but I don't dare to disable the eth interface because I don't have a monitor on that machine
[16:02] <mrbrdo> Interestingly, if I pull out the LAN cable, wifi will disconnect as well
[16:04] <ioria> mrbrdo, and why are you using two different config  methods ? or /e/n/i or *yaml file
[16:04] <leftyfb> marc_: don't
[16:07] <marc_> why
[16:07] <mrbrdo> ioria: well the eth was already configured in /e/n/i
[16:07] <marc_> its a program from a trusted manufacturer
[16:07] <leftyfb> marc_: point to the file URL you got it from please
[16:08] <leftyfb> mrbrdo: what version of Ubuntu?
[16:08] <mrbrdo> 20.04.3 lts
[16:08] <marc_> https://www.microchip.com/en-us/development-tools-tools-and-software/mplab-x-ide
[16:08] <marc_> its for programming Pic microchips in ASM
[16:09] <marc_> MPLAB X IDE Linux
[16:09] <marc_> https://ww1.microchip.com/downloads/en/DeviceDoc/MPLABX-v5.50(1)-linux-installer.tar
[16:10] <mrbrdo> ioria: I can try to remove the netplan config if you think that will help... I use wpa-supplicant service for wifi
[16:10] <merpnderp> When I reboot my ubuntu server how do I see how long it required to fully reboot?
[16:10] <leftyfb> mrbrdo: you should remove e/n/i (ifupdown) properly
[16:11] <leftyfb> merpnderp: systemd-analyze
[16:11] <mrbrdo> leftyfb: but /e/n/i was already configured for LAN by default
[16:11] <mrbrdo> auto/iface
[16:11] <leftyfb> mrbrdo: what this a fresh install of ubuntu 20.04?
[16:12] <mrbrdo> leftyfb: i installed 16.x and upgraded, because I had problems with the 20.x installer
[16:12] <mrbrdo> but other than that it's fresh
[16:12] <leftyfb> mrbrdo: you should try the non-live installer for 20.04
[16:12] <mrbrdo> leftyfb: I used the installer for ubuntu server, it's not live
[16:13] <mrbrdo> I think at least
[16:13] <marc_> so how do i isntall this .sh file
[16:13] <merpnderp> leftyfb: thanks :)
[16:13] <marc_> install
[16:13] <mrbrdo> leftyfb I would prefer to fix the issue instead of reinstalling, anyway
[16:14] <leftyfb> marc_: bash /location/of/MPLABX-v5.50-linux-installer.sh   # though you really should be contacting the vendor for support with this
[16:14] <leftyfb> marc_: a 592MB .sh file is insane
[16:15] <leftyfb> looks like they have a binary embedded in it
[16:16] <gebbione> hi folks
[16:17] <gebbione> any chance you know how to make a pdf bigger in document viewer?
[16:18] <marc_> leftyfb thanks its installing now
[16:18] <gebbione> it maxes at a certain percentage such as 95% and wont go any bigger
[16:19] <leftyfb> mrbrdo: you have a bit of a mess there with your networking. You either need to get a monitor and keyboard on it for debugging and fixing your networking or to reinstall
[16:23] <mrbrdo> leftyfb: so what do you suggest? remove everything from /e/n/i?
[16:25] <leftyfb> mrbrdo: I suggest getting a monitor and keyboard plugged in to remove /e/n/i and debug further or to reinstall. Working with the networking mess you have there currently while headless and no out of band access is begging for trouble
[16:25] <ioria> mrbrdo, on 16.04 /e/n/i was still a thing and if you do a do-release-upgrade (not a fresh install) you can keep the old config: but mixing the things (espcially on 20.04) is looking for troubles
[16:25] <mrbrdo> I did a do-release-upgrade.
[16:26] <ioria> mrbrdo, i know that
[16:26] <ioria> mrbrdo, i suggest you learn to use and config netplan in yaml files
[16:27] <leftyfb> mrbrdo: http://cdimage.ubuntu.com/ubuntu-legacy-server/releases/20.04/release/ubuntu-20.04.1-legacy-server-amd64.iso
[16:27] <leftyfb> mrbrdo: I highly recommend reinstalling with that image
[16:28] <ioria> mrbrdo, also consider that on a fresh 20.04 install, interfaces file does not even ebxist anymore
[16:28] <mrbrdo> leftyfb: the new installer goes to black screen before language list appears.
[16:28] <leftyfb> mrbrdo: use the one I linked to
[16:31] <mrbrdo> I'm surprised that the official way to upgrade is that broken tbh
[16:31] <mrbrdo> so everyone pre-18.x should just reinstall all their servers instead of upgrading? I don't buy it
[16:32] <leftyfb> mrbrdo: can you get a monitor and keyboard on your machine?
[16:32] <mrbrdo> leftyfb I can but I have to install a graphic card because the integrated outputs won't work for some reason.
[16:32] <ioria> mrbrdo, in my opinion, you don't need to reinstall
[16:33] <leftyfb> mrbrdo: ok, then get a monitor and keyboard on it and then we can proceed to debug
[16:34] <mrbrdo> okay, but then might as well reinstall if I do all that anyway. if the legacy image will work, because the normal one didn't
[16:34] <leftyfb> mrbrdo: ok, good luck
[16:34] <Windy> i have a piece of software that recommends Ubuntu 20.04 and Python3.6.  I previously had 3.6 installed on 18.04 but after upgrade it's not found and I can't seem to install it again
[16:35] <cbreak> Windy: use 3.8 from ubuntu
[16:35] <cbreak> or get some third-party ppa for 3.6
[16:36] <Windy> ok, i'll give it a try.
[16:36] <cbreak> you sure 3.8 doesn't work?
[16:36] <ioria> or virtualenv
[16:36] <Windy> i'm not sure yet.  i had a venv set up with python3.6 and that doesn't seem to work anymore
[16:37] <Windy> I guess I'll try to set it up again with 3.8.  Not ubuntu's fault, but this has been the most painful software upgrade I've ever experienced :(
[16:37] <cbreak> afaik, python breaks ABI compatibility left and right with every minor update
[16:37] <cbreak> so you'd have to get new modules that link to python, creating a new venv
[16:37] <cbreak> but python code itself should work, more or less
[17:07] <louis_> Hello. I recently cleaned up a bunch of packages and after rebooting, the machine no longer connects to a network via DHCP automatically anymore when I plug an ethernet cable in.
[17:07] <louis_> I use this script to get online, and then manually edit /etc/resolv.conf afterwards with proper DNS on each reboot: https://bpa.st/T7NA
[17:07] <louis_> Is there any specific package that probably got yoinked to cause ethernet to not connect via DHCP to the network automatically on boot?
[17:08] <leftyfb> louis_: what version of ubuntu?
[17:09] <louis_> 21.10
[17:09] <leftyfb> louis_: sudo apt install netplan.io
[17:09] <leftyfb> louis_: or maybe: sudo apt install --reinstall netplan.io
[17:09] <leftyfb> louis_: also, is this a desktop or server?
[17:09] <louis_> desktop. thank you very much!
[17:10] <leftyfb> louis_: I can't guarantee that's going to work
[17:10] <louis_> I was being an idiot and trying to install netplan without the .io
[17:19] <mrbrdo> lefty
[17:21] <mrbrdo> leftyfb ioria: the alternate installer worked, but the issue was the same. I had to add optional: true to the netplan LAN config and now it works. So I don't think the issue had anything to do with the release upgrade.
[17:29] <marc_> How can i remove all directories without it prompting i tried rm -r
[17:30] <Thom-Rum> Sudo rm -r
[17:30] <Thom-Rum> Careful though :P
[17:30] <marc_> ok thanks it did it
[17:31] <Tamburino> is the multiverse repository official supported or a 3rd party/community repository?
[17:33] <ducasse> !repos
[17:33] <ducasse> Tamburino: ^^
[17:34] <Tamburino> that doesn't anser my question exactly ducasse
[17:35] <Tamburino> i want to know ith the ubuntu devs/maintainer also maintains the multiverse or are this another people
[17:38] <marc_> if i installed a development program in /opt/ where the manufacturer stated to install it can i somehow make a shortcut that will run the program on the desktop
[17:38] <geeky> sure, make a symlink
[17:38] <ducasse> Tamburino: from the first link "This software is not supported and usually cannot be fixed or updated. Use it at your own risk."
[17:39] <Tamburino> that doesn't mean it is not maintained from the same people
[17:39] <leftyfb> marc_: https://www.howtogeek.com/445303/how-to-create-desktop-shortcuts-on-ubuntu/
[17:39] <marc_> ok thanks
[17:39] <ravage> Tamburino:  see it as an unmaintained repo you use at your own risk without any updates or patches
[17:40] <Tamburino> okay, than it is as usual in any other distro
[17:40] <marc_> i remember symlink in Gentoo but i have forgotten everything as that was at least 13 years ago
[17:40] <marc_> :D
[17:41] <ducasse> marc_: you can set the path to whatever you want in a .desktop file
[17:41] <jhutchins> marc_: symlinks are pretty much the same across any ext filesystem, and the same conventions often extend to different systems under Linux.
[17:41] <Tamburino> was just curious cause in debian it looks like the  non-free is shipped from the distribution
[17:42] <leftyfb> marc_: a symlink is not the correct way to do it
[17:42] <jhutchins> marc_: The one significant difference that comes to mind are Microsoft "shortcuts", which are external to the filesystem iirc.
[17:47] <marc_> It poped into my head and i typed ln -s /opt/microchip/mplabx/v5.50/mplab_platform/bin/mplab_ide and it put the icon on the dektop
[17:47] <marc_> popped
[17:47] <leftyfb> marc_: https://www.howtogeek.com/445303/how-to-create-desktop-shortcuts-on-ubuntu/
[17:47] <leftyfb> marc_: a symlink is not the correct way to do it
[17:48] <geeky> sad that the "correct" way to do it is user unfriendly in comparison
[17:51] <marc_> my god all that just to add an icon
[18:15] <anova> hey all I am on kubuntu instead of ubuntu but I was wondering how to automount as in Windows, trying to make the switch but I need my HDD's to be there when I boot the PC
[18:20] <lotuspsychje_> !info ntfs-3g | anova
[18:21] <BrianHechinger[m> got excited about the pulse audio undate for 21.04 and... it didn't fix my issue. 😭
[18:21] <BrianHechinger[m> I really need to take video of that one day. Trying to explain it doens't do justice to how freakin' weird it is.
[18:24] <anova> lotuspsychje_: ntfs support is already installed with my Kubuntu, but I need the harddisk to be mounted from the moment I boot my PC/Server
[18:24] <anova> Thanks for the reply though, my dutch comrade haha @lotuspsychje_
[18:25] <lotuspsychje_> an fstab mount then anova
[18:25] <lotuspsychje_> !fstab | anova
[19:08] <marc_> Anyone know what compiler i have to install for Asembly language ASM
[19:14] <zenof> marc_: do you by ASM simply mean assembler code (for whatever architecture)? then you might wanna go with the gcc for that machine.
[19:15] <marc_> its for MPLAB IDE assembly langauge programming PIC micros
[19:15] <marc_> I used to do it on windows but now moved to linux
[19:15] <marc_> so trying to setup
[19:27] <zenof> I have an ext4 filesystem (journal off, reserved block count 0)  filled with random data (into a file) until i got the "No space left on device" message. Still 'df' shows a discrepancy of 16376 1K-blocks in total block count vs. used. where do those hide/are occupied?
[19:31] <tomreyn> marc_: compilers for this architecture are available on the microchip website, incl. linux 32-bit ones (and i cannot help you setting them up, but there is vendor documentation on it).
[19:32] <marc_> it was an x8 compiler i found the file and its installing now for 8 bit microchips
[19:33] <marc_> there are 16bit chips and 32 bit so im going to do those as well
[19:40] <marc_> ok brill thansk looks like its all working :))
[19:40] <marc_> thanks
[19:46] <tomreyn> zenof: dump2fs should hint on this. i'm guessin gon superblocks, amongst other.
[20:10] <hans109h> In 21.10 I'm having an issue where application windows are ending up behind the top status bar.   This results in not being able to see the entire application window, and for Firefox, results in the tab bar not being able to be seen.  Anyone else having this issue?
[20:31] <Vaelatern> hey guys, I'm trying to get an Ubuntu live ISO to let me use the full grub> prompt during boot. Editing grub values for the menu is acceptable. I'm booting an amd64 20.04 live-server image. My problem is at best I can get to a boot: prompt, and I could also get to a relatively useless "Advanced mode" where I can modify the kernel cmdline slightly.
[20:38] <Vaelatern> it's weird, esc esc esc enter will get me to a boot: prompt which seems to be less useful than the full grub prompt...
[20:44] <tomreyn> hans109h: top status bar? there should not be one on a default 21.10 - do yuo have a custom configuration?
[20:49] <tomreyn> Vaelatern: booting in uefi mode, right?
[20:50] <ducasse> he must be, legacy mode uses syslinux iirc
[20:50] <tomreyn> In a UEFI booting VM I just booted ubuntu-20.04.3-live-server-amd64.iso in, I got to the Grub menu, then hit escape once, and got the "grub> " prompt
[20:51] <Vaelatern> I'm combing through the qemu settings now to check
[20:53] <tomreyn> ducasse: oh right, good point.
[20:53] <hans109h> tomreyn, this is the gnome bar on top with the activities button, clock, power etc...
[20:53] <tomreyn> hans109h: oh right, the dash, sorry, i got it wrong
[20:55] <hans109h> Ahh, dash, yes.  it's an intermittent problem that results from changing windows, haven't figured out what triggers it yet, but I can un-maximize and window and remaximize it to fix it.
[20:56] <tomreyn> hans109h: i'm not sure why this is happening for you (i don't think it should be, maybe you have a mishebaving non-default gnome-shell extension installed? ) or how you can generally prevent it. but you can hold down the meta (windows) key and click anywhere on the window to move it around - if this helps working around it.
[20:56] <tomreyn> s/click on/drag and drop/
[20:58] <hans109h> Thanks, that's a good tip, I tend to just meta-down meta-up to fix it.  I disabled all shell extensions and it still happens.
[20:59] <hans109h> Is meta-click(drag) supposed to un-maximize a maximized window?
[20:59] <tomreyn> yes
[21:02] <tomreyn> hans109h: maybe re-check anything you (may have) changed in (gnome) tweaks, since this might also have the capability of causing such.
[21:02] <hans109h> I'll take a look.
[21:03] <hans109h> Under appearance I have an exclamation point next to shell, and nothing listed, is this normal?
[21:05] <tomreyn> hans109h: it is on 18.04 LTS, so I assume so.
[22:18] <sweater> Hello, I want to switch java version control to nix / direnv / flakes. To be sure it works, I want to delete all the JREs and JDKs installed on ubuntu. How do I do that?
[22:18] <sweater> Currently, `which java` returns `/usr/bin/java`, which is a symlink, to "alternatives". None of the files belong to any package:
[22:19] <sweater> (I checked with dpkg -S)... I'm kind of at a loss since I don't even know what `/etc/alternatives` are.
[22:20] <sarnold> sweater: /etc/alternatives is an easy way to select which of the dozen different java runtime environments you want to be "java", or which of the dozen vi implementations you want to be "vi", or which of the dozen MTAs you could install you want to be "sendmail", etc
[22:21] <sweater> That's what I felt. I found out `update-alternatives` command, which seems to activate / deactivate alternatives.
[22:21] <sarnold> good good
[22:21] <sweater> But I'm still confused as for why aren't they tracked by dpkg :(
[22:21] <sarnold> because they're created and destroyed by maintainer scripts
[22:22] <sarnold> in conjunction with update-alternatives, for the sysadmin to select as they wish
[22:22] <sarnold> what do you mean by "I want to delete all the JREs and JDKs"?
[22:22] <sarnold> like, purge their packages? or just make the 'java' and 'javac' etc commands useless?
[22:23] <sweater> I would like to make sure that none of the tools, even if they use hardcoded /usr/lib/jvm/.../java would stop working.
[22:24] <sweater> And then I want to use direnv to govern java and, perhaps, throw away the tools that aren't compatible with it.
[22:24] <sweater> Thing is that I'm writing guidelines for our startup and we already are using direnv / nix extensively, so I need to be really sure that whatever I write in the policy document will actually work on the machines of my colleagues.
[22:25] <sweater> I hope that it all makes sense. Currently I'm reading about `update-alternatives --remove`
[22:25] <sarnold> heh, I'm afraid I'm even more confused now :) "make sure that none of the tools ... would stop working"?
[22:26] <sweater> For example, VSCode's java extension should stop working after I'm done.
[22:26] <sweater> I've deleted all the java packages, but VSCode's extension still works.
[22:26] <sweater> I assume that it's because of `/usr/bin/java` symlink.
[22:27] <sarnold> and dpkg -l "openjdk*" agrees that they're all gone?
[22:27] <sweater> Let me check, but IIRC yes.
[22:28] <sweater> I'm afraid I don't know how to read this output, but it's certainly not empty. Let me share a snippet.
[22:29] <sweater> http://sprunge.us/INgfVY
[22:29] <sweater> But the output of `apt list | grep -i jdk | grep installed` is indeed empty.
[22:37] <sweater> Hmm, ok I seem to have managed to remove it. I think there was some dangling package or somesuch. Sorry to bother.
[22:38] <sarnold> sweater: heh, that's pretty empty all right..
[22:41] <sarnold> sweater: I think 'un' means the package is known to dpkg, but never installed; 'rc' means the package was installed and then removed -- this still leaves their configuration files around. you can use apt purge or dpkg --purge to take packages out of the 'rc' state -- and then they won't show up in dpkg -l output at all
[22:49] <Vaelatern> ok, so what if I don't want to boot uefi? If I boot straight BIOS to 20.04? Just looking at what I need to do to make UEFI qemu boot repeatable...
[22:53] <blaaa> is there an irc chat for wsl2?
[22:54] <Vaelatern> how do I get a grub> prompt if I bios boot?
[22:56] <tomreyn> Vaelatern: if that's booting with grub, you'll hold down shift to bring up the grub menu, then just hit escape
[22:59] <Vaelatern> if I hold down shift, I get to the language selection window
[22:59] <blaaa> does wsl2 support intel gpu?
[23:00] <Vaelatern> I can easily get to "ubuntu" "Install Ubuntu Server" "Install Ubuntu server with the HWE kernel" "Test memory" "Boot from first hard disk"
[23:00] <Vaelatern> but not to somewhere useful from there
[23:01] <Vaelatern> I can get there with holding down escape too
[23:02] <Vaelatern> but then tapping `e` doesn't get me to edit the menu entry
[23:10] <tomreyn> Vaelatern: ubuntu server installer doesn't use grub but isolinux for bios boots
[23:10] <Vaelatern> ahh
[23:11] <tomreyn> err syslinux
[23:11] <Vaelatern> isolinux/stdmenu.cfg
[23:12] <tomreyn> well, one of those ;)
[23:13] <Vaelatern> :)
[23:15] <tomreyn> syslinux would be the dos fat + ntfs bootloader, isolinux is, non-surprisingly, for iso 9660. i still did not remember that.
[23:16] <ducasse> you're not alone, tomreyn, and to remember that my brain now had to forget something else
[23:36] <xu-irc92w> hello need help
[23:36] <xu-irc92w> https://paste.ubuntu.com/p/T6tTZN5SCQ/
[23:36] <tomreyn> !ask | xu-irc92w
[23:37] <xu-irc92w> version is xubuntu 22.01, i want to remove linux kernel 5.11
[23:38] <Vaelatern> !ask Vaelatern
[23:38] <Vaelatern> interesting, it needs the pipe
[23:40] <xu-irc92w> will my os be corrupted, if i keep them
[23:42] <Unit193> Vaelatern: https://ubottu.com/ubottu.html#_encyclopedia
[23:43] <leftyfb> xu-irc92w: 22.01 is not a valid version of ubuntu. If you're referring to Ubuntu 22.04, that will not be released for another 5 months and isn't supported here. That said, you are free to removed kernel packages which you aren't running
[23:44] <xu-irc92w> ok
[23:45] <xu-irc92w> how to see if they are not runnin
[23:45] <tomreyn> cat /proc/version_signature is the one that's running
[23:46] <tomreyn> cat /proc/version_signature     is a command you can enter ni a terminal window
[23:53] <Vaelatern> ok, so this problem is interesting. "Failed to execute /init (error -2)"
[23:53] <xu-irc92w> Linux version 5.13.0-051300-generic (kernel@kathleen) (gcc (Ubuntu 10.3.0-4ubuntu1) 10.3.0, GNU ld (GNU Binutils for Ubuntu) 2.36.50.20210618) #202106272333 SMP Sun Jun 27 23:36:43 UTC 2021
[23:53] <xu-irc92w> is this xubuntu 20.4 or 22
[23:54] <Vaelatern> this is with the vanilla boot option, as well as if I try setting an init (it then complains about /bin/bash -2 (not being present)) which is all just weird
[23:55] <tomreyn> xu-irc92w: this is your custom built kernel on we don't know what.   lsb_release -ds   should tell what Os you have installed.
[23:55] <xu-irc92w> cat: /proc/version_signature  no file or dir
[23:56] <tomreyn> cat /proc/version     then
[23:56] <xu-irc92w> Ubuntu Jammy Jellyfish (development branch)
[23:56] <tomreyn> !jammy
[23:56] <xu-irc92w> dev version so its 22.01
[23:57] <tomreyn> no
[23:57] <tomreyn> there is no, and will be, no 22.01 release
[23:58] <xu-irc92w> so is my xubuntu corrupted now
[23:59] <tomreyn> xu-irc92w: "Join #ubuntu-next for support and questions."