[00:10] do i need a boot partition guys [00:10] grub install fails [00:17] boot-repair fails too because of no efi [00:17] added a /boot but still fails [00:18] could it be that im trying to use the minimal installation [00:23] Is there an apt command to load the original config files for a service? [00:26] should i install the bootloader to efi partition [00:26] mendi: Yup - no can do UEFI: mini system in UEFI mode >> https://help.ubuntu.com/community/Installation/MinimalCD . [00:27] is 500MB enough for the efi partition [00:28] mendi: Plenty big - recommends I have seen say Size: 100~250MB . [00:29] thank you [00:29] the installer does not warn users that an efi partition is required [00:29] last 20.10 [00:30] maybe it assumes people still use mbr [00:49] Hi all. I have recently installed focal on two SSDs on my machine. The EFI menu entries appear to be being fought over by the two installs. I have dpkg-reconfigure'd grub-efi on both to not update the menu, however every time I add an entry to boot into the primary install, I end up in the secondary install and the UUID for the entry I'd created previously has changed to the secondary. This happens very reliably. If anyone [00:49] has any suggestions on things I can try please I would be much obliged <3 [00:58] gazby: I too multi-boot ubuntus - my means to control grub is by disabling /etc/grub.d/30_os-prober in my secondary systems. [00:58] Awesome! Thank you mate I'll give it a try :) [01:00] gazby: ' sudo chmod -x /etc/grub.d/30_os-prober ' in those secondaries. then of course [01:00] ' sudo update-grub ' in the primary to effect the changes. [01:08] Hey guys, quick question. I want to automatically back up a particular folder on my computer. I need 7 days worth of backups, how would you guys recommend I achieve this? [01:09] The source and destination are both on the same drive. [01:10] DreamPCs: I use https://github.com/laurent22/rsync-time-backup for that purpose. Adding it as a cron should work for the automation aspect. [01:11] The `--strategy` switch controls the ageing out of older versions. [01:11] Awesome! [01:11] Thanks! I'll look into it now. [01:12] 👍 === vlm_ is now known as vlm === zbenjamin_ is now known as zbenjamin [02:30] It seems as though the efi boot menu adjustments happen during grub or boot somehow. I shutdown from the main install with 3 entries just the way I want them, and by the time I've booted into secondary and back into main there's four new entries and the part IDs for the original three have all been changed to the secondary. [02:31] I tried to get them to show up under different names, and I edited the GRUB_DISTRIBUTOR var in /etc/default/grub to accomplish that. I wonder if that's what messing it up. [02:31] ok so it sees the card 2b:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01) [02:31] but i do not see it anywhere === denningsrogue7 is now known as denningsrogue [02:35] jrg: Where are you looking? Nothing in `ip link`? [02:36] no. i checked ifconfig too not seeing it anywhere [02:36] Also, does `lspci -k` indicate a driver is assigned? [02:36] my guess is the intel SFP+ module does not load by default or something? [02:36] Yeah, my guess also. [02:36] Kernel driver in use: ixgbe [02:36] oh it does [02:38] Anything in dmesg for "ixgbe"? [02:39] oh i'm sorry. it is there. it renamed it. i was looking for ixgbe0 or something like that and i guess it changed it to enp43s0 [02:39] Ah yeah, that's the "prefictable" interface naming lol [02:39] predictable* [02:40] yah haha [02:40] personally i like it when they just keep the name of the driver so you can tell them apart easier === de-facto_ is now known as de-facto [02:57] gazby: thanks a ton. it's working now. i have smb mounts going through the 10gb card now [02:58] gazby: There is the tool "efibootmgr" to manage EFI entries. [02:58] !info efibootmgr focal | gazby [02:58] gazby: efibootmgr (source: efibootmgr): Interact with the EFI Boot Manager. In component main, is optional. Version 17-1 (focal), package size 27 kB, installed size 91 kB (Only available for amd64; i386; ia64; armhf; arm64; armel; x32) [03:04] jrg: 👍 [03:05] Bashing-om: Yeah that's what I'm using to manipulate the entries. Currently attempting a clean-out of the ESP and reinstalling grub to see if that gets me anywhere. [03:30] anyone creating his own ubuntu docker images based on Ubuntu ? I wonder about systemd... best would be if it's not there I guess but using apt-get installed packages you are sticked ? [03:30] docker is kinda stupid, but [03:31] if you're going to use it, it's hard to make a good argument to use Ubuntu with it [03:31] Debian non-desktop would be better [03:31] and many people use super cut-down distros, too [03:32] matsaman I think you never used docker in HA enviroments ? It's awesome... I come fromvery large deployed and provisioned clusters... this is uch better and more flexible and really MUCH faster and less overhead. [03:32] yes that is what I try to figure out... non-desktop is already there ? [03:33] super cut down means all deps need to be compiled manually mostly and I wonder if I really win something there except diskspace [03:38] Lutin: it's literally impossible for docker to be less overhead [03:38] Lutin: anyway, if you want to avoid systemd and a non-desktop distro is giving you systemd, you should find another distro [03:39] there are versions of Debian without systemd, like Devuan, IIRC [03:39] and there are distros that are less tyrannical about forcing systemd upon users, too, like Gentoo [03:39] matsaman yeah I have seen them. [03:39] Docker is really less overhead... KVM is nice but everthing around it mostly sucks [03:40] did you look at lxc? [03:42] matsaman that's almost the same as docker... to be precise... LXC runs docker images perfectly fine... not advised tho [03:44] it's not, docker is a clusterfsck managed by clowns [03:44] :-D [03:44] it's true they can both get you software level virtualization, I guess [03:49] matsaman you are making no sense at all [03:51] https://thehftguy.com/2016/11/01/docker-in-production-an-history-of-failure/ [03:51] not much has changed since 2016, IME [03:52] matsaman LOL 2016! [03:52] That was even the same with KVM and all others [03:52] Been there done that [03:53] I mean kvm is hardware virtualization, so no, that is not correct [04:01] oh in that case inded [04:01] indeed [04:02] * matsaman shrugs [04:03] bug I will checkout Alpine [04:03] at least now the Steam issue with CentOS... I'm so happy I started to do docker... I was using oVirt in the past very heavily [04:04] alpine is very popular [04:05] but it's certainly a cut down PITA if you ever have to do anything in it [04:05] it's also an OS [04:05] so you're virtualizing an entire OS [04:05] which is more than is required [04:05] if you have a GNU/Linux host, you can virtualize without virtualizing an entire guest OS [04:19] hello [04:20] hi [04:20] hi mat [04:21] anyone knows how to join Ubuntu into an Active Directory? [04:28] Clearing out ESP seems to have stopped the boot entries getting muddled all the time, but grub opens to a prompt now and even after manually booting and trying every variation of installing grub-efi-amd64, grub-install and update-grub I can't get it to stop. Any hints would very welcome <3 [04:34] gazby: I avoid UEFI nonsense whenever possible, which remains quite frequently these days [04:36] Hello everyone. [04:41] dabblerdude: hi [04:51] I tried going back a version with my video driver to try to remedy those desktop freezes I've been getting. [04:51] It didn't work. [04:52] nvidia? Did you try nouveau? Did you try nvidia's? [04:52] So next, I'll try out the "dmesg" and "journalctl -xe" commands. [04:54] matsaman: Under "Additional Drivers," I tried out the latest proprietary Nvidia driver for my GPU, which was version 460. [04:55] latest isn't always correct [04:55] Then I tried the version before 460, which was 450. I had another desktop freeze happen. [04:55] if you go to nvidia's website, the driver page, it'll tell you which version is correct [04:55] other than that, nouveau is very good [04:55] Also, no, I haven't tried nouveau for troubleshooting this issue. [04:55] well nouveau would be an entire replacement driver [04:56] I have another version of the driver I can use, but it's a little outdated; it's version 390. [05:00] matsaman: What's going on with my system is that, sometimes, my desktop freezes, but I'm able to move my mouse cursor and access TTYs. [05:00] dabblerdude: What release and kernel are you on ? [05:01] dabblerdude: like I said, check nvidia's driver site for the _correct_ version of the driver for your hardware [05:01] which is not always the latest version [05:01] if that doesn't work, and even if it does, it's worth trying nouveau instead [05:01] Bashing-om: Xubuntu 20.04.1 LTS, Linux Kernel 5.4.0-65-generic. [05:03] dabblerdude: All good then as DKMS issues are not present on the 5.4 kernel. pastebin ' dpkg -l | grep -i nvidia ' let's see here what version driver is installed and IF there is now a conflict. [05:06] Bashing-om: https://pastebin.com/iekU3T9K [05:09] dabblerdude: There is a conflict: "linux-modules-nvidia-460-5.4.0-64-generic " with the 390 version driver. Let's also verify the driver version that is recommnded - lspci -k | grep -iEA5 'vga|3d' - . [05:09] Well, I just installed the 390 driver not too long ago. [05:09] Bashing-om: Could that be a reason why you're seeing a conflict there? [05:11] dabblerdude: The thing is that the 460 version did not cleanly purge. [05:12] https://pastebin.com/45RCttDp [05:12] Bashing-om: Here's the log from the lspci command. [05:15] dabblerdude: Nvidia does recommend the 460 version driver: https://www.nvidia.com/Download/driverResults.aspx/170134/en-us . [05:17] Bashing-om: Under "Additional Drivers," I see that the 460 version is there, but I'm not sure if it's 460.39 or not. [05:18] dabblerdude: dabblerdude: We take it :) Nvidia says "Note that many Linux distributions provide their own packages of the NVIDIA Linux Graphics Driver in the distribution's native package management format. This may interact better with the rest of your distribution's framework, and you may want to use this rather than NVIDIA's official package." [05:21] dabblerdude: Try - With secure boot disabled ! - ' sudo apt remove --purge nvidia-* ; sudo ubuntu-drivers autoinstall ' and reboot to see the effect. [05:22] Bashing-om: I'll try out that command. Executing this will get me the latest version of the driver, right? [05:22] 460? [05:23] dabblerdude: Yup - system is some kind of smart and will choose to install the 460 version driver from what it has to choose from. [05:24] Bashing-om: That's good to hear. Well, I'll try out that command and report back if there any other issues. [05:24] dabblerdude: :D - we are here to help. [06:09] i need some help with linux dir paths [06:10] i have a folder that changes names but has s costant name infront [06:10] like name-2021 name-2022 etc [06:11] i need a binary from it to be used with cp [06:11] i tried cp /name-*/binary but looks like i cant use asterisk to replace the folder name [06:11] i get an error i cannot stat [06:11] any help? [06:13] cp: cannot stat : No such file or directory [06:20] Ntemis, what OS & release, and don't forget * matches any characters so it may not mean what you intended) [06:21] is a 20.04 [06:21] is a script that runs on 20.04 [06:22] basically @guiverc i need to replace the last numbers of a uboot package [06:22] uboot-2021-01 [06:22] so i dont need to rename each time i upgrade it [06:23] something like cp uboot-";"/ that takes whatever comes after uboot name will do [06:25] I don't understand what you want, but '?' comes to mind [06:25] sorry I don't have time to assist either [06:25] so if i use cp uboot-?/binary /here/ will work?> [06:26] nope [06:27] it doesnt [06:30] ? means a single character; or you could `find -exec` but I don't understand your aim [06:42] Hello. I was running GNOME on Ubuntu but recently switched to i3 window manager. I just select it from the login screen and it's working very well. But anyone where how I can make it so so that the laptop doesn't suspend when the lid is closed? [06:43] I reckon it has something to do with systemd/elogind but I have no idea for sure. [06:54] Looks like I had to edit /etc/systemd/logind.conf [07:20] ksynwa look onnpower management is my suggestion [08:10] hi, i just started with ubuntu latest version, i have problem with wine, it doesnt work, i tried troubleshooting with info from variuos sites and still doesnt work [08:12] seamammal: hi there. generally, "it does not work" is not a way to get support here, because no one can work with this amount of information. but wine is a special beast, it may not be possible to help you even when you provide more details. [08:12] !wine [08:12] WINE is a compatibility layer for running Windows programs on GNU/Linux - More information: https://help.ubuntu.com/community/Wine - Search the !AppDB for application compatibility ratings - Join #winehq for application help - See !virtualizers for running Windows (or another OS) inside Ubuntu [08:13] ok will do that and tell u what happened thanks [08:14] i had ubuntu again in 2011 and i had the ubuntu version of that time and wine worked fine never gave me any problems , then i had windows, recently i deleted windows and put ubuntu and im suprised how beastly wine is cause before it worked ok. thanks [08:15] !virtualizers [08:15] There are several solutions for running other operating systems (or their programs) inside Ubuntu, while using the native CPU as much as possible: !QEmu (with !KQemu), !VirtualBox, !VMWare, as well as !WINE and !Cedega for Windows applications [08:15] !cedega [08:15] cedega is a project based on WINE, aimed at running Windows games on Linux. For more info, see https://help.ubuntu.com/community/Cedega [08:15] @vmware [08:15] !vmware [08:15] VMWare is not available in the Ubuntu repositories. Consider using !QEmu or !VirtualBox as alternatives. Instructions for installing VMWare manually are at https://help.ubuntu.com/community/VMware [08:16] rfm, Ntemis: sorry for the late answer, missed your answers. (question was why the fzf doc files were missing) [08:17] I installed fzf via „apt install fzf“, so I assumed the doc files (and therefore the autocompletion files) should be in there, too. As said, dpkg lists them (isn’t this showing all files which are included in the package/were copied?) [08:22] seamammal: if your hardware is good enough, you could run windows in a VM under Ubuntu. [08:25] i will deinstall it first and see then how it goes thanks [08:25] https://usercontent.irccloud-cdn.com/file/K8pj1qDg/w2.png [08:35] Hi! [08:35] Before systemd, what was "service apache2 restart" doing? I remeber it was calling /etc/init.d/... [08:36] Was it what we call "upstart" or is it something else? [08:37] or was it called supervisord? [08:37] pafymyc: upstart [08:37] upstart [08:37] and before that sysvinit [08:38] matsaman, for ubuntu 14.04, was it upstart? [08:38] yeah [08:38] ^ [08:38] $ which service => /usr/sbin/service [08:38] 'service' is on top [08:39] what do you mean by on top? [08:39] doesn't indicate strictly whether it's upstart or systemd [08:39] cat /usr/sbin/service: # A convenient wrapper for the /etc/init.d init scripts. [08:39] well there you have it [08:40] but it does not mention upstart [08:40] indicates nothing in particular, like I said [08:40] you can use 'service' with more than one init system [08:40] pafymyc: sudo ls -l /proc/1/exe [08:40] dpkg -l | egrep -i 'systemd|upstart' [08:41] on 14.04, /proc/1/exe -> /sbin/init [08:41] so it's not systemd, but i don't know exactly what we call "upstart" [08:41] upstart is upstart [08:41] it's an init system [08:42] ohh it's like sysinitv? [08:42] it's an alternative to sysvinit, yes [08:42] as is systemd (although systemd has so much feature creep it does a lot more) [08:43] iirc systemd started with 15.04 [08:43] thanks matsaman! as a TL;DR, 14.04: upstart, 15.04+: systemd and when was the older system? [08:43] Anyone here who manually install nvidia-XXXX-.run? [08:43] pafymyc: 6.10 [08:43] How can I update/install a newer version of the driver? [08:44] pafymyc: sorry, 6.10 was first with upstart [08:44] so <6.10 was regular sysvinit [08:44] doev: download it, do the .run again [08:44] doev: or switch to the in-repository version [08:44] or use nouveau [08:45] matsaman, ohhh thanks! [08:45] but what about cuda? does it still fit the new version? [08:45] because I have /etc/init.d/* i always thought 14.04 had "sysvinit" [08:45] doev: probably, but I'm sure nvidia's website would say [08:45] "init.d" => sysvinit, but so, this is wrong? [08:46] pafymyc: proof, I suppose, that even Canonical is less bonkers than Red Hat when it comes to trying to reinvent the init system [08:46] I should go with the nvidia-docker container and don't care about cuda on the host. [08:46] pafymyc: I don't know, if you've got upstart and you probably have, then it's probably wrong, yes [08:46] pafymyc: dpkg -l | grep -i upstart [08:49] matsaman, upstart is done by canonical, or is it a debian specific init? [08:49] canonical [08:49] but most things from Canonical die because they don't really have the developers [08:49] so when Debian switched to systemd so did Ubuntu [09:05] Maybe someone else has a hint: Installed fzf on ubuntu 20. dpkg -L tells me there is a file in /use/share/docs/ from this package which I need. But the file is not there. How can this be? [09:05] fub: maybe you need to install a doc related package for fzf [09:05] EriC^^: but there is only the „fzf“ package [09:05] oh [09:06] also, why does dpkg -L fzf list this file then? [09:06] right [09:06] whats the name of the file [09:06] !info fzf [09:06] fzf (source: fzf): general-purpose command-line fuzzy finder. In component universe, is optional. Version 0.20.0-1 (focal), package size 932 kB, installed size 3024 kB [09:08] its "/usr/share/doc/fzf/examples/key-bindings.zsh" [09:08] !find /usr/share/doc/fzf/examples/key-bindings.zsh [09:08] Package/file /usr/share/doc/fzf/examples/key-bindings.zsh does not exist in focal [09:09] $ dpkg -L fzf | grep key-bindings.zsh [09:09] /usr/share/doc/fzf/examples/key-bindings.zsh [09:10] did you maybe move it out of the way after installing the package? [09:10] thanks matsaman for the info [09:10] no, its a completly fresh installation I am setting up [09:10] in a docker container [09:11] so "service apache restart2" uses upstart under the hood with 14.04, but the same command uses systemd for 15.04+? [09:11] tomreyn: https://dpaste.org/WTxj [09:11] the file is indeed containe din the fzf amd64 binary package for 20.04 LTS [09:14] fub: if the file had been moved previously, the package not purged, and that's where you started the actions displayed on your pastebin post, this woul dbe the expected outcome. [09:14] tomreyn: but as you can see in the paste, its a complete fresh ubuntu container [09:14] pafymyc: anything before ubuntu 16.04 LTS is not supported here (see /topic). for historic discussion, you could try #ubuntu-discuss [09:16] fub: hmm, yes, that's surprising. maybe this is not a default ubuntu image? [09:17] fub: what's the output of "apt-cache show fzf" [09:17] particularly "Filename" [09:18] Filename: pool/universe/f/fzf/fzf_0.20.0-1_amd64.deb [09:18] complete output: https://dpaste.org/RGHN [09:20] tomreyn, it's not for support, it's just for historic understanding of how things changed along the years [09:20] EriC^^: when I download http://archive.ubuntu.com/ubuntu/pool/universe/f/fzf/fzf_0.20.0-1_amd64.deb, do an md5sum, its the same as the hash in the paste from me [09:20] pafymyc: see, and this channel is just for support. [09:21] fub: i have the file here [09:21] When I download it, the key-bindings.zsh is in there [09:21] So the only possibility is that apt is removing it after installing it?! [09:22] fub: that's why i'm asking about your ubuntu docker image. related? https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973570 [09:22] Debian bug 973570 in fzf "fzf: keybinding files should be installed under /etc" [Normal,Open] [09:23] tomreyn: interesting, maybe this is related [09:23] unfortunately it happens on a daily basis that people ask for support with something they think is ubuntu and must behave like ubuntu because it said "ubuntu" somewhere when they set it up. but it isn'T. [09:24] and then you have these lengthy gussing games here until we find out, sometimes after hours, that's not actually ubuntu [09:24] okay, I did not know the docker ubuntu image is different [09:24] yeah, know what you'Re running [09:25] I did look at /etc/issue so I assumed its a default ubuntu [09:25] if you don't know how it was setup in the first place you can't know it's ubuntu, and moreover, you can't trust it. === chovy is now known as mywsbbot [09:27] so this is why its not copied: https://dpaste.org/GrzC === mywsbbot is now known as chovy [09:33] I emptied this file, it works now, thanks for your help! [10:12] i can use mkvmerge to trim a video, but that will cut a bit at the end and another bit at the beginning. Now, I want to get rid of 4 sections within a mkv file: I want to get rid of minutes 4 to 6, 18 to 21, 1:34:01 to 1:35:56... and still have a single mkv file in the end. Is mkvmerge the tool for this? === sauvin_ is now known as Sauvin [12:52] frad: maybe a question for ##linux or #ubuntu-studio also have volunteers with media editing [12:53] Hi people, somebody knows a bash script for ffmpeg for convert all files and subfolders? I found so far only this bash script > https://ghostbin.com/paste/bocDf [12:56] Hi folks [12:59] tollosz1: a question for ##linux or ##ffmpeg perhaps? [13:00] hi guys is there any way to install Pop Shop on ubuntu? [13:01] pop shop? do you have an URL? [13:01] https://github.com/pop-os/shop [13:02] it's pop-os's shop, it's much more superior than our snap store because it lets you choose if you want the deb or the snap [13:02] oh pop os, not supported here, join #system76 for that [13:03] it is their adapted ubuntu spinnoff [13:03] hey, i have a ubuntu server VM. which packages do i have to install to convert/adapt it to an desktop system? just sudo apt install ubuntu-desktop? [13:04] or is there anyway to revert back to the deb store? i really hate snaps [13:04] mendi: to divide snaps from apt packages you can divide snap-store vs gnome-software and synaptic [13:05] mendi, nope. [13:05] not our project, ask #system76 [13:05] i meant the pre 20.04 shop [13:05] that didn't have those nasty snaps [13:07] Deknos: you could try asking #ubuntu-server, but i think its better/faster to install clean, depending of your use case ofc [13:07] apt install gnome-software seems to have done the trick thanks lotuspsychje [13:08] welcome [13:09] some apps still appear as coming from snapcraft.io though, do I have to remove them from apt lists? [13:09] snaps are not stored in apt lists, they are seperate [13:09] if you don't like snaps, hop distro [13:11] isn't there any other way of removing snaps [13:13] I'm installing Ubuntu 20.04.1 on VirtualBox. I open Software Updater, it installs most updates properly. It gets to linux-headers-5.8.0-41-generic and it doesn't go any further. I can't open any application (nothing happens after I click them) and if I hard-reset the machine, wallpaper and all the icons, textures and applications are gone from the [13:13] GUI. During the process of software update, system keeps writing to the disk constantly (in the amounts of gigabytes) before I hard-reset it. [13:14] https://www.kevin-custer.com/blog/disabling-snaps-in-ubuntu-20-04/ [13:14] will try this thanks [13:15] @razorback, change distro or VM software [13:15] could also be a bug [13:15] wait gnome is a snap in ubuntu? [13:16] mendi, yes, some parts are snaps [13:16] tollosz1: ahah, I'm acutally installing Ubuntu VM on an Ubuntu host. [13:17] hello, i finaly tried to upgrade my ubuntu 18.04 to 20.04, update-manager was not willing to go through for some reason, so i tried the old fashion way of updating /etc/apt-sources.list to replace bionic with focal and things didn't go well, so i'm in a tty now, trying to give the right directions to apt to get out of there, it seems one of the issues is python3 versions incompatibilities, python3 and [13:17] libpython3 depend on python3.6 but a lot of python3 libs are asking for 3.8, apt policy does show me an update of python3/libpython3-dev to 3.8, but apt is not willing to install it, and it's not willing to uninstall python3 either (as many many things depend on it of course), any direction? [13:18] @razorback, tried the terminal? Or just the GUI updater? [13:19] i did try a long list of packages to remove and reinstall later, but it's seems that's as low as i'm able to go in amount of conflicts http://sprunge.us/CIn6Nm [13:19] tollosz1: " old fashion way of updating /etc/apt-sources.list " is NOT the recommended way [13:19] tollosz1: currently the GUI updater, on the third try it seems to have moved beyond that package so I'll see what happens [13:19] err [13:19] tshirtman [13:19] Maik: yeah i guess [13:19] but update-manager was not cutting it :| [13:20] tollosz1: my reply wasn't mean't for you :) [13:20] :p [13:20] I would say its a bug [13:20] tshirtman: there are many tutorials out there on you to do it properly [13:20] you/how [13:21] got distracted here... doh [13:21] hm, no worries, i tend not to rely on tutorials, as i've seen how wrong they can be on the stuff i know about [13:22] .s gme [13:22] GME: $ 313.02 -11.98 -3.69% After Hours Volume: 1.73M [13:23] chovy: no bots here [13:23] Maik: but i'll dig, do you think it's salvageable, or should i cut my losses and install again? (though i would prefer to avoid that, as that would mean a lot of things to tweak again) [13:23] lotuspsychje: ok [13:25] what is core18 used for [13:25] I wonder is executing that tutorial messes up your system [13:25] s/is/if/ [13:26] tshirtman: what does this report? "LANG=C apt-get -o Debug::pkgDepCache::Marker=true -f install" [13:28] mendi: snap info snap-name-here [13:29] "Runtime environment based on Ubuntu 18.04" [13:29] do snaps run on top of core18? [13:29] TJ-: http://sprunge.us/7Y5JJA [13:29] !discuss | mendi [13:29] mendi: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [13:30] thanks I'm just trying to make sure I don't break anything while unsnapping my system [13:32] how to make sure the wireless card installed properly? [13:32] i see wlp5s0 on ifconfig [13:32] chieta: check; sudo lshw -C network to check [13:33] chieta: at bottom driver=.... [13:33] TJ-: i went on with it, but no dice http://sprunge.us/oLO1CA [13:34] lotuspsychje: network disabled... but listed ar9285 wireless Network adapter [13:34] from Qualcomm Atheros [13:35] chieta: can you pastebin for the volunteers to see please? [13:35] tshirtman: there's a sneaky workaround than may help you, if you can install and run LXD containers [13:35] please wait lotuspsychje [13:36] TJ-: i have docker working apparently [13:36] and i do have a 20.04 image in there [13:36] tshirtman: as in, create a 20.04 container with the same set of packages in it you need on the host, then copy the essential parts into the host to 'fix' the severe breakages until the host can recover on its own. You'd need a 'system' container (LXD) rather than application container (Docker/LXC) [13:37] ah, i have no experience with these, but i can have a look, thanks :) [13:37] * enyc meows [13:37] hrrm 20.04.2 soon [13:38] tshirtman: creating an LXD 20.04 container is relatively easy, assuming lxd will initially 'init' ("lxd init") and choose 'dir' storage when asked, accept defaults for all others [13:39] tshirtman: then you create a new container with "lxc launch ubuntu:20.04 u2004" and enter it with "lxc exec u2004 bash" [13:41] TJ-: thanks, container creation in progress [13:43] will it take significant space on my system? as i only have 5G free right now, but i can make space :) [13:43] nevermind, i'm in :) [13:43] lotuspsychje: https://bpa.st/B2NYO [13:44] enyc: already on 20.04.2 like all the users who run the LTS release and kept updating as should [13:44] network disabled on wireless card [13:44] TJ-: so i get the copy of manually selected packages from my current system, install these there and resolve possible conflicts, and then sync the two systems somehow? [13:45] chieta: does your wifi have a switch? is your system up to date to latest? [13:45] tshirtman: because it is 'dir'ectory storage, once you've ensured it has everything you want, you could 'exit' it and then copy dirs/files out of it to the host, files will be at, or near, /var/snap/lxd/common/lxd/storage-pools/default/containers/u2004/rootfs/ [13:46] Maik: o thats interesting I guess its' just new-disk-images being finalized now? [13:46] tshirtman: if you create a 20.04 container it'll be pristine and perfect. It may already be sufficient to enable you to fix python3 on the host sufficiently to help the host recover and complete the release-upgrade [13:47] enyc: new iso's will be released february 4th [13:47] why would you need a new iso if you run 20.04 already and updated them [13:48] Maik: wouldn't but interestied in what process going on still =) [13:48] the iso's are just up to date images with applied bugfixes [13:48] lotuspsychje: this is lenovo g460 ... it must be fn+F5 but not working [13:48] any idea? [13:48] Maik: not quite that simple, may have hwe kernel and so on [13:48] chieta: uname -a please? [13:48] enyc: nope [13:48] but the button f5 do work [13:48] driverversion=5.4.0-26-generic firmware=N/A ... [13:49] i hardly found the switch [13:49] enyc: https://discourse.ubuntu.com/t/improvements-for-hardware-support-in-ubuntu-desktop-installation-media/20606 [13:49] Linux lubuntu 5.4.0-26-generic #30-Ubuntu SMP Mon Apr 20 16:58:30 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux [13:49] !uptodate | chieta [13:49] chieta: To ensure you have all the latest known patches and security updates for your ubuntu installation, please update with the following command: `sudo apt update && sudo apt upgrade`. See also !upgrades and !security; you may also need to run `apt full-upgrade`. [13:50] chieta: what does this show? "pastebinit <( rfkill list )" [13:50] enyc: the installer chooses which kernel you get [13:50] afaik [13:51] but that's more a discussion for in -discuss i guess [13:51] Maik: there have been lots of complaints about ryzen etc. not booting (hence not installable) in k5.4 [13:56] i sthere any advice for a vpn for ubuntu? [13:56] i already have vpn for windows but i swtiched to ubuntu and now my windows vpn doesnt work as i didnt figure out wine yet [13:56] is there a very cheap or free vpn for ubuntu [13:57] seamammal: there are several vpn clients on both apt and snap [13:57] for a price i guess [13:57] seamammal: but we focus more on ubuntu support questions in this channel [13:57] seamammal: very much suspect trying to ''wine'' a windows client is not a good idea at all, network interfering, etc... [13:57] ok nop [13:57] so you say my windows vpn wouldnt work anyways in wine/ubunut [13:57] seamammal: Linux has many VPN options built in; most recent and most peformant is Wireguard [13:57] nice to know [13:57] seamammal: searching the web gave any results? [13:58] i will have to buy an ubuntu vpn [13:58] maik yes but its confusing which one is the best [13:58] seamammal: more traditional is openvpn although that is less performant [13:58] and none is for free [13:58] seamammal: ubuntu networkmanager has facility to connect to certain vpn types... you might whant to be clear what you are trying to achieve and why. [13:58] thanks tj thas all i needed [13:59] seamammal: VPN is a technology, not a service! There are services such as PIA that provide end-points to connect your VPN to before routing to Internet [13:59] seamammal: best is a matter of personal experience and opinion [14:06] is there a chan for vpn chats? [14:06] !chat | seamammal [14:06] seamammal: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [14:06] so why does ubuntu ignore my preference for swap size (preseed)? Hibernate will not work with a tiny swap space... [14:06]   TJ-: https://bpa.st/ZOKTM [14:07] thanks for pastebinit [14:07] Is there a clear description of how ubuntu sets up swap. [14:07] i made the install of openvpn but now it says download the .ovpn file and import it in your OpenVPN client. [14:07] where do i find that [14:08] there is a /dev/mapper/vgubuntu-swap_1 but when I look in crypttab there is nothing... [14:08] In fstab it just says /dev/mapper/vgubuntu-swap_1 [14:08] so where does it map to??? [14:11] chieta: will "sudo rfkill unblock phy0" and then "rfkill list" show phy0 as Soft blocked: no ? [14:12] seamammal: that sounds as if it assumes you've already got an openvpn service provider that provides the config (.ovpn) file for you [14:13] i cannot even navigate ubuntu as i do in windows (from file explorer) so ... [14:13] seamammal, see, ubuntu is more safe than .. [14:14] tangarora: what does "cat /proc/swaps" report? [14:16] TJ-: Ill check [14:16] tangarora: recent releases use a swapfile rather than a paritition [14:16] or even a partition :) [14:19] 'swapon [14:20] TJ-: https://bpa.st/MO2JM [14:20] but still [14:21] chieta: well! that is unexpected but good news! That should only have affected the Soft block. Hard block is linked to a physical switch [14:21] cat [14:21] swap [14:21] wont paste [14:22] but points to /dev/dm [14:22] chieta: so now let's find out what the state of the network is: show us "nmcli radio" [14:23] mut there is no swapfile... somewhare it should point to the file [14:23] the device name is dm-1 [14:24] tangarora: OK, so it's using /dev/dm-1 which presumably is symlinked from /dev/mapper/vgubuntu-swap_1 ? [14:26] no... no symlink... [14:26] TJ-: im using wireless Lan [14:27] tangarora: so "ls -l /dev/mapper/" doesn't show vgubuntu-swap_1 as a symlink to a /dev/dm-* ? [14:27] chieta: nice :) [14:27] thanks [14:27] but: /dev/mapper/crypt_volume-swap_1 -> ../dm-1 [14:27] what happened actually TJ-: [14:27] so the mapper links to the device... but what is the device? [14:27] tangarora: that's what I said! [14:27] OKOK [14:28] I heard the other way around [14:28] tangarora: it is the device-mapper target, which is an LVM logical volume [14:28] OK, wich one? [14:28] I only have one and that is the root [14:30] tangarora: it shows you in the /dev/mapper/ naming! Volume Group = vgubuntu Logical Volume = swap_1 [14:30] lotuspsychje: yes the fn +f5 works well here [14:32] But the wierd thing is that I have one LVM with one encrypted partition in it, containing one filesystem... [14:32] so where is the actual swap? [14:32] TJ-: apparently i'm unstuck, comparing the var/log/status between the container and the host made me want to try some more with dpkg -r as it allows a bit more atomic operations than apt, and i could remove the things depending on python3.6, and then python3.6 itself, and then get apt install -f to actually want to do stuff :) thanks for the support :) [14:32] tangarora: where is this encrypted partition? [14:32] tshirtman: well done! [14:33] var/dpkg/status actually but you might have guessed [14:33] on vda2 [14:33] /var/lib/dpkg/status [14:33] yeah, that ^^' [14:34] tangarora: but my point is, where is this 'LVM' (I presume you mean a VG) with this encrypted LV in it? if you don't see it in /dev/mapper/ and 'vgdisplay' doesn't report it then as far as this system is concerned it doesn't exist [14:37] Device Boot Start End Sectors Size Id Type [14:39] ok pasting has limits here [14:39] https://pastebin.com/AiEKVxMH [14:39] this is the output from fdisk [14:40] there is a restore partition ext4 [14:40] extended part wiht a logical in iti [14:43] tangarora: and you say one of those is encrypted? what does "sudo blkid" report? [14:45] this: https://pastebin.com/kyU8zahi [14:56] tangarora: so what is the precise problem? You've got a "/dev/mapper/crypt_volume-swap_1" but in /etc/fstab you apparently have "/dev/mapper/vgubuntu-swap_1" which doesn't exist so no swap === hugh_marera63 is now known as hugh_marera === thegodsq- is now known as thegodsquirrel [15:44] Hello [15:57] I determined the cause of the drop to grub console last night. If you rename the grub distributor (for example, if you had multiboot and didn't want all the installs to show as "ubuntu in UEFI), then clear out the EFI partition, and reinstall grub to it, grub will write to the new distributor name but the shim is hardcoded to search for config in \EFI\ubuntu, so the config has to be there. I have no solution to this, just the [15:57] workaround of copying the config from the real grub directory to "ubuntu". [15:58] gazby: could use MOK (Machine Owners Key) to install your own signing key and therefore control that? [16:01] Thanks TJ-, but I'd have to rebuild and sign a separate UEFI shim.That feels...more painful I'd like lol. [16:01] I'm hopeful there's a solution for multiple installs that I'm missing. [16:04] It feels a bit wrong that all the documentation around renaming the UEFI boot menu entries suggests you change the grub distributor, but that from then onward the grub menu will never be updated? [16:04] And it seems to still keep adding boot entries for "ubuntu" regardless. [16:07] gazby: how about not using shim? see https://www.rodsbooks.com/efi-bootloaders/secureboot.html#add_keys [16:09] Sorry s/shim/grub/. The grub EFI stub is where the hardcoded config location lies. [16:19] I just wanted to complain about snap. I have 19 loopback devices cluttering up my list of mount points now thanks to snap just because I installed things. OK I'm done now. [16:21] B0g4r7: I don't think any devs are here, most of us are just users [16:21] Anyone know why a system would pick up system but not user flatpaks in GNOME Software and the terminal? [16:25] B0g4r7: Just remove it. So far the only hard dependency is chromium, but there's a PPA workaround for that. [16:26] MikeRL: flatpaks aren't include by default on ubuntu unless you add them yourself? [16:27] gazby, hmm, I'll look into that. I'm seeing snap mount points now associated with gnome and gtk as well as applications. [16:29] Maik, yes. [16:29] But the flatpak support channel on freenode looked dead last time. [16:30] Was wondering if anyone here knew how to get user flatpaks vs system ones. The system ones tend to be outdated and abandoned. [16:30] hmmm... i never used flatpaks so i can't be of any help. Sorry. [16:30] B0g4r7: Definitely double-check, but my understanding is that those would be dependencies for other snaps already installed, and not dependended upon by the system. [16:32] Thanks anyway. If anyone sees the post and figures it out, answer ofc. I'll try my luck elsewhere as well. Thanks regardless. [16:32] MikeRL: Are you on a system that you don't administer and the administrator never updates the flatpaks? Or some other kind of setup? A `sudo flatpak update -y` should update all flatpaks on your system. [16:32] gazby, I own the machine. [16:33] gazby, There are user and system flatpaks. Nothing to do with root, though. [16:34] https://docs.flatpak.org/en/latest/using-flatpak.html [16:34] Think I found something. Tried using Google instead of my normal search. [16:36] MikeRL: There are runtime versions and whatnot that would be deprecated, but a user vs. system flatpak would still be the same code just installed/running from a different location. What's deprecated/abandoned for the system would be deprecated/abandoned for the user. [16:36] Then why on my laptop did I get an older version of flatpaks for the system vs the user? I ran "flatpak update" [16:37] I'll provide an example. [16:39] NVM. It may take me a while to find one. [16:39] I want to try a user install first and see if that fixes the issue. Maybe I wasn't running the correct update command. [16:40] If an older version of a runtime or some such was installed as a dependency at system, then at a later time the same application installed but with an updated dependency at user, it might appear that the system is out of date. I can't think of another circumstance for what you're describing. [16:52] hi [16:53] I reinstalled this morning and can't for the life of me find where I customized yakuake keyboard shortcuts (new tab, next tab, etc). Anyone know? [16:55] how can I find what the -lm option does in clang? I can't find it in http://manpages.ubuntu.com/manpages/focal/en/man1/clang.1.html [16:56] Hello, can anyone help why does not clinfo list my devices ? https://pastebin.com/X9x79tUV [16:58] https://pastebin.com/zgfkMek8 I have 4 boards there connected and they are listed by lscpi [16:58] i have a text file with a list of http mirrors of a file and i would like to know which is the fastest one, how can i do that with standard tools like wget or curl? [17:00] Any ideas ? [17:04] hybla: netselect will work on a list of hostnames (i.e. it doesn't have to be repo mirrors). [17:10] gazby is there something similar also for throughtput? [17:16] hey guys === arunas is now known as Sistemiokas_Ubun [17:29] hybla: Nothing quite so straightforward, but you could adapt something like this: https://askubuntu.com/a/719551 [17:33] gazby: thanks will look into it [17:46] GRUB 2 installation issue - I am seeing "guessed root_dev ''lvmid/.....'" BUT I''ve removed all EFI/notations of that lvmid before running grub--install, where is it taking that lvmid? [17:47] vmnew: from what is currently mounted [17:48] TJ-, Can I install grub with the disk unmounted? [17:50] vmnew: if you configure every aspect that grub-mkimage/grub-install/grub-mkconfig/update-grub requires [17:51] vmnew: part of what grub-install/grub-mkimage do is understand the running system and figure out which device drivers need to be included in GRUB's core image, which is built and linked by them (aside from if you're using UEFI pre-signed core image) [17:52] TJ-, I [17:54] TJ-, I'm actually trying to install grub on a secondary disk, then swap disks, and boot it, for some reason I am getting lvmid ... not found, even though it;s the correct lvmid, so I tried to avoid that and use the disk's UUID [17:55] vmnew: you're trying to direct GRUB to install itself on a different device to the one it booted from? [17:56] vmnew: does the other device have a separate installation of an OS, or are you only trying to create the GRUB EFI boot-loader on the other device? [17:58] TJ-, Separate -- It's an interesting case I have a working instance, got my friends secondary disk with no grub, in which I am trying to salvage and get booted up (after a disk swap on a new instance) on AWS, so no interactive console as well. But as grub-install gets a 'device'- /dev/xvdf for example. It''s doable even without chroot [18:00] vmnew: You'd do best with a chroot with devtmps procfs sysfs mounted into it - it needs to get the identities of the root-fs/EFI of that second device [18:00] vmnew: otherwise it'll be using those from the running OS device [18:02] TJ-, that's the crazy bit, it the error message states a correct lvmid from the secondary disk, but for some reason doesn't find it. I'll retry chrooting [18:04] vmnew: also, assuming there are entries in the target's /etc/fstab always ensure all 'auto' entries are mounted, as in "chroot /target mount -a" [18:04] vmnew: that ensures things like EFI-SP are mounted === Panther is now known as Guest71098 === AvengingAngel is now known as Panther [19:36] <|izzie> Hi all, I'm having a problem connecting to my printer since i upgraded to 20.04. [20:09] can somebody please help me get audio working, it started with speakers going into power saving mode/shutting down after going to sleep for longer periods of time and I had to reboot every time after that so I tried unmuting all the devices in alsamixer and then my audio stopped working completely so I uninstall pulseaudio so I don't [20:09] have to wonder if that's what's causing the issue and it still isn't [20:10] working [20:10] can I just completely reinstall all the sound related stuff? if so how? I really need to get audio working till tomorrow [20:12] nvm I reinstall pulseaudio and it's working for some reason [20:19] pulseaudio -k next time [20:30] TJ-: There is a swap of like 900MB which is useless... [20:30] TJ-: anyway... I need it to be more than ram. to support hibernate [20:36] hybernate and encrypted disk? [20:40] tangarora: that's why Ubuntu switched from partitions to a file as installed RAM sizes increased - making allocation of space more flexible. [20:49] TJ - I also makes hibernation impossible... [20:50] TJ- : my preseed configs etc are in this bash library: https://github.com/vonschutter/RTD-Build/raw/master/System_Setup/_rtd_library [20:51] It builds all sorts of vm and pysical system sjust fine... ingoring anything I say about swap... [20:51] wierd. [21:02] TJ- so is there an easy way to simply grow the swap to 200% ram [21:02] ? [21:20] I have a laptop with Ubuntu 20.04 LTS and kernel 5.8.0-41-generic [21:21] the wifi card sometimes disapears from all menus/settings and the only solution is to reinstall it with the follwing command [21:21] sudo apt-get reinstall rtl8821ce-dkms [21:22] I cannot understand why I have this problem.. [21:23] it does not happen every day [21:29] Tas-sos: That is interesting as the dkms install should build a new driver for any kernel update [21:31] Xmm... so for every new kernel update need to rebuild it ? [21:32] :-/ Why? [21:32] In this particular laptop I have Ubuntu for more than a year, but this problem first appeared a few months ago. Why now ? [21:33] Tas-sos: There might be an issue with the rtl8821ce-dkms, you could follow instructions at https://gist.github.com/jeremyb31/b1305554de4e149c751c94004af49855 and remove the rtl8821ce-dkms and see if it is better [21:46] jeremy31: Thanks for that, thanks for help [21:46] can I trust this repository ? tomaspinho / [21:46] github.com/tomaspinho/rtl8821ce ? [21:47] Why this isn't in official Ubuntu repositories ? [21:48] Tas-sos: I am sure that github is what the rtl8821ce-dkms is based on, but rtl8821ce-dkms might not be as current as what github is [22:04] hm... so at some point in the future, it will be added to the official sources? [22:05] Tas-sos: Likely in the future. To find what the problem is, the next time wifi disappears, in terminal check, dmesg | grep 8821ce [22:07] but where are the official sources (as this driver was pre-installed) ? [22:07] What repositories does it come from? [22:08] non of these work: https://askubuntu.com/questions/1240123/how-to-enable-hibernate-option-in-ubuntu-20-04 [22:09] Is it now possible to be secure (encrypted disk) and have resume (from swapfile)?! [22:09] Or not? [22:09] Tas-sos: It looks like it is in the focal universe repo [22:09] jeremy31: Oh! Thanks about the "dmesg | grep 8821ce" Yes you are right! I will run it and share the result with you so we can discuss it [22:10] Tas-sos: wait for it to fail first, then copy and save results as a text file to upload to paste.ubuntu.com and post a link [22:11] "it is in the focal universe repo" what mean that ? [22:11] Yes, yes.. so for now I will remain to dissapeared again ( before I use the above solution from gitHub.com repository ) [22:12] and the I run the dmesg command to paste the results here with you :-) [22:12] Tas-sos: I have been recommending that github site for at least 2 years so I do have some faith in it [22:14] OK I understand and I trust you too.. and I realy thank you very mutch for this! I realy thank you for all the info [22:15] but, first I would like to see better what is happening and wait for a official solution [22:16] is there a net install iso or a better / updated guide to install focal from tftp? [22:16] Tas-sos: An official solution would be obtained by filing a bug report @ https://bugs.launchpad.net/ubuntu/+filebug the next time it happens [22:18] OK! In the next time, firstly I share it here with you, and after that I also paste it in launchpad to as better I can with full info :-) [22:20] I will be very happy to help even in this way. === Ringtailed_Fox is now known as RingtailedFox [22:36] Ubuntu 18.04, hangs when Samsung Android connected, trying to mount MTP [22:37] Any MTP pointers, checks or fixes, most appreciated [22:39] File Manager hangs, circular 'mounting' waiting graphic. I can 'unmount' from File Manager, there's that option, but its no good as Mount operation hasn't completed [22:46] is there any option to set the audio to a fixed value? it jitters and crackles because the volume slider wildly jumps around on its own [22:46] i dont what that volume is adjusted at all, only a fixed level and it should never change on it own at all [22:47] can i uninstall something that allows for volume adjustment? [22:50] opening pavcontrol stopped this madness for some reason [23:19] I have an Ubuntu 20 LTS machine that has no desktop environment. I want to add the official desktop environment to it. Should I be installing ubuntu-gnome-desktop or ubuntu-desktop ? Or something else entirely? === bildramer1 is now known as bildramer [23:40] abesab: You can also consider vanilla-gnome-desktop which excludes the Canonical customizations [23:50] @gazby Thanks, I'll check that out as well. I will need to examine the various options. [23:51] I am looking at these 2 pages: https://packages.ubuntu.com/focal/ubuntu-gnome-desktop and https://packages.ubuntu.com/focal/ubuntu-desktop [23:51] It seems that ubuntu-gnome-desktop is a "metapackage" that depends on ubuntu-desktop (which is also itself a "metapackage"). Am I understanding that correctly? [23:53] abesab: No longer so - see ' apt show ubuntu-gnome-desktop ' . [23:57] Bashing-om: I'm a bit confused. Didn't ubuntu switch back to using Gnome? [23:58] abesab: Yes - but ubuntu-gnome-desktop is no longer a meta-package.