[13:39] <xpistos> Hey all. I cannot update my server because I have having an issue with and old ppa for yt-dlp but I can' figure out how to remove it. Any ideas?
[13:41] <xpistos> https://pastebin.ubuntu.com/p/VNPVx5JvZF/
[13:43] <ravage> sudo apt remove yt-dlp
[13:43] <ravage> sudo rm /etc/apt/sources.list.d/yourppa.list
[13:44] <JanC> xpistos: most likely the PPA is configured in some file in /etc/apt/sources.list.d/ indeed
[13:44] <Odd_Bloke> xpistos: `grep yt-dlp -R /etc/apt/sources.list*` should show you which file contains the line you need to remove.
[13:45] <Odd_Bloke> (Though I think that you should still be able to update your server: apt should use the updated lists from your other sources.)
[13:45] <JanC> there is also a tool called ppa-purge that can be helpful for situations like this
[13:45] <xpistos> ravage: Damn it was that easy. (sudo mv yt-dlp-ubuntu-stable-jammy.list yt-dlp-ubuntu-stable-jammy.list.bak) thanks
[13:45] <xpistos> thanks everyone!
[13:46] <ravage> the yt-dlp snap works pretty ok btw
[13:46] <JanC> ppa-purge will remove the packages coming from a PPA & then the PPA itself
[13:46] <ravage> ppa-purge is not very useful if the ppa is no longer available
[13:46] <xpistos> JanC: I removed yt-dlp and tried to use the ppa-purge but it didn't work
[13:46] <JanC> ah
[13:47] <ravage> https://github.com/ericj112/ppa-tool does a little better
[13:47] <JanC> I suppose it doesn't know which packages came from where...
[13:47] <xpistos> ravage: what is the yt-dlp snap. is that an install method?
[13:48] <ravage> xpistos: sudo snap install yt-dlp
[13:48] <JanC> you can also use the built-in updater from yt-dlp if you want (and trust them)
[13:50] <xpistos> ravage: I will look more into snap. Thanks again!
[13:50] <ravage> yw
[13:51] <xpistos> Now I just need to find irc for virtualbox so I can my headless vbox setup on this server as well
[13:51] <ravage> check https://thelounge.chat/
[13:52] <ravage> i personally only use good old ZNC and hexchat. but thelounge is popular and i get the appeal
[13:54] <JanC> https://github.com/yt-dlp/yt-dlp/wiki/Installation#using-the-release-binary explains how to use the upstream version & how to update it
[13:56] <JanC> they also list a newer PPA further down there, it seems
[13:56] <JanC> so there are many options  :)
[19:17] <DividedWeFall> ds=nocloud-net is not working for me. this is what I currently have...
[19:17] <DividedWeFall> # ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
[19:17] <DividedWeFall> HOST> ip address...
[19:17] <DividedWeFall> 4: eth3: <BROADCAST,MULTICAST,UP> mtu 1500 group default qlen 1
[19:17] <DividedWeFall>     link/ether 00:50:b6:5a:76:8b
[19:17] <DividedWeFall>     inet 192.168.1.8/24 brd 192.168.1.255 scope global dynamic
[19:17] <DividedWeFall>        valid_lft forever preferred_lft forever
[19:17] <DividedWeFall>     inet6 fe80::1959:c96f:f29a:895/64 scope link dynamic
[19:17] <DividedWeFall>        valid_lft forever preferred_lft forever
[19:17] <DividedWeFall> 1: lo: <LOOPBACK,UP> mtu 1500 group default qlen 1
[19:17] <DividedWeFall>     link/loopback 00:00:00:00:00:00
[19:17] <DividedWeFall>     inet 127.0.0.1/8 brd 127.255.255.255 scope global dynamic
[19:17] <DividedWeFall>        valid_lft forever preferred_lft forever
[19:17] <DividedWeFall>     inet6 ::1/128 scope host dynamic
[19:17] <DividedWeFall>        valid_lft forever preferred_lft forever
[19:17] <DividedWeFall> # ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
[19:17] <DividedWeFall> cat variables.json...
[19:17] <DividedWeFall> {
[19:18] <DividedWeFall> "<enter><wait>",
[19:18] <DividedWeFall>                 "linux /casper/vmlinuz autoinstall ip=dhcp ipv6.disable=1 ds=nocloud-net;s=http://192.168.1.8:{{.HTTPPort}}/ ---",
[19:18] <DividedWeFall>                 "<enter><wait>",
[19:18] <DividedWeFall>                 "initrd /casper/initrd",
[19:18] <DividedWeFall>                 "<enter><wait>",
[19:18] <DividedWeFall>                 "boot",
[19:18] <DividedWeFall>                 "<enter>"
[19:18] <DividedWeFall> ],
[19:18] <DividedWeFall>   "iso_url": "https://cdimage.ubuntu.com/releases/22.04.2/release/ubuntu-22.04.2-live-server-amd64.iso",
[19:18] <DividedWeFall>   "output_file": "ubuntu2204-0-0-2-virtualbox.box",
[19:18] <DividedWeFall>   "output_directory": "output"
[19:18] <DividedWeFall> }
[19:18] <DividedWeFall> # ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
[19:18] <DividedWeFall> cat virtualbox.pkr.hcl...
[19:18] <DividedWeFall> packer {
[19:18] <DividedWeFall>   required_plugins {
[19:18] <DividedWeFall>     virtualbox = {
[19:18] <DividedWeFall>       version = ">= 1.0.0"
[19:18] <DividedWeFall> http_port_min = 8888
[19:18] <DividedWeFall> http_port_max = 8888
[19:18] <DividedWeFall>   iso_checksum             = var.iso_checksum
[19:18] <DividedWeFall>   iso_urls                 = [var.local_iso_url, var.iso_url]
[19:18] <DividedWeFall>   output_directory         = var.output_directory
[19:18] <DividedWeFall>   post_shutdown_delay      = "30s"
[19:18] <DividedWeFall>   shutdown_command = "echo '${var.ssh_password}' | sudo -S shutdown -P now"
[19:18] <DividedWeFall>   communicator             = "ssh"
[19:18] <DividedWeFall>   ssh_username             = var.ssh_username
[19:18] <DividedWeFall>   ssh_password             = var.ssh_password
[19:18] <DividedWeFall>   ssh_port                 = 22
[19:18] <DividedWeFall>   ssh_wait_timeout         = "10000s"
[19:18] <DividedWeFall>   vboxmanage = [
[19:18] <DividedWeFall>     ["modifyvm", "{{ .Name }}", "--cpus", "${var.cpus}"],
[19:18] <DividedWeFall>     ["modifyvm", "{{ .Name }}", "--memory", "${var.memory}"],
[19:18] <DividedWeFall>     ["modifyvm", "{{ .Name }}", "--chipset", "${var.chipset}"],
[19:18] <DividedWeFall>     ["modifyvm", "{{ .Name }}", "--firmware", "${var.firmware}"],
[19:18] <DividedWeFall>     ["modifyvm", "{{ .Name }}", "--vram", "${var.vram}"],
[19:18] <genii> !pastebin | DividedWeFall
[19:18] <DividedWeFall>   identity:
[19:18] <DividedWeFall>     hostname: localhost
[19:18] <DividedWeFall>     username: vagrant
[19:18] <DividedWeFall>     password: "$6$K4ai6t7bm0S/K6PR$m8iYdMD0U3C7XWMpwfMnBcchyeAKAJ/WafUqCRgCxTeM8hbDft47yfeYPTMf7LjZrWOhFFLoo7V75FD79KpCJ/"
[19:18] <DividedWeFall> # ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
[19:18] <DividedWeFall> cat http/ubuntu2204-0-0-2-virtualbox/meta-data...
[19:18] <DividedWeFall> # exists but empty
[19:18] <DividedWeFall> # ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
[19:18] <DividedWeFall> # run...
[19:18] <DividedWeFall> HYPERVISOR=virtualbox
[19:18] <DividedWeFall> packer.exe build -force -on-error=ask -var-file=variables.json ${HYPERVISOR}.pkr.hcl
[19:18] <DividedWeFall> Cloud-init with nocloud and CIDATA works.
[19:18] <DividedWeFall> Cloud-init with nocloud-net and http_directory always defaults to gui manual configuration.
[19:18] <DividedWeFall> I don't think my user-data file is making its way to cloud-init.
[19:18] <DividedWeFall> If I do manually configure the instance and then go to the shell before it reboots, I can do the following...
[19:18] <DividedWeFall> ping 192.168.1.8
[19:18] <DividedWeFall> ping google.com
[19:18] <DividedWeFall> curl http://192.168.1.8:8888/user-data  # this is my desired user-data file stated above that autoinstall seems to ignore
[19:23] <esv> DividedWeFall, could you start with what you want to accomplish ? 
[19:24] <esv> and, please, don't paste any code/configuration files again 
[19:25] <DividedWeFall> I wish to know why my usage of ds=nocloud-net does not work
[19:26] <DividedWeFall> the forum bot requested i direct multiline posts elsewhere, so i pasted things here: https://dpaste.com/CA83DEM4G
[19:27] <DividedWeFall> sorry about the big paste - i am a noob at this