[00:39] irc is lame, try telegram === NeverLoads8 is now known as NeverLoads === WrathOfA1hilles is now known as WrathOfAchilles [02:19] how do i do an unattended or script based upgrade from 18.04 to 20.04 ? [02:19] is there some code somewhere that automates this upgrade? [02:19] No user input? [02:22] Hi pytorch. There is a way. [02:23] pytorch: You can ask apt/dpkg to choose answers for you, and then perform system upgrade. [02:23] pytorch: You could also just install 20.04 fresh, if possible. A little less hustle. [02:24] kwilczynski: I'm inside a machine that already has 18.04 installed, need to upgrade to 20.04 - that is the issue [02:25] If this is a server installation and you didn't modify it heavily, then in theory it would be just fine. [02:25] kwilczynski: I think its not apt/dpkg that asks the questions - its sudo do-release-upgrade -d [02:25] You most likely would want to reboot to get new libraries and kernel. So if possible, if this is in the cloud, take a snapshot of the root volume. [02:26] kwilczynski: I can upgrade to 20.04 - then create an image from that, and spin up new machines from that - that is what i am trying to do [02:27] kwilczynski: sshing into a machine, downloading 20.04 onto that machine and installing it from inside - without interaction is also challenging i think [02:27] pytorch: Aside of asking apt/dpkg not to ask you (non-interactive) you can also pass an option to do-release-upgrade: -f DistUpgradeViewNonInteractive [02:27] pytorch: That would not be something I'd recommend, unless you have a lot of time and know how to recover from potential issues. [02:28] The upgrade script does a bit more than just flips the mirror and updates apt, so to speak. [02:28] kwilczynski: I can just kill the machine and create a new one - so that is not an issue [02:28] Right. [02:29] In which case, why bother with the upgrade? [02:29] Grab fresh image and/or installation. [02:29] kwilczynski: how do you install it on this VPS machine? [02:29] the provider only supports 18.04lts [02:29] Which provider is it? [02:30] 20.04 is an LTS release, I would imagine it'd be in their best interest to support it, alas... [02:30] pytorch: most of them does it for you if you open a ticket for it (even though they dont show in their list ) [02:31] pytorch: https://wiki.debian.org/UnattendedUpgrades [02:31] kwilczynski: its internal consultant politics. [02:31] pytorch: What Sevenhill says might be also an option. :) [02:31] pytorch: Ah, I see. OK. [02:31] Well. [02:31] Sevenhill: I am asking about moving from 18.04 to 20.04 unattended. [02:32] do-release-upgrade: -f DistUpgradeViewNonInteractive ——> I dont think this will work - but am going to try [02:32] i always prefer upgrades from a to b then c or just install c with fresh install :) [02:32] Is there a way to install 20.04 fresh on a running 18.04 machine? :) [02:34] pytorch: Every but every vps provides should give you all active lts versions as option to install , it will be a suicade for them not to let you install a current lts version :D === Tabstar is now known as Tabmow [02:36] if it is not a secret may i learn which vps provider are you talking about [02:37] Sevenhill: it is behind an NDA - this is a local consulting company [02:38] Sevenhill: its a local datacenter which we have a contract to support only 18.04lts - so its only fair for them to ask for money for 20.04 [02:44] kwilczynski: DistUpgradeViewNonInteractive - I dont see that feature supported in do-release-upgrade [02:45] pytorch: it is (or was ) a frontend so you use it with -f [02:45] sarnold: apb1963 ok but I didn't found a correct solution yet [02:46] I cannot 'startx' on virtualbox when doing it by tty alt+ctrl+f2/3/4'. it says https://termbin.com/cmeq any clues? [02:47] Sevenhill: https://paste.ubuntu.com/p/Nkgbv5McKQ/ [02:47] both working and non working have identical files (I didn't go in depth though) but one difference is that the working one has xubuntu installed while the non working has xubuntu installed afterwards (it was ubuntu-server initially) [02:47] pytorch: It's there. The -f option. [02:47] pytorch: Are you sure you know what you are doing? [02:49] pytorch: Also, make sure you can actually boot OS updated like that - some... depends on the way how their hypervisor and/or solution has been set up... vendors sometimes don't allow you to boot any kernel, and they provide initrd and kernel image for you where you can only select what to boot. If this is the case for you, make sure your upgrade won't break things. [02:50] kwilczynski: its ok if i break things. If i can make it work, then i can replicate. If not, i just delete that machine [02:51] OK [02:56] anyone familiar with systemd-boot [02:58] Intelo: could you share your /etc/X11/xorg.conf ? [03:01] Hi, I recently updated from 16.04 to 18.04 and now my linux headers are borked. [03:03] I can boot into 4.15.0 but I can't boot into 5.4.0 [03:04] https://a.pomf.cat/hnrcgs.png [03:05] anyone have nay ideas what's going on here? I'd really rather not have-to re-install my whole OS [03:07] RJ45: Some of the post-installation scripts are failing. This graphical window/UI interface lacks the details (console would also not say much, but it's easier to debug this), sadly. [03:07] soo.. am I just boned? [03:07] RJ45: could you first cleanup your old things like : sudo apt update then sudo apt autoclean then sudo apt autoremove [03:08] RJ45: Not necessarily. As per Sevenhill. :) [03:08] trying now [03:08] thanks [03:08] You can also try to force install/reinstall a package. [03:08] after all of them sudo apt install -f [03:08] Yeah. [03:09] tried sudo apt autoclean , resulted in a list of about 200 things with 'Del' before each item [03:09] And if this is failing completely, then as a _last resort_ you can either remove (and then re-install the package) or add "exit 0" at the top in the right files in the directory: /var/lib/dpkg/info/ [03:10] RJ45: That's most likely fine after an upgrade. [03:10] RJ45: autoclean just deletes cached .deb files [03:10] with systemd-boot, my /boot partition keeps getting filled with unwanted kernel drivers. i can delete them but each call to update-initramfs pulls them back down filling up the partition [03:10] it is %100 safe [03:10] how i can permanently remove entries so avoid filling the /boot partition? [03:10] malwar3hun73r: are we talking about efi ? [03:10] yes [03:10] "0 to upgrade, 0 to newly install, 302 to remove and 0 not to upgrade. 11 not fully installed or removed." [03:11] hmm, looks scary.. [03:11] you can just delete those files from that efi partition thats all [03:11] RJ45: first make sudo apt install -f [03:11] RJ45: Good luck! You are in good hands with Sevenhill here. [03:12] Bed time for me, sadly, as it's 5am :) [03:12] okay good thing I didn't just approve the uninstallation of all the xserver stuff [03:12] kwilczynski: nope i need to sleep [03:12] Night everyone. [03:12] Sevenhill: Haha. [03:12] :) [03:12] Sevenhill, i do delete them, but after a update-initramfs, they are pulled back [03:12] Sevenhill: Same here. [03:12] malwar3hun73r: that means you still have those linux-kernelas [03:12] malwar3hun73r: you just make sudo apt autoremove [03:13] RJ45: hope it wont be a problem otherwise you need to install whole [03:13] Sevenhill: Well, good night to you :) [03:13] Sevenhill, after deleting from /boot/efi? [03:13] but it might be a good thing you might switch to 21.04 :D [03:14] https://a.pomf.cat/ubzmps.png [03:14] malwar3hun73r: whenever you run sudo apt autoremove it will remove old packages which doesnt need anymore [03:14] result of install -f [03:15] Sevenhill, yeah, autoremove doesn't complete becuase /boot is full. i get an error [03:15] malwar3hun73r: give me df -h [03:15] RJ45: it stuck with a installation of broken package [03:16] Sevenhill, i can't copy paste b/c it's another computer, but /boot is 0 bytes free [03:16] :D malwar3hun73r just delete old efi entries from boot [03:17] Sevenhill: soo... I'm screwed? [03:17] RJ45: you still have one option [03:17] you can upgrade to 20.04 [03:17] so it will not use that package and probably solve your problem [03:17] I'd like to upgrade to 20.04 .. without wiping everything [03:18] you mean I can just skip the 18.04 upgrade entirely? [03:18] how? [03:18] Sevenhill, i did, but any command pulls them back [03:18] RJ45: sudo do-release-upgrade [03:19] malwar3hun73r: is it possible to show your system via teamviewer or ssh ? [03:19] lol you know you got problems when "Errors were encountered while processing:" is followed by every linux header you have [03:19] lmao [03:19] rofl [03:20] what do you mean by "show your system"? [03:20] lnxsoul: he is mentioning a problem about lack of freespace on efi partion [03:21] but he say whenever he deletes entries on efi partion , and type any command that files comes back [03:21] this is irrelevant, but funny [03:21] Sevenhill, no, it actually won't boot right now [03:21] it looks wieard [03:21] "You have to download a total of 2,685 M. This download will take / about 5 hours with a 1Mbit DSL connection and about 4 days 8 hours / with a 56k modem." [03:21] malwar3hun73r: how large is the drive? [03:21] Sevenhill, if i look in /boot/efi/EFI i have folders that exist from a time when i was dual booting [03:21] lnxsoul, the drive is 2TB [03:21] lnxsoul, the boot partition is 500MB [03:22] does anyone anywhere on earth still use a 56k modem? [03:22] malwar3hun73r: you will not delete anything you just delete old entries [03:22] malwar3hun73r: Are you booting in UEFI mode or Legacy mode? [03:22] RJ45: i have a us robotics in my attic [03:22] Sevenhill, it's not booting into a UI... it's a graphics driver issue and apt fails with "initramfs... returned errro exit status 1" [03:22] RJ45: Probably some tribe out there and someone just to do so for the hell of it [03:23] Sevenhill, if i delete the old entries from /boot/efi/EFI, any call to apt puts the back [03:23] malwar3hun73r: If you're booting from an ISO image, then I suggest rebuilding it and starting a fresh install [03:23] lnxsoul, UEFI [03:23] Hi all, Does anyone know of an application I could install that does the same as what I can find here : https://www.timeanddate.com/timer That is have multile timer running at the same time? [03:23] lnxsoul, no, i need the data on this drive [03:23] malwar3hun73r: Balena Etcher is great for that [03:23] malwar3hun73r: Ah... [03:23] malwar3hun73r: Well that is problematic [03:24] Sevenhill: can I borrow it to do the release upgrade? it'll only take 4 days 8 hours [03:24] lnxsoul, what is problematic? [03:24] malwar3hun73r: your situation. It sounds like the bootloader is corrupted [03:25] lnxsoul: as far as i understand he has lots of old linux-kernel images installed in his box and that fills the /boot/efi partition [03:25] lnxsoul, i can boot, the issue is that the /boot partition is full and i cannot complete an initram-fs [03:27] exit [03:27] oops [03:28] malwar3hun73r: just list installed linux-kernels first [03:28] Sevenhill, ? [03:29] malwar3hun73r: dpkg --list | grep linux-image [03:29] whether or not this release upgrade works, I'd just like to thank the regulars here for having the patience to deal with dribbling noobs such as myself :) [03:29] Sevenhill, ok [03:30] RJ45: by the way all you need backup your home folder if you just put it back to your new system all your settings will be there too [03:30] malwar3hun73r: I'll be back in a bit. Hopefully Sevenhill can resolve your issue. [03:30] i mean if all things doesnt fix your problem just backup your home directory [03:31] there must be a much simpler fix to remove unwanted items in /boot/efi? [03:31] malwar3hun73r: we are doing it but the problem initfs recreates them [03:31] Sevenhill: sure. but I can't just copy it all back over without there being a whole bunch of useless configs, and I wouldn't be sure which ones are the now useless ones [03:31] first let me know which images installed [03:32] so it'd still be a laborious task of selectively copying over things for a few weeks [03:32] RJ45: you dont need to know :D you will just backup your current user not the system [03:32] there are 5 - 3x 5.11.0 and 2x 5.8.0 [03:32] (maybe my process of doing this is retarded) [03:32] Sevenhill: I mean all the .local configs [03:33] malwar3hun73r: now we will remove them sudo apt remove linux-image-XYZ ( that xyz will be old names just use tab to autocomplete ) [03:33] Sevenhill, remove all of them? [03:34] nope just keep most recent [03:34] even you can use purge instead of remove [03:34] i mean sudo apt purge linux-imageXYZ [03:35] gotcha [03:35] aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa https://a.pomf.cat/cqvggt.png [03:35] (>_<) [03:36] RJ45: dont worry just give us a little time we will fix this [03:36] ok, now whatt? [03:36] Sevenhill: thanks man, I love you [03:36] malwar3hun73r: did you remove old ones [03:36] yes [03:36] malwar3hun73r: now make sudo apt autoclean then sudo apt autoremove [03:37] Sevenhill, autoremove fails because initramfs fails because /boot is full [03:37] and then just check if you have any old linux headers [03:37] malwar3hun73r: now i believe it wont be problem [03:37] nope, still a problem, i jsut confirmed [03:38] malwar3hun73r: now delete old entries in boot [03:38] so initfs wont create them [03:39] same problem [03:41] malwar3hun73r: hmm could you show me your list : dpkg --list | grep linux [03:41] i'd have to type it all out [03:41] RJ45: sorry i am keeping you [03:41] it's cool [03:41] malwar3hun73r: just take a shot with your phone and upload it to somewhere [03:41] I'm just glad anyone's willing to help me save this borked system [03:44] Ironically I put-off upgrading for as long as possible because I'm afraid of something breaking .. but because I did that it probably why something is broken [03:44] RJ45: could you just sudo apt remove dkms then sudo rm /var/lib/dkms then sudo apt install -f [03:45] what does dkms do? [03:45] that's something to do with package manager right? [03:45] dkms is for that graphics card drivers [03:45] oh ok, no idea guess I'll try [03:46] its long name is Dynamic Kernel Module Support [03:46] and that's what's likely massing things up ya think [03:46] "E: Unsupported file /var/lib/dkms given on commandline" [03:46] not just for graphics cards but generally you hear it for them :d [03:46] oh wait I'm dumb [03:46] ok go on [03:46] copied it wrong, 1 sec [03:48] RJ45: result ? [03:48] glad my system is still functional enough to use IRC and things already installed, because my laptop currently has no hard rive and no OS, all I got to bail me out is a live USB with Ubuntu Mate 20.04 on it XD [03:50] Sevenhill: 80% done [03:51] result of sudo apt remove dkms https://a.pomf.cat/wamoju.png [03:52] looks promising .. I think [03:52] good :D [03:52] gonna try sudo rm /var/lib/dkms then sudo apt install -f [03:52] sudo apt update then sudo apt dist-upgrade [03:52] no need to delete dkms anymore [03:52] oh ok [03:53] just do sudo apt update then sudo apt dist-upgrade [03:54] ah sh## here we go again.. https://a.pomf.cat/igqqvt.png [03:54] wish my luck (^_^) [03:54] me* [03:55] after all those finish we will remove your old kernels also [03:55] sweek [03:55] sweet* [03:55] thanks again Sevenhill for helping me with this, you are a literal 5 years of my life saver [03:56] dont thank me yet until we make your system works :D [03:56] and it is not special to me , in here if i werent here someone else also help you just like me [03:56] having to re-install EVERYTHING and reconfigure everything, for me, is a a hige pain in the ass of which takes about a month for me to be satisfied with how everything on my system is set-up [03:57] huge* [03:57] (idk why I can't type today) [03:57] Sevenhill: even if it don't end-up working, I have learned things from this [03:57] RJ45: believe me from 16.x to 20.04 almost everything changed [03:58] so nowadays most of them doesnt even need any configuration [03:58] so if you reinstall for example 21.04 maybe you wont need 90 percent of what you had configured [03:59] what I mean by configuration is changing preferences on every application [03:59] customising things.. installing about 200 things [04:00] I dont like gnome so i am not using ubuntu :D i couldnt say anything about its preferences things bu i am undertanding you [04:00] I liked Gnome before it wasn't gnome anymore. I liked Ubuntu 10.04 [04:01] now I use Ubuntu MATE on desktop, and Xubuntu on laptop :) [04:01] lets take you into real world brother just give a chance to kde in our next version [04:02] for me, the biggest deal-breaker with KDE, is not being able to adjust the size of the desktop panel in px [04:03] as soon as I saw it was just a slider with my px values I was like "this is the stupedest thing ever, I'm gonna use something eelse" [04:03] with no px values* [04:04] RJ45: check this one : file:///home/kde-dev/Pictures/Screenshot_20210506_070314.png [04:04] lol nice link [04:04] oops [04:04] hold up while I hack ur desktop [04:04] https://i.ibb.co/vcyv9W0/Screenshot-20210506-070314.png [04:05] okay this could go bad.. we'll see.. [04:05] all CPU cores pinned at 100% [04:05] can't take screenshots [04:05] and have a prompt to configure chromium [04:06] okay cpu cores back at around 20% and sound working again (sound stopped) [04:06] also progress at 20% [04:07] has been stuck at "==> Installing the chromium snap" for a while now.. [04:08] it will pass ( i think ) just wait :D [04:08] did you look the photo which i showed the link [04:09] lulz, if the whole OS crashes/panicks and I can't reboot, I won't be back here until I boot a live USB and re-install everything :| [04:10] RJ45: right now you have a working kernel you dont need usb :D [04:10] just got a-lot of 'failed' on some things in the install logs [04:10] still going tho [04:10] even now if you reset everything will work [04:10] dont worry be happy :) [04:11] I'd op-en that link to see the screenshot.. if I could.. [04:12] firefox for some reason ain't opening links now, also cpu at 100% woo [04:12] works now [04:13] Sevenhill: when did they finally implement px values for that? [04:13] long long time ago [04:13] and why the hell did it take so long for something like that to get implemented.. [04:13] been 5 years since I tried KDE admittedly [04:14] We almost write it from scratch :D [04:14] but I recall trying it a few years before that, and again a few years later, and it was the same [04:14] RJ45: if i were you i just download manjaro (kde version) on a usb stick and give a live boot check on it [04:15] you'd think something like PX values for the task bar would be something that has always existed [04:15] does KDE still have Plasma widgets? [04:16] sure [04:16] I don't rly care about those, 'cos I am almost never looking at the plain desktop [04:17] RJ45: just never try manjaro-kde otherwise you couldnt comeback to gnome ( it is a mandatory warning which i have to make ) [04:17] this whole distro upgrade disaster started because they were some packages that weren't available when I tried installing Chia (wanna start hard drive mining) [04:18] really really wanna install Chia [04:18] the biggest motivation for me to upgrade, is when I literally can't install things anymore XD [04:19] still using Winders 7 for some games [04:23] RJ45: what is the result of your process ( upgrade ) now ? [04:24] 79% [04:24] currently can't open audio files [04:24] dead silent here [04:25] :) dont worry it will be much better when you finish and reboot [04:25] audo works now yay [04:26] audio* [04:26] I should really cut back on how much weed I'm smoking, my short term memory is messed up [04:26] ain't even high right now [04:27] Progress: 97% [04:27] the last time i smoke weed was about almost 2.5 years [04:28] I started smoking beginning of this year [04:28] i never ever smoke if it is illegal in that location [04:28] and i stuck in here turkey last 2,5 year :( and here it is illegal [04:28] I live in an area with noisy neighbours and need something to cope with it in the summer [04:29] last summer I was hooked on a low dos of Etizolam, I wanted something healthier than that, so I switched to weed with year [04:29] but now that's starting be become somewhat unhealthy [04:29] okaaay all packages installed [04:30] installation triggers seem to be okay [04:30] is it finished (whole thing) ? [04:30] looks like it [04:30] now for the big finale, will I reboot successfully [04:30] can i get an screenshot [04:30] 1 sec [04:31] first things first [04:31] we remove old kernels [04:31] sudo apt remove linux-image-(press tab 2 3 times so you can get list) and send me screenshot ) [04:32] https://a.pomf.cat/tqvbag.png [04:32] do you mind if I reboot first? I just wanna be sure the new kernel works before we delete the others :) [04:33] sure go on [04:33] will hopefully be back in less than 2 minutes [04:33] i will sait [04:33] wait [04:36] Sevenhill: there is no such file on both working and non-working systems [04:37] wooo success! [04:37] kinda [04:37] Hexchat is displaying the bottom line of text with no padding [04:37] might be a config issue, no biggie [04:38] RJ45: now we need to remove old kernels [04:38] okie dokie [04:38] Sevenhill: I mean, no such file /etc/X11/xorg.conf [04:38] then install dkms again so your graphics card [04:39] ah thanks, i wouldn't have thought to do that [04:39] Intelo: i will return back to your problem first finish rj45's one [04:39] would you please spoon-feed me the commands for that? [04:39] heheh.. [04:40] RJ45: first sudo apt remove linux-image-(a couple tab 3 4 ) so you will see the list and share screen shot with me [04:40] Sevenhill: sure [04:41] not a big issue right now, but the system-monitor applet in my task bar is gone, and I can't seen to put it back [04:42] RJ45: still waiting you [04:42] https://a.pomf.cat/yiuhvs.png [04:43] I guess I just remove each one that isn't the highest version [04:43] just remove all the 4.15 ones [04:43] now this : sudo apt remove linux-image-4.* linux-image-generic-hwe-16* [04:45] lookin' gud https://a.pomf.cat/gpcyzg.png [04:45] RJ45: sudo apt install dkms [04:46] done [04:47] sudo ubuntu-drivers autoinstall [04:47] wait, I'm on Ubuntu MATE , will that command still work? [04:47] probably yeah [04:48] i am not using ubuntu :D just trying to make your system works better :D [04:48] IDK how you just remember all this stuff to do in this situation [04:48] most of them are common things [04:48] must have taken years of trial and error to learn [04:49] but to learn, and then remember it all, that's a real skill [04:49] "No drivers found for installation." [04:49] guess that's that then [04:49] life is too short to be experienced with JUST our own mistakes brother [04:50] can't learn from other people's mistakes if you can't see other people making mistakes [04:50] RJ45: what was your graphics card ? nvidia ? [04:50] guess that's why you hang here and help people [04:51] AMD R9 290X [04:52] to be honest i didnt come here to get help or give help , i come here to check a person ( a ubuntu packager ) so i will beg him to increase one of package's version so i can increase our dependency on our project :D [04:52] you know you always stuck the distro's versions even though you are upstream :D [04:53] that says a-lot about your character, in the face of boredom waiting here, you help others [04:54] thanks for saving my ass, right place right time :) [04:54] RJ45: i still suggest you to upgrade to 20.04 [04:55] doesn't the dist upgrade I just did mean that's happened already? [04:55] hmm [04:55] let me explain it like this [04:55] for example if you have windows7 , will windows update make it windows 10 ? [04:56] it will just updates the packages with in that range ( i mean it will update latest for 18.04 ) not even 18.10 [04:56] https://a.pomf.cat/dqpked.png [04:56] so do-release-upgrade makes it to 20.04 or even 21.04 [04:57] so you already run do-release-upgrade [04:57] does that screenshot mean I am on 20.04 now? [04:57] while we talked [04:57] I only wanna be on LTS releases [04:57] 32 gb ram ? wow [04:58] I think either you or someone else recommended I run that early on [04:58] yep it was me [04:58] I didn't want a swap file/partition [04:58] and at the time DDR3 was pretty cheap (people were upgrading to DDR4) [04:59] 32GB ram and occasionally I still crash.. very rare that happens, but it has happened [04:59] i have 24gb ram but still need 20gb swap file whenever i want to compile Qt [05:00] used-to run with 16GB and at the time Firefox had a big memory leak, which meant SWAP would fill up and would crash [05:00] RJ45: ok brother , it looks like your problem fixed [05:00] I can't thank you enough for all of your help [05:00] really [05:00] before i go for sleeping i want to at least try to help Intelo [05:01] oki [05:01] Intelo: could you again repeat your problem ? [05:01] RJ45: btw i am generally in #kde-devel room if you need help just visit [05:02] I have no idea why but for some reason there is a 146mb loop0 mounted now [05:03] RJ45: probably a snap [05:03] and probably chrome in snap [05:04] CONTENTS OF LOOP0: bin | data-dir | etc | firstrun | gnome-platform | lib | man1 | meta | snap | tests | usr | chromium.png [05:04] yep ur right [05:04] yeyyy [05:04] where is my reward :D [05:04] strange tho, I don't recall ever installing chrome as a snap package [05:04] i want a beer [05:04] weird [05:04] * RJ45 passes Sevenhill a joint [05:05] RJ45: not this month brother [05:05] maybe 2 weeks later [05:05] * RJ45 passes Sevenhill a tab of acid [05:05] i mean after ramadan finishes [05:05] lmao [05:05] fasting :D couldnt smoke , couldnt drink or couldnt eat :D [05:06] I'm hungry [05:07] last 6 days , so it almost finished :D [05:07] hmm looks like Intelo is away [05:07] so its time for me to leave and sleep a little [05:08] bye everyone [05:11] if anyone here has any ideas why I can't add applets to mate-panel anymore, lemme know [05:57] "No snaps are installed yet. Try 'snap install hello-world'." [05:57] LOL dumbshits, has it ever occurred to you that's intentional? [05:58] need to purge ubuntu of all the idiotic stuff like cloud init and snaps === veegee_ is now known as veegee [06:18] is this channel officially supported by Canonical or formed by volunteers? [06:18] RJ45: as far as i'm aware, chrome is not a snap but chromium is [06:19] Angs: it is the official support channel, staffed by volunteers [06:19] cool, thanks. [06:24] is there a dedicated Ubuntu channel on Freenode for IoT area? [06:32] IoT stands for Internet of Trash [06:32] it depends on how you use it :) [06:33] all I need is a computer, a keyboard, a monitor, a mouse, and a set of good headphones [06:34] Angs: try searching with !alis [06:35] ducasse, I did it, but I didn't see any relevant channel. [06:36] i think there's an ubuntu core channel, which a lot of people use for iot [06:41] do you know what's the name of the channel? I can't find anything on #ubuntu-co* [06:42] Angs: https://wiki.ubuntu.com/IRC/ChannelList [06:43] great, thanks :) [07:45] my launchpad https://launchpad.net/%7Etimido [07:46] sorry is www.launchpad.net/~timido [07:47] every one of ubuntu's side projects is a pathetic failure [07:47] launchpad, bzr, the thing they made to compete with wayland, snaps, upstart, cloud init [07:51] wrong channel :X [07:57] veegee, if is a failure why are you here? === denningsrogue684 is now known as denningsrogue68 === FlannelKing is now known as Flannel === mateen1 is now known as mateen === semeion is now known as mnemonic === remy is now known as Remy [10:44] I am trying to install homebrew on 18.04 [10:45] The installtion goes alright but it wont add to path [10:45] It says: [10:45] - Add Homebrew to your PATH in /home/ubuntu/.profile: [10:45] echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/ubuntu/.profile [10:45] eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" [10:46] No i am not sure if i should enter those 2 lines myself , only 1 line at a time ? [10:46] Either way neither really make brew available [10:47] basically it adds `eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"` into .profile, but that doesnt work [10:49] is /home/linuxbrew actually your home dir? [10:49] is /home/ubuntu/.profile actually your current user's home dir? [10:49] echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> ~/.profile [10:50] run that once ^^ then log out and back in [10:50] the 2nd line they gave is just to avoid having to log out and back in. they are assuming your current user is called "ubuntu" [10:54] rory well it worked on that same terminal [10:54] I think to make it work i will need to do what you said and relog the entire user [10:55] the second command will make it work for the rest of that shell session [10:55] However either way there's some other issue with stripe client [10:55] which seccond comment ? [10:55] second [10:55] you gave 2 commands originally [10:55] the first command is supposed to add it to ~/.profile but it mistakenly hard-codes "/home/ubuntu/.profile" which is probably not right for your setup [10:55] so if you use ~/.profile it will always be correct because that's a shortcut to the current user [10:56] or you can edit ~/.profile in a text editor and add that line to the end: eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" [10:56] any way to get it in there. it only needs to be added once. [11:17] Well ... that didnt help [11:17] How do i add a executable file to path ? [11:17] when i do ./stripe it runs [11:18] now i want to add it to path [11:22] Nevermind i think i am sorted [11:26] I have a machine with a public IP, say for examples sake 8.8.8.8 and a vNET private IP of 10.0.0.2. There's another machine with a similar setup, and it's private IP is 10.0.0.3. I can ping one from the other on the private IPs. How can I get SSH to identify with the private IP and not the public one? Currently when I SSH it sees the incoming [11:26] request as from 8.8.8.8 and denies it (I set my firewall to only allow 10.0.0.2). If I could somehow tell SSH "identify as this IP" it'd work, so how do I? [11:28] Whoops dw I was using the wrong routing table [11:33] tsujp: more generally, you'd use 'ssh -b $bind_address ..." [12:03] Howdy folks === rud01f is now known as rud0lf [12:26] I'm installing ubuntu on a fresh laptop and first wanted to backup the existing drive, using pv | pigz > ... # I have booted graphically into the ubuntu installer, choosing "Try ubuntu", however when I do apt-get install pigz # it says its unable to find package pigz. [12:26] torbjorn: which ubuntu version? [12:26] 20.04 LTS [12:27] !info pigz focal [12:27] pigz (source: pigz): Parallel Implementation of GZip. In component universe, is extra. Version 2.4-1 (focal), package size 56 kB, installed size 253 kB [12:27] in live session not all repo's are enabled [12:27] torbjorn: ^ [12:27] torbjorn: type 'sudo add-apt-repository universe && sudo apt-get update' === deadalnix_ is now known as deadalnix === EriC^ is now known as EriC^^ [12:43] hello ubuntu people, https://packages.ubuntu.com/search?keywords=libsdl2-mixer-dev ← why is «Xenial» not listed here? Too old? [12:44] !info libsdl2-mixer-dev xenial [12:44] libsdl2-mixer-dev (source: libsdl2-mixer): Mixer library for Simple DirectMedia Layer 2, development files. In component universe, is optional. Version 2.0.1+dfsg1-1 (xenial), package size 85 kB, installed size 393 kB [12:44] f-a: does your apt cache show it? [12:45] f-a: 16.04 has probably gone end of life at the end of April [12:45] lotuspsychje: I was helping a friend who uses Ubuntu, and I checked the version onli- ok, that makes sense [12:51] y'all got a channel for ubuntu studio or should I ask here [12:51] (says invite only) I just want to ask about getting started making music in ubuntu [12:56] Good day! I have been using the website https://www.timeanddate.com/timer To set multiple timer at the same time. I have been trying to find an application that I could install instead of using that web site. But I have not found something so far. Anyone would have an idea? [12:58] did you register semitones ? [12:59] !studio | semitones [12:59] semitones: Ubuntu Studio is an official flavor of Ubuntu for the artist who wishes to use Ubuntu as their creativity workstation. It contains applications for artists of all kinds, including Audio, Music, Video, Photography, Graphic Design, and Publishing. For more info and install instructions, join #ubuntustudio or see http://ubuntustudio.org [13:17] where can I obtain Slog2 [13:26] shimbles: shouldn't you contact Sony? What does this have to do with Ubuntu? [13:26] ok so you did a google search, barfed random garbage back to me in IRC, thanks [13:33] shimbles: I also searched the official apt and snap repos for all current LTS releases as well as the latest Ubuntu 21.04 and can find no package or filename "slog2" beyond syslog converters. There is no "slog2" in any official ubuntu repo. Feel free to provide more information on what exactly it is you're looking for if you'd like more help. [13:33] i did all of that as well, because that's a prerequisite before you decide to ask a question in IRC [13:33] if you don't have additional information, you should be doing something else [13:34] shimbles: you need to lose the attitude. If you'd like help, you need to provide more information beyond "slog2" which doesn't exist as a standalone package or filename in Ubuntu. [13:35] there is a large amount of attitude involved in telling someone to "lose the attitude" which is a trope someone implanted in your mind when you were a child, and told you to randomly say at odd moments as an adult, and which you have not figured out how to override [13:36] shimbles: take your trolling elsewhere. This is a support channel. [13:36] !coc | shimbles [13:36] shimbles: The Ubuntu Code of Conduct is the document that spells out etiquette in the Ubuntu community | http://www.ubuntu.com/project/about-ubuntu/conduct | For information on how to electronically sign the CoC, see https://help.ubuntu.com/community/SigningCodeofConduct | Watch http://static.screencasts.ubuntu.com/videos/2010/12/22/004-SigningCoC.ogv [13:36] leftyfb when you are in IRC, if you don't know what you are talking about, you should not be providing support. [13:37] the next time someone asks a question, and you have no idea what it pertains to, do not offer your support. [13:39] shimbles: your answer is, it doesn't exist in ubuntu and is therefore not an Ubuntu support question. We cannot provide support for 3rd party software. Feel free to provide more information if you'd like more help. [13:39] you don't know what you are talking about [13:39] go away [13:41] shimbles: please be respectful to the volunteer help provided here. [13:41] literally, stop talking. [13:41] you don't know what slog2 is, you shouldn't be talking. [13:41] shimbles: you have your answer. If you'd like more help, please provide more information [13:42] you did not provide an answer because you have no clue what you are talking about [13:42] look, i posted my question; after that, you wait patiently for someone who knows what they are talking about [13:42] i did not come here for someone to tell me that slog2 is a sony camera. go away. [13:43] do not send another message on this topic [13:44] shimbles: slog2 does not exist in ubuntu. [13:45] you've said that multiple times. go away. [13:45] stop talking to me [13:46] shimbles: this is a support channel. You asked for support. The answer to your question is tha slog2 doesn't exist in ubuntu. We cannot support 3rd party software. If you'd like more help, please provide more information [13:46] you are a moron [13:46] you don't know what you are talking about [13:46] you googled slog2 and came back with 'sony camera' [13:47] shut up [13:47] stop talking [13:47] do not provide support on topics you know nothing about [13:47] shimbles: please be respectful to the volunteer help provided here. [13:47] no [13:47] you aren't a volunteer [13:47] you're stupid [13:47] shimbles: please read the Code of Conduct and adhere to it's guidelines. [13:47] why don't you read it, moron [13:48] shimbles: Please respect the channel policiies, if slogh2 doesn't exist in the official Ubuntu repositories, it isn't supported here. You'll need to contact whoever released it and ask for their support channel [13:48] it says something about: do not pretend to provide support on topics you know nothing about, and then try to cover it up [13:48] you do not know that it doesn't exist in the official repositories, because you don't know what you are talking about. [13:49] That was fun. But now it's time for the ignore list :) [13:49] shimbles: https://packages.ubuntu.com/search?keywords=slog2&searchon=names&suite=hirsute§ion=all says it doesn't exist unless you've given the wrong package name [13:49] i know how to use a search engine. go away. [13:50] now we have two people pretending to provide support on something they know nothing about. [13:50] shimbles: Well, tell us the real package name so it can be checked [13:50] i'm not here to talk to noobs [13:50] "oh look, we can use a search engine and pretend to be experts on all these packages" [13:51] then you would talk to yourself [13:51] cute [13:51] thanks [13:51] shimbles: you asked about a piece of software and gave no information other than 5 characters. Those 5 characters do not show up in any package name or filename other than in partial names for syslog converters. It also doesn't give good results when searched for with google as you pointed out. If you'd like more help with a 3rd party software which doesn't seem to be very popular, then please provide more information. Other than that, you have [13:51] your answer. Please discontinue the topic [13:52] why don't you stop making my computer make sounds [13:52] we know your type [13:52] reject [13:52] shimbles: are you looking for ubuntu support? [13:53] "i'm going to provide pretend support, and when they complain i don't know what i am talking about, i'm going to bully them with a code-of-conduct, to make myself feel better" [13:53] * Deano59 looks and laughs - who's the troll now lotuspsychje [13:53] shimbles: please take your attitude and trolling elsewhere. Your question is not related to ubuntu and you are being disrespectful [13:54] i told you to stop making my computer make sounds [13:54] are you some kind of hacker [13:54] !ot | shimbles [13:54] shimbles: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [13:54] "mom check this out i tried to apt-get apt-get" [13:55] shimbles: You've asked about a package called slog2, we've proved to you that there is no package by that name in Ubuntu official repo's. If you can add other information, it'll help people find the package, otherwise we can only tell you that you'll need to contact the developer [13:55] yeah, no, that's what people who don't know what the they are talking about say [13:56] "looks like i can join this support channel, and when they realize i'm totally vapid and vaculous, i can say this random nonsense thing that basically says, i don't know what i'm talking about! cool!" [13:56] !op | shimbles [13:56] shimbles: Help! Channel emergency! (ONLY use this trigger in emergencies) - Pici, Myrtti, jrib, Amaranth, tonyyarusso, Nalioth, lamont, CarlK, elky, mneptok, Tm_T, jpds, ikonia, Flannel, wgrant, stdin, h00k, IdleOne, Jordan_U, popey, Corey, ocean, cprofitt, djones, Madpilot, gnomefreak, lhavelund, phunyguy, chu [13:56] shimbles: No, thats what people who've checked will say. [13:57] enjoy your free narcissistic supply of "ops endorphines" [14:01] Cool! Let's see what happens in #qt now [14:33] Deano59: please do not taunt others, no matter how you feel. This really does not help === marco is now known as Guest74366 === ace_me1 is now known as ace_me [15:56] hggdh: can you make lotuspsychje stick to the CoC then and NOT call me a troll. thanks. === Roey is now known as LostHentaiClip [16:37] Deano59: not here. Feel free to bring such concerns to #ubuntu-ops [17:17] hello query : i got this msg at initial boot "gave up suspend/resume device" google suggest "update-initramfs -u " but nothings update on reboot that msg flashed again [18:03] payal_: saw you talk about this in ##linux. That is because the resume device set isn't being found. There are several ways to set it, or have it detected automatically. First, show us "cat /proc/cmdline" [18:08] TJ-: BOOT_IMAGE=/boot/vmlinuz-5.8.0-52-generic root=UUID=3f2606b7-b7b5-41f0-a24b-2a2c34c5f548 ro quiet splash [18:11] payal_: thanks - that confirms there is no kernel command-line option affecting. That means that the initramfs-tools hook script is responsible. Next, lets see if there is a specific, manually set, swap device configured for initramfs. "grep -rn RESUME /etc/initramfs-tools/" -- this isn't expected to report anything but if it does, tell us [18:14] TJ-: nothing happened [18:16] payal_: OK, so now we'll capture verbose output as the initrd.img is being built, and examine what it tells us about the resume device. do this: " pastebinit <( sudo update-initramfs -vu |& tee /tmp/initrd.log ) " - this will save the log to /tmp/initrd.log but also send it to the pastebin and give a URL you can share with us [18:19] TJ-: available version : , in down line "nothing to do ,exiting." [18:19] payal_: hmmm, did I mistype? [18:21] payal_: command works here. maybe you copy/pasted it with some unexpected formatting? [18:24] Is anyone else having issues with the snap of Firefox? It started freezing every few hours (sometimes more often) since a week (maybe two) or so ago [18:25] snaps are dummmbbbb [18:30] TJ-: https://pastebin.com/sWGarxZM [18:31] payal_: eek! that is NOT expected. It suggests there are no kernel images installed! Show us " pastebinit <( lsblk; sudo blkid; cat /etc/fstab ) " [18:37] TJ-: i had two installations debian and ubuntu.when i installed debian it has detected ubuntu ... now debian is deleted and i have installed kde neon .. older debian have entry in efi i boot from there for this ubuntu20.04 [18:39] payal_: right, so we need to see what is there now [18:47] TJ-: https://pastebin.com/YtMTBTvB [18:48] payal_: thanks, looking [18:50] hi [18:50] .11ax usb3 and current LTS - anything that works? [18:50] payal_: looks to me like you've incorrectly set the EFI System Partition (sda1) as the place where kernels are supposed to me( /boot/) *OR* you've mounted it on the incorrect path and it is masking where the kernels are [18:51] payal_: to test this hypothesis please do this: " pastebinit <( sudo umount /boot; ls -latr /boot/ ) " [18:53] TJ-: https://pastebin.com/JK7Kw6mm [18:55] payal_: BINGO! I was correct. OK, easy fix. you need to alter /etc/fstab [18:56] TJ-: ok... [18:57] payal_: this'll fix it: " sed -i "s#/boot[[:space:]]#/boot/efi#" /tmp/fstab " [18:57] payal_: it'll replace the /boot mountpoint with /boot/efi [18:58] payal_: oh hang on that is wrong [18:58] payal_: this'll fix it: " sed -i "s#/boot[[:space:]]#/boot/efi#" /etc/fstab " [18:58] payal_: ^^^ I testedit here in /tmp/ :D [18:59] payal_: once that is done check it fixed it with "grep efi /etc/fstab" and you should get a few lines 1 of which'll be "UUID=9855-D28F /boot/efi vfat umask=0077 0 1 [19:00] payal_: if you see that, then you can correctly mount it with "sudo mount -a" [19:00] payal_: then we can return to the original issue about RESUME :) [19:01] . [19:02] TJ-: now efi is there with /boot [19:03] payal_: good. [19:04] payal_: so before we dig into the RESUME issue, in case this may have solved it, lets do a couple of config updates and a reboot test - the warning may then be gone anyhow and we don't need to investigate. "sudo update-initramfs -vu" (that should take some time and you'll see a lot of messages scroll by) then "sudo update-grub" then you can do a reboot [19:06] TJ-: r u a "magician" [19:08] payal_: Yes [19:08] payal_: i have an employee who's official job title is "Apprentice Magician" [19:12] noyce [19:17] can someone help me with this script? https://paste.ubuntu.com/p/rGgr952pnT/ I keep getting: mv: missing destination file operand after 'static-' [19:17] TJ-: thanks now prob is sloved with it minimizes boot time as well [19:19] Deano59: how are you running the script? [19:22] Deano59: to start with, go with static=static-${1} [19:24] sarnold, from command line. [19:24] done leftyfb [19:25] Deano59: also, you're setting link=$1, but you're calling $1 elsewhere in the script. Just a little cleanup https://pastebin.ubuntu.com/p/XWVGYvns8C/ [19:26] leftyfb, still doesn't work :( [19:26] Deano59: what command line are you using? [19:26] sakura [19:26] I'd probably do static="static-""$1" [19:27] but $1 could be a lot of things, you might want to sanitize it first, or check it's a suitable string [19:27] or utterly enquote it [19:28] Deano59: how are you calling the script exactly? [19:28] Deano59, can you tell us exactly what command you type when you run the script? The whole command line, please. [19:28] firefox-sync [19:28] that's it. [19:29] Deano59: then why are you setting $1? [19:29] it's from the archlinux wiki, it works on 20.04.2 [19:29] Deano59: $1 then becomes empty and your script will break [19:29] Deano59: no it doesn't [19:30] leftyfb, https://wiki.archlinux.org/title/Firefox/Profile_on_RAM [19:30] Deano59: you're not following the instructions [19:30] I am. [19:31] "~/.local/bin/firefox-sync " [19:32] looks like their instructions for the cron job and .bash_login and .bash_logout are incorrect [19:33] it still says this though mv: missing destination file operand after 'static-' [19:33] your command ran though. [19:33] leftyfb, ^ [19:34] Deano59: $1 resolves to the first parameter you give a script. Like: ./myscript firstparam [19:34] Deano59: if you do not give the script a parameter and your script doesn't check if the var is empty, then it's going to fail [19:34] * Deano59 shrugs [19:36] doesn't work lol [19:37] Deano59: ok, feel free to contact whoever maintains that wiki page. Or seek help from #bash. This isn't an ubuntu support question [19:38] usually you want vars in bash to be within double quotes [19:38] or things go pear shaped real fast [19:40] and check they aren't empty before relying on them [19:40] I'm using SSH with PuTTY to connect to Ubuntu from Linux. I'd like to write a script to copy files to Ubuntu, which I can do with pscp, then compile them, which I can do over SSH. Is there a way to do both in one script? [19:40] * TJ- idly wonders why that script makes a copy rather than using a overlay file-system [19:41] MrMobius: if it is Linux to Linux why not use scp or rsync since you mention a script? [19:42] TJ-, sorry I meant to say Windows not Linux [19:42] Also, scp and ssh are slightly different, afaik you can't mix them in a single command.... now, there are dirty, dirty, ways to do this with ssh. And pipes [19:42] this is pissing me off :| [19:42] god damn works on 20.04.2 [19:42] Not sure how those would work on windows though [19:42] SpeakerToMeat: that's not exactly true [19:43] MrMobius: aha! was confusing me there [19:43] MrMobius: are you asking for help with a script to run on Windows to copy files to Ubuntu? [19:43] How to use nfs4_setfacl so that default permission for file is 664 and dir is 775? [19:44] leftyfb, I don't think that will work because then how would the Windows script trigger compilation in Ubuntu? [19:44] MrMobius: exactly [19:45] MrMobius, you could have step a on the script, copy files, step b make a call via ssh to start compilation.... [19:45] MrMobius: if it were me, I'd use rsync -az source/ user@destination:/path/to/destination && ssh user@destination 'cd /path/to/destination && make -j4' or whatever [19:46] MrMobius: could you simply do a network mount of the files from Windows to Linux, and then do an out-of-tree build on the Linux side (so it doesn't write ephermeral build product over the network) ? [19:46] The crazy way to do this over ssh with a single call is to send the files through a pipe, and use them thus on the other side. It's a little mental though, won't be easy to pull from windows (you would need tar, or zip with stdout output possibility), and not really necessary when you're using a script/batch file/etc that can have more than one single instruction in it [19:47] TJ-, I'll have to look into network mounts [19:49] Generally, on Windows you'd 'share folder' or whatever, then on the Linux side set it up to mount that CIFS/SMD share somewhere. once done you only need to use ssh to run the build [19:49] As long as this is a lan, or even a vpn and you're a little mental [19:50] ahh lan only is kind of limiting [19:50] not that it matters much the past year or so [19:51] There's many, many ways this could be done, some more mental than others. [19:51] MrMobius: why not try to do with from a WSL terminal? [19:51] MrMobius: you'd have direct access to the Windows filesystem with a proper ssh client [19:52] leftyfb, that might work but is a whole lot of overhead for something this simple [19:52] in a single call ssh style, you can compress a whole directory (if more than one file), on the client side to stdout, pipe it via ssh and on the other side uncompress it and compile in the same call with multiple shell commands separated with ; [19:53] you can set up a CI style setup on the ubuntu side, to check for a file dropped in a specific dir and when something gets there, you start the build process, you would have to deal with race conditions there though (for the directory watcher to know when file/s transfer has completed, before setting up to work) [19:54] And use a message bus if you need status checking and update for the build.... [19:54] SpeakerToMeat: you did read they're using putty right? [19:54] can you trigger a script when a particular file is written to? [19:54] MrMobius: you could write a script that monitors for that [19:55] MrMobius: on the ubuntu-side [19:55] leftyfb, putty makers provide plink [19:55] MrMobius: incron package can help with that [19:58] MrMobius, Many ways to do that. One way is to schedule a script that checks if modification time has changed, another is to use a program based on the inotify facilities which are present in many kernels, which receives notifications when a file gets changed. like inotifywait for example [20:00] Anyone know of any AMD graphics drivers that I can install in ubuntu 21.04 [20:00] thanks everyone. I think I can make this work [20:01] bray90820: running ubuntu-drivers install will install the necessary firmware packages and drivers for video cards [20:01] Thanks [20:02] Would it install proprietary drivers? [20:03] afaik amd's drivers are open source and only the firmware is closed [20:04] Damnit [20:56] you're saying you can get a package at a version in a snap that's more recent than in a .deb? [20:59] Manouchehri: it's probably worth a bug report, try ubuntu-bug snapd and see if that files a report === blackest_mamba_ is now known as blackest_mamba [21:07] Manouchehri: why did you upgrade your kernel to one that isn't supported? [21:08] leftyfb: amdgpu and thunderbolt issues with older kernels [21:09] matsaman: please stop commenting on snaps. We get it, you don't like them. Keep it to yourself please. [21:11] oh snap [21:12] Manouchehri: you can file a bug, but you are running an unsupported kernel [21:14] Manouchehri: oh, sorry. wrong person [21:14] Manouchehri: nevermind, right person [21:14] lol yeah [21:59] is there a way to install gnome40 on 20.04 [21:59] lts [22:01] metbsd: none that are supported [22:01] gotto use fedora? [22:02] metbsd: if you require gnome 4.0, sure === EriC^ is now known as EriC^^ === jadesoturi_ is now known as jadesoturi === launchd is now known as evillaunchd === evillaunchd is now known as launchd [22:44] leftyfb: moral of the story, run the command as intended. don't *just* run "firefox-sync" :D lol thanks for your help. [22:44] Deano59: pretty sure I made that clear hours ago [22:45] yeah [22:45] it's working, that's all that matters. thanks again. (: === jelly-home is now known as jelly === tomreyn_ is now known as tomreyn === Scotty_Trees2 is now known as Scotty_Trees