[00:15] <john150> sysinfo
[00:20] <john150> hmmm, is it me, or Neofetch on Ubuntu doesn't display the full version# for DE: ?
[00:20] <longus_catus> 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] <rfm> 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] <longus_catus> Oh sweet, I'll try that.  Thanks a lot.
[01:10] <rfm> longus_catus, I have no idea why vim-tiny does this, don't even know how it could.
[01:14] <rfm> l:q
[01:14] <tomreyn> longus_catus / rfm: https://bugzilla.redhat.com/show_bug.cgi?id=1933594 may be related
[03:13] <longus_catus> Thanks for the help
[06:04] <WickedDekciw> 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] <WickedDekciw> And I've tried so many crap at this point hha
[06:12] <lotuspsychje> WickedDekciw: did you try that androidx86 in virtualbox yet we discussed last time?
[06:12] <lotuspsychje> maybe you can try something there?
[06:13] <WickedDekciw> lotuspsychje I was going to until I realized that Android-x86 isn't built to recent OS versions
[06:13] <WickedDekciw> Which sucks
[06:13] <lotuspsychje> built?
[06:18] <WickedDekciw> I mean it doesn't support them
[06:19] <WickedDekciw> It's only Android 9 ready
[06:23] <lotuspsychje> WickedDekciw: there surely must be a tool on android to mount other android images right? talk to the #android guys about it?
[06:23] <lotuspsychje> WickedDekciw: wich format is this android image in?
[06:24] <WickedDekciw> 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] <WickedDekciw> sorry got disconnected
[06:34] <lotuspsychje> !info simg2img | WickedDekciw
[06:34] <lotuspsychje> WickedDekciw: try this tool to unfold the data, then try mount it on ubuntu
[06:35] <WickedDekciw> Tried it before I believe, no dice because it doesn't recognize the file
[06:41] <lotuspsychje> WickedDekciw: pastebin the command and error you getting, maybe volunteers can help?
[06:53] <Shamayimjosh> Hi
[06:54] <lotuspsychje> welcome Shamayimjosh
[06:55] <WickedDekciw> lotuspsychje is there anyway I can cd to a paticular file
[06:55] <WickedDekciw> from the terminal
[06:56] <Shamayimjosh> 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?
[07:01] <Shamayimjosh> 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] <Shamayimjosh> Not my linux system, but another system partition
[07:02] <WickedDekciw> Shamayimjosh Are you installing grub to the actual HDD?
[07:02] <Shamayimjosh> I would like to
[07:03] <WickedDekciw> mount your installation
[07:03] <WickedDekciw> and the proc sutff I guess
[07:03] <WickedDekciw> Lemme check
[07:03] <Shamayimjosh> WickedDekciw, how do I do that?
[07:03] <WickedDekciw> Shamayimjosh https://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd
[07:03] <Shamayimjosh> I can open it in file manager
[07:04] <WickedDekciw> Follow the steps
[07:04] <WickedDekciw> if you know whatch doin
[07:04] <WickedDekciw> it should work in theory
[07:04] <Shamayimjosh> WickedDekciw, does this work for GPT drives?
[07:05] <WickedDekciw> It should
[07:05] <Shamayimjosh> It should at least be of help, I think once I install grub-efi, everything will be the same
[07:06] <WickedDekciw> No reason I know of that it wouldn't unless you're familiar with otherwise
[07:09] <tomreyn> WickedDekciw: so this android system image you're trying to access, how was that created?
[07:09] <WickedDekciw> tomreyn, manually from adb
[07:09] <WickedDekciw> using dd
[07:10] <tomreyn> you mean using dd from within an adb device shell?
[07:10] <WickedDekciw> I'm trying to recover data from it, the prerequisite is even accessing it to begin with, even mounting it
[07:10] <WickedDekciw> tomreyn that is correct, yes
[07:11] <tomreyn> hmm, this seems like a bad approach, if i'm getting it right. you should not dd a running system
[07:11] <WickedDekciw> It wasn't running, it was under a custom recovery (i.e TWRP)
[07:12] <WickedDekciw> So the system wasn't operational at the time
[07:12] <WickedDekciw> The question is how to even deal with it, testdisk doesn't know anything about Android
[07:12] <tomreyn> hmm, maybe that could work. i'm not sure whether it's the common approach to take a backup
[07:13] <tomreyn> you should not need testdisk, it's not incoherent / lost data
[07:13] <tomreyn> which dd command did you run exactly, i.e. how did you backup the partitions?
[07:13] <WickedDekciw> 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] <WickedDekciw> The background story is I accidentally ran a basic format on it and I want to recover stuff back
[07:14] <WickedDekciw> But testdisk doesn't normally deal with Android images
[07:14] <tomreyn> oh :-/
[07:15] <tomreyn> i forgot which file system android uses, i think it's also some ext file system
[07:15] <WickedDekciw> Could be ext4, could be f2fs, I don't know honestly since I can't get inside of it
[07:16] <WickedDekciw> Thing is, as I mentioned testdisk doesn't know about it
[07:16] <tomreyn> 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] <tomreyn> but i guess your data isn't coherent anymore
[07:18] <WickedDekciw> Likely
[07:18] <WickedDekciw> Hence the sad issue
[07:24] <Shamayimjosh> darn, grub-install does not like my EFI system partition I am trying to install it on
[07:26] <Shamayimjosh> because it's a 'fat' file system and doesn't support embedding
[07:27] <tomreyn> Shamayimjosh: "embedding" would be grub for (legacy) bios, you'll need efi grub if you want to boot in uefi mode
[07:27] <tomreyn> 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] <Shamayimjosh> Oh, I installed grub-efi before and so I thought it would run it instead
[07:28] <Shamayimjosh> when I type grub-install
[07:28] <Shamayimjosh> Thanks tomreyn
[07:28] <tomreyn> make sure the ESP is mounted at the standard path, though
[07:29] <tomreyn> so /boot/efi
[07:30] <Shamayimjosh> Do I manually have to mount it there do I, so, mount /dev/nvme0n1p1 /boot/efi?
[07:30] <Shamayimjosh> BTW, I'm on a Live USB and not my system
[07:30] <tomreyn> yes
[07:30] <tomreyn> that's a gpt partition table you have on the nvme, right?
[07:31] <Shamayimjosh> Yes
[07:31] <tomreyn> sudo fdisk -l /dev/nvme0n1     if you want to verify this
[07:32] <tomreyn> and you did chroot into the installed stytem on the nvme, right?
[07:32] <tomreyn> *system
[07:32] <Shamayimjosh> tried to, but not sure it worked
[07:33] <tomreyn> well, either the root changed or it didn't ;-)
[07:34] <tomreyn> 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] <Shamayimjosh> Yes it worked
[07:35] <Shamayimjosh> but the file manager did not change that is all, but does in the terminal
[07:35] <tomreyn> yes, only the world view in the terminal window where you ran the chroot command will have changed.
[07:37] <Shamayimjosh> tomreyn, so I tried sudo fdisk -l etc and it lists the paritions
[07:38] <Shamayimjosh> anyway got to work out how to make it use grub-efi
[07:38] <tomreyn> ok?
[07:39] <Shamayimjosh> Is that what fdisk -l is meant to do?
[07:40] <tomreyn> Shamayimjosh:     sudo fdisk -l     would read and print all the partition tables of all disks.
[07:41] <Shamayimjosh> Okay, thanks
[07:41] <tomreyn> 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] <tomreyn> 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] <tomreyn> installed, and only that. (e) make sure that you regenerate the initrd, too
[07:49] <Shamayimjosh> 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] <tomreyn> this sounds more like an apt error message than one from grub?
[07:51] <tomreyn> always run an apt update before you attempt to install packages.
[07:52] <tomreyn> (unless you ran an apt update just minutes ago)
[07:53] <tomreyn> 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] <Shamayimjosh> BTW, how do I regenerate initrd?
[07:54] <tomreyn> sudo update-initramfs -k KERNELVERSION -u    # for KERNELVERSION pick the latest installed kernel in /boot (within the chroot)
[07:56] <tomreyn> e.g., if you have /boot/initrd.img-5.4.0-91-generic then KERNELVERSION is 5.4.0-91-generic
[07:56] <Shamayimjosh> How do I test if internet is working within chroot
[07:56] <tomreyn> ping -c1 1.1.1.1 && ping -c1 one.one.one.one
[07:56] <tomreyn> both must succeed
[07:58] <Shamayimjosh> "ping: one.one.one.one: Temporary failure in name resolution"
[07:58] <tomreyn> ls -la /etc/resolv.conf
[07:59] <Shamayimjosh> "lrwxrwxrwx 1 root root 39 Jul  8  2019 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf" ?
[08:00] <tomreyn> right, which color is this shown in?
[08:00] <Shamayimjosh> white?
[08:00] <tomreyn> okay, no red or blue?
[08:00] <Shamayimjosh> no
[08:01] <tomreyn> ls -l /run/systemd/resolve/stub-resolv.conf
[08:01] <tomreyn> does the target exist?
[08:01] <mhaaby> hey does anyone use cointop?
[08:01] <Shamayimjosh> yes
[08:01] <tomreyn> mhaaby: no polls please, just ubuntu support questions
[08:01] <KBar> mhaaby, it is a Ubuntu support channel.
[08:02] <mhaaby> who said it was a poll
[08:02] <tomreyn> I did
[08:02] <mhaaby> I can't get cointop to work
[08:02] <mhaaby> and i need help
[08:02] <mhaaby> well you are mistaken
[08:03] <tomreyn> okay, which ubuntu release are you on, and how are you installing?
[08:03] <mhaaby> lemme see
[08:04] <mhaaby> It's actually Ubuntu 16.04 and I found and installed using the ubuntu software program
[08:04] <tomreyn> !16.04
[08:04] <tomreyn> we don't do paid support here
[08:05] <tomreyn> you'd need to talk to Canonical directly, or upgrade to a supported release, or, better yet, reinstall
[08:05] <mhaaby> I'm not sure ... why say you don't do paid support?
[08:06] <tomreyn> because of what ubottu just said
[08:06] <KBar> Or just use any software on your smartphone for tracking crypto.
[08:06] <mhaaby> oh
[08:06] <mhaaby> well I actually wanted the tracker sitting on a bigger screen
[08:06] <Shamayimjosh> So my issue is that internet is not working after the chroot?
[08:06] <mhaaby> not my main pc nor TV, certainly not my phone heh
[08:07] <mhaaby> Maybe i need to upgrade
[08:07] <mhaaby> ubuntu
[08:07] <KBar> mhaaby, is that a server? Do you a GUI?
[08:07] <KBar> *have
[08:07] <tomreyn> 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] <mhaaby> tbh I'm a bit new to Linux and am not sure
[08:08] <Shamayimjosh> Okay thanks
[08:08] <KBar> mhaaby, how did you get Ubuntu 16.04? :)
[08:08] <tomreyn> 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] <mhaaby> If I remember right, I began with a CD on a lower Ubuntu
[08:09] <mhaaby> then the upgrades were gradual
[08:09] <KBar> I see. Just upgrade or use CoinMarketCap.
[08:09] <mhaaby> I'll look that up
[08:10] <mhaaby> Can't find CoinMarketMap on the ubuntu software center?
[08:10] <tomreyn> 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] <Shamayimjosh> How do I do that?
[08:13] <mhaaby> I see, it's a website it seems
[08:13] <tomreyn> Shamayimjosh: sudo rm /etc/resolv.conf && echo nameserver 1.1.1.1 | sudo tee -a /etc/resolv.conf
[08:13] <tomreyn> Shamayimjosh: to delete it later (before leaving the chroot) you'd do    sudo rm /etc/resolv.conf    again
[08:13] <Shamayimjosh> thanks
[08:14] <tomreyn> with this done,     ping -c1 one.one.one.one     should succeed
[08:14] <tomreyn> (and so should the apt update)
[08:17] <mhaaby> KBar I just decided to use that website for now, til maybe I find another way.... this works but not a fan
[08:17] <mhaaby> Thanks for the help all, cool to see this little chatbox still goin strong
[08:17] <KBar> No problem. Good luck.
[08:18] <Shamayimjosh> tomreyn, this worked, but sudo apt install grub-efi still not working
[08:19] <tomreyn> Shamayimjosh: "not working" how? error messages are great for solving problems.
[08:21] <Shamayimjosh> https://pastebin.com/RtCfPqTq See here
[08:22] <Shamayimjosh> 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] <tomreyn> "disco" ?!
[08:22] <tomreyn> !disco
[08:22] <Shamayimjosh> Probably not
[08:24] <tomreyn> this release will have moved to old-releases.ubuntu.com, because it has been unsupported for almost 2 years
[08:25] <tomreyn> you can do a manual release upgrade from within the chroot. but you could also backup and install a current release
[08:26] <tomreyn> maybe a long term support release, the latest is 20.04 LTS (19.04 was not one)
[08:26] <ducasse> if you're doing an upgrade, you need to do it twice
[08:26] <Shamayimjosh> There is not a way for me to check the version?
[08:27] <tomreyn> lsb_release -ds
[08:27] <tomreyn> or cat /etc/os-release
[08:28] <tomreyn> but the mention of "disco" in your apt error message pretty much already gives it away
[08:29] <Shamayimjosh> Should I just backup my home directory and reinstall latest version then?
[08:29] <Shamayimjosh> Sounds like my only option
[08:32] <Shamayimjosh> Next time I do anything major I will update to the latest version before doing so
[08:35] <tomreyn> Shamayimjosh: you may want to also backup at least /etc since it's small and fast
[08:36] <tomreyn> Shamayimjosh: first backup, then release upgrade, then backup again, then 'play with things'. ;)
[08:36] <tomreyn> that's for the future, not for now
[08:38] <alkisg> 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] <alkisg> (the chat was too long to read all of it, sorry if I'm asking things that have already been answered...)
[08:43] <tomreyn> alkisg: those questions were not asked or answered, yet
[08:46] <alkisg> 👍️
[08:51] <Shamayimjosh> 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] <tomreyn> how do you tell?
[08:55] <Shamayimjosh> Have to manually mount them obvously
[08:55] <tomreyn> yes that can be so
[08:56] <Shamayimjosh> is there a way to list USB devices?
[08:58] <ducasse> lsusb, or use lsblk to list block devices
[08:59] <Shamayimjosh> I need to get the device name so I can mount it
[08:59] <Shamayimjosh> lsusb not giving me that
[08:59] <ducasse> use lsblk
[09:00] <Shamayimjosh> thanks
[09:03] <hans_> 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] <hans_> sorry, 20.04 *
[09:05] <tomreyn> have you tried to find out whether that's the case?
[09:06] <hans_> 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] <tomreyn> 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] <hans_> [607228.774751] php-fpm7.4[144976]: segfault at 0 ip 00005581568c6b37 sp 00007ffcb11fd600 error 4 in php-fpm7.4[5581566ad000+273000]
[09:09] <hans_> tomreyn, yeah, the 20.04 php-fpm is indeed vulnerable to CVE2021-21703
[09:10] <hans_> which is a pretty bad privilege-escalation, allowing you to go from www-data user to root user..
[09:10] <hans_> (and www-data is a particularly underprivileged user, by the way)
[09:10] <lotuspsychje> hans_: https://ubuntu.com/security/CVE-2021-21703
[09:10] <tomreyn> hans_: that's a fully upgraded system?
[09:11] <hans_> hmm maybe not,
[09:11] <tomreyn> ...
[09:11] <hans_> yes it is. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[09:11] <Shamayimjosh> Well I got to go, thanks for all the help
[09:12] <tomreyn> can you show your installed package version and origin?
[09:12] <tomreyn> hans_: ^
[09:13] <hans_> its a very plain 20.04, don't think i have any nonstandard repos, but
[09:14] <tomreyn> i guess it's    apt list php7.4-fpm
[09:15] <hans_> tomreyn, does this help? https://paste.debian.net/plain/1222110
[09:15] <hans_> php7.4-fpm/focal-updates,focal-security,now 7.4.3-4ubuntu2.7 amd64 [installed,automatic]
[09:15] <hans_> php7.4-fpm/focal-updates,focal-security 7.4.3-4ubuntu2.7 i386
[09:15] <tomreyn> yes, the USN lists package version 7.4.3-4ubuntu2.7 as fixed, and that's the latest, too
[09:16] <hans_> 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] <tomreyn> you should bring this up in a bug report
[09:17] <hans_> on a patched system, php-fpm should not segfault.. but it does for me
[09:18] <tomreyn> 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] <tomreyn> hans_: thanks for bringing this up. will you file a bug report on it?
[09:22] <hans_> via the "bugreport" app ?
[09:22] <tomreyn> !bug
[09:22] <tomreyn> either way should work
[09:22] <hans_> ubuntu-bug, ok yeah ill try, thanks
[09:24] <manwhowouldbekin> 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] <manwhowouldbekin> it. Not sure what's changed since then. How can I troubleshoot it?
[09:24] <tomreyn> hans_: see also bug 1948957
[09:26] <KBar> 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] <KBar> Or 3) hardware is cooked
[09:26] <tomreyn> KBar: you're probably responding to manwhowouldbekin ?
[09:27] <KBar> tomreyn, yes.
[09:27] <tomreyn> ok, just making sure i didnt misunderstand
[09:27] <KBar> np
[09:28] <manwhowouldbekin> 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] <hans_> 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] <hans_> should i go ahead with a bugreport, or just complain in the existing bug1948957 ?
[09:33] <tomreyn> hans_: indeed,a patch was released then: https://bugs.launchpad.net/ubuntu/+source/php7.4/7.4.3-4ubuntu2.7
[09:34] <tomreyn> 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] <tomreyn> 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] <Super_Ape> 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] <lotuspsychje> Super_Ape: try the unofficial tool 'ventoy'
[09:58] <Super_Ape> lotuspsychje, looks like too complicated.
[09:58] <Super_Ape> lotuspsychje, have you used this?
[09:59] <lotuspsychje> Super_Ape: its not officialy supported, means no support and use at your own risk, but a lot of users like it
[10:00] <Super_Ape> lotuspsychje, okay let me try
[10:00] <KBar> Shouldn't `dd` do the trick?
[10:12] <Super_Ape> lotuspsychje, now i understand how it works. hahahaha fantastic xD
[10:25] <spookley> asd
[10:25] <spookley> haha
[11:17] <anova> 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] <KBar> anova, version of Ubuntu?
[11:22] <KBar> anova, `lsb_release ds`, `pulseaudio --version`, and it would be nice to have a screenshot.
[11:22] <anova> https://pastebin.com/33wNhrLh @KBar
[11:23] <anova> Oh, I will do so
[11:26] <tomreyn> that would be `lsb_release -ds`
[11:27] <KBar> Yep. Typo.
[11:28] <KBar> But we got the info anyway.
[11:28] <tomreyn> oh nice, i didn't know pulseaudio did that
[11:29] <tomreyn> ah no it doesn't, but anova assembled the info by other means, good.
[11:29] <KBar> Nah. It was most likely `plasmashell --version`.
[11:30] <KBar> Or `kate --version`.
[11:34] <WickedDekciw> 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] <tomreyn> WickedDekciw: well, this is definitely beyond ubuntu support
[11:34] <tomreyn> try linux again maybe, or, better, #android
[12:10] <MarcUK> anyone know how i can upgrade wine using apt-get i was told the package is way out of date
[12:14] <lotuspsychje> MarcUK: wich ubuntu release are you on please?
[12:14] <MarcUK> 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] <lotuspsychje> !info wine focal
[12:15] <lotuspsychje> thats the version you have MarcUK ?^
[12:15] <MarcUK> 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] <MarcUK> thats whats installed i typed uname -a in terminal thats what it says
[12:15] <lotuspsychje> MarcUK: well, we reccomend to keep the package versions meant for your ubuntu release and not to mix too much
[12:16] <MarcUK> wine was installed through apt-get i have no control over it
[12:16] <lotuspsychje> MarcUK: there are however some options you can try like !snaps !backports
[12:16] <MarcUK> how do i do that
[12:18] <lotuspsychje> MarcUK: for snaps, you can search from terminal: snap find wine
[12:19] <Maik> MarcUK: https://wine.htmlvalidator.com/install-wine-on-ubuntu-20.04.html
[12:27] <MarcUK> ok i got wine --version wine-6.0.2 installed that still not latest but i will give it a try
[12:27] <MarcUK> thanks
[12:29] <KBar> MarcUK is that for gaming?
[12:29] <KBar> Or for other purposes?
[12:31] <MarcUK> I got a PIC programmer for programming ASM assembly language into PIC micros
[12:31] <KBar> I see.
[12:31] <MarcUK> it uses a coms port so trying to get that to work on wine with USB
[12:32] <MarcUK> it still doesnt work is there a way to install the latest version of wine
[12:32] <MarcUK> 6.23
[12:33] <MarcUK> its wine-6.0.2 at moment
[12:34] <Maik> and that's the latest
[12:34] <Maik> 6.23 is staging
[12:34] <Maik> thus not stable release
[12:36] <Maik> but we're a bit offtopic here i guess since it's all about wine and not really a ubuntu support question
[12:36] <Maik> anyway, i hope it makes sense MarcUK that 6.0.2 is the latest stable wine release
[12:36] <MarcUK> I have been trying to get this to work for days and i tried wineHQ the channel is dead jim dead
[12:37] <Maik> most channels are
[12:37] <MarcUK> Ubuntu had installed wine 5.0 which didnt help
[12:37] <WickedDekciw> Anyway to scan for and mount an fs automatically from an image? (basically auto identify magic number offset)
[12:37] <MarcUK> so all i want to do is install the latest version of wine
[12:38] <MarcUK> wine developers cant fob me off then which is what they did when i filed a bug report
[12:38] <Maik> MarcUK: well, you have the latest wine now, 6.0.2
[12:39] <MarcUK> it not 6.23 is latest i just checked wines site
[12:40] <Maik> if you want to go the development or staging route then expect issues and use at own risk
[12:40] <Maik> link please
[12:40] <MarcUK> https://www.winehq.org/
[12:40] <MarcUK> says Wine 6.23 released
[12:41] <Maik> MarcUK: again.... 6.23 is a development release, read again and closer
[12:42] <MarcUK> ok but how do i install it
[12:42] <Maik> you really want a dev version?
[12:42] <MarcUK> yep
[12:42] <Maik> that's at your own risk
[12:42] <MarcUK> ok
[12:43] <Maik> https://wiki.winehq.org/Ubuntu
[12:44] <Maik> MarcUK: for further wine support please use the wine support channel or forum (if they have one)
[12:44] <MarcUK> ok thanks its installing now
[12:44] <Maik> ok
[12:44] <Maik> or ask in #linux
[12:46] <MarcUK> I did try gentoo-wine you lot are the only ones that respond
[12:46] <Maik> we try to help when we can :)
[12:46] <MarcUK> :)
[12:47] <MarcUK> The development version has the same problem as all the other versions so now i can re post bug report at wine thanks
[13:47] <BluesKaj> Hi folks
[18:38] <ijr> Has anyone here tried ZFS on the desktop? If so, how was it? would you recommend it?
[18:40] <lotuspsychje> !discuss | ijr
[18:42] <ijr> lotuspsychje: Sorry, I'll ask there. Thank you.
[18:53] <hgolden> 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.
[19:04] <Maik> hgolden: first of all why switch to a short term release when using a LTS (long term support) release?
[19:04] <Maik> 21.10 is only supported until July 2022
[19:05] <Maik> 20.04 LTS is support until 2025
[19:06] <Maik> If you wait until April you can upgrade from 20.04 LTS to 22.04 LTS.
[19:16] <magic_ninja> 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] <magic_ninja> I have a B550F and am using the nct6793-isa-0290 driver.
[19:22] <KBar> magic_ninja, https://askubuntu.com/questions/22108/how-to-control-fan-speed might help
[19:30] <hgolden> Maik: my 20.04 is acting squirelly. also, i plan to upgrade to 22.04 before July 2022 anyway.
[19:32] <hgolden> Maik: reinstalling 20.04 LTS is also an alternative i'm considering.
[19:32] <Maik> hgolden: better to ask for help and figure out why 20.04 is acting up
[19:33] <Maik> so it's best to tell what the actual problems are you have at the moment
[19:33] <Maik> maybe someone here can help solving it
[19:34] <hgolden> 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] <hgolden> 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] <Croran> Anyone have experience with the 'magic sysrq' functionality under Ubuntu?
[19:57] <Croran> 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.
[20:07] <EriC^^> Croran: try opening 'dmesg -w' and press alt+prntscrn+s
[20:28] <creature> 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] <creature> 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] <EriC^^> maybe the command was different?
[20:30] <EriC^^> nevermind, mine returns the host
[20:41] <Aqua-> hi, a quick question.
[20:41] <Aqua-> 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] <Aqua-> 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] <Aqua-> 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] <alkisg> Aqua-: rm -rf /old-ubuntu/usr; rm -rf /old-ubuntu/lib ==> should do it
[20:43] <Aqua-> 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] <Aqua-> hi alkisg, thanks again for the help
[20:44] <alkisg> 👍️
[20:44] <Aqua-> i already removed lib. usr has nothing of importance?
[20:46] <creature> I think Steam puts its config under ~/.local, FWIW.
[20:46] <creature> You might like to look at /etc - most system-wide settings end up there.
[20:47] <Aqua-> 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] <creature> sbin and bin can go, they're just system-installed binaries.
[20:48] <Aqua-> :+1:
[20:48] <Aqua-> i had a look at /etc and cleaned it
[20:50] <creature> 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] <Aqua-> cool, some of it might be useful to me
[20:55] <Aqua-> 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] <Aqua-> sudo rm -r old-ubuntu/bin
[20:56] <Aqua-> if i try
[20:56] <Aqua-> sudo rm old-ubuntu/bin
[20:56] <Aqua-> it ironically says /bin is a directory
[20:57] <creature> 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] <magic_ninja> 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] <Croran> EriC^^: Yeah that worked... weird. i read somewhere you could hit alt+shift+prtsc and get a 'help' message to the console...
[21:10] <Croran> EriC^^: but when i do that, i'm switched back to my X session.
[21:12] <EriC^^> never heard that one, but maybe this'll help
[21:12] <EriC^^> !sysrq
[21:16] <jeremy31> Reboot Even If Something Utterly Broken
[21:16] <Croran> thanks
[21:19] <Croran> ok looks like it's actually alt+sysrq+h for help
[21:34] <Croran> 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] <Aqua-> yep with a trailing slash:
[21:46] <Aqua-> user@pc:/impish-backup$ sudo rm -r bin/
[21:46] <Aqua-> rm: cannot remove 'bin/': Not a directory
[21:46] <Aqua-> user@pc:/impish-backup$ sudo rm bin/
[21:46] <Aqua-> rm: cannot remove 'bin/': Is a directory
[21:46] <Aqua-> creature
[21:47] <Aqua-> is that mean im trying to remove the system bin? im explicitly in the old-ubuntu directory
[21:50] <creature> Aqua-: What's the output of `ls -l bin` ? You might find it's a symlink.
[21:51] <Aqua-> lrwxrwxrwx 1 root root 7 Nov 12 14:53 bin -> usr/bin
[22:00] <creature> There you are - it's a symlink, the same as usr/bin.
[22:01] <creature> If you leave off the trailing slash, you can remove it.
[22:01] <Aqua-> ok cool. so should i?
[22:02] <creature> If you like! You might as well, if you've already reviews old-ubuntu/usr. It's not pointing to anything usable.
[22:03] <Aqua-> nice thanks