/srv/irclogs.ubuntu.com/2024/10/03/#ubuntu.txt

=== antonispgs0 is now known as antonispgs
=== TheCaptain89802 is now known as TheCaptain8980
CoJaBoIs 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")03:54
=== noze` is now known as noze
=== zephros is now known as Chocolatepie698
=== Guest12 is now known as blackis
JoeBk_-offtopic05:22
JoeBk_oops05:23
=== Jubes986 is now known as Jubes98
=== sam__ is now known as Guest4564
azidhakaHi 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!07:52
=== mrpond2 is now known as mrpond
sybaritenI 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:18
mgedminby "doesn't restart" do you mean you don't want it to autostart on login?10:25
GanzilissHi 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:28
mgedminGanziliss: apt install ttf-mscorefonts-installer10:30
Ganziliss  503  Service Unavailable [IP: 185.119.90.247 80]10:35
GanzilissE: Failed to fetch http://unlimited.dl.sourceforge.net/project/corefonts/the%20f10:35
Ganzilissonts/final/andale32.exe?viasf=1  503  Service Unavailable [IP: 185.119.90.247 8010:35
Ganziliss]10:35
GanzilissE: Download Failed10:35
GanzilissProcessing triggers for fontconfig (2.13.1-4.2ubuntu5) ...10:35
ravagecould be a temporary download error. tried it on jammy and it just worked10:59
PeGaSuSany 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:19
mgedminbroken cable?11:22
mgedminthe pc is failing to get edid information from the monitor?11:22
PeGaSuSthe VGA cable isn't broken because I use it with the DP-to-VGA adapter. I can't figure out the rest11:24
lotuspsychjei recently had someone mentioning their external monitor no longers shows on hdmi on 22.0411:25
PeGaSuSit is not HDMI, but VGA. it's 22.04, though. dual boot with Windows. Windows shows everything perfectly via VGA, though11:27
mgedminI 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 information11:31
mgedminit wouldn't do above 640x480 without a custom modeline either11:31
mgedminthis was a really really long time ago, I don't think the monitor even had connectors other than VGA11:31
mgedminmaybe DVI at best11:31
mgedminanyway, 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 resolution11:32
PeGaSuSthis monitor isn't exactly only a monitor. it's a Tucson monitor with VGA, HDMI, SCART and built-in DVD player11:34
PeGaSuSI'm just installing some updates and I'll reboot afterwards and check dmesg/Xorg logs11:44
PeGaSuSalright... dmesg output: https://termbin.com/ue1u11:53
PeGaSuSXorg log: https://termbin.com/4kl811:54
PeGaSuSsomething was wrong with the first dmesg link. correct log here:  https://termbin.com/sx5s11:57
tomreynif by any means you can, connect to it using hdmi not vga12:05
PeGaSuSunfortunately the PC doesn't have HDMI port12:06
tomreynthere is DP to HDMI12:07
PeGaSuSand weirdly Windows doesn't like the DP-TO-VGA thingy12:07
PeGaSuSwell, DP-TO-VGA works okay. I was just trying to use less cables12:07
BluesKajHi all12:09
mgedminanything that ends up VGA is going to be fuzzy and annoying12:10
PeGaSuSI guess I'll keep the DP-TO-VGA and spare myself of the headache12:10
mgedmin> [drm:detect_link_and_local_sink [amdgpu]] *ERROR* No EDID read.12:11
mgedminannoyingly non-specific12:11
mgedminthe UBSAN stack traces worry me12:11
PeGaSuSsomehow I never liked AMD but this SFF desktop was like $40?12:12
mgedminso we add 'amdgpu driver bug' as one of the possibilities for the lack of EDID?12:13
PeGaSuSthis desktop is quite "old", so it should be supported?12:15
ahh_om12:17
PeGaSuSI mean, 2017/2018 at best12:18
BluesKajheh, 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 it12:21
BluesKajit's basically a HTPC12:23
tomreynPeGaSuS: 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; done12:31
BluesKajoops wrong chan12:40
PeGaSuStomreyn: with the monitor connected via VGA? or that's irrelevant?12:49
PeGaSuStomreyn: connected via VGA I get: https://termbin.com/otoz12:53
PeGaSuSwith the DP-TO-VGA on DP2 I get: https://termbin.com/a0f912:55
pragmaticenigmaPeGaSuS: What is a Tucson monitor, do you have a link to a product page?13:02
ioriaPeGaSuS, did you take apart a Hyundai ?13:04
PeGaSuStbh, I can't even find the specs of the monitor online13:06
PeGaSuSall I know it's a Tucson TLD1903B11 and looks like this on the back: https://fr.shopping.rakuten.com/photo/1973681632_L.jpg13:08
xu-irc10whi13:08
=== kuddukan573 is now known as kuddukan57
pragmaticenigmaPeGaSuS: 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:16
pragmaticenigmaYears 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:18
PeGaSuSthat's exactly what's happening with me13:19
PeGaSuSI assume that there's no way to force a resolution?13:21
pragmaticenigmaThere'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:23
PeGaSuShow unreliable? also, I think that something else is wrong. now not even the DP-to-VGA adapter works. LMFAO13:25
PeGaSuSor it died or the pc is counting down the days13:26
pragmaticenigmaPeGaSuS: 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 years13:30
pragmaticenigma*so many13:30
PeGaSuSthis is a desktop I've set up using spare parts. my son, which is 11, uses it to delve into the Linux world13:31
pragmaticenigmaIs there anyway you can get a DP-to-HDMI instead?13:32
pragmaticenigmaassuming the computer has a DP+ port13:33
PeGaSuSit has 2, even13:33
pragmaticenigmatime for an upgrade :D13:33
pragmaticenigmaPeGaSuS: 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:34
pragmaticenigmaxrandr 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
pragmaticenigmathis was all 10+ years ago. I have no idea what would happen in the latest releases13:36
PeGaSuSI did this and it worked: https://unix.stackexchange.com/questions/227876/how-to-set-custom-resolution-using-xrandr-when-the-resolution-is-not-available-i13:45
PeGaSuSnow the thing is: how do I make it stick and to be global?13:46
PeGaSuS(for all users)13:46
pragmaticenigmaPeGaSuS: 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:49
pragmaticenigmaPeGaSuS: at your own risk: https://gist.github.com/debloper/2793261?permalink_comment_id=4117606#gistcomment-411760613:50
PeGaSuSoh.. so I  can't just stick it somewhere to make it global?13:52
pragmaticenigmawouldn't recommend it13:53
PeGaSuSI 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 SSH13:56
PeGaSuSbut right now I need to go pick up my daughter from school. be right back13:58
=== Rh0nda is now known as Rhonda
=== acer is now known as ustanova303
=== luna is now known as LASLUNA
LASLUNAhttps://imgur.com/a/LEzSLs815:36
davis135Why 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
davis135Examples of misinformation: claiming that it's for security updates only when the default configuration is obviously installing everything, incl. breaking upgrades.15:47
davis135(talking exclusively in Ubuntu Server context)15:48
mgedminhmm?  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 stuff15:49
oerhekswhat hosting services disables that?15:49
enigma9o7I guess I was a victim to misinformation too, I thought it only installed from ubuntu-security.15:49
mgedminthe release pocket is frozen and never receives any updates15:49
enigma9o7So you're saying it installs stuff from manually configured apt repos and ppas and such too?15:50
mgedminyou have to uncomment the //"${distro_id}:${distro_codename}-updates"; line to get non-security updates15:50
mgedminyou have to add explicit config lines to allow auto-upgrades from PPAs15:50
* mgedmin vividly remembers all the research he had to do to enable this15:50
pragmaticenigmaI 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
davis135oerheks: 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:52
mgedminI 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 scheduled15:53
mgedmin(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
pragmaticenigmaI 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 platform15:54
davis135pragmaticenigma: it's supposed to pull at random times thorough the day to alleviate that, isn't it15:55
pragmaticenigmathere is nothing random, it's pseudo random, and there is a very high chance of this "randomness" to choose the same time.15:56
mgedmin[citation needed]15:58
mgedminthe randomness is provided by systemd's RandomizedDelaySec15:59
pragmaticenigmawhich is time based, which is not random in it self15:59
pragmaticenigmaOn 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 an16:07
pragmaticenigmaexternal 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:07
Ura73hola16:08
enigma9o7Bienvenido16:28
=== PasiZ6 is now known as PasiZ
=== daniel is now known as Guest2656
Guest9trying 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 anyone18:01
Guest9have any ideas how debian-start is hanging on to this?18:01
pragmaticenigmaGuest9: what version of ubuntu are you running?18:03
Guest922.04.5 LTS18:03
bpromptGuest9: maybe checking with the guys at #maria or #mysql may help better?18:03
pragmaticenigmaGuest9: why are you trying to move the socket location?18:04
Guest9seems to be a standard thing to do when you move the datadir18:05
leftyfbno, sockets should be different18:05
Guest9I mean check every guide18:05
pragmaticenigmaDoesn't mean they're right or know what they're doing.18:05
leftyfbsocket files are usually stored in /run or /var/run18:06
leftyfbthere's zero benefit to storing them elsewhere18:06
Guest9yes but you find any instructions for changing datadir and NOT socket lol18:06
leftyfbdon't change the socket location18:07
pragmaticenigmaspecifically 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 handle18:07
leftyfbleave it alone18:07
Guest9I 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 files18:07
pragmaticenigmaGuest9: 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:08
Guest9ok ty, will leave it to defaults18:09
Guest9but there is a [client-server] section in the /etc/my.cnf and it did have the new location18:09
pragmaticenigmanot everything looks for that config file. applications can define their own18:10
Guest9unless I misinterpreted what you just said18:10
pragmaticenigmaGuest9: 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 socket18:11
Guest9it was symlink OR keep18:12
Guest9and this isnt hacking up the location its using the appropriate means to change its location18:12
Guest9debian-start is the problem imo18:13
morgan-uI 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 am18:15
morgan-uinstalling 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:15
morgan-uPlease 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
leftyfbmorgan-u: https://www.iodigital.com/en/history/intracto/creating-debianubuntu-deb-packages18:16
leftyfbmorgan-u: https://wiki.debian.org/HowToPackageForDebian18:16
leftyfbmorgan-u: https://www.baeldung.com/linux/create-debian-package18:16
leftyfbmorgan-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/do18:17
bpromptmorgan-u: IIRC the "control" folder or archive contains "macros" or the script to automate the installation, the "data" contains well, the data with directory structure18:18
morgan-uAll righ leftyb, thank you. All that will take me a while to digest and tyr so I will get back to you later.18:22
morgan-u-- 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.18:24
=== rails is now known as peer
davis135So i have this config for unattended-upgrades18:30
davis135https://dpaste.org/DKVZ6#L11,1218:30
davis135and it obviously doesn't work despite passing all the checkmarks from random SE questions on verifying if unattended-upgrades is enabled18:31
bprompthmm18:33
pragmaticenigmadavis135: 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 platform18:33
davis135pragmaticenigma: as I said this is a universal problem with almost every hosting provider I've encountered18:34
bpromptdavis135: 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 overrides18:34
bpromptdavis135: I have that in my apt.d/20auto-upgrades file and works18:35
davis135bprompt: grepped it and nothing touches that further18:35
pragmaticenigmadavis135: 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:35
pragmaticenigmaThis 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 provider18:36
davis135Is "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:36
bpromptdavis135: like I said, that works for me18:37
davis135What 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 that18:39
davis135oh, apparently it caches the answers somehow. I had to select "no" and then "yes" in order for it to take effect18:44
=== neocharles is now known as Guest8563
CoJaBoIs 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
topcat001On my 22.04 laptop, intel_gpu_top (1.26) does not display any clients, just the engines and utilisation.20:41
topcat001I'm not sure if it's a version limitation or specific to my hardware. I'm running kernel 6.5 on a 13th gen intel20:42
topcat001video acceleration, etc. are working20:43
gordonjcpCoJaBo: I think you do need a /boot partition20:59
saint_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 turn21:00
saint_ 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:00
CoJaBogordonjcp: 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:01
jumpcutkingI'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 in21:04
jumpcutkingAny advice, a little outside my depth when it comes to the login system21:13
gordonjcpCoJaBo: a disk failure is likely going to mean you can't reboot any more whatever you do21:21
gordonjcpCoJaBo: if you want to defend against that, you want hardware RAID21:21
CoJaBogordonjcp: 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 version21:41
pragmaticenigmathat makes my head hurt to read21:43
r0l4ndhello21:51
jsmoothHow 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
jsmoothI'm using 24.04.121:52
rboxapt search21:53
jsmoothI tried, but it didn't have anything21:53
rboxthen what makes you think there is something to find?21:53
jsmoothBecause in an error during Laravel PHP Framework installation, it says it's missing21:54
rboxwell if it doesnt exist...21:54
jsmoothOr it just doesn't exist by that name21:54
jsmoothI find it hard to believe it would be asking for a php extension that doesn't exist21:55
rboxand what did google say?21:55
sarnoldapt-file search is very handy21:55
jsmoothI found a StackOverflow page that suggests the proper package is phpx-xml21:57
jsmoothBut the installation was asking for both of those extensions21:57
oerheksif you are into DOM, https://unix.stackexchange.com/questions/740173/how-to-enable-the-php-dom-extension22:00
oerheksand tons more in Bing22:00
=== Juesto is now known as Juest
saint_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 for23:38
saint_ this button NOT to be grayed? Do I need to create a /boot/efi manually? What's the deal with this?23:38
ravageYou need an ESP partition to use EFI23:41
SnowCoder404Moin23:46

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