[00:57] The following packages have been kept back: [00:57] python3-distupgrade ubuntu-release-upgrader-core ubuntu-release-upgrader-gtk [00:57] is there a way to fix this [00:59] linsux: I think if you ask for one of those specifically with apt install ubuntu-release-upgrader-core [01:00] linsux: it'll work itself out with time [01:00] see apt-cache policy for phasing % === mattf_ is now known as mattf === bmilfo[m] is now known as bmilfo === bmilfo is now known as bcm [02:03] sarnold> cryptobugger: DEBIAN_FRONTEND=noninteractive ---> where should i type it sarnold ? [02:03] apt-get DEBIAN_FRONTEND=noninteractive [02:03] apt-get DEBIAN_FRONTEND=noninteractive update ? [02:04] something like this ? i don't have ubuntu box right now just for note. [02:07] cryptobugger: before the apt-get command; it might even require an 'export' to get it to pass through to the children processes, but people usually don't show that, so I'm not sure. === blackest_mamba_ is now known as blackest_mamba [02:41] hmm thank you sarnold [02:41] will try it [02:41] sarnold is there alot of market for ubuntu server [02:41] now i mean [02:43] sarnold is there alot of market for ubuntu server . now i mean . seem almalinux is my best choice for now . i heard alot of bug in ubuntu server like apt upgrade crash all apps [02:43] do we still have some issue like that now ? anyone using ubuntu server here ? [02:44] cryptobugger: ubuntu is the second most popular linux distribution, behind only android [02:44] i am just going to start some small project but can't decide between almalinux and ubuntu server . just wanted to code all those hardening script first for both and decide which one to choose and see at least the performance . [02:44] all the other "traditional" linux distros added together don't have as many users as run ubuntu [02:45] cryptobugger: ubuntu is the second most popular linux distribution, behind only android ---> yeah i mean not for developer , the server i mean [02:45] ubuntu server [02:45] if you don't mind to reveal , do your company used ubuntu instead of redhat ? [02:46] anyone can comment if you happen to be free and looking at this chat [02:46] ? [02:46] cryptobugger: I work for canonical, so there's thousands of ubuntu boxes here and afaik no redhat boxes [02:46] ah i see no wonder [02:46] did they really use the server themself sarnold [02:46] nvm a silly question anywa [02:46] nvm a silly question anyway [02:46] cryptobugger: yes. thuosands of them. [02:47] thank you sarnold [02:47] thousands ? [02:47] hmmmm [02:47] I've been using Ubuntu for years and have never had a problem like an apt upgrade causing mass crashes. [02:47] hang on mind to show me which ubuntu.com about the current server ? [02:47] hey guys any performance changes with debian server vs ubuntu lts? [02:47] what is ubuntu lts adding on top of debian except for packages etc [02:47] cryptobugger: With VMs added, that sounds like a reasonable number to me. [02:47] let me google it too [02:47] https://ubuntu.com/download/server <- cryptobugger [02:48] I've been using Ubuntu for years and have never had a problem like an apt upgrade causing mass crashes. --> server you mean ? or normal day to day ? i am asking like performance too arraybolt3[m] . how many boxes you guy running? is it for infrastructure. [02:49] cryptobugger: Server and Desktop are the same OS with different configurations. [02:49] i might suggest to my next company but well all of them in other country is using windows and redhat [02:49] so not much for ubuntu market there [02:49] cryptobugger: You can run server software on Desktop, you can install a desktop environment on Server and make it Desktop. So I use Desktop, but it's still going to do the same things as Server. [02:49] oh they are using the same packages too arraybolt3[m] ? [02:49] Identical packages. [02:49] i mean not the stable version compare to those redhat or fedora ? [02:50] Come again? [02:50] i see [02:51] Come again? --> i mean , hmm like those for redhat, they choose to test it on centos and fedora before pushing it to production like rhel and those stuff . [02:51] hang on let me read it sarnold [02:51] cryptobugger: Ah, I see what you're saying. Ubuntu has something a bit similar but it's all still Ubuntu. [02:51] to be honest, i never even used ubuntu server before [02:51] There's three "tiers" in Ubuntu development. [02:52] other than just coding the hardening script and the gnome desktop version [02:52] You have the development release, which is unstable, prone to breakage, and is where all the developers throw their experiments to see what happens. [02:52] not even in company that i worked for [02:52] Development gradually stabilizes down into an official release, which can be safely use;d in production. [02:52] For production releases, there are two types - Standard and LTS. [02:52] Standard releases are a bit less stable than LTS, and are supported for nine months. [02:53] LTS releases are designed to be rock-solid (like RHEL solid) and are supported for 5 years, or 10 if you purchase Ubuntu Advantage. [02:53] So 5 years of free support, and you can buy an additional 5 years of support if you need it. [02:54] (And if you aren't using your server for commercial use, you can get the extra 5 years of support for free.) [02:54] So sorta like how there's Fedora, then CentOS Stream, then RHEL, in Ubuntu, there's Development, Standard, and LTS. They're not quite equivalents, but they're close. [02:56] hmmm [02:56] look nice arraybolt3[m] , thank you [02:56] i will try it [02:56] 👍️ [02:57] and live it as production in test environment and test it for couple of month [02:57] Sounds like a very good idea to me. [02:58] yeah [02:59] how much is the subs for arraybolt3[m] [02:59] subscription per year [02:59] Depends on the hardware, details are here: https://ubuntu.com/advantage [02:59] sorry for noob question i just want a quick hack so i don't need to google and searching on the web [02:59] i mean ubuntu web page [02:59] Depends on the hardware, details are here: https://ubuntu.com/advantage ---> thank you , looking now [02:59] No problem, people here know where this stuff is and can grab it. [03:01] hmm 200 buck [03:01] cheaper abit from redhat [03:01] do you use openstack arraybolt3[m] ? [03:02] No, since I'm a desktop user, but I do make heavy use of QEMU, KVM, and GNOME Boxes, and can vouch for the fact that virtualization on Ubuntu is solid. [03:02] sorry sarnold , the openstack what does it mean by update ? you mean new version of openstack [03:02] (Also all of Launchpad, Ubuntu's development platform, is built on OpenStack, so it better work good.) [03:02] https://ubuntu.com/advantage in here i mean [03:02] i see arraybolt3[m] [03:03] Security updates are critical to keeping systems from getting hacked, however Ubuntu Advantage is not required to get security updates for the 5 years of standard LTS support. It's only necessary if you want the extra 5 years of ESM support. [03:04] (You may have already known that, but I thought you might have asked a question about it so for what it's worth, there it is.) [03:33] hey y'all -- I'm having some bluetooth issues. Since an update/restart this morning, hcitool can't find my bluetooth device. The bluetooth service starts successfully, but it finds no adapters === cryptobugger is now known as skraito [03:34] I can still see the device with lsusb -t, but nothing seems to be able to power it on [03:34] jak: Can you run "sudo modprobe -r btusb && sudo modprobe btusb" and see if that fixes it? [03:35] If not, try booting into an older kernel. [03:36] arraybolt3[m]: that seems to have done it [03:36] \o/ [03:36] thanks so much! quickest fix ever [03:36] any idea why this particular kernel upgrade caused this to happen? [03:36] All that command did was turn the Bluetooth driver off and back on. It's been a lifesaver for me with Bluetooth, so keep it in your back pocket. [03:36] oh it's in the toolbox now for sure [03:36] jak: Maybe it was just a transient error? Otherwise, no clue. === blackest_mamba_ is now known as blackest_mamba [04:29] Good evening, I have an HP dy3037nr notebook running ubuntu 22.04. Lately, it takes a long time for the keyboard to respond. I'm currently running 5.19.0 kernel. xi8042.reset doesn't seem to help much === cappicard_ is now known as dwitt1974 [04:32] cappicard_: Did this happen immediately after installing the mainline kernel? === Probie9687 is now known as Probie968 [04:51] i was trying to upgrade to the mainline kernel to resolve the problem [04:54] Did this problem start occurring after an update, but before you installed the mainline kernel? [04:56] before i installed the mainline kernel === Probie9680 is now known as Probie968 [04:57] Hmm. OK, can you try booting into an older kernel? You can do that by shutting down your computer, then turning it on. You'll see the early boot process occur, then the screen will go solid black. The moment the screen goes black, press Esc. Then choose "Advanced options for Ubuntu", then chose the oldest kernel in the list (don't chose an options that says (recovery mode)). [04:58] (If the Esc key doesn't work, try holding down Shift when the screen goes black instead.) [05:00] ok [05:06] i'm back in 5.15.0-45 kernel. seems abit better but still takes a while before the keyboard initializes [05:08] transfer quoto depleted :( [05:09] quota* [05:13] wrong thread :p [05:13] sup guys [05:34] is LTS based on debian stable? [05:38] https://askubuntu.com/questions/701345/is-ubuntu-lts-based-on-debian-unstable-or-testing === ooonea_e- is now known as ooonea_eth [06:54] Should I use LVM during installing ubuntu 22.04? === ThorDayOfStorm is now known as jiggawatt [06:55] Linux^: it's a bit more complex, but in the long run, it's helpful. So i would suggest yes [06:55] So Its more good than just normal partition? Then I should go for it. I am going to use external Harddisks too later via usb. will it help? [06:57] murmel [06:57] Linux^: in most use cases for external hdds, it doesn't make much sense as most just create one huge partition [06:57] so I should go for without LVM? [06:58] btw OS is installed in a SSD not in any external drive [06:58] will be* [06:59] Linux^: for a OS install, it makes sense to use it, for external most don't want to bother with it (as there is only 1 partition) [06:59] If you are going for encryption then yes you should use LVM if not then it's not needed [06:59] ok so I am not going to use it [06:59] Guest0axc: there are def. way more use cases for LVM than encryption [07:02] I'm guessing he's talking just about regular installation for desktop. There's no need in complicating it with lvm imho [07:03] Guest0axc: so no reason if you want to increase space for example? [07:03] You don't need lvm to increase space. I don't think so at least. [07:04] Guest0axc: yes, but it's way harder === NeoFAT32 is now known as d4rk_b0y === littlepap is now known as litpap === litpap is now known as homma [09:19] i hope i am in the right place to ask this... [09:19] I am trying to install Ledger live to the hdd.  not running it from the APPIMAGE, [09:19] Any guidance is appreciated [09:31] hi [09:32] hi [09:32] Bonjour [09:33] Bonjour, j'ai une VM qui hébergé sur un serveur mais je n'arrive pas à configurer la connexion filaire. A chaque configuration que je met, il n'y a pas d'internet. Pouvez-vous m'aider ? [09:33] Hello, I have a VM hosted on a server but I can't configure the wired connection. With each configuration that I put, there is no internet. Can you help me ? [09:33] !fr | noroto24 [09:33] noroto24: Nous sommes desoles mais ce canal est en anglais uniquement. Si vous avez besoin d'aide ou voulez discuter en français, veuillez taper /join #ubuntu-fr ou /join #ubuntu-qc. Merci. [09:33] ok [09:33] I have a question. I am working on a preseed file to auto install ubuntu desktop 22.04. Though no matter what I set for the loalization and keyboard layout I still get asked from ubiquity to set keyboard layout. Am I missing something obvious here? Any tip? https://dpaste.org/Cc5Sf [09:34] noroto24: there is also #networking [09:35] thanks you [09:35] no problem === beaver is now known as pong [09:53] leszek65: an idea is trying the non-official cubic, or maybe compare your config https://www.pugetsystems.com/labs/hpc/Note-Auto-Install-Ubuntu-with-Custom-Preseed-ISO-1654/ [10:24] I think I am an average Ubuntu User. How dangerous is the territory of custom Kernels? [10:25] not high as you can always boot the official one ;) that's one of the reasons to have multiple on your system [10:30] horse9, if you only do small customizations on top of the ubuntu source trees, it might be fine ... but note that ubuntu ships quite a few "sauce" patches and that userspace apps have certain expectations towards the selected kernel config options [10:30] specifically around security FWIW ... === Starmina8798 is now known as Starmina879 [11:26] is there a way to disable the phased updates to show up in apt list --upgradable? (on 22.04) [11:27] murmel, why would you want to hide that info [11:28] (it is important info, so you know why certain packages i.e. the ones depending on a phased deb) have been kept back) [11:29] ogra: idk, I opted out of phased updates. so why do I need that info? [11:30] murmel, file a whishlist bug to hide that info for people having opted out ? [11:30] ogra: right now I get always emails about upgradable packages. well those are not upgradable? [11:31] ogra: will do thanks [11:31] emails ? [11:31] ogra: I will get emails when there are updates on the server [11:31] ah, but thats something you have set up ... not some default feature [11:32] yes. i know. but I still get here are 2 packages that need to be upgraded: phyton3-distutil (and the other one) but as I opted out, I can't upgrade except I upgrade them invidually [11:33] commenting in https://discourse.ubuntu.com/t/phased-updates-in-apt-in-21-04/20345 might also be a god idea if you want to discussi it before filing a bug [11:33] yeah I wouldn't even know against which package :/ [11:33] alp [11:33] err [11:33] apt [11:34] its a feature of apt, i dont think that will ever be able to change [11:34] a lot of users just like to see whats incoming [11:34] well, hiding info accoring to the settings you picked is not unreasonable [11:34] +d [11:35] choice is good, i agree ogra [11:35] I hope at least that there is a switch :/ [11:42] well, the switch you already have should be enough [11:42] if you opt out of phasing, why would you need to see the phased percentage ... [11:43] ogra: well, I still see them? even after opting out [11:44] yes, that is the bug i asked you to file 😉 [11:44] ahh lol xD [11:44] sorry misunderstood you [11:45] might be a trivial fix to make the display of the string conditional [11:58] lotuspsychje sadly not very helpful as it does not provide any preseed file. Anyone has a preseed file for 22.04 that can auto install the system? [12:00] what about this leszek65 https://wiki.ubuntu.com/Enterprise/WorkstationAutoinstallPreseed [12:01] that's (despite of the pages' title) a debian installer preseed file. current ubuntu releases support autoinstall, a different, but similar, mechanism [12:03] https://www.molnar-peter.hu/en/ubuntu-jammy-netinstall-pxe.html [12:05] general autoinstall reference: https://ubuntu.com/server/docs/install/autoinstall [12:05] see also the section on community.ubuntu.com for more hints + examples. [12:06] leszek65: ^ [12:12] tomreyn I thought this autoinstall is only used for servers. I am trying to auto install a ubuntu-desktop ISO [12:14] why updating to 22.04 it removes python3 virtualevn ? [12:14] *removed [12:17] leszek65: you're right, sorry, classic d-i preseeding is still in use on desktops until the new installer will be rolled out. [12:18] leszek65: you can already use the server installer to install a desktop using autoinstall (as described on peter molnar's website), though [12:20] i think this also allows for more variety in partitioning and some other aspects. but documentation needs yet to mature. [12:21] Yeah. Nope. I have a modified filesystem.squashfs that I want to install automatically so I need to use the desktop ISO [12:21] Its weird that it always shows the keyboard configuration dialog instead of taking the configuration I gave. [12:24] Hello, I have Ubuntu 22.04 installed and the dock with icons on the bottom. I would like to have an icon for each instance of an application, not just the dots underneath the program icons. How can I do this? [12:25] theer might be an extension to do that [12:35] hello [12:35] Can grep command search string in multiple excel files? [12:37] An extension? Can't this be done in gnome tweak or so? [12:38] dconf editor? [12:39] perhaps [12:40] not sure if the ubuntu panel includes all options from dash-to-panel nwadays [12:40] *nowadays [12:44] Whats the easiest thing to get the Cinnamon style dock? [12:45] Install cinnamon? *g* [12:45] IF I install cinnamon: will there be conflicts with gnome? [12:45] maum: easy enough. For files named file1, file2, file3, etc, type cat file* | grep string [12:46] I like to search string in all excel xlsx files in sub directory [12:47] xlsx is compressed [12:47] ok, then grep file* string. [12:48] grep *.xlsx string ? [12:48] you probably have to use something like "xlsx2csv" or similar [12:48] what is the easy way to search string and get the rows in multiple excel files? [12:49] and that's obviously a lossy conversion [12:50] maum: apt install xlsx2csv [12:50] then run it on your files [12:50] and grep the output [12:53] You should look into powershell for this task. Much more suited to the task I would think [12:54] I have multiple excel files in sub directories [12:54] do I need to convert xlsx into csv one by one? [12:55] it is inconvienience way. [12:56] Do a search for "powershell excel string search" and you will find plenty of examples how to do this [12:59] Alternatively, python has a package called xlrd that makes it easy [13:09] Hi all [13:29] So I managed to fix my preseed.cfg. It is not showing the keyboard chooser anymore: https://dpaste.org/dvu7m [13:29] Now the only thing I need to get rid of is the screen that allows me to choose standard install or minimal install. Anyone any clue how to skip this dialog via preseed.cfg? [13:35] I get this error when running `apt update` https://0x0.st/oe3G.txt [13:35] any idea how I could find out if the reasoning in it is true? [13:35] I've never seen this error before [13:39] xx: try again later, as the message suggests, a mirror sync may be in progress. if the error persists after two hours, you may want to report this in #canonical-sysadmin [13:39] thanks [13:39] I somehow expected mirror syncs to be atomic [13:40] they usually are [13:40] like, one snapshot is visible until the sync is done, at which point the snapshot starts pointing at the new version [13:40] not in that way [13:40] well in some similar way [13:40] but the new package metadata are pushed after the actual filesync [13:40] in a 2nd rsync. [13:41] but i have no idea how that server is managed. its an internal system and not an archive mirror === isnessness is now known as ugjka [13:59] xx: there could also be a transient proxy on your end causing this. but usually we'd see the hostname resolve to a different ip address then for you, but yours resolves to that of the live servers (but it could be re-routed). [13:59] no idea, all other repos for all other systems work fine over here [14:00] if ubuntu used https for its repos, it would be easier to know that there's nothing in the middle messing with it [14:00] the file downloaded from http://ddebs.ubuntu.com/dists/focal-updates/main/binary-amd64/Packages.gz is also 579759 bytes long for me. [14:02] I'll give it time and see if it magically fixes itself in a few hours [14:28] Do jobs scheduled with `at` run at the next available time if the system is offline (powered off or suspended)? [14:30] g3poandlsl: yes. They do not run on boot because they missed the last schedule [14:30] yes, as in, they run at the next available schedule time [14:30] if it's set to go off at 3pm, it'll run on the next 3pm it sees [14:31] leftyfb, thanks! [14:31] put simply, there is no queuing === thegodsquirrel is now known as thegodleaf [15:12] Is there anyway to downgrade network-manager in Jammy? [15:12] dakotakae: why do you want to do that? [15:12] 1.36.x broke a lot of VPN connections, I need to get back down to 1.34.x [15:13] dakotakae: the quick answer is no, there is no 1.34.x versions of NM available in ubuntu 20.04 [15:13] dakotakae: can you define "broke"? [15:14] Wireguard connections, in particular, no longer work through Network Manager. Attempting to connect to a Wireguard configuration gives an error saying it could not fetch VPN gateway, then fails saying a valid IPv4 configuration was not received. [15:15] This means managing wireguard connections can only be done with wg-quick at the moment, which is a lot less convenient than it was in Focal. [15:15] dakotakae: did you try to troubleshoot here with someone familiar with this or did you file a bug? [15:16] Bugs have been filed already, it's a well known issue. [15:17] do you have a link to your bug report or the bug you marked yourself as affected to? [15:18] Here is the issue on the NetworkManager repo: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/938 [15:18] Issue 938 in NetworkManager/NetworkManager "Wireguard issue" [Opened] [15:18] file a bug at launchpad [15:19] !bug [15:19] If you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs. [15:19] waiting for an upstream fix to reach ubuntu can take years [15:20] but a ling to that bug on gitlab is a good idea of course [15:21] a link, too [15:21] :) [15:22] it also says that NM should support wireguard natively and the bug is in the plugin [15:22] can you confirm that? do you use that plugin? [15:22] unfortunaterly it's not clear from this upstream bug report whether or not the NetworkManager-wireguard plugin is what causes the users' issue, and whether it is still present when they don't use this plugin, but use the native support in NM [15:22] Got it, thanks all! [15:23] dakotakae: could you be more specific, don't keep us dumb and leave, please. [15:23] i type too slow [15:24] there was no real interest in getting this fixed anyway [15:25] apparently not. :/ [15:34] I'm pretty sure I know the answer to this but is there a way to back off of the development branch I didn't even know i was upgrading to it [15:35] yes, you already know the answer [15:35] oi guess i'm reinstalling, everything works except sound and none of the usual fixes are working [15:40] It looks i'm unable to do chroot into boot partition. Any reason why i'm not able to do that https://pastebin.com/raw/1huWZM35 ? [15:41] because there is no system on an EFI partition [15:41] why would you be trying to chroot into the boot partition? what are you actually trying to accomplish? [15:43] Dan39 It looks i have broekn by grub i'm always been redirtected to grub rescue mode. [15:45] can you re-read what you just typed and then rephrase it, so that someone not in front of your computer can understand what the problem or task you're trying to solve is? [15:45] node1: you want to mount the boot over your actual OS partition and choot into the OS partition [15:47] there does not seem to be a /boot file system + partition on this disk [15:48] (unless it's in LVM or similar on sda5) [15:48] ok [16:04] I still have the same problem with http://ddebs.ubuntu.com/dists/focal-updates/main/binary-amd64/Packages.gz [16:08] xx: what was said earlier still applies [16:12] yeah, looks like there's a 'Packages.gz.new ' [16:42] need pulseaudio help. Trying to run mpv from cron. Audio works when run manually, doesnt work when run from crontab. I tried the XDG command $ XDG_RUNTIME_DIR=/run/user/100- && ./home/user/mpv.sh BUT it STILL isnt working. What gives [16:42] ^ 1000* not 100- [16:44] what is in ./home/user/mpv.sh ? [16:44] flatpak run io.mpv.Mpv http://...m3u8 (it's a stream) [16:44] command runs just fine manually [16:45] if I run the script as the user I'm logged into it works fine [16:45] BUT if I run from root or cron I get NO sound at all [16:45] literally every search result says run the XDG... command but its not working for me [16:46] jaydemir: is the cron job just to start this on boot? [16:46] no this machine is always on [16:46] its supposed to be a mounted TV setup [16:47] if I have to run the script on boot some way I can set a cron job to reboot that wouldnt be the end of the world [16:47] use full path in your script?/usr/bin/mpv [16:47] oh flatpak [16:47] yeah its 21.10 I cant be arsed to do a full reinstall but the repos are shut down so I had to get it via flathub [16:47] either way it works just fine running it as the user [16:48] its only when I try to automate it that it doesnt [16:48] like it 'runs' as in it plays the video I just get no sound [16:49] so you are asking about flatpak problems in an EOL ubuntu? [16:49] upgrade please [16:49] its a pulseaudio issue [16:49] jaydemir: did you make sure that pulse runs? as it's a user systemd unit [16:49] !eolupgrade | jaydemir [16:49] jaydemir: 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 [16:50] no use finding out what the issue is.. [16:50] PULSE IS RUNNING I already said it works from the user [16:50] meanwhile a lot of updates came by .. [16:50] and it wouldnt matter if it was Ubuntu 22, 24 or 8, its a pulse issue [16:50] jaydemir, surely that should be "export XDG_RUNTIME_DIR=/run/user/1000 && ./home/user/mpv.sh" ? As written it just sets a shell parameter which couldn't affect the mpv.sh execution at all [16:50] all I'm trying to do is run the audio through a hardware device from another user [16:51] rfm now we're getting somewhere. Why wouldnt it affect it [16:51] wait let me try export [16:53] -.- [16:53] literally NONE of the results mentioned export [16:53] but to be fair I should have known that. Thanks rfm === blackest_mamba_ is now known as blackest_mamba [16:56] Hello all. As name implies, I have issues accessing GRUB on boot in order to choose different kernel from the advanced options. I tried holding/spamming ESC, SHIFT, etc. and I've also added a longer timeout to /etc/grub/default as well as grub-update [16:56] 22.04 here [16:56] thegrubseeker: you could also uninstall the later kernel and reboot [16:57] I could and I might have to resort to that [16:57] just curious why grub isnt showing up at all [16:57] thegrubseeker: Did you run update-grub after changing the file? [16:57] yes [16:58] could it be related to Secure Boot or Legacy Support settings in BIOS? [16:58] thegrubseeker: One would expect those to prevent booting, not prevent the menu from showing. [16:59] thegrubseeker: on Ubuntu, GRUB settings are on /etc/default/gurb *AND* on /etc/default/grub.d/* Entries on ./grub.d/ override entries on /etc/default/grub [17:00] so if you changed /etc/default/grub, it may be you did not actually change all you thought [17:00] good call, will check .d [17:03] Hmm seems no relevant option there, just a GRUB_THEME setting [17:11] channels [17:11] \list channels [17:12] pjw_: for help with IRC, please /join #libera [17:17] Do Ubuntu irc clients still ship pre-configured for #ubuntu? [17:17] jhutchins, pre configured for Libera, sure [17:18] as in; available from the list [17:18] For a while one of the clients was pre-configured for freenode#debian. [17:18] indeed, but the update followed soon [17:42] im gonna try grub-boot-repair [17:42] maybe something broke while upgrading to 22.04 [17:42] though each time i changed OS (ubuntu to lubuntu to mate etc.) its been a fresh install with disk format [17:43] so not sure why grub wouldnt also have installed fresh [17:51] a bit OT, why ubuntu in upgrade to 22.04 removed virtualenv package? it is going to be deprecated? [17:52] !info virtualenv [17:52] virtualenv (20.13.0+ds-2, jammy): Python virtual environment creator (Dependency package). In component universe, is optional. Built by python-virtualenv. Size 2 kB / 30 kB [17:52] it's not removed [17:53] it was removed during the upghrade [17:54] dob1: did you install it from a ppa or other 3rd party source? [17:54] leftyfb: no for sure [17:55] was it originally installed as a dependency for another package? [17:55] leftyfb: via apt, I haven't any ppa configured [17:55] it was installed by me [17:55] but during the upgrade it kept venv [17:55] it probably logged why it did so, you can inspect those logs in /var/log/release-upgrades (path might be similar) [17:56] dob1: I can't tell you why it was removed as part of your upgrade ( what version were you on before?). But you can just reinstall it [17:56] leftyfb: I can install, it was strange that I was trying to do python3 -m virtualenv and virtualenv was not there [18:00] thegrubseeker: if you use grub-reboot to set an invalid menu entry, i think this should bring up the grub menu. [18:00] read its --help output, though [18:04] also "full screen logo" boot, fastboot, secure boot could prevent it, i imagine. and last but not least, the way grub is meant to be used has changed in 22.04 (IIRC) in that it should only be used to boot ubuntu, but not to switch between multiboot options (different OS) in UEFI boot mode - use the 'bios' provided uefi boot chooser for that === Scotty_Trees2 is now known as Scotty_Trees [18:43] greetings. Can I shrink an LVM2 container? === darkowlzz6 is now known as darkowlzz [18:52] pvresize --setphysicalvolumesize /dev/??? [18:52] found :) [19:08] Greetings, all. I have an issue with my Anne Pro 2 keyboard on Ubuntu. They keyboard works at the UEFI screen, but goes dark at the login screen. I always end up needing to unplug the cable to get it working again. Any idea on troubleshooting this? I describe the issue and troubleshooting here: https://www.reddit.com/r/AnnePro/comments/wfzjiv/anne_pro_2_stops_working_at_ubuntu_login_screen/ === bahamat_ is now known as bahamat [19:45] Jubes9: any chance you can fix your connection? === blackest_mamba_ is now known as blackest_mamba [20:11] Hi friends. I have a ThinkPad T14 running Ubuntu 22.04, and since (I think) the upgrade to 22.04, the SD card reader no longer does anything when I insert a card. To see the card, I have to reboot with the card inserted. On previous Ubuntu versions, rebooting wasn't necessary. Has anyone seen this problem? === blackest_mamba_ is now known as blackest_mamba [20:14] Gotta reboot now but I will check IRC logs later. === blackest_mamba_ is now known as blackest_mamba [20:24] So I bought an NVMe SSD, and it's supposed to be 1800-2800MB/s or something I think https://www.newegg.com/team-group-mp33-2tb/p/N82E16820331431 [20:24] The Ubuntu 22.04 OS is on a 128GB 10+ year old SSD [20:25] https://i.imgur.com/O8NZ59d.png here's the Ubuntu 22 system disk [20:25] What I want to do is to not have to reinstall the OS, and copy my system disk over to a 2TB NVMe SSD [20:26] Free up the 128GB SSD for some other stuff [20:26] System supports booting from NVMe as boot drive [20:26] Hash: First off, I see your EFI partition has an exclamation point next to it, can you find out why? [20:26] Oh? [20:26] (It might interfere with other stuff if the partition is damaged or some such.) [20:26] W [20:26] WARNING!: Unable to read the contents of this file system! [20:27] Because of this some operations may be unavailable. [20:27] The cause might be a missing software package. [20:27] The following list of software packages is required for fat32 file system support: dosfstools, mtools. [20:27] Oh just missing fat32 file system tools so it can't do stuff [20:27] I don't think that's a big deal I think, what do you think [20:27] I also wonder why I have a fat32 oh... efi partition. [20:27] Hash: It might be, so I'm just going to have us do something real quick to make sure it's OK. [20:28] Yeah, sure man [20:28] Hash: Can you pop open a terminal with Ctrl+Alt+T, and run "sudo mount /dev/sdf1 /mnt"? [20:28] What's up [20:28] Hash: Nothing much. Doing some tests on a package I'm fixing in Lubuntu, idling in a ton of IRC rooms and watching stuff happen. [20:28] Hash: You doin' OK? [20:28] Yes sir, thanks for asking [20:29] Thinking about adopting some wnpp packages in debian that need work [20:29] Need to also fix some bugs in debian-php team [20:29] Hash: Cool! [20:29] But other than that, homework, and getting this new SSD going [20:29] Anything happen after running that mount command? [20:29] Well, hang on [20:30] /dev/sdf1 on /mnt/sdf1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) [20:30] Nice. Yeah, this should just be a matter of cloning the whole disk, then messing with the partitions a bit to get all of the new space stuck in /home (or wherever you want it). [20:31] (I'm mainly worried about that one partition because a 10+ year old SSD sounds like a disk failure waiting to happen.) [20:31] Well, I check smart fairly regularly. [20:31] Hang on [20:32] https://i.imgur.com/cjjLkGz.png [20:33] Here's the smart for the 128gb ssd [20:33] actually hangon, copy paste is probably faster on site [20:33] i wish smart values were remotely documented [20:34] but that looks to me like this drive probably needs replacement quick :) [20:34] I saw it. [20:34] sarnold: yup [20:34] Hence the new ssd purchase! :D [20:34] One time I ran an SSD down to it's last 3 or 5 percent of life :O [20:34] \o/ [20:34] arraybolt3[m]: hah nice [20:34] Yeah, I've done that with hdds and bad sectors [20:34] Hash: OK, well, let's just clone it and see what happens. We'll find out right quick if something's awry. [20:35] Hash: OK, is the new SSD already installed? [20:35] You run mhdd on it, mark the sectors, partition around that space give it some padding and disk still lasts a while. [20:35] Yeah, I just have to format it, and install the OS [20:35] Or copy partitions. I'm on a live system and would have to reboot for some kind of disk copy linux distro [20:35] Hash: OK, can you do "lsblk | nc termbin.com 9999" and sent the output? [20:35] Hash: I just need to know what the device IDs are so I can show the DD command to run. [20:36] Oh I don't need spoonfeeding! [20:36] You're awesome btw [20:36] Hash: Though you sound knowledgeable about this stuff, so basically it's just "sudo dd if=/dev/ of=/dev/ bs=32M && sync". [20:36] I just wanted to know if there was a way to do it live, instead of reboot and clonezilla or dd after umount [20:36] Hash: Oh... that's a bad idea. [20:36] Oh yeah. :( [20:36] I figured. I was just hoping against hope! [20:36] Hash: You can try to use rsync to clone it, but it could still go wrong. [20:36] As the movie line goes [20:36] Man. [20:37] Sigh. [20:37] Hash: If you want to take a try at it, we can partition the drive and then rsync clone. [20:37] Rebooting is such a hassle. [20:37] Hash: It might leave some files in an inconsistent state, but it's far better than DD. [20:37] Yeah. Well. You know what [20:37] I don't actually mind reinstall. [20:37] Hash: Well you're gonna have to reboot anyway to get into the new SSD, so it's not going to take that much longer. :) [20:37] The only thing I have to do is recompile some plasma after code edit, to work with Xmonad. [20:37] In fact, question, about Ubuntu [20:38] https://github.com/xmonad/xmonad/issues/174 [20:38] Issue 174 in xmonad/xmonad "krunner and kickoff windows disappear after first run" [Open] [20:38] If I wnated to introduce my patch into Kubuntu packages or ... just make easy for people using Xmonad and KDE [20:39] Hash: A thought - I once had a happy experience re-installing to a new drive. Using the exact same username and password hey the installer made an exact copy of the install on the original drive to the new target! [20:39] How might be the best way to do it? I have been asked becuase some people don't know how to compile debs [20:39] Hash: I'll send you some links that will be very helpful (they're what I learned from). [20:39] Hash: https://wiki.ubuntu.com/SimpleSbuild [20:40] Hash: https://wiki.debian.org/sbuild [20:40] Building packages is trivial [20:40] Hash: This sbuild tool is amazing. It's even easier to use than compiling stuff with make, and it makes debs, and it ensures your builds are always in a clean environment, AND it provides debug output for if anything went wrong when you build the debian stuff. [20:40] How to introduce them to Ubuntu so people can download a plasma-xmoand-compat package [20:40] I can maint that. [20:41] Interesting [20:41] Hash: are you sure you want to use ext4 on fast nvme drive? [20:41] xx: what do you suggest? [20:41] Hash: Ah. For that, you'll probably want to talk in #ubuntu-devel to get a package sponsor. [20:41] ZFS? [20:41] btr? [20:41] zfs or btrfs [20:41] :) [20:41] checksumming is nice [20:41] I have a zfs mirror [20:41] Hash: I don't know the exact procedure for uploading a brand-new package however, lemme look that up... [20:41] https://termbin.com/3w9m zpool status [20:42] Hash: https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages [20:42] https://termbin.com/gbwx here's the lsblk you wanted, all the disks [20:42] Hash: Also https://wiki.ubuntu.com/StableReleaseUpdates may be helpful [20:43] Hash: Nice. Are you booted into a live environment so you can clone the disk, or are you doing a new install like you were talking about? [20:44] Unsure yet [20:44] I am not in a live env. [20:47] I could logout my user, login as root, umount /home, make partitions on new disk, copy data, reboot, reinstall... and now I am going to look into zfs on boot [20:48] https://openzfs.github.io/openzfs-docs/Getting%20Started/Ubuntu/Ubuntu%2022.04%20Root%20on%20ZFS.html I got this link [20:51] Do you guys use btr/zfs etc. on root? [20:51] And why? [20:51] * tarzeau avoids zfs, but likes xfs and btrfs (for live filesystem compression) [20:52] Yeah, I like xfs and used it for years, but now I don't have a UPS [20:52] xfs without UPS and power failures = data loss [20:52] ZFS [20:52] Was there an Ubuntu support question buried somewhere in this? [20:52] Meh, I'm always an ext4 guy. It just works. I've seen BTRFS go up in flames, sounds like you've seen XFS go up in flames, ZFS is insanely complicated. [20:53] jhutchins: Yes, we're trying to figure out how to clone an SSD from one drive to another but now we're discussing how exactly to do it. [20:53] https://linuxhint.com/btrfs-vs-ext4-filesystems-comparison/ this is good info [20:53] I'm going to switch to Matrix sometimes [20:53] jhutchins: Which filesystem to use, whether to reinstall or clone, how to clone, etc. [20:53] ext4 has fixed inode limits, while btrfs/xfs don't... [20:53] * arraybolt3[m] likes Matrix, I'm on Element now [20:54] It's easier that way, one chat on each monitor. Heh [20:54] Yes, element.io. [20:54] I have had the same ~ for 12 years on that ssd I think [20:55] https://clonezilla.org/ [20:55] Do you think I should start a new ~ with brand new config files and copy over what I need... or just carry on with my ~ and copy it to new ssd [20:56] Hash: Depends on if you're reinstalling or not. If you are reinstalling, start your config from scratch I'd say. If you're not reinstalling, but cloning, carry the config over. (I'm sure there's a way to carry over the config with a reinstall, but I'm not sure how to make sure it works perfectly.) [21:00] ARGH! So many choices! [21:01] Too many choices are a bad thing for an indecisive person. :( Same thing as restaurant, have you decided what to order? Nope. give me another 15min. [21:01] Hash: LOL I'm like that too. [21:02] hash: I'd say, quickest way to get up and running is a clone. Best way is a reinstall. Are you in a hurry or are you happy with taking your time to get everything perfect? [21:02] I'm trying to think of the least irritable way. [21:03] ~ is disorganized and blah. Cleaning would take a while, should probably start a new OS and ~ and copy things I need. [21:03] I'll think on it. Thank you for your advices [21:03] Also, lastly, how do you/would you/should I, partition the 2TB NVMe as a system disk [21:04] I want to use it as a /, /home, and also use it for my virtual machine disks. [21:04] Hash: I always put everything in /, other people prefer it differently. [21:04] I bought it primarily for OS and VMs [21:04] See, what's what I'm thinking [21:04] If you partition an SSD into smaller partitions, that limits the cell scope [21:04] Hash: With everything in / you won't ever discover that you're out of space in one spot and need it somewhere else. [21:05] Then if you use that a lot, cells in that parition get reused a lot instead of other cells on disk and that causes more wear and tear on the SSD [21:05] maybe install bare metal Proxmox, then add VMs [21:05] Hash: The only time I ever separate out tasks is when multiple physical disks. [21:05] If you do just one large partition /, and that then SSD doesn't have to reuse the same physuical cells in the smaller partition, less wear and tear [21:05] Hash: Actually that's not true - SSDs have wear leveling to use spots all over the disk no matter where you logically write files. [21:05] I have 2x proxmox setups already [21:05] :D [21:05] Are you certain? [21:05] Hash: Yep. [21:06] That ssd can transncend your partition limit to keep wear level evened out across all cells? [21:06] Double positive? [21:06] https://en.wikipedia.org/wiki/Wear_leveling [21:06] It's why "trim" exists in the first place for SSDs. It tells the SSD what blocks are empty so it can do that. [21:06] Or at least it's part of the reason. [21:07] So I ahve static wear leveling [21:07] Your SSD should tell you what kind of wear leveling it has. [21:07] yeah, isn't modern OS donig auto trim frequently or soemthing? [21:07] I'll look at it real uick... === jdrab is now known as anti_pattern [21:08] Direct hardware access to storage media has been an illusion since we left RLL and MFM behind. What you actually see is a software model of the drive presented by the on-board controller. [21:09] From the SSD description on Newegg: "MP33 M.2 PCIe Solid State Drive supports S.M.A.R.T function and its built-in smart algorithm management mechanism has functions such as GC (garbage collection) and TRIM command which are able to ensure operation efficiency, **enhance the service life of the solid state drive** and bring it to its maximum performance." [21:09] Bet you that "enhance the service life" is wear leveling. So is garbage collection. [21:09] Cool [21:09] Which is why, if errors start leakning through it means it's device failure, not just a bad sector. [21:10] sudo nvme smart-log /dev/nvme0n1 [21:10] https://termbin.com/6q1t [21:10] Here's smart for the brand spanking new ssd [21:10] There's no FS on it yet [21:10] Nice. [21:11] Looks like it's actually new to me. [21:14] dsa [21:14] jhg === Starmina8799 is now known as Starmina879 === realivanjx8 is now known as realivanjx [22:55] greetings. I am trying to compile amule from source but I am a bit lost. Does anyone know where is the last release? I have tried : https://github.com/amule-project/amule.gi [22:56] No, we have an old version https://launchpad.net/amule/+packages [22:56] DynamiteDan: Also, if you do want to build from source, https://github.com/amule-project/amule/releases/tag/2.3.3 [22:58] oh, sounds like it is the same,... [22:58] DynamiteDan: Also remember to never run "make install" - just use the software right where it is after the build, or use checkinstall. [22:58] no need to build then, on 22.04 [23:03] well [23:03] I would like to try some patches [23:04] so I am interested in building from source [23:04] use the ubuntu source to start with? [23:05] oh [23:05] forgot that [23:05] * Genesia Use Ubuntu Studio :) [23:07] I remmember there was a way to recompile ubuntu [23:07] but for some reason I can't find what I need [23:08] apt-get source ; apt-get build-dep ; apt-get install build-essential ; do whatever needs doing :) ; I think dpkg-buildpackage -b or something like that next; I use some very advanced machinery instead, but it's a pain to set it up for one package here or there [23:08] Or use sbuild :) [23:09] https://wiki.ubuntu.com/SimpleSbuild [23:09] problem me no watch userlist on IRC [23:09] Somewhat easy to set up, easier even than make and make install to use, no need to clutter the system with build dependencies. [23:09] And doesn't have the problems of "make install". [23:10] there is a good !build factoid [23:10] but simplebuild surely is helpfull for a single package [23:14] it is compiling [23:14] thanks :) [23:15] I need to install a build setup [23:15] I am more of a devops guys really [23:20] I'm installing Ubuntu for the first time, but it's hanging at: Running "update-grub"... I've searched for this issue, but nothing obvious stands out. I tried switching to the second virtual terminal, but the login that I created during install doesn't work. Any ideas? [23:20] it takes a long time [23:21] depending on the packages [23:21] wait [23:21] ubuntu desktop or server? [23:23] is your machine UEFI? [23:24] jrm: i think these questions are to you ^ [23:25] DynamiteDan: desktop and it does support UEFI. It's a Lenovo T530. [23:25] jrm: the login you created during installation won't apply to the installer system, but to the installed system. [23:25] I see. [23:25] hmm [23:25] well [23:25] It's been at least 3 hours I would say. [23:25] if you don't let the setup complete [23:25] users will not be created [23:25] and upgrade grub is essencial to setup the boot loader [23:26] jrm: does this system match the minimum system requirements? [23:26] It was going quickly for a time, then just stopped making progress. The console doesn't seem to be showing much. [23:26] tomreyn: Yes, easily. [23:28] jrm: which version are you installing? did you hit escape to skip the iso check on boot? [23:28] 22.04. No, I didn't hit escape to skip anything. [23:28] by "iso check" i actually mean the internal self-test. ok. [23:29] It seems fairly clear that something has hung. I'm installing on a second SSD in the system. The other disk has FreeBSD. [23:29] can you bring up a terminal by running ctrl-alt-t and run "dmesg" there? [23:29] I see something similar reported for 18.04 here: https://unix.stackexchange.com/questions/511289/ubuntu-18-04-server-installation-gets-stuck-at-66-while-runningupdate-grub [23:29] Oh, the terminal is helpful. [23:30] so what is managing the bootloader,.. [23:30] oerheks: There is a FreeBSD bootloader on the other disk. I was hoping Ubuntu would just install a bootloader in the disk it's installing to and I would choosing which disk to boot from each time. [23:32] Is this UEFI or legacy bios? [23:32] it'll depend on how you installed. did you boot the installer in uefi or (legacy) BIOS mode [23:32] echo -n 'This system booted via: '; [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS [23:34] sys/firmware/efi exists, so apparently uefi [23:34] Nothing obvious in dmesg. [23:34] and which mode does your freebsd installation boot in? [23:35] I /think/ UEFI, but I don't recall. I installed FreeBSD there long ago and haven't used this system often. [23:36] https://wiki.freebsd.org/UEFI says "FreeBSD can boot using UEFI on the amd64 and arm64 platforms since FreeBSD 10.1 (r264095). More information is available in uefi(8). Like loader(8), the UEFI loader loader.efi supports booting from GPT UFS and ZFS filesystems and supports GELI in the loader. " [23:38] the instructions there seem to suggest to install the uefi boot loader for freebsd on the EFI system partition at /EFI/BOOT/BOOTX64.efi - that's not a good place if you multi-boot [23:38] Oh, FreeBSD certainly can boot uefi. The system that I'm typing from now is FreeBSD booting via UEFI. Perhaps I can check the partitions form the terminal. [23:38] But that's on the other disk. [23:39] the ubuntu desktop installer, booted in uefi mode, would install its boot loader on the first existing ESP it finds. [23:40] (even if you selected something else in manual partitioning) [23:40] I see. sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL tells me that the FreeBSD system is booting via legacy BIOS. [23:41] bug 1396379 [23:41] Bug 1396379 in ubiquity (Ubuntu) "installer uses first EFI system partition found even when directed otherwise" [High, Confirmed] https://launchpad.net/bugs/1396379 [23:42] if you want to multi boot, you should boot all OSes using the same method, otherwise you'll have to keep switching things around in the bios setup UI everytime you want to switch [23:43] there are ways around this [23:43] fastboot enabled would cause this issue too. [23:43] Well, I'm not actually certain it's booting via legacy BIOS. It says sda -> sda1 512K, sda2 2G, sda3 147G. I can't see the partitions types other than the sda3, which is says is zfs_member. [23:43] for example, you can use refind to chose to boot windows with the windows bootloader [23:43] but naming is here more in place, good spot. [23:43] ubuntu with the zbm [23:43] or MacOS with OpenCore [23:43] 512K or 512M? [23:44] tomreyn: I'd prefer to select the boot device on each boot. [23:45] jrm: but do you prefer to have to switch the boot *mode* (not just the target) everytime you boot? (though, as cbreak suggests, there may be workarounds to that) [23:47] jrm: 512 KB seems very small for sda1, i was wondering whether it's actually 512 MB - then it could be an efi system partition. [23:48] tomreyn: Yeah, it's probably free space for alignment. [23:48] It's definitely 512 KB. [23:48] Size: minimum 100Mib. 200MiB recommended. [23:49] i see. then i guess you don't have an ESP [23:50] which would mean freebsd would be booting in legacy mode indeed