/srv/irclogs.ubuntu.com/2021/01/28/#ubuntu.txt

chietais there any artifact that show on bash variable that show that this is focal release?00:25
chieta$ echo $UBUNTU_RELEASE00:27
chietafocal00:27
razorbackchieta: lsb_release -a00:27
razorbacklsb_release -sc to be exact00:28
chietathanks razorback... just thinking for more filter on this $lsb_release -a | grep Codename:00:30
razorbacklsb_release -sc just prints you exactly "focal", just as you wanted00:30
razorbackyou can put the output of bash commands into variables like that: release=$(lsb_release -sc)00:31
StupidLikeAFoxI'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 synaptic00:32
StupidLikeAFoxI did fine the package's page, and it's list of depends00:33
StupidLikeAFox*find00:33
razorbackStupidLikeAFox: open /etc/apt/sources.list and uncomment the lines with "universe"00:36
razorbackif that's what you mean, you need to "apt update" afterwards00:36
chietathanks razorback, it works00:43
Ubun00byhello, anyone know how to run a sysv script on systemd?00:44
Ubun00byor even an upstart script on systemd00:45
StupidLikeAFoxrazorback: No dice, but lemme go ahead and apply all the changes I have in synaptic first00:45
StupidLikeAFoxand I'll try from apt00:46
=== CamBan69_ is now known as CamBan69
=== PowerTower_121 is now known as PowerTower_120
StupidLikeAFoxrazorback: nope, didn't work01:06
StupidLikeAFox'no installation candidate'01:06
razorbackStupidLikeAFox: what does "apt-cache search lightyears" show?01:08
StupidLikeAFoxit didn't produce any output01:09
razorbackAnd what does "apt-cache policy" say?01:11
CrazyLikeAFoxrazorback: https://pastebin.com/qFc90mbg01:15
razorbackCrazyLikeAFox: ah, yes, it's not available for focal01:17
razorbackCrazyLikeAFox: maybe you can try http://us.archive.ubuntu.com/ubuntu/pool/universe/l/lightyears/lightyears_1.4-2_all.deb01:19
AdalogicHey 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:26
StupidLikeAFoxrazorback: Thank you much :D01:27
StupidLikeAFoxInstalled that, did a fix-broken, and it's good to go01:28
razorbackStupidLikeAFox: nice. I didn't know if it would work but I'm glad I was able to help01:28
sarnoldAdalogic: many of these kinds of things can be solved by running pavucontrol01:28
s3nd1v0g1uswhat is the latest model Macbook that will run Ubuntu? (I know that there is not currently support for T2.)01:29
AdalogicAlright! I'll try that out right now.01:29
robertparkerxI'm getting notice that updates & security updates are available but I just ran 'apt-get update && apt-get upgrade'01:34
robertparkerxI forgot what to do in this case...01:35
guivercrobertparkerx, are there any with `sudo apt-get dist-upgrade`  (upgrade has limits on what it can upgrade; refer `man apt-get` for details01:35
sarnoldrobertparkerx: I think that can also come from firmware updates, try fwupdmgr upgrade  ?01:35
robertparkerx'apt-get dist-upgrade' did it01:41
robertparkerxty01:41
blueingresshi, 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:41
sarnoldhttps://community.brave.com/c/faq/release-notes/98 -- oww, feels like you're a year behind01:46
blueingresssarnold, yes , that is an installation instruction{. not deb files to download.02:02
blueingressI've tried that for many times.02:02
Ubun00bydoes anyone know if i could get systemd to execute a command outside the user folder (bypass permissions)02:11
leftyfbUbun00by: run the service file as root or another user with permissions. Other than that, no, that would be a security flaw02:13
sarnoldUbun00by: WorkingDirectory= in systemd.exec(5) perhaps? what are you trying to do?02:13
Ubun00byi am running it as root02:13
leftyfbUbun00by: then you can stick the program it's calling anywhere you like02:13
Ubun00byrun virtual machine that is on another drive02:13
Ubun00bycommand needs to be called in folder with VM02:14
leftyfbUbun00by: VM?02:14
Ubun00byvirtual machine02:14
leftyfbUbun00by: ok?02:14
Ubun00bywhich is on a seperate drive from the root02:14
leftyfbUbun00by: and you want the VM to be able to access a file on drive/partition not mounted in the VM?02:15
Ubun00byno02:15
Ubun00byi just want the host machine to start the VM, via system d script02:15
leftyfbUbun00by: ok?02:15
Ubun00byreally simple02:15
Ubun00bybut i keep getting permission denied02:15
leftyfbUbun00by: what is the issue then?02:15
leftyfbUbun00by: please pastebin what you have so far and the error messages02:15
leftyfbblueingress: install brave from snap. That is up to date02:16
Ubun00byplease excuse me, it is my first time writing a systemd script02:16
leftyfbblueingress: it's all a package we can support02:16
Ubun00by[Unit]02:16
Ubun00byDescription=VM ubuntu200402:16
Ubun00by[Service]02:16
Ubun00byType=forking02:16
Ubun00byRestartSec=1502:16
leftyfb!paste | Ubun00by02:16
ubottuUbun00by: 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:16
leftyfbUbun00by: 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 removed02:17
Ubun00byhttps://paste.ubuntu.com/p/gJp6JgXjHV/02:19
leftyfbUbun00by: you have an executable called "KVM" in /media/data/ ?02:20
sarnoldUbun00by: pastebin the namei -l /media/data/KVM  output?02:20
leftyfbUbun00by: ls -l /media/data/KVM02:20
Ubun00bythat is just a directory02:21
sarnoldaha, you can't execute directories02:21
leftyfbUbun00by: ok, so why do you have a space between KVM and vagrant?02:21
sarnoldwhat are you trying to execute?02:21
=== 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
leftyfbsarnold: I'm going to assume vagrant02:21
blueingressleftyfb, hm... thanks I will try...02:21
Ubun00byvagrant up ubuntu2004 is the command02:21
Ubun00byi see so I need to write an executable instead?02:22
leftyfbUbun00by: why do you have /media/data in there at all?02:22
Ubun00bymore directories02:22
Ubun00byit's a samba shared drive02:22
leftyfbUbun00by: for what? The ExecStart line is to run a command02:23
leftyfbUbun00by: ok, how about this .... how do you normally start the VM from the command line?02:23
Ubun00byyes that's what I'm trying to do. Go to directory /media/data/KVM and run the VM02:23
sarnoldaha!02:23
sarnoldWorkingDirectory=02:23
Ubun00byohhh i think that makes sense now sarnold02:24
leftyfbUbun00by: https://pastebin.ubuntu.com/p/hpvwndBHTf/02:24
leftyfbUbun00by: also, I would call the full path of vagrant02:25
sarnoldleftyfb: nice02:25
leftyfbUbun00by: https://pastebin.ubuntu.com/p/x2M6gVRmtk/02:26
Ubun00bybut vagrant up/vagrant halt is the command02:28
leftyfbUbun00by: yes, that's all in there02:28
leftyfb /usr/bin/vagrant up02:28
leftyfbis the same as "vagrant up"02:28
Ubun00byshouldn't there be a space before vagrant?02:28
leftyfbno, /usr/bin/vagrant is the full path to the vagrant binary02:29
leftyfbUbun00by: https://linuxhint.com/path_in_bash/02:30
Ubun00bythank you leftyfb, i will read that and troubleshoot02:31
Ubun00byit's just telling me exit code now02:31
Ubun00byrun-ubuntu2004-vm.service: Failed with result 'exit-code'02:32
leftyfbUbun00by: journalctl -u run-ubuntu2004-vm.service02:32
leftyfbUbun00by: can I ask why you are making a service just to start the VM?02:34
blueingressleftyfb, how can I start it from command line? tahnks02:34
Ubun00byso that this VM is always running whenever the host is rebooted up02:35
leftyfbUbun00by: vagrant up "ubuntu200402:35
Ubun00byrun-ubuntu2004-vm.service: Failed at step EXEC spawning /media/data/KVM: Permission denied02:35
leftyfbUbun00by: config.vm.define "ubuntu2004", autostart: true02:35
leftyfbUbun00by: you can configure your VM's to autoboot02:36
leftyfbblueingress: start what? brave?02:36
Ubun00byleftyfb: I thought autostart was just for controlling the general vagrant up command to have specific VMs not start with just "vagrant up"02:41
leftyfbUbun00by: https://www.vagrantup.com/docs/multi-machine02:41
blueingressleftyfb, yes. from command line02:41
leftyfbUbun00by: please read the docuentation02:41
Ubun00byyes i reviewed that02:42
leftyfbblueingress: did you try typing: brave02:42
leftyfbUbun00by: ok, and doesn't vagrant start on boot for you?02:43
Ubun00byleftyfb: correct02:43
blueingressleftyfb, greate ..:-)02:43
Ubun00byleftyfb: i need a way to automatically vagrant up that folder02:43
leftyfbUbun00by: 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 autostart02:44
leftyfbUbun00by: please pastebin your service file02:44
Ubun00byhttps://pastebin.ubuntu.com/p/w3QZDDDMJG/02:46
Ubun00bystill gives me the same permission error02:46
Ubun00byleftyfb: run-ubuntu2004-vm.service: Failed at step EXEC spawning /media/data/KVM: Permission denied02:47
sarnoldUbun00by: just to be clear, did you run systemctl daemon-reload  after making these changes?02:48
Ubun00byyes02:48
xamuais that a mount point? is the noexec option set on it?02:48
sarnoldbecause the error message sure looks like you're still trying to execute the directory02:48
Ubun00byit is a mount point! i think that's what i need to fix, yes02:49
Ubun00bysarnold: every time i change the file i reload the daemon, start and then journal02:49
sarnoldUbun00by: try systemd-analyze /etc/systemd/system/run-ubuntu2004-vm.service ?02:50
leftyfbUbun00by: please remove the +'s02:50
leftyfbwait....02:50
leftyfbUbun00by: where does this service file live and how did you enable it?02:50
Ubun00byexists in /etc/systemd/system02:51
hanshwhy does "apt remove --purge mysql-server" leave old user credentials in /var/lib/mysql ?02:51
hanshi very specifically said --purge02:51
hanshbut.. it didn't purge the useraccounts of the mysql server02:52
leftyfbhansh: maybe because the user credentials created there were not part of the package to begin with?02:52
leftyfbUbun00by: what command did you use to enable the service?02:53
Ubun00byleftyfb: i do systemctl daemon-reload, then systemctl start file.service02:53
hanshleftyfb, incorrect, it doesn't purge the "root account", and the root account is there to begin with.02:53
leftyfbUbun00by: what command did you use to *enable* the service?02:53
hanshleftyfb, (good guess though)02:53
Ubun00byleftyfb: systemctl enable file.service02:53
leftyfbUbun00by: did you run that as root or use sudo?02:53
Ubun00byleftyfb: root02:54
leftyfbUbun00by: you are logged in as root?02:54
Ubun00byleftyfb: yeah02:54
hanshanyway i need to figure out how to ACTUALLY purge the root account, as the password is lost02:54
hanshiirc i can do some `sudo service mysqld stop; mysqld --skip-grant-table` thing tho02:55
Ubun00byxamua: my folder is marked noexec02:56
xamua...02:56
sarnoldhansh: http://paste.ubuntu.com/p/9Zj3nSnrVp/02:56
sarnoldhansh: it looks like it's configurable via debconf if the databases will be removed02:56
leftyfbUbun00by: can you run this from the commandline?:   /usr/bin/vagrant up ubuntu200402:57
leftyfbUbun00by: as root02:57
Ubun00byleftyfb: doesn't work. i need to be in the directory of the vagrantfile02:57
leftyfbUbun00by: and if you are in that directory?02:59
Ubun00byleftyfb: i just type: vagrant up ubuntu200402:59
leftyfbUbun00by: and if you are in that directory, can you please run:  /usr/bin/vagrant up ubuntu200402:59
=== de-facto_ is now known as de-facto
Ubun00byleftyfb: sorry, yes that works03:00
leftyfbUbun00by: you know what I would do? Create the service file to start vagrant as opposed to the individual VM's03:04
leftyfbUbun00by: you want it started regardless03:04
Ubun00byleftyfb: i don't think that's how vagrant works. it's basically KVM always running03:05
Ubun00byleftyfb: it's just a command line utilty not sure how to explain03:07
Ubun00byleftyfb: libvirt is the actual thing that runs03:07
Ubun00byleftyfb: vagrant just automates the provisioning for me03:08
leftyfbUbun00by: https://www.cyberciti.biz/faq/rhel-centos-linux-kvm-virtualization-start-virtual-machine-guest/03:08
Ubun00byleftyfb: 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 directory03:18
Ubun00byleftyfb: i have been heavily reliant on the automated vagrant tool that I oversaw the main qemu operations03:19
=== guiverc2 is now known as guiverc
Ubun00byleftyfb: 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 VM03:37
Ubun00byleftyfb: error: Requested operation is not valid: network 'vagrant-libvirt' is not active03:38
Ubun00byerror: autostart doesn't work so i guess i have to go back to figuring out a vagrant script again lol03:39
Ubun00byleftyfb: are you still available?04:34
Ubun00byleftyfb: i am using the script you pastebinned me and it is active but not doing anything for some reason..04:36
=== DArqueBish0p is now known as DArqueBishop
=== jose- is now known as jose
sara2010hi05:40
Vatumsara2010, install gentoo05:40
Vatumhi05:40
sara2010Vatum, okay its not possible scanner will work on ubuntu05:41
Vatumlmao05:42
vystyI 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
sara2010Vatum .05:44
VatumVatum, what scanner do you have?05:46
sara2010Vatum. Canoscan LIDE 30005:47
Vatumsara2010, https://askubuntu.com/questions/1107632/install-canon-lide-300-400-on-ubuntu-18-0405:48
sara2010Vatum i did this . but scanner is not detecting05:49
Vatumdoes it say some error?05:50
Vatumwhen you run sane software from terminal?05:50
sara2010there is no scanner found05:51
sara2010https://pastebin.ubuntu.com/p/wbJJwwPKDQ/05:51
sara2010see this ,05:52
sara2010https://pastebin.ubuntu.com/p/MVjqMwZpnv/05:52
sara20102909.349269] usb 2-1.6: USB disconnect, device number 10205:52
Vatumsara2010, you need to use a PPA repository to get the latest release of sane, this has the support you want05:56
Vatumhttps://askubuntu.com/questions/1218905/how-to-install-canoscan-lide-400-scanner-on-ubuntu-18-04-4-lts05:56
Vatumsudo add-apt-repository ppa:rolfbensch/sane-release ;05:57
Vatuminstall sane-utils also05:57
sara2010sane-utils is already the newest version (1.0.27-1~experimental3ubuntu2.4).06:02
-Vatum:#ubuntu- someone help the girl plz06:03
sara2010Vatum . you can help as well06:03
Disconsentedfrom pakistan?06:04
Disconsentedsomething smells fishy06:04
sara2010Disconsented . no smells .. fesh morning06:05
sara2010Vatum , u there .06:32
sara2010iĀ  m waiting06:32
sara2010any one help me06:39
tomreynhi 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:42
jayjoI'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
tomreynsara2010: 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:43
tomreynjayjo: your ubuntu release is?06:44
INTELGENERATORhey how do i obtain xf86-video-intel driver on ubuntu 2004 lts06:44
ubottuError: Ubuntu bug 2004 could not be found06:44
jayjo20.1006:45
INTELGENERATORhey how do i obtain xf86-video-intel driver on ubuntu 20.04 lts06:45
tomreyn!universe | jayjo06:45
ubottujayjo: 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
tomreynjayjo: you're probably missing the 'universe' repository, which provides mongodb packages06:45
jayjoI ran 'sudo add-apt-repository universe' and still get that error06:46
sara2010tomreyn, so how i fix this issue06:46
tomreynsara2010: 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-0406:47
tomreynsara2010: 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:49
tomreynsara2010: you can also try conecting the scanner itself to a different usb bus while reducing the number of other USB connected devices06:50
tomreynsara2010: to further debug the device enumeration issues, you can use the "udevadm monitor" command, running it before you connect the scanner06:51
tomreynsara2010: 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
sara2010tomreyn okay06:53
tomreynINTELGENERATOR: it will already be installed, just the package name differs. what'S the problem you are trying to solve?06:54
tomreynINTELGENERATOR: apt search xserver-xorg-video-intel06:54
unixbsdhello07:04
unixbsdwe teach on ubuntu virtual machine the skills of programming GTK graphical frontend, maybe you wanna learn on course online to dev for ubuntu.07:05
stevecamUser funmade is spamming your visitors with invites to their discord07:23
sara2010hmmm07:30
sara2010still issue not solve :(07:30
Ubun00byhello could someone help me with a systemd script please?07:48
drag0niusi'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 seconds07:50
drag0niusany idea whats going on and how to fix?07:50
Ubun00bydrag0nius: what is the memory usage? perhaps increase and/implement memory swap07:51
tuxinatordrag0nius: "WARNING: apt does not have a stable CLI interface. Use with caution in scripts."08:03
tomreyndrag0nius: could be hardware problems, see dmesg / journalctl -k08:04
tuxinatordrag0nius: see manpage https://manpages.debian.org/buster/apt/apt.8.en.html section scripts08:05
=== David3k__ is now known as David3k
sara2010hmmm08:09
sara2010any news for me08:10
sara2010Ā [ Error writing /sys/bus/usb/devices/usbpower: Permission denied ]08:21
sara2010root@wa-1:~# sudo nano /sys/bus/usb/devices/usbpower08:21
sara2010any one help me08:22
tomreynsara2010: 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
tomreynso far you provided an error message, and a command, which may have triggered this error message. but there's no context.08:25
sara2010tomreyn , i m create new bash script file , but it sys permission error08:33
sara2010tomreyn in ubuntu 18.0408:33
unixbsdsomebdy, are you maybe using gtk devel to make softwares?08:33
tuxinatortomreyn: how do you run it?08:36
tuxinatorcan you show ls -al08:36
diskinsara2010, you can't create files in /sys. See https://www.reddit.com/r/linux4noobs/comments/26fnd9/sys_permission_denied/08:44
locsmif_workWhat is a good desktop recorder if you have a multi-monitor setup08:47
pahi folks08:49
pai'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/y0hZDi208:49
EriC^^pa: https://askubuntu.com/questions/1045542/how-to-stop-snapd-from-auto-updating08:56
paer08:57
paEriC^^, thanks! im on plasma, i cannot find that app.. what can i use?08:57
EriC^^pa: try to use the systemctl command to mask the service so it doesnt start anymore08:58
EriC^^it's further down in the answer iirc08:58
paright, thanks08:58
EriC^^pa: for plasma it might be "startup & shutdown - Autostart" for the startup apps gui09:00
EriC^^*-> autostart09:00
EriC^^no problem09:01
paah right, found it, but i think it's not , in there i see only 2 entries "Desktop file" and "Script file"09:01
EriC^^ah09:01
pabut i went the other way, so thanks for that :-)09:01
EriC^^alright, no problem :)09:01
=== EriC^ is now known as EriC^^
=== denningsrogue1 is now known as denningsrogue
drag0niusUbun00by 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 1009:36
drag0niusthere is nothing whatsoever in journal or dmesg09:37
drag0niusit just takes terribly long time AFTER downloading new repo list spent in high-cpu operations09:37
drag0niusFYI: this is about apt/apt-get update proceeding in the magnitude of 1% list read per 10-20 secons09:41
tomreyn"derivative"09:44
elias_aFirefox 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:44
tomreyn!derivatives | drag0nius: if, by "derivative", you referred to a ubuntu-lookalike installation09:45
ubottudrag0nius: 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:45
tomreynelias_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:48
tomreynyou 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:50
drag0niusi mean like i took the base box, then provisioned it with my configration installing ~50 packages, few snaps and configured the services running in it09:51
tomreyndrag0nius: so it's based on a golden image?09:51
tomreynif so, how was that produced?09:52
drag0niusi've multi-stage packer setup running simple python scripts (run apt, write config files, restart services etc.)09:52
tomreynmy main question is: did you initially install ubuntu, and how?09:53
drag0niusthen 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 tries09:53
drag0niusit's https://app.vagrantup.com/ubuntu/boxes/focal64 except i granted it 16 GB of RAM and 100% of 4 CPU cores09:54
drag0niusbasically each of 4 stages runs apt-get update then apt-get install09:54
tomreynso, 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.com09:56
elektrinishi09:57
elektrinisI have noticed my USB3 port operates in USB2 mode (45MB/s max data transfer)09:57
elektrinisdo I need to install something?09:57
tomreyndrag0nius: 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 of10:00
tomreynthe apt actions you perform?10:00
drag0niusi've definitely added the Docker repository and that's it for modifying apt configuration10:02
drag0niushow do i get that debug output?10:02
tomreyndrag0nius: and the apt signing key, too?10:03
drag0niusyeah10:03
tomreyn-o Debug::Acquire::http=1 -o Debug::Acquire::https=110:04
tomreynelektrinis: 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 !mainline10:08
drag0niustomreyn: https://gist.github.com/bec-zt8/38b613595f48c95e5f78f5a15c08d43d nothing unusual in here10:09
tomreynelektrinis: this can also be a matter of your mainboard firmware configuration ("BIOS"), or a bug therein (firmware upgrades *can* help)10:09
drag0niusexcept it's on 22% after ~2 minutes before i typed in gist url :P10:10
elektrinistomreyn thanks, will try.10:10
lotuspsychje!biosupdate | elektrinis suggested by tomreyn10:10
ubottuelektrinis suggested by tomreyn: To see how to update your bios on Ubuntu visit the community collected methods here: https://help.ubuntu.com/community/BIOSUpdate10:10
tomreyndrag0nius: ah, so the download stage isn't the problem but it gets stuck during reading the package list?10:11
drag0niusyeah10:12
drag0niusactually had a command typo (https and httpss) but that doesn't matter10:12
drag0niusparsing/reading/whatever the list takes painfully long10:13
tomreyndrag0nius: 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:14
elektrinistomreyn well now I get USB3 speeds. Not sure what was wrong. Thanks anyway.10:15
drag0niusnope, i'm behind corporate proxy10:15
drag0niusi've actually updated the git at rev 210:19
tomreynelektrinis: a bad usb device, or just insufficient power to properly power all attached devices could cause this.10:19
elektrinismaybe.10:20
elektrinisor maybe it was USBA->USBC adapter, which, now I think, does not have the lanes.10:21
drag0niusapt-get upgrade has exactly the same issue10:22
tomreyndrag0nius: there's debugging code for this, too, see apt.conf(5)10:22
drag0nius`apt list --installed` takes forever too i guess10:22
tomreynmaybe the storage is just slow?10:23
drag0niuseverything else seems to work fine10:23
tomreynanything in dmesg?10:23
tomreynsystem date wrong?10:24
drag0niusdate is fine10:24
drag0niusonly dockerd messages in dmesg10:24
drag0niusmaybe i could do something to reset the apt storage?10:25
elektrinis~$ sudo udisks --detach /dev/sda10:25
elektrinissudo: udisks: command not found10:25
elektrinisam I doing something wrong?10:25
elektrinisudisks seems to be installed10:25
tomreyndrag0nius: you can   rm -r /var/lib/apt/lists/10:26
drag0niustried that before i think, doing it again10:26
tomreynelektrinis: just because a package of name 'somepackage' is installed, doesn't mean there will be a command 'somepackage'. use udiskctl10:27
drag0niusmaybe there is something i could run to benchmark storage?10:27
elektrinisfound the command on some guides online10:28
elektrinisbut ok.10:28
drag0niusi didn't notice anything else having issues (i'm developing in IntelliJ, running stuff in docker container etc.)10:31
tomreyndrag0nius: 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:32
cube1I'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:43
cube1Language Support -> Keyboard input method system -> IBus/XIM/none - Got it!10:45
mr_johnsiejoin #c#10:57
charolastrahow much space is needed to apt install the kernel header .deb? got a VM with 700Mb free disk space but unzipping still fails11:15
EriC^^!info linux-headers-generic | charolastra12:12
ubottucharolastra: 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 kB12:12
charolastrawell, generic is just the pointer to the current version12:13
EriC^^yup12:13
EriC^^!info linux-headers-5.4.0-65-generic | charolastra12:13
ubottucharolastra: 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 kB12:13
EriC^^seems 14mb12:13
charolastrayeah, shouldn't be that much but installation fails even with >700mb free disk space12:14
xamuawhat's the error?12:14
charolastraunable 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 device12:14
EriC^^charolastra: are you doing it as root? i think 5% is reserved for root12:14
charolastraand 'df' says: /dev/sda1       6.9G  5.8G  736M  89% /12:15
charolastraand yes, directly as root12:15
EriC^^charolastra: inodes good? df -i12:16
xamuaand df -i /dev/sda112:16
Vatumgfgd12:16
charolastra905 free inodes12:17
EriC^^charolastra: that might be it, dpkg -L headers... | wc -l shows 9000+ files/dirs12:18
charolastrayeah, so each file inside the archive needs a inode while unpacking?12:18
=== mIk3_09 is now known as mIk3_08
EriC^^those are the files that it installs to the system, not the archive12:18
charolastraok, any way to get more free inodes?12:20
EriC^^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 up12:20
EriC^^any service running that writes a lot of tiny files?12:21
charolastracan't think of much. it's a VM that serves a few websites and the SQL DBs for those12:21
charolastraactually it's a single wordpress instance on that one12:22
EriC^^are you sure df -i shows 905 left or used? whats the percent free, dont mean to be rude12:23
EriC^^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 there12:25
charolastradon'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:26
EriC^^ok, hopefully the find command can show what's the culprit12:27
elektrinisi have added two HDDs to my setup and I can hear they are being accesed constantly, even though they are empty.12:28
elektrinisis this normal?12:28
charolastraEriC^^: thanks! the most inodes are in the various /usr/src/linux-headers-x.x.x and in /var/lib/dpkg/info12:33
famubuHi. 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 happens12:44
famubuoccassionally 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.0412:44
Inteloany clues? https://imgur.com/3hVOZjX.png12:46
geirhayou're trying to install 18.04 packages on a 20.04 system? that's not really supported12:48
BluesKajHi folks13:11
BozwellHi 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:21
garoWhen 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 framebuffer13:22
garoOr even better: does it do this automatically ?13:22
MaikBozwell: not sure if this is helpful: https://davescomputertips.com/how-to-network-sharing-with-lubuntu/13:26
BozwellThanks Maik13:29
Maikyw13:29
Intelogeirha: what should I do?13:29
Intelogeirha: you are correct. what is the 20v package?13:29
lotuspsychjegaro: try #ubuntu-server if you like13:29
xamuaIntelo: apt install mysql-client ?13:30
geirhathe apt-cache policy command you ran shows that there are three versions available. Those are the ones you can choose from13:30
geirhaIntelo: ^13:30
garonevermind, i tried in a vbox :-)13:35
garo(it supports it, if you are fast enough to enter grub)13:35
trupsalmsmorning my cp -Rf /mnt/ /nfsshare/ubuntu18 isn't working as expected, its copying /mnt instead of the contents of /mnt13:39
Habbietrupsalms, is that the -exact- command you typed?13:39
Habbietrupsalms, oh, you mean it is copying the content of mnt into a new folder also called mnt?13:40
trupsalmsyes yes13:41
trupsalmsi need it to copy the contents of mnt into ubuntu1813:42
Habbieright13:43
Habbieusing the trailing slashes in a different way might help13:43
=== jerry1 is now known as jerry
=== mikesmoniker_ is now known as mikesmoniker
=== parallax_ is now known as parallax
=== billybigrigger3 is now known as billybigrigger
trupsalmscp -Rf /mnt/ /nfsshare/ubuntu18/13:46
trupsalmscp -Rf /mnt /nfsshare/ubuntu1813:46
Inteloxamua: geirha I want 5.7 v of mysql on ubuntu 2013:50
Inteloxamua: geirha but now I am in a dependency and compatibility issue it seems13:51
InteloI followed tutorials like https://www.digitalocean.com/community/questions/how-can-i-properly-downgrade-from-mysql-8-to-5-7-on-ubuntu-20-0413:51
trupsalmscp -R /mnt /nfsshare/ubuntu18/13:52
Inteloxamua: geirha there?13:55
InteloI 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.png14:04
Inteloany clues?14:04
tuxinatorIntelo: mixing amd64/x64 packages with i386 ?14:10
Intelotuxinator:  no idea14:11
Intelotuxinator: how can I fix?14:11
=== yn_ is now known as yn
tuxinatordid you try the suggested command?14:16
SteelRosehi all14:17
tuxinatorHi14:17
SteelRosehas 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:19
tuxinatorSteelRose: would probably be better to just host an internal mirror14:20
SteelRosefor CentOS is easy because the syntax is quite straighforward but in Ubuntu I have entries like: deb http://ch.archive.ubuntu.com/ubuntu/ bionic universe14:20
SteelRose  ... and I have no idea hw to handle this14:20
tuxinatorthat way you download only 1 time14:20
SteelRosetuxinator: 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 solution14:21
SteelRosehence me asking about the reverse-proxy configuration14:22
tuxinatorwell i would do it the mirror way14:22
tuxinatoror setup a proper proxy to the internet, actually a reverse-proxy seems a bad and wrong solution14:23
SteelRosesorry... I meant forward-proxy14:23
SteelRosefrom 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 proxy14:24
lusrxdoes the "--disabled-password" option when creating user only create a blank (empty) password or disallow use of passwords?14:26
SteelRoseso... anyone? :-)14:26
tuxinatorwell forwardproxy means something like squid14:26
tuxinatorI think you should first ensure you understand the difference of proxy vs reverse-proxy and after that consider a solution14:27
tuxinatorDoing it the wrong way against any good practice would be -> Reverse Proxy14:27
tuxinatorthe best or good practice would be -> Proxy or Local mirror14:27
tuxinatorfor the local mirror option:14:28
tuxinatoradvantage: download 1 time, LAN is normaly more reliable than a internet-connection14:29
tuxinatordisadvantage: need 1 tb space -> however could be put on an external disk as if it is lost you just do a resync14:29
tuxinatorbtw operating the tuxinator mirrors since 15 years or so14:29
SteelRosetuxinator: I understand the differences mate :-)14:30
pizzaburgerHi! 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:30
tuxinatorSteelRose: seems not to me, as you would never consider a Reverse-Proxy for your usecase normaly then14:31
tuxinatorProxy=you don't want direct internet connection without scanning and direct IP routes to the internet and or caching14:32
tuxinatorReverse-Proxy: you want to hide your backend servers and maybe do some security scanning and filtering (modsecurity etc.) and/or do loadbalancing14:32
xamuawithout 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 space14:32
tuxinatorxamua: yeah i was also thinking about the size14:33
tuxinatorlet me check on my tuxinator14:33
tuxinatorwill just do some "du" there14:34
SteelRosetuxinator: really, there is no need to patronise :-) I've been dealing with several r-proxies today and got confused during my question...14:34
InteloWhat is wrong here? https://imgur.com/Tbm7Tc5.png14:34
Intelotuxinator: which one?14:34
tuxinatorIntelo: in your previous command it suggested a command14:35
tuxinatorIntelo: read your output before asking here ,-)14:35
geirhaIntelo: 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 os14:36
geirhaI'd first check if mysql's repo at least has ubuntu 20.04 packages14:36
oerheksgood spot, geirha14:36
geirhaYou 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 manager14:38
Intelotuxinator: I missed. can you tell?14:42
=== sonOfRa is now known as everyone
=== everyone is now known as sonOfRa
oerheksIntelo, just remove the wonky repo?14:44
Intelogeirha: how did you came to know that exact version? where did you see it?14:45
Intelogeirha: oh I get it. doing onw14:46
Intelooerheks: am.. I want 5.7 msyql in ubuntu20.14:46
Intelooerheks: don't know whats best14:46
tuxinatorok i cant provide mirror size requirements for bionic only14:47
leftyfbIntelo: don't. If you want 5.7, run it in a container running 18.0414:47
tuxinatordon't understand how to achieve at the moment (long time since last studied package linking stuff etc) maybe somebody else can14:48
SteelRosetuxinator: rsync foobar --dry-run should help14:49
SteelRoseand also --stats14:49
lordcirthI 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
tuxinatori want to count localy and i use ubumirror as recommended (atleast when i installed the mirrors)14:50
elias_atomreyn: Thanks. Not using add-ons is not an option really as I use both Privacy Badger and NoScript as a default precaution. :)14:53
sybaritenhey'all14:57
sybaritenso i couldnt help notice a bit of a difference in funcionality14:58
sybaritenI'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 $username14:59
sybaritenIf 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?14:59
lordcirthsybariten, the gist is that most desktop Linux distros run a daemon that mounts external drives for you, without you needing root.15:00
oerheksif a partition does not mount, what filesystem exactle?15:01
leftyfbsybariten: the mounts are mounted as $user which is why you see the ownership as $user. Write access to /media requires root15:01
sybaritenleftyfb: 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
lordcirthsybariten, as root/sudo, you can use chmod to change the ownership to your user.15:03
lordcirthSorry, chown to change ownership, chmod to change permissions15:03
sybariteni 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:03
leftyfbsybariten: you can mount the drive as the $user15:04
oerhekskeep /mnt/  for manual, and /media/  for automount15:04
sybaritenleftyfb: i thought if anything "on top" would be root owned, it would be a problem drilling further down15:04
sybaritenoerheks: should that be the standard procedure?15:04
lordcirthsybariten, if you have x permission to a dir, you can follow paths below it. If you have r, you can ls it15:05
lordcirthSo it can be root-owned but allow rx15:05
sybaritenx is not so important as we are talking about different OSes here but i would need write permission...15:05
sybaritenOK i did as you said, worked a charm, guys, Thanks!15:08
Shadowbird2468Greetings! 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/78dP2MZG15:54
regedithello - 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:56
Shadowbird2468I'm using Ubuntu 20.0415:57
leftyfbregedit: on the ubuntu server run: sudo lsof -i :2216:02
regeditleftyfb: 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
leftyfbShadowbird2468: 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 ask16:03
leftyfbregedit: yes16:03
ramsterregedit yes try with -p 2222216:04
kk4ewtwhy a netscan will show where it is16:04
Shadowbird2468yea, 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 works16:05
regeditCOMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME16:05
regeditsshd 804664 root 3u IPv4 25816159 0t0 TCP *:22222 (LISTEN)16:05
regeditsshd 804664 root 4u IPv6 25816161 0t0 TCP *:22222 (LISTEN)16:05
Shadowbird2468*wrong16:05
leftyfb!paste | regedit16:05
ubotturegedit: 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:05
regeditah ok sorry16:06
leftyfbShadowbird2468: you'll need to seek support from the ubports/touch project for help installing it16:06
leftyfbShadowbird2468: it's not officially supported anymore16:06
leftyfbregedit: looks like it's listening16:06
Shadowbird2468yes16:06
leftyfbregedit: on the client machine, run: sudo nmap -p 22222 <ip.of.server>16:07
leftyfbregedit: also, make sure you can ssh from the server to the server16:07
regeditleftyfb: that works16:07
regeditiptables maybe? is it "safe" to paste my iptables online? no sensitive details? šŸ˜›16:07
regeditsame for sshd_config16:07
leftyfbregedit: try flushing iptables, then try to ssh16:07
regeditwhat does flush mean - does that delete rules and stuff? some rules i might not want to lose... šŸ˜¬16:09
leftyfbregedit: yes. This is for testing. Put them back when you are done16:10
regeditah ok so need to back up first ok16:10
slingamnbelatedly, 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.pyc16:11
leftyfbregedit: wait, you don't have any rules loaded?16:12
leftyfbregedit: sudo iptables -L -n16:12
regeditleftyfb: i think i do see some stuff there16:12
leftyfbregedit: to flush: sudo iptables -F16:13
regeditleftyfb: and to restore?16:13
leftyfbregedit: depends on how you loaded them16:13
regeditleftyfb: no idea how previous rules got there... but i ran "iptables-save" and "ip6tables-save" and output to saved files16:14
regeditcurrent iptables -L -n output: https://paste.ubuntu.com/p/xCZ7MsYNck/16:15
leftyfbregedit: you don't have port 22222 open16:17
regeditoh16:17
regeditwhat about port 22 is that open?16:17
leftyfbregedit: look at your pastebin. Do you see the number "22" anywhere in it?16:18
regeditah 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:19
regedittrying 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:21
regeditso is this the command i need? `iptables -A OUTPUT -p tcp --sport 22222 -j ACCEPT`16:25
leftyfbregedit: INPUT16:26
regeditah16:29
regediti 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:29
leftyfbregedit: I personally use: -A INPUT -p tcp -m state --state NEW -m tcp --dport 22222 -j ACCEPT16:30
regeditok lemme try that šŸ¤·ā€ā™‚ļø wth16:32
regeditoh whoops looks like my previous paste had a lot of text missing16:36
regedithttps://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_config16:38
regedithow do i remove the rule i just added leftyfb ?16:38
LutinIf I want to kill a process on a file change with inotify shoud I use a oneliner or a script ?16:41
leftyfbregedit: you should read through something like this: https://www.digitalocean.com/community/tutorials/how-to-list-and-delete-iptables-firewall-rules16:41
regeditawesome thanks16:41
akemHey, i try to install woeusb i added the repository but it does not find the package, any idea,16:43
oerheksakem the repo? ppa:tomtomtom/woeusb16:47
leftyfbakem: sudo apt update16:48
arnjeCan 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 restarting16:50
nunya_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:52
nunya_The Explore and Update tabs work fine. Just the Installed tab shows nothing.16:55
nunya_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:01
oerhekswhat happens if you run update before entering softwarecenter?17:02
oerheksthat would trigger snap refresh too17:03
nunya_<oerheks> sudo apt-get update ?17:03
nunya_<oerheks>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
akemoerheks, leftyfb, thx, i was able to install it from the .deb file instead. update didn't change anything.17:05
oerheksi would run; sudo apt update && sudo apt full-upgrade17:06
oerheksto avoid packages held back17:06
oerheksnunya_, this is unusual behaviour, though you were not the only one; did not find the fix yet.17:07
nunya_<oerheks>who are you speaking to? Me or akem?17:08
oerheksnunya_, you17:08
nunya_<oerheks>re  i would run; sudo apt update && sudo apt full-upgrade17:08
nunya_<oerheks> to avoid packages held back17:08
oerheksjups, like a kernel or such important update17:09
unixbsdhello,17:14
unixbsdHow to ./configure  mutt to have SSL + UTF8 ?    I have no UTF8 in ubuntu links package.17:15
unixbsd(compilation from src).17:15
nunya_<oerheks> A  lot of stuff was updated and upgraded. Hopefully this solves the problem.  https://paste.ubuntu.com/p/mm27KQXwjX/17:18
thopiekarFor the 21.04 users/testers here... Do you also have issues shutting down your computer?17:18
thopiekarFeels like I have no permissions :/17:18
oerheksnunya_, good, reboot after that17:18
TJ-unixbsd: the packaging already does that does it not? so check the debian/rules makefile17:18
oerheksthopiekar, for testing, join #ubuntu+1 for now17:19
thopiekarThansk oerheks!17:19
thopiekar*thanks17:19
nunya_<oerheks>Thanks!17:20
=== Ringtailed-Fox is now known as RingtailedFox
nunya_<oerheks>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 for17:36
nunya_trying to help.17:36
dfreyI 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 shebang17:43
dfrey"#!/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:43
TJ-dfrey: generally /usr/bin/python is a symlink to the default/preferred python version17:45
oerhekspython2.7 is dropped in 20.0417:45
oerheks!info python-is-python317:46
ubottupython-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 kB17:47
=== ijohnson is now known as ijohnson|lunch
locsmif_workAny reason why bluetooth would refuse to connect to a speaker but would work after a reboot?17:52
ExcessiveAggromorning!  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?17:56
tomreynExcessiveAggro: edit or delete its configuration, which can be in ~/ or ~/.config or ~/.local/{etc,share} or in the gsettings DB.18:03
SCHAPiEExcessiveAggro: If you use an application switcher in a taskbar of some sort, you could possibly rightclick -> maximize?18:03
leftyfbExcessiveAggro: try https://unix.stackexchange.com/a/35931118:04
TJ-ExcessiveAggro: on the taskbar right click it and choose Resize then use cursor keys18:04
ExcessiveAggroYou all are the best - thanks I will get to looking at all of these18:04
ExcessiveAggroTJ the right click option doesnt show resize unfortunatley.  However I also just found this: https://extensions.gnome.org/extension/1240/cascade-windows/18:05
oerheksalt tab ..18:05
ExcessiveAggrooerheks - 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 pixel18:05
ExcessiveAggroThe cascade app i just pasted worked but I'm going to check out the other suggestions for my own knowledge.  Thanks all18:06
TJ-ExcessiveAggro: ahhh, Gnome strikes again!18:06
WaltS48Any progress on getting Thunderbird 78.x.x into the Software Updater repo? Version 78.7.0 was released this week.18:06
oerheks Alt + F8 to resize. Use the arrow keys to move or resize,18:06
oerhekshopla18:06
ExcessiveAggrooerheks - GENIUS!  thank you18:06
CrazyLikeAFoxIs there a way to chage what the 'default' display mode is when no EDID data is present?18:25
CrazyLikeAFoxThe 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 machine18:27
oerheksput it hard in a xorg.conf?18:27
CrazyLikeAFoxI think I ned EDID anyways though because I can't interact with the bios or grub either :T18:27
oerhekswhat do you mean with ' interact with the bios or grub'??18:28
CrazyLikeAFoxI have no video during boot because the motherboard isn't outputting the correct mode18:29
CrazyLikeAFoxI do have an edid spoofer, I can get the resolution right but it doesn't have an option for the correct refresh rate18:33
CrazyLikeAFoxI actually found some software and guides for making EDID files, but no mentiomn of what hardware is used to inject it18:52
Intelotuxakadjseb: geirha oerheks leftyfb    it worked. Someone just didn't told a newbie to use 5.7.33-1debian9 else than geirha18:55
shinobiCan 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.18:56
=== sauvin__ is now known as Sauvin
crstHi, how can I figure out why my netplan doesn't stick?19:35
crst20.04 here btw.19:36
crstI run netplan apply and after a couple of seconds the applied plan reverts to something different.19:37
regeditthanks for all the help leftyfb šŸ‘19:41
rfmcrst, are you running netplan rendering to networkd but also having NetworkManager active?19:41
leftyfbcrst: if you're running the desktop environment, you don't use netplan to manage your networking, you use network manager in your settings GUI19:42
crstIt's a server without gui19:42
crstIt works on Ubuntu 18 not sure what's wrong here.19:44
crstrfm: NetworManager doesn't seem to run19:45
crstsystemd-networkd is running fine19:45
TJ-crst: which renderer have you configured?19:45
TJ-crst: could it be some cloud-init config? have you checked for additional yaml files in /etc/netplan/ ?19:46
crstTJ-: 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
leftyfbcrst: try removing cloud-init19:47
TJ-crst: ok, so default renderer is systemd-networkd19:48
leftyfbcrst: wait, provider?19:48
crstleftyfb: It's a dedicated server without cloud-init in the first place19:48
TJ-crst: look at the generated files in /run/systemd/network/19:48
leftyfbcrst: cloud-init is installed by default now. If it wasn't, then it's not a default install19:48
TJ-crst: check if there are more than 1, and if they have conflicting settings19:48
TJ-crst: so you've got TWO netplan yaml files?19:49
TJ-On a related note, I do get annoyed at how difficult it is to enable verbose logging in systemd-networkd19:51
crstleftyfb: Ah ok. There is no cloud-init here. It's the default image from Hetzner I use here.19:51
leftyfbcrst: sounds like it's not an official ubuntu image19:52
crstTJ-: There is indeed. There's a 10-netplan-enp35s0.4001.netdev and a 10-netplan-enp35s0.4001.network that are conflicting.19:52
crstleftyfb: I'm sure it's a bit modified by the provider.19:53
TJ-crst: .netdev and .network do different thinks.19:53
TJ-things19:53
TJ-crst: naming looks like you're doing VLAN19:53
crstTJ-: Indeed. I use it for a subnet of public IP's.19:55
crstTJ-: Actually the files diff but are not really conflicting, sorry about the confusion19:56
TJ-crst: so how does the applied config change? you said "something different" but what - that might help us figure out what is happening19:57
TJ-crst: the .netdev presumably just has [Netdev] Name=enp35s0.3001 Kind=vlan [VLAN] Id=400119:58
TJ-grrr, typo19:58
crstTJ-: 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
TJ-crst: what is this 'it' - are you configuring some policy routing?19:59
chalcedony`greetings :)19:59
crstTJ-: Correct about the netdev19:59
CrazyLikeAFoxOioioi20:00
CrazyLikeAFoxI just found somebody that made, and published, arduino code for this20:00
leftyfb!ot | CrazyLikeAFox20:01
ubottuCrazyLikeAFox: #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
CrazyLikeAFoxWhoops, wrong tab20:01
crstTJ-: 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
CrazyLikeAFoxBut it's hardware level fix to my earlier EDID problem (I'll take it to the tab I meant to type into)20:02
TJ-crst: and is netplan creating those, and are they ending up defined in /run/systemd/network/enp35s0.4001.network in "[RoutingPolicyRule]" section?20:02
chalcedony`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:05
TJ-chalcedony`: you need to pass the display number; generally: "DISPLAY=:0.0 xrandr -q" or "xrandr --display :0.0 -q"20:06
sarnoldchalcedony`: 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 then20:06
chalcedony`Hi TJ. I think I will get Display 0 doesn't exist or so.20:07
TJ-chalcedony`: is this before or after the login greeter?20:07
chalcedony`i'm logged in TJ20:08
TJ-chalcedony`: I mean for the GUI20:08
=== ijohnson|lunch is now known as ijohnson
TJ-chalcedony`: if the GUI session hasn't logged in we'd need to locate the .Xauthority file belonging to gdm320:08
chalcedony`didn't login on the gui. TJ-20:08
TJ-sarnold: isn't it under /tmp/ somewhere?20:09
TJ-chalcedony`: do you find one doing this: "sudo find /tmp -name '.Xauthority' -ls"20:09
chalcedony`sudo find /tmp: command not found TJ-20:11
* TJ- blinks20:11
sarnoldwow20:11
jadaxhi, I'm trying to $ sudo apt install <pkg> but it errors out saying that couldn't get lock as it's held by process (unattended-upgr)20:11
jadaxsince last 15min20:11
jadaxcan/should I kill that process?20:11
crstTJ-: 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:12
crstSomething seems to be interfering with the rules and i don't know what.20:13
TJ-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
sarnoldjadax: 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
TJ-crst: is this a new 20.04 or a release upgrade from an earler release?20:13
jadaxsarnold if I wait for next 30 min, will it finish perhaps?20:13
crstIt's the latest stable20:14
jadaxis there any place I can see what is actually going on and see maybe some progress bar?20:14
sarnoldjadax: there's a chance, especially if your network is kinda slow or something..20:14
TJ-crst: OK so it hasn't inherited any config from an earlier release - makes things easier20:14
crstRight, it's pristine and freshly setup from scratch20:14
sarnold/var/log/unattended-upgrades/unattended-upgrades.log and /var/log/unattended-upgrades/unattended-upgrades-dpkg.log20:15
chalcedony`jadax try top in console20:15
TJ-chalcedony`: what does "which find" report?20:15
chalcedony`TJ- /usr/bin/find20:16
TJ-chalcedony`: ok, and "which sudo" ?20:16
jadaxchalcedony` it just finished ^_^20:17
jadaxI guess it was worth waiting20:17
TJ-chalcedony`: trying to figure out why you got "command not found"20:17
chalcedony`TJ- /usr/bin/sudo20:17
TJ-chalcedony` and I hope " echo $PATH | grep -o /usr/bin " reports /usr/bin20:18
chalcedony`TJ- don't hate me. that gets nothing.20:25
TJ-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' :s20:25
shinobiIs there no firmware for the intel AX200 in 20.04?  The firmware was first supported in kernel 5.1. I'm running 5.820:26
chalcedony`TJ- the drive was kind of messed up. fsck -y was needed. Maybe that did something?20:27
TJ-chalcedony`: so far it looks like that system is severely messed up; likely by the file-system corruption20:27
chalcedony`Wait TJ- no space after $ it worked now :)20:28
chalcedony`my husband is making me sit way over here.. it's hard to see everything.20:28
leftyfbchalcedony`: echo $SHELL20:29
chalcedony`leftyfb /bin/bash20:29
TJ-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:33
chalcedony`TJ- maybe add pastebinit to that?20:34
TJ-chalcedony`: " pastebinit <( /usr/bin/sudo /usr/bin/dpkg --verify | grep -v /etc/ ) "20:34
chalcedony`it's working.. waitng.20:38
TJ-chalcedony`: could take a while on spinning disks20:41
chalcedony`ok20:41
chalcedony`i'll highlight you when i notice it's finished then, TJ- and thank you and leftyfb too :)20:42
=== pasiz_ is now known as pasiz
=== kjartan_ is now known as kjartan
arnjeAnyone 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 update21:13
arnje*after i install a driver*21:14
sarnoldarnje: it should be enough to run ubuntu-drivers to install whatever is needed21:24
DreamPCSGood 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
DreamPCSSo, 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:28
lordcirthchalcedony`, 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:37
leftyfbDreamPCS: https://linuxize.com/post/how-to-install-and-configure-samba-on-ubuntu-18-04/21:38
Tas-sosI 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
Tas-sosI'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
Tas-sosBut, how can I see beautifully - the collected logs ?  The only way is with  grep  tool ?21:45
Tas-sosIsn't there something more modern, something easier to manage than writing regex with grep ?21:45
Tas-sosSomething like... for example at least a "htop" tool for logs ?21:45
dlami'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:47
sarnoldTas-sos: it's usually considered rude to cross-post questions21:48
summonnerTas-sos, splunk maybe21:52
summonnerthey have a channel, don't know how active it is21:52
leftyfbTas-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 logs21:55
Tas-sosleftyfb: multitail ? I don't know, looks interesting for a first step! Thank you!22:14
Tas-sosVery interesting! Thank you! Now.. after this first tool.. ?22:15
=== halvors1 is now known as halvors
scoffinis there any repo that includes ROXterm for 20.04 ?22:43
leftyfbscoffin: looks like that might be a dead project. Maybe look at terminator22:48
scoffinleftyfb: thanks, it looks like terminator DOES respect the "geometry" spec, unlike gnome-terminal22:56
Sirisian|WorkI 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:25
Maik!discuss | Sirisian|Work23:33
ubottuSirisian|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
Maikand a antivirus isn't needed on linux23:33
sarnoldit sometimes is23:34
Sirisian|WorkThank 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
sarnoldit's handy to scan at email servers or samba fileshares to protect the windows machines23:34
=== ustrin_ is now known as ustrin
=== panzeroceania_ is now known as panzeroceania
=== jakesyl_ is now known as jakesyl
=== boxrick_ is now known as boxrick
Maikmy goodness, if it isn't Matrix it's irccloud....23:38
Maiksarnold: some say windows users should protect their own stuff. On linux ClamAV and other antivirus give more false positive than anything else.23:39
sarnoldMaik: but windows users wind up disabling their AV all the time because it busts stuff (no real surprise :)23:39

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!