[00:32] <oops> after mistakenly configuring "sudoers" , i quit from root users , then i can't enter the root user account , how to fix it
[00:42] <Bashing-om> oops: Copy the /etc/sudoers file from the liveUSB environment back to the install - is one way.
[01:04] <sarnold> oops: I think you'll be given a root shell if you reboot into the recovery setting
[01:04] <sarnold> oops: if that doesn't work, using init=/bin/bash or /usr/bin/bash on the kernel command line should give you a root shell you can use to fix things, but it's less convenient than using the recovery option if that works
[01:28] <frenchface> Hey Everyone, I'm having issues with my Ubuntu Server (its either 18.04 or 19.xx) booting. This started a few weeks back where I had to update the bootloader, however this time it is behaving differently.
[01:29] <frenchface> I'm now getting an "error: attempt to read or write outside of disk 'hd0'. error: you need to load the kernel first. Press any key to continue
[01:29] <frenchface> I'm thinking this is due to my /boot partition being 100% full but i'm really unsure and not sure what is the best way to see if my /boot partition is 100% full
[01:29] <frenchface> does anyone have any suggestions?
[01:31] <sarnold> frenchface: hmm, someone else had a similar issue a few weeks ago, but iirc they wound up being fixated on something that felt pretty unrelated to me
[01:32] <_Sym_> frenchface, check if your partitions are full by "df -h"
[01:32] <sarnold> frenchface: a few months ago there was a security update that caused grub records to be regenerated, which broke a lot of people with incorrectly configured systems
[01:32] <frenchface> I'm familiar with the df -h command, but I'm not sure how to run it as I cannot boot at all
[01:32] <sarnold> frenchface: your problem sounds different, but the recovery instructions may still be useful https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/GRUB2SecureBootBypass
[01:33] <frenchface> I've also tried using some boot repair that I found off of Ubuntu website. however it was unsuccessful but generated this output: paste.ubuntu.com/p/BVgNssrnKc/
[01:34] <frenchface> Thanks sarnold, i'll take a look at the wiki
[01:35] <frenchface> sarnold, there isn't a live CD for Ubuntu Server is there? If so I haven't been able to find it. Guess I should just use the desktop live cd?
[01:37] <sarnold> frenchface: http://cdimage.ubuntu.com/ubuntu-server/focal/daily-live/current/ or https://releases.ubuntu.com/20.04.1/ubuntu-20.04.1-live-server-amd64.iso
[01:37] <frenchface> sarnold, ah thanks!
[01:38] <sarnold> man I completely don't grok the output of this boot repair thing
[01:38] <_Sym_> frenchface, your log says sda2 is 49% full
[01:44] <pjs> is it possible to upgrade from 18.04 to 20.04 yet?
[01:45] <frenchface> sarnold, from the ubuntu server install, I do not know of a way to boot without installing. I know it is possible to do it from the Ubuntu Desktop, but how would you do it from the server install iso?
[01:45] <oops> sarnold: i insert a usb , but it's no rescue option, and the boot menu which include kernel option don't appear during start ,  where to use those kernel command you addressed
[01:48] <sarnold> pjs: either do-release-upgrade or do-release-upgrade -d  will do the trick
[01:48] <Tripknotix> hello , im having an issue, when i try to load ubuntu, this happened when i moved the server from our warehouse to our indoor office space, https://imgur.com/a/B6cDy3M
[01:48] <Tripknotix> prior to that, everything worked
[01:49] <sarnold> frenchface: it's been a few months since I've seen the server installer, but you can certainly just grab a shell on the thing, it might have been in the upper right-hand menu
[01:50] <sarnold> Tripknotix: double-check all the drive connections, unplug and replug them all, double-check the power connections, etc
[01:50] <Tripknotix> sarnold,  ok thank you
[01:51] <pjs> sarnold: ah nice! I thought there was some blockers but I guess they fixed it. Thanks!
[01:54] <frenchface> sarnold, it looks like from the ubuntu docs that I should be able to hit F2 or ctr Z to get to shell, but it doesn't do anything. would it be a terrible idea to use the desktop installer?
[01:54] <sarnold> pjs: I think I've heard they wanted to avoid offering it until they figured out a workaround for legacy boot folks who have misconfigured the debconf database that says where to install grub..
[01:55] <sarnold> frenchface: desktop installer should work fine if you've got enough video card to run it
[01:57] <pjs> sarnold: ah ok. So I guess I'm good to give it a go then
[01:57] <sarnold> pjs: yeah, probably
[01:57] <sarnold> pjs: iirc dpkg-reconfigure grub-pc would let you pick where grub ought to be installed
[01:58] <sarnold> pjs: .. and if that's correct, or if you're using uefi, then dpkg-reconfigure grub-efi-amd64 should do the job
[02:01] <quazimodo> is the pulse user meant to be in the 'bluetooth' user group?
[02:01] <quazimodo> on ubuntu 20.04 my bose qc35II keep connect/disconnecting
[02:02] <quazimodo> 18.04 was better but I think i had to mess with some profiles to get it to stream properly... don't remember
[02:03] <sarnold> quazimodo: I don't think that user account is used by anything
[02:04] <sarnold> bluetooth seems like it's super-flaky at best
[02:04] <quazimodo> bluetooth has always been annoying, the spec is super ridiculous
[02:04] <quazimodo> but i'm *fairly certain that bluez is ok, it's a pulse/bluez thing
[02:04] <quazimodo> as far as I can tell blueman simply coordinates bluez & pulse
[02:05] <quazimodo> still murdering my will to live, tho
[02:06] <quazimodo> the bluez logging output is a bit... not so great though; profiles/audio/avctp.c:session_cb() AVCTP session 0x55f468c898f0 got disconnected
[02:07] <quazimodo> i recon i need to work on the a2dp profile or something
[02:08] <quazimodo> could be a GDM thing eh
[02:08] <quazimodo> i should try in gnome-shell & see if it works there
[02:09] <frenchface> sarnold, the last part says to run: $ mount /boot/efi
[02:10] <frenchface> should i run it as /boot/grub ?
[02:11] <sarnold> frenchface: hmm I don't recall seeing an EFI partition in your output, did I overlook it?
[02:12] <frenchface> sarnold, no I do not have a EFI partition, but https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/GRUB2SecureBootBypass under teh recovery instructions tells you to run it
[02:14] <sarnold> frenchface: yeah, it's more there as a reminder to folks who do use uefi that they need to mount it in order to do many of the recovery options
[02:16] <pjs> sarnold: ok cool. I'm pretty sure I installed with defaults so I'll just let it do it's thing
[02:17] <sarnold> pjs: that's probably fine; the trouble is, if your grub-pc or grub-efi-amd64 debconf databases aren't configured correctly, it's a *real* pain to recover, but if it's fine, then it's only a few seconds to run the useless command. heh.
[02:17] <Gosset> hello, impossible to install wine on Ubuntu Mate 18.04
[02:18] <frenchface> sarnold, this maybe a stupid question, but should I be able to mount the boot partition?
[02:19] <sarnold> frenchface: that should work fine
[02:19] <sarnold> Gosset: pastebin the errors you get when you try to install it?
[02:19] <frenchface> sarnold, well I cannot, maybe that's my error
[02:19] <frenchface> *problem
[02:20] <sarnold> frenchface: hmm that's troubling indeed; are there any messages in dmesg that describe why?
[02:20] <frenchface> from fdisk -l, /dev/sda1 is a BIOS boot, when I try to mount it I get the error wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error
[02:22] <sarnold> heh, that's entirely too many possibilities
[02:23] <sarnold> is there anything more specific in dmesg?
[02:25] <frenchface> sarnold, any keywords to looks for? running just dmesg | grep -i sda1 doesn't bring up anything useful
[02:26] <Gosset> sarnold
[02:26] <Gosset> https://imgur.com/3R3Tpam.jpg
[02:27] <Gosset> why must I install wine32 if I am running Ubuntu 64 bits?
[02:28] <mefistofeles> wine is a 32bit app, iirc
[02:28] <sarnold> frenchface: dmesg | tail  isn't too bad starting point
[02:28] <Gosset> bof
[02:28] <Gosset> ok
[02:28] <Gosset> then, big problem because I can't install wine32
[02:29] <Gosset> wine32:i386 : Dependency: libwine:i386 (= 3.0-1ubuntu1)
[02:29] <Gosset> big mess
[02:30] <frenchface> sarnold, I just tried mounting /dev/sda1 of a BIOS boot type from another working VM and it doesn't mount either. So I'm thinking that it shouldnt be able find
[02:31] <pjs> sarnold: is there a way to know if I'm fine or not lol?
[02:37] <sarnold> pjs: oh! thanks for the reminder. maybe there is :) try this: debconf-get-selections  | grep 'grub.*install_devices'
[02:38] <sarnold> frenchface: how did you try to mount it? how did it fail? where there more detailed errors in dmesg output?
[02:39] <ducasse> frenchface: is it a bios boot partition? those have no file system, you can't mount them
[02:39] <frenchface> i tried by mount /dev/sda1 /mnt, there were no errors in dmesg | tail
[02:39] <frenchface> ducassee yes it was
[02:39] <pjs> sarnold: is htat in debconf-utils?
[02:40] <frenchface> i'm thinking about following something like this https://help.ubuntu.com/community/BootPartition but concerning that it is talking about ubuntu 11
[02:40] <sarnold> pjs: yeah
[02:40] <sarnold> "This free space must be located inside the first 100GB of the disk" omg that's ancient
[02:41] <pjs> sarnold: https://paste.sr.ht/~petersanchez/0debe806e3d56adbe4a497665018dc3a0c779add
[02:41] <sarnold> pjs: hmm strange, I expected to see device names in there: https://paste.ubuntu.com/p/sYnFDNYbyv/
[02:42] <pjs> sarnold: hrmm, weird
[02:43] <pjs> so maybe I shouldn't update then :)
[02:44] <sarnold> pjs: or run dpkg-reconfigure grub-pc and make sure it's set up correctly before rebooting :)
[02:45] <pjs> sarnold: dpkg-query: package 'grub-pc' is not installed and no information is available
[02:45] <pjs> Tried it just to see lol
[02:46] <pjs> should I install it?
[02:47] <sarnold> pjs: very strange, I would have expected to see grub-efi-amd64 entries in your debconf selections if that's what you're using..
[02:47] <sarnold> pjs: try dpkg-reconfigure grub-efi-amd64 then? :)
[02:47] <pjs> ah yea, efi-amd64 is installed
[02:47] <pjs> let me try
[02:48] <pjs> sarnold: seemed to complete OK
[02:48] <pjs> I left my custom options there (which may not even be needed anymore but...)
[02:49] <sarnold> pjs: would you indulge my curiosity and re-run the debconf-get-selections  | grep 'grub.*install_devices'
[02:49] <sarnold> I'm curious if those are populated now or not
[02:50] <pjs> sarnold: they are not
[02:50] <pjs> same output (different order but same values)
[02:51] <sarnold> pjs: strange. thanks :D
[02:51] <pjs> sarnold: sure thing
[02:51] <pjs> sarnold: so you feel it's safe to update? lol
[02:51] <sarnold> pjs: yeah
[02:52] <sarnold> pjs: I upgraded on my own laptop months back and it went pretty okay
[02:53] <pjs> sarnold: ok so basically update, upgrade, dist-upgrade, do-release-upgrade, and finally dpkg-reconfigure grub-efi-amd64 - then reboot?
[02:55] <sarnold> pjs: you can probably skip that final dpkg-reconfigure step
[02:55] <sarnold> pjs: and probably dist-upgrade won't have anything to do after the upgrade, but it shouldn't hurt either
[02:56] <pjs> ah ok
[02:56] <pjs> thanks, as always, for your help
[02:58] <pjs> I'll do it this weekend in case I screw things up I can restore with calm :)
[03:01] <sarnold> pjs: good idea :) have fun :)
[03:01] <sarnold> oh wait, that's like three days away. for a moment I thought this was friday night.
[03:03] <chaslinux> Is there an online resource I can look at to see how to check within a .deb package for old versions and replace those with the new version of the .deb package? (created a .deb package, but don't want several old versions on a person's system)
[03:04] <mozzarella> BlueEagle: bro
[03:04] <sarnold> chaslinux: there's often a debian/watch file in the package that can be used with uscan to find and download new versions to package
[03:06] <chaslinux> sarnold, the thing is I don't think I can get my package in repos (it's a game I created with GameMaker, so binary blob). Trying to make it simpler for people to install it rather than just run from folder.
[03:08] <chaslinux> I've actually written a script to automate most of the debian package creation, but I wondered if perhaps a preinstall script or Makefile to do that task? Not really a programmer, so a bit confused.
[03:08] <mozzarella> BlueEagle: are you there?
[03:09] <sarnold> chaslinux: if you're willing to put in some work you could get it packaged in debian, then it'd be in ubuntu 'for free' -- you could also make a snap of it, you could probably have that done in a few hours, but it'd require folks to have snapd installed
[03:09] <chaslinux> Actually I did make a snap of it earlier, but never could get the audio working...
[03:10] <lotuspsychje> mozzarella: ask your question into the channel please
[03:10] <sarnold> chaslinux: d'oh :(
[03:11] <mozzarella> lotuspsychje: I still can't print anything, doesn't seem to have anything to do with sleep
[03:12] <chaslinux> I'll look a bit more sarnold, thanks, will try to get it in the repos.
[03:13] <lotuspsychje> mozzarella: re-ask your question with all details in channel, with your tryed steps
[03:29] <quazimodo> bluetooth certainly is weird :/
[03:29] <quazimodo> connects perfectly to my wife's qc35II headphones
[03:29] <quazimodo> dies in the ass when dealing with mine :/
[03:33] <pjs> sarnold: hah, still Wednesday :)
[03:50] <quazimodo> turns out my idiot headphones were broken & bose pushed a fix jesus
[04:39] <lalitmee> Hey guys, I am facing a little bit weird problem and that is when I lock my system and login again some of my configurations are not applying like I have remapped my Caps Lock to Escape, that is not there after opening my system again after locking. Somehow the repeat keys configuration is also being reset and it is becoming to much distrubance
[04:39] <lalitmee> I am using 20.04 Ubuntu
[05:13] <oops> i have a encrypted usb  as a live usb , when i insert it as a live os , it will prompt enter password to decrypt it ,now i insert it as a common usb on my pc , how to decrypt it to view content
[05:39] <quazimodo> oops: i think you need to mount it as an ecryptfs
[05:39] <quazimodo> https://unix.stackexchange.com/questions/407662/encrypting-mounting-directory-with-ecryptfs
[05:39] <quazimodo> something like the instruction at the bottom there?
[05:40] <quazimodo> is it ecryptfs encoded?
[05:41] <oops> quazimodo , i opened it with command "cryptsetup luksOpen" , that usb is a encrypted kali live ,
[05:47] <quazimodo> hrm that's different to ecryptfs isn't it
[05:47] <tomreyn> oops: gnome files (nautilus) should be able to detect and open dmcrypt-luks encrypted storages.
[05:48] <tomreyn> quazimodo: yes, that's different, ecryptfs was file system encryption, dmcrypt-luks is block device encryption.
[05:48] <quazimodo> tomreyn: any reason why we have both dmcrypt & ecryptfs?
[05:49] <tomreyn> !ecryptfs
[05:49] <quazimodo> oh, interesting
[05:49] <quazimodo> so my ecryptfs encrypted home dir on 20.04 is shit
[05:50] <tomreyn> it would be good to do a fresh installation at some point.
[05:51] <quazimodo> i literally just did :/
[05:51] <quazimodo> i think i ecryptfs'd my home dir my self
[05:51] <tomreyn> oh, so you're saying 20.04 still supports ecryptfs?
[05:51] <tomreyn> oh i see
[05:52] <tomreyn> i think you can remove the encryption without data loss
[05:52] <tomreyn> but then you'll have none
[05:52] <quazimodo> oh i remember now, I encrypted put /home on /dev/sda4
[05:52] <tomreyn> there is also cryptsetuü-reencrypt, but it's not very user friendly.
[05:52] <quazimodo> so if I do block level encryption it would mean that the entire /home dir is unencrypted once any user logs in
[05:52] <tomreyn> cryptsetup-reencrypt
[05:52] <quazimodo> rather than being producted user-user
[05:53] <tomreyn> "protected"?
[05:53] <tomreyn> right, that's a difference you get with file system vs block level encryption
[05:54] <quazimodo> yeah
[05:54] <tomreyn> how many human users are there using your system, though? most of the time, for desktops, the answer is 1
[05:55] <quazimodo> lol it's a laptop
[05:55] <quazimodo> actually i could use either, that doesn't matter, but im surprised that they deprecated ecryptfs for 20.04
[05:55] <quazimodo> it's a different way of doing it, dno why you'd deprecate
[05:55] <tomreyn> bug 1756840
[05:56] <quazimodo> that was quick, did you prepare that answer earlier ?
[05:57] <lotuspsychje> quazimodo: volunteers follow the recent/biggest bugs
[05:57] <tomreyn> it is a bug report, the one which the previous fact i requested from the ubottu bot points to.
[05:58] <quazimodo> ah ok i didn't see
[05:58] <quazimodo> yeah ok
[06:00] <quazimodo> pardon my paranoia but this feels like an nsa thing
[06:00] <quazimodo> it's encrypted, but only while the whole system is powered down
[06:00] <quazimodo> :/
[06:01] <mozzarella> where is firefox's irc channel
[06:03] <lotuspsychje> mozzarella: #firefox ?
[06:03] <quazimodo> oh wow no maintenance since 8 years ago
[06:03] <quazimodo> encfs looks good
[06:05] <tomreyn> quazimodo: both file system encrpytion and block device encryption can only protect your data while it's not mounted / opened. if you want file system encryption (should not be for *this* reason) you should probably go for ext4 + fscrypt.
[06:07] <quazimodo> understood, i haven't read about ext4+fscrypt
[06:07] <quazimodo> i presumed that that would be block level too
[06:09] <tomreyn> ext4 is the default file system on ubuntu installations.
[06:11] <matsaman> mozzarella: it's actually on mozilla's own IRC network
[06:13] <matsaman> encfs works pretty well indeed
[06:13] <matsaman> and gocryptfs is worth a look
[06:14] <matsaman> anybody with physical access to your storage and real interest in your data won't be stopped by encryption, so you shouldn't try and protect against that
[06:14] <matsaman> what encryption does the best against is the odd mid-tier criminal, who just stole your laptop, and instead of pawning it _immediately_ for $5 of drugs, turns it on and sees if you have your bank account information saved in a text file
[06:15] <matsaman> people who really want your data don't waste time stealing your computers anyway
[06:20] <quazimodo> matsaman: i've seen antitrust i know how they put cameras & steal your stuff
[06:21] <matsaman> cameras are pretty useful
[06:22] <al_nz1> why do I have netplan-eth0 and eth0 and which one is active?
[06:23] <leftyfb> al_nz1: because you created one of them and both are active
[06:24] <al_nz1> leftyfb: I have not created any of them
[06:25] <leftyfb> al_nz1: what version of ubuntu is this? Desktop or server?
[06:25] <al_nz1> but there is a 01-netcfg.yaml and a 01-network-manager-all.yaml
[06:25] <al_nz1> Lubuntu
[06:25] <Rico> hello
[06:26] <Rico> can anyone here help me with this please ? https://paste.swordarmor.fr/3hrb
[06:26] <leftyfb> al_nz1: with ubuntu desktops, you shouldn't need to mess with any netplan files. Your network manager handles networking
[06:26] <quazimodo> recon it's possible to use gnome-shell applications like the wifi/bluetooth applets & the menu bar with i3?
[06:26] <quazimodo> or did they build gnome-shell so monolithic that you cant really use parts of it
[06:29] <al_nz1> leftyfb: well I have changed both adapters to static ip - but its not being reflected in ifconfig
[06:30] <leftyfb> al_nz1: how did you set them static? ifconfig isn't installed by default on ubuntu systems using netplan
[06:30] <matsaman> Rico: what's the problem?
[06:31] <Rico> matsaman:  the DNS config I enter for the VPN via network manager is not shown in systemd-resolve --status
[06:31] <al_nz1> leftyfb: using the gui network tool - perhaps network manager
[06:31] <Rico> it should be
[06:31] <Rico> it results in DNS not working correctly with VPN
[06:32] <Rico> as my DNS config is not push into systemd-resolve when I brong my vpn up
[06:32] <Rico> bring
[06:32] <matsaman> Rico: what VPN system are we talking about?
[06:32] <al_nz1> leftyfb: I can screen share if you are able to take a look?
[06:32] <Rico> matsaman:  openvpn
[06:33] <Rico> in my pastebin, I should have DNS: 192.168.159.168 in my tun2 description
[06:35] <matsaman> Rico: you've got the network-manager-openvpn package/s installed?
[06:35] <Rico> matsaman:  the only file where I'm able to find this DNS entry is /var/run/NetworkManager/resolv.conf
[06:35] <Rico> matsaman:  yes. everything works fine ecept DNS
[06:35] <Rico> except
[06:38] <al_nz1> the netplan rendered is networkd
[06:38] <al_nz1> how do I change a IP with networkd
[06:56] <Rico> nobody ?
[06:56] <mefistofeles> nope
[06:57] <lotuspsychje> !behelpful | mefistofeles
[06:58] <mefistofeles> hah
[07:08] <Rico> :)
[07:10] <Rico> I'm fuc*ing stuck with that
[07:14] <chown> Hello. What is a good standalone application panel/tray/menu using Xlib not gtk/qt. Standalone X panel if you will. Anyone have a suggestion? The idea is to use it with Ubuntu 20.04 and Xmonad
[08:03] <BlueEagle> chown: " Few applications use Xlib directly; rather, they employ other libraries that use Xlib functions to provide widget toolkits"
[08:03] <BlueEagle> chown: from https://en.wikipedia.org/wiki/Xlib
[08:07] <BlueEagle> chown: But xmobar is best fit I can find.
[08:08] <chalcedony> hubby's new Ubuntu 20.04 says it can't see the internet. lshw doesn't mention network?
[08:08] <chalcedony> clearly the lan is connected, i'm here.
[08:08] <chalcedony> but the computer can't see it
[08:08] <BlueEagle> chalcedony: Does lsmod show anything ethernetty?
[08:09] <chown> I have that already. I have dmenu as well. I just wanted a panel I can click with my mouse with app switcher, app menu, systeray
[08:09] <chalcedony> hmm
[08:09] <chalcedony> i will go see
[08:09] <chown> If not, I can use stalonetray or tryaer, np. But application launcher/switcher is needed
[08:09] <chown> minimal panel
[08:10] <BlueEagle> chalcedony: I'm sorry, I meant lspci
[08:14] <BlueEagle> chalcedony: Also, which network interface card are they using?
[08:14] <chalcedony> BlueEagle, oh that might be better, i didn't see much there
[08:14] <chalcedony> BlueEagle, it would be onboard lan, gigabyte motherboard.
[08:22] <chalcedony> BlueEagle, it looks like: 04:00.0 Ethernet Controller Realtek Semiconductor Com Ltd., RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller GF 218 [ GeForce 210 ] (rev a2)
[08:28] <lotuspsychje> chalcedony: realtek chipsets are kernel itchy, you might wanna try different kernels as a test
[08:30] <chalcedony> lotuspsychje, it's a brand new install from a dvd
[08:30] <lotuspsychje> chalcedony: wich kernel are you currently running?
[08:30] <chalcedony> how to tell?
[08:31] <lotuspsychje> chalcedony: uname -a
[08:31] <chalcedony> k give me a moment
[08:37] <chalcedony> lotuspsychje, Linux vir 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[08:38] <lotuspsychje> !uptodate | chalcedony
[08:38] <chalcedony> it can't see the internet.
[08:38] <chalcedony> there is no way to do that atm
[08:39] <chalcedony> we are trying for wired lan.
[08:45] <chalcedony> does anything on here sound useful? he actually had somewhat of a connection though?  https://askubuntu.com/questions/1103785/cant-connect-to-internet-via-ethernet-rtl8111-8168-8411
[08:47] <chalcedony> https://forums.linuxmint.com/viewtopic.php?t=152180 This one doesn't seem as relevant, maybe?
[09:12] <aeternum3> hi. i am stuck in a dependency loop. i am trying to do-release-upgrade, and it upgraded glibc, but glibc requires kernel 3.6 or newer, but i can't upgrade my kernel because i get the error: Errrors were encountered while processing:
[09:12] <aeternum3>  /var/cache/apt/archives/libc6_2.27-3ubuntu1.3_amd64.deb
[09:12] <aeternum3> E: Sub-process /usr/bin/dpkg returned an error code (1)
[09:12] <aeternum3> whenever i use dpkg or apt, i get that error
[09:22] <jelly> aeternum3: which release are you upgrading from?  What's the current kernel (uname -a)?
[09:22] <jelly> aeternum3: can you pastebin the WHOLE output, not just the last two lines
[09:23] <cocakola> have you tried force with the dpkg removal of libc6
[09:23] <jelly> don't do that.
[09:24] <aeternum3> no, i don't plan to do that
[09:25] <jelly> it's a bit hard for dynamically linked commands to work without libc6
[09:25] <jelly> and almost all commands in ubuntu are dynamically linked
[09:25] <cocakola> ok
[09:26] <aeternum3> jelly https://pastebin.com/AUYxQ8T5
[09:32] <aeternum3> jelly: also, from 16.04. trying to get up to 20.04
[09:32] <jelly> aeternum3: you can't skip from 16.04 straight to 20.04, can you?
[09:33] <aeternum3> no, i plan to go via 18.04
[09:33] <jelly> aeternum3: again, what does uname -a say?
[09:33] <aeternum3> Linux blastoise 2.6.32-042stab141.3 #1 SMP Fri Nov 15 22:45:34 MSK 2019 x86_64 x86_64 x86_64 GNU/Linux
[09:34] <jelly> aeternum3: that's a VPS?
[09:34] <aeternum3> yup
[09:35] <jelly> aeternum3: you don't have control of your kernel there, it's impossible to do a release upgrade until you ask your provider to migrate your VPS to a more recent OpenVZ/Virtuozzo kernel
[09:35] <aeternum3> oh
[09:35] <aeternum3> how do i fix my current error though?
[09:35] <aeternum3> i can't use apt
[09:35] <jelly> you could revert apt changes and go back to xenial
[09:36] <aeternum3> how do i do that?
[09:36] <jelly> for the time being
[09:36] <pho}e{nix> aeternum3, have you tried sudo apt -f install ? :P
[09:36] <aeternum3> yup. sec. i;ll get the response
[09:36] <jelly> pho}e{nix: how is that going to help preinst breakage in libc6
[09:37] <jelly> (it's not)
[09:37] <jelly> (that check in preinst is there for a good reason)
[09:37] <aeternum3> ah. it goes through the loop again
[09:37] <pho}e{nix> jelly, oh missed that part...I've seen "problems with dependencies"
[09:38] <jelly> aeternum3: manually?  Edit /etc/apt/sources.list I guess, put repos for 16.04 (xenial) back instead of repos for 18.04 (bionic)
[09:39] <pho}e{nix> Stupid question maybe -> Why don't you install a fresh copy of 20.04 if you really want it that bad? :D
[09:40] <pho}e{nix> I've had so many bad experiences with doing release upgrades in the past, that I'm never gonna do one again (although the latest releases may be easier to upgrade). I'm just not taking chances...
[09:40] <chalcedony>  if you have a ubuntu dvd, and windows 10 is already on a computer, how do you tell it not to delete the initial os?
[09:40] <pho}e{nix> spending hours/days fixing problems that arise
[09:41] <pho}e{nix> chalcedony, you first need to create a new partition on your harddrive where you wish to install Ubuntu.
[09:41] <aeternum3> pho}e{nix: it;s because it's a vps
[09:41] <pho}e{nix> The installer will automatically detect the Windows installation and not delete it.
[09:41] <pho}e{nix> aeternum3, so what?
[09:42] <aeternum3> jelly i think i fixed it by changing /etc/apt/sources.list to xenial, doing apt -f install, then changing back
[09:43] <aeternum3> oh. nope. didn't fix shit
[09:45] <pho}e{nix> chalcedony, try not to take space from your existing windows partitions if you don't want headaches
[09:48] <aeternum3> pho}e{nix: they need to add ISOs for newer distros
[10:02] <xaviergmail> Hi everyone I'm running into a weird issue with ubuntu-based docker images. / seems to be missing the world-executable flag so no user other than root can open a shell. Any ideas?
[10:05] <jelly> aet... eh
[10:08] <jelly> pho}e{nix: a container-based VPS where aeternum3 did not have control of kernel or kernel version, and the kernel was a EL6 openvz 2.6.32 one.  You can't run the normal installer there at all
[10:08] <BlueEagle> chalcedony: If adding a separate drive for Ubuntu is not an option then you will have to shrink the existing partition. There are always risks in modifying the filesystem and partitions, so first make a backup of everything you need. Win10 does have a tool for resizing partitions. Alternatively there is gparted that can run from the installer environment.
[10:46] <pho}e{nix> jelly, container-based was missing there :D
[10:50] <jelly> there's more context above.  But it's all moot since the user is gone
[11:33] <Deyaa> Hello
[11:33] <ilias_gr> hi all. could you please advise me what exactly do 'install-info' utility package and if it is necessary for the system?
[11:34] <Deyaa> I wanna extract all rar files inside the directory tree to a path similar to .rar filename
[11:34] <Deyaa> Can someone help me please??
[12:19] <BlueEagle> Deyaa: I read what you have written, but I am not sure what the problem is. Do you need a tool to extract the archive or do you need instructions on how to use a tool you have already found?
[12:19] <BlueEagle> Deyaa: apt search unrar-free
[12:20] <BlueEagle> Deyaa: man unrar
[12:35] <Deyaa> BlueEagle: I want to unrar everything in side a directory
[12:36] <Deyaa> Everything single rar file
[12:40] <Zenn> hi guys O
[12:41] <Zenn> I'm having issue installing Ubuntu 20.10 on my Laptop it keeps saying intel rts is enable and I cant find the option to disable it, I have already wipe off the Windows from my system
[12:41] <Zenn> I have check bios there isnt any ACHI option
[12:52] <BluesKaj> Hi all
[13:13] <Deyaa> Wire guard Vs openvpn
[13:17] <BluesKaj> wireguard FTW!
[13:19] <Deyaa> Why??
[13:27] <BluesKaj> google is your friend
[13:30]  * nuala snorts 'well.......'
[13:32] <nuala> also btw: anything super drastic changed in 'recent' ubuntu versions? on lack of proper backup i resorted to extundelete and im just curious it says '0 recoverable inodes found', it was a long shot anyway but absolutely zero strikes me a lil bit odd
[13:42] <nuala> (like even lsdel in debugs says 0 deleted inodes found oO) ubuntu 20.04 ext4 ~ just curious *gets busy applying brain backup to machine* ^^;
[14:16] <spicywall> Having WiFi issues with Ubuntu 20.04. The speeds are very slow ~1-2 Mbps, while my phone on the exact same broadband shows 50-60 Mbps. Any idea why?
[14:18] <lotuspsychje> spicywall: wich chipset is that please
[14:19] <spicywall> How do I find the chipset? It's an Intel laptop. Lenovo Ideapad 13.
[14:19] <lotuspsychje> spicywall: sudo lshw -C network
[14:20] <spicywall> *-network                        description: Wireless interface       physical id: 1       bus info: usb@1:1.4       logical name: wlx2016d8b6a3fe       serial: 20:16:d8:b6:a3:fe       capabilities: ethernet physical wireless       configuration: broadcast=yes driver=rtl8xxxu driverversion=5.4.0-53-generic firmware=N/A ip=192.168.1.6 link=yes
[14:20] <spicywall> multicast=yes wireless=IEEE 802.11
[14:20] <spicywall> Oops, sorry for the bad formatting. Should I send it as a text file?
[14:21] <bdiddy> spicywall: did it work on earlier versions of ubuntu?
[14:22] <spicywall> Yes, there wasn't a problem
[14:22] <spicywall> Since 20.04, I have started noticing the slow speeds
[14:22] <bdiddy> lspci should tell you more about it
[14:22] <spicywall> That's the weird thing when I do lspci
[14:23] <spicywall> lspci | grep Network Network returns nothing
[14:23] <lotuspsychje> spicywall: system up to date to latest please?
[14:23] <bdiddy> shouldn't have all that much stuff just lspci and find it
[14:23] <bdiddy> also
[14:23] <tatertots> spicywall: are you chatting from the computer right now?
[14:24] <spicywall> 00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)00:04.0 Signal processing controller: Intel Corporation 3rd Gen Core Processor Thermal Subsystem (rev 09)00:14.0 USB controller: Intel Corporation 7 Series/C210
[14:24] <lalitmee> Hey guys, I am facing a little bit weird problem and that is when I lock my system and login again some of my configurations are not applying like I have remapped my Caps Lock to Escape, that is not there after opening my system again after locking. Somehow the repeat keys configuration is also being reset and it is becoming to much distrubance
[14:24] <spicywall> Series Chipset Family USB xHCI Host Controller (rev 04)00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High
[14:24] <spicywall> Definition Audio Controller (rev 04)00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)00:1f.0 ISA bridge: Intel Corporation QS77 Express Chipset LPC Controller (rev 04)00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)00:1f.3
[14:24] <spicywall> SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)00:1f.6 Signal processing controller: Intel Corporation 7 Series/C210 Series Chipset Family Thermal Management Controller (rev 04)
[14:24] <spicywall> Yes, I am chatting from the computer
[14:24] <tatertots> spicywall: in terminal>    apt install inxi
[14:24] <tatertots> spicywall: let me know when done
[14:24] <lalitmee> I am using Ubuntu 20.04
[14:25] <spicywall> (installing inxi)
[14:25] <spicywall> Also, shouldn't lspci have information on the network controller?
[14:25] <hggdh> spicywall: please use pastebin instead of directly posting multiple lines
[14:25] <tatertots> spicywall: just wait until the install is finished to continue
[14:26] <tatertots> spicywall: shouldn't take long
[14:29] <spicywall> tatertots, inxi has completed installation
[14:30]  * fernando_ claps
[14:32] <swensson> Hey, Just installed ubuntu 20.04 on my Lenovo carboon x1 tablet, I have a removeable keyboard. When loggin in, a keyboard appears when I touch the screen but not when I'm logged in. Anyone familiar with this?
[14:32] <fernando_> why does ubuntu does not come with synaptic by default anymore?
[14:32] <lotuspsychje> fernando_: install synaptic?
[14:32] <spicywall> hggdh here is the https://pastebin.com/R4eFw3s6 for the lspci command
[14:33] <fernando_> i installed but im a newbie it was hard
[14:34] <Maik> fernando_: you asked why ubuntu does not come with synaptic by default anymore. If you know that ubuntu shipped synaptic before you are not a newb at all
[14:35] <fernando_> yes i played with it some years ago
[14:35] <fernando_> on my virtual machine
[14:35] <Maik> and installing synaptic is easy: sudp apt install synaptic
[14:35] <Maik> sudp/sudo
[14:35] <fernando_> sudp?
[14:35] <Maik> sudo
[14:36] <Maik> fernando_: was a typo so it's sudo apt install synaptic
[14:37] <fernando_> thanks
[14:37] <Maik> you're welcome :)
[14:39] <spicywall> Based on inxi output, "Realtek RTL8723AU 802.11n WLAN Adapter" is the network adapter. Is there an issue with this?
[14:41] <tatertots> spicywall: in terminal>    inxi -Fxxxprzc0|nc termbin.com 9999
[14:41] <tatertots> spicywall: share url/link here...if you do not get a url/link..simply say so
[14:42] <spicywall> `nc: getaddrinfo for host "termbin.com" port 9999: Temporary failure in name resolution`
[14:43] <spicywall> Sorry, worked now - https://termbin.com/46g4
[14:47] <lotuspsychje> spicywall: update your system to latest please
[14:50] <tatertots> spicywall: looks like that driver is known for slow performance and frequent disconnects
[14:50] <tatertots> spicywall: you might try https://github.com/lwfinger/rtl8723au instead
[14:50] <spicywall> lotuspsychje you mean upgrade to the latest kernel? I can do that, but this issue has been there for quite sometime now - even when I was up to date.
[14:50] <spicywall> @tatert
[14:51] <lotuspsychje> !uptodate | spicywall your current system
[14:51] <spicywall> tatertots thanks, I will try the driver from lwfinger
[14:52] <spicywall> lotuspsychje sure, will do the update
[14:52] <bdiddy> spicywall: wifi can be a pita honestly.  I've seen where disabling IPV6 has helped.  Also disabling 802.11n or changing the wifi band your router is using.  Upgrading the kernel could work, or it's possible you just have a dying wifi card
[14:53] <bdiddy> i've also had to complie updated drivers of my own before to get things working
[14:53] <lotuspsychje> spicywall: before all other tryouts and advices, its good to have your system up tod ate first, specialy with realtek chipsets, kernel versions matter
[14:53] <spicywall> Thanks, will try that out and get back
[14:59] <nuala> spicywall: i vaguely remember about 'disabling 802.11n' seemd to help when i had slow wifi on occasional networks, recently had to use it again with 18.04 .
[15:00] <nuala> so what its worth i keep that for years as a online `sudo  modprobe -r iwlwifi && sudo modprobe iwlwifi 11n_disable=1`
[15:10] <speeder> how I isntall and use gcc10 as default?
[15:11] <speeder> I want to use a feature that doesn't exist in gcc9.3 that is the ubuntu default right now
[15:13] <nuala> speeder: recommendation for toolchain ppa on askubuntu, have you seen that?
[15:14] <frenchface> hey everyone, I have had some major issues with not being able to boot. somehow I have fixed it. But during the process I have I have broken some other things. My version of Ubuntu was 18.xx Server Edition. I used the 18 Desktop Version to launch Ubuntu Live. Now my ubuntu VM boots (something things aren't working yet) but it seems it doesn't know
[15:14] <frenchface> what version it is anymore. After booting for the first time I did some apt upgrade. Now when logging into shell, I see my version is Ubuntu 20.10 but it tells me a new release 20.04.1 LTS is available and to run do-release-upgrade
[15:15] <frenchface> If I run cat /etc/os-release it says it is version 20.10
[15:16] <speeder> nuala, toolchain ppa?
[15:16] <frenchface> also if I run apt update I get alot of error saying public key is not available or that the signatures couldn't be verified
[15:17] <nuala> speeder: yes, never heard of it before neither~ just reading out aloud to you :)
[15:17] <frenchface> and if I am really 20.10, when running apt update it is still looking at bionic releases
[15:21] <mancman3> sounds like you installed the live ubuntu instead of fixing server 18.04. you can't make change to installed server unless you chroot into it. if it's VM did u not make any snapshots
[15:23] <EriC^> frenchface: can you pastebin the link to 'cat /etc/apt/sources.list | nc termbin.com 9999'
[15:23] <EriC^> *can you paste
[15:24] <frenchface> mancman3, Well not to say I never screwed up. But to the best of my knowledge i used chroot everytime
[15:25] <frenchface> EriC^ I just updated all references in my sources.list from bionic to groovy
[15:25] <EriC^> frenchface: ok, try sudo apt update && sudo apt-get -f install
[15:27] <frenchface> EriC^ apt update now works, apt-get -f install only suggest running autoremove
[15:30] <EriC^> frenchface: sounds good
[15:32] <frenchface> Eric^ is there a way to get it back to the server install vs the desktop? I even currently have the desktop splash screen as it boots..
[15:33] <EriC^> frenchface: the easiest way would be to edit grub so that it boot to the multi-user.target which will just give a tty
[15:34] <EriC^> frenchface: or you could remove the desktop metapackage and see how much packages it removes
[15:37] <EriC^> frenchface: it's up to you, which one you prefer?
[15:38] <mancman3> obviously do your backups before regularly and before attempting this
[15:39] <frenchface> i'll try removing the metapackage
[15:39] <EriC^> frenchface: ok, once you do the autoremove, it should remove the rest of the packages
[15:40] <frenchface> It was hanging on cloud-init during boot, so I added ran touch /etc/cloud/cloud-init.disabled
[15:40] <frenchface> waiting to see if it will boot now...
[15:41] <frenchface> but not looking so hot, sitting with a red/purple screen with the curser just blinking
[15:42] <EriC^> try pressing 'esc' to see what's going on
[15:42] <diskin> Hi all, sometimes when I open a new tab in Mozilla Firefox, it shows that it requires restart. Why is it doing it, and why it doesn't actually restart after that?
[15:42] <frenchface> mancman3, I do use BackupPC - which is what this VM is. I also have another BackupPC that backs this one up. However, I do not have a good way to just backup vm by taking snapshots
[15:43] <frenchface> EriC^ esc does nothing, nor does any of the function key. I had already hit F12 at the start and I could see the typical boot sequence happen
[15:49] <eliyahutbr> Hey guys. My bluetooth stopped working a few days ago and I've tried googling and whatnot and stopped in here a few times, but i didn't succeed in connecting with anyone.
[15:49] <eliyahutbr> https://paste.ubuntu.com/p/YDn3n2wR2R/
[15:49] <eliyahutbr> I'm running Ubuntu 20.04.1 LTS
[15:52] <frenchface> EriC^ I'm not sure which of these are desktop multiverses. https://termbin.com/jhqh
[15:58] <EriC^> frenchface: you need to remove the desktop meta-package, try "dpkg -l | grep desktop" and see which desktop is installed
[15:58] <EriC^> or if you already know it, just type 'sudo apt-get purge ubuntu-desktop' for instance
[15:59] <frenchface> EriC^ https://termbin.com/j25wo
[16:00] <EriC^> frenchface: hmm, are you in the desktop right now?
[16:00] <frenchface> no...
[16:01] <EriC^> ok
[16:02] <EriC^> frenchface: is a desktop manager installed? dpkg -l | awk '$2 ~/dm$/'
[16:05] <eliyahutbr> progress! https://paste.ubuntu.com/p/HpcwrS9Mqg/
[16:05] <eliyahutbr> but the GUI still tells me to plug in a blue tooth dongle
[16:06] <eliyahutbr> https://paste.ubuntu.com/p/fQrX5kFYwt/ a slightly more complete picture
[16:13] <eliyahutbr> i think more progress, https://paste.ubuntu.com/p/rxqvSGkRzc/ but i could use some help
[16:16] <chalcedony> hopefully helpers are awake
[16:17] <eliyahutbr> https://paste.ubuntu.com/p/GgTGd45TZN/ dmesg output
[16:18] <chalcedony> My husband's new install of Ubuntu 20.04 is crashing. It says an internal error and offeres to report the problem. We tried starting firefox and it's also crashing before we start to search for the solution to the problem.
[16:18] <eliyahutbr> rfkill list doesn't show anything bluetooth
[16:23] <eliyahutbr> one suggestion i found online was removing pci=nomsi from the kernel, but I'm a newbie and I don't know how and if that is safe
[16:23] <EriC^^> frenchface: ?
[16:24] <frenchface> EriC^^ i'm working on booting issues currently
[16:40] <eliyahutbr> well guys i've been trying for an hour
[16:41] <eliyahutbr> anyone have the capacity to assist w/ a blue tooth issue?
[16:41] <eliyahutbr> otherwise, i'll try another day
[16:42] <BlueEagle> eliyahutbr: What you can do is press E on the grub boot menu and then add it to the boot option you are using. Press F10 after adding it. If it works then you can add it permanently. If it doesn't work then the boot settings are reverted next power on.
[16:42] <BlueEagle> eliyahutbr: Sorry, that was not for you.
[16:43] <BlueEagle> chalcedony: What you can do is press E on the grub boot menu and then add it to the boot option you are using. Press F10 after adding it. If it works then you can add it permanently. If it doesn't work then the boot settings are reverted next power on.
[16:45] <diskin> Hi all, sometimes when I open a new tab in Mozilla Firefox, it shows that it requires restart. Why is it doing it, and why it doesn't actually restart after that?
[16:54] <frenchface> EriC^^ after fixing my boot issues, when I run dpkg -l grep desktop it says no packages found matching desktop
[17:00] <spicywall> Hi, I had messaged earlier about Wifi issues in Ubuntu 20.04. My adapter was rtl8xxxu. Based on the responses then, I updated the system and tried using the driver from lwfinger github page. The problem still persists.
[17:01] <pavlos> frenchface: you need | before grep
[17:01] <spicywall> To recap: internet speeds on laptop with Ubuntu is very slow [speed test shows 1-2 Mbps], while mobile connected to same Wifi is very high [50-60 Mbps]. Additional information: same laptop, if I boot in Windows, the speeds are very high as well.
[17:01] <Harlin> Happy report .... first brand new laptop I've bought in a while works great out of the box with most recent version of Ubuntu! ASUS VivoBook :-)
[17:01] <Harlin> This being 20.04.
[17:02] <frenchface> pavlos, thanks!
[17:04] <frenchface> EriC^, I'm not sure if a desktop manager is installed, https://termbin.com/3zzi
[17:05] <spicywall> lotuspsychje tatertots nuala any suggestions?
[17:09] <nuala> nope, its really what i posted what keeps me running for years on old hardware here. sry :C
[17:12] <pavlos> spicywall: what the actual chipset (not rtl8xxxu) ?
[17:12] <pavlos> what is
[17:29] <spicywall> pavlos the actual chipset is RTL8723A
[17:51] <eldowan> I'm trying to grab the current CPU% of a long running process and store in a variable. if I use ' ps -p <pid> -o %cpu ' I'm returned a long term average. but if I do ' top -b -n 1 -p <pid> ' I get the instantaneous value, which I want. Is there a stright foward way to retrieve the instant CPU %?
[17:52] <Habbie> it's not instant, it's averaged over a second
[17:52] <Habbie> or some shorter period
[17:52] <eldowan> fair point, but good enough for my purposes
[17:52] <Habbie> ps can also tell you total cpu time used since start; get that twice at some useful interval and you can calculate the 'instantaneous' %
[17:53] <eldowan> I don't follow
[17:53] <Habbie> what top does is ask the kernel how many CPU seconds a process has used; then a very short time later, it asks the kernel again
[17:54] <Habbie> the difference between those numbers is what it calculates the percentage from
[17:55] <Habbie> i suspect a tool that would give you that number directly already exists
[17:55] <eldowan> so maybe I'm going about this incorrect.
[17:55] <Habbie> perhaps one of top's competitors, like atop or htop, can export things more directly
[17:55] <eldowan> I have a long running ffmpeg process, and I'm trying to detect when it hangs up. I thought that ps would be the tool to use
[17:55] <Habbie> how is 'hangs up' defined? goes to 0%?
[17:55] <eldowan> yes.
[17:56] <eldowan> but ps shows 18% because it's been running for 24ish hours
[17:56] <Habbie> then ask ps how many CPU seconds it has used; wait a short time; ask again; if that number has not changed, it's stuck
[17:56] <eldowan> oooohhh, now I get what you're saying
[17:57] <Habbie> it is the column that ps calls 'TIME'
[17:57] <Habbie> dinnertime
[17:58] <eldowan> Hm. So since the process is still listening on a UDP port, the TIME value continues to incriment
[17:59] <eldowan> Since it spawns multiple children processes, I thought maybe I'd just watch the process count, but even working instances give 0 when I do something like 'ps -eo ppid= | grep -Fwc $pid' from https://unix.stackexchange.com/questions/273760/finding-number-of-child-processes-of-a-particular-process
[18:04] <codecutter> ctrl+R allows me to scroll through recent commands, how do i remove a cmd from the memory?
[18:05] <codecutter> I have to commads that a very similar and sometimes I end up pressing enter on the wrong command
[18:05] <eldowan> you might try something like removing the last line, the reloading .bash_history? Not sure by that might work
[18:06] <eldowan> Also, I recently learned if you have a space before a command it's not submitted to the history and won't show up in ctrl+r
[18:06] <codecutter> rm /bar/foo & rm /zoo/bar <-- latter is outdated but still shows up in history
[18:07] <codecutter> will that remove a cmd already in history?
[18:07] <eldowan> so, you're wanting to type 'rm /bar/foo & rm /zoo/bar' and later hit up and it shows something different?
[18:07] <codecutter> no
[18:07] <eldowan> Is the command you want to remove always the last command, or can it be anywhere in the history?
[18:08] <codecutter> anywhere
[18:08] <eldowan> alright. makes it more complex I think.
[18:08] <codecutter> how do i remove the 'rm /zoo/ba' from hsitory?
[18:08] <codecutter> 'rm /zoo/bar'
[18:09] <eldowan> sed -n '/pattern/!p' file
[18:09] <eldowan> https://stackoverflow.com/questions/5410757/how-to-delete-from-a-text-file-all-lines-that-contain-a-specific-string
[18:10] <eldowan> the file you're concerned with is ~/.bash_history, and once you remove the lines, you need your shell to reload the file.
[18:10] <codecutter> how do i reload?
[18:10] <eldowan> now that's a good question. not sure there
[18:11] <codecutter> will restart do it?
[18:11] <eldowan> you /could/ just type in 'bash' again
[18:12] <eldowan> I don't know, but maybe running ~/.bashrc may help.
[18:12] <eldowan> gotta run, good luck
[18:12] <jayjo> I'm trying to create a custom ISO (or custom memstick) for a server installation that has afew additional packages (virt-tools, qemu, etc). Am I better off customizing the installation itself, or using pre-seeding to install from a usb stick partition that I maintain a snapshot of the packages? They both seem like they achieve the same goal
[18:21] <ash_worksi> where would you keep plantuml.jar? (ref: https://plantuml.com/starting )
[18:22] <ash_worksi>  /opt perhaps?
[18:53] <Hekkaryk> I can't get Ubuntu 20.04.1 to be stable without setting maxcpus=1 (i7-6700K on ASUS Z170-P) - any ideas how to use all cores? Win10 runs fine but, well, it's not Linux.
[18:53] <Hekkaryk> Kubuntu 20.10 also crashes without setting maxcpus=1 in GRUB
[18:54] <Hekkaryk> ... safe graphics also crashes
[18:56] <Hekkaryk> :| hoped anybody would be so kind to help and have some idea
[19:00] <Hekkaryk> ... ok then... it's quiet for 1231 people here. Hope you all have a nice day!
[19:53] <KE0VVT> Is there a tool to patch fonts to include the Apple logo at U+F8FF?
[20:32] <nuala> i really struggle with setting up a 'physical volume for encryption' during installation. ideally that volume should hold 2 partitions for / and /home, i also use a seperate ext4 partition for /boot
[20:34] <nuala> e.g. right now i used partition p6 as mentionend but i can't split it up in 2 different partitions anymore
[20:48] <TJ-> nuala: maybe my guide can help you? https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019
[20:51] <nuala> TJ-: yus! i skimmed at that: case is i am required to keep dual-boot with windows working. about 2 weeks ago someone said they used a commercial installer for partitioning a LUKS encrypted ubuntu side-by-side a win10
[20:52] <TJ-> nuala: as long as you can put aside some space to create a single partition for the Linux install (talking about UEFI install here) then you can easily dual-boot
[20:53] <TJ-> nuala: in that single partition you can do LUKS > PV > VG > LVs (you'll have GRUB core in the separate EFI system partition)
[20:55] <nuala> yes uefi, ssd install. (please shout if i ommit vital information). it seems to be an nvme drive as well ( /dev/nvme??p1 nvme??p2... etc.)
[20:55] <TJ-> nuala: you can do that alternate layout in the same way as my guide ( don't need to create the optional BIOS Boot partition) and the separate /boot/ can be a Logical Volume inside the LUKS > PV > VG
[20:56] <TJ-> nuala: GRUB has an lvm module so would detect that layout at the 'grub-install' stage and include the correct modules in it's core EFI loader in the EFI-SP at /EFI/ubuntu/grub64.efi
[20:57] <nuala> i need to study your link more i assume, lie that LUKS > PV (primaryy volume)  VG... *bites* dont get it right now. and i see i dont really understand how many partitions i need in this case/how to stack it.
[20:57] <TJ-> nuala: i'd suggest you 'play' with the layout inside a UEFI-boot Virtual Machine with a 'fake' placeholder Windows partition
[20:58] <nuala> uh! that might be a good idea! ^^
[20:59] <TJ-> nuala: Let's assume you've got /dev/nvme0n1p1 = EFI-SP, /dev/nvme0n1p2 = Windows (and some other 'recovery' partitions) and you shrink p2 and create a partition in that space called /dev/nvme0n1p4
[20:59] <nuala> +
[21:02] <TJ-> nuala: so you start the installer in "Try" mode, open a terminal, and make sure you understand the layout, then you'd do "pvcreate /dev/nvme0n1p4; vgcreate MY_VG /dev/nvme0n1p4; lvcreate -L 1G -n boot MY_VG; lvcreate -L 16G -n rootfs MY_VG; lvcreate -L 16G -n var MY_VG; lcreate -l 50%FREE -n home MY_VG;" ... then you'd use mkfs.ext -L <name> /dev/mapper/MY_VG-<name> for each
[21:04] <TJ-> nuala: at that point you'd have LVs and file-systems ready, and could then run the installer, choose 'Something Else' at the paritioning stage, and choose all the LVs and set their mount points, and of course include the already-present EFI-SP at /dev/nvme0n1p1
[21:05] <TJ-> nuala: the installer would set the Ubuntu install first in the UEFI boot order, so at power-on to start Windows you'd have to tap the firmware's manual boot manager hot-key (often F9, F10, or F11) but varies based on make of PC
[21:06] <nuala> ok yes *nods, doesnt  feel like getting it* but! i am digging into the article right now (ofc i have stopped reading too early). i'll setup some VM as suggested and check against your advice here! i don't feel so lost anymore.
[21:07] <nuala> TJ-: thanks a lot already for your help <3
[21:07] <TJ-> nuala: I know it can be confusing at first, but remember, all you're doing is created chains of block devices inside block devices
[21:08] <nuala> (i honestly struggle regulary with UEFI install, where to put that boot thingy again? oh sda not sda1... that level, stacking devices i can picture though yes
[21:08] <TJ-> nuala: for partitioning based installs you've only got three levels: partition > LUKS container > file-system but for more flexible layouts you'll have partition > LUKS container > LVM > file-system
[21:09] <nuala> ! LVM adds e.g. flexibility to resize partitions later on?
[21:09]  * nuala pats ubottu ~ sorry for nudging
[21:09] <TJ-> nuala: well, if you're talking about telling GRUB install where to go, it is ALWAYS the whole device, not a partition - you're telling GRUB which device to LOOK on for the location of its bootstrap/core
[21:10] <nuala> +
[21:11] <TJ-> nuala: yes, LVM gives flexibility - you may notice in my example above, I used "lvcreate -l 50%FREE -n home MY_VG" as the last command ... that would only allocate 50% of the remaining free space in MY_VG to /home/ file-system, so you can create additional LVs or extend existings LVS at will. I regularly do that as an online resize: "lvextend --resizefs -L +5G MY_VG/LV-name" - takes 5 seconds max
[21:13] <TJ-> nuala: you can check the remaining free space with "vgdisplay" and see something like "Free  PE / Size       27628 / 107.92 GiB"
[21:13] <TJ-> nuala: I use that free space for temporary virtual machines, containers, testing environments, and such
[21:16] <nuala> partition managing via CLI... didnt expect that adventure when i woke up this morning 🙈  if i havent bricked the device by tonight that would be a major success :]
[21:24] <TJ-> nuala: if you need to free space from Windows grasp, first try using Windows Disk Management - if that fails even after a defrag due to an unmovable file, resort to GPartEd which'll call on the ntfsresize tools that can do it, then simply make the free space into a partition
[21:25] <Kurozen> Hello
[21:26] <Kurozen> So uuuuum Muon package manager does not uninstall the dependency modules when uninstalling the package that installed the dependencies ???
[21:26] <BlueEagle> Kurozen: I am not sure what Moun does, but apt autoremove will remove orphaned packages.
[21:27] <Kurozen> BlueEagle: but what about after I already removed the parent package with Muon?
[21:28] <nuala> (( TJ- its fine, had/have again a dual boot installation and enough space to play in the VM. again thanks for all the information <3))
[21:28] <Kurozen> because ... the way History works it's kinda useless, they just show things which installed/uninstalled today, there's no grouping by hour/minute/ uninstall/install and whether it's orphaned/dependency/autoselect
[21:29] <BlueEagle> Kurozen: What does apt autoremove yield? Does it list packages that will be removed?
[21:29] <Kurozen> Well yeah exactly, I don't want to remove some thing it may think are not used but may be. I did install some things manually for development, like qt5base-private-dev and others
[21:30] <BlueEagle> apt should not remove anything not installed with apt
[21:30] <Kurozen> If it were more fine grain control it be better.
[21:30] <Kurozen> Oh, I did never install anything with apt.
[21:30] <TJ-> Kurozen: apt, and dpkg, build the dependency graph from the 'debian/control' file in each package, so as long as those are correct apt won't break anything
[21:32] <Kurozen> Muon does list in it's history "automatic" but there's no way to select all automatics and click uninstall, history is mostly useless because you can't copy paste text even, nor do anything in there, I have to manually deinstal 100x packages. weird.
[21:33] <TJ-> Kurozen: all the GUI tools calls on the APT libraries under the hood
[21:34] <Kurozen> Right I was wondering about that, so if Moun correctly configured the manually selected packages to not be orphaned then it should work ... I'll try it, at least in this case I don't have anything that important going on, hopefully it lists whatever it autoremoves.
[21:35] <Kurozen> Oh wait, Muon has a feature "Remove Unnecessary Packages" selected 101 of them
[21:37] <Kurozen> Why does it think linux headers are unneded, I was messing around with custom themes and stuff
[21:37] <Kurozen> I think those thigns were preinstalled by something
[21:40] <TJ-> Kurozen: probably headers for kernels that have been superceded and removed
[21:44] <Kurozen> Aha, yeah,
[21:50] <Kurozen> Huh, the update kinda bugged, showing me updates for obsolete packages I just removed.
[21:50] <Kurozen> That'll need a reboot.
[21:53] <Kurozen> Oh ... hmm running update for Software Sources and Additional Drivers seemed to fix it, but I think it just refreshed cache once any kind of install process runs TBH.
[22:26] <halvors> Hi! The mainline kernel ppa seems to not pass build 5.9.9 for amd64? Could anyone look into this? :-)
[22:26] <HackerII> i know most will deny this.. i may get booted
[22:26] <droid3> hey curious guys when working with the tweak settings program whats the difference between changing the application vs changing the Shell under appearance> themes
[22:27] <HackerII> why has the intelligence agencies invaded my internet
[22:27] <HackerII> I made a video
[22:27] <droid3> isnt the shell normally the gnome , kde ,...etc shell meaning the whole desktop env
[22:27] <HackerII> dont make a kook out og me
[22:27] <HackerII> of
[22:28] <droid3> what is the application vs shell setting they do give different affects but you can reason reasonable the same thing with either or depending on your installed theme
[22:28] <HackerII> i posted a vid to FB.. and (immediately) everything went haywire
[22:28] <droid3> just curious never really had to install a Shell. But have installed cursors , icons  , applications
[22:29] <HackerII> reminder. everything that is sais is recorded to an external source
[22:29] <HackerII> Ubuntu.. explain. .. thanks
[22:29] <droid3> just curious not a huge deal just one button i not sure about
[22:30] <HackerII> it even went through my von
[22:31] <sarnold> HackerII: the whole point of facebook is to inspect every interaction you ever do with it or millions of other websites so that they can sell advertising to you based on your interests, your friends, your friends interests, etc. if you give facebook your data it doesn't matter if you used a vpn, because they can identify you through many other mechanisms
[22:32] <droid3> I guess what i am asking is what these  GNOME Shell Extensions  are for when you already got themes, icons, cursor that you can install or even totally new windows managers or desktop managers
[22:32] <sarnold> HackerII: this is probably a decent enough introduction to the tools used https://coveryourtracks.eff.org/
[22:33] <shibboleth> so that they can market their insights into you and the ability to manipulate those who are like you
[22:33] <droid3> what does  GNOME Shell Extensions  provide that you cannt achieve from the other ones / ways
[22:34] <shibboleth> droid3, apparently it's a framework that might, eventually be able to make the top bar useful again. they just haven't been able to figure out how
[22:34] <shibboleth> the best minds have been at it for ten years though
[22:34] <droid3> why does people care about that bar i see know major advantage of even having of it
[22:35] <shibboleth> yeah, that was sarcasm. the top bar used to be useful in gnome2
[22:35] <droid3> one could make his own custom widget to show up on the desktop like weather or time or other widgets but for programmers at least me i find it a nuisance
[22:35] <droid3> getting in the way when developing or doing graphical development
[22:36] <droid3> So i tend to like a regular desktop background nothing special , nothing animated
[22:36] <droid3> but on down days i play around with customizing shit and fun cool graphical app hacks and such or talk about  :)
[22:37] <droid3> So right now not many downloadable shell extensions for any major uses or point . I take it by what your said
[22:42] <nerdthatnoonelik> hello
[23:02] <hello_kitty> how do I get grub to see windows10? I've freshly installed ubuntu 20.04 on a partition of a secondary drive, and now the computer will *only* boot into ubuntu. I can see the other drives if I run os-prober myself but update-grub doesn't seem to add them to the boot list
[23:03] <nerdthatnoonelik> https://askubuntu.com/questions/197868/grub-does-not-detect-windows
[23:03] <nerdthatnoonelik> try that link
[23:03] <nerdthatnoonelik> if u dont want to run this sudo os-prober
[23:03] <nerdthatnoonelik> to see if windows is recognized
[23:03] <nerdthatnoonelik> but first mount ur windows partition
[23:03] <nerdthatnoonelik> before running the os-prober command
[23:04] <hello_kitty> what is nautilus?
[23:04] <nerdthatnoonelik> nautilus is a file manager
[23:05] <hello_kitty> is that the 'Files' icon in a graphical ubuntu?
[23:06] <matsaman> hello_kitty: nautilus is the old name for 'Files', yes
[23:06] <hello_kitty> ty
[23:06] <nerdthatnoonelik> yes
[23:06] <matsaman> the purpose of GNOME is to be a macOS clone, so they naturally also eventually started naming entire applications after ordinary words describing the paradigm or purpose they fill
[23:06] <nerdthatnoonelik> if your using KDE it will be called dolphin
[23:07] <nerdthatnoonelik> xfce uses thunar
[23:07] <matsaman> they also renamed their browser to 'Web'
[23:07] <nerdthatnoonelik> lxde/lxqt uses pcmanfm
[23:07] <matsaman> I'm sure eventually they'll rename 'GNOME' to be 'DE'
[23:07] <nerdthatnoonelik> lol
[23:08] <matsaman> install OS, install DE, open Files, browse the Web
[23:08]  * matsaman rolls the eyes
[23:08] <nerdthatnoonelik> how do you do that rolls the eyes thing
[23:08] <nerdthatnoonelik> this is my first time on irc
[23:08] <matsaman> /me emotes a thing
[23:08] <nerdthatnoonelik> ah
[23:08]  * nerdthatnoonelik 
[23:08]  * nerdthatnoonelik cool
[23:08] <nerdthatnoonelik> ok
[23:08] <matsaman> / /me sends a /command publically without executing it
[23:09] <matsaman> for example
[23:09] <matsaman> / /me emotes a thing
[23:09] <nerdthatnoonelik> oh
[23:09] <nerdthatnoonelik> cool
[23:10] <hello_kitty> so i've opened all the drives via Files, which in theory causes the Windows partition to mount. I then ran os-prober and update grub.  But in Grub Customizer I do not see windows. Does that mean that step didn't work and it is time to go on to manually mounting?
[23:11] <nerdthatnoonelik> try manually mounting it
[23:11] <matsaman> nerdthatnoonelik: https://irssi-import.github.io/themes/ (I like elho); https://scripts.irssi.org/ (I like nickcolor_expando.pl & nm2.pl)
[23:12] <matsaman> hello_kitty: you trying to fix a dual boot?
[23:12] <hello_kitty> matsaman yeah
[23:12] <nerdthatnoonelik> i think they're tryna get grub to recognize windows
[23:12] <nerdthatnoonelik> oh
[23:12] <matsaman> nerdthatnoonelik: same thing really
[23:13] <hello_kitty> I installed ubuntu on what used to be a secondary drive (well, a partion of it.. it already had stuff on it). This machine now only boots into ubuntu
[23:13] <nerdthatnoonelik> interesting, i've never heard of grub overwriting windows boot manager
[23:13] <nerdthatnoonelik> only windows boot manager overwriting grub
[23:14] <matsaman> so if you take out the first (windows) drive, and Ubuntu still boots, then you know GRUB is on the second drive with Ubuntu
[23:14] <matsaman> s/take out/unplug/
[23:14] <nerdthatnoonelik> this is why i stopped dualbooting
[23:14] <matsaman> well, how many OSes does a person really need
[23:15] <matsaman> I propose the answer is one at most
[23:15] <nerdthatnoonelik> welcome back
[23:15] <hello_kitty> whoops sorry, lost connection
[23:15] <matsaman> hello_kitty: so if you unplug the first (windows) drive, and Ubuntu still boots, then you know GRUB is on the second drive with Ubuntu
[23:15] <matsaman> that would mean you only need to tell GRUB where Windows is to fix the issue
[23:16]  * nuala votes for more polyOSmory
[23:16] <matsaman> nuala: for fun I can get behind it
[23:16] <matsaman> but not for function
[23:16] <matsaman> you're only going to waste your time using so many OSes simultaneously
[23:16] <hello_kitty> how what is the actual target that would be windows? I can see the drives in lsblk and the drive is called nvme0n1p*
[23:17] <hello_kitty> my drive with the data is '2', but there are some other 500m drives... which are maybe the windows boot partion and something else..?
[23:17] <hello_kitty> do i aim at the boot partition
[23:17] <matsaman> hello_kitty: pastebin the output of lsblk -f somewhere (like http://dpaste.com/)
[23:17] <jeremy31> A 500Mb partition might be the EFI system partition
[23:19] <hello_kitty> https://dpaste.com/5B5DCSGJW
[23:19] <hello_kitty> what is the nice way to edit text files now that i'm usual graphical ubuntu? i only know nano :x
[23:19] <nerdthatnoonelik> vim
[23:19] <nerdthatnoonelik> or emacs
[23:20] <matsaman> hello_kitty: gedit should come with Ubuntu/GNOME
[23:21] <matsaman> although I don't remember what Ubuntu's favorite command to open GUI apps with root privs is at this time
[23:22] <matsaman> hello_kitty: so looks like you've got 3 storage devices here -- that right?
[23:22] <hello_kitty> yeah
[23:22] <matsaman> sda, sdb, nvme
[23:24] <matsaman> matsaman: can't really say which of sda and nvme is the Windows install you're after
[23:24] <matsaman> whoops
[23:24] <matsaman> hello_kitty: ^
[23:25] <matsaman> hello_kitty: if you run fdisk -l, you can see each device's storage capacity (size) and that might help
[23:25] <hello_kitty> is my goal to add the drive that has my files on it or the boot partition? b/c i think i know which one that is
[23:27] <hello_kitty> i'll just add them all and spare myself some reboots
[23:28] <matsaman> hello_kitty: it's usually about the same, because Windows doesn't really ever separate across devices
[23:29] <hello_kitty> i'm looking at a line in someone else's grub config and im not sure how to adapt it to my hardware: set root='(hd0,1)'
[23:30] <hello_kitty> is hd0 for that person what would be nvme0n1p1 for me..?
[23:30] <matsaman> hello_kitty: probably not
[23:30] <matsaman> hello_kitty: usually hd0,1 is the same as sda1 (0=a, 1=1)
[23:30] <matsaman> (because GRUB2 simultaneously counts from 0 and 1)
[23:31] <matsaman> (that is, it counts devices from 0 and partitions from 1 ... no one knows why)
[23:31] <matsaman> hello_kitty: so if Windows was on sda, which it usually is
[23:31] <matsaman> hello_kitty: then 'set root=hd0,1' is indeed what you'd want
[23:31] <hello_kitty> mine is on nvme0n1
[23:31] <matsaman> probably along with 'chainloader +1' on the next line
[23:31] <matsaman> what makes you think it's the nvme?
[23:32] <hello_kitty> it matches the size
[23:33] <matsaman> okay
[23:34] <matsaman> hello_kitty: so I'm guessing 'set root=nvme0n1,1 \n chainloader +1' might work, or
[23:34] <matsaman> you could try using the UUID: set root=UUID=F266335966331DB3
[23:36] <hello_kitty> trying this out maybe https://dpaste.com/HZY6YXHDK
[23:36] <hello_kitty> thanks for the help btw
[23:36] <matsaman> np
[23:37] <matsaman> seems reasonable
[23:38] <hello_kitty> did find this https://askubuntu.com/questions/1160197/adding-windows-10-to-grub-separate-nvme-drives which says something about 'gparted' (no idea what that is) and needing to set a boot flag (also no idea) after which grub picked up the drive on its own, i mention it b/c the general hardware looks very similar
[23:40] <hello_kitty> unfortunately this is my only machine that can connect to irc at the moment... let the rebooting begin!
[23:44] <matsaman> hello_kitty: if the device your Windows is installed on is untouched, and GRUB is simply missing the lines to boot from it, then you don't need to mess with any boot flags or gparted (which is for managing partitions)
[23:53] <nuala> they weren't connected for your last comment, matsaman