[00:17] <nsaunders> how do I detect the details for the VGA monitor?  Something like lspci?
[00:18] <sarnold> nsaunders: < arraybolt3> xrandr? < sarnold> edid-decode or read-edid perhaps?
[00:55] <khadas> Hey guys, whose all here
[01:28] <LifeIsSoEZEZEZ> printf("Sexbuntu slave World ~")
[02:17] <five6184> if I have gdb:amd64 and gdb:arm64, how can I choose which one to run?
[02:17] <five6184> in the case of multiarch system
[02:19] <lmat> five6184: What, pray, is a multi-architecture system?
[02:20] <five6184> just one that has "sudo dpkg --add-architecture amd64" and "sudo dpkg --add-architecture arm64"
[02:20] <five6184> in my case it's an M1 mac with Rosetta 2 emulation
[02:20] <five6184> but I think I got an answer, gdb:arm64 replaces gdb:amd64 and vice versa
[02:39] <arraybolt3> 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] <arraybolt3> 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] <e25> 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] <lotuspsychje> e25: seems to work here on 22.04
[03:23] <lotuspsychje> e25: are you using default snap store, or did you reinstall the old gnome software?
[03:23] <leftyfb> e25: don't use gnome-software. Use "Ubuntu Software"
[03:23] <e25> I am not sure what to do is why I ask here.  I tried deleting .cache/gnome-software
[03:24] <e25> 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] <leftyfb> e25: don't. Use the supported software store
[03:26] <leftyfb> e25: sudo snap install snap-store
[03:26] <e25> I'm trying to solve problem with gnome-software, which is part of ubuntu, no?
[03:27] <e25> I don't want to install snap store, but thanks for idea leftyb.
[03:27] <e25> I already have an idea for alternative if this doesnt work, but I don't understand why it doesnt work...
[03:27] <e25> I can search and find everything ,just not browse by category.
[03:28] <lotuspsychje> there's always good ol synaptic you can use e25
[03:28] <e25> Okay I'm not looking for alternatives, but thanks.
[03:29] <e25> 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] <e25> synaptic is a gui package manager, not an app store anyway.
[03:30] <leftyfb> e25: https://askubuntu.com/questions/1248599/ubuntu-software-shows-only-editors-picks-20-04
[03:31] <e25> Mine not only shows the editors picks, but also shows the categories....
[03:32] <e25> 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] <lotuspsychje> you can file a new !bug if you like e25
[03:36] <e25> 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] <e25> oh it was you that said it worked for you....
[03:37] <lotuspsychje> e25: no, i tested it on snap-store
[03:41] <e25> https://i.imgur.com/iAYiWk6.png  https://i.imgur.com/5t2Xof0.png  https://i.imgur.com/iGBksum.png
[03:42] <e25> 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] <lotuspsychje> 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] <lotuspsychje> e25: and/or create a new user to test it on, or try it on gnome itself
[06:08] <blahboybaz> 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] <blahboybaz> 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] <blahboybaz> docekr\docker
[07:37] <rfm> 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] <circle> 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] <circle> disk, and offers to browse the EFI directory. Where is the key on the live install image?
[07:50] <circle> I should say that the USB booted in secure mode previously, but stopped, perhaps because I reset the BIOS X-(
[07:53] <circle> Oh it only lets me browse EFI/boot and there are only 3 .efi files, when "Only DER encoded certficate ... " is accepted.
[08:04] <circle> Someone yesterday mentioned boot repair, but I don't see it on the Live/Installer
[08:17] <toddc> circle: on first boot you must enroll in MOK  enroll MOK enter continue enter enter secureboot password then reboot
[08:18] <toddc> circle: for boot repair see https://help.ubuntu.com/community/Boot-Repair
[08:22] <toddc> circle: this video shows correct MOK enrollment https://www.youtube.com/watch?v=n8VwTYU0Mec&ab_channel=PhilipYip
[08:34] <circle> toddc in that video Secure Boot is on, and the USB boots without difficulty
[08:36] <circle> then it shows how to add keys for third party hardware,
[08:37] <circle> What's missing is the key for the Ubuntu boot shim or grub shim or something like that.
[08:38] <circle> Can I do the same process for the shim as the third party drivers?
[09:13] <toddc> circle: yes it will accept them after MOK is activated
[09:13] <circle> on boot of live/install USB I get bad shim signature
[09:16] <toddc> 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] <toddc> 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] <toddc> circle: I am no expert but I have installed it 20+ times with out a issue during fresh install
[09:21] <circle> 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] <circle> Does this make sense?
[09:21] <circle> Ubuntu booted fine in Secure Boot until I reset the BIOS, and lost any updated keys
[09:24] <toddc> 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
[09:28] <circle-too> toddc: I am previously known as circle.
[09:28] <toddc> I did see a update for uefi dbx but it worked for me on all my computers soooo no idea there
[09:28] <toddc> np
[09:29] <circle-too> Thank you for the ideas. Have to disconnect for a bit, then I'll try them out.
[09:29] <toddc> you may need some with a more in depth knowage of secureboot or create new media and reinstall
[09:30] <toddc> or disable secureboot as it not a hude security issue on linux as I have heard
[09:30] <toddc> huge
[09:32] <circle-too> I'm pretty sure it's not the media fault, its my UEFI - SecureBoot key database, which I understand poorly.
[09:33] <toddc> https://wiki.ubuntu.com/UEFI/SecureBoot/ShimUpdateProcess/TestPlan
[09:34] <toddc> if live media fails shim test then I suspect live media
[09:40] <circle-too> 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.
[09:43] <toddc> 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] <ice9> 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] <ice9> when I try to start google chrome I get: libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null); any idea?
[11:07] <migrat> Hey, i can't seem to find Atari800 or UAE amiga emulators, aren't they packaged in the official Ubuntu repositories>?
[11:09] <guiverc> 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] <migrat> guiverc, there is only the console Stella, but i mean the old computers Atari and the Amigas.
[11:11] <migrat> ok i just found them.
[11:11] <guiverc> 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] <migrat> my apt cache was not updated.
[11:16] <migrat> however only atari 16b it seems, but it's nice already,.
[11:36] <ni-ux> 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] <lotuspsychje> ni-ux: purge snapd if you dont want to use snaps?
[11:40] <ni-ux> yes, but then some packages reinstall snap rather than using a real package
[11:41] <ni-ux> 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] <lotuspsychje> this is an ubuntu server ni-ux ?
[11:42] <ni-ux> both server and desktop seem to have the cancer yes
[11:42] <lotuspsychje> dont think its possible to ditch on server
[11:43] <ni-ux> it is - just takes some work
[11:43] <lotuspsychje> ogra: maybe you can advice here^
[11:43] <migrat> because snaps makes life easier for packages maintainers sometimes, they don't need to deal many different dependencies library version etc.
[11:43] <migrat> +with
[11:43] <ni-ux> right but package maintainer laziness isn't really a reason to do something at scale
[11:44] <ni-ux> just release source tarballs if you dont' want to make a deb or rpm
[11:45] <ni-ux> if someone only releases snaps their software is probably buggy and poorly written anyway
[11:46] <ravage> Snaps will stay an important part of Ubuntu
[11:46] <migrat> An option flag to prevent apt / synaptic to install snaps or flatpacks etc could be cool anyway.
[11:46] <ravage> If you don't like snap at all choose another distribution
[11:47] <migrat> there's also .appimage files all pack into a single file.
[11:47] <ni-ux> 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] <ni-ux> if you're really sold on lazy package management at least use flatpak where there is some control over updates
[11:48] <ravage> Feel free to discuss in #ubuntu-discuss
[11:48] <lotuspsychje> lets not drag this into a discussion here ni-ux
[11:48] <ni-ux> and on the server side neither flatpak nor snap should ever be installed
[11:48] <ni-ux> ok fair enough
[12:32] <webchat53> Hello -
[12:32] <webchat53> 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] <webchat53> 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] <webchat53> I am now realizing that the computer will be running full time for no reason other than waiting for print jobs.
[12:32] <webchat53> 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] <webchat53> I hope that all makes sense. Just to sum up:
[12:33] <wudu_> 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] <max_> hi all
[12:46] <luna_> hey
[12:47] <ice9> google-chrome fail to start: libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null); any idea?
[12:48] <max_> can i ask something about ubuntu pro? the command "pro security-status" doesn't work anymore and /snap/bin/canonical-livepatch too
[12:53] <spinningCat> 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] <ice9> spinningCat, run: sudo apt install libssl3
[12:55] <spinningCat> ice9,  it is already installed
[12:56] <spinningCat> hmm using curl with sude solved the problem,
[12:59] <BluesKaj> Hi all
[13:00] <luna_> hey
[13:11] <circle> 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] <flaf> 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] <flaf> 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] <ioria> nope, that script just temporarily inhibits a shutdown signal until apt finishes
[14:11] <flaf> 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] <flaf> apt-daily-upgrade.service?
[14:12] <ogra> the systemd timer is a direct replacement of the former cron apt daily/weekly stuff ... unattended upgrades just hooks into that mechanism
[14:12] <ioria> i guess a simple 'dpkg-reconfigure -plow unattended-upgrades' willdo it
[14:12] <oerheks> ioria, +1
[14:12] <ogra> yeah, what ioria said
[14:13] <oerheks> https://help.ubuntu.com/community/AutomaticSecurityUpdates
[14:15] <ioria> and you can check 20auto-upgrades  ; it should be all set to zero  iirc
[14:15] <flaf> oerheks: ioria: Ok and if unattended is not installed, the systemd unit “apt-daily-upgrade.service” just does... nothing?
[14:16] <flaf> *unattended-upgrade
[14:16] <ioria> flaf, we should reread the script to be sure :þ
[14:18] <ioria>  this ib/apt/apt.systemd.daily
[14:18] <jhutchins> What determines when an un-installed package appears in dpkg -l even after it's been purged (it shows as "un")?
[14:18] <ioria> i mean : /usr/lib/apt/apt.systemd.daily
[14:18] <flaf> ioria: in the script, I can see this line “command -v unattended-upgrade ... && ...“. So I am probably not far from the truth.
[14:19] <ioria> yep
[14:19] <flaf> ioria and oerheks: thx for your help.
[14:19] <ioria> no prob
[14:22] <ioria> jhutchins, un = unknown ?
[14:23] <ogra> 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] <jhutchins> ioria: I believe that's "uninstalled".
[14:24] <ioria> ah
[14:24] <jhutchins> In the first field which shows ii for installed packages.
[14:25] <ioria> https://askubuntu.com/questions/18804/what-do-the-various-dpkg-flags-like-ii-rc-mean
[14:25] <jhutchins> I do have a bunch that are "rc" (I think that's removed, configured (the configuration file has not been purged).
[14:26] <jhutchins> 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] <ogra> un -> unknown and not installed (you have to read the two letters separately)
[14:27] <ioria> jhutchins, you need some research ; apt-cache policy pkg
[14:28] <flaf> 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] <ogra> flaf, you maintain that in /etc/apt/apt.conf.d/20auto-upgrades IIRC
[14:30] <ogra> see https://wiki.debian.org/UnattendedUpgrades#automatic_call_via_.2Fetc.2Fapt.2Fapt.conf.d.2F02periodic
[14:31] <ioria> Some configuration files might be 'unknown' to dpkg because they are created and handled separately through the configuration scripts
[14:32] <ioria> afk
[14:32] <flaf> 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] <flaf> 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] <ogra> 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] <ogra> *managed
[14:42] <jhutchins> Does apt autoremove take a "purge" argument?
[14:42] <flaf> 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] <flaf> “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] <oerheks> jhutchins, yes
[14:43] <oerheks> 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] <oerheks> https://askubuntu.com/questions/1036697/does-apt-autoremove-purge-package-also-remove-configuration-files-for-the
[14:44] <oerheks> so, your pics will remain, made with an obscure paint program 😛
[14:44] <jhutchins> Theoretically there is no saved data, as these programs have never been used.  (Mostly gnome/GUI stuff on a server.)
[14:44] <oerheks> oke, then you are fine
[14:46] <ogra> 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] <flaf> 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] <ogra> flaf, i pointed you to the doc above ...
[14:55] <ogra> it has settings for scheduling unattended-upgrades ....
[15:08] <flaf> OK
[15:17] <mason> 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] <ravage> mason: what is the error? do you have src packages enabled in your sources.list ?
[15:20] <mason> 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] <ravage> mason: apt search linux-source
[15:20] <oerheks> https://kernel.ubuntu.com/git/
[15:20] <ravage> then get the version you want instead of the virtual package
[15:21] <mason> Aha. Okay, this is different from Debian, and I was assuming it was the same.
[15:21] <oerheks> apt-get source linux-image-$(uname -r)
[15:21] <mason> oerheks: Thank you - that's probably what we'll do, but nice having a clue in both directions. Thank you both.
[15:21] <ravage> oerheks: i think that will now work
[15:21] <oerheks> have fun!
[15:21] <ravage> the package name is linux-source-5.19.0 for example
[15:22] <ravage> oh linux-image?
[15:22] <ravage> does that actually get the source of the image? never tried that :)
[15:23] <ogra> https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel
[15:23] <ravage> Picking 'linux-signed-hwe-5.19' as source package instead of 'linux-image-5.19.0-35-generic'
[15:23] <ravage> E: Unable to find a source package for linux-signed-hwe-5.19
[15:23] <ravage> but yep
[15:23] <ravage> ok that looks nice really
[15:23] <ravage> i dont have source packages enabled atm
[15:24] <mason> 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] <mason> 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] <ravage> please file a bug if you find anything
[15:26] <mason> 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] <mason> 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] <ravage> :)
[15:27] <hejazi> Hi All
[15:27] <hejazi> 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] <hejazi> Is there a way to solve the problem?
[15:28] <ravage> hejazi: update to a supported release
[15:28] <ravage> 16.04 is EOL
[15:28] <mason> hejazi: you can manually choose an earlier version of the relevant package if that helps
[15:28] <ravage> !eolupgrade | hejazi
[15:29] <hejazi> I planned this upgrade but now I want to solving this problem
[15:29] <ravage> plan it now. your system security is at risk here
[15:30] <ravage> and we do not support EOL versions here at all
[15:30] <hejazi> Ok thanks
[15:31] <ogra> 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] <ravage> still no support here
[15:32] <ForeverNoob[m]> Hello, how much does a 22.04 minimal server download upon setup (assuming no extra packages) ?
[15:33] <jhutchins> 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] <ravage> ForeverNoob[m]: it should be able to install without any internet connection really
[15:33] <mason> jhutchins: apt install $(cat file)
[15:34] <mason> jhutchins: maybe xargs if you want to pipe from a command without an intermediary file
[15:34] <mason> 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] <jhutchins> No
[15:34] <mason> I want you to have all the options. :P
[15:37] <jhutchins> proably < file will work.
[15:37] <mason> jhutchins: Note that that will feed stdin, not command line arguments
[15:37] <mason> I don't think it'd actually work, but maybe I'd be wrong.
[15:39] <jhutchins> Nope.
[15:40] <jhutchins> Nothing works so far.
[15:40] <mason> jhutchins: apt install $(cat list-of-files)
[15:41] <jhutchins> Ah, there we are.
[15:45] <jhutchins> mason: Thank you.  "cat" is so often the wrong tool, but it worked.
[15:45] <mason> Re: the kernel source earlier, found a nice description of snagging various sources with git: https://wiki.ubuntu.com/Kernel/Dev/KernelGitGuide
[15:46] <mason> jhutchins: There's probably some equivalent bashism that'd do it too, but I emit no bash-specific syntax in any context.
[15:47] <ogra> good boy !
[15:47] <ogra> 🙂
[15:47] <mason> heh
[15:47] <ogra> POSIX FTW !
[15:48] <ForeverNoob[m]> ravage: Doesn't a minimal installation require a network though?
[15:49] <jhutchins> mason: Someone has suggested $(< file)
[15:49] <mason> jhutchins: Mentally attach "non-portable" to anything that person might recommend in future.
[15:50] <jhutchins> mason: I do not believe in portability.  It's a false promise.
[15:51] <ogra> it usually works for shell if you stick to POSIX
[15:52] <jhutchins> ogra: Given that I stick to Linux, even that doesn't apply.
[15:52] <jhutchins> (I guess that will confuse me on a mac, but I'm already lost there.)
[15:53] <ogra> i'm pretty sure MAC supports POSIX given its BSD inheritance
[15:53] <mason> ZSH lately
[15:53] <ogra> as /bin/sh ?
[15:54] <ogra> or as login shell
[15:54] <jhutchins> My solution is "ask somebody who knows macs".
[15:54] <ogra> lol
[15:55] <ogra> aaanyway ... we're quite offtopic here ...
[15:55]  * ogra points to #ubuntu-discuss for further conversation on that (off)topic
[16:44] <relipse> 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] <leftyfb> relipse: sudo dpkg -i <path/to/synergy.deb>
[16:47] <leftyfb> just install the new one, it will override the previous
[16:48] <matsaman> recursion: synergy? I think you want barrier probably
[16:48] <leftyfb> matsaman: synergy is just fine
[16:48] <matsaman> not if it's not in the repos, nope
[16:48] <matsaman> there's a reason barrier is in the repos and synergy not so much
[16:49] <leftyfb> matsaman: yes, synergy is a commercial, non-OSS product
[16:49] <matsaman> it's very unlikely anything a person would want from synergy is not offered by barrier
[16:52] <relipse> i don' get it, i tried barrier and synergy and the mouse is very lagged on my ubuntu box
[16:52] <matsaman> what's your setup?
[16:53] <matsaman> OSes, network, &c
[16:59] <relipse> Windows 11 Professional as server and Ubuntu 22.04 xorg as client on right side, both connected to ehternet wired
[17:00] <matsaman> same barrier version on each?
[17:00] <matsaman> server is probably better on Ubuntu, if it can be
[17:10] <relipse> yes tried both same barrier version and same synergy version same thing
[17:14] <leftyfb> relipse: cat /sys/class/net/$(ip route |awk '/default/ {print $5}')/speed
[17:14] <leftyfb> relipse: what does that give you?
[17:15] <relipse> cat: /sys/class/net/enxa0cec889d169: Is a directory
[17:15] <relipse> cat: wlp1s0/speed: No such file or directory
[17:15] <leftyfb> 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] <leftyfb> relipse: sorry, both wired and wireless are active
[17:16] <leftyfb> I would recommend disabling wifi and then try
[17:18] <relipse>  cat /sys/class/net/$(ip route |awk '/default/ {print $5}')/speed
[17:18] <relipse> 1000
[17:20] <leftyfb> Ok, now reconnect synergy
[17:34] <jo-erlend> Is barrier a new thing or based on the original synergy from when it was open source?
[17:38] <leftyfb> jo-erlend: https://github.com/debauchee/barrier
[17:45] <jo-erlend> leftyfb, right. Then I think it's the one I've used before.
[18:07] <ForeverNoob[m]> 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] <jhutchins> 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] <jhutchins> !info smartmontools
[18:24] <tomreyn> 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] <tomreyn> this said, smart tests aren't really reliable either, but at least provide soem indication.
[18:28] <matsaman> ForeverNoob[m]: you should assume the drive is fine until you have a reason to suspect it isn't
[18:41] <relipse> 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] <relipse> for synergy
[18:55] <jhutchins> 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] <ForeverNoob[m]> 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] <jhutchins> 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] <jhutchins> ForeverNoob[m]: I would suggest backups, but nobody ever listens to that.
[19:02] <SuperLag> 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] <ForeverNoob[m]> jhutchins: To my defense I did have backups, but they were outdated :p
[19:11] <csexecutive> ForeverNoob[m], respectfully then oyu didnt have backups if they were untested and/or recent
[19:11] <ForeverNoob[m]> Fair point.
[19:12] <matsaman> ForeverNoob[m]: keep backups, replace hardware that is consistently problematic, that's it
[19:12] <matsaman> no smart required
[19:19] <ogra> 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] <ogra> s/daa/data
[19:33] <jhutchins> ForeverNoob[m]: If the drive hasn't failed outright you can certainly update your backups in case the drive is failing.
[19:33] <jhutchins> (If it's not, bonus: you get backups.)
[19:44] <steerpike> hi, on 22.04, where are all the dhcp lease files?
[19:45] <steerpike> /var/lib/dhcp/ is empty
[19:45] <oerheks> on server? https://manpages.ubuntu.com/manpages/focal/en/man5/dhcpd.leases.5.html
[19:46] <steerpike> desktop
[19:46] <steerpike> found it in /var/lib/NetworkManager/dhclien-*.lease
[19:48] <oerheks> yes, without more details about time, as they are endless
[19:50] <Albright> 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] <jo-erlend> 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] <jo-erlend> Albright, they still receive fixes, but they are backported to the original version. So no worries about security or things like that.
[19:53] <sarnold> 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] <Albright> 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] <jo-erlend> Albright: Ubuntu will maintain 8.1 forever. Ten years. One of the huge advantages of using Ubuntu.
[19:55] <Albright> Ten years beyond PHP's EOL date?
[19:55] <jo-erlend> Albright: ten years from release of 22.04LTS, meaning until 2032.
[19:56] <Albright> So even beyond the EOL of 22.04? huh.
[19:56] <jo-erlend> Albright, yes.
[19:56] <sarnold> 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] <sarnold> Albright: there's also two free tiers for additional support
[19:57] <jo-erlend> 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] <ravage> 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] <Albright> 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] <ravage> fair point
[19:58] <ravage> then see messages above
[19:58] <Albright> Maybe it's irrational, but…
[19:59] <sarnold> it's very rational :)
[19:59] <sarnold> ondrej seems like a nice guy but it's an additional risk
[19:59] <Albright> 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] <jo-erlend> 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] <Albright> Yeah, exactly.
[20:00] <jo-erlend> 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] <sarnold> jo-erlend: heh I love the enthusiasm but we do make mistakes :)
[20:02] <jo-erlend> 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] <SuperLag> ogra: doh
[20:03] <SuperLag> didn't know about "snap connect"
[20:03] <SuperLag> I'll still have to look up syntax for it
[20:15] <ForeverNoob[m]> jhutchins: Oh absolutely. You can bet I'm making some extra backups now :p
[20:20] <ronoc> hola
[20:21] <sarnold> hi ronoc
[20:51] <chonkin> Hey I have returned.
[20:52] <matsaman> hey
[20:55] <jhutchins> ForeverNoob[m]: Excellent.  They've saved me more than once.  (Experience is proportionate to data destroyed.  I have a lot.)
[20:59] <relipse> leftyfb: did you see my post
[21:00] <relipse> 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] <leftyfb> relipse: ok, so the problem is with Windows. Good luck
[21:01] <leftyfb> relipse: maybe start by checking the interface you are using on Windows and it's speed
[21:07] <prabhakarlad> 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] <sarnold> prabhakarlad: why are you rebuilding it?
[21:09] <prabhakarlad> sarnold: I want to make a platform ARM system ready.
[21:09] <sarnold> prabhakarlad: what does that mean?
[21:09] <prabhakarlad> https://www.arm.com/architecture/system-architectures/systemready-certification-program
[21:09] <leftyfb> prabhakarlad: https://ubuntu.com/download/server/arm
[21:10] <matsaman> ^
[21:11] <prabhakarlad> leftyfb: I need to enable couple of drivers so need to rebuild the image.
[21:12] <matsaman> prabhakarlad: and what's stopping you?
[21:12] <sarnold> this is clearly pretty old but it's not a bad starting point https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel
[21:12] <oerheks> https://askubuntu.com/questions/1346275/how-to-make-ubuntu-install-iso-file-for-arm64-machine-on-x86-64-machine
[21:12] <sarnold> building ubuntu kernel packages isn't *easy* but at least it's way more approachable than "I want to rebuild ubuntu"
[21:13] <oerheks> = aarch64
[21:15] <oerheks> !info crossbuild-essential-arm64
[21:15] <prabhakarlad> matsaman: I get error while compiling. let me post the error
[21:26] <jo-erlend> I wonder if Error is getting tired of being notified. :)
[21:27] <jo-erlend> Error; by the way, I happen to know the joke you're referring to in your realname. :)
[21:29] <prabhakarlad> sarnold: matsaman: I have pasted the error log here https://paste.debian.net/hidden/e5812fbe/
[21:29] <chonkin> who wants to do Ubuntu booting stuff?
[21:29] <chonkin> troubleshooting.  matsaman ?
[21:32] <jhutchins> chonkin: The way this works is that you give a through but susinct summary of the problem and see who responds.
[21:32] <sarnold> 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] <superdisk> 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] <superdisk> 'gspca.h' -print` shows nothing. So is the header missing or something?
[21:37] <prabhakarlad> sarnold: -a option here is --host-arch for dpkg-architecture so it will pick up arm64
[21:39] <chonkin> 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] <oerheks> chonkin, you have 20.04.6, just a detail
[21:48] <Didact>  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] <chonkin> 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] <oerheks> chonkin, any held back packages when you update from comandline?
[21:50] <oerheks> Didact, maybe one is old MBR, and your SSD is UEFI?
[21:51] <oerheks> or your old hdd has no bootsector, too little info
[21:54] <Didact> 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] <Didact> hope that helps
[21:54] <Didact> off
[21:54] <oerheks> why would you turn of sata?
[21:54] <Didact> sata0... that hard disk
[21:54] <oerheks> and how is this an ubuntu issue?
[21:55] <Didact> I'm booting into ubuntu
[21:55] <oerheks> than do not turn off sata0?
[21:56] <Didact> well, I want to replace it w/ a 4 tb from my old machine
[21:56] <Didact> and I want to make sure everything will work when I do that...
[21:57] <Didact> if I move the drive from sata 3 to sata 0 it will screw up the boot right?
[21:57] <Didact> the SSD boot
[21:57] <Didact> it will become sda1, right?
[21:57] <oerheks> no, set the bootdrive right
[21:57] <oerheks> * in your bios
[21:57] <Didact> so move the boot drive to sata0 ?
[21:58] <Didact> I have the boot drive to sata 3 in the bios
[21:58] <Didact> that's whats weird
[22:01] <e25> 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] <jhutchins> e25: What are you backporting and why?
[22:02] <oerheks> e25 mixing packages from debian could well be a bad idea, not supported here
[22:02] <e25> jhutchins: srain, for fun
[22:02] <e25> since jammy has kinda old version and there's no flatpak
[22:02] <jhutchins> e25: Um, sid is Debian, isn't it?
[22:03] <e25> yeah I was thinking if I built it on jammy from debian source is that still evil?  I guess it is eh?
[22:03] <jhutchins> e25: Debian != Ubuntu.
[22:03] <e25> No shit?
[22:03] <e25> That's why I'm asking, so you're thinking it's a bad idea?
[22:04] <jhutchins> 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] <e25> 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] <jhutchins> e25: I would expect that building it from Devel would be a lot safer.
[22:04] <e25> 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] <oerheks> if you use sudo make install, it builds an uninstall script too..
[22:05] <jhutchins> 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] <Didact> ok, bbl, need to test some stuff on the linux box which is my gateway to here
[22:05] <e25> oerhawk: doesnt that depend on the author?  and even so, it may or may not overwrite regular ubuntu stuff
[22:05] <e25> and if it does, and it removes it stuff, it may or may n ot restore ubuntu stuff
[22:06] <e25> i feel safer installing with package manager
[22:06] <chonkin> oerheks  this occurred with upgrade  http://paste.debian.net/1274952
[22:08] <oerheks> chonkin, sudo apt dist-upgrade will install the lot of them, some can be held back, due to phased updates
[22:08] <oerheks> !phased
[22:09] <oerheks> one can install them manually, ofcourse
[22:09] <chonkin> But I'm not on 21.04 or later.  I'm earlier
[22:09] <oerheks> oh oke
[22:10] <oerheks> after dist-upgrade, run sudo apt install libnvidia-cfg1-525 libnvidia-compute-525 etc etc
[22:12] <jhutchins> oerheks: No meta-package?
[22:13] <oerheks> if he builds it the ubuntu way, he' ll be safe
[22:13] <Didact> hmmm, might have been user error
[22:14] <Didact> oerheks: ty for the help
[22:16] <oerheks> have fun!
[22:18] <chonkin> oerheks wait a min.  The command to enter is literally "etc etc"?
[22:20] <oerheks> no, etc etc, complete that whole list
[22:21] <oerheks> 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] <oerheks> software-properties-common software-properties-gtk xserver-xorg-video-nvidia-525
[22:21] <oerheks> too long to paste, sorry
[22:32] <chonkin> oerheks:  roger. I asked because there is an /etc/
[22:33] <Didact> so, will ubuntu read my NTFS formatted disk ?
[22:55] <Hack5190> 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] <Hack5190> VERSION="16.04.7 LTS (Xenial Xerus)"
[22:57] <ravage> your system is EOL
[22:58] <ravage> !eolupgrade | Hack5190
[22:58] <Hack5190> im aware of that :)
[22:58] <ravage> upgrade/reinstall and come back with a supported version of Ubuntu if you still have problems
[22:59] <Hack5190> was hoping there would be a way to upgrade this one item..
[23:05] <oerheks> Hack5190,  sure, distro upgrade, lolz
[23:06] <Hack5190> :p
[23:06] <oerheks> 16.04 + ESM would give 2.48
[23:07] <oerheks> https://launchpad.net/glib
[23:10] <Didact> 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] <e25> 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] <e25> (This is on ubuntu-server based system so no desktop package installed this, although I have since installed x&e)
[23:32] <e25> i guess just install gnome-keyring?
[23:32] <e25> should be a dependency imo
[23:33] <tomreyn> how did you install this software, how is it packaged?
[23:34] <leftyfb> 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] <leftyfb> it's a Qt-based app
[23:35] <e25> I installed with `sudo apt install nheko`
[23:36] <e25> It is packaged in traditional deb package in jammy repo.
[23:36] <e25> leftyb: but gnome-keyring isnt one of them
[23:37] <tomreyn> in *universe*, notably. the jammy version depends on libqt5keychain1 (>= 0.7.0) - Qt API to store passwords (QT5 version)
[23:38] <tomreyn> so you may just miss dbus and kwallet, but i'm not sure about that really
[23:39] <tomreyn> it's clearly a GUI application and not mean to be used on a server
[23:40] <oerheks> neko was long time a dead project https://github.com/Nheko-Reborn/nheko#build-requirements
[23:43] <Hack5190> Upgraded to 18.04.6 - is that supported?
[23:43] <ravage> until next month
[23:44] <leftyfb> Hack5190: upgrade to 22.04
[23:44] <Hack5190> 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] <ravage> continue your upgrades
[23:44] <oerheks> !eolupgrade
[23:44] <leftyfb> Hack5190: time for a new install
[23:45] <Hack5190> ill pass
[23:45] <ravage> have a nice day then
[23:45] <Hack5190> thanks, same to you
[23:45] <leftyfb> Hack5190: if you're having issues with GLIBC, you've gone beyond the point of diminishing returns
[23:46] <leftyfb> Hack5190: at this point, it is exponentially quicker to install from scratch and restore from backup. It's also cleaner and easier
[23:50] <tomreyn> "apt list --installed libc6" on 18.04 LTS would report 2.27-3 on a fully updated 18.04 LTS
[23:51] <tomreyn> that's not 2.23, which you would not see on a non-broken 18.04 LTS installation.
[23:51] <tomreyn> it is still lower than 2.28, which the incompatible software you are trying to run depends on.
[23:53] <oerheks> he first says 16.04 .. that seems more correct
[23:55] <chonkin> oerheks  okay.  Everything is booting again on this machine.  Your advice did some kind of magic
[23:56] <tomreyn> !cookiebox | oerheks
[23:56] <oerheks> !yay
[23:56] <sarnold> oh dang he gets a whole *box* of cookies??
[23:56] <chonkin> >_>
[23:57] <tomreyn> well, he made that system boot again!