[00:00] <sarnold> delicious!
[00:35] <xibalba> fyi , moving my /32 and /128 to the loopback interface negated the need for the 'ip route change default' command it seems.
[02:35] <mybalzitch> neat, fstrim ate up ~15GB of ram apparently
[02:35] <mybalzitch> and triggered a gfp
[06:52] <lordievader> Good morning
[07:27] <leumashm> 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?
[07:38] <lordievader> `dpkg -l` will give you a list of all installed packages.
[07:39] <lordievader> 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.
[07:54] <macrow912> you can also back everything from your original server up and restore to the new one
[07:54] <macrow912> the whole filesystem
[07:54] <macrow912> and make necessary changes later like domain name
[07:59] <leumashm> macrow912 how to backup everything from original server to restore to new one?
[08:00] <macrow912> the easiest one I can think of is duplicity
[08:00] <macrow912> create a full backup and restore
[08:00] <TJ-> macrow912: not when the new is a different release; unless there's a clone followed by a release-upgrade
[08:00] <macrow912> you can also use rsync
[08:00] <macrow912> yes, this is a potential problem
[08:01] <TJ-> leumashm: as I said in #ubuntu, test this out on virtual machines first!
[08:01] <leumashm> TJ- yes sir!
[08:01] <macrow912> personally I would boot the system into a rescue environment and mount the destination disk and proceed
[08:02] <macrow912> to avoid potential inconsistence
[08:03] <TJ-> ha! they're moving from on-premise to 'cloud'
[08:04] <TJ-> 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] <sh0ne> 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] <Hamidreza> Hi, what is cloudInit in ubnutu 20
[09:59] <Hamidreza> because I can not configure it as template (and the error says disable cloudinit)
[09:59] <Hamidreza> If I disable it , what would happen?
[23:14] <jayjo> 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] <jayjo> I'm on a completely fresh disk, so nothing should be laying around
[23:15] <jayjo> 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] <jayjo> My goal is to install a few additional packages that I have in an attached partition
[23:16] <sarnold> iirc there's casper log in there too
[23:17] <jayjo> 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] <jayjo> ok, let me try and find the casper logs
[23:41] <jayjo> 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] <sarnold> jayjo: the log gives the filename without extension
[23:46] <jayjo> 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] <jayjo> (which I actually don't have)
[23:46] <jayjo> I have a Packages.gz only
[23:47] <xibalba> https://www.qualys.com/2021/01/26/cve-2021-3156/baron-samedit-heap-based-overflow-sudo.txt
[23:47] <ubot3> 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: <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3156>
[23:48] <sarnold> jayjo: hmmm, you *may* need that Release or InRelease file, I'm not 100% positive on that, but it feels plausible
[23:50] <jayjo> is there a simple way to do that?
[23:50] <jayjo> Maybe not sign the file?
[23:52] <sarnold> how are you generating the packages.gz? does that same tool offer a way to generate the releases file?
[23:52] <sarnold> eg apt-ftparchive has a 'release' subcommand
[23:53] <jayjo> I was using dpkg-scanpackages
[23:54] <jayjo> like this: https://stackoverflow.com/a/41428445