[00:00] Ha, #unbuntu-server - 1 person here! [00:01] binderclip you mistyped ;) [00:01] let me see, "sudo snap install multipass --classic" and then under ubuntu 18.04 desktop, 'softwarecenter > installed > multipass > perm issions' i see [00:01] https://imgur.com/gallery/t0I0c8L [00:02] only homefolder. [00:17] I'm using multipass on [00:17] windows tho to get a linux vm on windows. [00:17] I launch it from the windows command line. [00:18] Don't get an UI. [00:18] Just a new Linux command line. [00:20] quadrathoch2 thanks yes I did mistype - trying again ... [00:54] binderclip, there is #multipass too here on #freenode, office hours i think === zbenjamin is now known as Guest80463 === zbenjamin_ is now known as zbenjamin [01:42] kernelupdate [01:44] Hi guys [01:44] I need an help with wine [01:46] I've a 4k monitor on my Dell and when I start every Wine application like Battle.net for example, it looks in a bad resolution [01:46] I show youa pictures [01:47] https://ibb.co/wNjMVqH [01:48] does this look like what you posted? https://i.ibb.co/GvNcyDw/Schermata-da-2020-06-25-03-43-06.png [01:48] yes [01:48] it's only a few hundred pixels, I can't read anything there, and could only guess at three or four of the icons :) [01:50] what do you mean? can't you reconize anything of the picture? [01:50] you said you've got a 4k monitor but that image is 640x360 pixels [01:50] so I'm curious if the screenshot is *actually* that size [01:51] or if this image host has done something silly :) [01:51] haha wait maybe is the host [01:51] where can I share it to show you? [01:52] tell me a good hosting site to share it please [01:53] imgur? [01:53] ok thx [01:56] https://imgur.com/a/EtZTXIb [01:56] works now? [01:57] oh yeah! that's beautiful [01:58] haha nice, like you see it has a very bad resolution [01:58] compared with the rest of course [01:59] certainly the text is a bit tiny compared to eg the date and time, temperature, title bars, etc [02:00] Tarallo: can you run winecfg to fix it? [02:01] sure, but on winecfg I already raised up the DPI [02:02] and if you can see from this other screenshot they are completely different in resolution [02:02] look [02:03] https://imgur.com/OIjKGUg [02:10] @sarnold Still there? [02:12] Tarallo: yeah [02:12] If you see I posted another screen [02:19] quit [02:20] Tarallo: I don't actually know the winecfg tool, I just heard that you could set the DPI within it.. I'd guess the grafica tab perhaps? [02:25] @sarnold: Do you mean Graphics Tab of my System? [02:26] Tarallo: yes [02:27] It is already set to the right resolution for my monitor: 3840 x 2160 (16:9) [02:29] Itried also to set to a less resolution like 2560 x 1440 but the app is always in that bad resolution [02:35] Tarallo: bummer :( sorry, that was all I had :( [02:36] oh, ok, thanks then [02:36] I thin that a VM will solve the problem [02:37] with Windows emulated of course [02:37] what do you thunk? [02:37] hopefully there's something less drastic :) [02:38] there is a #winehq channel -- they may have suggestions [02:38] (it might also start with "uninstall the wine you're using now", hehe) [02:41] Tarallo: What version of Ubuntu are you using? I second the recommendation to ask in #winehq , and they will probably want you to follow https://wiki.winehq.org/Ubuntu to install the latest upstream version, which for HiDPI support is probably a good idea. [02:43] Jordan_U I really thank you, but I'm thinking now that a better solution would be to install a VM with Windows and it will be more compatible with everything [02:44] And thank you sarnold for your time [02:52] Hi I just installed Ubuntu, I have audio with speakers that are built in my laptop, but when I plug headphones in, no sound [03:18] !sound | lp2skyline start here [03:18] lp2skyline start here: If you're having problems with sound, click the Volume applet, then Sound Preferences, and check your Volume, Hardware, Input, and Output settings. If that fails, see https://help.ubuntu.com/community/Sound - https://help.ubuntu.com/community/SoundTroubleshooting - https://alsa.opensrc.org/DmixPlugin - For playing audio files, see !players and !mp3. [03:18] lp2skyline: see also pavucontrol to debug sound issues [03:20] lotuspsychje, pavucontrol shows the headphones as being plugged in but nothing comes out [03:20] lp2skyline: sudo lshw -C sound, shows driver loaded? [03:21] yeah. The speakers work fine [03:23] lp2skyline: do you have other sound hardware that could interfere? [03:23] No. This same setup works in every other distro I've used. [03:24] It's a very basic setup. It's just a laptop sound chip [03:24] lp2skyline: allrighty, wich ubuntu/kernel version is this please? [03:24] 5.4.0-39-generic [03:24] 20.04 [03:25] lp2skyline: did you sound work on other versions/kernels of ubuntu before? [03:25] Yes from what I recall. I don't remember which but I did run Ubuntu for a good while on this machine. [03:26] lp2skyline: ok tnx, could you share your dmesg in a pastebin please? [03:27] lotuspsychje, the entire thing? [03:28] lp2skyline: yes plz [03:28] https://pastebin.com/freYdDZH lotuspsychje [03:36] lp2skyline: what kind of graphics in your alienware? [03:36] GTX 1070 [03:37] lp2skyline: nvidia-smi to check wich driver loaded please? [03:37] it's nouveau. [03:37] Never caused an issue before, though. [03:38] lp2skyline: oh, is that a hybrid card with intel? [03:39] lotuspsychje, no, pure Nvidia. [03:39] It's complicated to explain, the Nvidia card is directly connected to the screen though. [03:40] lp2skyline: ok, lets try 2 things, try to switch to nvidia driver to see if it influences your sound, and try a previous kernel version too as a test [03:40] I just installed Ubuntu 3 hours ago, there is no previous kernel :P [03:40] lemme go switch to Nvidia though. [03:41] lp2skyline: i found snd_hda_intel 0000:01:00.1: Disabling MSI [03:41] but not sure its related to your mic [03:42] lotuspsychje, same thing [03:42] lp2skyline: need to reboot for graphics switch [03:42] Except I can adjust my brightness now, which is nice :P [03:42] I did reboot o.o [03:43] What. [03:43] I unmuted my mic and the headphones started having sound [03:43] : ) [03:43] How are those 2 correlated????? [03:44] The mic is muted again and I still have sound [03:44] that happens when graphics influence HD sound [03:44] I'm so confused but it works now so I'm fine [03:44] Thank you! [03:45] welcome lp2skyline [03:45] lp2skyline: you might also check your cpu in bios, dmesg showing cpu rises [03:45] Oh don't worry that's normal. [03:45] ok :p [03:46] You mean the temps right? That's normal. [03:46] This model is notorious for awful temps I have to cap them with thermald [03:46] mce: CPU0: Package temperature above threshold, cpu clock throttled (total events = 2767) [03:46] Yeah it hits 100C often [03:46] lp2skyline: anyway, might be nice to find yourself a nouveau/sound bug to get affected on === guiverc2 is now known as guiverc [04:55] I'm trying to install 20.04 and it's having some sort of problem with i think ?the bootloader? [04:55] to be absolutely clear, i'm not trying to do anything _fancy_ [04:56] i just want it to wipe the entire physical device clean and install ubuntu and nothing else [04:56] i don't want to preserve my existing anything and i don't want to set up dual-boot [04:56] AND YET this is somehow difficult! [04:57] It seemed to install normally, but when I tried to boot I got: [04:57] Booting `Load Operating System' [04:57] Failed to boot both default and fallback entries. [04:58] Googled that, got directed to grub-customize, which also failed. [05:01] Can't remember what the specific failure was, but we'll get back to that. [05:01] boot-repair also fails. https://paste.ubuntu.com/p/6xXh5Q8j9v/ [05:02] I would like to emphasize that this is already *way* more getting-into-the-deep-black-magic than should be necessary for the task of "literally just install ubuntu". [05:06] found grub-customizer (it was in multiverse). [05:07] grub-mkconfig couldn't be executed successfully. error message: /usr/sbin/grub-probe: error: failed to get canonical path of `cow'. [05:12] okay, this looks very slightly promising... https://i.imgur.com/sJGRMmF.png [05:14] ...so, now what? https://imgur.com/2SqA59W [05:14] (sdb is the liveusb) [05:15] please help [05:17] someone please talk to me i feel like i'm going crazy [05:19] hello! i installed my first linux distro :) [05:19] congrats! [05:23] hello testing can anyone hear me [05:23] ping [05:37] * sonataaaugh_ switches to hexchat in case that helps === sonataaaugh_ is now known as sonataaaugh [05:38] anyway, it would be great if anyone would acknowledge that i exist and my messages aren't just disappearing into the ether === bocaneri is now known as Boc [05:56] sonataaaugh, henlo [05:57] hi thank you [07:34] how do i change the nameserver via terminal. /etc/resolv.conf is just a link as you probably know and in the /run/resolve.. thing is just some systemd stuff. [07:37] egrain, I am not sure but would "man systemd-resolved" help you any? [07:40] If you are were using netplan you could do some things in it, and on Ubuntu 20.04 there is this server help: https://ubuntu.com/server/docs/network-configuration [07:40] this is really weird: PING 141.1.1.1 (141.1.1.1) 56(84) bytes of data. / From 62.155.243.162 icmp_seq=1 Destination Net Unreachable [07:41] i ping 141.1.1.1 but get no reply rom 62.155? [07:41] what? [07:42] What do you mean "from 62.155.243.162"? [07:43] here, check it out: [07:43] I cannot get anything back when I ping either address [07:44] https://pastebin.com/zuUYHF3v [07:45] egrain: it means 62.155.243.162 is on the route to 141.1.1.1, but has no route for that network [07:45] ohh [07:45] things i never knew. [07:45] it's my nameserver there though. [07:45] how do i change it? [07:46] in terminal [07:46] "Destination Net Unreachable" means "i have no route for that" [07:46] well, there is probably a much better way than the way I do it [07:47] elsewhere i edit /etc/resolv.conf. [07:47] systemd seems weird. [07:47] first what do you get when you do "nslookup 62.155.243.162 8.8.8.8" [07:49] 162.243.155.62.in-addr.arpa name = p3e9bf3a2.dip0.t-ipconnect.de. [07:49] Authoritative answers can be found from: .... nothing, it seems. [07:50] yeah, returns straight back to terminal. [07:50] On my Ubuntu 20.04 /etc/resolv.conf actually points to /run/systemd/resolve/stub-resolv.conf so what I do is cd to /run/systemd/resolve/ and I do a "cp -v stub-resolv.conf stub-resolv.conf.save" and then do a "sudo nano stub-resolv.conf" and change the 127.0.0.53 to some public DNS like 8.8.8.8 or 1.1.1.1. There has got to be a better way, though. But I am on NetworkManager not netplan. [07:50] byroniac, sudoedit is better. [07:50] I mean "sudo cp -v stub-resolv.conf stub-resolv.conf.save" in that folder [07:50] instead of sudo nano. [07:51] oh, thank you. I didn't know about it [07:51] just some security thing. [07:51] anyway, fumbling about with internal systemd files doesn't seem like a good idea to me. [07:52] especially since i need that machine running the next reboot as well, without me editing it again. [07:52] I have a CLI VPN client that clobbers my /etc/resolv.conf with one it creates and I have to keep recreating the symlink (arrrghhh) [07:52] yes I agree [07:52] Hmmm hang on [07:53] I think you can do this in the Settings | Network GUI [07:53] sudo nm-connection-edit if you are on NetworkManager like I am [07:54] "sudo nmcli" has a lot more CLI options [07:54] byroniac: you can be on both NetworkManager and netplan, netplan just generates configs to be rendered by nm or networkd [07:55] oh ok [07:55] cool [07:55] thx [07:55] egrain: if you are using nm there is a way to input additional dns servers [07:56] i don't know what i'm using. the default stuff. [07:56] i didn't cahnge anything. [07:56] nm seems to be thee though. [07:57] ok it's late for me. bye all. have fun. [07:57] egrain: do you have any files in /etc/netplan/? [07:58] no. [07:58] it's network manager i have it there, in german no less [07:59] "kabelgebundene Verbindung". it's everything in there. [07:59] i'll edit it and do systemctl restart networkmanager? [07:59] restart nm? [07:59] what do i restart? [08:00] network-manager.service [08:01] no. [08:01] caps! [08:01] why? [08:01] NetworkManger... [08:01] anyway, thanks. [08:01] ping evilemp... i mean google works. [08:01] you don't need to use caps in the service name [08:02] oh, if i do .server after, you mean? [08:02] because sudo systemctl restart networkmanager / Failed to restart networkmanager.service: Unit networkmanager.service not found. [08:02] that worked though: sudo systemctl restart NetworkManager [08:08] there's a - in the first one [08:08] look what i wrote above [08:10] saw. [08:10] weird. why would there be two? [08:10] anyway, i have another question if you have the time. === mateen1 is now known as mateen [08:12] sure [08:19] booted and was greated by this: https://i.imgur.com/30CKRpa.png [08:19] it says data backup and data. each has one notification. [08:19] just click on it to read it and we are good to go? or do i have to do something there? [08:22] i have no idea, tbh, but i doubt they're critical [08:23] me neither. i told them to click on it and keep going. [08:24] which desktop was that? [08:24] the one with the nameserver issue. [08:24] Linux lala 4.15.0-106-generic #107-Ubuntu SMP Thu Jun 4 11:27:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux [08:24] no, i mean kde, gnome or what? [08:24] gnome, i think. [08:24] the default one. [08:25] i don't change stuff i don't want to touch. [08:26] right, if you hang around here maybe someone else knows, it's quiet this time of day [08:28] shouldn't be an issue. they'll click on it, if it's something they don't understand they'll sent me picture again. [08:28] otherwise the nameserver works again, all good. [08:28] thanks for your help. [08:29] you're welcome [08:32] egrain: anything else we can help with? [08:35] not at the moment, i think. thanks though. i'll be back when something comes up. [08:39] that's what we're here for :) [09:20] Hi [09:29] I've to connect a device via ethernet port without dhcp, just a fixed IP address for my laptop and for device: 192.168.1.1 is the address of the device. [09:29] I've tried using the network manager interface but no ping works from laptop to device. [09:29] How can I free enp14s0 interface from ubuntu control and set it using ifconfig? [09:31] which release? [09:31] ferz: ^^ [09:32] 20.04 LTS (Focal Fossa) [09:33] install net-tools and write an interfaces file [09:33] or just use netplan [09:33] why ifconfig is not good enough? [09:33] it's deprecated [09:34] Why simple and ancient tools are deprecated? [09:49] hello, can somebody tell me what the cnf is regarding ubuntu mirrors? and what i'm doing wrong if i host my local mirror with this apt-mirror list? https://paste.xinu.at/5KqBUu/ if i do a apt-update i get a failed to fetch focal/main/cnf/Commands-amd64 === Wryhder is now known as Lucas_Gray [10:06] on my laptop netplan config uses renderer: NetworkManager while on netplan.io example there is networkd [10:06] Which is the difference? [10:08] hello, I'm on Ubuntu 20.04, and have an odd audio jack behavior. I have speakers hooked up to my laptop via a 3.5mm jack. On my laptop, whenever audio is stopped, I get a buzzing noise. happens when youtube is switching between videos, happens at the end of video calls. === PowerTower_121 is now known as PowerTower_120 [10:55] I have Ubuntu 18.04.4 LTS. Has kernel 5.4 been released? [10:57] I want to upgrade to 20.04 LTS. Are there any issues? Is it better to do a wipe and clean install? [11:00] !ltsupgrade | funnybunny2 [11:00] funnybunny2: Regular upgrades from 18.04 LTS to 20.04 LTS will be enabled once 20.04.1 is released in late July. This delay helps to ensure that any lingering issues are resolved before people upgrade production systems. If you'd prefer to upgrade now, use sudo do-release-upgrade -d [11:01] funnybunny2: before 20.04.1 comes out there are to-solve bugs still, but that doesnt mean you cant run 20.04 propermy yet, its the users choice you see [11:01] *properly [11:03] Oh, I thought 20.04 was already stable because it is the primary download on the website. [11:04] funnybunny2: stable yes, but its the users choice to install before point release or after [11:04] funnybunny2: it really depends what you find important? [11:04] I don't understand [11:05] I will just wait. Not in a hurry [11:05] funnybunny2: the lts way is like this, 18.04 users can upgrade when 20.04.1 comes out, when more bugs are solved, to have a great lts experience [11:05] OK [11:06] I wonder if I will have a more polluted filesystem than someone doing a clean install of 20.04 [11:06] funnybunny2: nothing can beat clean installs [11:07] I think I will just do a clean install [11:07] funnybunny2: but upgrades work pretty good too, in condition the user himself maintained his system properly [11:07] I had a bad upgrade experience 10 years ago [11:08] funnybunny2: 1 bad experience doesnt have to occur on the next experience [11:09] Yeah, you're right. I guess I will try to upgrade first since that is easier [11:10] So courier-imap seems to unhelpfully be sticking my apt-get because it's asking questions even if I run with -y [11:10] any way to skip this? [11:10] The web-based administration provided by the courier-webadmin package relies on [11:10] configuration directories instead of configuration files. If you agree, any [11:10] directories needed for the web-based administration tool will be created unless [11:10] there is already a plain file in place. [11:10] Create directories for web-based administration? [yes/no] [11:12] sorry for that, didn't realize it'd split across multiple lines... [11:12] Does apt have a way to list all the packages I manually installed? [11:12] This would be very useful if doing a clean install [11:14] I found the answer here: https://askubuntu.com/questions/2389/generating-list-of-manually-installed-packages-and-querying-individual-packages [11:14] "apt list --manual-installed" doesn't really do that [11:19] i had 0 bytes free on disk .. now i reboot and the boot is stuck .. how can i go into console to go free up some space ? [11:20] funnybunny2: apt-mark showmanual [11:55] ducasse: I found that googling too. It doesn't give the right answer [11:56] .. [11:56] I'm dual booting ubuntu with windows. But I usually run windows. Whenever I boot, it will automatically boot Ubuntu if I dont switch in 10s. How do I change to auto Windows? [12:13] Anyone know if there's a limit to "ubiquity/success_command" ? I try to do multiple things separated with sem-colons, but only some happen, and I don't see any method to the madness. [12:14] hackinghorn: Check the grub config for the default boot target. [12:17] 'Morning all [12:18] thats a bit vague but i will try [12:33] !info grub-customizer [12:33] grub-customizer (source: grub-customizer): GUI to configure GRUB2 and BURG. In component universe, is optional. Version 5.1.0-2 (focal), package size 668 kB, installed size 3425 kB [12:34] hackinghorn: ^^ once you install that package, you can use grub-customizer to modify your grub config (has gui) [12:34] ocean, ehe thanks a lott [12:36] qwqwex [12:39] grub-customizer can be dangerous , one mistake and you're locked out of your system, at least that was my experience, you're better off making changes in /etc/default/grub [12:39] hackinghorn: ^ [12:40] thanks lotuspsychje [12:43] lotuspsychje, BluesKaj, oh nice, thanks [12:43] lots of blue people here [12:44] I'm not blue. my preference is the blues :-) === retentiveboy_ is now known as retentiveboy === mateen1 is now known as mateen [13:41] hackinghorn: you can use grub-set-default [13:52] hi all! how to make the ubuntu dock to its default settings? [14:04] hi all! how to make the ubuntu dock to its default settings? [14:09] rajivmars, omgubuntu.co.uk tells of a way doing that, but it resets more than only your dock. So this page might be worthfull reading -> https://www.omgubuntu.co.uk/2017/10/how-to-reset-ubuntu-desktop-to-default [14:10] coconut: is it touch the kernel as well? [14:13] rajivmars, i am not sure, i guess not... but i would wait on someone who can tell you. [14:14] coconut, i think the best solution is to use dash-to-dock rather than ubuntu-dock. [14:14] or google a little on that command [14:14] ok [14:16] cocnut: i have read about it but i m confused of doing it or not. i have also read the same on ask ubuntu but i m afraid of doing it. [14:18] cocnut, is there any command to reset the ubuntu-dash settings to its default other than this? [14:19] rajivmars, dunno i do not use gnome desktop myself [14:20] ok, by the way what are you prefer instead? [14:22] rajivmars, i am only an end user who got started using ubuntu mate 20.04 recently, after years of macos. But i prefer a distro with the mate desktop. [14:23] coconut, ok thats good. [14:27] rajivmars, yeah mate runs faster than gnome and has the look and feel of gnome in the past. I like it. === The_Milkman1 is now known as The_Milkman [14:38] lotuspsychje, whenever I reboot I have to unmute my mic again, is there anyway so it just.. works? [14:48] never mind, I just rebooted and now it's working fine, didn't have to unmute my mic. I am very confused but.. it works [15:02] coconut??? [15:02] rajivmars, yes ? [15:03] the article you have sent is work for me. [15:03] oh, thats positive rajivmars! [15:03] the command "dconf reset -f /" does its job pretty well. thanks! [15:07] rajivmars, i hope you like your gnome desktop again. [15:08] cocnut, yeah of course. actually i messed with it a little bit:) thats why i needed that. [15:10] that happens to all of us [15:16] coconut, yeah that is definitely the case with all of us. [15:27] i cant apt-get update ubuntu lucid [15:28] 404 [15:30] !lucid [15:30] Ubuntu 10.04 LTS (Lucid Lynx) was the twelfth release of Ubuntu. Desktop support ended May 9 2013. Server support ended on April 30 2015. See https://ubottu.com/y/lucid for more details. [15:31] then i can download packages? [15:31] cant [15:32] Akuw: Lucid has been dead for 7 years (meaning NO updates, in any form) [15:32] ok [15:33] then i have to install 20 and use libreswan, because i need to connect to vpn but instructions talk about openswan [15:33] Akuw: your best bets are: (1) upgrade to a supported version, or (2) *install* a supported version [15:34] !eol | Akuw, see here [15:34] Akuw, see here: End-Of-Life is when security updates and support for an Ubuntu release stop. Make sure to update Ubuntu before it goes EOL so you get updates promptly for newly-discovered security vulnerabilities. See https://help.ubuntu.com/community/EOL and https://wiki.ubuntu.com/Releases for more info. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades [15:34] but openswan is not available anymore right [15:34] IDK, I do not use it [15:34] !info openswan [15:34] Package openswan does not exist in focal [15:41] !info librewan | Akuw [15:41] Akuw: Package librewan does not exist in focal [15:41] !info libreswan | Akuw [15:41] Akuw: libreswan (source: libreswan): Internet Key Exchange daemon. In component universe, is optional. Version 3.29-2build1 (focal), package size 922 kB, installed size 4075 kB [15:41] apt says: "Libreswan has been forked from Openswan 2.6.38, which was forked from [15:41] FreeS/WAN 1.99." [15:42] i have no experience with it though... [15:42] ok, well, i have to use source code [16:19] Any reason for why apt-get does not upgrade packages and had kept back, while apt does upgrade(and new install some) packages? [16:21] coconut: apt... upgrade? full-upgrade? What were the options to apt you used? [16:22] hggdh, just normal upgrade and both without any options [16:23] coconut: apt upgrade will not install *new* packages, it will only update existing ones [16:23] apt full-upgrade will do both (update existing packages, install new ones) [16:24] also apt upgrade will not install a new version of an installed package that requires the removal of another, installed, package [16:24] please see 'man apt-get' for full differences [16:24] hggdh, can you or someone take a look at my paste? -> https://paste.ubuntu.com/p/VykkCh325T/ [16:27] coconut: this is... surprising, for me [16:28] hggdh, might it be caused by an instance of aptitude trying to upgrade? [16:28] (seeing i just tried that too) [16:29] coconut: well, I have not used aptitude for ages. I remember it had some differences on behaviour, but I really do not remember [16:29] hggdh, fair enough, thank you for caring, it's appreciated! [16:31] hello. Is it possible to turn on a wifi hotspot being connected to vpn? I cannot activate it for some reason. [16:32] coconut, see it this helps : https://unix.stackexchange.com/questions/457306/apt-get-upgrade-holds-back-a-kernel-update-what-are-the-official-instructions-f [16:33] coconut, basically APT::Get::Upgrade-Allow-New option enabled by default [16:34] thanks ioria, will read on that link, first a tea [16:34] ok [16:34] Hy guys [16:34] I'm using Ubuntu 20.04 on my Dell 9380 and I was wondering which would be the best memory to install a VM, the internal NVME, and SD-Card or an USB? [16:43] Tarallo, why do you ask? [16:45] Tarallo: the SD and USB are going to be slower than an internal NVME solution, but id depends on your needs [16:45] *it [16:46] oerheks Because I thought that if I would install it in the internal memory it should be faster and perfoming instead of an SD or USB [16:46] .. interesting [16:46] Right, that was my doubt :D [16:46] so i have Xubuntu 20.04 LTS (amd64) and i was thinking of installing the latest kernel.org stable kernel alongside the LTS stock kernel... if i do that and install by compiling and installing the deb packages, would autoremove mark the stock kernel for removal? [16:48] Thanks oerheks, I will install it in the internal NVMe [16:51] hey all! anyone have a guide to upgrading mysql on 20.04 from 5.7 to 8.0? [16:51] I can't seem to get 5.7 to install on 20.04 [16:53] hi guys, how would I go about doing an apt-mark hold of all packages that match a certain name. Like if I want to hold all PHP packages like php, php-cli and the like do I have to do that one by one? [16:54] honestly forgot how horrible mysql is [16:58] v0lksman: Ubuntu 20.04 has mysql-server 8.0 by default. How did you get 5.7 on it to begin with? [16:59] leftyfb: I'm trying to get 5.7 on it so I can import a dataset and then upgrade to 8 [16:59] v0lksman: don't [17:00] thanks for the url ioria, but i think i like to stay default with that apt config about installing new packages too. [17:00] v0lksman: setup an ubuntu 16.04 lxd container and install mysql-server there to do what you need [17:02] then how do you get 8 on 16.04? [17:03] v0lksman: don't. dump your database from 16.04, copy it to your 20.04 and import [17:04] that's how this all started...#mysql is telling me I need to go through upgrade paths [17:05] when I try to import my dump I get https://dpaste.org/0QBn [17:05] v0lksman: that makes no sense since most distro's aren't going to support installing across 3 major released of an application like mysql-server [17:06] v0lksman: https://www.percona.com/blog/2020/01/03/inconsistent-table-information-in-mysql-8-0-information_schema/ [17:06] "The good news, though, is that information_schema_stats_expiry is session-variable so you can easily set it to zero for the applications which need up to date table information!" [17:06] that's what I thought...postgresql does it but they have a repo they maintain and their software will run multiple instances without collision and let you migrate between version [17:08] leftyfb: so when I dump I should just ignore those 2 tables? [17:08] So YouTube keeps having video playback stop while the audio keeps going, making watching certain things basically impossible. I suspect it's an issue with the nvidia driver being trash, but I can't be certain. I just know that even blender will start to lag on a basic scene far ahead of where it should... also CUDA can't see my GPU so yay. [17:09] v0lksman: try it? === benfrancis2 is now known as benfrancis [17:22] hi, i'm trying to do do-release-upgrade but it fails due it not being able to install "ubuntu-minimal" i don't want ubuntu-minimal please help [17:23] KunaPrime, can you paste the output when you try, on paste.ubuntu.com please? [17:23] and did you start originally with ubuntu minimal? [17:24] oerheks: i might start originally on ubuntu-minimal but i can't remember i on my system i don't have unminimize script [17:26] if i want to have two URLs i want to go to one virtualhost [17:28] oerheks: this is what is can see in apt.log : https://paste.ubuntu.com/p/qZDrctM59M/ [17:28] i don't have any package "ubuntu-minimal" installed [17:28] Phruis: in apache it would be server_alias === benfrancis2 is now known as benfrancis [17:32] here si final output from te upgrade process https://paste.ubuntu.com/p/RRQ8Msr5Mb/ [17:33] KunaPrime, might be worth a bugreport.. [17:33] !bug [17:33] If you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs. [17:34] How do you remove netplan and reinstall ifup if netplan issues prevent DNS resolution and installation of ifupdown ? [17:35] ophi: what tutorial have you tried to follow so far? [17:35] Hi guys, I was trying to install the VM on Ubuntu 20.04 but after I started the VM comes out this popup: Failed to connect socket to '/var/run/libvirt/virtlxcd-sock': No such file or directory [17:37] ophi: you could also just ask for help with netplan [17:37] leftyfb: worked after ignoring a few mysql.* tables [17:52] What is a useful resource for a newbie to get started with CLI on Ubuntu? [17:54] leftyfb: OK, how do you get name resolution working on Ubuntu 20.04 using netplan? I created a netplan config file and was able to run netplan apply without error, but the new configuration did not apply. I can ping gateway, but no DNS resolution. [17:55] ophi: pastebin your config [17:55] Can't, internet isn't working. [17:55] ophi: you're on the internet right now [17:55] ophi: rewrite it on this machine and post it to a pastebin service [17:55] using windows [17:55] oerheks: thanks i posted bug report [17:57] ophi: also, you could probably boot into ubuntu and edit /etc/resolv.conf and temporarily get DNS working. Add: nameserver 1.1.1.1 [17:59] leftyfb: that, it did *NOT* work [17:59] https://pastebin.com/18TE9fr6 [18:00] ophi: what did not work? [18:00] leftyfb: getting dhcp lease, no name resolution [18:00] ophi: did you add an entry in /etc/resolv.conf like I said? [18:01] ophi: actually, not add, just make sure it's the only entry for now [18:02] ophi, you shouldn't be getting a dhcp lease since you're specifying a static address in the netplan... [18:02] There are two files in /netplan, the 00-installer one and the one I pasted [18:02] ophi: did you add an entry in /etc/resolv.conf like I said? [18:03] ophi: you should not have 2 files in /etc/netplan/ [18:03] leftyfb: with the 00-installer, I get the aforementioned. Without it, I get no IP addresss [18:03] ophi: did you add an entry in /etc/resolv.conf like I said? [18:04] leftyfb: I tried that before coming here. [18:04] ophi: go back and try making this the only entry in /etc/resolv.conf: nameserver 1.1.1.1 [18:05] ophi: I also want you to test being able to ping 1.1.1.1 [18:06] leftyfb: ls === dtux_ is now known as dtux [18:11] leftyfb: Done. With the default 00-installer script and the resolv.conf pointing to 1.1.1.1, I get a DHCP lease and can ping the gateway and ping 1.1.1.1 returns ;; connection timed out; no servers could be reached [18:12] ophi: if you can't ping 1.1.1.1, then your gateway/router isn't functioning properly or you're pointing to the wrong gateway ip [18:13] ophi: if you're on Windows now, then run "ipconfig" in a command prompt and check out the gateway ip [18:15] ophi: also, in the netplan config you posted above, you forgot to add: dhcp4: false # if you want it to be a static ip. Which you probably don't if your router isn't setup to ignore than ip range for dhcp === benfrancis0 is now known as benfrancis [18:16] ophi: please mv one of those config files from your netplan directory. I would suggest moving your custom config out and keeping the default. Stick with dhcp for now for troubleshooting [18:17] leftyfb: 1.1.1.1 isn't valid on my network. Should I put the correct IP in resolv.conf? [18:17] ophi: 1.1.1.1 is a public DNS server owned by Cloudflare. It is a valid ip address on the internet to be used as DNS [18:18] leftyfb: quite a lot of ISPs are hilarious and broke routing to it [18:18] ophi: as I mentioned before, if you can't ping 1.1.1.1, then you have problems beyond DNS [18:18] ophi: ok, then try to ping 8.8.8.8 or 75.75.75.75 or 91.189.88.181 [18:19] ophi: if you can't ping any of those, then you more than likely have other issues going on beyond DNS [18:19] leftyfb: that's what I have, the default netplan file and the custom resolv.conf file with nameserver 1.1.1.1 [18:20] ophi: are you booted to ubuntu now? === benfrancis9 is now known as benfrancis [18:24] leftyfb: it just started working. I read an article that said the resolv.conf change can take minutes to take effect. [18:24] ophi: the edit of the resolv.conf is only temporary. It also doesn't explain not being able to ping 1.1.1.1 [18:25] leftyfb: I woudl prefer to disable netplan. netplan and network manager are not great IMHO. [18:26] ophi: your issues are not related to netplan. Also, if you're running network manager(Desktop) then you should not be editing netplan or ifupdown at all [18:26] leftyfb: if you can ping 8.8.8.8 and 9.9.9.9 but not 1.1.1.1 it's probably not worth much time trying to troublehsoot it -- just report it to your ISP and remind them how bad their network is [18:27] or leave [18:27] sarnold: they have yet to confirm they can ping any other ip's. Or half of what I have asked or suggested. [18:28] leftyfb: ah. then it's probably not worth any more time at all :) [18:28] leftyfb: well, at least now I was able to install ifupdown, which is half way to jettisoning netplan [18:29] leftyfb: The ping thing is internal network security. [18:29] ophi: ok, good luck === benfrancis2 is now known as benfrancis [18:29] Thanks! [18:36] when doing apt-get upgrade, I see this message: "The following packages have been kept back: linux-generic linux-headers-generic linux-image-generic netplan.io" what can I do to only upgrade netplan.io safely [18:37] ironpillow: sudo apt install netplan.io [18:37] or to get new netplan.io do I have to upgrade all those linux-* as well? [18:38] leftyfb: will that mark netplan as manually installed? [18:38] ironpillow: no [18:39] got it [18:41] ironpillow, your apt-get upgrade problem is someting like this? -> https://paste.ubuntu.com/p/VykkCh325T/ [18:43] coconut: no matter how many times.I run upgrade the get the same "kept back" message along with this: 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. [18:44] ironpillow: that is normal [18:44] ironpillow: if you want to upgrade the packages that are held back, run: sudo apt full-upgrade [18:45] it's better to suggest "apt upgrade" instead, it won't uninstall packages to satisfy the dependency solver [18:47] so should I do apt upgrade or apt install. I don't want to upgrade linux-*. I want to keep those. [18:48] ironpillow: apt install netplan.io then [18:50] sarnold, that's why apt full-upgrade is only for optional cases. [18:52] ah...i see. [18:53] so when I did apt install netplan yesterday, it broken netplan completely. All the interfaces stopped working - they were down and I had to manually up them. But they were down after reboot. [18:53] 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux [19:07] looks like apt install netplan.io worked! When I did apt install netplan yesterday it broke. [19:07] thanks coconut and leftyfb! [19:07] and sarnold :) === benfrancis6 is now known as benfrancis [19:12] Plan is a schedule planner based on X/Motif. [19:12] ironpillow: ^^ that netplan? kinda looks like this? https://www.bitrot.de/pictures/plan-disp.jpg [19:17] anyone know how to prevent people trying to url inject your site? [19:20] sarnold: really?! :) [19:20] wow didn't know [19:21] ironpillow: yeah :) I have to wonder if the name collision was known beforehand or not, hehe [19:21] Rob_Jones: url inject? [19:21] getting errors like this on my web server [19:21] 195.54.160.135 - - [25/Jun/2020:09:51:04 +0000] "GET /?a=fetch&content=die(@md5(HelloThinkCMF)) HTTP/1.1" 200 3343 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Ge [19:21] log lines* [19:23] isnt php like this [19:23] seems like a rookie messing with you or something? i dunno [19:23] Rob_Jones: I've heard mod_security can offer some protection against that [19:23] I hope that is fixed because it completely rendered my network useless [19:24] EriC^^: usually a few hundred of things like this are stuffed in a 'scanning script' that's just run on every website on the internet === petrvelicka is now known as petrvel [19:24] sarnold: odd, does even work or used to as some point? [19:25] EriC^^: there's *so many* terrible websites out there, I bet it works somewhere [19:25] is there a tool to make a list of installed packages, snaps, flatpaks for install later? [19:25] Rob_Jones: In My Humble Opinion you should focus on making sure that your web services don't have bugs in validation that lead them to be vulnerable to such attacks, rather than worrying about "stopping" bots from trying various known vulnerabilities. [19:25] it doesnt [19:26] apparently its a wordpress vulnerability with earlier versions - https://topherpedersen.blog/2020/02/03/afetchcontentdiemd5hellothinkcmf/ [19:26] kinghat: dpkg --get-selections | dpkg --set-selections [19:26] kinghat: no idea on snaps, flatpak [19:27] Rob_Jones: Then the worst those bots are doing is cluttering your logs. You can setup fail2ban to ban based on apache logs, but don't spend more time on that than auditing your own code and making sure that you're keeping all packages (and dependencies of your web services that might not be installed via apt) up to date with security updates. [19:27] sarnold: dpkg: error: operation requires read/write access to dpkg status area [19:28] kinghat: the --set-selections does require root privs, you're telling it what packages you want to be installed.. [19:28] Rob_Jones: ah interesting, thanks [19:40] I need help enabling rebuilding Mysql packages with debugging support. Debugging is disabled by default in Ubuntu. I know I need to pass WITH_DEBUG to cmake, according to the Mysql instructions. However, I can't find any documentation on how I would do that. I have done the following: apt-get source, apt-get build-dep, dpkg-source . I can also successfully build the unaltered source using: dpkg-buildpackage -rfakeroot -b . [19:40] So in 5.7rc3 they fixed a mapping error for HyperX Cloud Flight S headsets https://lkml.org/lkml/2020/4/4/197. I have this kernel and although alsamixer now can load the headset, pavucontrol does not see the mic... I have run out of forum ideas does anyone know what i could try? === Fuchs is now known as staffox === staffox is now known as Fuchs [19:51] milantha: probably start with editing the debian/rules file [19:55] sarnold: Thank you for the pointer. I'll try some things there. [19:57] hi all, not sure if this is the right group to ask, I have a hdd that I removed from an old tower running Ubuntu 18.04. I currently only have access to a Win tower, which I added the hdd to with a cradle, but this is not coming up as a drive [19:57] However if I go to disk manager I can see it, is there any way I can get access to the files? I want to reinstall Ubuntu but I need to get some data from the hdd first [20:05] mboard: I have used DiskInternals Linux Reader previously. You can't see the files because it is likely formatted to a filesystem that Windows cannot understand (ext2, ext3, ext4, etc.) [20:07] milantha yes seems so, I will check this app, thank you very much [20:09] milantha, this is perfect. Thank you very very much. You just saved me from a nervous breakdown lol :D [20:09] mboard: I've been there. Glad it works for you. [20:11] milantha, I am seeing the files, do you know if it is possible to actually copy files across? I am not able to do so even though I can see the files and folders === kostkon_ is now known as kostkon [20:14] mboard: If I remember correctly, you have to mark the files, and then you "download" them to a location on your device. You can't use typical file explorer tools to do so. [20:14] milantha, ah ok, no problem. Found it. Was just trying to drag them across. Thank you once again :) === shr3ds is now known as shreds [21:05] is there a way to boot from lvm snapshot? [21:15] I just want to say ubuntu 20.04 lts rocks. IMHO most stable, less buggy release ever. Great job! [21:22] Yeah, it rules ! [21:23] agreed [21:23] works flawlessly on my netbook. kudos [21:38] is there a way to get into a snap and update a package inside it? the mesa version shipped with the cloudcompare snap doesn't work properly with my graphics card [21:39] tpw_rules: That's the downside to snaps. They're intended to be black boxes. [21:40] unfortunately the alternative is to compile it myself [21:41] so is the answer "no"? [21:41] hopefully they published the snapcrafy.yaml so you could amend it yourself [21:42] tpw_rules: https://www.cloudcompare.org/release/ notes "beta" and "edge" channels. Might be worth seeing if those are new enough. [21:42] they're all the same version. the latest release was only a few days ago so there's no new changes yet [21:50] tpw_rules, contact the maintainer? [21:50] Daniel Girardeau-Montaut [21:51] this doesn't fix the problem now [21:51] he's the cloudcompare maintainer, a separate person (whose contact information i am looking for) maintains the snap [21:53] i think not? http://www.danielgm.net/cc/release/ [21:53] "Now thanks to Alberto Mardegan (and Romain Janvier), there is a "universal" snap package for Linux." [21:53] that page says " Alberto Mardegan (and Romain Janvier)" maintain the snap [21:53] yes [21:54] that's what i said [21:54] so, the developer is Daniel [21:54] whatever, we cannot ediot the snap for you. [21:54] which is why i asked if i can edit it myself === dtomato4 is now known as dtomato === krodelabestiole1 is now known as krodelabestiole [22:43] hello, so I use (Mullvad) VPN and I just do "sudo openvpn config.conf", normally this lets me not only have the VPN endpoint IP but also sets the nameservers to that of the VPN. However... I was in a cafe once and I connected to my VPN that way, but now my nameservers were changed to something else. I also noticed that my /etc/resolv.conf looked like this: https://paste.debian.net/plain/1153910 [22:43] (notice the line which says "search thecafe") [22:44] Mullvad support suggested that this might be systemd-resolvd working against my preferred configuration, would that be plausible? [22:45] And if so, how would I tell systemd-resolvd to always assume the DNS servers of my VPN provider? [22:46] Obviously this is a big issue... my DNS looked to be MITM'd and I couldn't connect to some sites over https since those servers seemed to serve me a different certificate. [22:50] ForeverNoob[m], just millvad vpn, without wireguard? [22:51] i would choose this tutorial https://mullvad.net/en/help/easy-wireguard-mullvad-setup-linux/ [22:51] yeah just using openvpn via tcp [22:52] would WG work well on Ubuntu 18.04? I thought it was only integrated in kernel from 20.04 [22:52] integrated in kernel 5.6 indeed, but this mod is the same. [22:52] 18.04 + HWE is preferrable [22:52] !hwe [22:53] The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack [22:58] well after a few months i was able to answer my own question: https://askubuntu.com/questions/1219914/alsamixer-usb-headphone-mic-combo-cannot-control-mic/1253852#1253852 [23:00] What i find odd is that the patch in 5.7rc3 does not even address the hardware id of the headset i have and yet it does fix it, which confuses me as to why they are still explicitly stating this headset and adding it to 5.8rc3 [23:00] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/sound/usb/quirks.c?id=a4d3712b510534ef2ab5b15429aa94283c233a31 [23:01] hmm on my 18.04 this Bluez package is the culprit, installed the ppa and vrooommmm [23:23] tfw you finally realize why Blender can't see your GPU as a CUDA GPU... ((The toolkit got dropped when upgrading from 18 to 20)) [23:33] What's the best way to replace the GnuPG on my Ubuntu installation with the current master branch? Because it's added to the Ubuntu installation, is there a specific way to remove that package before building? I have 2.2.12 but I would like 2.2.18 [23:36] jayjo: probably by grabbing the source and building it locally & installing at /usr/local/. It may, or may not, work. You will have to read the docs [23:41] 2.2.20 https://launchpad.net/ubuntu/groovy/+source/gnupg2 [23:41] hggdh: do I need to first remove the preinstalled version? [23:42] 2.2.19 focal LTS https://launchpad.net/ubuntu/focal/+source/gnupg2 [23:45] gnupg2 is already the newest version (2.2.12-1ubuntu3) [23:46] jayjo: do-release-upgrade ? eoan support ends in a month anyway [23:49] ok, good point [23:52] anyone know what to do when ubuntu doesn't detect your soundcard? [23:52] tried reinstalling asla/pulseaudio and deleting the config files, nothing [23:53] and confirmed the hardware is working fine with a usb bootable [23:53] all that pops up is "dummy output" [23:58] databoose: you might get better help if you could prove your system does not detect a soundcard. [23:58] I'm gonna guess that's not even the case and the issue is something else. [23:58] (beware of the XY problem) [23:59] well there's nothing in the hardwaretab of the sound preferences gui [23:59] and when i try sudo alsa force-reload it responds with the following: [23:59] Unloading ALSA sound driver modules: (none loaded). Loading ALSA sound driver modules: (none to reload).