/srv/irclogs.ubuntu.com/2024/01/11/#ubuntu.txt

semJust now I booted up and my ethernet connection was down. I rebooted and it worked, and it got me thinking; is there a way to power cycle the ethernet adapter without rebooting?00:36
rboxsem: you can't power cycle a pci card00:37
semcould I do something like ifconfig eth0 down; ifconfig eth0 up; but with the modern tools?00:38
rboxwell that's not goign to reset anything, but sure, you can try that00:38
=== ingrim2 is now known as ingrim
semi tried ip enp4s0 up but it didn't work00:39
rboxyeah, randomly guessing at what a commands syntax is tends not to go well00:39
semyeah :( and I didn't have internet00:39
semso I couldn't really search00:39
semi read the man of ip but gave up00:39
semi can search now but I still can't really figure it out00:40
ERROR_418sem: I'd make sure that the cable isn't loose in the port, make sure the retention clip is actually holding on both ends00:40
semERROR_418, yeah that was the first thing I checked; tight at both ends, all the lights working, etc., and it worked after rebooting00:40
shadow255sem: I just peeked at that manpage and an example stands out pretty quickly for ip link x set up (where x is the device name)00:41
semlooking..00:41
shadow255sem: at the end of the page with examples00:41
semah ok; i didn't make it past the synopsis00:41
semthanks for the help!00:42
shadow255and I meant to say x is the interface name00:42
shadow255cheers!00:42
acikkaynakhi01:41
acikkaynakwhatsup girls01:41
HurstvilleGuysup ladies01:48
dutlywelded01:50
Maikif you're bored and just want to poke chitchat fun then please use #ubuntu-offtopic for that. That way you can keep the support channel clean from unwanted nonsense01:51
Maik:)01:51
dgutovHi all! If someone is curious about my complains about the crashing GNOME session from a few days ago, here's where I have tracked the problem so far: https://gitlab.com/dikasetyaprayogi/light-shell/-/issues/402:27
-ubottu:#ubuntu- Issue 4 in dikasetyaprayogi/light-shell "The extension (from EGO) makes GNOME 45.1 crash a lot" [Opened]02:27
=== chris14_ is now known as chris14
aarushare there any fun things to do with armbian?02:48
rboxhuh?02:49
Zed`I hope this is not too newbie a question but any shell script can be made to run at startup/reboot by adding a service unit file that points to it to /etc/systemd/system/somescript.service and enabling it? Or is there a better way to do it? My old brain could not find an /etc/rc.local :)03:17
rboxyes, create service file03:18
Zed`cool thanks03:23
=== ubuntu is now known as Guest6188
Guest39khttps://text.is/0W1006:30
=== firefly_ is now known as gangsta
=== gangsta is now known as firefly2
=== pushkarnk1 is now known as pushkarnk
lesshastehow can I stop software updater from popping up to tell me about ubuntu pro updates?09:23
lubuntu_Die Corax Transe nervt schon ziemlich hart09:30
mjghello. i'm trying to find out why the ubuntu kernel ships with CONFIG_UBSAN=y. so far i have no luck finding a git repo or an equivalent which would give me the commit which added it10:22
mjgany clues?10:22
ikoniamjg: what does that setting do ?10:26
ikonia(and is important to you?)10:26
mjghttps://docs.kernel.org/dev-tools/ubsan.html10:26
mjgit is a major single-threaded slowdown, so i'm curious how it landed in production kernels10:27
mjgfor all i know it's an accident10:27
ikoniaI'm just reading, I'm not aware of the setting, one moment10:27
ikoniaHmmm. I wonder (I have no knowedge of this) if it's there by default to enable ubuntu as a developer platform10:28
ikoniarather than for actual debugging10:28
mjgthat would be only of consequence for kernel developers10:28
ikoniaI don't know how bad it impacts a single thread performance, but I can see it would have an impact10:28
mjgwhich would build their own kernels anyuway10:29
ikoniamjg: yes, which would make more sense to ship as a -developer kernel package10:29
mjgso how can i find out how this ended up being enabled10:29
ikoniaI'd look at the launchpad details of the package but you may need to contact/log a bug type request10:30
mjgi tried that, got noghing10:30
mjgfor example in debian there is a publicly available repo https://salsa.debian.org/kernel-team/linux/-/blob/master/debian/config/config10:31
mjgi would hope ubuntu has an equivalent10:31
mkukrimjg: the ubuntu kernel sources live here: https://code.launchpad.net/~ubuntu-kernel/+git10:37
mjgmkukri: i had seen that repo, i did not find configs in there10:38
mjgnow that i'm poking again i take that back10:40
mkukrihttps://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble/tree/debian.master/config/annotations10:41
mjgfor example https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/focal/commit/debian.master/config/amd64/config.common.amd64?id=44120274bdc294fd1808aa2a1e8386d8e09ee30710:41
-ubottu:#ubuntu- Commit 4412027 in ~ubuntu-kernel/ubuntu/+source/linux/+git/focal "UBUNTU: [Config] updateconfigs for REFCOUNT_FULL"10:41
mjgye, thanks man10:41
mkukrifocal is 20.04, you'll likely want to look at something more recent10:41
oempassord10:55
ikoniamjg: apologies, I had to take a phone call, do you know if that feature is enabled in the debian kernel ?11:12
ikoniamjg: also some of the people in #ubuntu-kernel atively work on the kernel package and maybe able to do a little bit of research behind the curtain11:13
mjgfound the origin https://bugs.launchpad.net/ubuntu/+source/linux/+bug/191468511:17
-ubottu:#ubuntu- Launchpad bug 1914685 in linux (Ubuntu Hirsute) "Please enable CONFIG_UBSAN_BOUNDS" [Undecided, Confirmed]11:17
mjgwith CONFIG_UBSAN_ONLY_BOUNDS=y (which *is* enabled) it is not tragic11:17
=== BedMan_ is now known as BedMan
ikonialets have a read11:51
BluesKajHi all13:03
fdan52I get this The following packages have unmet dependencies:13:08
fdan52 linux-tools-5.4.0-139 : Depends: linux-tools-common but it is not going to be installed13:08
fdan52E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).13:08
fdan52how can i fix this13:08
pavlosfdan52: it tells you, sudo apt install -f13:09
fdan52pavlos i did apt --fix-broken install13:10
fdan52but still i get an error13:10
fdan52dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)13:10
fdan52Errors were encountered while processing:13:10
fdan52 /var/cache/apt/archives/linux-tools-common_5.4.0-169.187_all.deb13:10
fdan52E: Sub-process /usr/bin/dpkg returned an error code (1)13:10
=== sotaover1ide is now known as sotaoverride
fdanpavlos do you know the solution13:13
pavloslsb_release -r13:29
strkis /dev/mapper/cryptswap -> ../dm-0 a partition or RAM segment or what ?14:29
strksudo dmsetup ls # cryptswap       (253:0)14:31
leftyfbstrk: it's a partition, or more appropriately, an LVM volume14:36
CosmicDJsounds more like a luks-encrypted device (source doesn't have to be LVM AFAIK)14:39
leftyfbdm-0 is LVM14:40
=== gabriele_ is now known as gabriele
Guest77Hello, I have recently upgraded to 22.04 (from ubuntu 16 LTS, via 18 and 20). When I run "Pulseaudio volume control" it says "establishing connection to pulseaudio. please wait" and nothing happens. And youtube videos in firefox don't produce any sound. How can I figure out what's wrong?15:07
pavlosinxi -A should show 3 sound servers running15:09
Guest77$ inxi -A15:11
Guest77Audio:15:11
Guest77  Device-1: Intel 6 Series/C200 Series Family High Definition Audio15:11
Guest77    driver: snd_hda_intel15:11
Guest77  Sound Server-1: ALSA v: k5.15.0-91-generic running: yes15:11
Guest77  Sound Server-2: PulseAudio v: 15.99.1 running: yes15:11
MaikGuest77: please use pastebin for large outputs15:11
Maikdon't post them here15:11
Guest77sorry. see three sound servers: alsa, pulseaudio and pipewire, all running15:12
BluesKajGuest77, oprn alsamixer in the terminal and make sure automiye is disabled, use up/down arrow keys to disable15:13
BluesKajautomute rather15:13
Guest77however, pulseaudio --check; echo $? returns 115:13
Guest77I ran alsamixer and turned off all the MM's. Still no audio output from firefox/youtube15:16
oerheksremove the ~/.config/pulse/  folder and restart sound?15:16
oerheksand restart browser15:16
Guest77it should work in chromium I guess? I am running this irc session in firefox :-)15:16
Guest77dumb question, how do I restart sound?15:17
oerhekspulseaudio --kill # and it should respawn again15:17
Guest77it gives an error: failed to kill daemon, no such file or directory15:18
Guest77I moved ~/.pulse* and ~/.config/pulse* to /var/tmp for safe keeping, ran pulseaudio --kill (gives the error) and then pulseaudio --start15:21
Guest77there's no output, and the mixer still doesn't work15:21
Guest77also in my syslog it says starting sound service... started sound service every 20 seconds15:22
Guest77so I think something is still broken :-(15:22
Guest77is "sound service" the same as pulseaudio?15:22
pavlosps -ef | grep pulseaudio ... one line with pid15:23
Guest77I have 5 matching processes, excluding grep15:23
Guest773 processes are "pulseaudio --start"15:23
pavlosuser         826     816  0 Jan10 ?        00:00:00 /usr/bin/pulseaudio --daemonize=no --log-target=journal15:24
Guest77one is "/u/b/pulseaudio --daemonize-no --log-target=journal"15:24
Guest77yes!15:24
Guest77and one is "/u/b/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /blah/blah/plugins/libpulseaudio-plugin.so"15:25
Guest77but the --daemonize=no process seems to be the one that is dying and being restarted: the process start time is always the current time, and the pid keeps changing15:26
Guest77how do I see the pulseaudio log in the systemd journal?15:33
ravagejournalctl --user -u pulseaudio15:37
Guest77thanks. I didn't see anything useful-looking there unfortunately15:39
Guest77is pipewire relevant to this?15:40
ioria2Guest77, systemctl --user status pipewire-session-manager.service15:40
Guest77it's been running for 42 minutes. There are some log messages: mod.rt: RTKit error: org.freedesktop.DBus.Error.AccessDenied15:41
Guest77but I don't know if that is going to kill my audio?15:41
ioria2what ?15:42
Guest77My issue is that I have no audio output. I am trying to figure out why. But audio output has always been a big mystery to me... all I know right now is that the pulseaudio process is restarting every 20 seconds, but I don't know why.15:42
ioria2Guest77, did you run this ?   'systemctl --user status pipewire-session-manager.service'15:43
Guest77Yes I did. I can paste the output somewhere...15:43
ioria2Guest77, systemctl --user status pipewire-session-manager.service | nc termbin.com 999915:44
Guest77https://pastebin.com/raw/dnCBdZCD15:44
ioria2Guest77, systemctl status --user pipewire.service | nc termbin.com 999915:47
Guest77I can't seem to use termbin, maybe port 9999 is firewalled by my network. Here's the pastebin for pipewire.service: https://pastebin.com/raw/mWNQAkz915:49
Guest77Those mod.rt lines are yellow, fwiw!15:51
ioria2something messed up (or missing) in the upgrade ...15:51
Guest77yes! does it look to you like the problem is with pipewire? or pulseaudio?15:53
Guest77Can I use pulseaudio without pipewire?15:53
ioria2Guest77, systemctl --user restart pipewire pipewire-pulse15:53
ioria2Guest77, and check pavucontrol (or sound settings) again15:54
benni_bhi. I have a ubuntu laptop with tightvncserver installed. I'm running Xorg desktop on it. I'm a bit unsure how to configure the xstartup file in accordance to Xorg? Or can I have it configured for xfce as per the guides I'm reading even though I'm logged in to it with Xorg?15:54
Guest77Failed to restart pipewire-pulse.service: Unit pipewire-pulse.service not found.15:54
pragmaticenigmaGuest77: You can, as pulseaudio precedes pipewire. However, pulseaudio is already on track to be removed in a future release. You're better off trying to get pipewire working15:54
BluesKajGuest77, install pipewire-pulse.15:55
pragmaticenigmabenni_b: If you're trying to share your active desktop session in Ubuntu, you will have to use the built in tools from the Settings manager. The way the desktop is setup it will not let you initiate a shared screen without an authenticated session already started.15:56
ioria2yep, that .. and also sudo apt --reinstall install pipewire-media-session15:56
ioria2Guest77, ^15:56
Guest77thanks! pavucontrol still says "please wait..." and does nothing15:57
ioria2Guest77, again  'systemctl --user restart pipewire pipewire-pulse'15:58
Guest77same behaviour after that.15:58
ioria2but it started ?15:59
Guest77well, no error messages anyway!15:59
ioria2Guest77, systemctl --user restart pipewire-session-manager15:59
Guest77oh wait, systemctl status --user pipewire-pulse has some errors16:00
Guest77https://pastebin.com/raw/uwe8GkTe16:00
benni_bpragmaticenigma, ok understood. But I don't really need to connect to an active session I guess. But the way you describe, I would use the "Remote Desktop Address" field from the "Remote Desktop" settings page?16:00
ioria2Guest77, i see;   systemctl --user restart pipewire-session-manager16:01
Guest77done. (pavucontrol not working yet...)16:01
ioria2no errors?16:01
HD140283hi running ubuntu server 22.04.3 and ran fdisk -l to check the formatting of one hdd drive and came up with this error: https://pastebin.com/Fj4YN3zu16:02
Guest77no errors printed to the terminal when I run systemctl --user restart pipewire-session-manager16:03
ioria2Guest77, ls -ld /usr/share/pipewire/media-session.d16:03
Guest77no errors in syslog either except the mod.rt warnings16:04
Guest77drwxr-xr-x 2 root root 4096 Jan 11 15:56 /usr/share/pipewire/media-session.d16:04
pragmaticenigmabenni_b: I don't understand your question16:04
Guest77(the timestamp is 8 minutes ago)16:04
ioria2Guest77, can you list the directory ? ls  /usr/share/pipewire/media-session.d/16:05
Guest77alsa-monitor.conf  bluez-monitor.conf  media-session.conf  v4l2-monitor.conf  with-pulseaudio16:05
Guest77btw I touched the file with-pulseaudio, trying to follow a fix on stackexchange16:06
ioria2Guest77, pactl info | grep '^Server Name'16:06
Guest77pactl info just hangs, no output16:06
ioria2not good16:07
woo_hello16:07
woo_am new here16:07
Guest77when I strace, it is accessing ~/.config/pulse/cookie, which I removed a while ago. It's back now.16:07
HD140283hi woo_ state your business16:08
woo_hmmm...16:08
woo_?16:08
HD140283So the gpt error is on the sdd drive holding the OS /dev/sdd - to fix the gpt error do I need to boot with a live version of Ubuntu or whatever and ..? I've read stuff online but I'm still confused.16:09
HD140283why are you here woo_16:09
HD140283*ssd16:10
ioria2Guest77, fully updated ? sudo apt update && sudo apt full-upgrade16:10
pragmaticenigmaHD140283: That's not appropriate way to speak to others here16:10
Guest77Yes, looks like it's fully upgraded following that comment. The only caveat is that it says a few packages were kept back:16:11
Guest77  python3-update-manager transmission-common transmission-gtk update-manager update-manager-core16:11
leftyfb!support | woo_16:11
ubottuwoo_: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks!16:11
ioria2Guest77, it's ok16:11
woo_just checking out pc applications16:12
woo_and why do you ask about it in that manner16:12
pragmaticenigmawoo_: just ignore people that are rude, best advice to follow in a place like that this16:13
ioria2Guest77, sudo apt-get install --reinstall alsa-base pulseaudio   and reboot16:13
Guest77ioria2, thanks! reinstalled with no issues, I'll reboot now.16:14
ioria2Guest77, wait...16:14
Guest77ok16:14
ioria2Guest77, sudo alsa force-reload16:14
Guest77done16:15
Guest77no change to pavucontrol16:15
ioria2Guest77, check Sound Settings16:15
ioria2ok16:15
ioria2Guest77, reboot16:15
abhijitHi All. How to delete old page on wiki.ubuntu.com?16:15
Guest77I don't have sound settings I think, I'm running xfce16:16
Guest77rebooting!!16:16
pragmaticenigmawoo_: To answer your previous question/topic on finding pc applications. You may want to try joining #ubuntu-offtopic for chat and discussion on applications and other things. Depending on how you arrive here, you should be able to type in the text entry area /join #ubuntu-offtopic16:18
Guest77ioria2 it works! thank you so much :-)16:19
ioria2Guest77, ok16:19
woo_na that not a question but i let you know when i do16:20
woo_have a question16:20
Guest77hello, I am on 22.04. When I run echo -e 'GET / HTTP/1.1\n\n' | nc localhost 80 I get a response from micro_httpd. How do I disable micro_httpd? It seems init is listening to port 80 but I don't know the systemctl magic to disable micro_httpd16:45
Guest77I don't want anything to respond on port 80, unless I start a daemon.16:45
ioria2Guest77, is micro-httpd installed ? dpkg -l | grep micro-httpd16:47
Guest77yes it is: ii micro-httpd 20140814-2.1 amd64 really small HTTP server16:50
Guest77it's fine to be installed, I just don't want it running automatically16:50
ioria2Guest77, It runs from inetd  not sure if there's a service for it; let's try :  'systemctl --all | grep -i http'16:52
pragmaticenigmaGuest77: I don't know what service it will name itself, but it should be something like running `sudo systemctl stop micro_httpd.service` sudo systemctrl disable micro_httpd.service`16:52
geniipragmaticenigma: It runs from inetd16:54
Guest77thanks! it's micro_httpd.socket. I had found it before and ran the disable line, but didn't think to stop it first16:54
Guest77it's gone now :)16:54
leftyfbGuest77: why install that if you don't want it running?16:54
=== veegee_ is now known as veegee
ioria2Guest77, not just stopping... it will restart next reboot. you need to disable it16:55
Guest77yes, I stopped and disabled it. Before your advice I had only disabled it and wondered why it hadn't disappeared.16:56
ioria2Guest77, ok16:56
Guest77leftyfb: seems useful to have around for ad hoc stuff, I don't know really!16:56
leftyfbGuest77: https://realpython.com/python-http-server/16:56
leftyfbGuest77: just running this will spin up a temporary http server: python3 -m http.server16:57
Guest77well, yes, that's an option...16:57
Guest77ok, another new-to-22.04 issue. The firefox print dialog only offers print to PDF, and no real printers. Is that because it's a snap now? Can it be fixed?17:03
Guest77I see the real printers fine in evince17:04
leftyfbGuest77: sudo snap connect firefox:cups-control17:05
Guest77leftyfb: magic, thank you!17:05
Guest8Trying to get the look of the Ubuntu default Desktop via VNC, but this looks like crap, can VNC not setup a good looking gnome session?17:07
leftyfbGuest8: it sounds like you're not connected to the running gnome session17:08
Guest8yes exactly, how can I do that?17:09
leftyfbGuest8: https://tecadmin.net/setup-x11vnc-server-on-ubuntu-linuxmint/17:09
Guest8is tightvnc server causing my grief, x11vnc server better or they the same?17:10
tomreynnote that this will work with X11 only, not wayland.17:10
leftyfbtomreyn: pretty sure all VNC servers only work with xorg, not wayland17:10
tomreynleftyfb: i would think so, too17:10
pragmaticenigmathere is wayvnc in development :)17:12
tomreynand gnome's freerdp integration in production17:13
leftyfbfreerdp is based on the RDP protocol, not VNC17:14
leftyfbubuntu already comes with the ability to enable an RDP servers17:15
tomreynGuest8: they differ, see     apt show tightvncserver x11vnc17:16
Guest8x11vnc fails with "XOpenDisplay(":0") failed.17:16
Guest8x11vnc was unable to open the X DISPLAY, I am root right now, and not sure there seems to be talk about already having an x session before this can work, what does that mean exactly? I just installed ubuntu-desktop17:17
leftyfbexport DISPLAY=:0 x11vnc .....17:18
leftyfbalso, don't be root17:18
Guest8got same error as newly created user17:21
leftyfbGuest8: you need to start gdm17:21
leftyfbsudo systemctl start gdm17:21
leftyfbGuest8: I take it this is a server. Why do you need VNC?17:21
Guest8its a VM, and user wants to use desktop17:22
Guest8so no choice but to remote in17:22
pragmaticenigmaGuest8: The instructions that you are following for a shared active session.17:22
pragmaticenigmawhere there's an active local session already running17:23
petn-randallHi, can someone tell me what makes the 'linux-image-nvidia' different over 'linux-image-generic'? The description is quite vague.17:23
Guest8ah so this is why gdm start is asking me to authenticate as some other user17:24
leftyfbGuest8: in order to run commands with sudo, it will ask you to authenticate as your user, not another17:25
Guest8no I mean "systemctl start gdm" asked me to authenticate as some other user, I take it this means they already had/have a session17:25
leftyfbGuest8: sudo systemctl start gdm17:25
Guest8Gnome display manager is showing as active17:26
Guest8ah ok so gdm says started now17:26
Guest8will try x11vnc command again17:26
Guest8same problem x11vnc was unable to open the X DISPLAY: ":0"17:28
leftyfbexport DISPLAY=:1 x11vnc .....17:29
Guest8same error17:30
Guest8why use this x11vnc method over VNC, will VNC not connect to the gdm correctly?17:31
tomreynpetn-randall: try asking this in #ubuntu-kernel with much patience17:31
tomreyn(or inspect the code on launchpad)17:32
leftyfbGuest8: other VNC servers try to start their own session17:32
Guest8I see17:32
Guest8so when you can get x11vnc working, how does one remote over, same client RealVNC viewer?17:33
leftyfbany VNC client should do17:33
Guest8so something is conflicting with the display17:34
leftyfbno, something isn't configured correctly17:35
leftyfbsorry, having my own troubleshooting I'm working on at the moment and can't focus on this as I would like17:35
Guest8I followed the steps, installed x11vnc then set password17:35
Guest8of course no worries, appreciate the advice17:36
petn-randalltomreyn: Will do, thanks.17:42
pragmaticenigmaGDM and x11vnc are incompatible, they have been for awhile. Without knowing what instructions you're following it's hard to know what you are setting up. There are two approaches to setting up a VNC service. One is where you intended to share the desktop of a locally authenticated user running an already authenticated session. The other is were you both authenticate and start a user session with a VNC client.17:48
Guest8I was given17:48
Guest8https://tecadmin.net/setup-x11vnc-server-on-ubuntu-linuxmint/17:48
Guest8from someone here earlier17:48
pragmaticenigmawhich you didn't actually read cause you missed the part "and -display :0 tells the server to share your current X11 session."17:49
Guest8I just want to be able to remotely connect to a GUI, finding the tightvnc setup just an ugly impementation and was hoping for something closer to the Ubuntu Desktop17:50
pragmaticenigmahopefully your server isn't running an active GUI session full time. as that would leave the system open to malicious use when no one is around to monitor the machine.17:51
Guest8it shouldnt be17:51
Guest8if this server is a remote VM, what entails a X11 session already in play?17:52
pragmaticenigmaand that's why the command you're providing keeps failing. because the command "x11vnc -usepw -display :0" expects a user to be authenticated and logged into an active GUI session on the machine17:52
Guest8I see17:52
Guest8I just want to give access remotely to a GUI in Ubuntu17:55
Guest8sounds like I am better off going back to tightvnc, since it creates it on the fly and destroys when done17:55
Guest8but it looked like crap lol17:55
pragmaticenigmaYes that's exactly what you should be using. And the "looks like crap" is just some configuration options to improve.17:55
pragmaticenigmaRead the documentation17:55
leftyfbGuest8: I have to imagine there's better solutions to your overall goal17:55
leftyfbGuest8: what exactly is the use case? What will these people be doing? How many connected at once?17:56
Guest8I am not finding any documentation on tightvnc setup with gnome that doesnt look like a kindergarten student didnt color in17:56
Guest8just a user that doesnt want to sit in the CLI, I hate GUI so I dont have any experience in it17:57
leftyfbsounds like an opportunity to me17:57
Guest8indeed17:58
Zed`Question, please: when creating a service is it wrong to have an After= AND a Wants= in the [Unit] ~ Am I being over zealous / dumb / plain old wrong or all of the above... :)17:58
pragmaticenigmaZed`: Need more context17:59
Zed`pragmaticenigma: I have a service that will absolutely fail if stunnal (a vpn) is not started before it18:00
leftyfbZed`: After means the service won't start until the other does. Wants is a dependency, though not as strict as Requires. The services in Wants= will try to be started first. With After=, those services are just assumed to be started by some other means18:01
leftyfbthough, even if the services in Wants= don't exit or fail, your main service will still start18:02
Zed`ah18:02
leftyfbYou want Requires= if you NEED those services to exist and start18:02
Zed`I see18:03
Zed`thank you18:03
leftyfbZed`: https://www.digitalocean.com/community/tutorials/understanding-systemd-units-and-unit-files18:04
leftyfbdocumentation explains all this18:04
Zed`awesome thank you again18:04
Zed`the computer I am talking to you from is a DO vm18:05
Zed`DO is great18:05
ELFrederichOn my WSL Ubuntu 22.04 VMs I'm able to `apt install nala`, but I have some other VM and I get `Unable to locate package nala`19:21
oerheks!info nala19:21
ubottunala (0.14.0, mantic): Commandline frontend for the APT package manager. In component universe, is optional. Built by nala. Size 137 kB / 651 kB19:21
leftyfb!universe | ELFrederich19:21
ubottuELFrederich: The packages in Ubuntu are divided into several sections. More information at https://help.ubuntu.com/community/Repositories - See https://wiki.ubuntu.com/RecommendedSources for the recommended way to set up your repositories.19:21
oerheksenable universe indeed19:21
ELFrederichjust ran `sudo add-apt-repository universe`, then `sudo apt update`, still getting `Unable to locate package nala`19:23
oerhekson what ubuntu version?19:24
ELFrederichPRETTY_NAME="Ubuntu 22.04.3 LTS"19:24
ELFrederichfrom /etc/os-release19:24
leftyfbELFrederich: ( cat /etc/os-release ; grep -v -- "#" /etc/apt/sources.list ) | nc termbin.com 999919:25
ELFrederichleftyfb, https://termbin.com/o5pm19:26
leftyfbELFrederich: cat /etc/apt/sources.list | nc termbin.com 999919:27
ELFrederichsingle line... # Repos managed by puppet.19:28
leftyfbthere's your problem19:28
ELFrederichcat /etc/apt/sources.list.d/* | grep ubuntu.com | nc termbin.com 999919:29
ELFrederichhttps://termbin.com/8og819:29
leftyfbURL's don't have upper case19:30
leftyfbthough I don't think that should break it19:30
pragmaticenigmaELFrederich: WSL is not something supported here, and your question would be dependent on the deployment options within windows19:30
ELFrederichdon't think so either... but you're right, that looks weird19:30
ELFrederichpragmaticenigma, it's working within WSL, it's not working on some VM that got provisioned for me19:30
leftyfbthis isn't a WSL issue. Potentially puppet19:30
leftyfbI do't have any experience with not having a sources.list and only relying on .d/ lists. In theory it should work19:31
ELFrederichalso, if it's not supported here, is there a sub channel where it is?  I think Ubuntu is publishing WSL rootfs images, got into the Microsoft store, etc19:31
leftyfbbut that is where I would start looking19:31
leftyfb!wsl | ELFrederich19:31
ubottuELFrederich: Windows 10 and newer have a feature called "Windows Subsystem for Linux", which allows it to run Ubuntu (and other Linux distro) userspace programs without porting/recompliation. For installation instructions, see https://msdn.microsoft.com/en-us/commandline/wsl/install_guide19:31
ELFrederichleftyfb, yeah... no issues with WSL.  I'm curious why pragmaticenigma is saying WSL isn't supported in #ubuntu19:32
leftyfbELFrederich: the non-standard kernel and drivers can cause issues19:33
leftyfbbut this isn't one of them ... .again, I'm pretty sure it's due to your system being managed by puppet19:33
leftyfbI would test by moving that .d/ file with the main repo's back into the main sources.list19:34
ELFrederichah... gotcha.  Yeah, I can see not supporting that stuff.  Also graphical apps19:34
ELFrederichbut CLI stuff, package management, etc should be supported here all day19:34
oerheksThe package nala in Ubuntu 22.04 is in the jammy-backports repository.?? https://launchpad.net/ubuntu/+source/nala/+changelog19:34
oerheksfrom https://answers.launchpad.net/ubuntu/+source/nala/+question/70631119:34
ELFrederichah... backports19:34
leftyfbdamn, missed that19:35
leftyfbyep, oerheks is right19:35
leftyfbit'd be nice if ubottu gave that info with !info19:35
ELFrederichso it wasn't necessisarily universe19:35
oerheksELFrederich, indeed19:36
oerhekselse it could have been stored in ubuntu's universe project, if it was unmaintained, but does not looke like an abandoned project19:36
leftyfbstill though, why does puppet wipe the souces.list just to move it into .d/? Seems pointless to me19:36
pragmaticenigmaELFrederich: You are correct from the standpoint that core things should be universally supported. However I think you may have encountered the one scenario which makes WSL an outlier. There's a lot of customizations made to those images, by their Author (I assume Microsoft) and in your case, it's possible that WSL enables the backports repo by default, while a general release requires the end user to enable that.19:45
leftyfbto be fair, I'm pretty sure the OS image that's used for WSL is just a standard Ubuntu cloud image. The problem's usually stem from the kernel being not a real kernel (WSL1) or a non-standard kernel (WSL2)19:48
rfmit's been a while but the last time I looked at WSL2 it had a custom init, didn't use systemd, which is pretty far from a standard ubuntu...20:09
=== Blob457 is now known as Blob456
jake_hey baby21:08
ELFrederichtrying out 24.04, noticed gimp finally has a working liquid rescale in there once I installed gimp-plugin-registry, but I can't find the "heal selection"21:12
ravage!next | ELFrederich21:12
ubottuELFrederich: Noble Numbat is the codename for Ubuntu 24.04. For technical support, see #ubuntu-next. For testing and QA feedback and help, see #ubuntu-quality.21:12
pragmaticenigmaELFrederich: #gimp might also be a good resource to check out21:14

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