[00:17] how do I detect the details for the VGA monitor? Something like lspci? [00:18] nsaunders: < arraybolt3> xrandr? < sarnold> edid-decode or read-edid perhaps? === csexecutive is now known as Guest446 === linuxmodder is now known as csexecutive [00:55] Hey guys, whose all here === csexecutive is now known as Guest971 === linuxmodder is now known as csexecutive [01:28] printf("Sexbuntu slave World ~") === Starmina4 is now known as Starmina === Starmina2 is now known as Starmina === bad_1 is now known as badbodh === shokohsc5 is now known as shokohsc [02:17] if I have gdb:amd64 and gdb:arm64, how can I choose which one to run? [02:17] in the case of multiarch system === chris14_ is now known as chris14 [02:19] five6184: What, pray, is a multi-architecture system? [02:20] just one that has "sudo dpkg --add-architecture amd64" and "sudo dpkg --add-architecture arm64" [02:20] in my case it's an M1 mac with Rosetta 2 emulation [02:20] but I think I got an answer, gdb:arm64 replaces gdb:amd64 and vice versa === Acou_Bass is now known as Piece_Maker [02:39] OK, this is going to be a pretty silly question, but... how on earth is Bash's autocomplete feature so... powerful? I mean it makes sense that it can tab-complete directory names, but on my system it can even autocomplete Git subcommands and branch names. How. On earth. Is it doing that. [02:40] This is only out of curiosity, so if it's not enough of a "support" question to be on-topic here, I can take it elsewhere. [03:19] gnome-software won't show me anything in any category, its just blank. however it works fine if i search, works fine to install stuff, remove stuff, do updates. the only thing i cant do is browse by category.... [03:22] e25: seems to work here on 22.04 [03:23] e25: are you using default snap store, or did you reinstall the old gnome software? [03:23] e25: don't use gnome-software. Use "Ubuntu Software" [03:23] I am not sure what to do is why I ask here. I tried deleting .cache/gnome-software [03:24] I am using gnome-software not snap store. I am not using standard ubuntu flavor, i started with ubuntu-server and installed lightdm then enlightenment then a few other things then now trying to figure out gnome-software [03:25] e25: don't. Use the supported software store [03:26] e25: sudo snap install snap-store [03:26] I'm trying to solve problem with gnome-software, which is part of ubuntu, no? [03:27] I don't want to install snap store, but thanks for idea leftyb. [03:27] I already have an idea for alternative if this doesnt work, but I don't understand why it doesnt work... [03:27] I can search and find everything ,just not browse by category. [03:28] there's always good ol synaptic you can use e25 [03:28] Okay I'm not looking for alternatives, but thanks. [03:29] Nor would synaptic be an actual alternative, plasma-discover is what I'll try next if for some reason I can't get gnome=software to work. [03:29] synaptic is a gui package manager, not an app store anyway. [03:30] e25: https://askubuntu.com/questions/1248599/ubuntu-software-shows-only-editors-picks-20-04 [03:31] Mine not only shows the editors picks, but also shows the categories.... [03:32] Its just when I click on the categories, the content is blank... at first it shows a kinda outline, then goes to pure blank after 5 mins or so [03:36] you can file a new !bug if you like e25 [03:36] well i assume its not a bug, just a setting or something im missing or something, somebody earlier said it works fine for them, so i doubt a bug [03:37] oh it was you that said it worked for you.... [03:37] e25: no, i tested it on snap-store [03:41] https://i.imgur.com/iAYiWk6.png https://i.imgur.com/5t2Xof0.png https://i.imgur.com/iGBksum.png [03:42] I just took some screenshots incase it wasn't clear explanation. If anyone has idea please lmk I will stay online few more hours. [03:46] e25: you could bootup a liveusb of an ubuntu flavour that used gnome-software by default to compare its not user related or a result of your frankenubuntu tests [03:47] e25: and/or create a new user to test it on, or try it on gnome itself === ssserpent2 is now known as ssserpent1 === realivanjx6 is now known as realivanjx === ssserpent2 is now known as ssserpent1 [06:08] if someon is familar with the cloud image or the docekr image based on it.. In that past, when installing ubuntu on bare metal (not docekr image) I recall having to `sudo apt update && sudo apt apgrade` and (often) a great many packages would have to get upgraded - so much so that you would step away and do something else for a while until it completes. Is upgrading not necessary for the cloud [06:08] image/docker image? Is it somehow implemented in a way that it is assured to be up to date on any given day that you use it? If so how? [06:08] docekr\docker [07:37] blahboybaz, afaik the process that generates the images is going to do a update before it spins the image out, and that runs ~daily, so generaly images should be pretty much up to date. [07:49] Hi I am using (K)Ubuntu 22.04.2 live installer [USB] on an 2019 laptop with Secure Boot Enabled. I get a "Verification failed: (0x1A) Security Violation screen, which I guess means that the signing key used for the Ubuntu boot process was not preinstalled in 2019, since the next screen says "Perform MOK management" and offers to enroll a key from [07:49] disk, and offers to browse the EFI directory. Where is the key on the live install image? [07:50] I should say that the USB booted in secure mode previously, but stopped, perhaps because I reset the BIOS X-( [07:53] Oh it only lets me browse EFI/boot and there are only 3 .efi files, when "Only DER encoded certficate ... " is accepted. [08:04] Someone yesterday mentioned boot repair, but I don't see it on the Live/Installer [08:17] circle: on first boot you must enroll in MOK enroll MOK enter continue enter enter secureboot password then reboot === realivanjx8 is now known as realivanjx [08:18] circle: for boot repair see https://help.ubuntu.com/community/Boot-Repair [08:22] circle: this video shows correct MOK enrollment https://www.youtube.com/watch?v=n8VwTYU0Mec&ab_channel=PhilipYip === synapt is now known as nate [08:34] toddc in that video Secure Boot is on, and the USB boots without difficulty [08:36] then it shows how to add keys for third party hardware, [08:37] What's missing is the key for the Ubuntu boot shim or grub shim or something like that. [08:38] Can I do the same process for the shim as the third party drivers? [09:13] circle: yes it will accept them after MOK is activated [09:13] on boot of live/install USB I get bad shim signature [09:16] I have never had to repair reinstall but I am sure it can be done. boot repair last time i used it was a bit limited at secureboot not sure if it is better now-- [09:19] circle: search ubuntu Mok repair there are several guides but I have not tested as it worked on each install I had so far live does not use MOK so may be a issue with your live media [09:21] circle: I am no expert but I have installed it 20+ times with out a issue during fresh install [09:21] I think there was a key update distributed in recent years, and the Ubuntu shim is signed by an updated key. So I think the issue is how to install the updated key, rather than just to sign each OS install. [09:21] Does this make sense? [09:21] Ubuntu booted fine in Secure Boot until I reset the BIOS, and lost any updated keys [09:24] not that I have seen I use MOK on 20.04 and 22.04 I think updating the bios may hace wiped to path to the key so finding the path to the key may be the issue. during a fresh install MOK sets the path automaticly === circle91 is now known as circle-too [09:28] toddc: I am previously known as circle. [09:28] I did see a update for uefi dbx but it worked for me on all my computers soooo no idea there [09:28] np [09:29] Thank you for the ideas. Have to disconnect for a bit, then I'll try them out. [09:29] you may need some with a more in depth knowage of secureboot or create new media and reinstall [09:30] or disable secureboot as it not a hude security issue on linux as I have heard [09:30] huge [09:32] I'm pretty sure it's not the media fault, its my UEFI - SecureBoot key database, which I understand poorly. [09:33] https://wiki.ubuntu.com/UEFI/SecureBoot/ShimUpdateProcess/TestPlan [09:34] if live media fails shim test then I suspect live media [09:40] Do we know what key is used to sign the shim, and when that key was universally distributed among hardware manufacturers? I thought this was only in recent years. === pick is now known as circle [09:43] circle-too: ubuntu has their own signed key and as far as I know one and only key. bios needs the path to the key in the dbx file [10:21] I deleted .local/share/keyring by mistake now apps can't save their passwords when I enter them again, I rebooted but still same issue [10:23] when I try to start google chrome I get: libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null); any idea? [11:07] Hey, i can't seem to find Atari800 or UAE amiga emulators, aren't they packaged in the official Ubuntu repositories>? [11:09] migrat, i see "Atari 8-bit emulator for SDL" packaged for all releases, but I know nothing about it (apt-cache search found it along with other stuff) [11:10] guiverc, there is only the console Stella, but i mean the old computers Atari and the Amigas. [11:11] ok i just found them. [11:11] they may not have been open-sourced; they possibly hoped to 'sell' them; consoles were pretty much abandoned thus open-sourcing wasn't an issue.. but I'm no expert. [11:11] my apt cache was not updated. === vlad is now known as sandsnake [11:16] however only atari 16b it seems, but it's nice already,. [11:36] is there a good way to configure apt to never use snap? there are some packages where it seems to deceive you into thinking you're installing a real package but then it reinstalls snap and then a "snap" package version of the app [11:40] ni-ux: purge snapd if you dont want to use snaps? [11:40] yes, but then some packages reinstall snap rather than using a real package [11:41] really it would be better if we just move away from snap entirely - it isn't suitable for production use so at work we end up having to double check its removed from any servers and for personal people could always install it themselves if for some reason they want to have no autonomy or control over updates and to waste tons of disk space by creating little needlessly isolated package environments for everything [11:42] this is an ubuntu server ni-ux ? [11:42] both server and desktop seem to have the cancer yes [11:42] dont think its possible to ditch on server [11:43] it is - just takes some work [11:43] ogra: maybe you can advice here^ [11:43] because snaps makes life easier for packages maintainers sometimes, they don't need to deal many different dependencies library version etc. [11:43] +with [11:43] right but package maintainer laziness isn't really a reason to do something at scale [11:44] just release source tarballs if you dont' want to make a deb or rpm [11:45] if someone only releases snaps their software is probably buggy and poorly written anyway [11:46] Snaps will stay an important part of Ubuntu [11:46] An option flag to prevent apt / synaptic to install snaps or flatpacks etc could be cool anyway. [11:46] If you don't like snap at all choose another distribution [11:47] there's also .appimage files all pack into a single file. [11:47] I've been using ubuntu for 15+ years - it would suck if they make poor decisions that lead to having to choose an alternative [11:47] if you're really sold on lazy package management at least use flatpak where there is some control over updates [11:48] Feel free to discuss in #ubuntu-discuss [11:48] lets not drag this into a discussion here ni-ux [11:48] and on the server side neither flatpak nor snap should ever be installed [11:48] ok fair enough === Starmina7 is now known as Starmina === Starmina5 is now known as Starmina [12:32] Hello - [12:32] I have installed Ubuntu on my old MacBook to use as a home network cups server. The printer is connected via USB to the Ubunutu Macbook. I have installed cups and samba and have everything up and running GREAT! [12:32] Because it is a laptop and I want to keep the lid closed so I disabled the lid suspend so that the computer wont fall asleep. [12:32] I am now realizing that the computer will be running full time for no reason other than waiting for print jobs. [12:32] My question: is there not a way to have the computer wake for cups network access? Currently, if I allow it to sleep it will not wake or even show a printer on the LAN. [12:32] I hope that all makes sense. Just to sum up: [12:33] Hello. I'm running a VPS with Ubuntu 20.04 and Tor from the Torproject repo. Tor doesn't upgrade and is now outdated due to unresolved dependency: tor : Depends: "runit-helper (>= 2.10.0~) but 2.8.14ubuntu2 is to be installed". I can't do a dist upgrade ATM. Can I solve this somehow? [12:45] hi all [12:46] hey [12:47] google-chrome fail to start: libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null); any idea? [12:48] can i ask something about ubuntu pro? the command "pro security-status" doesn't work anymore and /snap/bin/canonical-livepatch too [12:53] how can i solve this error curl: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory [12:54] spinningCat, run: sudo apt install libssl3 [12:55] ice9, it is already installed [12:56] hmm using curl with sude solved the problem, [12:59] Hi all [13:00] hey [13:11] toddc: Thank you for the discussion; Oddly, after powering down, moving the laptop, and booting again, I didn't get the error message, hope it stays away. X) [14:04] Hi everybody. I'm trying to understand how an APT upgrade via unattended-upgrade is triggered on Ubuntu 22.04. According to my searchs on Web, upgrades are triggered by a systemd timer apt-daily-upgrade which launches the commad "/usr/lib/apt/apt.systemd.daily install". But the systemd unit belongs to the package apt, not unattended-upgrade package. And unattended-upgrade has it owned daemon (the [14:04] command /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal). In this case, what is the goal of this daemon? Which system component triggers the automatic upgrade? Thx. [14:06] nope, that script just temporarily inhibits a shutdown signal until apt finishes [14:11] ioria: ah ok thx. 1) So, in this case, the command “systemctl disable unattended-upgrades.service” doesn't disable automatic upgrades, correct? To disable automatic upgrades, I have to do “systemctl disable apt-daily-upgrade.service”, correct? 2) The daemon apt-daily-upgrade belongs to "apt" package. So, if the package unattended-upgrade is uninstalled (but not apt), what does the daemon [14:11] apt-daily-upgrade.service? [14:12] the systemd timer is a direct replacement of the former cron apt daily/weekly stuff ... unattended upgrades just hooks into that mechanism [14:12] i guess a simple 'dpkg-reconfigure -plow unattended-upgrades' willdo it [14:12] ioria, +1 [14:12] yeah, what ioria said [14:13] https://help.ubuntu.com/community/AutomaticSecurityUpdates [14:15] and you can check 20auto-upgrades ; it should be all set to zero iirc [14:15] oerheks: ioria: Ok and if unattended is not installed, the systemd unit “apt-daily-upgrade.service” just does... nothing? [14:16] *unattended-upgrade [14:16] flaf, we should reread the script to be sure :þ [14:18] this ib/apt/apt.systemd.daily [14:18] What determines when an un-installed package appears in dpkg -l even after it's been purged (it shows as "un")? [14:18] i mean : /usr/lib/apt/apt.systemd.daily [14:18] ioria: in the script, I can see this line “command -v unattended-upgrade ... && ...“. So I am probably not far from the truth. [14:19] yep [14:19] ioria and oerheks: thx for your help. [14:19] no prob [14:22] jhutchins, un = unknown ? [14:23] it doesnt "just do nothing" ... the timer does a lot beyond triggering unattended upgrades, i.e. all the apt hygiene bits based on apt config (which is why you should not tinker with the timer but only with unattended-upgrades itself) [14:24] ioria: I believe that's "uninstalled". [14:24] ah [14:24] In the first field which shows ii for installed packages. [14:25] https://askubuntu.com/questions/18804/what-do-the-various-dpkg-flags-like-ii-rc-mean [14:25] I do have a bunch that are "rc" (I think that's removed, configured (the configuration file has not been purged). [14:26] ioria: Yes, I know what they mean, I want to know why a package shows as un instead of just not being listed. [14:27] un -> unknown and not installed (you have to read the two letters separately) [14:27] jhutchins, you need some research ; apt-cache policy pkg [14:28] ogra: ok. But if I want to change the moment when an upgrade via unattended-upgrade is done, I have to override the timer "apt-daily-upgrade.service", no? Because by default it's between 6:00-7:00 (AM). [14:29] flaf, you maintain that in /etc/apt/apt.conf.d/20auto-upgrades IIRC [14:30] see https://wiki.debian.org/UnattendedUpgrades#automatic_call_via_.2Fetc.2Fapt.2Fapt.conf.d.2F02periodic [14:31] Some configuration files might be 'unknown' to dpkg because they are created and handled separately through the configuration scripts [14:32] afk [14:32] ogra: not in /etc/apt/apt.conf.d/20auto-upgrades because it's the systemd timer "apt-daily-upgrade.timer" which chooses when the unattended-upgrade is run. [14:34] ogra: in your url there is my answer https://wiki.debian.org/UnattendedUpgrades#Modifying_download_and_upgrade_schedules_.28on_systemd.29 <= it's a change of the unit apt-daily-upgrade.timer indeed. [14:35] flaf, wrong, the timer only choses when to trigger all the apt things ... unattended-upgrades is only one of them and should be maaged via the config [14:35] *managed [14:42] Does apt autoremove take a "purge" argument? [14:42] ogra: to you, which system component run the “unattended-upgrade” command? To me, it's the systemd timer "apt-daily-upgrade.timer" which contains “OnCalendar=*-*-* 6:00” (ie at 6:00 AM with a random delay), this timer run the command “/usr/lib/apt/apt.systemd.daily install” defined in the systemd unit “apt-daily-upgrade.service”, and this command run the command [14:42] “unattended-upgrade”. So, to me, to change the moment the moment when unattended-upgrade is run, I have to edit/override the timer "apt-daily-upgrade.timer", and this is documented in your URL https://wiki.debian.org/UnattendedUpgrades in section 3. Am I wrong? [14:43] jhutchins, yes [14:43] Yes, but not every file related to package is deleted as purge doesn't remove data stored by packages inside the home directory or other special directories. [14:43] https://askubuntu.com/questions/1036697/does-apt-autoremove-purge-package-also-remove-configuration-files-for-the [14:44] so, your pics will remain, made with an obscure paint program 😛 [14:44] Theoretically there is no saved data, as these programs have never been used. (Mostly gnome/GUI stuff on a server.) [14:44] oke, then you are fine [14:46] flaf, the point is that this timer is an apt part, it runs a ton of other stuff to keep apt clean and working fine ... apt explicitly offers config options for managing the unattended-upgrades side [14:50] ogra said: “apt explicitly offers config options for managing the unattended-upgrades side” <= yes but not for managing the moment when unattended-upgrades is run, because it's set in the “timer apt-daily-upgrade.timer”. Do we agree? Or is this doc wrong => https://wiki.debian.org/UnattendedUpgrades#Modifying_download_and_upgrade_schedules_.28on_systemd.29 ? [14:54] flaf, i pointed you to the doc above ... [14:55] it has settings for scheduling unattended-upgrades .... [15:08] OK [15:17] Hi all. A co-worker's looking for kernel source, and it appears that "apt source linux-source" is no longer the right way. Is there a write-up of how it's to be done nowadays? [15:18] mason: what is the error? do you have src packages enabled in your sources.list ? [15:20] ravage: Yep, uncommented the correct deb-src and he can download the package with "apt source linux-source" but the result isn't the source I expected: https://bpa.st/5ZQRW [15:20] mason: apt search linux-source [15:20] https://kernel.ubuntu.com/git/ [15:20] then get the version you want instead of the virtual package [15:21] Aha. Okay, this is different from Debian, and I was assuming it was the same. [15:21] apt-get source linux-image-$(uname -r) [15:21] oerheks: Thank you - that's probably what we'll do, but nice having a clue in both directions. Thank you both. [15:21] oerheks: i think that will now work [15:21] have fun! [15:21] the package name is linux-source-5.19.0 for example [15:22] oh linux-image? [15:22] does that actually get the source of the image? never tried that :) [15:23] https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel [15:23] Picking 'linux-signed-hwe-5.19' as source package instead of 'linux-image-5.19.0-35-generic' [15:23] E: Unable to find a source package for linux-signed-hwe-5.19 [15:23] but yep [15:23] ok that looks nice really [15:23] i dont have source packages enabled atm [15:24] I think for what we want, grabbing it from git might be the most straightforward. There's evidently some funny behaviour relating to igb, although I don't have enough numbers to ask about it in more detail just yet. [15:25] Packet loss, random latency, appears in... maybe 5.15.x, goes away in newer kernels, but I don't have enough specifics to actually ask about it, unless there are well-known issues that just pop to folks' minds. :P [15:26] please file a bug if you find anything [15:26] ravage: Sure. It appears to be fixed. What I'm told - and this is all second-hand - is "old kernel, packet loss - new kernel, works fine". [15:26] But if it's an issue in an older still-shipped kernel, then yeah. I'll file one as soon as I learn more. [15:26] :) [15:27] Hi All [15:27] As you know, the time in Iran will not change from this year (mean daylight), but my Ubuntu 16.04 distros has applied the time changes. [15:27] Is there a way to solve the problem? [15:28] hejazi: update to a supported release [15:28] 16.04 is EOL [15:28] hejazi: you can manually choose an earlier version of the relevant package if that helps === shokohsc2 is now known as shokohsc [15:28] !eolupgrade | hejazi [15:28] hejazi: End-Of-Life is when security updates and support for an Ubuntu release stop. Make sure to update Ubuntu before it goes EOL so you get updates promptly for newly-discovered security vulnerabilities. See https://help.ubuntu.com/community/EOL and https://wiki.ubuntu.com/Releases for more info. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades [15:29] I planned this upgrade but now I want to solving this problem [15:29] plan it now. your system security is at risk here [15:30] and we do not support EOL versions here at all [15:30] Ok thanks [15:31] if you want to keep it and still want support, you can pay for ubuntu pro ... 16.04 still has 3y of paid support [15:31] still no support here [15:32] Hello, how much does a 22.04 minimal server download upon setup (assuming no extra packages) ? [15:33] This is probably a google question, but how do I pipe either the output of a command or a file that lists packages to be acted on by apt? (apt purge < file)? [15:33] ForeverNoob[m]: it should be able to install without any internet connection really [15:33] jhutchins: apt install $(cat file) [15:34] jhutchins: maybe xargs if you want to pipe from a command without an intermediary file [15:34] jhutchins: or if you want to be perverse, mkfifo and do the first form against that while your other process writes to it =cough= [15:34] No [15:34] I want you to have all the options. :P [15:37] proably < file will work. [15:37] jhutchins: Note that that will feed stdin, not command line arguments [15:37] I don't think it'd actually work, but maybe I'd be wrong. [15:39] Nope. [15:40] Nothing works so far. [15:40] jhutchins: apt install $(cat list-of-files) [15:41] Ah, there we are. [15:45] mason: Thank you. "cat" is so often the wrong tool, but it worked. === Rahoul15 is now known as Rahoul1 [15:45] Re: the kernel source earlier, found a nice description of snagging various sources with git: https://wiki.ubuntu.com/Kernel/Dev/KernelGitGuide [15:46] jhutchins: There's probably some equivalent bashism that'd do it too, but I emit no bash-specific syntax in any context. [15:47] good boy ! [15:47] 🙂 [15:47] heh [15:47] POSIX FTW ! [15:48] ravage: Doesn't a minimal installation require a network though? [15:49] mason: Someone has suggested $(< file) [15:49] jhutchins: Mentally attach "non-portable" to anything that person might recommend in future. [15:50] mason: I do not believe in portability. It's a false promise. [15:51] it usually works for shell if you stick to POSIX [15:52] ogra: Given that I stick to Linux, even that doesn't apply. [15:52] (I guess that will confuse me on a mac, but I'm already lost there.) [15:53] i'm pretty sure MAC supports POSIX given its BSD inheritance [15:53] ZSH lately [15:53] as /bin/sh ? [15:54] or as login shell [15:54] My solution is "ask somebody who knows macs". [15:54] lol [15:55] aaanyway ... we're quite offtopic here ... [15:55] * ogra points to #ubuntu-discuss for further conversation on that (off)topic [16:44] Hi, I got a .deb file (Synergy) beta, but how do I uninstall the last one? Every time I right click and open the new one it doesn't load [16:47] relipse: sudo dpkg -i [16:47] just install the new one, it will override the previous [16:48] recursion: synergy? I think you want barrier probably [16:48] matsaman: synergy is just fine [16:48] not if it's not in the repos, nope [16:48] there's a reason barrier is in the repos and synergy not so much [16:49] matsaman: yes, synergy is a commercial, non-OSS product [16:49] it's very unlikely anything a person would want from synergy is not offered by barrier [16:52] i don' get it, i tried barrier and synergy and the mouse is very lagged on my ubuntu box [16:52] what's your setup? [16:53] OSes, network, &c [16:59] Windows 11 Professional as server and Ubuntu 22.04 xorg as client on right side, both connected to ehternet wired [17:00] same barrier version on each? [17:00] server is probably better on Ubuntu, if it can be [17:10] yes tried both same barrier version and same synergy version same thing [17:14] relipse: cat /sys/class/net/$(ip route |awk '/default/ {print $5}')/speed [17:14] relipse: what does that give you? [17:15] cat: /sys/class/net/enxa0cec889d169: Is a directory [17:15] cat: wlp1s0/speed: No such file or directory [17:15] relipse: you have both wired and wireless on your ubuntu machine. You're probably using the ip of the wifi interface for synergy/barrier [17:16] relipse: sorry, both wired and wireless are active [17:16] I would recommend disabling wifi and then try [17:18] cat /sys/class/net/$(ip route |awk '/default/ {print $5}')/speed [17:18] 1000 [17:20] Ok, now reconnect synergy [17:34] Is barrier a new thing or based on the original synergy from when it was open source? [17:38] jo-erlend: https://github.com/debauchee/barrier [17:45] leftyfb, right. Then I think it's the one I've used before. [18:07] If this command resulted in 0 bad blocks, should I assume the drive is fine? badblocks -sv -p 3 -b 4096 /dev/sda -o bbresult.txt [18:14] ForeverNoob[m]: It's OK if you have some bad blocks, what you want to watch for is if they start increasing. You might look at the smartmontools package. [18:14] !info smartmontools [18:14] smartmontools (7.3-1, kinetic): control and monitor storage systems using S.M.A.R.T.. In component main, is optional. Built by smartmontools. Size 605 kB / 2,045 kB [18:24] if badblocks finds any bad blocks this way, it means they were either previously unknown to the drive firmware or the drive has run out of reserved / replacement blocks. generally, i'd prefer a smart long self test (-t long) over badblocks tests (which only tests currently usable blocks), and can unneccessarily increase wear (and cause data loss with -w). [18:25] this said, smart tests aren't really reliable either, but at least provide soem indication. [18:28] ForeverNoob[m]: you should assume the drive is fine until you have a reason to suspect it isn't [18:41] ok i switched the server to ubuntu 22.04 machine and it is much faster, the issue here is that is not the way I have my computers set up [18:41] for synergy [18:55] It seems like dmesg is where I've seen growing bad blocks reported. I don't know if that's due to smartmontools or something else. [18:55] matsaman: My FS was suddenly RO and when I rebooted it dropped me into initramfs after failing a fsck. I did a long SMART selftest and the above badblocks. Everything seems fine, but still. Should I throw away that SSD just to be sure? [18:57] ForeverNoob[m]: You should monitor it closely, test it daily if it's not reporting in dmesg, and if you see anything like increasing bad blocks order the replacement. [18:57] ForeverNoob[m]: I would suggest backups, but nobody ever listens to that. [19:02] Firefox seems pretty crucial to the Ubuntu install. I was getting an error about the snap, something about it not being connected? 🤔 I don't remember exactly. What I ended up doing was "sudo snap uninstall firefox" then "sudo snap install firefox". I'm wondering if the uninstall broke anything further because of how much it took with it, and if the install then fixed it all? [19:05] jhutchins: To my defense I did have backups, but they were outdated :p [19:11] ForeverNoob[m], respectfully then oyu didnt have backups if they were untested and/or recent [19:11] Fair point. [19:12] ForeverNoob[m]: keep backups, replace hardware that is consistently problematic, that's it [19:12] no smart required [19:19] SuperLag, typically snaps take daa snapshots and restore them whn you re-install ... unless you use the --purge argument for "remove", so it should still have the same data as before ... next time better note down what was not connected and ask here ... or simply use the "snap connect ..." command yourself 😉 [19:19] s/daa/data [19:33] ForeverNoob[m]: If the drive hasn't failed outright you can certainly update your backups in case the drive is failing. [19:33] (If it's not, bonus: you get backups.) [19:44] hi, on 22.04, where are all the dhcp lease files? [19:45] /var/lib/dhcp/ is empty [19:45] on server? https://manpages.ubuntu.com/manpages/focal/en/man5/dhcpd.leases.5.html [19:46] desktop [19:46] found it in /var/lib/NetworkManager/dhclien-*.lease [19:48] yes, without more details about time, as they are endless [19:50] Do packages not generally get point releases for the LTS releases? More specifically, can I expect a PHP 8.2 release for 22.04 LTS some day? [19:51] Albright, in general, Ubuntu wants to change as little as possible during the lifetime of a release. PHP should remain at the original version forever. [19:51] Albright, they still receive fixes, but they are backported to the original version. So no worries about security or things like that. [19:53] Albright: some things like mysql and mariadb get updated in that style https://wiki.ubuntu.com/StableReleaseUpdates#New_upstream_microreleases but it's pretty rare [19:54] jo-erlend: Okay, I was expecting that. Thanks. Fortunately we don't *need* 8.2 just yet but 8.1 will go EOL far before 22.04 does… guess we'll just consider upgrading the whole system to the next LTS when that time comes, if it's available [19:54] Albright: Ubuntu will maintain 8.1 forever. Ten years. One of the huge advantages of using Ubuntu. [19:55] Ten years beyond PHP's EOL date? [19:55] Albright: ten years from release of 22.04LTS, meaning until 2032. [19:56] So even beyond the EOL of 22.04? huh. [19:56] Albright, yes. [19:56] Albright: main gets five years of support for free; you can buy additional support beyond that, if you want https://ubuntu.com/pro [19:56] Albright: there's also two free tiers for additional support [19:57] Albright, you'll need Ubuntu Pro for the last five years, but it's free for three systems for non-commercial and very cheap for commercial use too. [19:57] Albright: for PHP updates there a well maintained PPA at https://deb.sury.org/ . but keep in mind we cant give support for that here. a bug tracker for that PPA exists [19:58] ravage: I'm aware of those packages but I'm a little leery of trusting third-party package sources no matter how popular they are [19:58] fair point [19:58] then see messages above [19:58] Maybe it's irrational, but… [19:59] it's very rational :) [19:59] ondrej seems like a nice guy but it's an additional risk [19:59] Yeah, I guess I'll just re-evaluate stuff with the client once PHP 8.1 goes EOL and see what we want to do then [20:00] Albright; it's not irrational, because it's not just about trusting the developer to not do something wrong, but also about trusting them to not be hacked. Because PPA owners can send anything they want to your system to be run as root, so if they get hacked, you get hacked also. Limiting its use on important system is important. [20:00] Yeah, exactly. [20:00] Albright, you should look at Ubuntu's history of dealing with this, which is extensive. PHP is an enormous important thing and to my knowledge, Ubuntu has never failed. Not once, not ever. [20:01] jo-erlend: heh I love the enthusiasm but we do make mistakes :) [20:02] sarnold, sure. I don't remember any big issues ever having occurred with PHP though. It's not a guarantee it never will. :) [20:03] ogra: doh [20:03] didn't know about "snap connect" [20:03] I'll still have to look up syntax for it [20:15] jhutchins: Oh absolutely. You can bet I'm making some extra backups now :p [20:20] hola [20:21] hi ronoc [20:51] Hey I have returned. [20:52] hey [20:55] ForeverNoob[m]: Excellent. They've saved me more than once. (Experience is proportionate to data destroyed. I have a lot.) [20:59] leftyfb: did you see my post [21:00] i switched the server to ubuntu 22.04 and it started working great, but the problem is I don't have my computers set up that way [21:00] relipse: ok, so the problem is with Windows. Good luck [21:01] relipse: maybe start by checking the interface you are using on Windows and it's speed [21:07] Hi all, I am trying to build ubuntu 22.04 for arm64. With every article i find I am getting build issues some seem to be outdated. could anyone point me to build info for arm64 if any. [21:07] prabhakarlad: why are you rebuilding it? [21:09] sarnold: I want to make a platform ARM system ready. [21:09] prabhakarlad: what does that mean? [21:09] https://www.arm.com/architecture/system-architectures/systemready-certification-program [21:09] prabhakarlad: https://ubuntu.com/download/server/arm [21:10] ^ [21:11] leftyfb: I need to enable couple of drivers so need to rebuild the image. [21:12] prabhakarlad: and what's stopping you? [21:12] this is clearly pretty old but it's not a bad starting point https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel [21:12] https://askubuntu.com/questions/1346275/how-to-make-ubuntu-install-iso-file-for-arm64-machine-on-x86-64-machine [21:12] building ubuntu kernel packages isn't *easy* but at least it's way more approachable than "I want to rebuild ubuntu" [21:13] = aarch64 [21:15] !info crossbuild-essential-arm64 [21:15] crossbuild-essential-arm64 (12.9ubuntu3, kinetic): Informational list of cross-build-essential packages. In component main, is optional. Built by build-essential. Size 4 kB / 16 kB [21:15] matsaman: I get error while compiling. let me post the error === ham is now known as hamster [21:26] I wonder if Error is getting tired of being notified. :) [21:27] Error; by the way, I happen to know the joke you're referring to in your realname. :) [21:29] sarnold: matsaman: I have pasted the error log here https://paste.debian.net/hidden/e5812fbe/ [21:29] who wants to do Ubuntu booting stuff? [21:29] troubleshooting. matsaman ? [21:32] chonkin: The way this works is that you give a through but susinct summary of the problem and see who responds. [21:32] prabhakarlad: two things jump out .. '-aarm64' feels weird, I've never seen aarm64 before. i've seen aarch64 and I've seen arm64. also, ending the CROSS_COMPILE with a - feels odd. I can't say that's wrong, but it feels weird. [21:37] Hi. I'm trying make a small tweak to a kernel module that ship with Ubuntu (gspca_sunplus). I got the kernel sources with `apt-get source linux`, then the headesr with `apt-get install linux-headers-$(uname -r)`, then ran oldconfig and all that stuff, then finally `make -C /lib/modules/$(uname -r)/build M=$(pwd) modules` but I'm getting: "fatal error: gspca.h: No such file or directory" and it does seem that `find /usr/src -name [21:37] 'gspca.h' -print` shows nothing. So is the header missing or something? [21:37] sarnold: -a option here is --host-arch for dpkg-architecture so it will pick up arm64 [21:39] My Ubuntu freezes on boot. 20.04.5LTS , kernel=5.15.0-67-generic , gnome=3.36.8 , VGA = NVIDIA Corporation GM204GL [Quadro M4000] (rev a1) . I can enter gnome desktop (w/network) using GRUB+edit+nomodeset [21:43] chonkin, you have 20.04.6, just a detail [21:48] ok, so like 5 years ago I installed a SSD in my PC on sata 3 and switched it to boot from it, but left in my old HD, apparently because if I turn off sata0 the computer won't boot. Thoughts? [21:50] oerheks , since you brought that up. uname -a shows #74-20.01.1-Ubuntu . But Gnome settings shows OS Name= Ubuntu 20.04.5 LTS [21:50] chonkin, any held back packages when you update from comandline? [21:50] Didact, maybe one is old MBR, and your SSD is UEFI? [21:51] or your old hdd has no bootsector, too little info [21:54] well, it seems to be a bios thing... cuz the BIOS says can't boot if I go into the BIOS and turn of SATA0 [21:54] hope that helps [21:54] off [21:54] why would you turn of sata? [21:54] sata0... that hard disk [21:54] and how is this an ubuntu issue? [21:55] I'm booting into ubuntu [21:55] than do not turn off sata0? [21:56] well, I want to replace it w/ a 4 tb from my old machine [21:56] and I want to make sure everything will work when I do that... [21:57] if I move the drive from sata 3 to sata 0 it will screw up the boot right? [21:57] the SSD boot [21:57] it will become sda1, right? [21:57] no, set the bootdrive right [21:57] * in your bios [21:57] so move the boot drive to sata0 ? [21:58] I have the boot drive to sata 3 in the bios [21:58] that's whats weird [22:01] If I wanted to follow debian simplebackport to backport from sid to jammy, is that bad idea? Or should be safe? If safe, how do I add the key so the deb-src blahblah sid blahblah line works? [22:02] e25: What are you backporting and why? [22:02] e25 mixing packages from debian could well be a bad idea, not supported here [22:02] jhutchins: srain, for fun [22:02] since jammy has kinda old version and there's no flatpak [22:02] e25: Um, sid is Debian, isn't it? [22:03] yeah I was thinking if I built it on jammy from debian source is that still evil? I guess it is eh? [22:03] e25: Debian != Ubuntu. [22:03] No shit? [22:03] That's why I'm asking, so you're thinking it's a bad idea? [22:04] e25: You're possibly better off going to the upstream git source. You might want to look at the patches Debian applies and choose those carefully. [22:04] Can I do the same thing from ubuntu-devel? That what my nex tthought, but it was debian's wiki I found and havent found it about ubuntu [22:04] e25: I would expect that building it from Devel would be a lot safer. [22:04] I'm not expert at building stuff so following simple backport procedure, that creates an actual package, seemed better than me than random sudo make install that i cant really be sure to undo [22:05] if you use sudo make install, it builds an uninstall script too.. [22:05] e25: Some of the stuff is 1:1 between the two distros, but some is pretty radically different. At best it might not work, at worst it might screw other things up. [22:05] ok, bbl, need to test some stuff on the linux box which is my gateway to here [22:05] oerhawk: doesnt that depend on the author? and even so, it may or may not overwrite regular ubuntu stuff [22:05] and if it does, and it removes it stuff, it may or may n ot restore ubuntu stuff [22:06] i feel safer installing with package manager [22:06] oerheks this occurred with upgrade http://paste.debian.net/1274952 === ubuntu is now known as Guest7771 [22:08] chonkin, sudo apt dist-upgrade will install the lot of them, some can be held back, due to phased updates [22:08] !phased [22:08] Since Ubuntu 21.04, APT may hold back some updates on some systems while they are being phased in. This is called "phased updates". See https://ubottu.com/y/phased and https://help.ubuntu.com/community/PhasedUpdates for more info. [22:09] one can install them manually, ofcourse [22:09] But I'm not on 21.04 or later. I'm earlier [22:09] oh oke [22:10] after dist-upgrade, run sudo apt install libnvidia-cfg1-525 libnvidia-compute-525 etc etc [22:12] oerheks: No meta-package? [22:13] if he builds it the ubuntu way, he' ll be safe [22:13] hmmm, might have been user error [22:14] oerheks: ty for the help [22:16] have fun! [22:18] oerheks wait a min. The command to enter is literally "etc etc"? [22:20] no, etc etc, complete that whole list [22:21] libnvidia-cfg1-525 libnvidia-compute-525 libnvidia-compute-525:i386 libnvidia-decode-525 libnvidia-decode-525:i386 libnvidia-encode-525 libnvidia-encode-525:i386 libnvidia-extra-525 libnvidia-fbc1-525 libnvidia-fbc1-525:i386 libnvidia-gl-525 libnvidia-gl-525:i386 linux-modules-nvidia-525-generic-hwe-20.04 nvidia-compute-utils-525 nvidia-driver-525 nvidia-kernel-common-525 nvidia-kernel-source-525 nvidia-utils-525 python3-software-properties [22:21] software-properties-common software-properties-gtk xserver-xorg-video-nvidia-525 [22:21] too long to paste, sorry [22:32] oerheks: roger. I asked because there is an /etc/ [22:33] so, will ubuntu read my NTFS formatted disk ? [22:55] I'm getting the error "/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found" - ldd --version is returning "GLIBC 2.23". how would I update it? [22:57] VERSION="16.04.7 LTS (Xenial Xerus)" [22:57] your system is EOL [22:58] !eolupgrade | Hack5190 [22:58] Hack5190: End-Of-Life is when security updates and support for an Ubuntu release stop. Make sure to update Ubuntu before it goes EOL so you get updates promptly for newly-discovered security vulnerabilities. See https://help.ubuntu.com/community/EOL and https://wiki.ubuntu.com/Releases for more info. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades [22:58] im aware of that :) [22:58] upgrade/reinstall and come back with a supported version of Ubuntu if you still have problems [22:59] was hoping there would be a way to upgrade this one item.. [23:05] Hack5190, sure, distro upgrade, lolz [23:06] :p [23:06] 16.04 + ESM would give 2.48 [23:07] https://launchpad.net/glib [23:10] ok, so I got my 3tb drive shared via samba, can I just put my 4tb as a mount point under the 3tb or will it have to be a seperate share? [23:30] I just tried nheko (matrix client) and it seems to be missing a dependency or something. Any suggestion what I should install? https://i.imgur.com/vE5bkc3.png [23:31] (This is on ubuntu-server based system so no desktop package installed this, although I have since installed x&e) [23:32] i guess just install gnome-keyring? [23:32] should be a dependency imo [23:33] how did you install this software, how is it packaged? [23:34] e25: nheko from the ubuntu repo's installs 119 packages, mainly as part of the GUI desktop so it runs, which is your issue [23:34] it's a Qt-based app [23:35] I installed with `sudo apt install nheko` [23:36] It is packaged in traditional deb package in jammy repo. [23:36] leftyb: but gnome-keyring isnt one of them [23:37] in *universe*, notably. the jammy version depends on libqt5keychain1 (>= 0.7.0) - Qt API to store passwords (QT5 version) [23:38] so you may just miss dbus and kwallet, but i'm not sure about that really [23:39] it's clearly a GUI application and not mean to be used on a server [23:40] neko was long time a dead project https://github.com/Nheko-Reborn/nheko#build-requirements [23:43] Upgraded to 18.04.6 - is that supported? [23:43] until next month [23:44] Hack5190: upgrade to 22.04 [23:44] OK - so I'm still getting the error "/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found" - ldd --version is returning "GLIBC 2.23".  how would I update it? [23:44] continue your upgrades [23:44] !eolupgrade [23:44] End-Of-Life is when security updates and support for an Ubuntu release stop. Make sure to update Ubuntu before it goes EOL so you get updates promptly for newly-discovered security vulnerabilities. See https://help.ubuntu.com/community/EOL and https://wiki.ubuntu.com/Releases for more info. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades [23:44] Hack5190: time for a new install [23:45] ill pass [23:45] have a nice day then [23:45] thanks, same to you [23:45] Hack5190: if you're having issues with GLIBC, you've gone beyond the point of diminishing returns [23:46] Hack5190: at this point, it is exponentially quicker to install from scratch and restore from backup. It's also cleaner and easier [23:50] "apt list --installed libc6" on 18.04 LTS would report 2.27-3 on a fully updated 18.04 LTS [23:51] that's not 2.23, which you would not see on a non-broken 18.04 LTS installation. [23:51] it is still lower than 2.28, which the incompatible software you are trying to run depends on. [23:53] he first says 16.04 .. that seems more correct [23:55] oerheks okay. Everything is booting again on this machine. Your advice did some kind of magic [23:56] !cookiebox | oerheks [23:56] !yay [23:56] Glad you made it! :-) [23:56] oh dang he gets a whole *box* of cookies?? [23:56] >_> [23:57] well, he made that system boot again! === Rahoul16 is now known as Rahoul1