[00:15] sysinfo [00:20] hmmm, is it me, or Neofetch on Ubuntu doesn't display the full version# for DE: ? [00:20] I'm using Ubuntu 21.10, a Ubuntu session on X11, and if I have 'vi' in insert mode in a gnome terminal and switch to any other window, whether by alt-tab or clicking on the task bar, there's this little doop sound and vi exits insert mode.  Is there any way to prevent this? [01:09] longus_catus, this appears to be a "feature" of vim-tiny, the version of vim ubuntu uses by default. I did "apt install vim" which installed vim-basic (among other things) and set the /usr/bin/vi alternative to run that. The strange bell-and-leave-inserrt-mode went away. [01:10] Oh sweet, I'll try that.  Thanks a lot. [01:10] longus_catus, I have no idea why vim-tiny does this, don't even know how it could. [01:14] l:q [01:14] longus_catus / rfm: https://bugzilla.redhat.com/show_bug.cgi?id=1933594 may be related [01:14] bugzilla.redhat.com bug 1933594 in Fedora "Vim exits insert mode on focus loss (vi compatible only)" [Medium, Closed: Errata] [03:13] Thanks for the help === dstein64- is now known as dstein64 === Ricardus_ is now known as Ricardus === ciphersalad is now known as bedroller [06:04] Hello there, folks. Looking for help on a small qs. Trying to mount Android image/backup to review files/folders but nothing works. No idea on the internal fs, kpartx is also useless, testdisk does next to nothing, am out of options at this point [06:09] And I've tried so many crap at this point hha [06:12] WickedDekciw: did you try that androidx86 in virtualbox yet we discussed last time? [06:12] maybe you can try something there? [06:13] lotuspsychje I was going to until I realized that Android-x86 isn't built to recent OS versions [06:13] Which sucks [06:13] built? [06:18] I mean it doesn't support them [06:19] It's only Android 9 ready [06:23] WickedDekciw: there surely must be a tool on android to mount other android images right? talk to the #android guys about it? [06:23] WickedDekciw: wich format is this android image in? [06:24] lotuspsychje Internally I've got no particular idea, could be f2fs or ext4 but it isn't readable to begin with with any tool, externally it's just an .img [06:27] sorry got disconnected [06:34] !info simg2img | WickedDekciw [06:34] WickedDekciw: simg2img (1:10.0.0+r36-7, impish): Transitional package. In component universe, is optional. Built by android-platform-system-core. Size 6 kB / 22 kB [06:34] WickedDekciw: try this tool to unfold the data, then try mount it on ubuntu [06:35] Tried it before I believe, no dice because it doesn't recognize the file [06:41] WickedDekciw: pastebin the command and error you getting, maybe volunteers can help? [06:53] Hi [06:54] welcome Shamayimjosh [06:55] lotuspsychje is there anyway I can cd to a paticular file [06:55] from the terminal [06:56] Currently booted into the Live USB, and trying to figure out how to reinstall grub on a GPT system, and possibly may need to use Grub EFI? === norkle is now known as Norkle [07:01] Just to make sure I'm on the right track, do I just install grub-efi, and then grub to my system partition? [07:02] Not my linux system, but another system partition [07:02] Shamayimjosh Are you installing grub to the actual HDD? [07:02] I would like to [07:03] mount your installation [07:03] and the proc sutff I guess [07:03] Lemme check [07:03] WickedDekciw, how do I do that? [07:03] Shamayimjosh https://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd [07:03] I can open it in file manager [07:04] Follow the steps [07:04] if you know whatch doin [07:04] it should work in theory [07:04] WickedDekciw, does this work for GPT drives? [07:05] It should [07:05] It should at least be of help, I think once I install grub-efi, everything will be the same [07:06] No reason I know of that it wouldn't unless you're familiar with otherwise [07:09] WickedDekciw: so this android system image you're trying to access, how was that created? [07:09] tomreyn, manually from adb [07:09] using dd [07:10] you mean using dd from within an adb device shell? [07:10] I'm trying to recover data from it, the prerequisite is even accessing it to begin with, even mounting it [07:10] tomreyn that is correct, yes [07:11] hmm, this seems like a bad approach, if i'm getting it right. you should not dd a running system [07:11] It wasn't running, it was under a custom recovery (i.e TWRP) [07:12] So the system wasn't operational at the time [07:12] The question is how to even deal with it, testdisk doesn't know anything about Android [07:12] hmm, maybe that could work. i'm not sure whether it's the common approach to take a backup [07:13] you should not need testdisk, it's not incoherent / lost data [07:13] which dd command did you run exactly, i.e. how did you backup the partitions? [07:13] I was referring to testdisk in the sense that I need to recover data from said image after I manage to open/mount it. [07:14] The background story is I accidentally ran a basic format on it and I want to recover stuff back [07:14] But testdisk doesn't normally deal with Android images [07:14] oh :-/ [07:15] i forgot which file system android uses, i think it's also some ext file system [07:15] Could be ext4, could be f2fs, I don't know honestly since I can't get inside of it [07:16] Thing is, as I mentioned testdisk doesn't know about it [07:16] if the dump you took was in a good state, and included all block devices, you should just need to mount those, possibly after interpreting the partition table, if one was included. [07:17] but i guess your data isn't coherent anymore [07:18] Likely [07:18] Hence the sad issue [07:24] darn, grub-install does not like my EFI system partition I am trying to install it on [07:26] because it's a 'fat' file system and doesn't support embedding [07:27] Shamayimjosh: "embedding" would be grub for (legacy) bios, you'll need efi grub if you want to boot in uefi mode [07:27] efi grub would detect the efi system partition on its own and use it, you don't even need to tell it where to find it. [07:27] Oh, I installed grub-efi before and so I thought it would run it instead [07:28] when I type grub-install [07:28] Thanks tomreyn [07:28] make sure the ESP is mounted at the standard path, though [07:29] so /boot/efi [07:30] Do I manually have to mount it there do I, so, mount /dev/nvme0n1p1 /boot/efi? [07:30] BTW, I'm on a Live USB and not my system [07:30] yes [07:30] that's a gpt partition table you have on the nvme, right? [07:31] Yes [07:31] sudo fdisk -l /dev/nvme0n1 if you want to verify this [07:32] and you did chroot into the installed stytem on the nvme, right? [07:32] *system [07:32] tried to, but not sure it worked [07:33] well, either the root changed or it didn't ;-) [07:34] if the target location on the live system which you mounted the nvme partitions to is still visible after chroot, then the chroot has failed [07:34] Yes it worked [07:35] but the file manager did not change that is all, but does in the terminal [07:35] yes, only the world view in the terminal window where you ran the chroot command will have changed. [07:37] tomreyn, so I tried sudo fdisk -l etc and it lists the paritions [07:38] anyway got to work out how to make it use grub-efi [07:38] ok? [07:39] Is that what fdisk -l is meant to do? [07:40] Shamayimjosh: sudo fdisk -l would read and print all the partition tables of all disks. [07:41] Okay, thanks [07:41] https://wiki.debian.org/GrubEFIReinstall#Using_A_Live_CD.2FUSB_To_Fix_Your_Current_System is a guide on how to (re)install grub from a chroot [07:47] Shamayimjosh: there are a few things you need to get right: (a) the live / recovery system must be compatible (use the same ubuntu version ideally), (b) the recovery system must be booted in uefi mode, (c) use mount --bind where possible (see step 4 of the debian wiki) rather than fresh mounts (but in some cases you have to, see step 3 of the debian guide), don't miss relevant file systems, (d) make sure that the right (UEFI) grub variant is [07:47] installed, and only that. (e) make sure that you regenerate the initrd, too [07:49] I see it was unable to install grub-efi, says "Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?" Could this be because I am using too old a version of the live USB? [07:50] this sounds more like an apt error message than one from grub? [07:51] always run an apt update before you attempt to install packages. [07:52] (unless you ran an apt update just minutes ago) [07:53] if you don't have internet access within the chroot, but have it on the live system, this suggests that bind mounting /run into the chroot did not take place or did not work out properly. [07:53] BTW, how do I regenerate initrd? [07:54] sudo update-initramfs -k KERNELVERSION -u # for KERNELVERSION pick the latest installed kernel in /boot (within the chroot) [07:56] e.g., if you have /boot/initrd.img-5.4.0-91-generic then KERNELVERSION is 5.4.0-91-generic [07:56] How do I test if internet is working within chroot [07:56] ping -c1 1.1.1.1 && ping -c1 one.one.one.one [07:56] both must succeed [07:58] "ping: one.one.one.one: Temporary failure in name resolution" [07:58] ls -la /etc/resolv.conf [07:59] "lrwxrwxrwx 1 root root 39 Jul  8  2019 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf" ? [08:00] right, which color is this shown in? [08:00] white? [08:00] okay, no red or blue? [08:00] no [08:01] ls -l /run/systemd/resolve/stub-resolv.conf [08:01] does the target exist? [08:01] hey does anyone use cointop? [08:01] yes [08:01] mhaaby: no polls please, just ubuntu support questions [08:01] mhaaby, it is a Ubuntu support channel. [08:02] who said it was a poll [08:02] I did [08:02] I can't get cointop to work [08:02] and i need help [08:02] well you are mistaken [08:03] okay, which ubuntu release are you on, and how are you installing? [08:03] lemme see [08:04] It's actually Ubuntu 16.04 and I found and installed using the ubuntu software program [08:04] !16.04 [08:04] Ubuntu 16.04 LTS (Xenial Xerus) was the 24th release of Ubuntu. !End-of-life was April 30th, 2021. Paid support (ESM) is available. See also !esm, !eol, !eolupgrade [08:04] we don't do paid support here [08:05] you'd need to talk to Canonical directly, or upgrade to a supported release, or, better yet, reinstall [08:05] I'm not sure ... why say you don't do paid support? [08:06] because of what ubottu just said [08:06] Or just use any software on your smartphone for tracking crypto. [08:06] oh [08:06] well I actually wanted the tracker sitting on a bigger screen [08:06] So my issue is that internet is not working after the chroot? [08:06] not my main pc nor TV, certainly not my phone heh [08:07] Maybe i need to upgrade [08:07] ubuntu [08:07] mhaaby, is that a server? Do you a GUI? [08:07] *have [08:07] Shamayimjosh: if the ping -c1 1.1.1.1 worked fine but just the ping -c1 one.one.one.one did not, then internet works, just name resolution does not [08:07] tbh I'm a bit new to Linux and am not sure [08:08] Okay thanks [08:08] mhaaby, how did you get Ubuntu 16.04? :) [08:08] Shamayimjosh: i haven't worked with a chroot in a while, but i remember i needed to do something about the /etc/resolv.conf file, i think this is normal. [08:08] If I remember right, I began with a CD on a lower Ubuntu [08:09] then the upgrades were gradual [08:09] I see. Just upgrade or use CoinMarketCap. [08:09] I'll look that up [08:10] Can't find CoinMarketMap on the ubuntu software center? [08:10] Shamayimjosh: if i recall correctly, you just need to delete the symlink and replace it by a file which contains a working resolver (such as 1.1.1.1 or 8.8.8.8 or 9.9.9.9), and make sure to remove this file in the end before you leave the chroot. then the symlink will be re-created during next boot [08:12] How do I do that? [08:13] I see, it's a website it seems [08:13] Shamayimjosh: sudo rm /etc/resolv.conf && echo nameserver 1.1.1.1 | sudo tee -a /etc/resolv.conf [08:13] Shamayimjosh: to delete it later (before leaving the chroot) you'd do sudo rm /etc/resolv.conf again [08:13] thanks [08:14] with this done, ping -c1 one.one.one.one should succeed [08:14] (and so should the apt update) [08:17] KBar I just decided to use that website for now, til maybe I find another way.... this works but not a fan [08:17] Thanks for the help all, cool to see this little chatbox still goin strong [08:17] No problem. Good luck. [08:18] tomreyn, this worked, but sudo apt install grub-efi still not working [08:19] Shamayimjosh: "not working" how? error messages are great for solving problems. [08:21] https://pastebin.com/RtCfPqTq See here [08:22] I know it says at the top "unable to resolve host ubuntu: Name or service not known" but ping -c1 one.one.one.one worked [08:22] "disco" ?! [08:22] !disco [08:22] Ubuntu 19.04 (Disco Dingo) was the 30th release of Ubuntu, support ended January 23rd, 2020. See !eol and https://lists.ubuntu.com/archives/ubuntu-security-announce/2020-January/005263.html [08:22] Probably not [08:24] this release will have moved to old-releases.ubuntu.com, because it has been unsupported for almost 2 years [08:25] you can do a manual release upgrade from within the chroot. but you could also backup and install a current release [08:26] maybe a long term support release, the latest is 20.04 LTS (19.04 was not one) [08:26] if you're doing an upgrade, you need to do it twice [08:26] There is not a way for me to check the version? [08:27] lsb_release -ds [08:27] or cat /etc/os-release [08:28] but the mention of "disco" in your apt error message pretty much already gives it away [08:29] Should I just backup my home directory and reinstall latest version then? [08:29] Sounds like my only option [08:32] Next time I do anything major I will update to the latest version before doing so [08:35] Shamayimjosh: you may want to also backup at least /etc since it's small and fast [08:36] Shamayimjosh: first backup, then release upgrade, then backup again, then 'play with things'. ;) [08:36] that's for the future, not for now [08:38] Shamayimjosh: is "disco" your live cd or your disk installation or both? Btw, if the installation is still there, why can't you access it from the bios boot manager with f12? No nvram variables are needed for that... [08:38] (the chat was too long to read all of it, sorry if I'm asking things that have already been answered...) [08:43] alkisg: those questions were not asked or answered, yet [08:46] 👍️ [08:51] So the Live USB is not picking up, at least its not showing in the file manager, my USB HDD, or my Flash USB storage when I plug them in [08:55] how do you tell? [08:55] Have to manually mount them obvously [08:55] yes that can be so [08:56] is there a way to list USB devices? [08:58] lsusb, or use lsblk to list block devices [08:59] I need to get the device name so I can mount it [08:59] lsusb not giving me that [08:59] use lsblk [09:00] thanks [09:03] ubuntu 18.04 ships PHP 7.4.3, a very old version of 7.4 (2020-02-20) and vulnerable to CVE2021-21703 - has ubuntu backported patches for CVE2021-21703 to their 7.4.3 ? [09:04] sorry, 20.04 * [09:05] have you tried to find out whether that's the case? [09:06] no, i suppose i could give the poc code a testrun (if its vulnerable, a fpm-process should either give me root access or crash) [09:07] Like the organisation behind every proper Linux distribution, Canonical publishes security notices for Ubuntu. they are indexed by search engines, and contain CVE ID references. [09:09] [607228.774751] php-fpm7.4[144976]: segfault at 0 ip 00005581568c6b37 sp 00007ffcb11fd600 error 4 in php-fpm7.4[5581566ad000+273000] [09:09] tomreyn, yeah, the 20.04 php-fpm is indeed vulnerable to CVE2021-21703 [09:10] which is a pretty bad privilege-escalation, allowing you to go from www-data user to root user.. [09:10] (and www-data is a particularly underprivileged user, by the way) [09:10] hans_: https://ubuntu.com/security/CVE-2021-21703 [09:10] In PHP versions 7.3.x up to and including 7.3.31, 7.4.x below 7.4.25 and 8.0.x below 8.0.12, when running PHP FPM SAPI with main FPM daemon process running as root and child worker processes running as lower-privileged users, it is possible for the child processes to access memory shared with the main process and write to it, modifying it in a way that would cause the root proc... [09:10] hans_: that's a fully upgraded system? [09:11] hmm maybe not, [09:11] ... [09:11] yes it is. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. [09:11] Well I got to go, thanks for all the help [09:12] can you show your installed package version and origin? [09:12] hans_: ^ [09:13] its a very plain 20.04, don't think i have any nonstandard repos, but [09:14] i guess it's apt list php7.4-fpm [09:15] tomreyn, does this help? https://paste.debian.net/plain/1222110 [09:15] php7.4-fpm/focal-updates,focal-security,now 7.4.3-4ubuntu2.7 amd64 [installed,automatic] [09:15] php7.4-fpm/focal-updates,focal-security 7.4.3-4ubuntu2.7 i386 [09:15] yes, the USN lists package version 7.4.3-4ubuntu2.7 as fixed, and that's the latest, too [09:16] maybe they messed it up somehow? running the POC code still crashes php-fpm: https://github.com/cfreal/exploits/blob/master/php-SplDoublyLinkedList-offsetUnset/exploit.php [09:17] you should bring this up in a bug report [09:17] on a patched system, php-fpm should not segfault.. but it does for me [09:18] if you have questions about ubuntu security, there's also #ubuntu-security, but keep in mind the security team is usually very busy and not neccessarily available for support questions during the weekends. [09:22] hans_: thanks for bringing this up. will you file a bug report on it? [09:22] via the "bugreport" app ? [09:22] !bug [09:22] If you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs. [09:22] either way should work [09:22] ubuntu-bug, ok yeah ill try, thanks [09:24] Greetings all! I am having an issue on my Ubuntu 20.04 desktop. The LAN connections seems to work, but gets no internet. It is a direct connection from ISP router. We have eliminated the router and the cable as possible failure points. What's left is this particular machine. The settings seem to be fine (automatic DHCP, connection becomes active when cable is plugged in, etc). It worked about two weeks ago when I tested [09:24] it. Not sure what's changed since then. How can I troubleshoot it? [09:24] hans_: see also bug 1948957 [09:24] Bug 1948957 in php7.4 (Ubuntu) "CVE-2021-21703: PHP-FPM oob R/W in root process leading to privilege escalation" [Undecided, In Progress] https://launchpad.net/bugs/1948957 [09:26] Well, if it worked two weeks ago and now it doesn't, it seems that 1) an update broke it; 2) user modified configuration files. [09:26] Or 3) hardware is cooked [09:26] KBar: you're probably responding to manwhowouldbekin ? [09:27] tomreyn, yes. [09:27] ok, just making sure i didnt misunderstand [09:27] np [09:28] KBar: Yes. I do not recall changing much configuration. So, it is either an Ubuntu or a hardware issue. What seems strange is that whenever I turn on the wired connection, it becomes active almost immediately. It used to take a few seconds to obtain the connection in the past. [09:32] tomreyn, strangely a comment in that bugreport says this was fixed over a month ago, > wrote on 2021-10-27 (...) It'll be published today [09:33] should i go ahead with a bugreport, or just complain in the existing bug1948957 ? [09:33] hans_: indeed,a patch was released then: https://bugs.launchpad.net/ubuntu/+source/php7.4/7.4.3-4ubuntu2.7 [09:34] hans_: i think it would be good to file a new bug report, ideally using ubuntu-bug on the affected system, and to mention that you are using unmodified php packages. [09:36] You can then link that against the CVE ID (2021-21703) on the right column of the bug report, post the bug ID in #ubuntu-security, and optionally also post a reference to your bug report in the pre-existing bug report 1948957 [09:57] hello folks! I have a little problem. I need create a bootlable Windows 11 USB pendrive. I have to try WoeUSB, it does not work, show a error msg. Code 256. after that, I tried install WinUSB, but... not easy. the Ppa doesn't work [09:58] Super_Ape: try the unofficial tool 'ventoy' [09:58] lotuspsychje, looks like too complicated. [09:58] lotuspsychje, have you used this? [09:59] Super_Ape: its not officialy supported, means no support and use at your own risk, but a lot of users like it [10:00] lotuspsychje, okay let me try [10:00] Shouldn't `dd` do the trick? [10:12] lotuspsychje, now i understand how it works. hahahaha fantastic xD [10:25] asd [10:25] haha [11:17] I constantly get a pop up in the middle of my screen showing my audio card.. Built-In Audio device IEC958. It just pops up in the middle of my screen, goes away and comes back up every so many minutes and keeps doing this for minutes and then stops.. like someone is plugging a cable jack in constantly and out. can someone explain? or how to diagnose if the driver/hardware is faulty? [11:21] anova, version of Ubuntu? [11:22] anova, `lsb_release ds`, `pulseaudio --version`, and it would be nice to have a screenshot. [11:22] https://pastebin.com/33wNhrLh @KBar [11:23] Oh, I will do so [11:26] that would be `lsb_release -ds` [11:27] Yep. Typo. [11:28] But we got the info anyway. [11:28] oh nice, i didn't know pulseaudio did that [11:29] ah no it doesn't, but anova assembled the info by other means, good. [11:29] Nah. It was most likely `plasmashell --version`. [11:30] Or `kate --version`. [11:34] tomreyn I've tried finding the offset from the phone, but not sure how. I installed a shell on it and ran parted directly but am unsure as to how exactly because the structure is weird [11:34] WickedDekciw: well, this is definitely beyond ubuntu support [11:34] try linux again maybe, or, better, #android [12:10] anyone know how i can upgrade wine using apt-get i was told the package is way out of date [12:14] MarcUK: wich ubuntu release are you on please? [12:14] 5.11.0-41-generic #45~20.04.1-Ubuntu SMP Wed Nov 10 10:20:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux [12:14] !info wine focal [12:14] wine (5.0-3ubuntu1, focal): Windows API implementation - standard suite. In component universe, is optional. Built by wine. Size 51 kB / 192 kB [12:15] thats the version you have MarcUK ?^ [12:15] The people from wine told me the version of wine 5.0 thats installed is way out of date latest is 6.23 [12:15] thats whats installed i typed uname -a in terminal thats what it says [12:15] MarcUK: well, we reccomend to keep the package versions meant for your ubuntu release and not to mix too much [12:16] wine was installed through apt-get i have no control over it [12:16] MarcUK: there are however some options you can try like !snaps !backports [12:16] how do i do that === KaiTheSharkWolf is now known as SharkBark-Away [12:18] MarcUK: for snaps, you can search from terminal: snap find wine [12:19] MarcUK: https://wine.htmlvalidator.com/install-wine-on-ubuntu-20.04.html [12:27] ok i got wine --version wine-6.0.2 installed that still not latest but i will give it a try [12:27] thanks [12:29] MarcUK is that for gaming? [12:29] Or for other purposes? [12:31] I got a PIC programmer for programming ASM assembly language into PIC micros [12:31] I see. [12:31] it uses a coms port so trying to get that to work on wine with USB [12:32] it still doesnt work is there a way to install the latest version of wine [12:32] 6.23 [12:33] its wine-6.0.2 at moment [12:34] and that's the latest [12:34] 6.23 is staging [12:34] thus not stable release [12:36] but we're a bit offtopic here i guess since it's all about wine and not really a ubuntu support question [12:36] anyway, i hope it makes sense MarcUK that 6.0.2 is the latest stable wine release [12:36] I have been trying to get this to work for days and i tried wineHQ the channel is dead jim dead [12:37] most channels are [12:37] Ubuntu had installed wine 5.0 which didnt help [12:37] Anyway to scan for and mount an fs automatically from an image? (basically auto identify magic number offset) [12:37] so all i want to do is install the latest version of wine [12:38] wine developers cant fob me off then which is what they did when i filed a bug report [12:38] MarcUK: well, you have the latest wine now, 6.0.2 [12:39] it not 6.23 is latest i just checked wines site [12:40] if you want to go the development or staging route then expect issues and use at own risk [12:40] link please [12:40] https://www.winehq.org/ [12:40] says Wine 6.23 released [12:41] MarcUK: again.... 6.23 is a development release, read again and closer [12:42] ok but how do i install it [12:42] you really want a dev version? [12:42] yep [12:42] that's at your own risk [12:42] ok [12:43] https://wiki.winehq.org/Ubuntu [12:44] MarcUK: for further wine support please use the wine support channel or forum (if they have one) [12:44] ok thanks its installing now [12:44] ok [12:44] or ask in #linux [12:46] I did try gentoo-wine you lot are the only ones that respond [12:46] we try to help when we can :) [12:46] :) [12:47] The development version has the same problem as all the other versions so now i can re post bug report at wine thanks === pong is now known as beaver [13:47] Hi folks === A_Dragon is now known as AAAAA_DRAGON === jordan is now known as Alabalistic [18:38] Has anyone here tried ZFS on the desktop? If so, how was it? would you recommend it? [18:40] !discuss | ijr [18:40] ijr: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [18:42] lotuspsychje: Sorry, I'll ask there. Thank you. [18:53] hi. i am considering installing 21.10 over 20.04.1 LTS. is there somewhere i can read that has pros/cons of this to consider? thanks. === SysGhost is now known as Sys_Ghost [19:04] hgolden: first of all why switch to a short term release when using a LTS (long term support) release? [19:04] 21.10 is only supported until July 2022 === Sys_Ghost is now known as SysGhost [19:05] 20.04 LTS is support until 2025 [19:06] If you wait until April you can upgrade from 20.04 LTS to 22.04 LTS. === popey3 is now known as popey [19:16] anyway to tell which mobo fan is which? At this point I'm thinking of manually setting the RPM and seeing which one stops. [19:16] I have a B550F and am using the nct6793-isa-0290 driver. [19:22] magic_ninja, https://askubuntu.com/questions/22108/how-to-control-fan-speed might help [19:30] Maik: my 20.04 is acting squirelly. also, i plan to upgrade to 22.04 before July 2022 anyway. [19:32] Maik: reinstalling 20.04 LTS is also an alternative i'm considering. [19:32] hgolden: better to ask for help and figure out why 20.04 is acting up [19:33] so it's best to tell what the actual problems are you have at the moment [19:33] maybe someone here can help solving it [19:34] it seems to be the apt postinst bug. symptom is that gnome-terminal won't run. however, konsole works ok. i can probably limp along using konsole until 22.04 LTS. [19:35] i fiddled with the python version making it inconsistent, but i think i have fixed that so i'm running python3.8 everywhere. [19:56] Anyone have experience with the 'magic sysrq' functionality under Ubuntu? [19:57] I'm on 20.04 and I've disabled all the screenshot shortcuts and enabled the proper kernel option, but still don't seem to have the functionality. === RonWhoCares_ is now known as RonWhoCares [20:07] Croran: try opening 'dmesg -w' and press alt+prntscrn+s [20:28] Hello! Something recently changed on my Ubuntu server regarding its hostname, and I'm trying to figure out what. `hostname` returns "whatever". `cat /etc/hostname` shows "whatever". `grep 127.0.0.1 /etc/hosts` returns "127.0.0.1 whatever localhost.localdomain localhost". [20:28] My problem is: `python -c 'import socket; print socket.getfqdn()'` returns "localhost.localdomain" and it used to return "whatever". Where else should I be looking? [20:30] maybe the command was different? [20:30] nevermind, mine returns the host [20:41] hi, a quick question. [20:41] A few weeks ago my OS crashed and a very kind man helped me reinstall everything, while making a copy of the whole disk for backup. [20:41] I already restored my core interest files (home folder), but are there any other folders that i might be interested in restoring to my freshly installed OS? configurations, setups, etc. [20:41] what directories are pure OS core libraries that i could remove due to duplication? (i.e already there due to the new OS install) [20:43] Aqua-: rm -rf /old-ubuntu/usr; rm -rf /old-ubuntu/lib ==> should do it [20:43] i know it's a very broad question that depends on my use, but still... i had many things that are not to be found in the home directory like steam and some games iv'e downloaded through it [20:44] hi alkisg, thanks again for the help [20:44] 👍️ [20:44] i already removed lib. usr has nothing of importance? [20:46] I think Steam puts its config under ~/.local, FWIW. [20:46] You might like to look at /etc - most system-wide settings end up there. [20:47] how about old-ubuntu/var, old-ubuntu/sbin, old-ubuntu/bin, old-ubuntu/run? are they containing anything interesting to me? can i remove them? [20:48] sbin and bin can go, they're just system-installed binaries. [20:48] :+1: [20:48] i had a look at /etc and cleaned it [20:50] var can probably go, but could conceivably contain a few bits of worthwhile data. If you were serving web files they'd be in /var/www. If you were running a mail server you might have some entries in /var/mail or /var/spool. Your old system logs are in /var/log. [20:53] cool, some of it might be useful to me [20:55] creature - why is my terminal refuses to remove old-ubuntu/bin && old-ubuntu/sbin? it says it's not a directoy when i command [20:55] sudo rm -r old-ubuntu/bin [20:56] if i try [20:56] sudo rm old-ubuntu/bin [20:56] it ironically says /bin is a directory [20:57] If it really says "/bin is a directory" - with that leading slash - you're in dangerous territory! Don't remove your main system's /bin, that is a bad idea. (Check you haven't got any spaces in your path.) [21:01] I wonder if there is anywhere I can get some help finding which fan is which and getting them labeled on the BM550F, or such a thing gets done for those fan control chips. [21:10] EriC^^: Yeah that worked... weird. i read somewhere you could hit alt+shift+prtsc and get a 'help' message to the console... [21:10] EriC^^: but when i do that, i'm switched back to my X session. [21:12] never heard that one, but maybe this'll help [21:12] !sysrq [21:12] In an emergency, you may be able to shutdown cleanly and reboot by holding down Alt+PrintScreen and typing slowly, in succession, S, U and B. For an explanation, see http://en.wikipedia.org/wiki/Magic_SysRq_key [21:16] Reboot Even If Something Utterly Broken [21:16] thanks [21:19] ok looks like it's actually alt+sysrq+h for help [21:34] does setting kernel.nmi_watchdog to 1 do anything? or do you also have to set kernel.panic_on_io_nmi and kernel.panic_on_io_nmi to get a practical effect? [21:46] yep with a trailing slash: [21:46] user@pc:/impish-backup$ sudo rm -r bin/ [21:46] rm: cannot remove 'bin/': Not a directory [21:46] user@pc:/impish-backup$ sudo rm bin/ [21:46] rm: cannot remove 'bin/': Is a directory [21:46] creature [21:47] is that mean im trying to remove the system bin? im explicitly in the old-ubuntu directory [21:50] Aqua-: What's the output of `ls -l bin` ? You might find it's a symlink. [21:51] lrwxrwxrwx 1 root root 7 Nov 12 14:53 bin -> usr/bin [22:00] There you are - it's a symlink, the same as usr/bin. [22:01] If you leave off the trailing slash, you can remove it. [22:01] ok cool. so should i? [22:02] If you like! You might as well, if you've already reviews old-ubuntu/usr. It's not pointing to anything usable. [22:03] nice thanks === Sven_vB_ is now known as Sven_vB === bedroller is now known as ciphersalad