[00:24] David--: do you have openvpn 2.4.7 ? does "sudo apt install -f" fix the dep? [00:24] hey pavlos: i'm not sure which version is installed now [00:24] i'll try that command, 1 second [00:24] David--: openvpn --version [00:25] you're on focal? [00:25] OpenVPN 2.4.9 [00:25] that command didn't fix it [00:25] not sure what focal is? [00:25] ubuntu 20.04 [00:25] 18.04 if i remember [00:26] Linux version 4.15.0-117-generic (buildd@lcy01-amd64-008) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #118-Ubuntu SMP Fri Sep 4 20:02:41 UTC 2020 [00:26] VERSION="18.04.5 LTS (Bionic Beaver)" [00:26] lsb_release -a [00:27] Description: Ubuntu 18.04.5 LTS [00:27] if you remove openvpn and try to re-install ... sudo apt remove openvpn; sudo apt install openvpn [00:28] i have a feeling i might have installed a respository that it's pulling it from that might not be compatible [00:28] tried that and it fails [00:28] same error each time [00:28] can you comment out that repo? /etc/apt/sources.list.d/badrepo [00:29] badrepo would appear as repo.list, comment out the deb lines, then do sudo apt update to get your system to a clean state [00:29] so these are the repos in that directory: download_docker_com_linux_ubuntu.list google-cloud-sdk.list openvpn-aptrepo.list [00:29] i have a feeling the openvpn one needs to go? [00:30] so how do i remove it please? [00:30] just delete it? [00:30] you mean the openvpn-aptrepo? [00:30] yeah [00:30] is it safe to just delete that file? [00:31] you could just del it or open it with an editor and comment out the deb lines [00:31] i'll comment it out, probably safer [00:32] or move it to openvpn-aptrepo.orig [00:32] 7 packages can be upgraded. Run 'apt list --upgradable' to see them. [00:32] thats after apt-get update [00:32] running an upgrade [00:33] when done, sudo apt install --reinstall openvpn [00:33] will that get the latest version? [00:34] or 2.4.7 ? [00:34] you should get what the latest is for 18.04 [00:34] I have 20.04 and 2.4.7 [00:34] hmm still having issues during the upgrade [00:35] sudo apt install -f should fix issues [00:35] https://pastebin.com/C5VZmVNh [00:35] no still the same [00:35] rm openvpn pkg, then do update. is is clean? [00:36] https://pastebin.com/K8rTQNsS [00:36] root@plexguide /etc/apt/sources.list.d # rm openvpn pkg [00:36] rm: cannot remove 'openvpn': No such file or directory [00:36] rm: cannot remove 'pkg': No such file or directory [00:37] sorry, the actual command is sudo apt remove openvpn [00:37] still the same error pal [00:37] if i can get it removed i should be okay [00:37] apt-get update is clean now [00:37] sudo dpkg --configure -a [00:38] apt-get upgrade is giving the error with the one package [00:38] root@plexguide /etc/apt/sources.list.d # sudo dpkg --configure -a [00:38] Setting up openvpn (2.4.9-bionic0) ... [00:38] * Restarting virtual private network daemon. [ OK ] [00:38] /var/lib/dpkg/info/openvpn.postinst: 63: /var/lib/dpkg/info/openvpn.postinst: file: not found [00:38] dpkg: error processing package openvpn (--configure): [00:38] installed openvpn package post-installation script subprocess returned error exit status 1 [00:38] Errors were encountered while processing: [00:39] do you have synaptic? that has an option to fix broken packages [00:39] yeah i installed it but no idea how to use it [00:39] also, does paste many lines b/c the bot will silence you [00:40] dont paste [00:40] yeah my bad will still to pastebin [00:41] sudo dpkg purge openvpn [00:42] dpkg: error: need an action option [00:42] gives a load of options [00:42] dpkg --list openvpn would have a pi as the first 2 chars [00:42] dpkg has a different option structure than apt [00:42] iF openvpn 2.4.9-bionic0 amd64 virtual private network daemon [00:42] so it's listed this [00:43] how do i remove it then please? [00:43] I think "dpkg --force-remove-reinstreq -O openvpn" is what we want to try [00:43] and "dpkg --purge openvpn" does not purge it? [00:44] David--: follow rfm suggestion [00:44] arg no "dpkg --force-remove-reinstreq -P openvpn" is what we want to try [00:44] doesn't work [00:44] same error when trying that [00:44] which error? [00:45] the original one, i'll pastebin it, sec [00:45] https://pastebin.com/rYJGGgKH [00:46] well and truely screwed it aint i? [00:46] systemctl stop openvpn [00:47] done [00:47] try again? [00:47] meaning, apt update is clean? [00:48] yes apt-get update produces no errors [00:48] apt-get upgrade does though [00:48] good ... now, install it, apt install openvpn [00:49] https://pastebin.com/zTfe1yAR [00:49] so another repo is still messing things [00:49] same error when trying to install it [00:50] i've deleted that repo instead of commenting it out now [00:51] ok, paste the output of 'apt update' to see it is clean and which repos it touches [00:52] pavlos: https://pastebin.com/ztH1x42L [00:53] that look ok and I do not see that openvpn repo [00:53] so is there a way to remove it manually perhalps? [00:53] does dpkg --list openvpn show it? [00:54] shows: pF openvpn 2.4.9-bionic0 amd64 virtual private network daemon [00:55] apt autoremove; apt autoclean [00:55] same error pal [00:56] we are trying to manually remove but it wont play, I search for solution [00:57] thank you pavlos, I appreciate your help. It's way beyond my expertease [00:58] pls go to /var/lib/dpkg/info [00:58] im there? [00:58] there is a file, openvpn.postinst [00:59] yeah [00:59] edit that file and comment out the first line "set -e" [01:00] okay done [01:00] now, apt update [01:00] apt remove openvpn [01:00] is it clean? [01:00] apt-get update works and clean [01:01] apt upgrade [01:01] https://pastebin.com/ikPXVEqU [01:01] error removing [01:02] error when upgrading: /var/lib/dpkg/info/openvpn.postinst: 63: /var/lib/dpkg/info/openvpn.postinst: file: not found === zbenjamin is now known as Guest26773 === zbenjamin_ is now known as zbenjamin [01:02] comment out the "set -e" in the openvpn.prerm dir as we did before [01:03] done and trying again [01:04] okay getting somewhere i think [01:04] apt-get update was clean [01:04] and upgrade? [01:04] https://pastebin.com/39KRsTgA [01:04] those are the other commands i've run [01:05] it says openvpn not installed. So, dpkg --list openvpn should be null [01:05] it just kept docker-ce back [01:06] un openvpn (no description available) [01:06] so try to install it, apt install openvpn [01:06] i did rm -f /etc/openvpn first though because i got an error when trying to remove it saying that directory wasn't empty so couldn't remove it [01:06] then dpkg --list openvpn should list it [01:07] no error installing it [01:07] and: ii openvpn 2.4.4-2ubuntu1.3 amd64 virtual private network daemon [01:07] good! [01:07] i'll try updating and upgrading again [01:07] note, ii implies installed [01:08] looking good my friend :) just holding docker back [01:08] how do i update that? [01:08] oh, you need someone lese for docker, no idea. rfm can you help? [01:08] else* [01:09] that's fine, i'll leave it, it's not important... thank you so much for your help [01:09] to sum up, openvpn is installed, update, upgrade are clean (docker-ce is kept back) [01:09] i'll go read a guide how to configure it now and start it on boot properly [01:09] yeah, thank you so much, i really appreciate it [01:09] if you type, openvpn --version it should give you 2.4.4 [01:10] yes it does :D [01:10] pavlos, David-- last time I tried to do anything with docker I ended up purging all the dpkg versions and installing the snaps, before giving up on it completely (not that it didn't work, it just seemed like too much trouble) [01:10] rfm, no worries... it's working so i'll leave it... thanks for the advice [01:11] thanks guys [01:14] you could try, apt install docker-ce and I hope it will fix it [01:18] there is also, "apt --with-new-pkgs upgrade" that should upgrade docker-ce [02:05] pavlos: First command did the trick [02:05] thank you again [02:43] need help got conky working and i love it, but i cannot seem to get it to display only on the desktop it keesp showing conky over firefox , irc, any IDE i have running im using XFCE4 [03:07] hi, is there a separate channel for ufw? If not, anyone know if `sudo ufw app update foo` is broken? ex: edited SSH profile's port but doing `update` (and even `reload`) doesn't seem to update :/ [03:12] !info ufw [03:12] ufw (source: ufw): program for managing a Netfilter firewall. In component main, is standard. Version 0.36-6 (focal), package size 143 kB, installed size 826 kB [03:13] bn_work: ^ What release and the version of ufw installed ? [03:14] Bashing-om: ufw v0.35 [03:14] !info ufw bionic [03:14] ufw (source: ufw): program for managing a Netfilter firewall. In component main, is standard. Version 0.36-0ubuntu0.18.04.1 (bionic), package size 142 kB, installed size 823 kB [03:18] https://manpages.ubuntu.com/manpages/xenial/en/man8/ufw.8.html <> https://manpages.ubuntu.com/manpages/bionic/en/man8/ufw.8.html [03:18] still the same [03:21] I don't see much info in the docs about profiles, does it work for y'all? [03:41] or does anyone even use it? [03:43] bn_work: ufw has it use cases - what is your case ? [03:44] need an "uncomplicated firewall"? :) [03:45] the profile feature seemed handy so I thought I'd use it, but if it's broken then I'll probably have to add the rule manually for now [03:56] if anyone else was seeing this, I was going to open up a bug report, as there currently seems to be none [03:56] !Bashing-om === akem__ is now known as akem [05:41] Is there an upgrade path for 18.04.x to 20.04.x LTS yet? [05:42] I ran sudo do-release-upgrade but got told no go. [05:43] Justin1707: it will probably open this week, due a recently fixed bug [05:44] Justin1707: keep an eye on the status page, https://discourse.ubuntu.com/t/focal-fossa-20-04-1-lts-point-release-status-tracking/17604 [05:44] and bug #1891680 [05:44] bug 1891680 in grub2 (Ubuntu Bionic) "grub-pc needs to detect when debconf points to invalid drive and stop in preinst, before unpacking files, and also treat this as a failure in postinst" [Critical,Confirmed] https://launchpad.net/bugs/1891680 [05:50] Thanks lotuspsychje [05:50] Is there a general page where it's announced that LTS versions will get upgrades? [05:51] But great to see that blocker bugs are being worked on now instead of after breakage :) [05:58] Justin1707, FYI: officially nothing is written except it occurs AFTER 20.04.1's release, but decision is made when stability is most guaranteed. If it's not open yet, it's safe to bet there is a reason (the site listed lists main/blocker bugs, not other smaller issues that enter the final decision on turning on the 'taps' === jje_ is now known as jje [06:05] how do I connect to a channel that requires a ssl connection? [06:05] In xchat? [06:06] go to network list and edit your server to use ssl [06:06] Why the heck is there no proper way to disable snapd auto-refresh === rtudu is now known as rtud [06:08] sanroot, as I understand it, many app developers want to ensure their users have the latest fixes and thus version of the software [06:16] guiverc: Thanks for the info. Is there a way to setup so that I can get an email when an LTS release is ready (either from my server or from Canonical)? [06:18] Gone https://gitlab.com/ind3p3nd3nt [06:18] there are lots of mechanisms to get emails for ISOs being released; but the taps for upgrade aren't officially announced as it allows them to decide yes.. but have a staggered rollout (reducing hit load on Canonical servers & mirrors feeding upgraded packages) [06:18] Justin1707, ^ [06:18] Thanks. [06:20] (by ISOs I mean normal releases, including such as 20.04, 20.04.1, even daily [test] images etc) [06:43] Hi, a friend of mine recently set up a new Ubuntu installation... the live system was running fine but after the installation she gets something like "ACPI BIOS Error (bug): Could not resolve symbol." and Ubuntu does not boot... it is a fairly new HP ProBook 445 G7... any ideas? [06:45] Likely a corrupted install by my guess if it's saying couldn't resolve symbol. [06:46] Doesn't sound reasonable to me, it is obvious about ACPI? [06:47] I guess the actual problem is a faulty ACPI implementation in the BIOS... but what to do now? [06:48] could not resolve symbol usually means a file is missing [06:48] hence, corrupt install [06:48] '~' [06:48] And what does "ACPI BIOS Error" usually mean? [06:49] Also something with the install? [06:49] it probably means the program that was supposed to interact with the acpi bios is missing a file [06:49] Ok, why did such a corrupt install happen? [06:50] thats anyones guess [06:50] MAYBE theres a bios option for legacy option rom? dont know if that would make a differnece or not [06:50] You could check the hash sum to make sure the install file is not corrupted. http://releases.ubuntu.com/ [06:54] Ok, I guess I'll suggest first to try with acpi=off or acpi=strict as boot parameters... [06:57] Why there is no sane way to disable snapd auto-refresh [06:57] because theyre trying to take away your control over your own system [06:59] Is there any alternative to snap to get latest packages [07:00] flatpak [07:02] Unfortunately flatpak download speed is slow [07:05] AnySomebody, you could try to tell Linux to introduce itself as some other OS to the ACPI firmware using acpi_osi= kernel boot parameter [07:05] sometimes ACPI shows different tables / different functionality to different OSes [07:06] acpi_osi=windows or what? [07:08] sanroot: slow is better than nothing. maybe there is a faster mirror you could use? [07:10] Or acpi_osi="Windows 10", jelly? [07:12] AnySomebody, https://forum.manjaro.org/t/how-to-choose-the-proper-acpi-kernel-argument/1405 [07:12] so acpi_os="Windows 2017.2" matches Windows 10 1709 release [07:13] but they also wrote acpi_os="Windows 2017" worked but acpi_os="Windows 2017.2" did not [07:13] so who knows [07:14] I'd try acpi_osi="Windows 2017" first [07:14] (mind the typos) [07:14] Thanks :) [07:28] does anyone have a fresh ubuntu install where they can ls your /bin/ contents? Or even better, get the /bin/ of a busybox terminal? I want to see the bare minimum commands included in bin [07:28] Any idea why the live system ran just fine but the installation doesn't? Is ACPI not activated on the live system? [07:31] kill-animals why not do it yourself from a live session or isn't that a option [07:32] Maik: I don't feel like restarting, and finding a way to copy that info. [07:32] not to mention I have a complicated setup that makes live cd's very painful to use. [07:32] USB stick? [07:33] AnySomebody maybe check your bios if it's set to acpi [07:34] ... I'm not going to do that. Maybe I can just look in an iso [07:34] Then not, your problem if you don't want to [07:35] VM is another option === gabkdlly_ is now known as gabkdlly [09:05] https://www.mollyeskam.net [09:05] is envsubstr nog default in 20.04 anymore ? [09:06] *not [09:08] independent: not here please [09:09] mind if I ask a commandline question in here? [09:09] kill-animals: if its related to ubuntu sure, otherwise try ##linux or #bash [09:09] i'm IN kubuntu, lol, maybe bash would be better though [09:10] !info envsubstr focal [09:10] Package envsubstr does not exist in focal [09:10] Lutin: wrong packagename Lutin ? [09:11] !info envsubst [09:11] Package envsubst does not exist in focal [09:11] mhh weird [09:12] lotuspsychje in 18.04 envsubstr is there and not in 20.04 [09:12] !info envsubstr bionic [09:12] Package envsubstr does not exist in bionic [09:18] !find envsubstr [09:18] Found: W:, W:, W:, W:, W:, W:, W:, W:, W:, W: (and 11646 others) http://packages.ubuntu.com/search?keywords=envsubstr&searchon=names&suite=focal§ion=all [09:19] I am trying to try logrotate configuration. The problem is it os not compressing rotated logs even if compress option is specified. https://paste.ubuntu.com/p/2phjbyhZqC/ [09:51] Hi, I need to debug my audio settings; I have an expensive sound card from m-audio and hear clicks. Suspects are among others, the sample rate and resampling algorithm to pulseaudio. I tried to change them in .config/pulse/daemon.conf but am unsure if it works. How to be sure? I tried e.g. setting sample rate at 8000 but the audio quality is still exceptional. I restarted pulseaudio. [10:00] Will ask in #pulseaudio [10:15] Gone https://gitlab.com/ind3p3nd3nt [10:21] independent: please dont post random url's in here please === Wryhder is now known as Lucas_Gray [10:30] is there any difference hardware wise what is supported by server vs desktop ... didnt know if it was like windows where the desktop version is crippled in some way [10:33] Donavan01 eh ? [10:34] Donavan01: no i think it's the same [10:34] thanks [10:34] lutin sorry inst 6:30 in the morning here I cant promise what I'm saying is making sense at this point [10:36] one other question.... if I want to set up a file server that has a web access feature simple but effective whats my best option for doing that in ubuntu [10:45] hey, i'm trying to set up a few ubuntu servers automatically using preseed. my current problem is that netcfg/disable_dhcp and the other options to set static IPs for an interface will not work due to netplan. If i don't specify any other options, the installer will write an /etc/network/interfaces file even though the system uses netplan and if i set d-i netcfg/do_not_use_netplan boolean true the system will not write to [10:45] the interfaces file, claiming that the system is configured to use netplan. This seems wrong, am i misunderstanding something? === PowerTower_121 is now known as PowerTower_120 [10:47] here's my preseed network config (which doesn't seem to work) https://paste.ubuntu.com/p/XptGFqRdJt/ [10:54] probably not the issue but is irt working at all.... are you getting some of them to work and other dont or do none of them pull it correctly [10:55] Hi! So, for the almost 2 month I tried to upgrade from 18lts to 20lts, but for some reason I can't. Anyone here that can help me? [10:56] Atahualpa: what happens when you try? [10:56] nothing, basically [10:56] Donavan01: well no configs are created at all in the config above, it just uses DHCP (which also works in principal because cobbler's DHCP server is still there, but i need to explicitly set static IPs) [10:57] Atahualpa: try 'sudo apt-get update && sudo do-release-upgrade' [10:58] I followed this: https://help.ubuntu.com/community/FocalUpgrades/Kubuntu. [10:58] Already did that [10:59] I was just wondering if it was working of the first but not the rest could have been an issue what the range and the count but honesty never done anything with that and was just guessing aree you gettiny errors back or is it just not grabbing the right address from the right place when it does the install [11:02] aree there any+ [11:02] I'm running Ubuntu 18.04, how do I install the 'traceroute' package? [11:03] sorry keyboard batteries died ... are there any logs [11:03] mihael ... is it not installed by default? [11:04] sudo apt-get install traceroute [11:06] Atahualpa: can you paste what happens when you try? [11:06] also which ubuntu version are you on? try cat /etc/issue [11:06] EriC^^: https://paste.ubuntu.com/p/CYpbDzRnRN/ [11:07] does ubuntu have a magic restore like you can do in windows... I make a system restore disk and it will reimage the system as configured while not touching the data ... does such a beast exist without third party software [11:07] from 18.04.5 lts to 20.x.x lts [11:07] ah i think there is a bug regarding that that's holding it back [11:07] once they fix that bug it should allow you to upgrade [11:08] Donavan01: no, maybe look into fs wizardry and snapshots and whatnot [11:08] I looked into /var/log/dist-upgrade//apt.log and noticed that apt reported broken packages or held back packages. However, when I checked in Muon Package Manager I didn't find any broken packages or anything else. [11:09] Atahualpa: try sudo apt-get -f install [11:09] Running the following commands returned nothing: sudo apt-get --fix-broken install sudo apt-get clean sudo apt-get install -f sudo dpkg --configure -a sudo apt-get update sudo rm /var/lib/apt/lists/* -vf sudo apt-get update sudo apt-get clean sudo apt-get autoclean sudo apt-get autoremove sudo dpkg --configure -a sudo apt-get update [11:09] Already did it [11:10] ah [11:10] EriC^ .... Think doing virtual machines through QEMU assuming it does snapshots like other VMs would do the trick ? [11:12] Atahualpa: yup there's a bug [11:13] Donavan01: yeah that should do it, if you dont have a problem using a vm that would be perfect [11:13] What I did was to find what broken packages I have on my machine. The result is here: https://paste.ubuntu.com/p/x2zvH4fpxZ/ but I doubt that I have so many broken packages and my machine is functioning well. [11:14] Atahualpa: how did you get that list? === jje_ is now known as jje [11:16] Atahualpa: nah the upgrade to 20.04.1 still has an issue apparently, they're working on fixing it i guess, im not sure why the delay but if you really want to upgrade right now, you could see what the bug is exactly and if it's no big deal for you i think sudo do-release-upgrade -d should get you to 20.04.1 or maybe try this workaround [11:16] "Workaround: setting Prompt=normal in /etc/update-manager/release-upgrades and re-running the do-release-upgrade command starts the upgrade process." [11:16] I was trying do decided if I wanted to run VM in the first place and run dual server on the same hardware incase something went stupid with the config or something I would have a fail over ... I have way more hardware than I need for what im doing ive got a 2 servers running Dual Xeons hex core /w HT and 144GBs of ram and all im doing with it is a simple web page and a file server that might get a total of 20gbs written and 100gbs read daily ... if [11:16] that [11:17] using this: grep Broken /var/log/dist-upgrade/20200917-1015/apt.log |cut -d":" -f1|cut -d" " -f2 > /home/user>brokenfiles.txt [11:18] Already tried that. [11:20] *typo error: /home/username>brokenfiles.txt ->/home/username/brokenfiles.txt [11:22] I think I'll wait to see if they the find a solution to this bug. If not, I'll consider a fresh install. [11:28] ive never had much luck with the be jump upgrades like the LTS version they would always have something screwed up because of some dependancy or something like that I most times just bit the bullet and reinstalled [11:31] Donavan01: for me it is first time when I encountered such an issue. never had any issues when upgrading an lts version. [11:34] ive been at it since they were sending ubuntu out on CDs for free everywhere ... .but never totally switched over because professionally most places I work use windows but im trying to start my one business offering file storage for legal clients that need certain things done to there data and papers signed and junk cerify things so I hope it has gotten better than it was in many years back [11:44] i'm trying to install "init-system-helpers" 1.56 from bionic-backports, but despite having "bionic-backports main restricted universe multiverse" in my sources, this doesn't seem to be found, any idea what i might be missing? [11:44] did you ran sudo apt update, to get fresh lists? [11:44] yes [11:45] hhhm, it should be there https://launchpad.net/ubuntu/+source/init-system-helpers [11:46] oerheks: this is what i've got - https://paste.ubuntu.com/p/MdyTgm5tpb/ [11:46] this is a clean installation from virt-install, i haven't made any changes [11:47] the specific problem i'm having is that i'm trying to install "bird2" (also from bionic-backports), which fails with: bird2 : PreDepends: init-system-helpers (>= 1.56~) but 1.51 is to be installed [11:48] so i wonder if something is causing this package to be masked? [11:48] why installing? it is installed already, no? [11:48] !info init-system-helpers bionic [11:48] init-system-helpers (source: init-system-helpers): helper tools for all init systems. In component main, is required. Version 1.51 (bionic), package size 36 kB, installed size 129 kB [11:48] on my bionic it is.. [11:48] i'm trying to upgrade it to 1.56, which is a dependency of bird2 [11:48] and your log seems to say the same [11:49] try a proper 'sudo apt full-upgrade' [11:49] 0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade. [11:51] oh, i see, backported version is 1.56.... [11:52] right [11:52] i could install the deb manually and see if that throws any errors, but seems like this shouldn't be necessary [11:56] no clue here, catphish [11:56] oerheks: thanks anyway, i just installed it manually and it seems happy and now sees it: https://paste.ubuntu.com/p/VJnZ7cN73f/ [12:14] anybody know why the repo init command is giving permission denied when following the steps from http://whereisdarran.com/2019/07/how-to-build-twrp-for-the-tb-8504x-f/ , the error can be seen here https://pastebin.com/7MycejfM ? [12:28] !crosspost | shailangsa [12:28] shailangsa: Please don't ask the same question in multiple Ubuntu channels at the same time. Many helpers are in more than one channel and it's not fair to them or the other people seeking support. === the_ant1 is now known as the_ant [12:57] Hi all === Payhn is now known as linuxbro === linuxbro is now known as Payhn === Payhn is now known as linuxbro === linuxbro is now known as Payhn [13:21] Is there a way to detect a scheduled/pending shutdown? My research so far only suggests `pgrep shutdown` and if there is a process matching, then a shutdown is pending. If I try that though, nothing shows up. [13:35] Can't seem to find the answer anywhere..but shouldn't do-release-upgrade upgrade me to focal from bionic? since Focal is LTS. [13:36] Running Ubuntu 20.04 - wondering if anyone knows how to wait for network to be ready. Have an app that looks at the NIC and its failing because it starts in 190ms, but the network is taking 5000 ms to be ready. Is there a way to tell the OS to not boot until the network is ready? [13:38] ah - nm https://discourse.ubuntu.com/t/focal-fossa-20-04-1-lts-point-release-status-tracking/17604 [13:50] frankie64 this is only a stopgap measure, but you could add a line in your crontab: @reboot sleep XX; /path/to/app & [13:51] where XX is a delay in seconds [13:51] mindofmateo: What's the objective here? [13:52] cipherize I would like to add a block in my status bar that will activate/highlight if a shutdown has been queued [13:53] How would that crontab entry help you? [13:53] frankie64: What are you trying to do? Start something when the system boots? [13:59] cipherize oh are you asking "what's the objective here" re: my response to frankie64 or about my original question? if you're asking about the crontab line, I was suggesting he run the application as a cronjob led by a `sleep` delay to wait for the network connection to be established. Not an elaborate solution, but I thought it would be quick [13:59] and simple to implement for the time being. [14:01] Just write a systemd unit that depends on network-online. [14:01] You can even use a pre-exec step to introduce a wait. [14:03] You get the advantage of better service dependency handling, proper service control, logging of output, and so forth. [14:05] systemd-networkd-wait-online.service or NetworkManager-wait-online.service, depending on which you're using. [14:05] (desktop or server sort of thing) [14:19] anybody know how to select all the text in the terminal window in ubuntu 20.04 so it can be copied? [14:20] highlight with mouse control shift c to copy control-shift v to paste [14:47] is there a way to see what was updated on the last update? [14:47] in the last `apt update`, that is [14:48] j`ey, update or upgrade? [14:48] upgrade sorry [14:48] j`ey, try /var/log/dpkg.log [14:49] oh, also /var/log/apt/ has content here [14:49] thanks [14:49] oh the apt/ logs report actions per command, nice [15:35] Hi. Is there any way to install node.js version 11 ? [15:37] ^ with ubuntu 20.04.1 [15:39] hello [15:44] anybody know how i can view the .repo directory in Files as i can only see it when opening it via disk usage analyser https://prnt.sc/ul86sm ? [15:44] echoSMILE, not from the ubuntu repos (as you know 11 it's now unsupported) [15:44] ioria: sure [15:44] echoSMILE, ok; https://www.techiediaries.com/ubuntu/install-nodejs-npm-on-ubuntu-20-04/ === BromaxSux1 is now known as BromaxSux [15:45] echoSMILE: what wrong with the version supported in 20.04? [15:47] adding PPA's and installing packages from outside the repo's isn't really a good thing and not supported here afaik. :) [15:47] It is two versions behind the current LTS for node. Just depends on how important the version is to you. [15:48] if people want newer version they should go to a rolling release distro [15:48] version/versions [15:49] Maik: project compatibility, I will try 12.x as "Focal" doesn't support 11.x [15:50] echoSMILE: You can also install node from the NodeSource as a snap to keep everything more isolated. [15:52] gildarts: tks. let me check [15:56] Maik: Yeah, and not arguing that people should make a routine out of installing unsupported versions, just saying there are reasons why one might want/need to at times. [15:57] hello everyone [15:58] gildarts: snap worked. ty [15:58] echoSMILE: No problem. [15:59] looks like a broken pkg /usr/lib/python3/dist-packages/Onboard/LayoutLoaderSVG.py:447: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma? === ledeni_ is now known as ledeni === akem_ is now known as akem [16:37] Hello. Where can I get the gpg pubkey 0xECCA302C9A2BC4F364C816595BE3D300564AC918 from that is used on ubuntu-security-announce? [16:42] sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys .. but you need the 8 digit hex key, not this long one [16:42] oerheks: I'm able to add the key using the above hex [16:43] Oh ? thanks, i could not find the source of that key anyway [16:43] Wulf, ^^ [16:43] gpg: key 3E2A0A87A1767193: public key "Maria Emilia Torino " imported [16:43] oerheks: thanks. [16:44] !icecream | leftyfb [16:46] oh, it doesn't have any other signatures. [16:57] Hello does anyone know how I can delete my network logs under "journalctl -f -u NetworkManager". I really want to start over on the logs on there and keep close tabs from here on out. Also I realize the time stamps and it would still be easy to keep tabs from now on but its bugging me that it wont allow me to delete it. Have to learn to scratch [16:57] this itch @_@ [17:00] there is no networkmanager log, it is stored in syslog? [17:00] i checked /var/log/syslog [17:00] that wont allow me to edit it in root for some reason. Using gedit [17:01] trying to figure out where NetworkManager is pulling these logs from [17:02] from syslog, i think. [17:02] one could force all logs to logrotate, so you could delete old .log files > logrotate -f /etc/logrotate.conf [17:03] the file type comes up as Binary (application/octet-stream [17:03] yes, not human readable [17:04] Trying to find specifically where it is. [17:05] no this is the systemd logs (usually saved under /var/log/journal. I do not know a way to *remove* entries from the log [17:06] random163: you could watch the log in real time with> tail -f /var/log/syslog [17:07] hggdh, that is why i suggest force logrotate, and delete the old [17:10] oerheks: ack [17:10] I can watch it in real time no problem. But i want to edit it in gedit but its not allowing me. I just want to view it in a gedit lol [17:10] being hard headed [17:11] someone should write a tool for that, random163 [17:11] random163: what was the reason you wanted to cleanup logs? [17:11] systemd journal files are binary. Yu should not edit them. The tool used to see the journal files is journalctl [17:12] I am trying to install glade-gtk2 I even find it on the website and list of packages, but apt-get claims it doesn't exist. [17:12] how I figure that one out? [17:12] !info glade-gtk2 [17:12] Package glade-gtk2 does not exist in focal [17:12] speeder: apt speaketh the truth! [17:13] so how I am supposed to install it? [17:13] :/ [17:13] !info glade | speeder [17:13] speeder: glade (source: glade): GTK+ User Interface Builder. In component universe, is optional. Version 3.22.2-1 (focal), package size 187 kB, installed size 1510 kB [17:13] speeder: try sudo apt-get install glade [17:13] this is glade for gtk3 [17:13] I need for gtk2 [17:14] wasnt gtk2 dropped on 20.04? [17:15] glade-gtk2 is long gone, as of 16.04 [17:15] :( [17:15] so I will have to stick with Windows? :( [17:16] speeder: there are 2 glade snaps, but probably not the version you are after [17:16] what is the other version? [17:16] snap search glade [17:17] speeder, not sure why you need it, what apps relies on it, seach for a newer version of that app? [17:18] oerheks, glade-gtk2 is a development tool [17:18] currently I am using it on windows [17:18] to make an application that runs on ubuntu [17:18] it would be much easier if I could develop on ubuntu too [17:18] So development for gtk2 only? [17:19] yes [17:19] the application is made using php-gtk2, the gtk3 binding for php was never finished [17:19] why though, why not use gtk3? [17:20] because php-gtk3 doesn't work. [17:20] the devs got tired of gtk3 changing all the time [17:20] and went back to gtk2 [17:20] Sorry got disconnected [17:21] something like that. [17:22] lotuspsychje My real reason is because I want to keep tabs on my logs. I initialled wanted to clear it all and then keep close tabs on it. I know there is an easier route but when i found out it wouldnt let me then i had to figure out why. Now my real reason is because it wont let me and i refuse to accept that lol [17:22] initially* [17:22] right, people worry more about gtk 4 now .. https://ubuntu-mate.community/t/horrible-gtk3-gnome-ui-design-is-leaking-into-ubuntu-mate-applications-in-20-04/22028/2 [17:22] dropping all "X11-centric concepts." [17:22] speeder: maybe use one of these? http://ftp.gnome.org/pub/GNOME/sources/glade/ [17:23] glade does gtk3 only, afaik? [17:23] random1: bleachbit would erase logs, but then new logs are produced right away ofc, and as hggdh said, journal logs shouldnt be edited [17:24] there a few ways i can erase it all. But i want to know why i cant open it myself. There has to be a way to access /var/log/syslog in gedit or something similar [17:25] For purely hard headed reasons i want to look at it in a editor and be able to type or erase whatever i want. [17:25] random1, not syslog, it is not human readable [17:26] and edible [17:26] is it possible to isntall an old package on a new system? [17:26] https://ubuntu.pkgs.org/14.04/ubuntu-universe-amd64/glade-gtk2_3.8.0-0ubuntu6_amd64.deb.html <<< this is what I wanted to install [17:26] I cant accept "not human readable". There has to be a way [17:26] random1: there are some handy log tools that color up things for you, like colortail [17:26] speeder: anything's possible [17:26] er.... so how I install old package? [17:27] Thank you speeder Thats the spirit! lol [17:27] !info glade-gtk2 xenial [17:27] Package glade-gtk2 does not exist in xenial [17:27] ouch [17:27] speeder: try dpkg -I /path/to/deb and see how the dependencies look [17:28] how I even download the package? [17:28] random1: what exactily happens when you try to edit /var/log/syslog? What is the *exact* error messsage? [17:28] speeder: archive.ubuntu.com [17:28] https://pastebin.com/Lv0iRqA5 hggdh [17:29] ah, got it, thanks === ace_me1 is now known as ace_me [17:31] random1: you better need to edit files with nautilus ctrl +l then admin:/// then edit your file [17:31] good luck! [17:32] random1: there is this: https://askubuntu.com/questions/883195/cannot-open-gedit-using-sudo-in-ubuntu-16 [17:32] random1: also, why are you running 'sudo' if you are already root? [17:32] I will try lotuspsychje === tmkt1 is now known as tmkt [17:36] Am i missing something? lotuspsychje . I went into naut. at log file and went into shell in that folder and it still wont allow me to edit it [17:36] same error [17:36] random1: wich ubuntu version are you on? [17:36] The idea of editing log files makes me scream internally. [17:37] And why is that cipherize [17:37] im thinking gedit cant handle it for some reason. edit command works. hmmm.. [17:38] Log files should be a coherent and complete record of events on the system. Editing it destroys that concept. If any engineer that works for me ever did that, I'd terminate them. [17:38] My initial reason was to just clear all my logs and start keeping close tabs on them. I know i can delete it another route but now I am curious why i cant just edit it and delete it manually character by character. Its more of a WHY NOT situation now cipherize [17:39] random1: This is a Jurassic Park "could" vs "should" question. [17:39] +1 cipherize [17:39] random1: It doesn't matter why you can't. You SHOULDN'T. [17:39] please let us focus on the issue at had [17:39] s/had/hand/ [17:39] I guess im the only one to not chop it up as impossible lol. When something is "impossible" i scream internally [17:40] I'm not saying its impossible at all. I'm saying that that's the wrong question. You shouldn't. [17:40] I get that. I agree 120% but its not about that anymore. Now its about why cant i do it? What is stopping me in the system. [17:41] random1: i was able to edit syslog from admin:/// on 20.04 here [17:41] random1: yes, you can edit /var/log/syslog if you so want. I have given you a link on a possible issue with gedit. If you can edit with with a different editor (than gedit) then this is a gedit issue [17:41] yeah since edit does it then thats good. Gedit wont allow it because its too big. Makes sense! [17:42] I just couldnt let the system tell me no and give up lol. Its just one of those things. [17:42] knowledge is power [17:42] thank you lotuspsychje [17:42] thank you hggdh [17:43] yw [17:43] such a simple solution. i should have known this. guess this is what happens when your on 3 hours of sleep lol. [17:58] Also anyone curious on editing the file if its too big the "split" command works beautifully [17:58] random1: feel free to share in #ubuntu-discuss [17:59] yeah yeah.. [18:02] Hi, need help trying to check my SSD. It takes about 10 minute to BIOS to detect it. I'm running lubuntu from usb now and it dos not show /dev/sdX but it shows many /dev/zram0-15 devices [18:02] any ideas? thank you! [18:05] GabrielP: you want #hardware. Your issue is unrelated to Ubuntu [18:07] @leftyfb, thanks! [18:10] GabrielP: double hash: ##hardware === Zen-Monkey is now known as help === help is now known as Guest57619 [18:14] hey - i'm trying to get Cubic (custom '.ISO maker) working on 20.04.1 - the 'net on it seems fine, but when i try to run snap (after installing snap with apt), it has some kind of networking error. Cubic chroots into the .ISO. any ideas to get snap to be able to install stuff via Cubic on 20.04.1? [18:16] cubic isn't part of ubuntu, and as such, not supported here. but they may have their own support channels, have a look on their website. [18:16] cubic does not (yet) support snaps https://forum.snapcraft.io/t/ubuntu-cubic-install-snap-applications-from-chroot-in-customized-iso-fails/13541/6 [18:17] any packages are 'untrusted' and some flags need to be set [18:17] any snap packages* [18:17] ah. damn [18:17] both rule. they just need to rule together. [18:17] cubic is working on it, afaik [18:18] gravy. [18:18] alright [18:18] not 'game over' for me - just needed/wanted a few snap installs [18:18] for now, make a bash file with desired snaps, post-install ? [18:18] i'll think about it [18:19] 'saved me some time, then i guess. thanks [18:20] have fun! [18:22] heh. 🤠 [18:25] what am i thinking of: is it shellcheck? handy shell utility? [18:26] validator/formatter, the like [18:26] is this something better by now? [18:26] maybe i should ask in #BASH [18:32] lakitu: discuss software for ubuntu, in #ubuntu-discuss if you like === RayMatrix is now known as RayMatrix1 [18:47] so what makes some apps just disappear from alt-tab ? [19:06] a directory im creating using mkdir isnt showing up in the finder or when i use ls, but if i try to create it again mkdir tells me it already exists, does anyone know what might be going on? [19:07] does its name start with a dot? [19:07] by "finder", do you mean GNOME Files (previously known as "Nautilus")? [19:08] yes, sorry [19:08] it doesnt [19:08] i just called it test to see if it was working as i thought it was [19:08] which file system is this? which kernel version, which ubuntu release? [19:09] but i think i just figured out what was going on, i think im using it wrong and the directory is being created somewhere else [19:16] sorry for leaving, something went wrong and i had to restart [19:18] unfortunately, right after you 'figured out what was going on'. [19:18] oh damn [19:19] well, i think its creating the directory but at the wrong spot [19:19] i dont know exactly why but it isnt creating it at the folder the shell is running, its creating it at the most base directory next to root and bin etc (i dont know the name for that directory) [19:23] 'print working directory' or the command PWD shows your current position [19:23] *hint [19:24] mullerjones: ^ [19:24] just tried, its really weird [19:24] also, show all the commands you run and what output they produce [19:25] on a pastebin [19:25] hang on [19:25] also which file system is this? which kernel version, which ubuntu release? [19:25] its Ubuntu 18.04.5 [19:25] how do i check kernel version and file system? [19:26] cat /proc/version [19:26] cat /proc/mounts [19:26] Linux version 5.4.0-47-generic (buildd@lgw01-amd64-038) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) [19:27] mounts gives me a huge output [19:28] because you have a large number of mounted filesystems. without knowing the commands you run and their outputs, we can't limit the 'mount' output to what's relevant, yet [19:28] oh, makes sense [19:29] whats the best way to show the full output? can i host a screenshot somewhere and post a link? [19:29] !pastebin [19:29] 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. [19:29] text is preferred where possible, but for this case either hsould work [19:30] https://paste.ubuntu.com/p/pCGmrz6jjc/ [19:31] mkdir /test # does that in '/ ' = root [19:31] mkdir test # would do what you want [19:32] ( in current folder) [19:32] wow yeah that was it [19:32] thanks a lot [19:32] have fun! [19:32] feel kinda stupid now but i guess thats a sign im learning [19:33] thank you very much! good to know putting the / first makes it a folder in root [19:33] Yes. [19:34] Heya! Is it no longer possible to upgrade out of 19.04 (disco)? This somehow seems to keep happening to me. [19:34] !19.04 [19:34] Ubuntu 19.04 (Disco Dingo) was the 30th release of Ubuntu, support ended January 2020. see !eol and https://lists.ubuntu.com/archives/ubuntu-security-announce/2020-January/005263.html [19:34] !eolupgrade [19:34] End-Of-Life is when security updates and support for an Ubuntu release stop. Make sure to update Ubuntu before it goes EOL so you get updates promptly for newly-discovered security vulnerabilities. See https://help.ubuntu.com/community/EOL and https://wiki.ubuntu.com/Releases for more info. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades [19:35] Thanks. I definitely will try to not to a fresh install. I lose too much. :-/ [19:37] epistax: disco apt archives have moved to old-releases.ubuntu.com, make sure you install any pending updates from there bfore you start the upgrade process. [19:39] epistax: also, if you'd 'loose too much' by doing a fresh installation, i very much recommend you consider some kind of descriptive language for OS / configuration deployment. [19:39] because earlier or later you will want to reinstall. [19:41] Yep, it's churning through the old updates now. Thanks :) [19:44] Not exactly ubuntu, but similar: A year or so ago I updated on my laptop and the disk encryption backend changed. When it came back up, it didn't. Luckily I was able to find a way to rescue it but that was scary. === dominic35 is now known as dominic34 [20:00] do-release-upgrade is trying to leapfrog from disco to focal. It knows that's not allowed and quits. I'm following the instructions on https://tips.graphica.com.au/upgrading-from-retired-ubuntu-releases/ to work around and get an upgrade to eoan in between but it's not letting me. :-/ It just keeps writing the meta-release file back [20:02] i think you're beyond when do-release-upgrade was supported on this release [20:03] https://help.ubuntu.com/community/EOLUpgrades (link copied from above) explains how to edit sources.list to enable you to upgrade 'manually' AKA 'the debian way' [20:04] Right, I can follow those steps until do-release-upgrade chokes, [20:12] Ah well, if I have to nuke and start over I'll at least map my partitions and make sure those don't get messed up [20:13] Ubuntu 20.04. I just recived an update for i386 versions of packages which I don't have installed. Why updating packages I do not have installed? Currently only libc6-i386 is installed. Updates are regarding X11 security updates. Is this normal? [20:15] maybe if I grab the LTS then put the system on the shelf for 3 years I won't be in this mess when I try to update it again [20:17] you might see some dependencies as update? https://launchpad.net/ubuntu/focal/i386/libc6/2.31-0ubuntu9.1 [20:17] promis ^^ [20:17] epistax: if that's your use case, then you should certainly prefer LTS releases over 9 month support span releases [20:18] It is. This is my home-base box I use for file dumps, media hosting, repos, etc. [21:03] If I install ubuntu alongside my previous (one of the upgrade options), is there a clear path to remove the old installation later? [21:07] And the first option for removing the old ubuntu and installing the new one states: "This will delete all your Ubuntu 19.04 programs, documents, photos, music, and any other files.". Really? First, I put /home on it's own partition to avoid this. Second, "documents, photos, and music" are not Ubuntu 19.04 files. [21:15] epistax: i think if you do custom partitioning you should be able to get around this [21:15] but certainly it's always good to have backups, and you do, right? [21:16] Backups for drive failures and such, not intended for malicious installers [21:22] Hello I am trying to use "Cheese" and another similar program and it says my webcam is not detected. Updated everything so not sure whats going on . Heres a list of my hardware https://pastebin.com/iu6ff943 [21:22] I think I got it with the custom install option.. I'll nuke / and and /boot but /home should be okay. [21:23] Also I have a laptop Elitebook HP [21:26] random1, your webcam is not even listed there [21:27] Yeah. So drivers are missing then. Not sure what to do next [21:27] what HP elitebook exactly? [21:28] how can i grab model # from terminal ? [21:28] everything on this laptop has been scratched off and spray painted over [21:29] bottom of the laptop , or: sudo dmidecode | less [21:29] product name [21:31] Product Name: HP EliteBook 8460p [21:31] thank you for your guidance oerheks [21:33] https://support.hp.com/us-en/drivers/selfservice/hp-elitebook-8460p-notebook-pc/5056942 [21:34] Would that work ? [21:35] hmm, this report gives product: HP HD Webcam [Fixed] vendor: Chicony Electronics Co., Ltd. configuration: driver=uvcvideo [21:35] https://answers.launchpad.net/ubuntu/+source/alsa-driver/+question/435915 [21:37] arch wiki claims it should work https://wiki.archlinux.org/index.php/HP_EliteBook_8460p [21:38] hmmm.. [21:38] dont see anything =/ [21:39] https://help.ubuntu.com/community/SoundTroubleshootingProcedure [21:40] That was the link he had. Trying to do that update to see if it will work. [21:41] at the end of the report, above "Question information" [21:42] configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s [21:42] i do have one in my acer too, not supported in any way :-( crystal hd [21:43] :/ [21:43] doing this update. i will be back after reboot [21:45] Howdy. Can someone please tell me if a particular patch has been backported to 20.04? 840c90fce6c78bc6b2c4cb9e836d70985ed32066 [21:46] TheSHAD0W`, launchpad might tell, what is that number? [21:48] Unfortunately it did not work :( [21:48] Tried 'Cheese' and 'Kamoso' [21:48] That's a 5.5 kernel patch. [21:48] As per http://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.5 [21:49] I was stupid and decided to buy an 8K TV. [21:50] Any other ideas anyone ? [21:52] also I do not have a arch linux i have debian ubuntu [21:53] Gotta go, thanks. [21:54] ah i guess it dont work. [21:54] it is what it is -_- [21:54] oh, lots of reading to do, then https://kernel.ubuntu.com/~kernel-ppa/mainline/ .. not sure in what 5.5 version [22:29] After the installation, I boot to a grub prompt. Re-doing the installation. === user__ is now known as pavlos === misha is now known as werekitten [22:58] Okay I fixed it. I used the live-cd aspect of the disk to boot and read the grub config from the efi partition. For whatever reason the fs uuid didn't match ANY on the disk. I set it correctly and now it boots fine. [23:00] hey there [23:01] how i can use it? [23:07] ;-; === werekitten is now known as misha