[00:25] is there any artifact that show on bash variable that show that this is focal release? [00:27] $ echo $UBUNTU_RELEASE [00:27] focal [00:27] chieta: lsb_release -a [00:28] lsb_release -sc to be exact [00:30] thanks razorback... just thinking for more filter on this $lsb_release -a | grep Codename: [00:30] lsb_release -sc just prints you exactly "focal", just as you wanted [00:31] you can put the output of bash commands into variables like that: release=$(lsb_release -sc) [00:32] I'm on xubuntu 20.04, and I'm trying to install the package 'lightyears' from bionic, but I can't seem to either pull a .deb from ubuntu's website, or figure out the apt line to add the appropriate repo into synaptic [00:33] I did fine the package's page, and it's list of depends [00:33] *find [00:36] StupidLikeAFox: open /etc/apt/sources.list and uncomment the lines with "universe" [00:36] if that's what you mean, you need to "apt update" afterwards [00:43] thanks razorback, it works [00:44] hello, anyone know how to run a sysv script on systemd? [00:45] or even an upstart script on systemd [00:45] razorback: No dice, but lemme go ahead and apply all the changes I have in synaptic first [00:46] and I'll try from apt === CamBan69_ is now known as CamBan69 === PowerTower_121 is now known as PowerTower_120 [01:06] razorback: nope, didn't work [01:06] 'no installation candidate' [01:08] StupidLikeAFox: what does "apt-cache search lightyears" show? [01:09] it didn't produce any output [01:11] And what does "apt-cache policy" say? [01:15] razorback: https://pastebin.com/qFc90mbg [01:17] CrazyLikeAFox: ah, yes, it's not available for focal [01:19] CrazyLikeAFox: maybe you can try http://us.archive.ubuntu.com/ubuntu/pool/universe/l/lightyears/lightyears_1.4-2_all.deb [01:26] Hey so how do I get audio playing through my speakers to not play through my discord mic? I'm playing some Youtube videos and the audio plays through my Discord microphone during calls. [01:27] razorback: Thank you much :D [01:28] Installed that, did a fix-broken, and it's good to go [01:28] StupidLikeAFox: nice. I didn't know if it would work but I'm glad I was able to help [01:28] Adalogic: many of these kinds of things can be solved by running pavucontrol [01:29] what is the latest model Macbook that will run Ubuntu? (I know that there is not currently support for T2.) [01:29] Alright! I'll try that out right now. [01:34] I'm getting notice that updates & security updates are available but I just ran 'apt-get update && apt-get upgrade' [01:35] I forgot what to do in this case... [01:35] robertparkerx, are there any with `sudo apt-get dist-upgrade` (upgrade has limits on what it can upgrade; refer `man apt-get` for details [01:35] robertparkerx: I think that can also come from firmware updates, try fwupdmgr upgrade ? [01:41] 'apt-get dist-upgrade' did it [01:41] ty [01:41] hi, my brave browser can't update anymore, the message: "brave-browser is already the newest version (1.3.115)." stay the same for months. [01:46] https://community.brave.com/c/faq/release-notes/98 -- oww, feels like you're a year behind [02:02] sarnold, yes , that is an installation instruction{. not deb files to download. [02:02] I've tried that for many times. [02:11] does anyone know if i could get systemd to execute a command outside the user folder (bypass permissions) [02:13] Ubun00by: run the service file as root or another user with permissions. Other than that, no, that would be a security flaw [02:13] Ubun00by: WorkingDirectory= in systemd.exec(5) perhaps? what are you trying to do? [02:13] i am running it as root [02:13] Ubun00by: then you can stick the program it's calling anywhere you like [02:13] run virtual machine that is on another drive [02:14] command needs to be called in folder with VM [02:14] Ubun00by: VM? [02:14] virtual machine [02:14] Ubun00by: ok? [02:14] which is on a seperate drive from the root [02:15] Ubun00by: and you want the VM to be able to access a file on drive/partition not mounted in the VM? [02:15] no [02:15] i just want the host machine to start the VM, via system d script [02:15] Ubun00by: ok? [02:15] really simple [02:15] but i keep getting permission denied [02:15] Ubun00by: what is the issue then? [02:15] Ubun00by: please pastebin what you have so far and the error messages [02:16] blueingress: install brave from snap. That is up to date [02:16] please excuse me, it is my first time writing a systemd script [02:16] blueingress: it's all a package we can support [02:16] [Unit] [02:16] Description=VM ubuntu2004 [02:16] [Service] [02:16] Type=forking [02:16] RestartSec=15 [02:16] !paste | Ubun00by [02:16] Ubun00by: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [02:17] Ubun00by: you have been set to quiet by the bots here. You cannot paste multi-line outputs to the channel. Use pastebin as I asked and as directed by ubottu above. Wait just a few moments for the quiet flag to be removed [02:19] https://paste.ubuntu.com/p/gJp6JgXjHV/ [02:20] Ubun00by: you have an executable called "KVM" in /media/data/ ? [02:20] Ubun00by: pastebin the namei -l /media/data/KVM output? [02:20] Ubun00by: ls -l /media/data/KVM [02:21] that is just a directory [02:21] aha, you can't execute directories [02:21] Ubun00by: ok, so why do you have a space between KVM and vagrant? [02:21] what are you trying to execute? === vds_ is now known as vds === halvors1 is now known as halvors === philroche_ is now known as philroche === Mekely_ is now known as Mekely === slanck_ is now known as slanck === nicolasbock_ is now known as nicolasbock [02:21] sarnold: I'm going to assume vagrant [02:21] leftyfb, hm... thanks I will try... [02:21] vagrant up ubuntu2004 is the command [02:22] i see so I need to write an executable instead? [02:22] Ubun00by: why do you have /media/data in there at all? [02:22] more directories [02:22] it's a samba shared drive [02:23] Ubun00by: for what? The ExecStart line is to run a command [02:23] Ubun00by: ok, how about this .... how do you normally start the VM from the command line? [02:23] yes that's what I'm trying to do. Go to directory /media/data/KVM and run the VM [02:23] aha! [02:23] WorkingDirectory= [02:24] ohhh i think that makes sense now sarnold [02:24] Ubun00by: https://pastebin.ubuntu.com/p/hpvwndBHTf/ [02:25] Ubun00by: also, I would call the full path of vagrant [02:25] leftyfb: nice [02:26] Ubun00by: https://pastebin.ubuntu.com/p/x2M6gVRmtk/ [02:28] but vagrant up/vagrant halt is the command [02:28] Ubun00by: yes, that's all in there [02:28] /usr/bin/vagrant up [02:28] is the same as "vagrant up" [02:28] shouldn't there be a space before vagrant? [02:29] no, /usr/bin/vagrant is the full path to the vagrant binary [02:30] Ubun00by: https://linuxhint.com/path_in_bash/ [02:31] thank you leftyfb, i will read that and troubleshoot [02:31] it's just telling me exit code now [02:32] run-ubuntu2004-vm.service: Failed with result 'exit-code' [02:32] Ubun00by: journalctl -u run-ubuntu2004-vm.service [02:34] Ubun00by: can I ask why you are making a service just to start the VM? [02:34] leftyfb, how can I start it from command line? tahnks [02:35] so that this VM is always running whenever the host is rebooted up [02:35] Ubun00by: vagrant up "ubuntu2004 [02:35] run-ubuntu2004-vm.service: Failed at step EXEC spawning /media/data/KVM: Permission denied [02:35] Ubun00by: config.vm.define "ubuntu2004", autostart: true [02:36] Ubun00by: you can configure your VM's to autoboot [02:36] blueingress: start what? brave? [02:41] leftyfb: I thought autostart was just for controlling the general vagrant up command to have specific VMs not start with just "vagrant up" [02:41] Ubun00by: https://www.vagrantup.com/docs/multi-machine [02:41] leftyfb, yes. from command line [02:41] Ubun00by: please read the docuentation [02:42] yes i reviewed that [02:42] blueingress: did you try typing: brave [02:43] Ubun00by: ok, and doesn't vagrant start on boot for you? [02:43] leftyfb: correct [02:43] leftyfb, greate ..:-) [02:43] leftyfb: i need a way to automatically vagrant up that folder [02:44] Ubun00by: ok, then if vagrant starts on boot, then the VM's should come up as well as long as they are set to true for autostart [02:44] Ubun00by: please pastebin your service file [02:46] https://pastebin.ubuntu.com/p/w3QZDDDMJG/ [02:46] still gives me the same permission error [02:47] leftyfb: run-ubuntu2004-vm.service: Failed at step EXEC spawning /media/data/KVM: Permission denied [02:48] Ubun00by: just to be clear, did you run systemctl daemon-reload after making these changes? [02:48] yes [02:48] is that a mount point? is the noexec option set on it? [02:48] because the error message sure looks like you're still trying to execute the directory [02:49] it is a mount point! i think that's what i need to fix, yes [02:49] sarnold: every time i change the file i reload the daemon, start and then journal [02:50] Ubun00by: try systemd-analyze /etc/systemd/system/run-ubuntu2004-vm.service ? [02:50] Ubun00by: please remove the +'s [02:50] wait.... [02:50] Ubun00by: where does this service file live and how did you enable it? [02:51] exists in /etc/systemd/system [02:51] why does "apt remove --purge mysql-server" leave old user credentials in /var/lib/mysql ? [02:51] i very specifically said --purge [02:52] but.. it didn't purge the useraccounts of the mysql server [02:52] hansh: maybe because the user credentials created there were not part of the package to begin with? [02:53] Ubun00by: what command did you use to enable the service? [02:53] leftyfb: i do systemctl daemon-reload, then systemctl start file.service [02:53] leftyfb, incorrect, it doesn't purge the "root account", and the root account is there to begin with. [02:53] Ubun00by: what command did you use to *enable* the service? [02:53] leftyfb, (good guess though) [02:53] leftyfb: systemctl enable file.service [02:53] Ubun00by: did you run that as root or use sudo? [02:54] leftyfb: root [02:54] Ubun00by: you are logged in as root? [02:54] leftyfb: yeah [02:54] anyway i need to figure out how to ACTUALLY purge the root account, as the password is lost [02:55] iirc i can do some `sudo service mysqld stop; mysqld --skip-grant-table` thing tho [02:56] xamua: my folder is marked noexec [02:56] ... [02:56] hansh: http://paste.ubuntu.com/p/9Zj3nSnrVp/ [02:56] hansh: it looks like it's configurable via debconf if the databases will be removed [02:57] Ubun00by: can you run this from the commandline?: /usr/bin/vagrant up ubuntu2004 [02:57] Ubun00by: as root [02:57] leftyfb: doesn't work. i need to be in the directory of the vagrantfile [02:59] Ubun00by: and if you are in that directory? [02:59] leftyfb: i just type: vagrant up ubuntu2004 [02:59] Ubun00by: and if you are in that directory, can you please run: /usr/bin/vagrant up ubuntu2004 === de-facto_ is now known as de-facto [03:00] leftyfb: sorry, yes that works [03:04] Ubun00by: you know what I would do? Create the service file to start vagrant as opposed to the individual VM's [03:04] Ubun00by: you want it started regardless [03:05] leftyfb: i don't think that's how vagrant works. it's basically KVM always running [03:07] leftyfb: it's just a command line utilty not sure how to explain [03:07] leftyfb: libvirt is the actual thing that runs [03:08] leftyfb: vagrant just automates the provisioning for me [03:08] Ubun00by: https://www.cyberciti.biz/faq/rhel-centos-linux-kvm-virtualization-start-virtual-machine-guest/ [03:18] leftyfb: thank you soo much, i think i was really overcomplicating it! i will just write a script to execute a virsh shutdown instead, since that will not be dependent on any directory [03:19] leftyfb: i have been heavily reliant on the automated vagrant tool that I oversaw the main qemu operations === guiverc2 is now known as guiverc [03:37] leftyfb: ahhh the libvirt commands to start the VM don't work, since it's provisioned via vagrant. I wrote a script with the virsh commands and they can only show status and shutdown a VM [03:38] leftyfb: error: Requested operation is not valid: network 'vagrant-libvirt' is not active [03:39] error: autostart doesn't work so i guess i have to go back to figuring out a vagrant script again lol [04:34] leftyfb: are you still available? [04:36] leftyfb: i am using the script you pastebinned me and it is active but not doing anything for some reason.. === DArqueBish0p is now known as DArqueBishop === jose- is now known as jose [05:40] hi [05:40] sara2010, install gentoo [05:40] hi [05:41] Vatum, okay its not possible scanner will work on ubuntu [05:42] lmao [05:44] I just built myself a new computer (installed 20.04) and want to check if my video card is running with optimal drivers. The card is an NVIDIA Geforce GT 730. Can anyone help walk me through how to do this? [05:44] Vatum . [05:46] Vatum, what scanner do you have? [05:47] Vatum. Canoscan LIDE 300 [05:48] sara2010, https://askubuntu.com/questions/1107632/install-canon-lide-300-400-on-ubuntu-18-04 [05:49] Vatum i did this . but scanner is not detecting [05:50] does it say some error? [05:50] when you run sane software from terminal? [05:51] there is no scanner found [05:51] https://pastebin.ubuntu.com/p/wbJJwwPKDQ/ [05:52] see this , [05:52] https://pastebin.ubuntu.com/p/MVjqMwZpnv/ [05:52] 2909.349269] usb 2-1.6: USB disconnect, device number 102 [05:56] sara2010, you need to use a PPA repository to get the latest release of sane, this has the support you want [05:56] https://askubuntu.com/questions/1218905/how-to-install-canoscan-lide-400-scanner-on-ubuntu-18-04-4-lts [05:57] sudo add-apt-repository ppa:rolfbensch/sane-release ; [05:57] install sane-utils also [06:02] sane-utils is already the newest version (1.0.27-1~experimental3ubuntu2.4). [06:03] -Vatum:#ubuntu- someone help the girl plz [06:03] Vatum . you can help as well [06:04] from pakistan? [06:04] something smells fishy [06:05] Disconsented . no smells .. fesh morning [06:32] Vatum , u there . [06:32] iĀ  m waiting [06:39] any one help me [06:42] hi sara2010. first of all, i should point out that Canon support for Linux is not good, so buying a device form a manufacturer which provides Linux support would help. [06:43] I'm trying to install the unifi controller on my machine, but I get "the following packages have unmet dependencies": https://bpa.st/AKZKK on mongo. Can I install these manually, or does that mean the package is broken? [06:43] sara2010: your paste to https://pastebin.ubuntu.com/p/MVjqMwZpnv/ suggests that the scanner connected, but identification failed the first time it was enumerated. the second time, it seemed to succeed, but then the device disconnected. this may be due to several reasons, including usb power issues. [06:44] jayjo: your ubuntu release is? [06:44] hey how do i obtain xf86-video-intel driver on ubuntu 2004 lts [06:44] Error: Ubuntu bug 2004 could not be found [06:45] 20.10 [06:45] hey how do i obtain xf86-video-intel driver on ubuntu 20.04 lts [06:45] !universe | jayjo [06:45] jayjo: The packages in Ubuntu are divided into several sections. More information at https://help.ubuntu.com/community/Repositories - See https://wiki.ubuntu.com/RecommendedSources for the recommended way to set up your repositories. [06:45] jayjo: you're probably missing the 'universe' repository, which provides mongodb packages [06:46] I ran 'sudo add-apt-repository universe' and still get that error [06:46] tomreyn, so how i fix this issue [06:47] sara2010: so this needs to be further analyzed and solved before you can address the driver support. driver support is discussed at the askubuntu post previously mentioned here: https://askubuntu.com/questions/1107632/install-canon-lide-300-400-on-ubuntu-18-04 [06:49] sara2010: for the issue of the decvice disconnecting, you can removing any usb devices you don't strictly require, and move those you require to a different usb bus (i.e. make them show up with different bus IDs in the output you posted, "usb 2-1.6" is a usb bus id + port) [06:50] sara2010: you can also try conecting the scanner itself to a different usb bus while reducing the number of other USB connected devices [06:51] sara2010: to further debug the device enumeration issues, you can use the "udevadm monitor" command, running it before you connect the scanner [06:53] sara2010: USB device enumeration is done by the Linux kernel (and udev). you can try a different kernel version, such as the !hwe oder hwe-edge kernel series or !mainline kernel builds to do some cross testing. [06:53] tomreyn okay [06:54] INTELGENERATOR: it will already be installed, just the package name differs. what'S the problem you are trying to solve? [06:54] INTELGENERATOR: apt search xserver-xorg-video-intel [07:04] hello [07:05] we teach on ubuntu virtual machine the skills of programming GTK graphical frontend, maybe you wanna learn on course online to dev for ubuntu. [07:23] User funmade is spamming your visitors with invites to their discord [07:30] hmmm [07:30] still issue not solve :( [07:48] hello could someone help me with a systemd script please? [07:50] i'm having weird issue, after few re-provisionings of machine without issues `apt update` started taking ~10 minutes per run advancing the "Reading package lists..." roghy 1% per 10 seconds [07:50] any idea whats going on and how to fix? [07:51] drag0nius: what is the memory usage? perhaps increase and/implement memory swap [08:03] drag0nius: "WARNING: apt does not have a stable CLI interface. Use with caution in scripts." [08:04] drag0nius: could be hardware problems, see dmesg / journalctl -k [08:05] drag0nius: see manpage https://manpages.debian.org/buster/apt/apt.8.en.html section scripts === David3k__ is now known as David3k [08:09] hmmm [08:10] any news for me [08:21] Ā [ Error writing /sys/bus/usb/devices/usbpower: Permission denied ] [08:21] root@wa-1:~# sudo nano /sys/bus/usb/devices/usbpower [08:22] any one help me [08:25] sara2010: you need to enable volunteers to help by explaining what you're doing, why, in which environment, what the expected outcome was, and what happened instead. [08:25] so far you provided an error message, and a command, which may have triggered this error message. but there's no context. [08:33] tomreyn , i m create new bash script file , but it sys permission error [08:33] tomreyn in ubuntu 18.04 [08:33] somebdy, are you maybe using gtk devel to make softwares? [08:36] tomreyn: how do you run it? [08:36] can you show ls -al [08:44] sara2010, you can't create files in /sys. See https://www.reddit.com/r/linux4noobs/comments/26fnd9/sys_permission_denied/ [08:47] What is a good desktop recorder if you have a multi-monitor setup [08:49] hi folks [08:49] i'm on a metered connection. How do i prevent snapd from sucking my data as soon as i connect my PC? https://imgur.com/a/y0hZDi2 [08:56] pa: https://askubuntu.com/questions/1045542/how-to-stop-snapd-from-auto-updating [08:57] er [08:57] EriC^^, thanks! im on plasma, i cannot find that app.. what can i use? [08:58] pa: try to use the systemctl command to mask the service so it doesnt start anymore [08:58] it's further down in the answer iirc [08:58] right, thanks [09:00] pa: for plasma it might be "startup & shutdown - Autostart" for the startup apps gui [09:00] *-> autostart [09:01] no problem [09:01] ah right, found it, but i think it's not , in there i see only 2 entries "Desktop file" and "Script file" [09:01] ah [09:01] but i went the other way, so thanks for that :-) [09:01] alright, no problem :) === EriC^ is now known as EriC^^ === denningsrogue1 is now known as denningsrogue [09:36] Ubun00by tuxinator there is 4.5GB out of 16GB memory used, 100% CPU, the machine is a VirtualBox/Vagrant derivative of ubuntu/focal64 running on WIndows 10 [09:37] there is nothing whatsoever in journal or dmesg [09:37] it just takes terribly long time AFTER downloading new repo list spent in high-cpu operations [09:41] FYI: this is about apt/apt-get update proceeding in the magnitude of 1% list read per 10-20 secons [09:44] "derivative" [09:44] Firefox with around 30 tabs gets slow apparently because of bad memory handling. I have to use killall to close it. After that, FF starts in a 1/3 size window of whole desktop, window flickers and FF is unresponsive. 2 to 3 restarts of FF resolves the problem. Anyone else experiencing the same? [09:45] !derivatives | drag0nius: if, by "derivative", you referred to a ubuntu-lookalike installation [09:45] drag0nius: if, by "derivative", you referred to a ubuntu-lookalike installation: The Ubuntu channels can only provide support for Ubuntu and its official flavors, since other distributions and derivatives have repository and software changes. So please use their dedicated support venues, for example: Linux Mint (#linuxmint-help on irc.spotchat.org), Kali Linux (#kali-linux), and LXLE (#lxle) [09:48] elias_a: generally, in my experience, both Firefox and Chromium / Chrome don't do well when it comes to out of memory situations and Linux swapping memory out to disk. This said, given sufficient physical memory, the number of open tabs should not matter much unless you have problematic browser extensions. [09:50] you can restart firefox with add-ons disabled from the help menu or using firefox --safe-mode but beware that this could cause your previous session (and potentially open tabs) to be lost. [09:51] i mean like i took the base box, then provisioned it with my configration installing ~50 packages, few snaps and configured the services running in it [09:51] drag0nius: so it's based on a golden image? [09:52] if so, how was that produced? [09:52] i've multi-stage packer setup running simple python scripts (run apt, write config files, restart services etc.) [09:53] my main question is: did you initially install ubuntu, and how? [09:53] then i worked on re-running all the provisioning stages (eg. after an update) on the final image and i noticed apt-get update got bogged down after a few tries [09:54] it's https://app.vagrantup.com/ubuntu/boxes/focal64 except i granted it 16 GB of RAM and 100% of 4 CPU cores [09:54] basically each of 4 stages runs apt-get update then apt-get install [09:56] so, based on the text onn this web page, this image seems to be somehow based on one of the official cloud images hosted at https://cloud-images.ubuntu.com [09:57] hi [09:57] I have noticed my USB3 port operates in USB2 mode (45MB/s max data transfer) [09:57] do I need to install something? [10:00] drag0nius: So at least the base image you used seems to be one we can support here. Please note that ensuring you're working with proper, safe, original images is really your job to make yourself aware of if you're using images provided by someone somewhere that is not, on first sight, Canonical / Ubuntu. Now, did you make changes to the apt configuration? Which mirror servers are you using? Can you share a debug (Acquire::http/https) output of [10:00] the apt actions you perform? [10:02] i've definitely added the Docker repository and that's it for modifying apt configuration [10:02] how do i get that debug output? [10:03] drag0nius: and the apt signing key, too? [10:03] yeah [10:04] -o Debug::Acquire::http=1 -o Debug::Acquire::https=1 [10:08] elektrinis: tell us about your ubuntu release ( lsb_release -ds ), kernel version and command line ( cat /proc/{version,cmdline} ), using https://paste.ubuntu.com (see /topic and type !paste here). try unplugging all usb devices you don't strictly require, reboot, see whether it's still USB2 only. Also tell us how you tell, share logs as needed. And try a different kernel version, such as !hwe or hwe-edge, or even !mainline [10:09] tomreyn: https://gist.github.com/bec-zt8/38b613595f48c95e5f78f5a15c08d43d nothing unusual in here [10:09] elektrinis: this can also be a matter of your mainboard firmware configuration ("BIOS"), or a bug therein (firmware upgrades *can* help) [10:10] except it's on 22% after ~2 minutes before i typed in gist url :P [10:10] tomreyn thanks, will try. [10:10] !biosupdate | elektrinis suggested by tomreyn [10:10] elektrinis suggested by tomreyn: To see how to update your bios on Ubuntu visit the community collected methods here: https://help.ubuntu.com/community/BIOSUpdate [10:11] drag0nius: ah, so the download stage isn't the problem but it gets stuck during reading the package list? [10:12] yeah [10:12] actually had a command typo (https and httpss) but that doesn't matter [10:13] parsing/reading/whatever the list takes painfully long [10:14] drag0nius: so the output is the same with "http{,s}" ? can you try this without a http proxy, just to be sure that's not the cause (it often is)? [10:15] tomreyn well now I get USB3 speeds. Not sure what was wrong. Thanks anyway. [10:15] nope, i'm behind corporate proxy [10:19] i've actually updated the git at rev 2 [10:19] elektrinis: a bad usb device, or just insufficient power to properly power all attached devices could cause this. [10:20] maybe. [10:21] or maybe it was USBA->USBC adapter, which, now I think, does not have the lanes. [10:22] apt-get upgrade has exactly the same issue [10:22] drag0nius: there's debugging code for this, too, see apt.conf(5) [10:22] `apt list --installed` takes forever too i guess [10:23] maybe the storage is just slow? [10:23] everything else seems to work fine [10:23] anything in dmesg? [10:24] system date wrong? [10:24] date is fine [10:24] only dockerd messages in dmesg [10:25] maybe i could do something to reset the apt storage? [10:25] ~$ sudo udisks --detach /dev/sda [10:25] sudo: udisks: command not found [10:25] am I doing something wrong? [10:25] udisks seems to be installed [10:26] drag0nius: you can rm -r /var/lib/apt/lists/ [10:26] tried that before i think, doing it again [10:27] elektrinis: just because a package of name 'somepackage' is installed, doesn't mean there will be a command 'somepackage'. use udiskctl [10:27] maybe there is something i could run to benchmark storage? [10:28] found the command on some guides online [10:28] but ok. [10:31] i didn't notice anything else having issues (i'm developing in IntelliJ, running stuff in docker container etc.) [10:32] drag0nius: fio or bonnie++ for storage benchmarking. if you are doing this commercially (you seemto), then i recommend dedicating more time on the ops part of your devops career for a while. [10:43] I'm hitting some keyboard input bugs. Is IBus something Ubuntu uses, and something I can disable to hopefully simplify the architecture to see if I can get around the bug? [10:45] Language Support -> Keyboard input method system -> IBus/XIM/none - Got it! [10:57] join #c# [11:15] how much space is needed to apt install the kernel header .deb? got a VM with 700Mb free disk space but unzipping still fails [12:12] !info linux-headers-generic | charolastra [12:12] charolastra: linux-headers-generic (source: linux-meta): Generic Linux kernel headers. In component main, is optional. Version 5.4.0.65.68 (focal), package size 2 kB, installed size 18 kB [12:13] well, generic is just the pointer to the current version [12:13] yup [12:13] !info linux-headers-5.4.0-65-generic | charolastra [12:13] charolastra: linux-headers-5.4.0-65-generic (source: linux): Linux kernel headers for version 5.4.0 on 64 bit x86 SMP. In component main, is optional. Version 5.4.0-65.73 (focal), package size 1204 kB, installed size 14143 kB [12:13] seems 14mb [12:14] yeah, shouldn't be that much but installation fails even with >700mb free disk space [12:14] what's the error? [12:14] unable to create '/usr/src/linux-headers-4.4.0-186/include/video/edid.h.dpkg-new' (while processing './usr/src/linux-headers-4.4.0-186/include/video/edid.h'): No space left on device [12:14] charolastra: are you doing it as root? i think 5% is reserved for root [12:15] and 'df' says: /dev/sda1 6.9G 5.8G 736M 89% / [12:15] and yes, directly as root [12:16] charolastra: inodes good? df -i [12:16] and df -i /dev/sda1 [12:16] gfgd [12:17] 905 free inodes [12:18] charolastra: that might be it, dpkg -L headers... | wc -l shows 9000+ files/dirs [12:18] yeah, so each file inside the archive needs a inode while unpacking? === mIk3_09 is now known as mIk3_08 [12:18] those are the files that it installs to the system, not the archive [12:20] ok, any way to get more free inodes? [12:20] delete any files you dont want, there's got to be something that's installing a lot of tiny files so it ate them all up [12:21] any service running that writes a lot of tiny files? [12:21] can't think of much. it's a VM that serves a few websites and the SQL DBs for those [12:22] actually it's a single wordpress instance on that one [12:23] are you sure df -i shows 905 left or used? whats the percent free, dont mean to be rude [12:25] charolastra: try "sudo find / -xdev -printf '%h\n' | sort | uniq -c | sort -k 1 -n;" it should show the list of dirs and how many files are in there [12:26] don't worry, we all know what's usually going on in IRC help channels. the df -i says: /dev/sda1 458752 457847 905 100% / [12:27] ok, hopefully the find command can show what's the culprit [12:28] i have added two HDDs to my setup and I can hear they are being accesed constantly, even though they are empty. [12:28] is this normal? [12:33] EriC^^: thanks! the most inodes are in the various /usr/src/linux-headers-x.x.x and in /var/lib/dpkg/info [12:44] Hi. I had doubt which isn't exactly related to ubuntu but that I hope some of you can help me out with. I am running firefox on ubuntu and of late I've noticed that some websites (I could find no relation between them) redirect me to a website at "binomo.com" when I click on some part of the webpage. I searched about this binomo online and it seems to be something that involves money. This problem happens [12:44] occassionally that if I try soon after it happened at a time, I'm unable to replicate it. But it keeps happening over and over again at later points of time. All this made me think that my computer may have been infected somehow. If that's the case, any idea how I can get rid of it? I'm on Ubuntu 18.04 [12:46] any clues? https://imgur.com/3hVOZjX.png [12:48] you're trying to install 18.04 packages on a 20.04 system? that's not really supported [13:11] Hi folks [13:21] Hi everyone. I'm a total novice running Lubuntu on a laptop. Does anybody know how to set up a network share for a folder on a Win 10 m/c? I've got as far as mounting the folder I want on my Linux m/c but I don't have any write access. It's enabled for Everyone on the Win side but when I try to creat a fold from Linux I get 'Permission denied'....... [13:22] When booting the "live server" image of 20.04.1, is it's possible to force it not to use anything graphical ? No X, not even framebuffer [13:22] Or even better: does it do this automatically ? [13:26] Bozwell: not sure if this is helpful: https://davescomputertips.com/how-to-network-sharing-with-lubuntu/ [13:29] Thanks Maik [13:29] yw [13:29] geirha: what should I do? [13:29] geirha: you are correct. what is the 20v package? [13:29] garo: try #ubuntu-server if you like [13:30] Intelo: apt install mysql-client ? [13:30] the apt-cache policy command you ran shows that there are three versions available. Those are the ones you can choose from [13:30] Intelo: ^ [13:35] nevermind, i tried in a vbox :-) [13:35] (it supports it, if you are fast enough to enter grub) [13:39] morning my cp -Rf /mnt/ /nfsshare/ubuntu18 isn't working as expected, its copying /mnt instead of the contents of /mnt [13:39] trupsalms, is that the -exact- command you typed? [13:40] trupsalms, oh, you mean it is copying the content of mnt into a new folder also called mnt? [13:41] yes yes [13:42] i need it to copy the contents of mnt into ubuntu18 [13:43] right [13:43] using the trailing slashes in a different way might help === jerry1 is now known as jerry === mikesmoniker_ is now known as mikesmoniker === parallax_ is now known as parallax === billybigrigger3 is now known as billybigrigger [13:46] cp -Rf /mnt/ /nfsshare/ubuntu18/ [13:46] cp -Rf /mnt /nfsshare/ubuntu18 [13:50] xamua: geirha I want 5.7 v of mysql on ubuntu 20 [13:51] xamua: geirha but now I am in a dependency and compatibility issue it seems [13:51] I followed tutorials like https://www.digitalocean.com/community/questions/how-can-i-properly-downgrade-from-mysql-8-to-5-7-on-ubuntu-20-04 [13:52] cp -R /mnt /nfsshare/ubuntu18/ [13:55] xamua: geirha there? [14:04] I cannot install mysql-server. Getting these errors. By the way I do want to install mysql 5.7 on ubuntu 20. https://imgur.com/Y5m2RKK.png [14:04] any clues? [14:10] Intelo: mixing amd64/x64 packages with i386 ? [14:11] tuxinator: no idea [14:11] tuxinator: how can I fix? === yn_ is now known as yn [14:16] did you try the suggested command? [14:17] hi all [14:17] Hi [14:19] has anyone deployed a reverse proxy with either nginx or Apache to point to the official Ubuntu mirrors when a system needs to download some packages or do a complete update? The idea is to configure the new Ubuntu systems to point to some internal server acting as a reverse proxy and download the packages so that the internal systems never access the outside world... [14:20] SteelRose: would probably be better to just host an internal mirror [14:20] for CentOS is easy because the syntax is quite straighforward but in Ubuntu I have entries like: deb http://ch.archive.ubuntu.com/ubuntu/ bionic universe [14:20] ... and I have no idea hw to handle this [14:20] that way you download only 1 time [14:21] tuxinator: that was the initial idea but when I read that I'd need almost 1 TB to hold only one version (i.e. 20.04 LTS) I had to raise an eyebrow and think of another solution [14:22] hence me asking about the reverse-proxy configuration [14:22] well i would do it the mirror way [14:23] or setup a proper proxy to the internet, actually a reverse-proxy seems a bad and wrong solution [14:23] sorry... I meant forward-proxy [14:24] from here deb http://ch.archive.ubuntu.com/ubuntu focal universe I assume that the URL would be http://ch.archive.ubuntu.com/ubuntu/focal/universe but I'm not too sure how to pass the "focal universe" bit to the proxy [14:26] does the "--disabled-password" option when creating user only create a blank (empty) password or disallow use of passwords? [14:26] so... anyone? :-) [14:26] well forwardproxy means something like squid [14:27] I think you should first ensure you understand the difference of proxy vs reverse-proxy and after that consider a solution [14:27] Doing it the wrong way against any good practice would be -> Reverse Proxy [14:27] the best or good practice would be -> Proxy or Local mirror [14:28] for the local mirror option: [14:29] advantage: download 1 time, LAN is normaly more reliable than a internet-connection [14:29] disadvantage: need 1 tb space -> however could be put on an external disk as if it is lost you just do a resync [14:29] btw operating the tuxinator mirrors since 15 years or so [14:30] tuxinator: I understand the differences mate :-) [14:30] Hi! Is there a way to decrease wireless adapter power output to 75%? I know on Windows you can do that using device manager. Running Ubuntu 20.10. Thanks! [14:31] SteelRose: seems not to me, as you would never consider a Reverse-Proxy for your usecase normaly then [14:32] Proxy=you don't want direct internet connection without scanning and direct IP routes to the internet and or caching [14:32] Reverse-Proxy: you want to hide your backend servers and maybe do some security scanning and filtering (modsecurity etc.) and/or do loadbalancing [14:32] without much digging, I also think that unless you plan to host more than one or two releases, that you don't need the full 1.1TB space [14:33] xamua: yeah i was also thinking about the size [14:33] let me check on my tuxinator [14:34] will just do some "du" there [14:34] tuxinator: really, there is no need to patronise :-) I've been dealing with several r-proxies today and got confused during my question... [14:34] What is wrong here? https://imgur.com/Tbm7Tc5.png [14:34] tuxinator: which one? [14:35] Intelo: in your previous command it suggested a command [14:35] Intelo: read your output before asking here ,-) [14:36] Intelo: you have to use the exact version number available. 5.7.33-1debian9 in that screenshot, I'd expect furtehr issues though when trying to install a package meant for another os [14:36] I'd first check if mysql's repo at least has ubuntu 20.04 packages [14:36] good spot, geirha [14:38] You might have an easier time just running mysql from a ready made docker image, than to try and squeeze an ill fitting box into your package manager [14:42] tuxinator: I missed. can you tell? === sonOfRa is now known as everyone === everyone is now known as sonOfRa [14:44] Intelo, just remove the wonky repo? [14:45] geirha: how did you came to know that exact version? where did you see it? [14:46] geirha: oh I get it. doing onw [14:46] oerheks: am.. I want 5.7 msyql in ubuntu20. [14:46] oerheks: don't know whats best [14:47] ok i cant provide mirror size requirements for bionic only [14:47] Intelo: don't. If you want 5.7, run it in a container running 18.04 [14:48] don't understand how to achieve at the moment (long time since last studied package linking stuff etc) maybe somebody else can [14:49] tuxinator: rsync foobar --dry-run should help [14:49] and also --stats [14:50] I just had the permissions on /dev/null in an LXC container change - from 666 to 662. Apparently this broke ssh. I chmod'd it back, but anyone have any idea what did that?? [14:50] i want to count localy and i use ubumirror as recommended (atleast when i installed the mirrors) [14:53] tomreyn: Thanks. Not using add-ons is not an option really as I use both Privacy Badger and NoScript as a default precaution. :) [14:57] hey'all [14:58] so i couldnt help notice a bit of a difference in funcionality [14:59] I'm running a live OS, and i'm double clicking on some externally attached harddrives on a laptop. They become mounted as directories under /media/$username/ .... $username is owned by root but the directories under that seems owned by $username [14:59] If however i try to mount a third disk, an internal harddrive, manually .... i try to make a dir under /media/$username ... and i'm not allowed to. And if i sudo make it it becomes root owned ofcourse. What am i missing? [15:00] sybariten, the gist is that most desktop Linux distros run a daemon that mounts external drives for you, without you needing root. [15:01] if a partition does not mount, what filesystem exactle? [15:01] sybariten: the mounts are mounted as $user which is why you see the ownership as $user. Write access to /media requires root [15:03] leftyfb: yeah but.... ok so how should i do it, if i want to do it manually. If i sudo create the dir, i will always need to be root or sudo, to reach that dir no? [15:03] sybariten, as root/sudo, you can use chmod to change the ownership to your user. [15:03] Sorry, chown to change ownership, chmod to change permissions [15:03] i mean how did the OS make those dirs looking user-owned then? Did they first sudo make dirs and then chown eerything, under the hood? [15:04] sybariten: you can mount the drive as the $user [15:04] keep /mnt/ for manual, and /media/ for automount [15:04] leftyfb: i thought if anything "on top" would be root owned, it would be a problem drilling further down [15:04] oerheks: should that be the standard procedure? [15:05] sybariten, if you have x permission to a dir, you can follow paths below it. If you have r, you can ls it [15:05] So it can be root-owned but allow rx [15:05] x is not so important as we are talking about different OSes here but i would need write permission... [15:08] OK i did as you said, worked a charm, guys, Thanks! [15:54] Greetings! I'm casual level user, not very advanced and I'm having a problem while trying to install UBports for Ubuntu Touch https://pastebin.com/78dP2MZG [15:56] hello - can't seem to SSH or FileZilla into some server, it hangs and times out. Where can i look for any reasons? i have sshd_config open, ufw is inactive, what else? [15:57] I'm using Ubuntu 20.04 [16:02] regedit: on the ubuntu server run: sudo lsof -i :22 [16:03] leftyfb: i happen to see in sshd_config port is set to something else - let's say 22222, should i replace 22 with 22222? [16:03] Shadowbird2468: UBports/Touch is not really a supported project anymore. If you have problems installing it, you might try the channel for ubports or forums. If you have a generic ubuntu question, feel free to ask [16:03] regedit: yes [16:04] regedit yes try with -p 22222 [16:04] why a netscan will show where it is [16:05] yea, I realized that I accidentaly ran wronf INSTALL.sh :S so, I goofed. but yes, I had this problem with anbox. how ever I'm fine as long as ubports works [16:05] COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME [16:05] sshd 804664 root 3u IPv4 25816159 0t0 TCP *:22222 (LISTEN) [16:05] sshd 804664 root 4u IPv6 25816161 0t0 TCP *:22222 (LISTEN) [16:05] *wrong [16:05] !paste | regedit [16:05] regedit: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [16:06] ah ok sorry [16:06] Shadowbird2468: you'll need to seek support from the ubports/touch project for help installing it [16:06] Shadowbird2468: it's not officially supported anymore [16:06] regedit: looks like it's listening [16:06] yes [16:07] regedit: on the client machine, run: sudo nmap -p 22222 [16:07] regedit: also, make sure you can ssh from the server to the server [16:07] leftyfb: that works [16:07] iptables maybe? is it "safe" to paste my iptables online? no sensitive details? šŸ˜› [16:07] same for sshd_config [16:07] regedit: try flushing iptables, then try to ssh [16:09] what does flush mean - does that delete rules and stuff? some rules i might not want to lose... šŸ˜¬ [16:10] regedit: yes. This is for testing. Put them back when you are done [16:10] ah ok so need to back up first ok [16:11] belatedly, what i did was: `truncate --size 0 /etc/python3.8/sitecustomize.py`, then ran python3 as root, recompiling /usr/lib/python3.8/__pycache__/sitecustomize.cpython-38.pyc [16:12] regedit: wait, you don't have any rules loaded? [16:12] regedit: sudo iptables -L -n [16:12] leftyfb: i think i do see some stuff there [16:13] regedit: to flush: sudo iptables -F [16:13] leftyfb: and to restore? [16:13] regedit: depends on how you loaded them [16:14] leftyfb: no idea how previous rules got there... but i ran "iptables-save" and "ip6tables-save" and output to saved files [16:15] current iptables -L -n output: https://paste.ubuntu.com/p/xCZ7MsYNck/ [16:17] regedit: you don't have port 22222 open [16:17] oh [16:17] what about port 22 is that open? [16:18] regedit: look at your pastebin. Do you see the number "22" anywhere in it? [16:19] ah so if a port is not listed explicitly that's how it works? (I dunno iptables.. is it whitelist, blacklist, ranges, default ports, etc.) [16:21] trying to dig history of what previous sysadmin was doing, looks like there was a bunch of iptables action happening https://paste.ubuntu.com/p/YpDZvxRpHX/ [16:25] so is this the command i need? `iptables -A OUTPUT -p tcp --sport 22222 -j ACCEPT` [16:26] regedit: INPUT [16:29] ah [16:29] i might be reading the wrong stackexchange answer... "To allow outbound packets from your SSH daemon to the SSH client you need to add the following rule:" [16:30] regedit: I personally use: -A INPUT -p tcp -m state --state NEW -m tcp --dport 22222 -j ACCEPT [16:32] ok lemme try that šŸ¤·ā€ā™‚ļø wth [16:36] oh whoops looks like my previous paste had a lot of text missing [16:38] https://paste.ubuntu.com/p/sXPcV3pmr6/ i see port 222 was already designated for this? maybe i'll use that instead of my 22222 which i'll adjust in sshd_config [16:38] how do i remove the rule i just added leftyfb ? [16:41] If I want to kill a process on a file change with inotify shoud I use a oneliner or a script ? [16:41] regedit: you should read through something like this: https://www.digitalocean.com/community/tutorials/how-to-list-and-delete-iptables-firewall-rules [16:41] awesome thanks [16:43] Hey, i try to install woeusb i added the repository but it does not find the package, any idea, [16:47] akem the repo? ppa:tomtomtom/woeusb [16:48] akem: sudo apt update [16:50] Can anyone help me with driver porblems? Im not quite sure witch driver to install for my nivada gtx 1650 card. I have tried to install and always poblem after restarting [16:52] often when I start gnome-software the installed list is empty and will remain empty. I have gone away for hours and checked again, still empty. One work around is sudo apt-get install --reinstall gnome-software, Is there something else I can do so I don't have to reinstall gnome-software evry time I want to see waht programs I have installed? [16:55] The Explore and Update tabs work fine. Just the Installed tab shows nothing. [17:01] I have Googled and so far sudo apt-get install --reinstall gnome-software is the only thing that makes it work but I'd rather a more permanent solution. [17:02] what happens if you run update before entering softwarecenter? [17:03] that would trigger snap refresh too [17:03] sudo apt-get update ? [17:05] My question is more of how to make gnome-software do this on it's own so I don't have to keep fixing it. [17:05] oerheks, leftyfb, thx, i was able to install it from the .deb file instead. update didn't change anything. [17:06] i would run; sudo apt update && sudo apt full-upgrade [17:06] to avoid packages held back [17:07] nunya_, this is unusual behaviour, though you were not the only one; did not find the fix yet. [17:08] who are you speaking to? Me or akem? [17:08] nunya_, you [17:08] re i would run; sudo apt update && sudo apt full-upgrade [17:08] to avoid packages held back [17:09] jups, like a kernel or such important update [17:14] hello, [17:15] How to ./configure mutt to have SSL + UTF8 ? I have no UTF8 in ubuntu links package. [17:15] (compilation from src). [17:18] A lot of stuff was updated and upgraded. Hopefully this solves the problem. https://paste.ubuntu.com/p/mm27KQXwjX/ [17:18] For the 21.04 users/testers here... Do you also have issues shutting down your computer? [17:18] Feels like I have no permissions :/ [17:18] nunya_, good, reboot after that [17:18] unixbsd: the packaging already does that does it not? so check the debian/rules makefile [17:19] thopiekar, for testing, join #ubuntu+1 for now [17:19] Thansk oerheks! [17:19] *thanks [17:20] Thanks! === Ringtailed-Fox is now known as RingtailedFox [17:36] I opened gnome-software It downloaded package list. When I clicked on isntalled tab it took a minute to do what looked like populating the installed programs then the little prgress wheel stopped and the installed went black. I tried apt-get install --reinstall gnome-software again. It worked. this is not the end of the world but is a pain in the butt! Hopefully they sort this out in the next Ubuntu distrubution! Thanks for [17:36] trying to help. [17:43] I believe (and correct me if I'm wrong) that in Ubuntu 20.04 there is no /usr/bin/python. So it seems that the typical "#!/usr/bin/env python" shebang line is not going to work anymore. If you have written a program that's only intended to work on python3, then the solution is simple, just change your shebang to "#!/usr/bin/env python3" and if your program only works on python 2.7, use the shebang [17:43] "#!/usr/bin/env python2.7". But what about programs that are written in such a way that they intend to support python2.7 OR python3? What shebang line should they use? [17:45] dfrey: generally /usr/bin/python is a symlink to the default/preferred python version [17:45] python2.7 is dropped in 20.04 [17:46] !info python-is-python3 [17:47] python-is-python3 (source: what-is-python (4)): symlinks /usr/bin/python to python3. In component main, is optional. Version 3.8.2-4 (focal), package size 2 kB, installed size 10 kB === ijohnson is now known as ijohnson|lunch [17:52] Any reason why bluetooth would refuse to connect to a speaker but would work after a reboot? [17:56] morning! I have a window that has made its default size 1 pixel x 1 pixel so i cant find it. IS there a way to bring it back? [18:03] ExcessiveAggro: edit or delete its configuration, which can be in ~/ or ~/.config or ~/.local/{etc,share} or in the gsettings DB. [18:03] ExcessiveAggro: If you use an application switcher in a taskbar of some sort, you could possibly rightclick -> maximize? [18:04] ExcessiveAggro: try https://unix.stackexchange.com/a/359311 [18:04] ExcessiveAggro: on the taskbar right click it and choose Resize then use cursor keys [18:04] You all are the best - thanks I will get to looking at all of these [18:05] TJ the right click option doesnt show resize unfortunatley. However I also just found this: https://extensions.gnome.org/extension/1240/cascade-windows/ [18:05] alt tab .. [18:05] oerheks - yeah it's weird, alt tab shows the application and the preview is a single pixel lol. And selecting it doesnt make it appear. I close the app and come back, still at one pixel [18:06] The cascade app i just pasted worked but I'm going to check out the other suggestions for my own knowledge. Thanks all [18:06] ExcessiveAggro: ahhh, Gnome strikes again! [18:06] Any progress on getting Thunderbird 78.x.x into the Software Updater repo? Version 78.7.0 was released this week. [18:06] Alt + F8 to resize. Use the arrow keys to move or resize, [18:06] hopla [18:06] oerheks - GENIUS! thank you [18:25] Is there a way to chage what the 'default' display mode is when no EDID data is present? [18:27] The montior I'm gonna use with this system doesn't have EDID and is quite pickey about what mode it wants- I can use a second display to setup graphics, but it breaks when I reboot the machine [18:27] put it hard in a xorg.conf? [18:27] I think I ned EDID anyways though because I can't interact with the bios or grub either :T [18:28] what do you mean with ' interact with the bios or grub'?? [18:29] I have no video during boot because the motherboard isn't outputting the correct mode [18:33] I do have an edid spoofer, I can get the resolution right but it doesn't have an option for the correct refresh rate [18:52] I actually found some software and guides for making EDID files, but no mentiomn of what hardware is used to inject it [18:55] tuxakadjseb: geirha oerheks leftyfb it worked. Someone just didn't told a newbie to use 5.7.33-1debian9 else than geirha [18:56] Can someone confirm the following potential bug in 20.04. I have dual monitors in "join display" mode. After timing out and going to a lock screen, the system treats them as mirrored. When I go to Display Settings, it still shows "joined display" even though it behaves as "mirrored". I must set the display to mirrored mode, revert, and save in order to regain joined displays again. === sauvin__ is now known as Sauvin [19:35] Hi, how can I figure out why my netplan doesn't stick? [19:36] 20.04 here btw. [19:37] I run netplan apply and after a couple of seconds the applied plan reverts to something different. [19:41] thanks for all the help leftyfb šŸ‘ [19:41] crst, are you running netplan rendering to networkd but also having NetworkManager active? [19:42] crst: if you're running the desktop environment, you don't use netplan to manage your networking, you use network manager in your settings GUI [19:42] It's a server without gui [19:44] It works on Ubuntu 18 not sure what's wrong here. [19:45] rfm: NetworManager doesn't seem to run [19:45] systemd-networkd is running fine [19:45] crst: which renderer have you configured? [19:46] crst: could it be some cloud-init config? have you checked for additional yaml files in /etc/netplan/ ? [19:47] TJ-: networkd on the main file that comes from the provider. There's only this and another file with my custom config and there's no renderer. [19:47] crst: try removing cloud-init [19:48] crst: ok, so default renderer is systemd-networkd [19:48] crst: wait, provider? [19:48] leftyfb: It's a dedicated server without cloud-init in the first place [19:48] crst: look at the generated files in /run/systemd/network/ [19:48] crst: cloud-init is installed by default now. If it wasn't, then it's not a default install [19:48] crst: check if there are more than 1, and if they have conflicting settings [19:49] crst: so you've got TWO netplan yaml files? [19:51] On a related note, I do get annoyed at how difficult it is to enable verbose logging in systemd-networkd [19:51] leftyfb: Ah ok. There is no cloud-init here. It's the default image from Hetzner I use here. [19:52] crst: sounds like it's not an official ubuntu image [19:52] TJ-: There is indeed. There's a 10-netplan-enp35s0.4001.netdev and a 10-netplan-enp35s0.4001.network that are conflicting. [19:53] leftyfb: I'm sure it's a bit modified by the provider. [19:53] crst: .netdev and .network do different thinks. [19:53] things [19:53] crst: naming looks like you're doing VLAN [19:55] TJ-: Indeed. I use it for a subnet of public IP's. [19:56] TJ-: Actually the files diff but are not really conflicting, sorry about the confusion [19:57] crst: so how does the applied config change? you said "something different" but what - that might help us figure out what is happening [19:58] crst: the .netdev presumably just has [Netdev] Name=enp35s0.3001 Kind=vlan [VLAN] Id=4001 [19:58] grrr, typo [19:59] TJ-: After apply `ip rule show` has it add it added and after a couple of seconds it's gone. Should I check the files in /run/systemd/network for changes? [19:59] crst: what is this 'it' - are you configuring some policy routing? [19:59] greetings :) [19:59] TJ-: Correct about the netdev [20:00] Oioioi [20:00] I just found somebody that made, and published, arduino code for this [20:01] !ot | CrazyLikeAFox [20:01] CrazyLikeAFox: #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! [20:01] Whoops, wrong tab [20:02] TJ-: It adds two rule: 1: (10: from X.X.X.X/28 lookup net-name) and 2: (10: from all to X.X.X.X/28 lookup net-name) [20:02] But it's hardware level fix to my earlier EDID problem (I'll take it to the tab I meant to type into) [20:02] crst: and is netplan creating those, and are they ending up defined in /run/systemd/network/enp35s0.4001.network in "[RoutingPolicyRule]" section? [20:05] I'm trying to fix my husband's ubuntu 20.04. when i type 'xrandr' I get Can't open display. He's running Gdm3 and nothing else. Is this even a good place to ask about this? (the actual problem is that the main screen on boot is enrmous and out of focus.) I'm working in Console 2 because I can't use the gui at this point. we downloaded nvidia drivers a while back, and then had to fsck the drive. *sigh* HELP!? [20:06] chalcedony`: you need to pass the display number; generally: "DISPLAY=:0.0 xrandr -q" or "xrandr --display :0.0 -q" [20:06] chalcedony`: you'll need both a DISPLAY and XAUTHORITY environment variable to connect an x client like xrandr to your x server to do anything; iirc gdm3 is responsible for writing the ~/.Xauthority file (or wherever gdm3 stores it) -- so *maybe* a DISPLAY=:0 xrandr willl work, if it's not authenticated, but ... if it's not, I'm not sure what to do then [20:07] Hi TJ. I think I will get Display 0 doesn't exist or so. [20:07] chalcedony`: is this before or after the login greeter? [20:08] i'm logged in TJ [20:08] chalcedony`: I mean for the GUI === ijohnson|lunch is now known as ijohnson [20:08] chalcedony`: if the GUI session hasn't logged in we'd need to locate the .Xauthority file belonging to gdm3 [20:08] didn't login on the gui. TJ- [20:09] sarnold: isn't it under /tmp/ somewhere? [20:09] chalcedony`: do you find one doing this: "sudo find /tmp -name '.Xauthority' -ls" [20:11] sudo find /tmp: command not found TJ- [20:11] * TJ- blinks [20:11] wow [20:11] hi, I'm trying to $ sudo apt install but it errors out saying that couldn't get lock as it's held by process (unattended-upgr) [20:11] since last 15min [20:11] can/should I kill that process? [20:12] TJ-: Yes, when I run `netplan apply` theses rules are added. I just checked and the contents in /run/systemd/network don't change at all when I run `netplan apply` and [RoutingPolicyRule] shows my rules. [20:13] Something seems to be interfering with the rules and i don't know what. [20:13] crst: netplan apply writes those files in /run/systemd/network/ and then tells systemd-networkd to read and use them. So if the rules are specified, they appear via manual check, and then disappear, there's something else removing them. [20:13] jadax: it might be better to file a bug report first, once it's killed it might require yet more work to try to fix things.. [20:13] crst: is this a new 20.04 or a release upgrade from an earler release? [20:13] sarnold if I wait for next 30 min, will it finish perhaps? [20:14] It's the latest stable [20:14] is there any place I can see what is actually going on and see maybe some progress bar? [20:14] jadax: there's a chance, especially if your network is kinda slow or something.. [20:14] crst: OK so it hasn't inherited any config from an earlier release - makes things easier [20:14] Right, it's pristine and freshly setup from scratch [20:15] /var/log/unattended-upgrades/unattended-upgrades.log and /var/log/unattended-upgrades/unattended-upgrades-dpkg.log [20:15] jadax try top in console [20:15] chalcedony`: what does "which find" report? [20:16] TJ- /usr/bin/find [20:16] chalcedony`: ok, and "which sudo" ? [20:17] chalcedony` it just finished ^_^ [20:17] I guess it was worth waiting [20:17] chalcedony`: trying to figure out why you got "command not found" [20:17] TJ- /usr/bin/sudo [20:18] chalcedony` and I hope " echo $PATH | grep -o /usr/bin " reports /usr/bin [20:25] TJ- don't hate me. that gets nothing. [20:25] chalcedony`: now I'm very confused, since 'which' searches $PATH to find commands and it reported what we'd expect for the locations of 'find' and 'sudo' :s [20:26] Is there no firmware for the intel AX200 in 20.04? The firmware was first supported in kernel 5.1. I'm running 5.8 [20:27] TJ- the drive was kind of messed up. fsck -y was needed. Maybe that did something? [20:27] chalcedony`: so far it looks like that system is severely messed up; likely by the file-system corruption [20:28] Wait TJ- no space after $ it worked now :) [20:28] my husband is making me sit way over here.. it's hard to see everything. [20:29] chalcedony`: echo $SHELL [20:29] leftyfb /bin/bash [20:33] chalcedony`: let's try to find out how much damage there is - this command compares the hashes of all files installed by packages and reports any that do not match. Hopefully you shouldn't see many differences: " /usr/bin/sudo /usr/bin/dpkg --verify | grep -v /etc/ " [20:34] TJ- maybe add pastebinit to that? [20:34] chalcedony`: " pastebinit <( /usr/bin/sudo /usr/bin/dpkg --verify | grep -v /etc/ ) " [20:38] it's working.. waitng. [20:41] chalcedony`: could take a while on spinning disks [20:41] ok [20:42] i'll highlight you when i notice it's finished then, TJ- and thank you and leftyfb too :) === pasiz_ is now known as pasiz === kjartan_ is now known as kjartan [21:13] Anyone here that could mabey help me install driver fro gforce gtx 1650 on ubuntu... I dont really know witch one to choose and i always have some poblems booting after i update [21:14] *after i install a driver* [21:24] arnje: it should be enough to run ubuntu-drivers to install whatever is needed [21:28] Good afternoon guys, I have a question about setting up a backup server for my local machines. My girl uses Windows 10, I'd like to set up Windows 10 to automatically backup to the Network drive, which is an Ubuntu 20.04 machine. [21:28] So, is there a simple way now a days to configure samba to work nicely with Windows? Can someone maybe point me to a good guide? [21:37] chalcedony`, If "sudo" wasn't in path, you would have gotten "sudo: command not found". If you got "sudo find /tmp: command not found", you are probably running the command in quotes. [21:38] DreamPCS: https://linuxize.com/post/how-to-install-and-configure-samba-on-ubuntu-18-04/ [21:45] I have a non relevant question with Ubuntu, but a problem question/concern for my systems. So, forgive me, but I would like to discuss this with you and possibly someone's advice. [21:45] I'am newbie ok. But recently, I installed a rsyslog server and I also installed "rsyslog" to the other machines, to send their logs, to the rsyslog server machine. [21:45] But, how can I see beautifully - the collected logs ? The only way is with grep tool ? [21:45] Isn't there something more modern, something easier to manage than writing regex with grep ? [21:45] Something like... for example at least a "htop" tool for logs ? [21:47] i'm trying to `sudo apt install binutils=2.24-5ubuntu14` on one box it works, but not the second! (it says '...not found') anyone know what I should do to debug? [21:48] Tas-sos: it's usually considered rude to cross-post questions [21:52] Tas-sos, splunk maybe [21:52] they have a channel, don't know how active it is [21:55] Tas-sos: for something a little simpler, you can look at multitail which can do things like look at multiple logs at once and can filter and colorize/highlight different aspects of logs [22:14] leftyfb: multitail ? I don't know, looks interesting for a first step! Thank you! [22:15] Very interesting! Thank you! Now.. after this first tool.. ? === halvors1 is now known as halvors [22:43] is there any repo that includes ROXterm for 20.04 ? [22:48] scoffin: looks like that might be a dead project. Maybe look at terminator [22:56] leftyfb: thanks, it looks like terminator DOES respect the "geometry" spec, unlike gnome-terminal [23:25] I could probably find a more specific community, but random question for people that use clamav. Have you ever noticed clamd, the daemon, being stuck using 0% CPU and 500+ MBs? I don't know if this is a recent issue, but it seems like more people would be mentioning it. Anyone seen something like this? [23:33] !discuss | Sirisian|Work [23:33] Sirisian|Work: 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! [23:33] and a antivirus isn't needed on linux [23:34] it sometimes is [23:34] Thank you. (I blame clients. We had a few that listed it as a requirement years ago so it was added to the server pipelines). [23:34] it's handy to scan at email servers or samba fileshares to protect the windows machines === ustrin_ is now known as ustrin === panzeroceania_ is now known as panzeroceania === jakesyl_ is now known as jakesyl === boxrick_ is now known as boxrick [23:38] my goodness, if it isn't Matrix it's irccloud.... [23:39] sarnold: some say windows users should protect their own stuff. On linux ClamAV and other antivirus give more false positive than anything else. [23:39] Maik: but windows users wind up disabling their AV all the time because it busts stuff (no real surprise :)