[00:00] delicious! [00:35] fyi , moving my /32 and /128 to the loopback interface negated the need for the 'ip route change default' command it seems. === pcfreak301 is now known as pcfreak30 [02:35] neat, fstrim ate up ~15GB of ram apparently [02:35] and triggered a gfp === benpro2 is now known as benpro [06:52] Good morning [07:27] Hi i have an ubuntu server, and we are trying to replicate the same on another ubuntu server. So we are trying to find out what are installed on the previous server, so we can install on the new server. anyone know what command should i use? === denningsrogue6 is now known as denningsrogue [07:38] `dpkg -l` will give you a list of all installed packages. [07:39] Though you don't just want to blindly install all from that list, it would mark dependencies as explicitly installed. Which means that if the package that requires them is gone the dependencies will remain. === cpaelzer__ is now known as cpaelzer [07:54] you can also back everything from your original server up and restore to the new one [07:54] the whole filesystem [07:54] and make necessary changes later like domain name [07:59] macrow912 how to backup everything from original server to restore to new one? [08:00] the easiest one I can think of is duplicity [08:00] create a full backup and restore [08:00] macrow912: not when the new is a different release; unless there's a clone followed by a release-upgrade [08:00] you can also use rsync [08:00] yes, this is a potential problem [08:01] leumashm: as I said in #ubuntu, test this out on virtual machines first! [08:01] TJ- yes sir! [08:01] personally I would boot the system into a rescue environment and mount the destination disk and proceed [08:02] to avoid potential inconsistence [08:03] ha! they're moving from on-premise to 'cloud' [08:04] plus release upgrade. I've suggested using debfoster to get a list of keepers to do a pristine install of 20.04 as a pre-cursor to figuring out which services and configs need copying/translating over from 18.04 to 20.04 [09:23] When I try to install php-gettext package in Ubuntu Server 20.04 LTS (minimal install) the error is returned "E: Unable to locate package php-gettext". Where can I get that package? [09:38] Hi, what is cloudInit in ubnutu 20 [09:59] because I can not configure it as template (and the error says disable cloudinit) [09:59] If I disable it , what would happen? === jamespage_ is now known as jamespage === jancoow6 is now known as jancoow === ijohnson is now known as ijohnson|lunch === ijohnson|lunch is now known as ijohnson [23:14] I'm having trouble with the new autoinstall and cloud-init using the new autoinstall format. My install fails and then I can use Alt + F2 to get a new terminal for inspecting what happens. Where can I look at what command was the last to fail in the installation? [23:15] I'm on a completely fresh disk, so nothing should be laying around [23:15] I think /var/log/cloud-init-output.log and /var/log/cloud-init.log seem to be from earlier stages of the boot attempt [23:16] My goal is to install a few additional packages that I have in an attached partition [23:16] iirc there's casper log in there too [23:17] I'm trying to mount that partition somewhere on the installation system, and then use a file:/// repo to that location so I can install the packages [23:17] ok, let me try and find the casper logs [23:41] I can see now that it's failing due to my local repository having a Release.gz file, but it is only looking for a Release file [23:41] jayjo: the log gives the filename without extension [23:46] I have a line like "debs [trusted=yes] file:///target/mnt/ubuntu-apt-repo/ debs/" and I am getting the error about a Release [23:46] (which I actually don't have) [23:46] I have a Packages.gz only [23:47] https://www.qualys.com/2021/01/26/cve-2021-3156/baron-samedit-heap-based-overflow-sudo.txt [23:47] Sudo before 1.9.5p2 has a Heap-based Buffer Overflow, allowing privilege escalation to root via "sudoedit -s" and a command-line argument that ends with a single backslash character: [23:48] jayjo: hmmm, you *may* need that Release or InRelease file, I'm not 100% positive on that, but it feels plausible [23:50] is there a simple way to do that? [23:50] Maybe not sign the file? [23:52] how are you generating the packages.gz? does that same tool offer a way to generate the releases file? [23:52] eg apt-ftparchive has a 'release' subcommand [23:53] I was using dpkg-scanpackages [23:54] like this: https://stackoverflow.com/a/41428445