/srv/irclogs.ubuntu.com/2021/12/02/#ubuntu.txt

bleiI created a keyboard shortcut in Konsole that starts with Ctrl-x. Now konsole doesn't send any shortcuts that start with Ctrl-x to emacs00:26
coraxxhello 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:30
sarnoldcoraxx: still no luck? :( I think you might just have to edit the file yourself :(00:33
coraxxsarnold: 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 MIME00:34
coraxxsarnold: 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:36
sarnoldcoraxx: 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 changes00:38
sarnoldcoraxx: so it could *seem* fine until you had to upgrade to a new release, when it'd be annoying..00:38
coraxxsarnold: /etc/mime.types does not contain a descriptor (a match string)00:41
sarnoldcoraxx: hmm? afaik these *are* the definitions of mime types..00:42
coraxxsarnold: they are not as the do not describe the MIME ...on the relation between some file extension and an already defined MIME00:43
coraxx*on = only00:43
kn100Hello 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
sarnoldprobably whatever software you're running is only going to support LTS releases, too00:58
kn100sarnold - 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.1000:59
sarnoldkn100: yup, that was deleted from impish in august https://launchpad.net/ubuntu/+source/gcc-7/+publishinghistory01:01
sarnoldnormally commercial software likes to stick to the LTS releases01:01
kn100Sad 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 heater01:02
kn100I don't *really* want to downgrade either so I guess I just won't!01:02
=== M4he is now known as mahe
=== Loshki_ is now known as Loshki
test992mobileHello03:44
Bashing-omtest992mobile: Welcome to Ubuntu support.03:45
=== gschanuel27 is now known as gschanuel2
test992mobileMy Android phone is not connect to ubuntu03:52
test992mobileI need help i need my files03:55
tomreyntest992mobile: 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:58
test992mobileKubuntu 20.0403:59
test992mobileMtp error03:59
tomreynif i recall correctly, kubuntu does this differently / has tighter integration with android than the standard gnome-shell / mutter based Ubuntu desktop04:01
tomreynso #kubuntu might be right place to ask this indeed04:01
sarnoldare 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:01
test992mobileUbuntu support mtp so it supposed to work04:07
test992mobileStandard Android file transfer04:07
test992mobileCan anyone help me please I need to backup my phone so I can root it04:10
test992mobileI'm thinking of installing windows 11 and using Linux vm04:12
test992mobileI'm only having  issues04:16
lotuspsychjetest992mobile: did you enable developer mode/usb transfers on your phone?04:16
magic_ninjawhat are some good foss cloud service providers? I would like something to replace google drive.04:27
test992mobileNo04:36
KBarAnyone else getting a "package dependencies cannot be resolved" dialog on 20.04.3?05:02
KBarhttps://imgur.com/RH9ucm2.png05:03
Alexey_Internet music:05:07
Alexey_http://komplex.psyradio.org:8010/index.html?sid=105:07
Alexey_http://komplex.psyradio.org:8020/index.html?sid=105:07
Alexey_http://komplex.psyradio.org:8030/index.html?sid=105:07
Alexey_http://komplex.psyradio.org:8040/index.html?sid=105:07
KBar!ops05:08
ubottuHelp! Channel emergency! (ONLY use this trigger in emergencies) - Pici, Myrtti, jrib, Amaranth, tonyyarusso, Nalioth, lamont, CarlK, elky, mneptok, Tm_T, jpds, ikonia, Flannel, wgrant, stdin, h00k, IdleOne, Jordan_U, popey, Corey, ocean, cprofitt, djones, Madpilot, gnomefreak, lhavelund, phunyguy, chu05:08
=== vit is now known as Guest5351
=== Guest5351 is now known as freeworld
KBarThanks.07:06
tomreynKBar: thank you, too.07:07
=== guiverc2 is now known as guiverc
lupiHow 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: true07:27
lupi:q07:27
lupiaa crap sorry07:27
lupihmm. ok so there seems to be a problem with the routing table. it is empty. how do I set it up?07:33
tomreynlupi: 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 dhcpv407:37
lupiyeah 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 empty07:38
=== gschanuel21 is now known as gschanuel2
tomreyni think netplan would log the data it received07:43
lupitomreyn, where can I see the logs?07:47
tomreynlupi: journalctl -b07:56
KBarWhere 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/07:58
tomreynReport 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!bug08:00
ubottuIf you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug <package> » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs.08:00
lupithis 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
lupiI am on the same network and this one im currently using can get an ip08:02
tomreynnot enough details, consider showing configuration and logs, provide your ubuntu version and variant, if any.08:03
lupils08:07
lupiaa crap08:07
lupiyup working on it :)08:07
=== Kholuendara7 is now known as Kholuendara
KBartomreyn, 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:18
ubottuBug 1952083 in amd "Add support for Beige Goby" [Undecided, New] https://launchpad.net/bugs/195208308:18
lupitomreyn, 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 login08:22
lupihere's a similar paste from paste.ubuntu https://paste.ubuntu.com/p/VJvPXVq7TY/08:26
tomreynlupi: no ubuntu version, no logs08:39
tomreynuse "ip route", not "route"08:40
lupigimme a sec. i am taking a screen shot08:43
lupiyea it's the same with ip route08:43
tomreynKBar: 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:43
lupitomreyn, 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:46
lupiit 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:47
tomreynlupi: you can setup a serial console, then you can have a shell on the guest system even without network connectivity.08:49
lupiserial console? I was thinking of doing a nat then connect to it directly.08:50
tomreynNAT requires networking08:51
tomreynhttps://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:52
lupirecently? nope08:53
tomreynno RFC1918 ("LAN") IPv4/6 addresses are assigned to interface enp0s308:53
lupii'm looking into how to setup a serial console so I could provide you a proper copy of logs08:53
lupiI am trying to do a dhcp only. not static?08:54
lupiso I expect it to ask for an IP to the dhcp server then it should connect normally08:55
tomreynif it received one, or dhcp actually took place, yes08:55
lupiI assume "dhcp: true" in netplan is correct, right? I have seen "dhcp: yes" though.08:55
tomreyncompare to https://netplan.io/examples/08:56
lupiI also did. netplan apply, netplan try. (with sudo ofc) rebooted vm. also the host.08:56
lupishould I mentioned renderer too?08:57
tomreyni think neplan defaults to networkd, but not sure.08:59
lupiyeah afaik it defaults to it too08:59
tomreyntesting whether that's the cause should be simple, though?08:59
lupiyeah rebooting it right now09:02
lupiwelp it's the same09:04
tomreynhttps://www.virtualbox.org/wiki/Serial_redirect https://docs.oracle.com/en/virtualization/virtualbox/6.1/user/BasicConcepts.html#serialports09:08
tomreynhttps://gist.github.com/snb/284940/11e6354f170be602c9c2f67b59d489ed49ebd14309:09
lupitomreyn, what should I look into after getting into the console? journalctl? or syslog?09:10
tomreynwhichever you have configured / prefer09:11
lupitomreyn, currently can't do the serial thing now. I'll try to resolve it tomorrow again. have to go home now. thank you09:21
tomreyngood luck. make sure also that the VM actually has network connectivity still (try a static configuration), maybe that's the real issue.09:32
tomreynlupi: ^09:32
lupitomreyn, just configured it to use static and it seems to work. it's really the routing thing I cant ping google.com09:33
lupibut I can ping the local network09:33
lupicant even ping 8.8.8.8 or 192.168.1.1 itself09:33
tomreynlupi: 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
tomreynsee what is being logged about the DHCP lease / configuration received, whether it contains the gateway.09:38
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:39
lupithis ^09:40
lupiI 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 it09:40
tomreynbroken bridging / firewalling configuration on the host09:41
lupii dont have firewalls on both sides. and no (network?) bridging afaik.09:43
tomreyn<lupi> [..] (vm network is bridged btw)09:53
lupitomreyn, oh yeah crap. I changed vm network to nat and it worked fine. had an IP configured and all that.10:05
tomreyni changed something and it stopped working -> undo the change. ;)10:07
KBarGood advice. Sometimes people panic and change even more configurations. :D10:08
KBarDon't do that! Just undo the initial changes.10:09
lupiyeah 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:09
xu-irc67whello, need help with installing vmware 16, it compains cant load all modules10:41
xu-irc67wvmmon vmnet wont install10:44
xu-irc67wUploaded file: https://uploads.kiwiirc.com/files/66f18626ed4d80d2df9a6cbbc7642354/Plain%20Text1.txt10:46
xu-irc67where is the fail log10:46
tomreynxu-irc67w: you might want to check for a vmware support channel10:46
xu-irc67wo:10:47
xu-irc67wi guess their support isnt free10:47
tomreynand i guess this is not a vmware support channel10:48
tomreynwe can try helping with software in ubuntu, such as kvm-qemu10:49
tomreyn!alis10:49
ubottuAlis is an IRC service to help you find channels. For help on using it, see «/msg Alis help list» or ask in #libera - Example usage: «/msg Alis list http»10:49
silv3r_m00nhi 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 211:37
silv3r_m00ndwa-131 is the model name11:37
tomreynthere are different hardware revisions for dwa-131, with different wireless chipsets. get yours:  lspci -knn | grep -EA3 '(Network|Ethernet) controller' | nc termbin.com 999911:45
tomreynusually this is due to power saving or a bad driver11:46
lotuspsychjesilv3r_m00n: ubuntu release & kernel version might be interesting to know for the volunteers aswell11:47
silv3r_m00nlotuspsychje: 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/Linux11:47
silv3r_m00ntomreyn: http://pastie.org/p/2JNwHuwRBRCnl0MAdc9SfX11:48
silv3r_m00nhttp://pastie.org/p/0hn0zYA83QW0eWrtZDcPMK11:49
silv3r_m00naccording to iwconfig, power management is disabled11:49
silv3r_m00nOff11:49
xu-irc67wi want to upgrade kernel to 5.13, which files should i download?11:50
xu-irc67whttps://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13/11:50
tomreynsilv3r_m00n: Sorry, we don't support Bodhi Linux here, just Ubuntu11:50
silv3r_m00nspeedtest.net says 3.81 Mbps download speed, whereas i should be getting arround 3011:51
silv3r_m00ntomreyn: where is bodhi ?11:51
silv3r_m00ni am using Kubuntu11:51
xu-irc67wanyone can help11:52
tomreynsilv3r_m00n: oh, so maybe i got this wrong. "Linux enlightened" sounds like Bodhi.11:53
silv3r_m00ntomreyn: thats my username on the system, enlightened11:53
silv3r_m00n:D11:53
tomreynwhoops, sorry11:53
tomreyni need more sleep11:54
silv3r_m00ni 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 piece11:54
silv3r_m00nso it should be supported fine on ubuntu11:54
silv3r_m00ninternet is working, but speed is very slow, pings are very slow11:54
tomreynxu-irc67w: for your architecture, locate the image, modules, headers in either the generic or lowlatency variant11:56
tomreynxu-irc67w: but you should not do this if you don't know the risks involved. those images should only be used for testing.11:56
tomreynsilv3r_m00n: bad link quality, maybe it's just far fromt he AP?11:57
silv3r_m00nabout 20 feets max11:57
silv3r_m00nyes there is a wall in between, but window air path is there11:58
tomreynsilv3r_m00n: well, does it get the specified throughput when you use it close to the AP?11:58
silv3r_m00nno, same speed11:59
silv3r_m00nbut ipads, mobiles are pretty fast11:59
tomreynsilv3r_m00n: can you show the relevant lines form    lsusb    for the wireless dongle?12:00
xu-irc67whow fast on mobile12:00
tomreynsilv3r_m00n: i got to go, see you later.12:07
=== diskin_ is now known as diskin
TobHi! 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
TobIs there a ready way to raise a listener like 'until connection to www is full'? Except writing of while/if/sleep cycle?12:29
=== jordan is now known as Alabalistic
trafficjamguys 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:25
KBartrafficjam, Ubuntu version and flavor? `lsb_release -rd`13:27
KBartrafficjam, hibernation is disabled by default on Ubuntu.13:28
trafficjamKBar: or sleep or whatever it's called13:28
KBartrafficjam, well, you have to be more specific.13:28
trafficjamKBar: Ubuntu 20.04.3 LTS13:29
trafficjammy 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 low13:29
trafficjammaybe "Suspend" is the correct terminology?13:30
Tobtrafficjam: 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
KBartrafficjam, with hibernate, all information is transferred to your hard drive. With suspend, it stays in RAM.13:33
trafficjamah ok, let me check13:33
KBartrafficjam, which one do you want?13:34
KBarTob, not really. I only have 2G of swap with 4G of RAM and I can suspend no problem.13:35
TobSuspend is not consuming disk. During hibernate RAM is going to be dumped at SSD or another storage. It's dumped into swap areas.13:36
TobThus, swap size is a blocker for the process. At least.13:37
TobSSD is wearing faster if N Gb each time dumped to it.13:38
mncheckwhen 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
KBartrafficjam, read my explanation and question above.13:38
TobSwap area may be added as a file.13:38
trafficjamKBar: i'm honestly which type would be better, i've never thought about the differentiation between the two before13:40
trafficjamTob: so i have 14GB ram and 2GB swap apparently13:41
trafficjamnone of my swap is being used it seems though13:41
trafficjam*not sure which type13:41
KBartrafficjam, well, hibernate allows you to not care about power outages, but it will wear down your disk drives, especially SSD.13:42
KBartrafficjam, you will also need to enable it manually because it's disabled on Ubuntu by default.13:42
KBartrafficjam, swap size shouldn't be a problem, at least for suspend.13:43
trafficjami guess suspend should be sufficient then, just can't figure out why it doesn't work13:43
trafficjam(properly)13:43
KBartrafficjam, check this official documentation: https://help.ubuntu.com/lts/ubuntu-help/power-suspendfail.html.en13:44
KBarAlso available on your desktop.13:44
trafficjamthanks13:44
TobWith 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:44
KBarThat's true.13:45
KBarHibernate is less secure, at least in my opinion. Correct me if I'm wrong.13:46
trafficjamsecurity is honestly not a huge concern of mine, nothing critical on this machine13:46
trafficjambut good to know13:46
BluesKajHi folks13:47
KBarGood. 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:49
trafficjamKBar: almost certainly not, many times the powercord has stayed in while i've been away but i still have the same issue13:50
trafficjamyeah i just closed my lid (power cord is in) and it's not turning on again13:50
trafficjamso definitely not related to power13:50
KBartrafficjam, and pressing buttons doesn't wake it up?13:51
trafficjamnope, has no effect. holding the power button turns it off, after which time i can press it again and it reboots13:51
KBartrafficjam, what if you press the power button and hold it for 5 to 10 seconds?13:52
trafficjamKBar: while it's in this "dead" state?13:52
trafficjamor while its on?13:52
KBartrafficjam. Yeah, after you open its lid again to wake it up.13:53
KBarDoes it reboot or wake up?13:53
trafficjamKBar: 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:56
KBartrafficjam, I see. Can you check if suspend is enabled?13:58
KBartrafficjam, I don't use Ubuntu's default GNOME, so sorry. Just fiddle around and try to find if there's one.13:59
KBartrafficjam, could be in Power & battery13:59
KBarOr maybe in Display or Lock13:59
trafficjamKBar: automatic suspend is enabled "When on battery power"13:59
KBartrafficjam, aha. Please have a look at this guide.14:01
KBarAnd report back.14:02
KBarhttps://help.ubuntu.com/stable/ubuntu-help/power-closelid.html.en14:02
trafficjamKBar: this seems to suggest it's possible suspend does not work with my hardware -> https://help.ubuntu.com/stable/ubuntu-help/power-suspendfail.html.en14:03
trafficjammaybe it's a ryzen issue?14:03
KBarIt could be, but unlikely.14:04
KBartrafficjam, it might be just your hardware, but first we need to eliminate all other options.14:06
trafficjamyeah good point14:11
trafficjami'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 man14:11
KBartrafficjam, no problem. Tweaks and suspend through the command line are last two methods. Try them.14:13
KBarSee you.14:13
trafficjamwill do, thanks man, take it easy14:15
jStefanHello, are ext4 fast commits enabled on a default installation of impish?14:18
KBarjStefan, isn't this feature available since kernel version 5.10?14:23
KBarjStefan, Impish uses 5.13, so it should be enabled14:24
jStefanKBar, 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:25
jStefanKBar, so just having the kernel is not enough as hirsute had 5.11(?). but not the tools14:26
KBarAh, I see. Well, hopefully someone who uses Impish can answer you.14:26
KBarI'm on Focal. Prefer stability.:)14:27
jStefani'm on focal with hwe kernel14:27
KBarjStefan, 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/changelog14:32
jStefanKBar, didn't find the words fast nor commit14:33
KBarmee too :-(14:34
jStefanKBar, this would be more relevant: http://changelogs.ubuntu.com/changelogs/pool/main/e/e2fsprogs/e2fsprogs_1.46.3-1ubuntu3/changelog14:34
jStefanbut still doesn't state what the default options would be14:34
KBarFor what it's worth, you may wish to grab the source and search for relevant lines.14:38
jStefanKBar, 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 for14:38
KBarMaybe for the string "default"? If you're lucky, the relevant lines might have comments attached to it.14:40
KBarI know I've found lots of things that way using Catfish, so.14:41
jStefanKBar, i used tune2fs to enable the option on the fs and rebooted, let's see14:42
KBarFingers crossed.14:43
jStefanmost info on the web say you need to "Create" a new fs, but the info may be outdated14:43
jStefanKBar, 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 working14:47
jStefanfocal however can't enable it, it needs e2fsprogs 1.4614:49
jStefannor can hirsute14:50
wedrCurrently 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:00
cbreakwedr: journalctl --since 15:0015:08
cbreakor something like that15:08
jStefanwedr, i would check dmesg and /var/log/ too15:09
cbreakdmesg doesn't survive reboots usually15:09
jStefancbreak, 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:12
=== rootisnotunix is now known as Artemis
wedrthanks15:15
KBarjStefan, ah, good too know. Thanks.15:20
=== blackest_mamba_ is now known as blackest_mamba
Guest54Hello. 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
leftyfbGuest54: what version of ubuntu?15:43
Guest5418.0415:47
leftyfbGuest54: apt list --installed |grep ldap15:47
wedrso the reason why I'm getting frequent crashing is because of nouveau drivers :(15:47
wedruh, frequent freezing, not crashing15:47
jStefanGuest54, the repository for bionic seems to have 2.4.45 (https://packages.ubuntu.com/bionic/slapd)15:49
Guest54confirm, i see 2.4.45 now, thank you15:50
marc_How do you install .sh files15:59
mrbrdoHaving 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:00
mrbrdoobviously 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 machine16:01
mrbrdoInterestingly, if I pull out the LAN cable, wifi will disconnect as well16:02
ioriamrbrdo, and why are you using two different config  methods ? or /e/n/i or *yaml file16:04
leftyfbmarc_: don't16:04
marc_why16:07
mrbrdoioria: well the eth was already configured in /e/n/i16:07
marc_its a program from a trusted manufacturer16:07
leftyfbmarc_: point to the file URL you got it from please16:07
leftyfbmrbrdo: what version of Ubuntu?16:08
mrbrdo20.04.3 lts16:08
marc_https://www.microchip.com/en-us/development-tools-tools-and-software/mplab-x-ide16:08
marc_its for programming Pic microchips in ASM16:08
marc_MPLAB X IDE Linux16:09
marc_https://ww1.microchip.com/downloads/en/DeviceDoc/MPLABX-v5.50(1)-linux-installer.tar16:09
mrbrdoioria: I can try to remove the netplan config if you think that will help... I use wpa-supplicant service for wifi16:10
merpnderpWhen I reboot my ubuntu server how do I see how long it required to fully reboot?16:10
leftyfbmrbrdo: you should remove e/n/i (ifupdown) properly16:10
leftyfbmerpnderp: systemd-analyze16:11
mrbrdoleftyfb: but /e/n/i was already configured for LAN by default16:11
mrbrdoauto/iface16:11
leftyfbmrbrdo: what this a fresh install of ubuntu 20.04?16:11
=== genii-core is now known as genii
mrbrdoleftyfb: i installed 16.x and upgraded, because I had problems with the 20.x installer16:12
mrbrdobut other than that it's fresh16:12
leftyfbmrbrdo: you should try the non-live installer for 20.0416:12
mrbrdoleftyfb: I used the installer for ubuntu server, it's not live16:12
mrbrdoI think at least16:13
marc_so how do i isntall this .sh file16:13
merpnderpleftyfb: thanks :)16:13
marc_install16:13
mrbrdoleftyfb I would prefer to fix the issue instead of reinstalling, anyway16:13
leftyfbmarc_: bash /location/of/MPLABX-v5.50-linux-installer.sh   # though you really should be contacting the vendor for support with this16:14
leftyfbmarc_: a 592MB .sh file is insane16:14
leftyfblooks like they have a binary embedded in it16:15
gebbionehi folks16:16
gebbioneany chance you know how to make a pdf bigger in document viewer?16:17
marc_leftyfb thanks its installing now16:18
gebbioneit maxes at a certain percentage such as 95% and wont go any bigger16:18
leftyfbmrbrdo: 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 reinstall16:19
mrbrdoleftyfb: so what do you suggest? remove everything from /e/n/i?16:23
leftyfbmrbrdo: 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 trouble16:25
ioriamrbrdo, 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 troubles16:25
mrbrdoI did a do-release-upgrade.16:25
ioriamrbrdo, i know that16:26
ioriamrbrdo, i suggest you learn to use and config netplan in yaml files16:26
leftyfbmrbrdo: http://cdimage.ubuntu.com/ubuntu-legacy-server/releases/20.04/release/ubuntu-20.04.1-legacy-server-amd64.iso16:27
leftyfbmrbrdo: I highly recommend reinstalling with that image16:27
ioriamrbrdo, also consider that on a fresh 20.04 install, interfaces file does not even ebxist anymore16:28
mrbrdoleftyfb: the new installer goes to black screen before language list appears.16:28
leftyfbmrbrdo: use the one I linked to16:28
mrbrdoI'm surprised that the official way to upgrade is that broken tbh16:31
mrbrdoso everyone pre-18.x should just reinstall all their servers instead of upgrading? I don't buy it16:31
leftyfbmrbrdo: can you get a monitor and keyboard on your machine?16:32
mrbrdoleftyfb I can but I have to install a graphic card because the integrated outputs won't work for some reason.16:32
ioriamrbrdo, in my opinion, you don't need to reinstall16:32
leftyfbmrbrdo: ok, then get a monitor and keyboard on it and then we can proceed to debug16:33
mrbrdookay, but then might as well reinstall if I do all that anyway. if the legacy image will work, because the normal one didn't16:34
leftyfbmrbrdo: ok, good luck16:34
Windyi 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 again16:34
cbreakWindy: use 3.8 from ubuntu16:35
cbreakor get some third-party ppa for 3.616:35
Windyok, i'll give it a try.16:36
cbreakyou sure 3.8 doesn't work?16:36
ioriaor virtualenv16:36
Windyi'm not sure yet.  i had a venv set up with python3.6 and that doesn't seem to work anymore16:36
WindyI 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
cbreakafaik, python breaks ABI compatibility left and right with every minor update16:37
cbreakso you'd have to get new modules that link to python, creating a new venv16:37
cbreakbut python code itself should work, more or less16:37
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/T7NA17: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:07
leftyfblouis_: what version of ubuntu?17:08
louis_21.1017:09
leftyfblouis_: sudo apt install netplan.io17:09
leftyfblouis_: or maybe: sudo apt install --reinstall netplan.io17:09
leftyfblouis_: also, is this a desktop or server?17:09
louis_desktop. thank you very much!17:09
leftyfblouis_: I can't guarantee that's going to work17:10
louis_I was being an idiot and trying to install netplan without the .io17:10
=== jordan is now known as Alabalistic
mrbrdolefty17:19
mrbrdoleftyfb 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:21
marc_How can i remove all directories without it prompting i tried rm -r17:29
Thom-RumSudo rm -r17:30
Thom-RumCareful though :P17:30
marc_ok thanks it did it17:30
Tamburinois the multiverse repository official supported or a 3rd party/community repository?17:31
ducasse!repos17:33
ubottuThe packages in Ubuntu are divided into several sections. More information at https://help.ubuntu.com/community/Repositories - See https://wiki.ubuntu.com/RecommendedSources for the recommended way to set up your repositories.17:33
ducasseTamburino: ^^17:33
Tamburinothat doesn't anser my question exactly ducasse17:34
Tamburinoi want to know ith the ubuntu devs/maintainer also maintains the multiverse or are this another people17:35
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 desktop17:38
geekysure, make a symlink17:38
ducasseTamburino: from the first link "This software is not supported and usually cannot be fixed or updated. Use it at your own risk."17:38
Tamburinothat doesn't mean it is not maintained from the same people17:39
leftyfbmarc_: https://www.howtogeek.com/445303/how-to-create-desktop-shortcuts-on-ubuntu/17:39
marc_ok thanks17:39
ravageTamburino:  see it as an unmaintained repo you use at your own risk without any updates or patches17:39
Tamburinookay, than it is as usual in any other distro17:40
marc_i remember symlink in Gentoo but i have forgotten everything as that was at least 13 years ago17:40
marc_:D17:40
ducassemarc_: you can set the path to whatever you want in a .desktop file17:41
jhutchinsmarc_: symlinks are pretty much the same across any ext filesystem, and the same conventions often extend to different systems under Linux.17:41
Tamburinowas just curious cause in debian it looks like the  non-free is shipped from the distribution17:41
leftyfbmarc_: a symlink is not the correct way to do it17:42
jhutchinsmarc_: The one significant difference that comes to mind are Microsoft "shortcuts", which are external to the filesystem iirc.17:42
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 dektop17:47
marc_popped17:47
leftyfbmarc_: https://www.howtogeek.com/445303/how-to-create-desktop-shortcuts-on-ubuntu/17:47
leftyfbmarc_: a symlink is not the correct way to do it17:47
geekysad that the "correct" way to do it is user unfriendly in comparison17:48
marc_my god all that just to add an icon17:51
=== blackest_mamba_ is now known as blackest_mamba
anovahey 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 PC18:15
lotuspsychje_!info ntfs-3g | anova18:20
ubottuanova: ntfs-3g (1:2017.3.23AR.3-3ubuntu5, impish): read/write NTFS driver for FUSE. In component main, is standard. Built by ntfs-3g. Size 396 kB / 1,300 kB. (Only available for linux-any, kfreebsd-any.)18:20
BrianHechinger[mgot excited about the pulse audio undate for 21.04 and... it didn't fix my issue. 😭18:21
BrianHechinger[mI really need to take video of that one day. Trying to explain it doens't do justice to how freakin' weird it is.18:21
anovalotuspsychje_: ntfs support is already installed with my Kubuntu, but I need the harddisk to be mounted from the moment I boot my PC/Server18:24
anovaThanks for the reply though, my dutch comrade haha @lotuspsychje_18:24
lotuspsychje_an fstab mount then anova18:25
lotuspsychje_!fstab | anova18:25
ubottuanova: The /etc/fstab file indicates how drive partitions are to be used or otherwise integrated into the file system. See https://help.ubuntu.com/community/Fstab and http://www.pclosmag.com/html/Issues/200709/page07.html and !Partitions18:25
marc_Anyone know what compiler i have to install for Asembly language ASM19:08
zenofmarc_: do you by ASM simply mean assembler code (for whatever architecture)? then you might wanna go with the gcc for that machine.19:14
marc_its for MPLAB IDE assembly langauge programming PIC micros19:15
marc_I used to do it on windows but now moved to linux19:15
marc_so trying to setup19:15
=== Etua1 is now known as Etua
zenofI 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:27
tomreynmarc_: 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:31
marc_it was an x8 compiler i found the file and its installing now for 8 bit microchips19:32
marc_there are 16bit chips and 32 bit so im going to do those as well19:33
marc_ok brill thansk looks like its all working :))19:40
marc_thanks19:40
tomreynzenof: dump2fs should hint on this. i'm guessin gon superblocks, amongst other.19:46
=== diskin_ is now known as diskin
hans109hIn 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:10
Vaelaternhey 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:31
Vaelaternit'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:38
tomreynhans109h: top status bar? there should not be one on a default 21.10 - do yuo have a custom configuration?20:44
tomreynVaelatern: booting in uefi mode, right?20:49
ducassehe must be, legacy mode uses syslinux iirc20:50
tomreynIn 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> " prompt20:50
VaelaternI'm combing through the qemu settings now to check20:51
tomreynducasse: oh right, good point.20:53
hans109htomreyn, this is the gnome bar on top with the activities button, clock, power etc...20:53
tomreynhans109h: oh right, the dash, sorry, i got it wrong20:53
hans109hAhh, 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:55
tomreynhans109h: 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
tomreyns/click on/drag and drop/20:56
=== dnegreir1 is now known as dnegreira
hans109hThanks, 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:58
hans109hIs meta-click(drag) supposed to un-maximize a maximized window?20:59
tomreynyes20:59
tomreynhans109h: maybe re-check anything you (may have) changed in (gnome) tweaks, since this might also have the capability of causing such.21:02
hans109hI'll take a look.21:02
hans109hUnder appearance I have an exclamation point next to shell, and nothing listed, is this normal?21:03
tomreynhans109h: it is on 18.04 LTS, so I assume so.21:05
=== aaguhagegaooeg is now known as westor
=== westor is now known as Guest7086
sweaterHello, 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
sweaterCurrently, `which java` returns `/usr/bin/java`, which is a symlink, to "alternatives". None of the files belong to any package:22:18
sweater(I checked with dpkg -S)... I'm kind of at a loss since I don't even know what `/etc/alternatives` are.22:19
sarnoldsweater: /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", etc22:20
sweaterThat's what I felt. I found out `update-alternatives` command, which seems to activate / deactivate alternatives.22:21
sarnoldgood good22:21
sweaterBut I'm still confused as for why aren't they tracked by dpkg :(22:21
sarnoldbecause they're created and destroyed by maintainer scripts22:21
sarnoldin conjunction with update-alternatives, for the sysadmin to select as they wish22:22
sarnoldwhat do you mean by "I want to delete all the JREs and JDKs"?22:22
sarnoldlike, purge their packages? or just make the 'java' and 'javac' etc commands useless?22:22
sweaterI would like to make sure that none of the tools, even if they use hardcoded /usr/lib/jvm/.../java would stop working.22:23
sweaterAnd then I want to use direnv to govern java and, perhaps, throw away the tools that aren't compatible with it.22:24
sweaterThing 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:24
sweaterI hope that it all makes sense. Currently I'm reading about `update-alternatives --remove`22:25
sarnoldheh, I'm afraid I'm even more confused now :) "make sure that none of the tools ... would stop working"?22:25
sweaterFor example, VSCode's java extension should stop working after I'm done.22:26
sweaterI've deleted all the java packages, but VSCode's extension still works.22:26
sweaterI assume that it's because of `/usr/bin/java` symlink.22:26
sarnoldand dpkg -l "openjdk*" agrees that they're all gone?22:27
sweaterLet me check, but IIRC yes.22:27
sweaterI'm afraid I don't know how to read this output, but it's certainly not empty. Let me share a snippet.22:28
sweaterhttp://sprunge.us/INgfVY22:29
sweaterBut the output of `apt list | grep -i jdk | grep installed` is indeed empty.22:29
sweaterHmm, ok I seem to have managed to remove it. I think there was some dangling package or somesuch. Sorry to bother.22:37
sarnoldsweater: heh, that's pretty empty all right..22:38
sarnoldsweater: 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 all22:41
Vaelaternok, 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:49
blaaais there an irc chat for wsl2?22:53
Vaelaternhow do I get a grub> prompt if I bios boot?22:54
tomreynVaelatern: if that's booting with grub, you'll hold down shift to bring up the grub menu, then just hit escape22:56
Vaelaternif I hold down shift, I get to the language selection window22:59
blaaadoes wsl2 support intel gpu?22:59
VaelaternI can easily get to "ubuntu" "Install Ubuntu Server" "Install Ubuntu server with the HWE kernel" "Test memory" "Boot from first hard disk"23:00
Vaelaternbut not to somewhere useful from there23:00
VaelaternI can get there with holding down escape too23:01
Vaelaternbut then tapping `e` doesn't get me to edit the menu entry23:02
=== henry404080 is now known as henry40408
tomreynVaelatern: ubuntu server installer doesn't use grub but isolinux for bios boots23:10
Vaelaternahh23:10
tomreynerr syslinux23:11
Vaelaternisolinux/stdmenu.cfg23:11
tomreynwell, one of those ;)23:12
Vaelatern:)23:13
tomreynsyslinux would be the dos fat + ntfs bootloader, isolinux is, non-surprisingly, for iso 9660. i still did not remember that.23:15
ducasseyou're not alone, tomreyn, and to remember that my brain now had to forget something else23:16
xu-irc92whello need help23:36
xu-irc92whttps://paste.ubuntu.com/p/T6tTZN5SCQ/23:36
tomreyn!ask | xu-irc92w23:36
ubottuxu-irc92w: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience23:36
xu-irc92wversion is xubuntu 22.01, i want to remove linux kernel 5.1123:37
Vaelatern!ask Vaelatern23:38
Vaelaterninteresting, it needs the pipe23:38
xu-irc92wwill my os be corrupted, if i keep them23:40
Unit193Vaelatern: https://ubottu.com/ubottu.html#_encyclopedia23:42
leftyfbxu-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 running23:43
xu-irc92wok23:44
xu-irc92whow to see if they are not runnin23:45
tomreyncat /proc/version_signature is the one that's running23:45
tomreyncat /proc/version_signature     is a command you can enter ni a terminal window23:46
Vaelaternok, so this problem is interesting. "Failed to execute /init (error -2)"23:53
xu-irc92wLinux 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 202123:53
xu-irc92wis this xubuntu 20.4 or 2223:53
Vaelaternthis 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 weird23:54
tomreynxu-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-irc92wcat: /proc/version_signature  no file or dir23:55
tomreyncat /proc/version     then23:56
xu-irc92wUbuntu Jammy Jellyfish (development branch)23:56
tomreyn!jammy23:56
ubottuUbuntu 22.04 (Jammy Jellyfish) will be the 36th release of Ubuntu, scheduled for release April 2022 (https://ubottu.com/y/jj). Join #ubuntu-next for support and questions.23:56
xu-irc92wdev version so its 22.0123:56
tomreynno23:57
tomreynthere is no, and will be, no 22.01 release23:57
xu-irc92wso is my xubuntu corrupted now23:58
tomreynxu-irc92w: "Join #ubuntu-next for support and questions."23:59

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