=== antonispgs0 is now known as antonispgs === TheCaptain89802 is now known as TheCaptain8980 [03:54] Is there a way to install 24.04 Server to an lvm (mirror)? It seems to flatly refuse to continue unless there's a /boot partition outside the lvm (can't "Select a boot disk") === noze` is now known as noze === zephros is now known as Chocolatepie698 === Guest12 is now known as blackis [05:22] -offtopic [05:23] oops === Jubes986 is now known as Jubes98 === sam__ is now known as Guest4564 [07:52] Hi everyone, I've got two desktop computers with the same hardware and freezing Ubuntu 22.04 a couple of times every day. Nothing interesting in dmesg, syslog is full with: "kernel BUG at kernel/entry/common.c:375!" right before freezing. Kernel is 6.8.0-45-generic. Ideas welcome! === mrpond2 is now known as mrpond [10:18] I have transmission installed and i'm having problems with it. I would like to make sure it doesn't restart if i restart the machine. How do i check that? [10:25] by "doesn't restart" do you mean you don't want it to autostart on login? [10:28] Hi friends, we are using ubuntu 22.04 in our company. One of my colleagues wants to use the times new roman font in libreoffice writer. I would be glad if you could help me how to add the times new roman font to libreoffice writer. [10:30] Ganziliss: apt install ttf-mscorefonts-installer [10:35]   503 Service Unavailable [IP: 185.119.90.247 80] [10:35] E: Failed to fetch http://unlimited.dl.sourceforge.net/project/corefonts/the%20f [10:35] onts/final/andale32.exe?viasf=1 503 Service Unavailable [IP: 185.119.90.247 80 [10:35] ] [10:35] E: Download Failed [10:35] Processing triggers for fontconfig (2.13.1-4.2ubuntu5) ... [10:59] could be a temporary download error. tried it on jammy and it just worked [11:19] any idea why if I use the VGA port my screen resolution only shows 640x480, but if I use the DisplayPort to VGA adapter it shows all the resolutions? [11:22] broken cable? [11:22] the pc is failing to get edid information from the monitor? [11:24] the VGA cable isn't broken because I use it with the DP-to-VGA adapter. I can't figure out the rest [11:25] i recently had someone mentioning their external monitor no longers shows on hdmi on 22.04 [11:27] it is not HDMI, but VGA. it's 22.04, though. dual boot with Windows. Windows shows everything perfectly via VGA, though [11:31] I once had a monitor that probably got its eprom/nvram/whatever erased after a power spike incident and started reporting an EDID data block full of 0xFFs instead of proper information [11:31] it wouldn't do above 640x480 without a custom modeline either [11:31] this was a really really long time ago, I don't think the monitor even had connectors other than VGA [11:31] maybe DVI at best [11:32] anyway, I remember seeing complaints about EDID in some log file (dmesg? syslog? Xorg.0.log?) so I'd suggest you take a look at journalctl around the time when you plug it in and get the wrong resolution [11:34] this monitor isn't exactly only a monitor. it's a Tucson monitor with VGA, HDMI, SCART and built-in DVD player [11:44] I'm just installing some updates and I'll reboot afterwards and check dmesg/Xorg logs [11:53] alright... dmesg output: https://termbin.com/ue1u [11:54] Xorg log: https://termbin.com/4kl8 [11:57] something was wrong with the first dmesg link. correct log here: https://termbin.com/sx5s [12:05] if by any means you can, connect to it using hdmi not vga [12:06] unfortunately the PC doesn't have HDMI port [12:07] there is DP to HDMI [12:07] and weirdly Windows doesn't like the DP-TO-VGA thingy [12:07] well, DP-TO-VGA works okay. I was just trying to use less cables [12:09] Hi all [12:10] anything that ends up VGA is going to be fuzzy and annoying [12:10] I guess I'll keep the DP-TO-VGA and spare myself of the headache [12:11] > [drm:detect_link_and_local_sink [amdgpu]] *ERROR* No EDID read. [12:11] annoyingly non-specific [12:11] the UBSAN stack traces worry me [12:12] somehow I never liked AMD but this SFF desktop was like $40? [12:13] so we add 'amdgpu driver bug' as one of the possibilities for the lack of EDID? [12:15] this desktop is quite "old", so it should be supported? [12:17] om [12:18] I mean, 2017/2018 at best [12:21] heh, this box was built from scratch in 2018, MSI board , 650w PSU, just an i5 cpu, but it still runs really well on any linux OS I've tried on it [12:23] it's basically a HTPC [12:31] PeGaSuS: for closer examination: for edidpath in $( sudo find -L /sys/class/drm -maxdepth 2 -name edid -type f 2>/dev/null ) ; do echo 'Examining EDID of '"'${edidpath}'"'...'; edid-decode $edidpath; echo; echo; done [12:40] oops wrong chan [12:49] tomreyn: with the monitor connected via VGA? or that's irrelevant? [12:53] tomreyn: connected via VGA I get: https://termbin.com/otoz [12:55] with the DP-TO-VGA on DP2 I get: https://termbin.com/a0f9 [13:02] PeGaSuS: What is a Tucson monitor, do you have a link to a product page? [13:04] PeGaSuS, did you take apart a Hyundai ? [13:06] tbh, I can't even find the specs of the monitor online [13:08] all I know it's a Tucson TLD1903B11 and looks like this on the back: https://fr.shopping.rakuten.com/photo/1973681632_L.jpg [13:08] hi === kuddukan573 is now known as kuddukan57 [13:16] PeGaSuS: The resolutions reported on the DP adapter are likely from the adapter, not the monitor. Its possible the monitor is not providing it's EDID or doesn't support it properly. I find this happens most frequently with TV sets. [13:18] Years ago I had a samsung monitor with a similar issue. Woudl work great with HDMI and full resolution, but VGA wouldn't budge from 640x480 in linux. With windows, all resolutions were available on any port. [13:19] that's exactly what's happening with me [13:21] I assume that there's no way to force a resolution? [13:23] There's a way, it's not fun, it's going to be unreliable. It would require Xserver, which in itself is running out of time. [13:25] how unreliable? also, I think that something else is wrong. now not even the DP-to-VGA adapter works. LMFAO [13:26] or it died or the pc is counting down the days [13:30] PeGaSuS: not sure what kind of setup you have there... I personally have a hard time using VGA anymore, the picture never looks right after using DVI, HDMI, and DP for some many years [13:30] *so many [13:31] this is a desktop I've set up using spare parts. my son, which is 11, uses it to delve into the Linux world [13:32] Is there anyway you can get a DP-to-HDMI instead? [13:33] assuming the computer has a DP+ port [13:33] it has 2, even [13:33] time for an upgrade :D [13:34] PeGaSuS: if you're running Xserver, you can test resolutions with xrandr until you find one... once you do, you need to write that down and create a display profile for X. It's been years since I did it, but that was the gist of it. [13:36] xrandr will give you the resolution, timings, and other necessary information that you will have to add to the displays configuration. The unreliable part comes from using any other monitor on that port is going to have a bad time until you remove the profile. I had Xserver updates that clobbered my x.conf files and had to start all over. [13:36] this was all 10+ years ago. I have no idea what would happen in the latest releases [13:45] I did this and it worked: https://unix.stackexchange.com/questions/227876/how-to-set-custom-resolution-using-xrandr-when-the-resolution-is-not-available-i [13:46] now the thing is: how do I make it stick and to be global? [13:46] (for all users) [13:49] PeGaSuS: the answer on that posting is probably the best way. it appears it's a script setup to run after login. So at least when the machine first turns on, you get a display to see something. [13:50] PeGaSuS: at your own risk: https://gist.github.com/debloper/2793261?permalink_comment_id=4117606#gistcomment-4117606 [13:52] oh.. so I can't just stick it somewhere to make it global? [13:53] wouldn't recommend it [13:56] I know. but humour me.. if something goes south, I just SSH to the laptop (from inside the LAN), remove the script and reboot. all my machines are accessible via SSH [13:58] but right now I need to go pick up my daughter from school. be right back === Rh0nda is now known as Rhonda === acer is now known as ustanova303 === luna is now known as LASLUNA [15:36] https://imgur.com/a/LEzSLs8 [15:47] Why is there so much misinformation about unattended-upgrades, why is it disabled on most of hosting services I've encountered, and how to actually verify that it's working properly? [15:47] Examples of misinformation: claiming that it's for security updates only when the default configuration is obviously installing everything, incl. breaking upgrades. [15:48] (talking exclusively in Ubuntu Server context) [15:49] hmm? the default Unattended-Upgrade::Allowed-Origins in /etc/apt/apt.conf.d/50unattended-upgrades only has the release pocket and the -security pocket, not counting ESM stuff [15:49] what hosting services disables that? [15:49] I guess I was a victim to misinformation too, I thought it only installed from ubuntu-security. [15:49] the release pocket is frozen and never receives any updates [15:50] So you're saying it installs stuff from manually configured apt repos and ppas and such too? [15:50] you have to uncomment the //"${distro_id}:${distro_codename}-updates"; line to get non-security updates [15:50] you have to add explicit config lines to allow auto-upgrades from PPAs [15:50] * mgedmin vividly remembers all the research he had to do to enable this [15:52] I would check with your hosting provider why they have it disabled. I don't think any of your concerns are misinformation, as much as you needing to talk to your hosting provider to find out their reasoning for the default configuration of systems they provision for yu. [15:52] oerheks: I think I can count just one hosting provider where it was actually working by default. On BuyVM for example it's not working out of the box. [15:53] I ansible to explicitly enable -security, -updates, one of my PPAs, automatic reboots at 7 am local time, and also emails to root@ so I will know whetherever something gets updated and/or a reboot gets scheduled [15:54] (and I create a 50unattended-upgrades-mg with these overrides instead of touching the original file, to save some conffile merging trouble on distro upgrades) [15:54] I could see a large enough hosting provider disabling unattended upgrades to avoid having a large number of instances all trying to pull updates at the exact same time, reducing performance of the platform [15:55] pragmaticenigma: it's supposed to pull at random times thorough the day to alleviate that, isn't it [15:56] there is nothing random, it's pseudo random, and there is a very high chance of this "randomness" to choose the same time. [15:58] [citation needed] [15:59] the randomness is provided by systemd's RandomizedDelaySec [15:59] which is time based, which is not random in it self [16:07] On boot, the computer generates a seed value, often using a value obtained from a Real Time Clock. From there various algorithms are applied to generate the sequence of what may appear random, but is completely reproduable if the seed value is known. Because of this, the numbers generated are not really random, so much as they are psuedo random. This is well known in all computer. To have completely random values, you have to have an [16:07] external source that is capable of creating random noise. This is why companies concerned with ensuring true randomness employ different methods. Such as cloudflares Lava Lamp wall that a camera monitors and feeds the random noise of Cloudflares lobby and lava lamps into their random number generator: https://www.cloudflare.com/learning/ssl/lava-lamp-encryption/ [16:08] hola [16:28] Bienvenido === PasiZ6 is now known as PasiZ === daniel is now known as Guest2656 [18:01] trying to chang datadir for mariadb-server-10.6, config file changed fine the database starts but service constantly spitting out errors from debian-start "Can't connect to the local server through socket '/run/mysqld.sock' ", I have changed the socket location to /data/mysql/mysqld.sock in all the configs I can find but this wont go away anyone [18:01] have any ideas how debian-start is hanging on to this? [18:03] Guest9: what version of ubuntu are you running? [18:03] 22.04.5 LTS [18:03] Guest9: maybe checking with the guys at #maria or #mysql may help better? [18:04] Guest9: why are you trying to move the socket location? [18:05] seems to be a standard thing to do when you move the datadir [18:05] no, sockets should be different [18:05] I mean check every guide [18:05] Doesn't mean they're right or know what they're doing. [18:06] socket files are usually stored in /run or /var/run [18:06] there's zero benefit to storing them elsewhere [18:06] yes but you find any instructions for changing datadir and NOT socket lol [18:07] don't change the socket location [18:07] specifically because client applications are going to look in /run or /var/run for the socket. You would have to change every client configuration to look in the new location for the socket handle [18:07] leave it alone [18:07] I agree with you, but thought this could easily be solved, somewhere debian-start is getting the idea to use old parameters...when it should be using the config files [18:08] Guest9: the error being spat out is because you don't have the client config files looking for the socket in the new location. that's why we're saying don't move it. [18:09] ok ty, will leave it to defaults [18:09] but there is a [client-server] section in the /etc/my.cnf and it did have the new location [18:10] not everything looks for that config file. applications can define their own [18:10] unless I misinterpreted what you just said [18:11] Guest9: the first result I found for moving the datadir... was from digitalocean, and if you go down to the comments, there are entries stating not to move the socket [18:12] it was symlink OR keep [18:12] and this isnt hacking up the location its using the appropriate means to change its location [18:13] debian-start is the problem imo [18:15] I need to understand how the deb installation works, in detail and not some how-to that I dont understand. Expanding the archive gives me four files: control, md5 sum, postinst, - UP Front: why do they call a readme file "control" and have do I use these things if I do NOT call some macro/program to do it all for me. --> I am not asking you to tell me so much as I am asking you to tell me how to learn this and where! (FYI: I am [18:15] installing a perogam called SOFA Description: Remote Control . Turn your phone or tablet into a remote control for your GNOME desktop. Control GNOME while on your sofa or doing a presentation.) [18:16] Please note I am NOT asking you about SOFA. I am asking about how the DEB installation process works which IS part of the Ubuntu system. (How I have asked in the "right way" this time. [18:16] morgan-u: https://www.iodigital.com/en/history/intracto/creating-debianubuntu-deb-packages [18:16] morgan-u: https://wiki.debian.org/HowToPackageForDebian [18:16] morgan-u: https://www.baeldung.com/linux/create-debian-package [18:17] morgan-u: all found by typing "how are debian packages made" into google and making sure each of them explains the different files and what they mean/do [18:18] morgan-u: IIRC the "control" folder or archive contains "macros" or the script to automate the installation, the "data" contains well, the data with directory structure [18:22] All righ leftyb, thank you. All that will take me a while to digest and tyr so I will get back to you later. [18:24] -- yes, it got so confusing when I asked how to do it on the automatic that one person *you iir) thought I was trying to install opera which was the example on the webpg and other person told me I couldnt get advice on non-ubuntu pprograms. o i thought about it and looked at the installation pkg and reallized I needed to understand not just get it done. - Thanks. === rails is now known as peer [18:30] So i have this config for unattended-upgrades [18:30] https://dpaste.org/DKVZ6#L11,12 [18:31] and it obviously doesn't work despite passing all the checkmarks from random SE questions on verifying if unattended-upgrades is enabled [18:33] hmm [18:33] davis135: I would recommend you contact your hosting provider for help. They may be better equiped to guide you since they provisioned the machine and may have customization in there for their platform [18:34] pragmaticenigma: as I said this is a universal problem with almost every hosting provider I've encountered [18:34] davis135: my guess is, there may be another file in the same apt.d folder overriding you due to "order of processing", is processed last and thus it overrides [18:35] davis135: I have that in my apt.d/20auto-upgrades file and works [18:35] bprompt: grepped it and nothing touches that further [18:35] davis135: I don't see how that makes any difference to what I just said. Hosting providers have to manage load, they're going to do things outside of your perview to ensure one customer can't take down the entire platform. [18:36] This community is going to treat your problem as a single unit, as if you're running your own personnel computer on your desk. There's no way for any of us to know what's going on with your hosting provider [18:36] Is "APT::Periodic::Unattended-Upgrade" contingent on "APT::Periodic::Enable"? Is stuff from 20auto-upgrades contingent on having apt-daily.timer and apt-daily-upgrade.timer enabled? [18:37] davis135: like I said, that works for me [18:39] What is `dpkg-reconfigure unattended-upgrades` supposed to do? On another installation I have `APT::Periodic::Unattended-Upgrade "0";` in the 20- file but selecting "yes" doesn't touch any of that [18:44] oh, apparently it caches the answers somehow. I had to select "no" and then "yes" in order for it to take effect === neocharles is now known as Guest8563 [20:41] Is there a way to install 24.04 Server to an lvm (mirror)? It seems to flatly refuse to continue unless there's a /boot partition outside the lvm (can't "Select a boot disk") [20:41] On my 22.04 laptop, intel_gpu_top (1.26) does not display any clients, just the engines and utilisation. [20:42] I'm not sure if it's a version limitation or specific to my hardware. I'm running kernel 6.5 on a 13th gen intel [20:43] video acceleration, etc. are working [20:59] CoJaBo: I think you do need a /boot partition [21:00] hi all - can someone explain to me this uefi boot crap mode? I just got a used dell latitude 5240. while booting on a usb and installing ubuntu, it said something about windows bitlock and asked me to reboot and turn off bitlock, which i did. now in the bios there are different type of boots. uefi boot mode, secure on or off. and legacy external dvice , secure boot on or off. i m not understanding why i have to choose either or. cant i just turn [21:00] off the secure boot mode off then install GRUB on the 100Mb embeded partition, and the rest of ubuntu on the legacy external device? [21:01] gordonjcp: Yeah, I'm trying to figure out how not to need one (or at least, how to make it on an LVM, so that a disk failure doesn't mean I can't reboot anymore) [21:04] I've tried these steps: https://ubuntu.com/tutorials/configure-ssh-2fa#1-overview to help me install otp codes access. However I use public and private key pair to login and still want promted the code. However It doesn't seem to be asking me for a code. Just logs me in [21:13] Any advice, a little outside my depth when it comes to the login system [21:21] CoJaBo: a disk failure is likely going to mean you can't reboot any more whatever you do [21:21] CoJaBo: if you want to defend against that, you want hardware RAID [21:41] gordonjcp: lvm/software RAID has worked perfectly fine for this for years tho; it was supported just fine by previous versions of Server, and apparently is even supported on the Desktop version [21:43] that makes my head hurt to read [21:51] hello [21:52] How do I find the ext-dom package for php in repos? Or should I be using snap instead of apt to do it? [21:52] I'm using 24.04.1 [21:53] apt search [21:53] I tried, but it didn't have anything [21:53] then what makes you think there is something to find? [21:54] Because in an error during Laravel PHP Framework installation, it says it's missing [21:54] well if it doesnt exist... [21:54] Or it just doesn't exist by that name [21:55] I find it hard to believe it would be asking for a php extension that doesn't exist [21:55] and what did google say? [21:55] apt-file search is very handy [21:57] I found a StackOverflow page that suggests the proper package is phpx-xml [21:57] But the installation was asking for both of those extensions [22:00] if you are into DOM, https://unix.stackexchange.com/questions/740173/how-to-enable-the-php-dom-extension [22:00] and tons more in Bing === Juesto is now known as Juest [23:38] i m trying to boot ubuntu from a usb, so i can prep the partition on a dell latitude 5420 , so i can install 4 OSs at the end. i m running ubuntu live, select all the unallocated space and create a new GPT Partition table since i m going to use UEFI boot , but then when i create 4 ext4 partitions as root, when i reboot to install the OS, it wont let me select anything for the boot loader installation <- Does this partition needs space in order for [23:38] this button NOT to be grayed? Do I need to create a /boot/efi manually? What's the deal with this? [23:41] You need an ESP partition to use EFI [23:46] Moin