[00:10] <nikolam> Is connection priority enough to always force one LAN connection for internet traffic first? Both connections are set to get addresses via DHCP. (how to set route metric for DHCP connections)
[00:10] <nikolam> And if one connection goes down and then back again, to have traffic again goes through that desired connection first
[00:19] <shinobi> oerheks: Thanks, I wasn't sure if that file was for the same purpose. The directions I'm reading online mentioned the other file, not the ubuntu version.
[00:22] <Qen-Joana> Hello. I'm having a 'no display driver issue' on 20.04. Here is a paste with the description. Much appreciated! https://paste.ubuntu.com/p/qVMxN55Hn3/
[01:08] <Lutin> I see that php*-extention doesn't enable the extention. This happens on a docker build but always did. Maybe only for cli but I wonder if this is something new
[01:14] <Ravage> he said the D work
[01:14] <Ravage> word
[01:40] <Lutin> Ravage what is wrong with it ?
[01:44] <golden_ticket> When I try to enable ufw I get the following error: /lib/ufw/ufw-init: 1: /etc/default/ufw: ///etc/default/ufw: Permission denied
[01:44] <golden_ticket> Can someone help me enable ufw?
[02:28] <grover> hi i'm trying to install znc on an ubuntu vps but following the steps to install from docker it freezes on the --makeconf and following the steps for a PPA or compiling from source is also hitting snags
[02:28] <grover> anybody here familiar with that
[02:42] <tomreyn> golden_ticket + grover: which ubuntu release are you running?
[02:42] <golden_ticket> tomreyn, xenial. I solved that issue but I cannot ping domains.
[02:45] <tomreyn> golden_ticket: this has 3 more months of support, is it worth working this out then?
[02:45] <golden_ticket> tomreyn, the software I am running only works on this version of ubuntu. I will be on my own until I can get an update from the provider
[02:46] <tomreyn> make sure you remind them about that
[02:46] <golden_ticket> okay
[02:47] <tomreyn> about "not able to ping", this can mean blocked outbound traffic
[02:47] <tomreyn> though normally ufw would not do that
[02:47] <golden_ticket> I can ping <IP_ADDRESS>
[02:47] <tomreyn> so it's a resolver issue, your system fails to resolve hostnames
[02:48] <golden_ticket> yes
[02:48] <tomreyn> either because outbound udp or tcp traffic to the resolvers' port 53 is blocked, or because the resolver just doesn't act as a resolver.
[02:49] <golden_ticket> tomreyn, so I need to enter "sudo ufw allow 53"?
[02:49] <tomreyn> not in a default configuration. outbound traffic isnt blocked there.
[02:50] <tomreyn> maybe you changed the default policies?
[02:53] <grover> 20.4
[02:53] <grover> tomreyn,
[02:53] <tomreyn> Qen-Joana: there is indee dno package named 'mesa', so you wont be able to install that (there are similarily named packages - but it's not clear what you're trying to achieve there). i'm not familiar with this PPA you're using. why are you using one anyways? amdgpu is supported out of the box on 20.04.
[02:54] <tomreyn> grover: 20.04 LTS then?
[02:54] <grover> yes
[02:54] <tomreyn> grover: why don't you just use the package it provides?
[02:56] <grover> the version is very old
[02:56] <golden_ticket> tomreyn, default ip tables rules. default ufw policies except for two rules allowing ssh and a port for my software
[02:56] <pillager86> I'm trying to build Xamarin.Android on Ubuntu 20.04 and got this error "Step Xamarin.Android.Prepare.Step_InstallMonoRuntimes failed: Unable to build mono runtimes from sources."
[02:57] <tomreyn> !latest | grover
[02:57] <tomreyn> grover: which ppa were you trying to use, how did it 'not work'?
[02:57] <tomreyn> pillager86: this is not the Xamarin.Android support channel, though.
[02:58] <grover> let me try again and pull up the error message
[02:58] <grover> i think the ppa may not even be up to date... do you have experience with docker?
[02:58] <grover> I think that looks to be the easiest way
[02:58] <grover> i'm looking at their install wiki page now: https://wiki.znc.in/Installation
[03:00] <tomreyn> golden_ticket: iptables -L    will print all IPv4 rules which are configured. maybe ufw did something you didn't expect. Or you rtraffic could get blocked outside of the Ubuntu system, in transit. Hard to tell. Generally, I can't really recommend ufw for anything but very simple configurations.
[03:00] <Lutin> so back here again :)
[03:00] <golden_ticket> tomreyn, I got it working
[03:00] <Lutin> when you intall a php module, it should enable normally ?
[03:00] <tomreyn> golden_ticket: good, what was it?
[03:01] <golden_ticket> tomreyn, needed to edit /etc/network/interfaces.d/50-cloud-init.cfg to have dns-nameservers
[03:02] <tomreyn> Lutin: you may need to phpenmod, i think
[03:02] <Lutin> tomreyn I thought as well but not sure
[03:02] <tomreyn> golden_ticket: ah, no resolvers configured, that'd make it difficult.
[03:02] <golden_ticket> lol
[03:03] <tomreyn> Lutin: i'm also not entirely sure, it's been a white that i had to set up php
[03:03] <tomreyn> Lutin: but you could just try?
[03:03] <Lutin> tomreyn yeah  try in a docker install but it doesn't seem to enable them
[03:04] <tomreyn> what phpenmod does is just to add a symlink somewhere in /etc/php*
[03:07] <tomreyn> grover: tewards' ppa has znc 1.8.2 packaged for focal (20.04 LTS)
[03:07] <tomreyn> i'd assume using that would be the easiest.
[03:07] <grover> ok so here is my error: E: Unable to locate package znc-dbg
[03:07] <grover> i'm following the steps on the install wiki page
[03:07] <Lutin> tomreyn I know
[03:07] <grover> it's at the sudo apt-get install znc znc-dbg znc-dev znc-perl znc-python znc-tcl step
[03:08] <pillager86> How do I find out what's taking up so much space on my HD? I deleted the git repo that was causing me to run out of space.
[03:08] <tomreyn> grover: you really just need to install "znc"
[03:08] <pillager86> I tried to build Xamarin.Android and lost 30 GB of storage I can't seem to get back.
[03:08] <grover> k i have removed it and am proceeding tomreyn
[03:09] <grover> everything else was located ok
[03:09] <grover> what's the two sentence summary on what is docker and how does it work?
[03:09] <tomreyn> !ddebs | grover
[03:09] <jmspeex> jeremy31: Well, unless I got extremely lucky, it looks like reverting to 5.4 did the trick -- my machine is still up and I haven't seen the pcie errors so far. Thanks for your help
[03:10] <tomreyn> grover: and -dgbsym packages have replaced -dbg packages, normally. however, tewards' PPA doesn't provide debug symbols
[03:10] <tomreyn> (or maybe they're included, non-stripped)
[03:11] <grover> thanks tomreyn it worked
[03:12] <tomreyn> pillager86: 'du' or 'ncdu' to determine disk usage
[03:12] <grover> last question, do i need to do anything to have it launch znc automatically on boot in case it restarts for whatever reason?
[03:12] <tomreyn> pillager86: or baobab for a graphical one
[03:17] <tomreyn> grover: yes, i think so. its manual discusses how to start it, i think. you may want to set up a systemd (user) service.
[03:22] <grover> will google systemd
[03:22] <grover> tomreyn thanks so much for helping a newbie, as you can see
[03:23] <grover> much appreciated.  time for me to rtfm now :D
[03:24] <iridescent> i'm trying to install something and it's using too much memory, is there a way to get it to use swap space instead? (or check if it's using swap space, since I feel like I have plenty of that)?
[03:24] <tomreyn> grover: good luck.
[03:26] <tomreyn> iridescent: the ubuntu kernel on any supported release (you did not say what you are running) would automatically swap if needed (and able to).
[03:27] <iridescent> i'm on 18.04
[03:27] <iridescent> hmm so i'm getting this: [186871.547445] Out of memory: Killed process 27988 (ghc-stage1) total-vm:1074054480kB, anon-rss:2901964kB, file-rss:0kB, shmem-rss:0kB, UID:1000 pgtables:5892kB oom_score_adj:0
[03:28] <iridescent> i believe i have a good amount of swap space?
[03:28] <tomreyn> cat /proc/swaps   would tell
[03:29] <tomreyn> or   swapon --show
[03:29] <tomreyn> or vmstat
[03:29] <iridescent> NAME          TYPE SIZE USED PRIO
[03:29] <iridescent> whoops
[03:29] <tomreyn> !paste | iridescent
[03:29] <iridescent> NAME          TYPE SIZE USED PRIO /swapfile     file   2G   8M   -2 /var/swapfile file 9.8G 256K   -3
[03:29] <iridescent> ah got it
[03:30] <iridescent> http://paste.ubuntu.com/p/zYpnrzQRng/
[03:31] <tomreyn> you have two swapfiles (roughly 12 GB) which are hardly in use
[03:31] <iridescent> how do i use them :P
[03:36] <nikolam> I have 2 network adapters, connected to 2 different DHCP domains with separate internet. How to set that the one is always preferred , used first for all traffic, and that the other one is only a failover? I am constantly getting the wrong one as the default upon restart...
[03:36] <nikolam> I want add-on card to be the main one and on-motherboard one to be a failover
[03:37] <nikolam> But when I turn off all networking from tray and enable it back, I get the right one as default.. But not on restart..
[03:38] <nikolam> That should be able to be fixed by interface metric (like I know on MS windows) but I want both interfaces to remain working on DHCP...
[03:39] <nikolam> route metric of one I want to be main is 101 and metric of that I want to be failover is 100. And traffic gets pushed over the one with 100, when I do a traceroute
[03:41] <nikolam_> So default networking is wrong and after disable and enable in networking GUI it is right..
[03:41] <iridescent> ok, seems like when i run the process that uses a lot of memory the swap space used is barely increasing (but does increase by a little bit)
[03:42] <nikolam> So defaults are wrong for pushing traffic and Network settings upon restart of networking are.. right...
[03:46] <Lutin> tomreyn it seems on 7.4 the php extentions are there and usable on 8 not
[03:47] <tomreyn> Lutin: "on 8"?
[03:47] <tomreyn> 8 of what
[03:47] <Lutin> tomreyn 8.0
[03:47] <Lutin> php
[03:47] <Lutin> the php extentions are there ..
[03:48] <tomreyn> there's no php 8.0 in any supported ubuntu release
[03:48] <Lutin> I think we are far beyond Ubuntu 8 now ;)
[03:48] <Lutin> tomreyn ondrej is always the best source for your PHP packages :)
[03:48] <Lutin> always has been
[03:48] <tomreyn> you're seeking support at the wrong location
[03:49] <Lutin> tomreyn I even think he is one of the Ubuntu devs
[03:49] <Lutin> not sure, so never the wrong channel for such cases
[03:50] <tomreyn> whether or not that is so doesn't change whether those packages are supported here
[03:51] <Lutin> there is a lot discussed here that is Ubuntu related since this is PPA and not supported.
[03:51] <Lutin> if you don't discuss it you won't ever come any further (in life)
[03:51] <tomreyn> i'm doing fine, thanks
[03:52] <Lutin> tomreyn there are more people in the world then only you ;)
[03:52] <Lutin> but nice you are doing fine :)
[03:52] <tomreyn> you semed to be addressing me, maybe i got it wrong
[03:52] <Hash> I have no idea
[03:52] <Hash> I'm confused
[03:52] <Qen-Joana> tomreyn: Thanks for your reply. I currently have no driver for my GPU and I blacklisted amdgpu. I need to reinstall mesa. How to do that?
[03:53] <Hash> What gpu do you have?
[03:53] <lotuspsychje> !who | Hash
[03:53] <Hash> Qen-Joana: what gpu did you have?
[03:54] <Qen-Joana> Hash: I have an AMD RX 580.
[03:54] <Lutin> tomreyn I'm sure you have it wrong as you earlier said you wasn't sure if the extentions were enabled automaticly because you didn't toch PHP for a while.. always good to have some extra knowledge that might be usefull later on ;)
[03:54] <Lutin> anyways, I'm off CU!
[03:54] <Hash> And which driver did you want to use? the proprietary one?
[03:54] <Hash> Qen-Joana:  And which driver did you want to use? the proprietary one?
[03:55] <Qen-Joana> Hash: I am trying to reinstall mesa. I restarted my PC with no driver and the ppa's with mesa don't work.
[03:56] <tomreyn> Qen-Joana: this is the output of   apt list --installed *mesa* 2>&1     on an ubuntu 18.04 LTS system (amd64) with an rx 580    https://termbin.com/5kkc
[03:56] <Qen-Joana> hash, tomreyn, here is my paste: https://paste.ubuntu.com/p/qVMxN55Hn3/
[03:56] <tomreyn> Qen-Joana: if you don't plan to use the PPA, then i suggest you purge its packages first of all
[03:57] <tomreyn> !ppa-purge
[03:57] <Hash> Qen-Joana: to get the proper resolution you need to use the correct drivers
[03:59] <Hash> Qen-Joana:  AMDGPU-Pro is the driver for your card, version 17.20
[03:59] <tomreyn> i believe that much is already known
[03:59] <tomreyn> open source amdgpu is fine, no need for -pro usually
[03:59] <Qen-Joana> Hash, the AMD website lists 20.45 as the only driver my card and 20.04 Ubuntu.
[04:00] <Hash> https://www.amd.com/en/support/kb/faq/gpu-643
[04:00] <Hash> I saw this one.
[04:00] <Hash> What one are you looking at, please share
[04:01] <Qen-Joana> hash: https://www.amd.com/en/support/graphics/radeon-500-series/radeon-rx-500-series/radeon-rx-580
[04:01] <tomreyn> Qen-Joana: you won't be able to use either driver while you have amdgpu blacklisted
[04:01] <Hash> https://www.amd.com/en/support/kb/release-notes/rn-prorad-lin-18-40
[04:01] <Qen-Joana> tomreyn: that is true. I tried to fix my amdgpu install but the old one wouldn't uninstall and the new one had a scripting error when I tried to install it.
[04:01] <Hash> I see.
[04:02] <Hash> I might jus be confusing you more. i dunno amd gpus
[04:02] <Hash> https://amdgpu-install.readthedocs.io/en/latest/install-installing.html#uninstalling-the-amdgpu-graphics-stack
[04:02] <tomreyn> Qen-Joana: details needed.
[04:03] <Hash> You can make sure to follow all the directions here. Don't blacklist the amdgpu pro driver anymore
[04:03] <tomreyn> sometimes a fresh install can be the least time consuming option, so consider that
[04:03] <Hash> Then try to reinstall is properly again.
[04:03] <Hash> it*
[04:03] <Qen-Joana> tomreyn: I suspect I accidentally installed the wrong amdgpu driver by terminal. There were errors. I used the terminal to uninstall by the standard options and it could not find the uninstall script.
[04:04] <Qen-Joana> tomreyn: when I tried to install the 20.45 newest amdgpu driver, there was a coding error which basically said: "missing ')' character"
[04:05] <tomreyn> Qen-Joana: i (and likely others on this channel) won't be able to help you try to uninstall amdgpu-pro drivers if you had thos einstalled. uninstalling the ppa ones should woirk with ppa-purge
[04:05] <tomreyn> so apparently you tried not just the unsupported ppa bnut also the unsupported (here) amdgpu-pro
[04:05] <tomreyn> good luck!
[04:06] <Qen-Joana> tomreyn: I had both ppa's disabled in the GUI for other sources of software. I still had no luck. But I am using the ppapurge now on both of those ppa's.
[04:26] <lotuspsychje> Qen-Joana: when you purged ppa's, unblacklisted amgpu and rebooted, provide your dmesg to the channel so volunteers can see whats going on
[04:27] <chalarm> lotuspsychje: suggest dmesg | pastebin ^-^
[04:27] <chalarm> or nc termbin.com 9999
[04:28] <lotuspsychje> never seen a user paste full dmesg here before :p
[04:30] <Qen-Joana> lotuspsychje: I am considering a full reinstall. I have been backing up my files for a little while. I'll be back if I still have problems. Thank you!
[04:31] <lotuspsychje> sure thing, good luck
[04:40] <MarchHare> Anyone have any idea how to fix the issue with postfix copying the resolv.conf file to its own chroot jail before systemd-resolved has actually populated it? I've found various things around the internet, but none of them seem to be working. A restart on the service from the prompt seems to copy the correct resolv.conf. I want it to work on bootup.
[04:42] <tomreyn> MarchHare: hmm, i don't , but this sounds like you'd need to change the service definition os that postfix only starts after network is fully configured.
[04:42] <tomreyn> and probably file a bug about it
[04:42] <MarchHare> tomreyn: That's kind of what I'm trying to do.
[04:44] <MarchHare> tomreyn: Added After=network-online.target to both the postfix and postfix@ service files.
[04:45] <MarchHare> tomreyn: And added the systemd-resolved.service as an after, too. Though that should definitely have been run anyway implicitly
[04:46] <tomreyn> MarchHare: and this doesn't work? or are you still testing?
[04:46] <MarchHare> tomreyn: Worked fine most of the time before I upgraded it from 18.04 Server to 20.04.1 Server
[04:47] <MarchHare> tomreyn: It only really started having this issue after the upgrade. I have basically narrowed it down to some kind of race condition where postfix copies the empty file before systemd-resolved or whatever has populated it
[04:48] <tomreyn> https://unix.stackexchange.com/questions/272427/why-does-postfix-copy-etc-resolv-conf-to-its-chroot-too-early-causing-dns-fail discusses an alternative approach: keeping services files as they are but adding a dhcp client hook to reload postfix configuration
[04:48] <MarchHare> Yeah, I saw that one. Not sure I should be tweaking with dhcp hooks and all that
[04:49] <MarchHare> I want to know why it worked before, and now it doesn't.
[04:49] <MarchHare> It isn't like I changed the resolve service between versions
[04:49] <tomreyn> its version changed, though
[04:51] <MarchHare> That's about it. Not sure why that would cause the order of execution of the service targets to change.
[04:51] <MarchHare> Wonder if I should just reinstall postfix and be done with it.
[04:51] <tomreyn> good luck, i'll need to head out
[04:52] <aesop> Fill me in, where and why does postfix need to copy resolv.conf?
[04:53] <aesop> Feels like strange behavior.
[04:53] <MarchHare> aesop: It's running in a chroot by default is my understanding. I don't really want to run it outside of the chroot
[04:54] <MarchHare> aesop: Then again, since it isn't a public email server and it isn't relaying anything, maybe that won't be an issue. It really only sends out status messages.
[04:55] <aesop> Ah ok, and so it can't access resolv.conf after chrooting.
[04:56] <MarchHare> aesop: Right, so of course it copies it. But apparently it beats systemd-resolved to the punch and copies an empty file
[04:56] <aesop> Weird hack: make systemd-resolved get its lease faster :P
[04:57] <MarchHare> aesop: Actually, I'm going to be resetting the modem and switch tomorrow. Something is really causing things to be super slow on the work network that I'm tweaking with.
[04:57] <MarchHare> It's annoying to have to wait SECO
[04:58] <MarchHare> NDS for "ls" to appear on the prompt after I've hit enter
[05:00] <MarchHare> aesop: Of course, your hack would be great. I tried slowing down postfix, which didn't do anything
[05:01] <MarchHare> Rather, I didn't slow it down as much as told it to wait for resolved before trying to start it.
[05:04] <blahboybaz> I see: https://ubuntu.com/desktop/statistics  <--  but is there any statistic on what release of ubuntu people are using? Preferably not just in terms of percent but also in terms of number of users
[05:04] <blahboybaz> ?
[05:04] <MarchHare> Looks like it's a midnight trip to the station for me. Slow switch might be the issue
[06:20] <genewitch> come on guys ~100MB for a kernel is obnoxious
[06:21] <genewitch> is there any way to pare that down to ~10mb for vm guests, because having every machine taking a quarter of a gig for kernel upgrades is just silly
[06:23] <genewitch> also: when i go to ubuntu webpage, and click download -> server, the only options are 18.04 and 20.10, even though 20.04.1 is available (google seen it) and that's the latest LTS
[07:14] <oxek> genewitch: maybe use containers instead of virtual machines?
[07:51] <loganlee> hello i asked a question about backup here https://askubuntu.com/questions/1308690/how-to-backup-and-restore-all-partitions-including-boot-efi-and-swap
[07:51] <loganlee> thanks a lot
[08:00] <genewitch> oxek: i'm trying to make a slim docker host, the irony is almost lead-weight
[08:00] <ducasse> loganlee: clonezilla?
[08:01] <ducasse> (why backup swap?)
[08:01] <genewitch> i know experimentally that i can install and run docker containers on 16.04, 18.04, and 19.10. i want to make a docker machine, running ubuntu 20.04, that doesn't require 100mb for /boot
[08:01] <genewitch> ducasse: [censored] thanks you for your courage
[08:02] <ducasse> genewitch: i was not talking to you
[08:02] <genewitch> you'd back up swap if you wanted to have a record of what was in swap
[08:04] <ducasse> the question was about moving partitions between machines, but i still wasn't asking you
[09:13] <pagios> hi all, i am trying to understand LVM, what is the relationship between these 2 LVs? The idea when i create a new VM , the second LV got created and the first LV got some used space in it. How does it happen? What is the concept here of pools? https://pastebin.com/BFVvcP0j
[09:20] <pasiz> pagios: maybe ##proxmox is right place to ask...
[10:09] <LordDoskias> hello, does networkmanager use wpa_supplicant to authenticate against wpa2 networks or does it implement the logic itself?
[11:15] <daysun> is debian ubuntus upstream? i.e. debian = newer stuff?
[11:15] <daysun> or is it the other way around?
[11:19] <SynfulAck> trying to install anbox but having problems running `sudo modprobe binder_linux` anyone able to successfully do this?
[11:20] <SynfulAck> with `ls -1 /dev/{ashmem,binder}` ashmem is loaded but never binder. :(
[11:26] <daysun> SynfulAck: any error messages?
[11:26] <SynfulAck> daysun, nah, it just accepts it like everything went through fine.
[11:28] <daysun> I'm clueless then, sorry
[11:48] <infamousguy> Hey all, please someone tell me if this is possible, i have a non dedicated server, and i transfer things from vps, however it said the rsa key was incorrect, and i googled how to repair and it said delete ssh keys. however now i accidentily deleted the ssh keys for the server itself, is there a way to recover? as i cant get into ssh now
[11:48] <infamousguy> thaank you
[12:38] <LordDoskias> hello i discovered a rather tricky issue with ubuntu 20.04. With latest 5.4 kernel it's not able to  connect to a wifi. However if I upgrade my kernel to 5.10 and the wifi is managed by network manager I still cannot authenticate, however if I try to connect manually by invoking wpa_supplicant or simply add iface xxx to /etc/network/interfaces then i can connect
[12:38] <LordDoskias> however on 5.4 kernel even with the /etc/network/interface workaround - connection is not possible, that's on an intel ax200 adapter
[12:39] <LordDoskias> so w.r.t to ubuntu there are a couple of issues: 1. There is something in kernel 5.4 which is fixed in newer kernels 2. Something is going on with networkmanager not being able to correctly configure the wireless to associated it with the AP
[13:09] <drea_mert> Hey ya =) I recently installed Ubuntu (mate 20.10) beneath Win 10. All went fine until I tried to boot it first time.
[13:09] <drea_mert> After installation and before the first attempt to boot it, I didnt boot into windows intentionally. Although Grub wasnt showing and windows started.
[13:10] <drea_mert> anyway Ubuntu was bootable via my firmware boot menu.
[13:10] <drea_mert> efibootmgr told me windows was the first boot entry. Changing this didnt change boot behaviour.
[13:10] <drea_mert> even setting ubuntu as 'next boot' didnt motivate my pc to boot grub/ubuntu, but windows again.
[13:10] <drea_mert> (every time after booting windows it was again the first entry in boot order. I think this happens quite often)
[13:10] <drea_mert> even deactivating the efi-boot-entries for windows didnt change anything.
[13:10] <drea_mert> finally I had to delete all windows entries. Now everything works as it should.
[13:11] <drea_mert> but what I dont understand is what was going on. Is this rather a problem of grub or my mainboard firmware (or went something wrong just during installation)??
[13:11] <drea_mert> maybe someone can leave a comment on this
[13:19] <mrtrousers> Hello I have an ftdi to usb plugged into my ubuntu..
[13:19] <mrtrousers> It keeps connecting and disconnecting: https://pastebin.com/raw/2CdxC34g
[13:19] <mrtrousers> Is that normal behaviour, other usb devices just stay on..
[13:25] <Yuri6037> Hi, I've got a terrible problem, after server upgrade the entire PHP install is broken and cannot be repaired no matter which command you try you're prompted with dpkg error 1
[13:26] <Yuri6037> Only way is apt purge libapache2-mod-php7.4
[13:26] <Yuri6037> But then there is no more PHP and I need PHP.
[13:26] <Yuri6037> The only log I have is E: Sub-process /usr/bin/dpkg returned an error code (1)
[13:29] <Yuri6037> When running --configure -a the only additional info I get is installed libapache2-mod-php7.4 package post-installation script subprocess returned error exit status 1
[13:38] <BluesKaj> Hi folks
[13:43] <Yuri6037> Anyone
[13:47] <tomreyn> Yuri6037: hi, provide the full command and its output on a pastebin
[13:47] <tomreyn> that's usually the best way to get help here
[13:48] <tomreyn> also provide basic information, such as which ubuntu release you're running (and which you upgraded from). if the problem can be related to PPAs, provide this information, too.
[13:48] <Yuri6037> Which command? install, or configure?
[13:48] <tomreyn> any you ran that produced errors
[13:48] <Yuri6037> I just ran do-release-upgrade on my system which was a 18.04
[13:49] <Yuri6037> This brought me to 20.04 no errors during install except 2 ERRORs related to libapache2-mod-php7.2
[13:49] <Yuri6037> it refused to uninstall properly claiming some symlinks still existed
[13:50] <tomreyn> do you have those errors still?
[13:50] <tomreyn> release upgrade logs ar ein /var/log/
[13:50] <Yuri6037> Well those errors only came once when upgrading the entire server over KVM over IP
[13:51] <tomreyn> well, do the pastebin for erroring commands, or show relevant logs, otherwise no one will be able to support you, i'm afraid.
[13:52] <Yuri6037> Here for the first install command: https://pastebin.com/bJrGGKft
[13:52] <tomreyn> you ran this after completing the upgrade to 20.04?
[13:55] <tomreyn> the reason i'm asking is because 20.04 LTS 'focal' does not provide this package, it provides libapache2-mod-php7.4 instead
[13:55] <Yuri6037> Yes because somehow when I first entered the new 20.04 build apache2 refused to boot thanks to a broken libapache2-mod-php7.2 which was apparently not removed. I ran a2dismod php7.2 then purge libapach2-mod-php7.2 then tried again to run apache2 and it booted fine. However I noticed PHP websites were rendering as if PHP was not running so I tryed
[13:55] <Yuri6037> a2enmod php7.4 but it failed complaining module does not exist so I ran apt install libapache2-mod-php7.4 and here we go nice error
[13:56] <tomreyn> sorry, please ignore the last thing i said, you *did* try to install the very package thats in focal
[13:57] <tomreyn> first make sure you removed any remainders of php 7.2 and its modules
[13:57] <tomreyn> then try to make php 7.4 work
[13:57] <Yuri6037> how do I list all php 7.2 modules?
[13:57] <Yuri6037> I already purged the libapache2-mod-php7.2
[13:58] <tomreyn> you can list all installed php modules (and possibly other unrelated packages) with    apt list --installed php-*
[13:58] <tomreyn> you can list all installed php modules (and possibly other unrelated packages) with    apt list --installed libphp-*
[13:59] <tomreyn> that rather
[13:59] <tomreyn> well... both
[13:59] <Yuri6037> Wait I already got a strange output by apt search
[13:59] <Yuri6037> https://pastebin.com/PNxkNagc
[14:00] <tomreyn> those are removed but their configurations are not purged
[14:00] <tomreyn> if you can safely purge their confrigurations without loosing your customizations then i'd recommend doing so
[14:01] <Yuri6037> I'll check them
[14:01] <tomreyn> i assume you did a full backup before starting the release upgrade anyways.
[14:02] <tomreyn> also show the output of    sudo dpkg --configure libapache2-mod-php7.4
[14:08] <infamousguy> is there a way to restore files from etc/ssh
[14:08] <infamousguy> i accidentily deleted them
[14:08] <infamousguy> thank you
[14:09] <tomreyn> you could restore them from your latest backup
[14:09] <cbreak> if you have backups, then restoring is easy
[14:09] <cbreak> if you boot from zfs and have snapshots, then restoring is easy
[14:10] <infamousguy> the guys who own the server says there is no backup
[14:10] <infamousguy> i have tons of files on there and cant afford to lose them
[14:11] <tomreyn> you can reinstall ssh. do you have out of band access, such as via kvm-over-ip?
[14:11] <tomreyn> ("ipmi")
[14:11] <Lantizia_> major long shot here (and this is for preservation purposes)... does anyone have specifically this named file?   adobe-flashplugin_20161108.1.orig.tar.gz
[14:11] <cbreak> what did you delete?
[14:11] <Lantizia_> it'll have a sha256 of cce39a7ab0e03c87259f10cd3f7d21e19eec41e112ce144d33c2fe0c39b2c972
[14:12] <infamousguy> 6 ssh files
[14:12] <infamousguy> the only thing i have access to is recovery ?
[14:13] <Yuri6037> tomreyn: I indeed have a backup but it only backs-up data for GitLab Apache2 websites, apache2 configs, ssl, etc No software is backed up. So returning to 18.04 is possible but would need re-install of the system which is really long to do and I'd like if possible to keep 20.04
[14:13] <cbreak> you can configure ssh again I suppose
[14:14] <Yuri6037> Here is the list of packages installed matching php: https://pastebin.com/hj042r2N
[14:14] <infamousguy> cbreak how do i do that please?
[14:15] <tomreyn> Lantizia_: Google's VirusTotal has a copy, but I'm not sure whether you could convince them to hand it over to you. Chances are Adobe does, too, and maybe Canonical still has another. But this is outside of Ubuntu support, please head over to #ubuntu-offtopic or -discuss
[14:16] <infamousguy> can i re install ubuntu? will that work without removing my files?
[14:16] <Lantizia_> tomreyn, how do you know VirusTotal has a copy?
[14:16] <tomreyn> Yuri6037: if you have a backup of /etc then it should be safe to purge those php module packages
[14:17] <Lantizia_> tomreyn, also Canonical have taken great lengths to delete all copies of flash regardless of how it was packaged on all of it's servers/services including launchpad
[14:17] <tomreyn> Lantizia_: i'd tell you in one of the channels i named after you'd ping me there
[14:18] <Yuri6037> Ok I just eliminated with purge every-single php 7.2 packages. In all cases the only sofyware I have which needs php is nextcloud if needed I will go on nextcloud and get back the list of modules it wants
[14:19] <Yuri6037> Same error
[14:20] <Yuri6037> With dpkg configure same thing: https://pastebin.com/8mQEvJS4
[14:25] <tomreyn> Yuri6037: you can add   "set -x" to the top of the post-configure script at /var/lib/dpkg/info/libapache2-mod-php7.4.postinst
[14:27] <tomreyn> then rtry to configure again
[14:27] <tomreyn> also, at https://pastebin.com/hj042r2N you did not show libphp* packages
[14:28] <Yuri6037> The set -x does a huge log
[14:30] <Yuri6037> At the end we see an explicit return 1: + a2enmod -m -q php7.4
[14:30] <Yuri6037> + return 1
[14:30] <Yuri6037> + exit 1
[14:31] <Yuri6037> Also for libphp* there are no results that's why I did not send it because none of the commands you gave listed anything except the one I found php*
[14:32] <Yuri6037> when running a2enmod -m -q php7.4 I get 2 errors
[14:33] <Yuri6037> https://pastebin.com/ESqfD10j
[14:35] <tomreyn> so what about the /etc/apache2/mods-enabled/mpm_prefork.load file? this would normally be a symbolic link, not a file.
[14:35] <tomreyn> ls -l or stat it
[14:36] <Yuri6037> Inside there are 2 lines: # Conflicts: mpm_event mpm_worker
[14:36] <Yuri6037> LoadModule mpm_prefork_module /usr/lib/apache2/modules/mod_mpm_prefork.so
 ls -l or stat it
[14:37] <tomreyn> dpkg -S, too
[14:39] <Yuri6037> In that folder weirdly enough most files are owned by my own user and are not symlinks. But I don't remember changing anything inside this folder.
[14:39] <Yuri6037> Only 2 files are owned by root and are symlinks
[14:41] <Yuri6037> There are a lot of .conf and .load files and mpm_prefork is both a .conf and a .load file
[14:46] <Yuri6037> Ok after moving those 2 .conf files in /etc/apache2/mods-available and running a2enmod it no longer throws errors
[14:46] <Yuri6037> and dpkg worked
[14:51] <Yuri6037> For now everything seam fixed
[14:52] <Yuri6037> Thanks for the help
[14:52] <Yuri6037> bye now
[15:44] <snake> is there a guide to modern hard drive formatting?
[15:44] <snake> i'm still kind of stuck in the past... so i dont understand all the different virtual drives and everything
[15:44] <snake> oh and linux mountpoints and devices that dont make sense to me
[15:45] <snake> for example: loop0 - loop5
[15:46] <snake> ubuntu-vg-ubuntu-lv
[15:51] <EriC^^> !lvm  | snake
[15:58] <snake> thanks !
[16:00] <EriC^^> np
[16:16] <gravitos> using `grep`, how to get end of the line after the regular expression? i have some output which has `display` in it, and i need to get last line with `display` and from that line get number that goes after `display` and put it as an argument to a command
[16:17] <gravitos> like, it shows me: ... ... display 5, and i need to get this 5 and push it into `scrcpy --display ` so it will be after --display
[16:20] <k4rt0ff3lch33t4h> gravitos: -A is for after
[16:21] <k4rt0ff3lch33t4h> -A and number will show number lines after match
[16:21] <gravitos> it shows me LINES after current
[16:21] <gravitos> and i need to get a number on the same line as `display`
[16:22] <gravitos> so i can pass that number as an argument
[16:28] <k4rt0ff3lch33t4h> gravitos: i think --only-matching  could help for example ll | grep --only-matching Nov\ [0-9]* gets me "Nov 18" from ll
[16:28] <k4rt0ff3lch33t4h> and then with a substitution
[16:29] <k4rt0ff3lch33t4h> in your case instead of Nov you could use display
[16:31] <gravitos> yup, actually that's somewhat helpful, but it still give me two numbers while i need only last one
[16:33] <gravitos> i found only `-m=(integer)`, but it shows only FIRST (integer) of lines
[16:36] <gravitos> okay, some reading of man later, i found combination of three greps which gives me last number, how can i pass it as an argument to `scrcpy --display <== HERE`?
[16:47] <Volkodav> where is the development channel for 21.04?
[16:48] <Volkodav> used to be #ubuntu +1
[16:49] <jeremy31>  #ubuntu+1
[16:50] <Volkodav> Oh I had a space
[16:50] <Volkodav> ma bad
[16:57] <arooni> hi; on my t420 w/ 20.04; i notice that when i resume from laptop suspend it often freezes up gnome-shell ; i get the login screen but enter my password and nothign happens for minutes; i do a killall gnome-shell ; but that doesnt seem to help.  ideas/
[17:08] <shinobi> I seemed to have lost sound. My speakers are plugged in. I was installing guitarix and jack so I think it may be software related. Can anyone help?
[18:15] <wwalker> join #austin
[18:24] <gravitos> > 20:08:19 <shinobi> I seemed to have lost sound. My speakers are plugged in. I was installing guitarix and jack so I think it may be software related. Can anyone help?
[18:24] <gravitos> shinobi: what do audio settings show?
[19:00] <coconut> Apt upgrade makes my laptop to not boot anymore, i have to boot with 5.4.0-62-generic kernel to make it bootable. Anything known? 20.04.1.
[19:01] <oerheks> tons of bugreports about failing kernel 5.8 / video drivers / sound
[19:01] <oerheks> reverse to 5.4 that will be suported for a long time
[19:02] <coconut> oh i am not the only one, thnx oerheks :)
[19:03] <oerheks> if it is only sound, pulseaudio -k && sudo alsa force-reload  # could fix it
[19:03] <jeremy31> coconut: install linux-generic and remove the 5.8 kernel and linux-generic-hwe-20.04
[19:05] <coconut> oerheks, i dunno if it is sound only, how can i check?
[19:08] <jeremy31> coconut: maybe in terminal>  lshw | grep -i unclaimed
[19:22] <coconut> jeremy31, http://p.ip.fi/5Rkc
[19:24] <jeremy31> Shows a few things without drivers, some might be normal
[19:32] <coconut> i see
[19:43] <coconut> Hmmm. After a sudo ubuntu-drivers autoinstall ## my system with 5.8.0 did boot again, but no wifi and no brightness changeable. :(
[19:45] <coconut> i went back to 5.4.0
[19:52] <Dro> Hello, I'm working with a second monitor and it suddenly don't work.. the xrandr --show-monitor show only my principal monitor while I see "signal detected" in my second monitor when its plugin.. any idea how can I fix this please ?
[19:54] <jeremy31> coconut: Broadcom wifi?
[19:56] <coconut> jeremy31, no intel wifi 6
[19:56] <jeremy31> coconut: AX200?
[19:57] <jeremy31> coconut: terminal>  dpkg -l | grep linux-modules-extra-5.8
[19:58] <coconut> no output on that
[19:58] <jeremy31> coconut: did you uninstall the 5.8 kernel?
[19:58] <coconut> nope
[19:58] <jeremy31> what version was the 5.8 kernel?
[19:59] <coconut> 5.8.0-35
[19:59] <coconut> oops
[19:59] <coconut> no
[20:00] <coconut> 5.8.0-38
[20:00] <jeremy31> In terminal>  sudo apt install --reinstall linux-modules-extra-5.8.0-38-generic
[20:01] <coconut> jeremy31, http://p.ip.fi/DD0_
[20:02] <jeremy31> coconut: try the 5.8 kernel, the wifi should work now
[20:04] <coconut> ok will do, just a moment
[20:07] <coconut> jeremy31, how to find my wifi chip version?
[20:08] <jeremy31> coconut: On the label is the most reliable, in terminal try>  sudo update-pciids && lspci -nnk | grep -iA3 net
[20:11] <coconut> yeah, AX200 -> http://p.ip.fi/fosB
[20:24] <coconut> jeremy31, that creates an unbootable system(when i ctrl-alt-delete it reboots after all messages are shown with green).
[20:32] <jeremy31> coconut: I bet it is still lacking the nvidia driver.  Probably easiest to remove 5.8 and the linux-generic.20.04-hwe
[20:34] <coconut> listening to you jeremy31, personally i have no clue :)
[20:34] <coconut> I have just put the new kernel lower in my grub list for now
[20:36] <jeremy31> coconut: in terminal>  sudo apt remove linux-image-5.8.0-38-generic linux-generic-hwe-20.04 && sudo apt install linux-generic && sudo apt autoremove
[20:37] <coconut> jeremy31, i think i will just leave it, or do you advise that anyhow?
[20:38] <jeremy31> coconut: I would remove the 5.8 and install the linux-generic so that the 5.4 kernel gets updated
[20:38] <coconut> jeremy31, does 5.4 only gets updated when i remove the 5.8 then?
[20:40] <jeremy31> coconut: linux-generic has to be installed so 5.4 gets updated, removing linux-generic-hwe-20.04 will keep you from getting 5.8 kernel updates
[20:54] <Lutin> How can I check why php modules are not loaded after installation ?
[20:55] <coconut> jeremy31, ok but i never chose to install the 5.8 myself anyhow, the (new) install did after that with an upgrade.
[20:56] <jeremy31> coconut: I know, the 20.04 has that  linux-generic-hwe-20.04 package installed and it just changed to the 5.8 kernel a week or so ago
[21:01] <coconut> weird... apt list --installed linux-generic-hwe-20.04 ## says it is not installed!
[21:07] <jeremy31> coconut: look at>  dpkg -l | grep linux-generic-hwe
[21:09] <coconut> gives nothing
[21:11] <jeremy31> coconut: check>  history | grep linux-generic
[21:13] <coconut> nope, it did not come from me...http://p.ip.fi/rp2z
[21:14] <jeremy31> I can't explain how 5.8 ever got installed then.  Unless the developers found a way to partially fix the mess that was created
[21:15] <coconut> ok, weird enough, but is...
[21:16] <oerheks> new install, after 20.04.1 ? or livepatch brings it up.
[21:17] <jeremy31> coconut: I did a fresh install of Ubuntu 20.04 with an ISO from 24 April and rebooted to a 5.8 kernel, so I found out why.  I replaced that install with kubuntu 20.10
[21:19] <coconut> oerheks, yes a new install of 20.04.1, and after that is i did apt update && apt upgrade
[21:19] <coconut> which did not work....
[21:20] <coconut> it advised me to a: sudo apt update && sudo apt upgrade --fix-missing  ##which could finish
[21:20] <coconut> which could finish then
[21:21] <coconut> were packaged on the nl.* mirros which could not be downloaded
[21:21] <coconut> *mirrir
[21:21] <coconut> mirror
[21:22] <jeremy31> https://releases.ubuntu.com/20.04/ubuntu-20.04.1-desktop-amd64.manifest shows that the linux-generic-hwe-20.04 was on the ISO
[21:23] <oerheks> okr, ehy did it not install fully, and unable to trace back?
[21:23] <oerheks> c/oke, why
[21:29] <coconut> all i still know is that apt upgrade complained about not retrieving packages from the nl mirror, or something like that....
[21:32] <oerheks> i must say; i have never seen all 'up to date' before ... https://launchpad.net/ubuntu/+archivemirrors#Netherlands
[21:46] <coconut> well, i will try another install tomorrow and see if i see the same things... i am at my duolingo.com session now :)
[21:50] <jeremy31> coconut: Install without updates, then check the install to see if the hwe package is installed
[21:52] <coconut> ok, will do tomorrow :)
[21:54] <jeremy31> coconut: If you find it remove it and install linux-generic before running updates
[21:54] <coconut> :)
[22:12] <sputnik369> Hello?
[22:13] <sputnik369> Does anyone know where i can get support?
[22:13] <sputnik369> the Support Forums are a dead end
[22:14] <sputnik369> Ubuntu20.04 trying to get AMDGPU drivers installed and working
[22:16] <jeremy31> sputnik369: amdgpu is part of the kernel
[22:17] <sputnik369> @jeremy31 im trying to get the pro drivers installed for adv capabilities
[22:18] <sputnik369> i downloaded the correct package from AMD
[22:18] <sputnik369> then I do install but fails every time
[22:18] <oerheks>  lspci -k | grep -EA2 'VGA|3D'
[22:18] <oerheks>  for what card?
[22:18] <sputnik369> 5700
[22:18] <sputnik369> let me get that grep quick for u
[22:19] <sputnik369> VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] (rev c4)
[22:19] <sputnik369> 	Subsystem: Micro-Star International Co., Ltd. [MSI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
[22:19] <sputnik369> 	Kernel modules: amdgpu
[22:31] <jeremy31> sputnik369: It looks like amdgpupro might not support that chipset
[22:31] <sputnik369> hmm, do you think it could be temporary because the card is considered new
[22:32] <jeremy31> sputnik369: those results show it was supported by amdgpu.  Is Secure Boot enabled?
[22:32] <sputnik369> i just ditched windows and moved my whole house onto ubuntu and the 2 main pcs run Navi10 5700 and 5700XTs
[22:32] <sputnik369> ill be honest imm not sure how to tell if secure boot is enabled
[22:33] <jeremy31> sputnik369: check in terminal>  mokutil --sb-state
[22:33] <sputnik369> SecureBoot disabled
[22:33] <sputnik369> Platform is in Setup Mode
[22:34] <sputnik369> after trying to get it to work for 3 days now, i have got to a point where i cant even get the system back to the original state when i installed Ubuntu. Both screens worked using the installation version of the drivers.
[22:35] <sputnik369> now after running all of these attempts to get the apdgpu-pro drivers installed i have only one screen working/detected and my system/about no longer identifies the Radeon 5700 it just identifies some strange device
[22:35] <jeremy31> sputnik369: amdgpu is likely blacklisted
[22:36] <sputnik369> it says this llvmpipe (LLVM 10.0.1, 256 bits)
[22:36] <jeremy31> sputnik369: in terminal>  grep [[:alnum:]] /etc/modprobe.d/* | grep amdgpu
[22:37] <sputnik369> a
[22:37] <sputnik369> '/etc/modprobe.d/blacklist-amdgpu.conf:blacklist amdgpu
[22:37] <sputnik369> '
[22:38] <jeremy31> sputnik369: try in terminal and reboot>  sudo rm /etc/modprobe.d/blacklist-amdgpu.conf
[22:39] <sputnik369> seems it accepted it
[22:39] <jeremy31> I have no idea how to fix amdgpupro, but that should get you back to where it was
[22:39] <sputnik369> ah cool, so what i just need to reboot and perhaps will get normal use back?
[22:40] <sputnik369> ok let me reboot quick\
[22:40] <sputnik369> thanks very much btw
[22:40] <jeremy31> sputnik369: with the blacklist gone, amdgpu should work
[22:42] <sputnik369> WOW!!
[22:42] <sputnik369> Yes that worked!!!
[22:42] <sputnik369> Thanks very much Jeremy!
[22:44] <oerheks> !donut | jeremy31
[22:44] <sputnik369> :)
[22:45] <jeremy31> oerheks: you broke the bot
[22:46] <jeremy31> I think it was cookie, not donut
[22:47] <sputnik369> regarding my sources.list file, do i ever need to modify the settings? i see some say restricted some say universe some say multiverse, whats the difference, and do i need to add one to the list in order to assist in pulling propietry drivers from AMD for GFX card?
[22:48] <jeremy31> sputnik369: I don't know if the amdgpupro modifies the sources.list
[22:50] <sputnik369> i just recall in some of my attempts to get it to work, dpkg kept complaining about my amdgpu and amdgpu-dpkg causing erros right at the end of the install that looked like it was going to succeed
[22:50] <sputnik369> it failed right at the end. and told me about these 2x packages that had issues and i thought maybe because it didnt have a sources.list value that was set to contrib non-rfee
[22:51] <sputnik369> or something like that
[22:51] <oerheks> indeed, amd needs no extra repositories, still worth to read https://help.ubuntu.com/community/Repositories/Ubuntu
[22:51] <sputnik369> *non-free*
[22:52] <sputnik369> ah... actually that link to repositories looks like exactly what i need to get a better understanding in general.. thanks!
[22:55] <sputnik369> this was pretty much exactly my issues https://community.amd.com/t5/drivers-software/can-t-install-amdgpu-drivers-on-ubuntu-20-04-1-5-4-0-56-generic/td-p/426676
[22:55] <sputnik369> the only difference is they refer to uname-r of 5.4.0-56-generic and my case is 5.8.0-38-generic
[22:56] <sputnik369> following the "Solved - Go to Solution" it basically looks like they downgrade the version of linux-image from 5.4.0-56-generic to 5.4.0-54-generic
[22:57] <sputnik369> and then proceed with the amdgpu-pro driver installations, and they say it solved the issue
[22:57] <sputnik369> but my version is 5.8.0-38-generic
[22:57] <sputnik369> and so i cant do the solution as they have it


[22:34] <ChinnoDog> holstein: No, and I don't know why. My only explanation is I probably tried and it didn't work.
[22:35] <ChinnoDog> There, I submitted the subscription request again.
[23:45] <ChinnoDog> oh. I am already on the list but I forgot to make a filter for it. Oops.


[05:45] <lissyx> hey hello
[05:46] <lissyx> i'm unsure if this channel is still active?
[05:46] <lissyx> I'm curious to know the specs (RAM, CPU) for the ARM64 builders on launchpad
[05:46] <lissyx> context: https://github.com/canonical/firefox-snap/blob/0a1d8dfef42376356112daa0ff78a21f44f2443c/snapcraft.yaml#L339-L345
[05:47] <lissyx> wgrant, ^ I think you're listed there? https://launchpad.net/builders/bos02-arm64-001


Forwarded from unknown: The Lubuntu team is excited to announce that Lubuntu 21.04 has been released! You can find more information on our blog post  https://lubuntu.me/hirsute-released/