/srv/irclogs.ubuntu.com/2023/04/18/#ubuntu-server.txt

=== chris14_ is now known as chris14
=== shokohsc9 is now known as shokohsc
=== elastic_dog is now known as Guest6188
xpistosHey 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:39
xpistoshttps://pastebin.ubuntu.com/p/VNPVx5JvZF/13:41
ravagesudo apt remove yt-dlp13:43
ravagesudo rm /etc/apt/sources.list.d/yourppa.list13:43
JanCxpistos: most likely the PPA is configured in some file in /etc/apt/sources.list.d/ indeed13:44
Odd_Blokexpistos: `grep yt-dlp -R /etc/apt/sources.list*` should show you which file contains the line you need to remove.13:44
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
JanCthere is also a tool called ppa-purge that can be helpful for situations like this13:45
xpistosravage: Damn it was that easy. (sudo mv yt-dlp-ubuntu-stable-jammy.list yt-dlp-ubuntu-stable-jammy.list.bak) thanks13:45
xpistosthanks everyone!13:45
ravagethe yt-dlp snap works pretty ok btw13:46
JanCppa-purge will remove the packages coming from a PPA & then the PPA itself13:46
ravageppa-purge is not very useful if the ppa is no longer available13:46
xpistosJanC: I removed yt-dlp and tried to use the ppa-purge but it didn't work13:46
JanCah13:46
ravagehttps://github.com/ericj112/ppa-tool does a little better13:47
=== NatSocSiD` is now known as NatSocSiD
JanCI suppose it doesn't know which packages came from where...13:47
xpistosravage: what is the yt-dlp snap. is that an install method?13:47
ravagexpistos: sudo snap install yt-dlp13:48
JanCyou can also use the built-in updater from yt-dlp if you want (and trust them)13:48
xpistosravage: I will look more into snap. Thanks again!13:50
ravageyw13:50
xpistosNow I just need to find irc for virtualbox so I can my headless vbox setup on this server as well13:51
ravagecheck https://thelounge.chat/13:51
ravagei personally only use good old ZNC and hexchat. but thelounge is popular and i get the appeal13:52
JanChttps://github.com/yt-dlp/yt-dlp/wiki/Installation#using-the-release-binary explains how to use the upstream version & how to update it13:54
JanCthey also list a newer PPA further down there, it seems13:56
JanCso there are many options  :)13:56
=== shokohsc8 is now known as shokohsc
=== thelounge5727 is now known as alkisg_lounge
=== cpaelzer_ is now known as cpaelzer
=== PeGaSuS is now known as irc_m
=== irc_m is now known as PeGaSuS
=== PeGaSuS is now known as irc_m
=== irc_m is now known as PeGaSuS
DividedWeFallds=nocloud-net is not working for me. this is what I currently have...19:17
DividedWeFall# ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------19:17
DividedWeFallHOST> ip address...19:17
DividedWeFall4: eth3: <BROADCAST,MULTICAST,UP> mtu 1500 group default qlen 119:17
DividedWeFall    link/ether 00:50:b6:5a:76:8b19:17
DividedWeFall    inet 192.168.1.8/24 brd 192.168.1.255 scope global dynamic19:17
DividedWeFall       valid_lft forever preferred_lft forever19:17
DividedWeFall    inet6 fe80::1959:c96f:f29a:895/64 scope link dynamic19:17
DividedWeFall       valid_lft forever preferred_lft forever19:17
DividedWeFall1: lo: <LOOPBACK,UP> mtu 1500 group default qlen 119:17
DividedWeFall    link/loopback 00:00:00:00:00:0019:17
DividedWeFall    inet 127.0.0.1/8 brd 127.255.255.255 scope global dynamic19:17
DividedWeFall       valid_lft forever preferred_lft forever19:17
DividedWeFall    inet6 ::1/128 scope host dynamic19:17
DividedWeFall       valid_lft forever preferred_lft forever19:17
DividedWeFall# ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------19:17
DividedWeFallcat variables.json...19:17
DividedWeFall{19:17
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
DividedWeFallcat virtualbox.pkr.hcl...19:18
DividedWeFallpacker {19:18
DividedWeFall  required_plugins {19:18
DividedWeFall    virtualbox = {19:18
DividedWeFall      version = ">= 1.0.0"19:18
DividedWeFallhttp_port_min = 888819:18
DividedWeFallhttp_port_max = 888819:18
DividedWeFall  iso_checksum             = var.iso_checksum19:18
DividedWeFall  iso_urls                 = [var.local_iso_url, var.iso_url]19:18
DividedWeFall  output_directory         = var.output_directory19: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_username19:18
DividedWeFall  ssh_password             = var.ssh_password19:18
DividedWeFall  ssh_port                 = 2219: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 | DividedWeFall19:18
ubottuDividedWeFall: For posting multi-line texts into the channel, please use https://dpaste.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:18
DividedWeFall  identity:19:18
DividedWeFall    hostname: localhost19:18
DividedWeFall    username: vagrant19:18
DividedWeFall    password: "$6$K4ai6t7bm0S/K6PR$m8iYdMD0U3C7XWMpwfMnBcchyeAKAJ/WafUqCRgCxTeM8hbDft47yfeYPTMf7LjZrWOhFFLoo7V75FD79KpCJ/"19:18
DividedWeFall# ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------19:18
DividedWeFallcat http/ubuntu2204-0-0-2-virtualbox/meta-data...19:18
DividedWeFall# exists but empty19:18
DividedWeFall# ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------19:18
DividedWeFall# run...19:18
DividedWeFallHYPERVISOR=virtualbox19:18
DividedWeFallpacker.exe build -force -on-error=ask -var-file=variables.json ${HYPERVISOR}.pkr.hcl19:18
DividedWeFallCloud-init with nocloud and CIDATA works.19:18
DividedWeFallCloud-init with nocloud-net and http_directory always defaults to gui manual configuration.19:18
DividedWeFallI don't think my user-data file is making its way to cloud-init.19:18
DividedWeFallIf I do manually configure the instance and then go to the shell before it reboots, I can do the following...19:18
DividedWeFallping 192.168.1.819:18
DividedWeFallping google.com19:18
DividedWeFallcurl http://192.168.1.8:8888/user-data  # this is my desired user-data file stated above that autoinstall seems to ignore19:18
esvDividedWeFall, could you start with what you want to accomplish ? 19:23
esvand, please, don't paste any code/configuration files again 19:24
DividedWeFallI wish to know why my usage of ds=nocloud-net does not work19:25
DividedWeFallthe forum bot requested i direct multiline posts elsewhere, so i pasted things here: https://dpaste.com/CA83DEM4G19:26
DividedWeFallsorry about the big paste - i am a noob at this19:27

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!