[00:00] o/ [00:00] \o === Juan- is now known as Juan [00:12] Hello, will altVR work in ubuntu? [00:13] Hello. Will altspaceVR work in ubuntu? [00:13] can you get it from the repo? [00:14] Well I saw they have a github.. Will it work if I clone from there? [00:16] mago, url? [00:16] https://docs.microsoft.com/en-us/windows/mixed-reality/altspace-vr/getting-started/system-requirements [00:16] if it is not in our repos, we officially do no support it. [00:16] looks like a no [00:16] It seems its all for windows, thats what i thought.. [00:16] oerheks they have this github: https://github.com/orgs/AltspaceVR/repositories [00:16] you could try it with wine but I wouldn't spend any money on trying it.. [00:19] Someone stole my nick? But i have it registered.. [00:20] how is that an ubuntu support issue? [00:20] you seem like logged in [00:20] Well that was not ubuntu related, ill give you that.. [00:22] sarnold It's been on pause. I started getting frustrated and hungry, so I ate. Now I'm back. === Mago84 is now known as mago [00:22] Guest94: woo, I think I did much the same :) lunch and then a few meetings.. [00:23] I've wasted the entire day on this. [00:24] somebody wanted me to modify grub.cfg and start from there instead of what you suggested. That's more or less when I took a break. [00:25] sarnold I'm not even really sure what he wanted me to do or how it would help. [00:25] Going back to AltspaceVR will the mac version work easier in Ubuntu than the windows one? [00:25] they may have had a good reason for their suggestion; my suggestion was based on the strong hope that you were 100% right by nailing it down to the kernel packages [00:25] Did you see the packages I posted? [00:25] downgrading 5.11 on 20.04 ,.. [00:26] yes, that's what I need to do. Downgrade back to 5.8 [00:26] i'd say reinstall [00:26] And then after that, I have no idea how I'm supposed to get updates. [00:26] oerheks ugh. Why? [00:28] did you use the testing kernels ? or linux-hwe-5.11 from the ppa kernel team [00:28] I used whatever came down. But I can be more specific.... https://paste.ubuntu.com/p/z9CwgRjpVW/ [00:33] yay for specifics :) that's indeed the HWE kernel stack, it matches what's in my apt lists from yesterday [00:33] (my archive mirror is off at the moment, so I'm a day out of date) [00:36] log from /var/log/dpkg.log https://paste.ubuntu.com/p/cndsnPTXRR/ [00:37] so... do I proceed with the sarnold plan? [00:39] Guest94: well, hard to say. I can see some real benefit to the idea of modifying the grub configuration so that you ought to be able to more easily select fallback kernels, etc [00:39] OK [00:39] What do I modify? [00:39] Guest94: I'd suggest doing that by editing /etc/default/grub instead of the grub.cfg file [00:40] ok [00:41] Guest94: I'm not 100% sure what to put in there, this is what I've got in mine: https://paste.ubuntu.com/p/WY87qg8YzB/ and I think the GRUB_TIMEOUT=5 is most immediately useful, but perhaps some of the others are important in your case [00:41] This is the file I was looking for! I couldn't find it before, didn't know where it was or what it was called but... this is more or less the contents I couldn't seem to find. Thanks! [00:42] It's the quiet splash for one thing... [00:44] and this GRUB_TIMEOUT_STYLE=hidden [00:44] I think [00:46] I wish I had kept better notes of which changes I introduced vs what was already there :) [00:46] Guest94: My grub file " GRUB_TIMEOUT_STYLE=menu " As I do multi-boot and I want to always see the menu. [00:46] Bashing-om Thank you! I was just searching through the info doc and not finding it. [00:46] sarnold: I do have my original grub file - want it ? [00:47] Bashing-om: oh that'd be handy yeah, thanks :) [00:49] sarnold: Guest94: My original grub file: https://termbin.com/w69i . [00:50] ok, running update-grub unless someone has an objection? [00:50] Bashing-om: man I mangled mine. heh. thanks [00:52] sarnold: Should see how I have mangled up mine - I make it a practice to alwsys make a back-up of any system file I edit :D [00:52] Seeing no objections... I am now running update-grub [00:54] I wish someone had objected... I'm not in the chroot environment. [00:54] Luckily, I didn't run it. [00:54] Phew [00:54] So.... is this going to work w/out running update-grub? [00:55] Guest94: My excuse - I have not kept a close eye on what you are doing :P [00:55] No... I guess I need to chroot [00:55] Bashing-om Nobody is. Good thing I don't have any matches. [00:55] Guest94: nice catch :) [00:56] so we agree on chroot then? [00:56] yes === Starmina_ is now known as Starmina [01:06] ok [01:07] were you able to get to a menu of previous kernels with this change? [01:07] or did it all go even more sideways? [01:07] not ready yet [01:07] aha [01:08] busy losing my mind === y0sh| is now known as y0sh- === y0sh- is now known as y0sh_ [01:18] argh [01:19] sarnold https://paste.ubuntu.com/p/HFG6XZgh6v/ [01:19] Guest94: hmm, did mounting your root filesystem on to /mnt fail? [01:20] I was wondering how it was supposed to be mounted! Let me add that in. [01:21] sarnold OK, that worked... as far as all the errors are concerned. [01:23] Guest94: good good [01:24] OK, I have entered the environment [01:24] expected device mounted on root. So far so good. [01:25] so.... grub-update here? [01:25] just to double-check, did you edit the /etc/default/grub that's in this chroot environment? [01:26] sarnold Yes. Thank you for making it easy. Bouncing back and forth between files let alone environments is confusing. [01:27] So... grub-update. [01:27] update-grub [01:27] which of course isn't in the environment :/ [01:28] on my focal system, it's in /usr/sbin/update-grub [01:28] uh oh... grub or grub2? [01:29] on my system, update-grub2 is a symlink to update-grub [01:29] let me verify [01:30] yes, same here [01:30] here goes. === keypushe- is now known as keypusher [01:33] sarnold https://paste.ubuntu.com/p/jSkJSyJ6xr/ [01:34] sdd1 appears to be my CDROM so, that's fine I guess. [01:35] maybe run it again after I reboot? [01:35] Guest94: woo, looks promising [01:36] Guest94: I'm a bit surprised by the 16.04 messages, but maybe that makes sense. heh. [01:36] Guest94: you probably don't need to re-run it after the reboot [01:36] I have multiple disks, I've not yet cleaned out the older ones. [01:36] cool [01:36] then it makes sense :D [01:36] well I presume I want to get my cdrom in there too? [01:37] Nah, I guess that doesn't matter. [01:37] I don't boot off that drive. [01:37] nah, that probably won't happen much :) [01:37] and you can always fiddle with uefi boot order in case you're actually booting to a cd [01:37] besides... it will fix itself next kernel update [01:37] ok, so... reboot now? [01:37] I think so, yeah [01:38] OK, see you on the other side. Back soon I hope. [01:53] On a machine with 1 cpu and 4 real cores (with hyper threading enabled 8 cores), when I look at the cpu load averages, should I measure it against the 4 real cores or the 8 hyper threaded cores? [01:54] neither [01:55] alzgh: well, it's not exactly related... load average shows you how many processes are runnable or waiting for .. long IO? disk IO? something similar .. and doesn't really matter about how many CPUs are online to run those processes [01:57] sarnold Still won't boot. still doesn't show menu. Just a blank screen after I choose the boot device. With that said, I'm exhausted and exasperated and I need a nap. Appreciate you and everyone else helping. BBL [01:57] Guest94: dang :( twenty minutes, I was getting worried, heh [01:57] Guest94: good luck [01:57] sarnold I'm talking about load average from `top`s first line. Doesn't a "1" in the load average roughly corresponds to on cpu core load of work? [01:58] I mean the 1 minute, 5 minute, and 15 minute from `top`'s first line. [01:58] alzgh: it could also be one process stuck waiting on disk io, waking up, doing something with it, then doing another disk io [02:00] this would even out when we look at the 15 minute average, no? [02:00] it depends what the processes are doing and for how long they do it :) [02:00] true [02:00] it's just one way of viewing the system, and it's not really the most useful [02:01] I think it was more useful on other unix systems but even then, it's a pretty minimal view of things [02:02] for example, when I got a dual-xeon system, I did a bunch of kernel compiles to try to figure out what it could do, and running "make -j 300" in the kernel sources gave me the *best* performance; it brought the load average around 300 for almost three minutes, but it was the fastest; I only had 16 cores, 32 threads. [02:05] That makes sense sarnold. What other more reliable ways are there to monitor a system for resources? [02:07] vmstat 1 is very handy -- it shows runnable and blocked processes, a rough guideline of how memory and swap is being used, how much disk traffic there is, and percentages of cpu utilization [02:07] oh yeah, I prefer vmstat -w 1 .. I'm not quite accustomed to it yet :) [02:08] I've heard good things about the netdata package, some screenshots on https://github.com/netdata/netdata [02:09] and this suite of tools (in the bpfcc-tools package) is fantastic for seeing different cross-sections of your computer https://github.com/iovisor/bcc#tools [02:09] but there's dozens or hundreds of choices, all with various pros and cons [02:10] I'm off for the night, have fun :) [02:10] thanks, this gives me a good start [02:10] good night [02:11] o/ :) [02:49] does ubuntu not let you set up encrypted LVM via the manual installer anymore? I tried on 21.04 and I can choose "physical volume for encryption" but there's nothing related to LVM before or after [03:32] Hello [03:33] Does any one know about RUBERHOUSE? [03:33] Is the file System from julian assange. [03:40] Does not compute. [03:41] i know of one package called "surf raw" originally maintained by assange [06:18] * ash_worksi hopes people are alive atm [06:40] ash_worksi: just ask your question :-) [06:41] polve: haha, sorry, yes, I was going to but got distracted by another channel :P === frickenate is now known as frickenate_ [06:42] it was recommended that I use `shopt -u progcomp` in order to ease tab-completion for tedious file prefixes (timestamps); seeing as how ymmv between linux distros I wanted to check with the pros if they thought that was a good idea? [06:46] understand that I use ubuntu pretty close to just out-of-the-box; so when it comes to such a recommendation I get afraid that it might intefere with other ubuntu-specific niceties [06:46] I just purge bash-completion instead === frickenate_ is now known as frickenate [06:47] The system won't be affected in any case, it's just about your own personal preference... [06:49] geirha: what do you mean by 'purge' ? [06:51] ash_worksi: sudo apt purge bash-completion [06:51] I.e. uninstall the bash completion package [06:51] I see [06:52] that shopt does kill docker autocomplete [06:52] you can probably override the completions for that single command [06:53] assuming bash-completion does not override it again [06:53] complete -o default -o bashdefault ymmv [06:56] geirha: is that assuming i use the shopt ? [06:56] no, the shopt disables programmable completion completely, leaving you with default completions for all commands [06:57] okay; so the idea is supposed to be `complete -o ... ls_or_something` ? [06:57] oh no, I see [06:57] I think [07:02] ah, I somehow read ymmv as the command with broken completions [07:02] so if it's for multiple commands, then maybe the shopt is a good idea. You can re-enable it with -s instead of -u [07:10] geirha: yeah; well, it's only when I jump into a directory with timestamp prefixes [07:11] I just hate that I can't every autocomplete more than like 3 characters before having to really peer at the ls of everything [07:11] and a jumble of numbers is not exactly easy for me to read [07:12] what format are the timestamps in? seconds since epoch? === ubuntu is now known as Guest8071 [07:18] geirha: genearlly $(date +'%Y%m%d_%H%M%S')_something.ext [07:19] ok, I don't quite see the problem, then [07:22] Can I use apt-listchanges to see the changes in packages which are current candidates for apt upgrade? [07:29] This is pretty stupid https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1927078 [07:29] Launchpad bug 1927078 in shadow (Ubuntu Impish) "Don't allow useradd to use fully numeric names" [Low, Fix Released] [07:30] How about the bug gets fixed in systemd instead, rather than imposing something this drastic on the entire userbase when the bug report even says: "Users may have scripts that are currently using numeric usernames and these scripts will break as a consequence of this deliberate change in stable Ubuntu releases." [07:32] "ooh but the user names look like uids, we don't like it and we're changing it anyway" .. sigh .. shades of Firefox dev team imposing their preferences on the user base [07:35] I'm more curious why they were allowed to begin with [07:36] That's a way better argument, but it doesn't change anything about the lack of care imposing a drastic change which will break things across the board [07:37] How to list only the available security updates in Focal? [07:37] Seth Arnold in the bug report uses a Perl example to argue ambiguity. sudo perl -e 'print "muahaa\n" if $< == "0x0";' .. and then says: " the language sure doesn't help " ... which is highly misleading, since the proper string comparison is done with "eq" not with "==" and fails as expected. [07:42] Anyways, I know FOSS, and I know how stubborn devs are about imposing high impact changes and delegating the PITA to the user base. This is one of those incidents where there is no accomodation whatsoever, and no consideration of cross-distro compatbility. I don't even use numeric user names, I'm just irritated with the flippancy of the decision. [07:43] And with the apparent approach of (not) fixing bugs in one subsystem by imposing restrictions on another [07:48] Also, regarding the Perl example, why the hell would one *ever* compare the real *uid* of a process to a user *name*. The example is so deliberately contrived. [07:48] though looking closer, it's really only user{add,mod,del} that will be affected. numeric usernames will still work, you just can't create them with useradd anymore [07:49] Yeah [07:49] Que sera sera, I guess [08:53] geirha: sorry, I got side-tracked again [08:54] the probalem is that I generally can't use the button when I want to autocomplete files and it's hard for me to read timestamps in a list of other timestamps [08:55] so rather than having to type `vi 20210805_025456_add_^I` I'd rather type `vi *_add^I` [08:55] I feel like you probably already saw me saying that in #bash [08:56] but I guess `shopt -u progcomp` is pretty good for that === beaver is now known as pong [10:20] https://askubuntu.com/questions/1245020/xrdp-on-ubuntu-20-04 [10:21] wondering why it is so problematic with those remote desktop things nowadays on ubuntu [10:22] that whole "universe" repository does not seem to be a very good concept, so much stuff is simply left to rot there without much maintenance :/ [10:58] Programs in universe are mostly maintained upstream, not in Ubuntu [10:59] yeah, it's kind of an anachronism [11:02] Ubuntu is an anachronism these days... [11:11] Hi [11:11] I am here from China [11:12] emmm.Bye === Juan- is now known as Juan === diskin is now known as Guest1915 === diskin_ is now known as diskin [12:09] hello! emergency here: mount: /: cannot remount /dev/sda1 read-write, is write-protected. [12:09] I've logged into a system and I've found I/O error in dmesg and / in read-only [12:09] remounting / does not work [12:10] how can I run fsck here? [12:12] Try running gnome-disks as root. [12:13] I'm at command line [12:14] everything I do is an input/output error [12:14] also reboot doesn't work [12:14] gonna try with sysrq [12:16] Hi.., i have a question on ubuntus repository..., there seems to be repeatedly the version 8.04.1 in the all the directories of version 8.04.XXXX , no matter if 8.04.1 or 8.04.2 , 8.04.3 , or 8.04.4...., that seems to be redundant data.., right ? [12:17] link old-releases.ubuntu.com/releases-8.04.4/ [12:18] link old-releases.ubuntu.com/releases/8.04.4/ [12:19] McE: those releases are long eol, whats your purpose with this exactly? [12:21] no..., its only about the redundant data.., or is the data not redundant ? that is all i want to know for now...., seems to be a lack of proper maintaining to me..., or am i wrong... ? [12:22] so the content of 8.04.1 is exactly the same as the content of 8.04.4 ..... [12:23] as far as directories are concerned... [12:25] even the links to 8.04.1 pc-isos , are not pointing to 8.04.1 but to 8.04.4..., === lordrishav is now known as LordRishav [12:48] Hello [12:48] I have a problem [12:48] ask away KsamaDa [12:49] lotus|NUC where ? [12:49] lotuspsychje [12:50] here in the channel KsamaDa ask your issue with all your details [12:50] lotuspsychje ok [12:50] I can't seem to have both the micro and output audio working in the same time. [12:50] I'm using ubuntu 20.04 [12:50] audio device : 00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04) [12:52] HP EliteDesk 800 G1 [12:53] !rootirc | root_ [12:54] root_: It's not technically our business, but we'd like to tell you that IRC'ing as root is a Very Bad Idea (tm). After all, doing anything as root when root is not needed is bad, and especially bad with software that connects to the Internet. [12:55] KsamaDa: whats your current kernel please? [12:55] 5.11.0-25-generic [12:55] KsamaDa: we are seeing some recent bug reports on audio on kernel 5.11 so it seems lately [12:55] * the problem still when using headphones as well [12:56] KsamaDa: like this for example bug #1939010 can you check if this is you? [12:56] Bug 1939010 in alsa-driver (Ubuntu) "Cannot manually switch to laptop speakers if headphones are plugged" [Undecided, New] https://launchpad.net/bugs/1939010 [12:56] Hi all [13:04] KsamaDa: and idea could be perhaps booting a previous kernel from your list and see if your issue persists [13:05] lotuspsychje ok I'll try it [13:06] ubottu I'm using Desktop not laptop [13:07] I'll try 5.8 for now === genii-core is now known as genii [14:25] hi, just curious when golang 1.16.6 will be available on ubuntu 20.04 and 21.04 [14:29] lsm5, for 20.04 unlikely, only bugfixes will be backported [14:30] oerheks: thanks, there's CVE-2021-34558 (and maybe a bunch of others) all public, which have been fixed in 1.16.6 [14:30] The crypto/tls package of Go through 1.16.5 does not properly assert that the type of public key in an X.509 certificate matches the expected type when doing a RSA based key exchange, allowing a malicious TLS server to cause a TLS client to panic. [14:31] lsm5, one could ask for the update, if you have a reason, see !SRU [14:31] !sru [14:31] Stable Release Update information is at https://wiki.ubuntu.com/StableReleaseUpdates [14:31] 1.16.6 12 juli [14:32] oerheks: are you saying it's already released? i can't seem to find it using `golang-1.16` package [14:32] it only installs 1.16.2 [14:32] no, it is not in our repos, yet [14:32] but attention could speed things up [14:33] ack, i see, thanks [14:33] lsm5, i think 1.16.6 is available via snap, if i'am not mistaken [14:34] ioria: ack, trouble is I need to build a few packages like podman/buildah etc. on OBS, unlikely I can use snap for i [14:34] it* [14:34] oh correct; https://snapcraft.io/go [14:35] anyway, thanks oerheks and ioria i'll try to follow the SRU [14:35] have fun! === genii is now known as genii-away [14:39] :) === genii-away is now known as genii === Mikro is now known as leo === leo is now known as Leo [15:06] Hi, I can't mount one of my ext4 partitions using mount command any longer, it tells me either the Superblock or partition table is corrupted. [15:07] TestDisk doesn't seem to have any complains about either hoewever [15:13] zteam, how about fsck ? [15:13] https://help.ubuntu.com/community/FilesystemTroubleshooting [15:14] oerheks, just a moment [15:20] oerheks, the weird thing is that it appears to be happening randomly, sometimes the partition is automounted just as it's supposed to do, other times it fails for some weird reason [15:22] oerheks, no complains from fsck this time around [15:25] dmesg -wH doesnt seem to list any complains either, I will try to reboot and see if still mounts as expected [15:37] Nope, my problem is still here, it just happens randomly :/ [15:37] journalctl -b -0 shows messages from the current boot, journalctl -b -1 from the previous boot [15:47] oerheks, interesting thanks :) [15:51] zteam: how os the file-system configured? in /etc/fstab, as a systemd.mount unit, and automount ? [15:52] TJ-, I need to doublecheck this, just a moment [15:53] zteam: also of importance, does the system shutdown/roboot cleanly each time or is something hanging - its possible the journal isn't being closed [15:54] TJ-, /etc/fstab how to tell if it's using systemd.mount or not? [15:55] I'm not really sure what to look for with journalctl either [15:56] zteam: it'd be either/or ... at start-up systemd, before anything else, executes its generators. one such is systemd-fstab-generator which converts fstab entries into systemd.mount units [15:56] zteam: since there is a .mount unit for your device there is a log you can look at for it. Identify the .mount unit name and then do "journalctl -u XXXX.mount" [15:57] zteam: .mount unit names are the path to the device with / replaced with - [15:58] TJ-, okey, this is fair beyond my knowkedge, I can post my fstab if you like :-) [15:58] zteam: correction. path to mountpoint! as in "/dev/mapper/containers /var/lib/containers ext4 ..." would result in var-lib-containers.mount unit [15:59] zteam: so as you'll know your mountpoint path, you can check the log. In my example above I'd o "journalctl -u var-lib-containers.mount" [16:00] what is nice is that system-fstab-generator /also/ creates an fsck unit to check the mount before it is mounted [16:01] TJ-, I'm using a luks-encrypted harddrive it's indeed inside a /dev/mapper/ [16:01] zteam: what's the mountpoint ? [16:04] TJ-, /media/Ny%20volym [16:04] Hm, %20 [16:04] zteam: so the unit would be media-Ny%20volym.mount [16:05] zteam: try "journalctl -u media-Ny%20volym.mount" [16:05] zteam: you'll likely need to jump to the end of the log. Easiest is to press capital G in the pager [16:05] here is a dump of /etc/fstab https://paste.ubuntu.com/p/MtcPvDhdbt/ [16:10] TJ-, it complains about the superblock https://paste.ubuntu.com/p/HM8NShGNhs/ [16:11] zteam: are you booting multiple OSes that each access this same file-system? [16:13] TJ-, nope, only Ubuntu 21.04, also this paste is in English (sorry for the mistake) https://paste.ubuntu.com/p/3dyXmg9g7k/ [16:15] https://www.linkedin.com/pulse/non-nonsense-way-configure-apache-ssl-termination-varnish-gjoko-pargo/ [16:15] I follow the last setup for systemctl and I get errors [16:16] failed to load environment files: no such file or directory [16:16] zteam: that's ok, I can read it :) [16:16] genii, Yep, it's because the mount point contains a space [16:17] fstab doesn't like normal spaces :P [16:17] zteam: the only thing I can think of seeing as the log seems to show unmounting being done is that some process is writing random data to the file-system's metadata area whilst in normal use. That'll not be detected until the file system is next checked [16:20] zteam: I'm mostly wondering why /media/Ny%20volym instead of /media/Ny\ volym [16:21] TJ-, sometimes the system indeed shows some error about that, now that you mention it, would that be logging in /var/log/syslog ? [16:23] genii, yeah I know, it works as intended for bash and stuff, but it doesn't look to pretty in Nautilus for example [16:23] Ah, ok [16:29] genii, Yep, you can't use mount-points with spaces in /etc/fstab but you can add %20 to a mount point this way you can still reach it as if it was named "Ny volym" :-) [16:29] zteam: it's be in the main journal. If you have an idea of some unique text in those errors you could try grep-ing for it with "journalctl | grep 'search-term' to narrow down the time range, then use journalctl --since="" --before="" to look at all messages around that time [16:29] Hi all. I'm running an app in Wine, and when I start it as regular user my audiocard drops out for a second. When I start wine as root it doesnt. [16:29] %20 is just the hexadecimal encoding of the ASCII value of a space (32 decimal, 0x20 hexadecimal) [16:30] When I run winecfg as regular user I dont see any errors printed on stdout/err though. [16:31] zteam: I think if it's encapsulated within single quotes it works, but I haven't tinkered with the fstab in a while to remember exxactly [16:34] m1dnight, never run wine as root, I personally just use PlayOnLinux or Lutris then using wine, it makes it easy to follow the logs from Wine as well as tinkering with Wine for you [16:38] TJ-, isn't there any trick to ask the journal about which files got created last? [16:48] I'm back === Abrax- is now known as Abrax [17:27] Hello, how do i rename all files in folder? [17:27] mago: how? why? [17:28] Im trying to batch convert acc files to mp3 but the regex breaks... [17:28] Cuz my file names have spaces and quotes ' " in them... [17:28] So in need to rename to easier file names.. [17:28] using bash is one easy way: for i in *.aac; do echo "$i" "${i%.aac}.mp3"; done [17:29] the 'rename' package in universe is also a lovely perl app [17:29] you can do things like: rename 's/\.aac/\.mp3/g' *.aac -n [17:29] (-n is dry run, re-run without if you like the output) [17:30] matsaman im not sure if that did something.. I runned the command but the files stayed the same.. [17:30] you might have a rename.ul executable already installed, too, and that's ... mostly inferior to everything, IMO =P [17:30] mago: yes the echo one uses echo instead of 'mv' on purpose, so you can ease into it [17:30] the 'rename' one uses -n, which is for dry run [17:31] I understand not.. [17:31] for i in *.aac; do mv -n "$i" "${i%.aac}.mp3"; done would probably be okay to do the actual rename [17:31] But that will just rename not convert.. [17:31] oh convert, then you want ffmpeg [17:31] I think i need to change the file name not the extension.. Yes but ffmpeg break cuz they have weird names... [17:31] mago: you were asking about renaming, you didn't mention converting. Do you want to rename or convert? [17:32] for i in *.aac; do ffmpeg -i "$i" "${i%.aac}.mp3" Thats what i was trying: for i in *.aac; do ffmpeg -i "$i" -vn -ar 44100 -ac 2 -b:a 192k "${$i/aac/mp3}"; done [17:32] there are GUIs, too [17:32] like um... what is it called [17:32] aac to mp3, only possible if it is unencrypted [17:32] Thats an example filename: '5 Aug, 18.29(2).aac' [17:33] mago: filename won't likely matter [17:33] else you end up with a 64 bit mp3 :-D [17:33] Can you help me correct that command: for i in *.aac; do ffmpeg -i "$i" -vn -ar 44100 -ac 2 -b:a 192k "${$i/aac/mp3}"; done [17:33] mago: https://stackoverflow.com/questions/22766111/ffmpeg-not-working-with-filenames-that-have-whitespace [17:33] Probably is the regex [17:33] mago: why do you care about -ar and -ac and -b:a ? [17:33] Someone is requesting those specs.. [17:34] oh okay [17:34] Like im making an audio for an online radio program.. [17:34] mago: if you add mp3}" What is the sources package for linux modules? [17:35] matsman it says bad substitution [17:36] fling, on launchpad [17:36] matsaman it says bad substitution [17:36] Sorry: bash: ${$i/aac/mp3}: bad substitution [17:36] mago: do it the way I said, then [17:37] for i in *.aac; do ffmpeg -i "$i" YOUR_OTHER_OPTIONS_HERE "${i%.aac}.mp3" mago: if you want a GUI there's 'handbrake' in the 'universe' repo [17:38] you'll have to hunt down the little places to specify all your rate options and that [17:38] but you won't have to worry about substitutions [17:38] Ok, that was working, it was a regex issue then..? [17:39] Thanks a lot matsaman :) [17:40] check the quality of the 1st mp3? [17:41] mago: something in the substitution syntax possibly yeah [17:41] it's (trivially) less efficient, but if you want to avoid having to deal with bash's weird syntax, you can instead do things like: "$(echo "$i" | perl -pe 's/\.aac/\.mp3/g')" [17:44] oerheks: do you have a link? [17:44] oh you could have found it by now [17:44] google linux-modules launchpad [17:45] oerheks: zfs is there right? [17:45] zfs.ko === sig_9 is now known as bebop [18:13] Reading the man pages is a not so easy skill in itself [18:15] hello [18:15] how can I remove keys added with `wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -` [18:16] ? [18:16] sort of a low-tech guy, wanting to dual boot my laptop (win10/ubuntu 21)... however, my main question is how to do this with 2 hd's? i want one only for starting up (which is my smallest) but then i want my large one as main hd for running everything within ubuntu [18:18] anyone? [18:19] !patience | varaindemian [18:19] varaindemian: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or https://ubuntuforums.org or https://askubuntu.com/ [18:19] `apt-key list` gives you the list, `apt-key del {{key_id}}` removes a particular key from apt's store [18:22] alzgh which one is the key id? [18:22] I see too many things there [18:22] uid [18:22] ? [18:23] haha, I want to that too. I'll search that if no one chimes in. [18:23] *to know [18:23] ok i've got ubuntu 20.04, i have systemd-networkd, and networkctl gives me: 2 eth0 ether routable pending, runlevel says unknown [18:24] and resolv.conf tells me # No DNS servers known. and i wonder how i'd debug/fix that? [18:24] first systemd failed booting because there was /etc/rc.local (that file is gone now) [18:26] tarzeau__: server or desktop? [18:26] leftyfb: i call it desktop, but it's mounted in the serverroom [18:26] tarzeau__: ok, so desktop. Why can't you use the Network Manager GUI to connect to a network? [18:27] leftyfb: ugh, because when i have 200 machines, i don't want interactive guis? === entuland_ is now known as entuland [18:27] so we don't have network manager, it's removed/purged/gone/nonexistant [18:27] tarzeau__: ok, so have you completely disabled Network Manager and are just using netplan/networkd to manage the network? [18:28] leftyfb: no netplan, just systemd-networkd [18:28] tarzeau__: why not netplan? [18:28] leftyfb: because some collegues think, we don't need another layer on top of it [18:28] @varaindemian Do you have access to the desktop? If so, Software & Updates -> Other Software -> remove the checkmark for the rep key you want to remove. [18:29] but that's how the config file looks: https://bootes.ethz.ch/host.network [18:32] i wonder how can i tell systemd-networkd or networkctl to retry to do the same as when i had dhclient and would run it [18:32] normally i'm able to google such things myself. but whatever is related to systemd, i'm having trouble to find anything useful [18:32] alzgh: varaindemian is looong gone. ;-) something along the lines of this could have worked: mkdir /tmp/x; gpg --home /tmp/x --list-keys &>/dev/null; wget -qO- https://www.virtualbox.org/download/oracle_vbox_2016.asc | gpg --home /tmp/x --import &>/dev/null; gpg --home /tmp/x --list-keys --fingerprint; rm -r /tmp/x [18:33] (hopefully there's an easier way) [18:34] there is the `apt-key del {{key_id}}` command. But I'm not sure what the `key_id` exactly is tomreyn [18:35] `wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key del -` [18:35] easy [18:35] alzgh: oh that's not in there, yet, you'd need to add that, yet. i just tried to show how to get the key id / fingerprint of the key published at the given http location [18:36] O, thank. I'm going decipher that hoping to learn from it :D [18:36] it's *so* much easier to just add the key to the /etc/apt/trusted.gpg.d directory instead -- then deleting it is a simple 'rm' [18:37] yes, but i think the task here was removing a key that was in the joint keyring [18:42] will there be 30.04? 40.04 of ubuntu? [18:42] tomreyn: yeah.. the best time for this would have been several years ago :) [18:43] !yy.mm | tarzeau__ [18:43] tarzeau__: Ubuntu version numbers are: YY.MM (YY=release year,MM=release month). Each year sees two releases, so just specifying YY is imprecise. See also https://www.ubuntu.com/about/release-cycle [18:43] tarzeau__: you're way into the future. [18:43] aniketgm: planning retirement... [18:49] tarzeau__: there won't be any retirements for ubuntu. I might change to something else, but it's gonna live on. [18:50] btw, ubuntu was my first linux distro ever. [18:51] ubuntu has the largest market share rn among normal users [18:51] I guess [18:51] i wish there were reliable stats about that. [18:53] rn ubuntu has (if not the lowest) one of the lowest barriers of entry into the linux world. [18:53] also my armchair thoughts [18:53] no proof [18:54] oerheks: I think there is. https://ubuntu.com/desktop/statistics#user-report, If i'm not mistaken [18:54] * I mean stats [18:54] yes, known statistics, but limited. there used to be https://stats.wikimedia.org/wikimedia/squids/SquidReportOperatingSystems.htm but it is discontinued in 2015 [18:55] still those stats are not complete too, nor iso downloads, nor updates [18:55] yeah, that's a bummer. [18:56] say 4% market share desktop, 40-50% ubuntu [18:57] SquidReports were really good one. Not sure why they discontinued. maybe they got lazy. idk. :p [19:00] * srv running ubuntu apps on windows think windows still beter Os than linux but nice to run ubuntu apps in windows [19:04] Windows turned to linux simply because they know they'd loose the game. [19:04] Feel free to take the discussion to #ubuntu-offtopic [19:05] leftyfb: *thumbsup* [19:21] windows turned to linux cause microsoft saw that developers needed stuff windows couldn't give them [19:42] tomreyn the keyid for `apt-key del` is the 8 last characters of the fingerprint that you get from `apt-key get`. That's kinda weird bc one expects it to be the first characters. But you probably know that already :] [19:52] Hi. Is there anything like xdmx, but for wayland instead of X ? [19:53] hey [19:55] jcd_: pipewire maybe? [19:59] alzgh: you can actually pass the whole fingerprint (which is the safest approach). the last 8 characters are the "short key id", this should no longer be used, it's insufficiently unique, because a key with the same short key id can be generated on demand. then there's the "long key id", last 16 characters of the fingerprint, this is currently being used to identify keys where it does not seem necessary to match the full fingerprint. [20:02] I passed in the whole fingerprint to `apt-key del` and it didn't work. I didn't try the 16 character version though [20:06] alzgh: if it contained blank spaces you'd need to enclose it in single or double quotes. also, i find that apt-key often acts strangely [20:07] tarzeau__: in case it helps, systemd-networkd configuration on a pretty much freshly installed 20.04 server virtualbox vm https://i.imgur.com/GStrgIT.png [20:08] Ahh, that's it. I didn't enclose it in quotes. Also, `apt-key` output can't be parsed. What are the alternatives for scripting and stuff? tomreyn [20:12] alzgh: using gpg directly, i guess. [20:21] Hi everyone. Can anyone help me with a booting issue? I've tried a few things but at this point I'm all ??? [20:23] What exactly is happening? [20:24] The machine is running 18.04 with a fully encrypted drive, but can't boot after I've unlocked the drive. I've tried using an older kernel from GRUB's advanced settings page thing, and the same thing results. I tried using recovery mode to fix things and that still hasn't helped. I moved into root and mounted the LVM, etc, proc, and all of that and tried a dist upgrade, but still nothing. Right now I have a black screen with a flashing [20:24] cursor. [20:25] I figure it's an issue with GRUB somewhere because I was able to access the drive as an extrnal and pull the files from it. Not sure if there's corruption in that sector fo the drive because I did find a bad block a few restarts ago. [20:27] One failure message I noticed was "Failed to start Load Kernel Modules" [20:27] Two show up, but the other moves so quickly I can't catch it [20:28] Can you run the ubuntu installer and perform an upgrade? It should keep you r files but it will refresh the system [20:28] From a LiveUSB? [20:29] Yeah [20:30] Ok, I'll try [20:30] I don't know if it will like the encrypted filesystem but it might be worth a try [20:32] Really all I'm after are firefox tabs that I didn't have bookmarked, and some log and settings files. So it's nto a gigantic issue if I can't get back in, but it would also be nice to know a method to do so if I encounter this in a worse situation somehow later [20:34] EandC: apparently it's related to kernel modules, probably third party kernel modules, posing problems. does this ring a bell in terms of recent changes you made? the best way to recover from this is probably a chroot from a current 18.04 LTS live / installer system [20:34] Yeah, doesn't seem like a LiveUSB install will play nice with the existing system in any way [20:34] i dont think it would, no [20:34] I did a chroot process [20:34] Let me find the tab [20:35] Nothgin really rings a bell regarding installs I did around that time [20:35] I was able to get into the system fine one day, adn then on next reboot it froze up, adn then I couldn't get back in [20:35] do you know that you're using out of tree modules, though? [20:35] so I think the bad block messed something up, and then I might've troubleshot myself into a worse situation? [20:36] you'll rarely ever have a single bad block, and if you have any, you really should replace the disk asap [20:37] Yeah, fortunately I was already doing a backup when this happened. I just wanted to see if I could snag a few more files before runnigng diagnostics on it and then sending it in for RMA [20:37] This is the chroot process I went through https://askubuntu.com/questions/857028/how-can-i-install-a-boot-for-my-encrypted-root-partition [20:38] I also tried grub-install and update-grub [20:39] Of course, I did it with vg root mounted instead of just generic sda [20:44] EandC: is this an uefi booting or (legacy) BIOS booting system? [20:45] you may also want to bind mount /run [20:45] uefi I think [20:45] for uefi you'll aos want to mount the ESP [20:45] but it has legacy support mode enabled [20:45] aos -> also [20:45] ok [20:45] make sure you boot the recovery system in the same boot mode as the installed system [20:46] Yeah [20:46] Alright, thanks. I'll fiddle with it for a while longer [20:46] if its legacy bios then legacy bios, and then you don't need (and cannot) moiunt the ESP, because there wont be one. [20:46] Right [20:47] also dpkg --configure -a && apt update && apt -f install && apt update && apt upgrade && apt full-upgrade [20:47] then update-grub, then grub-install [20:48] make sure you mount /boot though [20:50] EandC: while in the chroot, you can also inspect what was logged about the previous boot (-1, -2 would be last but one) using: journalctl -b -1 [20:59] tomreyn: FYI even without a chroot you can do "journalctl --root=/path/to/root-fs-mount ..." and read the logs as normal [21:00] tomreyn: (assuming ./var/log/journal/ exists there and persistent logging of course) [21:00] TJ-: thanks. they were going to chroot anyways, though [21:03] right - just thought I'd mention it since it can come in very useful [21:04] for example, on foreign architectures where you can't easily execute programs in the chroot [21:05] yes, indeed that'd be helpful [21:12] Ok, I got tired of it and I'm just going to reformat and install Ubuntu 20.04 and see what I can find out about the disk's status [21:13] Thanks for the help === Leo is now known as Mikro === WildSoft_ is now known as WildSoft === WildSoft_ is now known as WildSoft [21:42] Hi. I am trying to boot a 20.04 server lts image written with the rpi imager to a headless rpi 4. It successfully gets an ip from my dhcp server but it seems that its sshd is disabled as I cannot open a shell to it (ssh times out). Is there a way to make it send its console over tcp ? I would really like to avoid plugging in a monitor and a keyboard. Thanks! [21:43] solar_sea: there's a chance that it's just taking an eternity to generate initial host keys [21:44] solar_sea: ssh as ... a user, or root? [21:44] solar_sea: without a keyboard there might not be a great way for the kernel to gather entropy; I'm not sure if the sshd startup sequence uses the blocking random or the non-blocking urandom, but I bet it's the blocking random [21:44] sarnold, the thought crossed my mind, perhaps not having enough entropy due to no peripherals attached.. [21:44] yeah, same [21:45] solar_sea: exactly :) maybe just plug in a keyboard, and hit space backspace space backspace etc a bunch? [21:45] matsaman, doesn't matter as the ssh socket/handshake is timing out :) [21:45] hehe [21:45] RPI ssh is disabled for root by default [21:46] keys =P [21:46] what a pain === illuminated_ is now known as illuminated [21:46] we should all just use the same one, save all kinds of trouble [21:47] hehehe [21:47] one key to rule them all, generated by aws. [21:47] thermal entropy should be enought for a first-boot one, heh [21:49] well [21:49] being able to ssh in in the first place [21:49] that should be a priority over key generation === genii is now known as genii-core [21:59] hey dudes [22:00] can I put ubuntu on this one https://www.dateks.lv/cenas/datorkomplekti/711127-dateks-intel-core-i7-gen11-gmng-core-i7-11700k-16gb-2x8-ddr4-radeon-rx-6800-xt-1tb-nvme-bez-os?utm_source=salidzini&utm_medium=ad_item [22:00] 2,5k PC :d [22:00] it should work quite okay? :d [22:00] Guest18: I don't think anyone is going to be able to answer that with 100% confidence. You'll probably be ok [22:01] Guest18: when computers are sold without an OS it usually means it'll work okay with linux [22:02] sarnold: or alternatively, it won't work with MS Windows :P [22:05] TJ-: hah, I hadn't thought of that :) [22:07] what computers will not work with linux is a short list [22:08] you might be in trouble with video cards or network cards etc [22:08] but I think the modern radeons have okay support [22:13] I'm seriously just buying new PC [22:13] and linux is just a thingI am used to [22:13] can't decide at all [22:14] this laptop looks kinda on spot [22:14] https://www.xnet.lv/lv/elektronika/portativie-datori/portativie-datori/acer-nitro-5-an515-44-r8vf-black_0ec283d1 [22:15] I suffered a power loss earlier today, and both gdm and GNOME appear to be broken now, I get what looks like an indefinite startup loop with gdm, and a "Oh no! Something went wrong" message with GNOME when invoking it from lightdm (which works fine). Any obvious things I should try? [22:17] going into TTY [22:17] SnoopJ: boot with a live cd/usb and run fsck [22:17] !fsck | SnoopJ [22:17] finding if You have free space [22:17] SnoopJ: fsck is the FileSystem ChecKer, which runs automatically when you boot if you didn't shutdown cleanly. Type "man fsck" for information on running it manually. The command "sudo touch /forcefsck && sudo shutdown -r now" will force a reboot and a filesystem check; "sudo touch /fastboot" will skip a filesystem check at next reboot [22:24] Hadn't done a fsck, but no joy after having run one, same problem. [22:30] SnoopJ: check logs, journalctl -b [22:45] hmm, I'd done that before and not seen anything, but after another attempt at logging in, I'm seeing a segfault along with some dbus errors that seem fairly benign. https://bpa.st/UZDA [22:53] SnoopJ: do you have third party apt repositories configured? which? gnome-shell extensions? [22:54] the process that failed is gjs, more info: apt show gjs [22:57] ~/.local/share/gnome-shell/extensions contains your manually installed gnome shell extensions [22:57] Directory does not exist, no extensions that I'm aware of. [22:58] Have a few third-party repositories: docker, nvidia-docker, signal-xenial (what the heck?), ubuntu-toolchain-r-ubuntu-test-focal, yubico-ubuntu-stable-focal [23:00] SnoopJ: so this is 20.04 LTS? what's the output of apt policy gdm3 gjs gnome-shell libffi7 - on a pastebin? [23:01] 20.04.2, yes. policies: https://bpa.st/REMQ [23:02] Not sure why groovy is showing up there, seems a little suspect. [23:03] SnoopJ: can you show just apt policy as well, and apt list --installed | grep ',local\]$' | nc termbin.com 9999 [23:04] yes, "groovy" looks like you're mixing ubuntu releases [23:05] lsb_release -ds; cat /proc/{version*,cmdline} [23:07] lsb_release/version/cmdline: https://bpa.st/WACA apt policy: https://bpa.st/PHLQ local packages (just one: zoom): https://bpa.st/6NGQ [23:08] can switch paste services if bpaste is unwanted, it's just what I have handy [23:09] bpa.st works for me, i just took the stuff with termbin off a cheat sheet [23:10] I don't recall doing anything with groovy since this install was brand-new. I did do some mix-and-match on the previous (eoan) install because I was trying to get to gcc-10. It went poorly, but the upshot is that I'm no longer running a deprecated release :) [23:10] yes, you're now running two recent releases [23:10] should I knock out groovy and re-install ubuntu-desktop and friends, maybe? [23:11] probably, yes [23:11] ta, will have a go [23:11] remove anything too 'groovy' there, then downgrade all package versions that are of unknown origin [23:12] apt list --installed | grep ',local\]$' will list those after removing the 'groovy' apt repositories and running apt update [23:12] (groovy is actuall EOL by now) [23:13] ...yep, definitely have a chimera running. I think this is the source of my grief here, especially because I installed gnome-tweaks today and it appears to have been the groovy package. [23:13] i'm not sure what those nvidia repositories provide, which seem to be made for ubuntu 18.04 LTS - those might introduce dependency issues as well [23:14] I think that's for libnvidia-container-tools, for GPU pass-through. [23:14] well, your gdm, gnome-shell and gjs are also groovy's, so it's surprising you got this far [23:15] I too am consistently surprised by how readily my computers attract hexes. I think it's got something to do with the user. Okay, let me see about cleaning up the packaging mess, thanks for the pointer on ,local], that's handy. [23:15] you should read up on apt pinning if you'll ever consider mixing ubuntu release apt sources again [23:16] I think I did my first real pinning in the gcc-10 adventure, because what I was doing was deeply evil. I truly have no idea how groovy stuff got in this install, though, I feel like I'd at least remember the anxiety over mixing like that, considering how recently it destroyed my system. [23:16] yes, it doesn't seem to be OSI layers 1-7 that would have introduced these issues. [23:18] 😅 [23:21] SnoopJ: you know how to downgrade, right? apt -t focal install [23:21] or maybe "focal-updates" [23:22] Don't think I've ever tried one [23:25] oh gjs itself is from groovy. makes sense [23:26] was anyone able to use apple airpod pro as head set with linux? [23:28] ice9: i assume you already searched the web? i ran into discussions on the topic at some point - don't rmeember the details, but do try that if you haven't, i bet there will be some suggestions. [23:28] tomreyn, i tried that already but it didn't work as full headset, only as speaker === Kamilion is now known as Kamilion|KV [23:29] i see [23:30] ah right, this is what i read. the workaround is really ugly, though. https://reckoning.dev/blog/airpods-pro-ubuntu/ [23:31] better try this first https://askubuntu.com/questions/922860/pairing-apple-airpods-as-headset [23:31] there are different hardware models / generations, though, so YMMV [23:33] Is it generally okay to do a release upgrade with the desktop environment running? [23:34] guzzlefry: as long as you do it with the tools meant to be used for it, and after preparing for the release upgrade, yes [23:35] update-manager -c should get you started for the upgrade, but i'd recommend removing all third party packages (i.e. downgrade packages to ubuntu's) and versions before you get started [23:36] and, of course, have backups [23:38] Is there a guide on removing third party stuff? [23:40] not that i know of. the general process i would use is: disable / remove third party repositories, run sudo apt update and make sure it doesn't remooprt anything but ubuntu repositories, and no warnings or errors, then go through the packages listed by apt list --installed | grep ',local\]$' | nc termbin.com 9999 and either purge or downgrade them [23:42] remooprt -> report [23:43] any reason tty should not work in 18.04.5? [23:44] guzzlefry: apt policy <...> lets you check which apt source provides the package version you currently have ("/var/lib/dpkg/status" means: this is currently installed; if this is not the same version as the "archive.ubuntu.com" or "security.ubuntu.com" one, then you need to downgrade this package). [23:45] I try ctrl + alt + F1 - F6 and I get nothing. [23:45] jeffmr_: nothing generic [23:46] I'm using a new apple keyboard with an option (alt) key but it works for opening a terminal, ctrl + alt + t [23:46] maybe it needs another function key or something to use F keys [23:47] oh boy, pkgProblemResolver is choking on trying to swap out all the wrong/weird packages in one go. Might be a bigger surgery than I'd hoped. [23:47] aha [23:47] SnoopJ: see, that's why i suggested fixing it first ;) [23:48] that was it. I didn't see the fn key over by the keypad. [23:48] thx [23:48] tomreyn, I may not have understood what you were suggesting. Nothing's really changed since it barfed on the problem and bailed out. [23:48] SnoopJ: actually i mixed you up with guzzlefry there, spologies [23:49] SnoopJ: what'S the command you ran, and its output? [23:49] ah. well, it's not like my system got this way by not touching the live wire, groovy didn't just come out of nowhere [23:49] most likely not ;) [23:50] tomreyn, I ran `sudo apt install $(cat allow_pkgs.txt)` where that file is a list of local packages minus the ones it previously said it couldn't even recognize for focal (a goodly number of num) [23:50] sec on output [23:51] https://bpa.st/LDUA [23:55] SnoopJ: looks like you forgot to ask it to downgrade gcc-10 (to focal's version 10.3.0-1ubuntu1~20.04) [23:56] libhdf5-cpp-103 libhdf5-103 also need to be downgraded to focal's version [23:56] i don't know how you assembled allow_pkgs.txt or what's (not) on it, though [23:57] i suspect ppa:ubuntu-toolchain-r/test may be getting in the way [23:57] looks like I just didn't bang on helping the resolver enough with constraints, then. Did a few iterations of dropping in the stuff it was complaining about and have a solution. Thanks for that [23:59] Going to start the fireworks now and see how it goes...