de-facto | i dont want to audospawn, i want to start it | 00:00 |
---|---|---|
de-facto | its dead | 00:00 |
leftyfb | de-facto: ( pgrep pulseadio ; pulseaudio -k ; pgrep pulseaudio ) | nc termbin.com 9999 | 00:00 |
oerheks | systemctl --user restart pulseaudio.service && systemctl --user restart pulseaudio.socket && systemctl --user startus pulseaudio.socket ... but pulseaudio -k should do fine | 00:00 |
leftyfb | de-facto: if it's not auto spawning, you have something wrong with your pulseaudio and/or your system. | 00:01 |
de-facto | it is not autospawning, i want to start it | 00:02 |
leftyfb | de-facto: what is the output please? | 00:02 |
de-facto | that its dead | 00:03 |
leftyfb | de-facto: termbin url please | 00:03 |
de-facto | "E: [pulseaudio] main.c: Hintergrundprozess konnte nicht abgebrochen werden: Kein passender Prozess gefunden" | 00:04 |
de-facto | it does not give a termbin for that | 00:04 |
de-facto | its dead, believe me | 00:05 |
oerheks | pulseaudio --check | 00:05 |
de-facto | empty | 00:05 |
leftyfb | de-facto: ( journalctl --user -u pulseaudio -S today ; pgrep pulseaudio ) | nc termbin.com 9999 | 00:06 |
de-facto | the command that oerheks gave starts pulseaudio but just like pulseaudio --start it does not find the hdmi devices | 00:07 |
de-facto | https://termbin.com/dguq | 00:09 |
oerheks | interesting powersave on the hdmi devices can cause this behavior https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1066 | 00:10 |
oerheks | and this, use pipewire? https://askubuntu.com/questions/1294939/ubuntu-20-04-missing-hdmi-sound-device-after-monitor-goes-to-sleep-mode | 00:10 |
-ubottu:#ubuntu- Issue 1066 in pulseaudio/pulseaudio "Pulseaudio HDMI output disappears on screen blank. Ubuntu 20.04" [Opened] | 00:10 | |
de-facto | any idea how i can bring back my hdmi pulseaudio sink? | 00:20 |
djrem | test | 00:20 |
oerheks | de-facto, what happens after replug hdmi? if it works, the hdmi device sleeps. | 00:21 |
oerheks | also, try pipewire? | 00:21 |
de-facto | it does not sleep its my main monitor | 00:21 |
de-facto | maybe i could try that yeah | 00:21 |
de-facto | i just was hoping that i could use pulseaudio, i dont want to do anything fancy, just audio playback | 00:22 |
de-facto | is pipewire more stable than pulseaudio? | 00:23 |
arraybolt3 | de-facto: Depends on what release of Ubuntu you're using whether Pipewire is usable or not. | 00:25 |
arraybolt3 | (For audio.) | 00:25 |
de-facto | im on 22.04 lts | 00:25 |
arraybolt3 | Yeah then don't use Pipewire for audio. | 00:26 |
arraybolt3 | It is not stable in 22.04, I don't believe. | 00:26 |
de-facto | ok | 00:26 |
ice9 | /sys/bus/usb/devices/usb3/power/wakeup is set to "disabled" however the wireless mouse still wakes up the laptop from sleep, any idea? | 00:38 |
Tsh | Hello | 00:43 |
jhutchins | ice9: Why is this behavior not desired? Cats waking the system up at night? | 00:56 |
ice9 | jhutchins, yeah | 00:57 |
cluelessperson_ | I have an ALC4050 that ubuntu doesn't seem to see. | 01:14 |
Varro | Anyone knows why my KDE keeps flickering from time to time? | 01:31 |
Varro | It most happens with Firefox open, but other monitor and windows flicker | 01:31 |
Varro | Sometimes the other screen even flickers upside down | 01:31 |
=== xenial is now known as Guest9815 | ||
WaV | ice9: cat /proc/acpi/wakeup | grep enabled | nc termbin.com 9999 | 01:33 |
VladTepes | anyone know how to install nord vpn for linux | 01:34 |
ice9 | WaV, https://termbin.com/a7qa | 01:34 |
alkpwn | I'm not on KDE. But Firefox is a definate resourse hog. | 01:34 |
jhutchins | cluelessperson_: What did you try to do? How did you try to do it? What did you expect to happen? What happened instead? | 01:34 |
=== chris14_ is now known as chris14 | ||
jhutchins | Varro: Details of your video chipset and config? | 01:35 |
WaV | ice9: XHCI is the USB3 controller on your motherboard, which is probably why your mouse is still waking up the system | 01:36 |
ice9 | WaV, you are right, thanks. setting "echo "disabled" > /sys/bus/pci/devices/0000\:00\:14.0/power/wakeup" makes it permanent? | 01:38 |
WaV | ice9: No because the /sys filesystem is a virtual filesystem that is regenerated every time the system is booted. | 01:40 |
WaV | ice9: you can try a systemd service | 01:40 |
WaV | ice9: Also, This will disable all usb3 devices connected to your motherboard. | 01:40 |
WaV | ice9: Did you find that device to be the culprit? | 01:42 |
ice9 | WaV, yes | 01:42 |
leftyfb | Varro: I added i915.enable_psr=0 to the "GRUB_CMDLINE_LINUX_DEFAULT=" line in /etc/default/grub, ran sudo update-grub # and rebooted. Solved the same issue I had | 01:42 |
WaV | ice9: https://pastebin.com/gtP44HCd | 01:43 |
WaV | ice9: sudo nano /etc/systemd/system/disable-xhci-wakeup.service ----- type what i pasted in this file then save/close && sudo systemctl daemon-reload && sudo systemctl enable disable-xhci-wakeup.service | 01:45 |
Tweaker | this may be a rediculous question, is ubuntu using grub2? i noticed the /boot/grub directory but not /boot/grub2. curious, before i reserch how to theme it since i found a very long documentation on it, and don't want to waste my time un necessarily. | 01:45 |
ice9 | WaV, "echo XHCI > /proc/acpi/wakeup" won't replace the whole content of proc/acpi/wakeup ? | 01:45 |
oerheks | Tweaker, yes | 01:47 |
oerheks | !info grub2 | 01:47 |
ubottu | grub2 (2.06-2ubuntu12.1, kinetic): GRand Unified Bootloader, version 2 (dummy package). In component universe, is extra. Built by grub2. Size 3 kB / 12 kB. (Only available for any-i386, any-amd64, any-powerpc, any-ppc64, any-ppc64el, any-sparc, any-sparc64.) | 01:47 |
WaV | ice9: my fault; use >> | 01:47 |
WaV | good catch. | 01:47 |
Tweaker | oerheks: thank you, appreciate it. | 01:48 |
ice9 | WaV, but how passing XHCI to that virtual fs toggles the state of the input? | 01:50 |
WaV | ice9: The kernel reads the file and updates the ACPI wakeup settings accordingly. Simply echoing "XHCI" should disable it. The file doesn't persist on reboot which is why we have to create a service to append XHCI every boot. | 01:52 |
=== xenial is now known as Guest5143 | ||
beltwaymud | What's everyone sayin | 01:55 |
oerheks | polls say polls are useless | 01:56 |
beltwaymud | Sure are...\ | 01:56 |
matsaman | oerheks: well, the badly implemented polls say that, sure! | 01:57 |
beltwaymud | this is my first time using linux on a physical machine | 01:59 |
beltwaymud | i installed Lubuntu onto a 10in Acer Aspire One bc I wanted a dedicated portable machine for coding and work\ | 01:59 |
beltwaymud | any apps you guys could recommend? | 02:00 |
rbox | "apps"? | 02:01 |
jhutchins | beltwaymud: https://www.makeuseof.com/best-linux-alternatives-to-popular-windows-apps/ | 02:02 |
shadowhawk | hi | 02:02 |
jhutchins | beltwaymud: This is really a support & troubleshooting channel. | 02:03 |
shadowhawk | is there an off-topic chat room? | 02:04 |
beltwaymud | Apologies, thanks for the pointers. | 02:04 |
=== shokohsc0 is now known as shokohsc | ||
WaV | shadowhawk: Yes there is. :) #ubuntu-offtopic | 02:05 |
shadowhawk | thanks | 02:05 |
=== xenial is now known as Guest5521 | ||
Sven_vB | hi :) I just bootstrapped a fresh Ubuntu jammy, installed some basic tools like SSH, works. Now I tried to install the next bunch of packages but "E: Unable to correct problems, you have held broken packages." How would I go about fixing it? apt messages: https://paste.debian.net/plainh/c59be570 | 02:42 |
de-facto | hmm hdmi audio sink did not come back, but without it pulseaudio works somewhat stable | 02:43 |
Sven_vB | I did update apt package lists btw. | 02:43 |
de-facto | maybe the problem is with the radeon driver? | 02:43 |
rbox | Sven_vB: you screwed up your sources pretty good | 02:44 |
Sven_vB | rbox, so I guess I should disable some source lists? | 02:44 |
rbox | lol | 02:45 |
rbox | you sh9uld probably not create a broken system to begin with | 02:45 |
Sven_vB | oh. yeah. I think I know what I broke. :D | 02:48 |
Sven_vB | thanks for pointing me there! | 02:48 |
=== alkpwn is now known as wiseguy | ||
Guest26 | hello | 03:58 |
=== xenial is now known as Guest7925 | ||
alkisg | How can I find out the current screen resolution in ubuntu-server? There was a nice way to do it from /sys, but my google-fu is failing me... | 05:08 |
=== xenial is now known as Guest9152 | ||
=== myla is now known as crem1125 | ||
=== xenial is now known as Guest6123 | ||
Guest4 | I i'm on ubuntu 22.04, I have struglling with the lost of 'CTRL+V' for paste, anyone could help troubleshooting? please, appreciated! | 05:53 |
alkisg | Guest4: where are you trying to paste, e.g. the terminal, libreoffice? | 07:28 |
cluelessperson_ | So I screwed up the nvidia driver install | 08:24 |
cluelessperson_ | gdm fails to start | 08:24 |
cluelessperson_ | and now the screen just flashes so I can't even get the console | 08:24 |
cluelessperson_ | so stupid | 08:24 |
lotuspsychje | recoverymode cluelessperson_ | 08:25 |
cluelessperson_ | trying | 08:25 |
lotuspsychje | with network and rootshell | 08:25 |
cluelessperson_ | grub completely ignores shift | 08:26 |
lotuspsychje | try ESC | 08:26 |
lotuspsychje | bad nvidia install should also not influence grub | 08:26 |
cluelessperson_ | lotuspsychje, yeah, doesn't work | 08:28 |
cluelessperson_ | I have an encrypted install as well, | 08:28 |
cluelessperson_ | so who knows what it wants | 08:29 |
lotuspsychje | no console, no grub, try a !chroot ? | 08:30 |
alkisg | Or try hitting esc harder, like 5 times per second, starting from power on | 08:31 |
cluelessperson_ | lotuspsychje, thanks | 08:46 |
cluelessperson_ | I fixed it after raging a bit | 08:46 |
cluelessperson_ | lotuspsychje, I can configure xorg to start on the amd gpu, do you know how to configure gnome-shell to use the amd gpu as well? | 08:46 |
cluelessperson_ | lotuspsychje, okay, not entirely fixed, it sits there spamming some stupid nonsense error (I'll try to capture it next reboot) | 08:52 |
cluelessperson_ | but if I hold Ctrl+Alt+F2 it freaks out and boots gdm anyway | 08:52 |
cluelessperson_ | dumb | 08:52 |
mort | what's up with the ddebs.ubuntu.com repos? During an `apt-get update` it takes multiple seconds for them to return HTTP headers and they frequently return a 503 error | 09:20 |
mort | also, different but related question: is Ubuntu now holding back security updates on their LTS for non-paying customers? `apt-get upgrade` is teasing me with "Get more security updates through Ubuntu Pro with 'esm-apps' enabled" and a big list of packages which presumably have security updates available for ubuntu pro customers | 09:21 |
mort | are your users' security really the thing you want to be holding back as a paid feature? | 09:22 |
moshiax | + | 09:37 |
cluelessperson_ | Now my yubikey doesn't work | 10:00 |
cluelessperson_ | what the hell | 10:00 |
cluelessperson_ | it was working earlier | 10:00 |
cluelessperson_ | now it doesn't. | 10:00 |
cluelessperson_ | ssh-keygen -D /path/to/libykcs11.so | 10:00 |
cluelessperson_ | fails | 10:00 |
ice303 | Hi. Does anyone use Wezterm? | 10:13 |
B1773rm4n | Is it possible to defrag(mentation) a LUKS disk? | 10:13 |
B1773rm4n | (HDD) | 10:13 |
=== michel_c13 is now known as michel_c12 | ||
alive | B1773rm4n: You're not supposed to defrag | 10:18 |
B1773rm4n | Why that? | 10:18 |
alive | Because file systems such as ext4 do not fragment files. | 10:19 |
alive | If you're near-full on a disk, like 90% full, you should first increase your disk size and maybe only if that is not possible, consider defragmenting it. | 10:20 |
fruity_tomato | only if for whatever insane reason you chose ntfs as your partition for linux | 10:20 |
alive | Also it depends on your file system, not on luks | 10:20 |
B1773rm4n | It's ext4 | 10:20 |
B1773rm4n | Thanks for the fast and good answer | 10:22 |
alive | I remember back in windows98, the built in tool would have an amazing UI | 10:22 |
alive | Defragmenting was so cool. It would color code the blocks and show different operations etc | 10:22 |
alive | But even in windows, defragmenting is now obsoleted so far by Microsoft simply due to the fact that it's no longer neccesary | 10:23 |
alive | With SSD's, it doesn't even matter anymore if files are fragmented. It's all accessible at the same speed, with no seek time | 10:23 |
alive | B1773rm4n: If you must, use "e4defrag" | 10:24 |
B1773rm4n | I just did | 10:24 |
B1773rm4n | With the -c option. Sadly it just says "Done" without any further output | 10:25 |
B1773rm4n | In fact it says " Done." | 10:25 |
alive | Amazing, that probably means your disk has no fragmentation :D | 10:25 |
B1773rm4n | Sadly not true. I let it run with -v (without -c) and it works quite some with output like this: | 10:27 |
B1773rm4n | (852x480 x264 8bit AAC)[164C288D].mp4: 100% extents: 4 -> 2 [ OK ] | 10:27 |
B1773rm4n | I come to this topic because my LUKS disk said it's 100% full (8TB disk) but actually just 2TB were used | 10:30 |
B1773rm4n | Surprisingly fsck had a lot of work to do. So after doing that, I'm trying to defrag now. Not sure if the used disk space issue is fixed yet | 10:31 |
alive | oh :O | 10:31 |
alive | I have no experience recovering from disk errors like that, sadly. It just doesn't happen for me. | 10:31 |
shidima | Dont say that :) | 10:34 |
loswedsed | I edited a pdf file with okular (I added some text box and text). How do I save the file + it's changes as a pdf but no recognizable text boxes? | 10:36 |
TomyWork | isn't okular a PDF *viewer*? | 10:44 |
gry | maybe both | 10:45 |
TomyWork | not really | 10:45 |
TomyWork | at least not the version I have | 10:45 |
TomyWork | or any version I have ever used | 10:45 |
TomyWork | you can make "reviews", whatever that is. I would call that annotating, not editing | 10:45 |
TomyWork | yeah it's an annotation feature | 10:47 |
TomyWork | oh, looks like they left | 10:48 |
TomyWork | anyway, those annotations dont show up unless you double-click on them | 10:50 |
=== root is now known as Kaname | ||
nwoob | I am running Ubuntu 22.04.2 LTS and facing issue with audio. Problem is there is if my earphone are connected from bootup then there is sound in earphones but when I remove them and plug again then there is no audio from earphone but there no issues in audio of speakers | 11:40 |
nwoob | could someone please help me | 11:40 |
hsiktas[m] | Coming from macOS/Windows, I am now using Deja Dup as an alternative to Arq Backup or Backblaze for encrypted backups of my personal folders in the cloud. I am still looking for an alternative that creates incremental full system backups on local, external storage. (As an alternative to Time Machine or Macrium Backup) Any recommendations? | 11:48 |
hsiktas[m] | I already tried timeshift from the Jammy repos but it is not very promising: https://github.com/linuxmint/timeshift/issues/171 | 11:50 |
-ubottu:#ubuntu- Issue 171 in linuxmint/timeshift "No snapshot listed on Ubuntu 22.04" [Open] | 11:50 | |
B1773rm4n | alive: https://askubuntu.com/questions/221079/how-to-defrag-an-ext4-filesystem#comment881088_620966 | 11:59 |
B1773rm4n | Just found that | 11:59 |
=== xenial is now known as Guest623 | ||
alive | B1773rm4n: Thanks, t hat's one of the top links i got too when googling the issue. | 12:05 |
alive | B1773rm4n: I think your issue is not (de)fragmentation, but a filesystem error. You are not going to fix your filesystem by defragging it. | 12:05 |
alive | B1773rm4n: Just as a basic first step, have you tried rebooting the system in question? Sometimes files are not unlinked by processes if they have had a file descriptor open for them but crashed. This can make "disk usage" appear wrong | 12:06 |
alive | B1773rm4n: Also, have you tried "du -h -d -x /" | 12:07 |
alive | "man du" to see what it does. It basically counts the usage of the files in the / filesystem | 12:07 |
nwoob | did someone replied for my issue. I got disconnected | 12:07 |
badbodh | hsiktas[m]: i am using timeshift on ubuntu since 18.04. it works just fine, with two caveats, 1 - if you have btrfs root, and use btrfs method of snapshot it breaks if partition gets corrupt for any reason (btrfs has low fault tolerance compared to ext4) and your backups are useless now. rsync is a better method which brings us to caveat 2 - rsync method has the ability to create backup is separate partition r external drive. which is handy in case your | 12:07 |
badbodh | root partition gets corrupt somehow. but rsync method doesn't back up /snap folder which contains some snap executables. you need to re-install the snaps, or manually backup the /snap/bin folder (no need to backup mount points of snap images) | 12:07 |
alive | nwoob: Try installing "pavucontrol" | 12:08 |
badbodh | i know there are a lot of words up there, take you time to learn up. timeshift is pretty good. alternatively, you can use clonezilla that creates full disk/partition backup from a live session. | 12:09 |
badbodh | timeshift is the closest thing to "system restore" feature of windows. while clonezilla is more robust, and different, method to backup your system | 12:09 |
badbodh | nwoob: speakers as in in-built speakers or external speakers connected by 3.5mm jack? | 12:12 |
nwoob | alive: it's already installed | 12:12 |
badbodh | i am assuming your earphones are also 3.5 mm | 12:12 |
nwoob | badbodh: yes in-built speakers | 12:12 |
nwoob | earphone are 3.5mm yes | 12:12 |
nwoob | I tried the solutions from here https://askubuntu.com/questions/132440/headphone-jack-not-working | 12:13 |
badbodh | when you plug your earphones back, after removing, just go to sound settings and change the output device to appropriate one. see if that helps | 12:13 |
nwoob | changing analog-output-headphones.conf, but didn't work | 12:13 |
badbodh | nwoob: that's a 10 year old post. it may not be relevant any more. don;t apply solutions unless they mention the cause of their problem | 12:15 |
nwoob | I see only Analog output amplifier in output devices | 12:15 |
nwoob | in sound settings and pulse audio | 12:15 |
nwoob | I clicked on test and no sound | 12:15 |
badbodh | run "lspci|nc termbin.com 9999" it will give you a link, paste the link here | 12:16 |
nwoob | https://termbin.com/a7br | 12:16 |
badbodh | meanwhile, undo the changes you made to the configs | 12:17 |
nwoob | ok | 12:17 |
badbodh | nwoob: after undoing the changes, plug in your headphone and do a reboot. if your headphone is working, open sound settings or pavucontrol tell us which audio devices you see now, that way we know what's missing. | 12:19 |
badbodh | i hope you made a backup of config files you changed | 12:20 |
nwoob | yes, restored the bak file. I'll reboot and reconnect here | 12:21 |
nwoob | ok I rebooted | 12:24 |
nwoob | It is working now because I rebooted but it will stop working once I unplug and plug my earphones | 12:24 |
badbodh | your earphones are working again? check what audio devices you got in the list | 12:24 |
nwoob | so output is still "Analog Output / Amplifier - Built-in Audio" | 12:25 |
nwoob | output device | 12:25 |
BluesKaj | Hi all | 12:25 |
nwoob | What should I do now? | 12:27 |
badbodh | nwoob: the way i see it, your sound card is not just old. it's ancient. it needs a windows 98 or xp driver to work around its quirks. | 12:29 |
badbodh | right now there won't be a permanent fix, but one thing to try is killing your pulseaudio and restarting it altogether. it's a dirty way, but maybe it will help | 12:29 |
badbodh | if your earphone stops working, do "pulseaudio --kill" followed by "pulseaudio --start". see if that helps | 12:30 |
nwoob | how can my sound card be ancient. this is new laptop | 12:30 |
nwoob | but I'm running ubuntu in Vmware | 12:31 |
badbodh | welp, then it could be a vmware issue. should have mentioned that up front | 12:31 |
badbodh | folks here run ubuntu on bare metal, windows runs on vm :) | 12:31 |
nwoob | yes, apologies | 12:31 |
nwoob | I had to run it on vm as this is office laptop | 12:32 |
badbodh | Multimedia audio controller: Intel Corporation 82801AA AC'97 <--- sounds like something from 1997 | 12:32 |
badbodh | so your vmware is pretending to be an ancient pc | 12:32 |
nwoob | understood | 12:32 |
badbodh | it's a vmware issue, maybe ask them | 12:32 |
nwoob | ok thanks for help :) | 12:33 |
badbodh | until then, try the --kill ans --start as a workaround | 12:33 |
kostkon | those are mid-2000s specs, but it's a vm okay that explains it, phew | 12:33 |
badbodh | should at least get your job done | 12:33 |
kai_ | y | 12:33 |
badbodh | kostkon: for a moment there i felt proud. another soul reviving an old fossil of a pc with almighty penguin. alas | 12:35 |
kostkon | badbodh, heh :) | 12:35 |
nwoob | i'll be reviving a little old thinkpad t480 as my primary laptop once I get it. | 12:39 |
nwoob | not that old, 2013-14 model | 12:39 |
badbodh | run ubuntu on bare metal, works way better. but maybe not use default ubuntu, gnome is heavy | 12:41 |
badbodh | xubuntu or mate ubuntu will be a good call. is there a cinnamon spin yet? | 12:41 |
luna_ | badbodh: there is | 12:41 |
luna_ | https://ubuntucinnamon.org/ | 12:42 |
badbodh | cool, try cinnamon then. modern, but lighter | 12:42 |
nwoob | i'll definitely run linux on baremetal. I don't use windows. it's office laptop and i cannot dualboot so working on vm | 12:42 |
nwoob | still a noob on linux but learning | 12:43 |
nwoob | I want to run docker, kubernetes and do programming on my primary laptop. So cinnamon wont have any issues with that right? | 12:44 |
fury | running a Kubernetes cluster? as long as you're careful about how many pods you run given your memory | 12:58 |
minnow | can I prevent snaps from installing other snaps? chromium snap seems to install cups snap automatically and I don't like this | 13:00 |
nwoob | can i delete snapshots accumulated in my vmware without any issues . It's currently 40gb | 13:01 |
leftyfb | nwoob: that would be a question for vmware, nothing to do with ubuntu | 13:11 |
=== zenadm1n__ is now known as zenadm1n | ||
=== bad_2 is now known as badbodh | ||
=== xenial is now known as Guest665 | ||
=== shokohsc1 is now known as shokohsc | ||
=== Vercas694 is now known as Vercas69 | ||
vishnu | hello | 14:11 |
vishnu | k | 14:12 |
vishnu | g | 14:12 |
vishnu | g | 14:12 |
vishnu | g | 14:12 |
vishnu | gg | 14:12 |
vishnu | g | 14:12 |
vishnu | g | 14:12 |
leftyfb | vishnu: please don't do that | 14:13 |
Superson | hello | 14:17 |
backthen | I have a laptop with some iGPU hardware issue. I purposely set Windows to disable this driver. But every once in a while after the Windows boot logo it would freeze, and I have to re-disable the driver. My question is, if I use Ubuntu, does Ubuntu deal with bad hardware like this better? | 14:36 |
Ecko | maybe | 14:39 |
backthen | ok. The igpu issue is strange. Whenever it happens, I have to turn off the laptop and leave it off for at least a day before Windows can reboot. I just wonder if Ubuntu will result in similar behavior. | 14:43 |
leftyfb | backthen: that sounds like a heat issue | 14:44 |
backthen | leftyfb: hmm. Does heat dissipation take that long? | 14:46 |
leftyfb | shouldn't take more than a couple hours | 14:46 |
leftyfb | even a capacitor discharge should be quicker than a day | 14:46 |
backthen | I just try booting it with a Ubuntu usb drive and selected 'Try ubuntu'. Thereafter the screen is just blank and probably froze again | 14:48 |
JoBbZ | hi, I recently upgraded my system from ubuntu20 LTS to ubuntu22 LTS with an in-place upgrade, and it came up nonfunctional as apparently even simple bridged network configurations no longer work. This was my very simple configuration for /etc/network/interfaces, and note that /etc/network/interfaces.d is empty https://dpaste.org/EPBbx | 14:53 |
JoBbZ | For now, I've disabled bridged networking but now my applications that make use of it are non functional | 14:54 |
leftyfb | JoBbZ: Ubuntu 22.04 uses netplan | 14:54 |
JoBbZ | I don't want or need netplan, nor do I use it | 14:54 |
leftyfb | JoBbZ: https://netplan.io/examples#configuring-network-bridges | 14:54 |
leftyfb | JoBbZ: ifupdown is deprecated | 14:54 |
JoBbZ | deprecated implies it should still function | 14:55 |
=== Rahoul1787 is now known as Rahoul178 | ||
jhutchins | backthen: There's really only one way to find out. It doesn't cost anything (except some time). | 15:02 |
jhutchins | backthen: Sorry, a little lag on the scroll buffer here. It sounds like you have a serious hardware failure. This is a laptop? | 15:03 |
jhutchins | Yeah, laptop. | 15:03 |
jhutchins | backthen: If you can remove the back cover you might be able to clean the accumulated dust and debris from the cooling path, and re-seat any plug-in modules like the drive. | 15:04 |
backthen | jhutchins: I'll try when I get the tools to open the laptop. For now, can Ubuntu simply ignore the hardware and just use a software driver? | 15:07 |
JoBbZ | leftyfb: Hm, there are a ton of files in /etc/network/if-up.d, such as bind9 (since I run my own DNS), openvpn (I use for specifical tunnels), etc. Is there no update process for these from Ubunut? | 15:11 |
jhutchins | backthen: No. It doesn't work like that. The hardware has to work for linux to work with it. | 15:12 |
JoBbZ | leftyfb: I get the same problem using netplan - network is toast once the bridged network is configured | 15:17 |
JoBbZ | also seems to require systemd processes that conflict with running your own DNS server | 15:18 |
wwwi | hello | 15:18 |
wwwi | I want to install all available php 8 modules, how do I do that? | 15:19 |
leftyfb | JoBbZ: yep, I mask the systemd-resolved.service | 15:19 |
leftyfb | wwwi: don't | 15:19 |
wwwi | leftyfb, why not? | 15:19 |
leftyfb | wwwi: because a case where that is needed and recommended doesn't exist | 15:19 |
leftyfb | JoBbZ: do you have bridge-utils installed? | 15:20 |
wwwi | leftyfb, I want to learn the command | 15:20 |
wwwi | what would that be? | 15:20 |
leftyfb | wwwi: sudo apt install <package1> <package2> <package3> ...... | 15:20 |
wwwi | leftyfb, I want to do it automatically | 15:21 |
wwwi | not by installing them one by one | 15:21 |
JoBbZ | leftyfb: yes | 15:21 |
leftyfb | wwwi: sorry, but we do not share potentially catastrophic commands here. | 15:22 |
leftyfb | JoBbZ: what does this give you? sudo netplan try | 15:23 |
wwwi | leftyfb, ok | 15:23 |
JoBbZ | leftyfb: one sec, I just masked systemd-networkd and rebooting | 15:23 |
JoBbZ | leftyfb: it fails spectacularly with systemd-networkd being masked, because it says it cannot bring up the network | 15:28 |
leftyfb | don't mask systemd-networkd | 15:29 |
JoBbZ | ok | 15:29 |
leftyfb | JoBbZ: it sounds like you have broken the standard way networking is setup in modern releases of ubuntu out of personal preference. | 15:30 |
JoBbZ | leftyfb: You said you masked it to deal with running ones own DNS, so I tried that, is all | 15:30 |
JoBbZ | other than that, no | 15:30 |
leftyfb | JoBbZ: no, I said to mask systemd-resolved.service | 15:31 |
JoBbZ | ah, ok, I grabbed the wrong service | 15:31 |
JoBbZ | and no, I've done nothing special here for what worked on past releases | 15:31 |
JoBbZ | it's specifically ubuntu22 that's an issue | 15:32 |
JoBbZ | sudo netplan try just asks if I want to accept settings (with no further info) | 15:37 |
JoBbZ | and I hit enter to accept, and have a nonfunctional system but br0 is listed as an interface again | 15:37 |
JoBbZ | route shows the correct info for my gateway, but I can't ping it | 15:37 |
leftyfb | JoBbZ: can you pastebin your netplan yaml? | 15:37 |
leftyfb | JoBbZ: also, make sure you only have 1 .yaml in /etc/netplan/ | 15:37 |
JoBbZ | leftyb: https://dpaste.org/w0ggz | 15:39 |
JoBbZ | and that's the only file in there | 15:39 |
JoBbZ | have to step away for a few to run to the store | 15:39 |
jhutchins | Does the "server" install have this feature as well? | 15:43 |
leftyfb | jhutchins: ? | 15:44 |
=== xenial is now known as Guest6069 | ||
leftyfb | JoBbZ: you didn't specify a route/gateway | 15:45 |
jhutchins | leftyfb: The netplan requirement? | 15:45 |
leftyfb | jhutchins: all modern versions of ubuntu use netplan in some way. On desktop, netplan just refers to Network Manager for the renderer | 15:47 |
leftyfb | JoBbZ: oh, you're setting dhcp yet hardcoding your nameservers? | 15:48 |
Linux^ | Hi I have deleted ssl keys now cerbot is not working what can I do? | 15:59 |
JoBbZ | leftyfb: yes, I don't want to use my ISP nameserver | 16:02 |
leftyfb | JoBbZ: set it on your router/dhcp server? | 16:03 |
JoBbZ | leftyfb: I run my own DNS for internal routing | 16:03 |
JoBbZ | leftyfb: I can't really point my router at the DNS running on this system because it breaks all my other systems in the house if it's down | 16:03 |
JoBbZ | the DNS is running *on this system* :) | 16:03 |
JoBbZ | and I use it for internal bits it's doing, I don't want the other systems using the router to use it for DNS | 16:04 |
JoBbZ | are you saying that Ubuntu has broken things so badly you can no longer configure what DNS to use? | 16:04 |
leftyfb | nope, just pointing some things out to be sure it's intended | 16:05 |
JoBbZ | yes, very intended | 16:05 |
jhutchins | Linux^: Bad nic. The best solution I've found is to remove CertBot and reinstall, do the initial set-up again. | 16:06 |
Linux^ | no it doesnt wor haha nginx will not work | 16:07 |
Linux^ | I have found a solution to use --force option from chatgpt lol | 16:07 |
leftyfb | JoBbZ: try this: https://pastebin.ubuntu.com/p/WHzNJ7JZ5g/ | 16:08 |
JoBbZ | leftyfb: testing | 16:11 |
JoBbZ | leftyfb: same issue, no network | 16:11 |
leftyfb | JoBbZ: and it works without a bridge? | 16:12 |
JoBbZ | If I use a backup of my old interfaces file that only used ens3 and no bridge, yes | 16:12 |
JoBbZ | no clue if it works w/ netplan or not | 16:12 |
leftyfb | try with netplan | 16:12 |
leftyfb | start with the basics | 16:13 |
JoBbZ | also a major pain because this is a headless system and I have to use VNC to connect to it when it has no network | 16:13 |
leftyfb | VNC? over ... ILO/IPMI? | 16:14 |
JoBbZ | yeah | 16:14 |
JoBbZ | So this is the interfaces file that works: https://dpaste.org/Xh5Fk will adjust it for netplan and start from there | 16:15 |
leftyfb | JoBbZ: actually, it might be best to just set your nameservers in /etc/resolv.conf as opposed to netplan if you're using DHCP | 16:17 |
leftyfb | I think with systemd-resolvconf masked it might not override it | 16:17 |
JoBbZ | yeah, I can tell it doesn't because with nothing configuring it in /etc/network/interfaces (or in netplan) it uses my local DNS | 16:18 |
JoBbZ | ok have it working with a basic netplan config | 16:18 |
JoBbZ | i.e., I have network with this: https://dpaste.org/S9YTo | 16:19 |
leftyfb | JoBbZ: try https://pastebin.ubuntu.com/p/n56k5P3J76/ | 16:20 |
JoBbZ | testing | 16:22 |
JoBbZ | I assume networkd is just the default renderer, so it isn't required to specify it? | 16:22 |
leftyfb | correct | 16:22 |
JoBbZ | ok. No network with that config | 16:22 |
leftyfb | something aint right | 16:23 |
JoBbZ | ifconfig -a shows the correct IP assigned to br0 (192.168.1.24) | 16:24 |
JoBbZ | so it must be talking to DHCP when it comes up | 16:24 |
leftyfb | sudo brctl show | 16:24 |
leftyfb | it almost sounds like you don't have the correct netmask, but you're getting from DHCP so it should be fine | 16:25 |
JoBbZ | one sec, having to figure out if I can enable copy & paste via VNC | 16:26 |
leftyfb | JoBbZ: a screenshot would be fine. Or output it to a file, get your network back up with the basic config and then copy/paste from that file | 16:28 |
JoBbZ | https://dpaste.org/fuDvO | 16:29 |
leftyfb | JoBbZ: do you have a firewall running on this machine? | 16:31 |
leftyfb | maybe you have a rules that specifies the interface and it's not br0? | 16:32 |
JoBbZ | again, this all worked prior to upgrading, and only the default ubuntu firewall, which specifically is configured to do things like allow ssh in, etc | 16:33 |
JoBbZ | iv'e not done anything outside of that with it | 16:33 |
leftyfb | JoBbZ: you could also try specifying macaddress: as another param of the bridge interface. Use the MAC for ens3 | 16:33 |
leftyfb | JoBbZ: ubuntu does not have a firewall enabled by default | 16:34 |
leftyfb | if you have one, I would try disabling it just to check. Re-enabled it right after checking | 16:35 |
leftyfb | I have bridging with netplan working on several 22.04 servers, though they all have static ip's. Some with bonding interfaces as well. And I have hundreds of 20.04 servers with bridging in the same way | 16:37 |
=== xenial is now known as Guest9922 | ||
whiteshadow | f | 16:52 |
JoBbZ | leftyfb: ufw is enabled, but it was before upgrade too | 17:23 |
JoBbZ | and only thing I've done with that is like ufw allow ssh | 17:23 |
JoBbZ | so unless ubuntu changed ufw so that it breaks the network device, which I highly doubt... | 17:23 |
leftyfb | JoBbZ: try to disable it just to eliminate it as a possibility | 17:23 |
JoBbZ | sure | 17:24 |
JoBbZ | leftyfb: my system has a static IP from the router (just to note) :) | 17:41 |
leftyfb | JoBbZ: why bother with DHCP on the server-side if you're just dynamically assigning the same ip anyway? | 17:42 |
jhutchins | Good grief. Network management 101. | 17:43 |
jhutchins | DHCP is about configuration, not just ip addresses. | 17:44 |
jhutchins | Also gives a single point of reference for all network addresses. | 17:44 |
hsiktas[m] | Macbook 2012 with Ubuntu 22.04: Sometimes it does not wake from standby immediately. Pressing buttons or opening the lid does not do anything. But after hitting some buttons it sometimes wake up. | 17:44 |
hsiktas[m] | wakes | 17:44 |
jhutchins | hsiktas[m]: Time it without pressing buttons. | 17:45 |
hsiktas[m] | with no Powertop tuning | 17:45 |
hsiktas[m] | it did not wake on any button | 17:47 |
hsiktas[m] | but the display woke up after hitting ctrl + alt + F1 for TTY1 | 17:48 |
hsiktas[m] | and I am now back in the login screen | 17:48 |
JoBbZ | ugh hit the reboot key on my computer with my chair arm pft | 17:48 |
JoBbZ | leftyfb: so for the macaddress with b40, something like https://dpaste.org/aU3w4 ? or kill the interfaces line as well? | 17:49 |
leftyfb | you need the interfaces line. That should work | 17:50 |
leftyfb | I've never had to set the mac for a bridge, but I saw someone online with a similar issue to you which did that and it resolved the issue. Though I don't personally understand why it would | 17:51 |
JoBbZ | ok, thanks I'll give it a shot | 17:53 |
JoBbZ | I see netplan has a channel, I can give that a try if this doesn't work | 17:59 |
JoBbZ | leftyfb: that did it!! | 17:59 |
JoBbZ | never ended up disabling ufw either :P | 18:00 |
zulgaban | hello... | 18:01 |
JoBbZ | leftyfb: tyvm! | 18:01 |
leftyfb | yeah, I'm curious why it's needed. Again, I'm running a few servers with 22.04 but with static. And hundreds of 20.04 in the same way. None have the macaddress: set and all work | 18:01 |
=== PeasfulTown is now known as peas | ||
UnivrslSuprBox | leftyfb: any chance multiple machines have the same /etc/machine-id contents? I think that's used to generate something related to MAC addresses | 18:25 |
leftyfb | small possibilty, sure | 18:26 |
=== Guest8985 is now known as krabador | ||
JoBbZ | interesting, but shouldn't be the case in my instance | 18:32 |
leftyfb | JoBbZ: you could check by comparing the contents of /etc/machine-id on all your machines talking to the same DHCP server | 18:34 |
JoBbZ | I don't think that exists on the windows systems, rokus, etc talking to it... looking at other linux based servers, they have different machine IDs as well | 18:40 |
JoBbZ | for example, my fileserver has ffc2b0b0595f4cbeb6cb1dc37d1dd74d and this system has 82bda4723b60326800fca28e572b9c6b | 18:40 |
JoBbZ | in any case, thanks for all the help, and glad it's working again... an odd mystery tho | 18:41 |
luigi | ciao | 18:51 |
luigi | !list | 18:51 |
ubottu | luigi: No warez here! This is not a file sharing channel (or network); read the channel topic. If you're looking for information about me, type « /msg ubottu !bot ». If you're looking for a channel, see « /msg ubottu !alis ». | 18:51 |
=== msyke1 is now known as msyke | ||
wwwi | hi | 20:41 |
wwwi | how do I install PHP 8.2 if I currently have PHP 8.1? | 20:42 |
jhutchins | wwwi: 8.1 is the latest in Ubuntu. You'd have to go to a third party PPA like sury. | 20:44 |
athos | wwwi: The transition to PHP8.2 will happen during the mm cycle (and will be available in ubuntu 23.10) | 20:44 |
wwwi | but if I want to install PHP 8.2 now, how do I do it? Do I have to unistall PHP 8.1? | 20:45 |
matsaman | if you find 8.2 via a PPA, the package manager should tell you if there's a conflict | 20:45 |
wwwi | ok | 20:45 |
oerheks | THere is ppa:ondrej/php but not supported by us | 20:46 |
oerheks | else; build it yourself? | 20:47 |
wwwi | ok | 20:48 |
matsaman | replacing PHP with something else is also a fine choice =D | 20:51 |
wwwi | ok | 20:51 |
Slartibart | PHP wants libsodium.so.23.3.0, which exists in /usr/lib/x86_64-linux-gnu/. However, it seems to be loading /usr/local/lib/libsodium.so.23.1.0 instead? (My 1st time looking into this) I realise this'll probably lead into package jungle. Is there a standard procedure for solving things like this? | 21:12 |
matsaman | is it producing an error? | 21:13 |
jhutchins | Slartibart: Which PHP? | 21:23 |
Slartibart | Sorry. Yes, I tried installing php-cli and some extensions. It's 2:8.1+92ubuntu1, so PHP 8.1 | 21:27 |
leftyfb | Slartibart: anything in /usr/local/lib is because you built from source. It's not from standard Ubuntu packages | 21:29 |
Slartibart | Ah. Yes, I've done that before, now I'm trying to move to dist versions. Thanks, I didn't know that. So should I simply remove the 23.1 file then? | 21:32 |
leftyfb | Slartibart: you should remove whatever it is you built that gave you the file. Remove it properly according to it's documentation. Don't just go deleting files | 21:33 |
Slartibart | How do I know which files were created building PHP from source =-s? | 21:35 |
Slartibart | Is there a make uninstall? | 21:35 |
Slartibart | ..or something | 21:36 |
leftyfb | Slartibart: follow the instructions provided with the source you downloaded | 21:36 |
pydev | hello is there a particular reason a user cant run a command but it can open the file as well ? | 22:23 |
pydev | -rwxr-xr-x 1 my_user www-data 236 Apr 17 21:45 gunicorn | 22:23 |
pydev | i can read the source of gunicorn | 22:23 |
pydev | but i cant run it | 22:23 |
arraybolt3 | By "can't run", what error do you get when you try? | 22:24 |
pydev | runuser -u my_user -- /var/www/mywebsite.com/.env/bin/gunicorn | 22:24 |
arraybolt3 | (It looks like that file is world-executable.) | 22:24 |
pydev | runuser: failed to execute /var/www/mywebsite.com/.env/bin/gunicorn: Permission denied | 22:24 |
pydev | if i change that command with "cat" i can see the source | 22:25 |
arraybolt3 | What happens if you log in as the user you're trying to run the command with and then try again? | 22:25 |
pydev | why can i not execute that command via "my_user" | 22:25 |
pydev | i cant because | 22:25 |
arraybolt3 | I don't know, that's what I'm trying to help find out. | 22:25 |
pydev | one moment | 22:25 |
pydev | my_user:x:998:33::/home/raltix:/sbin/nologin | 22:25 |
pydev | 33 is www-data | 22:25 |
arraybolt3 | Ah. | 22:26 |
arraybolt3 | Lemme try something... | 22:26 |
pydev | never had such problem ...i mean rwx should mean that i can execute that command | 22:26 |
pydev | the user is the one i have created..strange | 22:26 |
arraybolt3 | Might be the permissions of the directory that are the problem? | 22:27 |
arraybolt3 | I dunno, if you can read it, it seems like you should be able to execute it too. | 22:27 |
arraybolt3 | I don't know for sure though. | 22:27 |
pydev | ok now i did su -s /bin/bash my_user | 22:28 |
pydev | ........./bin/python: bad interpreter: Permission denied | 22:29 |
arraybolt3 | ?! | 22:29 |
arraybolt3 | So it can't even execute Python, that's really weird. | 22:30 |
arraybolt3 | And that error shows up immediately after trying to "su" to the other user? | 22:30 |
pydev | no when i try to run "python" | 22:33 |
pydev | i found the problem i think | 22:33 |
pydev | python -> /root/.pyenv/versions/3.11.0/bin/python < | 22:33 |
pydev | that user can run python because it is poiting to /root | 22:33 |
=== xenial is now known as Guest2649 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!