/srv/irclogs.ubuntu.com/2021/05/06/#ubuntu.txt

Blade-Runnerirc is lame, try telegram00:39
=== NeverLoads8 is now known as NeverLoads
=== WrathOfA1hilles is now known as WrathOfAchilles
pytorchhow do i do an unattended or script based upgrade from 18.04 to 20.04 ?02:19
pytorchis there some code somewhere that automates this upgrade?02:19
pytorchNo user input?02:19
kwilczynskiHi pytorch. There is a way.02:22
kwilczynskipytorch: You can ask apt/dpkg to choose answers for you, and then perform system upgrade.02:23
kwilczynskipytorch: You could also just install 20.04 fresh, if possible. A little less hustle.02:23
pytorchkwilczynski: I'm inside a machine that already has 18.04 installed, need to upgrade to 20.04 - that is the issue02:24
kwilczynskiIf this is a server installation and you didn't modify it heavily, then in theory it would be just fine.02:25
pytorchkwilczynski: I think its not apt/dpkg that asks the questions - its sudo do-release-upgrade -d02:25
kwilczynskiYou 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:25
pytorchkwilczynski: 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 do02:26
pytorchkwilczynski: sshing into a machine, downloading 20.04 onto that machine and installing it from inside - without interaction is also challenging i think02:27
kwilczynskipytorch: Aside of asking apt/dpkg not to ask you (non-interactive) you can also pass an option to do-release-upgrade: -f DistUpgradeViewNonInteractive02:27
kwilczynskipytorch: That would not be something I'd recommend, unless you have a lot of time and know how to recover from potential issues.02:27
kwilczynskiThe upgrade script does a bit more than just flips the mirror and updates apt, so to speak.02:28
pytorchkwilczynski: I can just kill the machine and create a new one - so that is not an issue02:28
kwilczynskiRight.02:28
kwilczynskiIn which case, why bother with the upgrade?02:29
kwilczynskiGrab fresh image and/or installation.02:29
pytorchkwilczynski: how do you install it on this VPS machine?02:29
pytorchthe provider only supports 18.04lts02:29
kwilczynskiWhich provider is it?02:29
kwilczynski20.04 is an LTS release, I would imagine it'd be in their best interest to support it, alas...02:30
Sevenhillpytorch: most of them does it for you if you open a ticket for it (even though they dont show in their list )02:30
kwilczynskipytorch: https://wiki.debian.org/UnattendedUpgrades02:31
pytorchkwilczynski: its internal consultant politics.02:31
kwilczynskipytorch: What Sevenhill says might be also an option. :)02:31
kwilczynskipytorch: Ah, I see. OK.02:31
kwilczynskiWell.02:31
pytorchSevenhill: I am asking about moving from 18.04 to 20.04 unattended.02:31
pytorchdo-release-upgrade: -f DistUpgradeViewNonInteractive ——> I dont think this will work - but am going to try02:32
Sevenhilli always prefer upgrades from a to b then c or just install c with fresh install :)02:32
pytorchIs there a way to install 20.04 fresh on a running 18.04 machine? :)02:32
Sevenhillpytorch: 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 :D02:34
=== Tabstar is now known as Tabmow
Sevenhillif it is not a secret may i learn which vps provider are you talking about02:36
pytorchSevenhill: it is behind an NDA - this is a local consulting company02:37
pytorchSevenhill: 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.0402:38
pytorchkwilczynski: DistUpgradeViewNonInteractive - I dont see that feature supported in do-release-upgrade02:44
Sevenhillpytorch: it is (or was ) a frontend so you use it with -f02:45
Intelosarnold:  apb1963 ok but I didn't found a correct solution yet02:45
Intelo I cannot 'startx' on virtualbox when doing it by tty alt+ctrl+f2/3/4'. it says https://termbin.com/cmeq any clues?02:46
pytorchSevenhill: https://paste.ubuntu.com/p/Nkgbv5McKQ/02:47
Inteloboth 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
kwilczynskipytorch: It's there. The -f option.02:47
kwilczynskipytorch: Are you sure you know what you are doing?02:47
kwilczynskipytorch: 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:49
pytorchkwilczynski: its ok if i break things. If i can make it work, then i can replicate. If not, i just delete that machine02:50
kwilczynskiOK02:51
malwar3hun73ranyone familiar with systemd-boot02:56
SevenhillIntelo: could you share your /etc/X11/xorg.conf ?02:58
RJ45Hi, I recently updated from 16.04 to 18.04 and now my linux headers are borked.03:01
RJ45I can boot into 4.15.0 but I can't boot into 5.4.003:03
RJ45https://a.pomf.cat/hnrcgs.png03:04
RJ45anyone have nay ideas what's going on here? I'd really rather not have-to re-install my whole OS03:05
kwilczynskiRJ45: 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
RJ45soo.. am I just boned?03:07
SevenhillRJ45: could you first cleanup your old things like :  sudo apt update   then sudo apt autoclean  then sudo apt autoremove03:07
kwilczynskiRJ45: Not necessarily. As per Sevenhill. :)03:08
RJ45trying now03:08
RJ45thanks03:08
kwilczynskiYou can also try to force install/reinstall a package.03:08
Sevenhillafter all of them sudo apt install -f03:08
kwilczynskiYeah.03:08
RJ45tried sudo apt autoclean , resulted in a list of about 200 things with 'Del' before each item03:09
kwilczynskiAnd 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:09
kwilczynskiRJ45: That's most likely fine after an upgrade.03:10
SevenhillRJ45:  autoclean just deletes cached .deb files03:10
malwar3hun73rwith 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 partition03:10
Sevenhillit is %100 safe03:10
malwar3hun73rhow i can permanently remove entries so avoid filling the /boot partition?03:10
Sevenhillmalwar3hun73r: are we talking about efi ?03:10
malwar3hun73ryes03:10
RJ45"0 to upgrade, 0 to newly install, 302 to remove and 0 not to upgrade. 11 not fully installed or removed."03:10
RJ45hmm, looks scary..03:11
Sevenhillyou can just delete those files from that efi partition thats all03:11
SevenhillRJ45: first make sudo apt install -f03:11
kwilczynskiRJ45: Good luck! You are in good hands with Sevenhill here.03:11
kwilczynskiBed time for me, sadly, as it's 5am :)03:12
RJ45okay good thing I didn't just approve the uninstallation of all the xserver stuff03:12
Sevenhillkwilczynski: nope i need to sleep03:12
kwilczynskiNight everyone.03:12
kwilczynskiSevenhill: Haha.03:12
kwilczynski:)03:12
malwar3hun73rSevenhill, i do delete them, but after a update-initramfs, they are pulled back03:12
kwilczynskiSevenhill: Same here.03:12
Sevenhillmalwar3hun73r: that means you still have those linux-kernelas03:12
Sevenhillmalwar3hun73r:  you just make sudo apt autoremove03:12
SevenhillRJ45: hope it wont be a problem otherwise you need to install whole03:13
kwilczynskiSevenhill: Well, good night to you :)03:13
malwar3hun73rSevenhill, after deleting from /boot/efi?03:13
Sevenhillbut it might be a good thing you might switch to 21.04 :D03:13
RJ45https://a.pomf.cat/ubzmps.png03:14
Sevenhillmalwar3hun73r: whenever you run sudo apt autoremove it will remove old packages which doesnt need anymore03:14
RJ45result of install -f03:14
malwar3hun73rSevenhill, yeah, autoremove doesn't complete becuase /boot is full. i get an error03:15
Sevenhillmalwar3hun73r:  give me df -h03:15
SevenhillRJ45: it stuck with a installation of broken package03:15
malwar3hun73rSevenhill, i can't copy paste b/c it's another computer, but /boot is 0 bytes free03:16
Sevenhill:D malwar3hun73r just delete old efi entries from boot03:16
RJ45Sevenhill: soo... I'm screwed?03:17
SevenhillRJ45: you still have one option03:17
Sevenhillyou can upgrade to 20.0403:17
Sevenhillso it will not use that package and probably solve your problem03:17
RJ45I'd like to upgrade to 20.04 .. without wiping everything03:17
RJ45you mean I can just skip the 18.04 upgrade entirely?03:18
RJ45how?03:18
malwar3hun73rSevenhill, i did, but any command  pulls them back03:18
SevenhillRJ45: sudo do-release-upgrade03:18
Sevenhillmalwar3hun73r: is it possible to show your system via teamviewer or ssh ?03:19
RJ45lol you know you got problems when "Errors were encountered while processing:" is followed by every linux header you have03:19
RJ45lmao03:19
lnxsoulrofl03:19
lnxsoulwhat do you mean by "show your system"?03:20
Sevenhilllnxsoul: he is mentioning a problem about lack of freespace on efi partion03:20
Sevenhillbut he say whenever he deletes entries on efi partion , and type any command that files comes back03:21
RJ45this is irrelevant, but funny03:21
malwar3hun73rSevenhill, no, it actually won't boot right now03:21
Sevenhillit looks wieard03:21
RJ45"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
lnxsoulmalwar3hun73r: how large is the drive?03:21
malwar3hun73rSevenhill, if i look in /boot/efi/EFI i have folders that exist from a time when i was dual booting03:21
malwar3hun73rlnxsoul, the drive is 2TB03:21
malwar3hun73rlnxsoul,  the boot partition is 500MB03:21
RJ45does anyone anywhere on earth still use a 56k modem?03:22
Sevenhillmalwar3hun73r: you will not delete anything you just delete old entries03:22
lnxsoulmalwar3hun73r: Are you booting in UEFI mode or Legacy mode?03:22
SevenhillRJ45:  i have a us robotics in my attic03:22
malwar3hun73rSevenhill, 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
lnxsoulRJ45: Probably some tribe out there and someone just to do so for the hell of it03:22
malwar3hun73rSevenhill, if i delete the old entries from /boot/efi/EFI, any call to apt puts the back03:23
lnxsoulmalwar3hun73r: If you're booting from an ISO image, then I suggest rebuilding it and starting a fresh install03:23
malwar3hun73rlnxsoul, UEFI03:23
nokiomanzHi 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
malwar3hun73rlnxsoul, no, i need the data on this drive03:23
lnxsoulmalwar3hun73r: Balena Etcher is great for that03:23
lnxsoulmalwar3hun73r: Ah...03:23
lnxsoulmalwar3hun73r: Well that is problematic03:23
RJ45Sevenhill: can I borrow it to do the release upgrade? it'll only take 4 days 8 hours03:24
malwar3hun73rlnxsoul, what is problematic?03:24
lnxsoulmalwar3hun73r: your situation.  It sounds like the bootloader is corrupted03:24
Sevenhilllnxsoul: as far as i understand he has lots of old linux-kernel images installed in his box and that fills the /boot/efi partition03:25
malwar3hun73rlnxsoul, i can boot, the issue is that the /boot partition is full and i cannot complete an initram-fs03:25
lnxsoulexit03:27
lnxsouloops03:27
Sevenhillmalwar3hun73r: just list installed linux-kernels first03:28
malwar3hun73rSevenhill, ?03:28
Sevenhillmalwar3hun73r:  dpkg --list | grep linux-image03:29
RJ45whether 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
malwar3hun73rSevenhill, ok03:29
SevenhillRJ45: 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 too03:30
lnxsoulmalwar3hun73r: I'll be back in a bit.  Hopefully Sevenhill can resolve your issue.03:30
Sevenhilli mean if all things doesnt fix your problem just backup your home directory03:30
malwar3hun73rthere must be a much simpler fix to remove unwanted items in /boot/efi?03:31
Sevenhillmalwar3hun73r: we are doing it but the problem initfs recreates them03:31
RJ45Sevenhill: 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 ones03:31
Sevenhillfirst let me know which images installed03:31
RJ45so it'd still be a laborious task of selectively copying over things for a few weeks03:32
SevenhillRJ45:  you dont need to know :D you will just backup your current user not the system03:32
malwar3hun73rthere are 5 - 3x 5.11.0 and 2x 5.8.003:32
RJ45(maybe my process of doing this is retarded)03:32
RJ45Sevenhill: I mean all the .local configs03:32
Sevenhillmalwar3hun73r:  now we will remove them  sudo apt remove linux-image-XYZ ( that xyz will be old names just use tab to autocomplete )03:33
malwar3hun73rSevenhill, remove all of them?03:33
Sevenhillnope just keep most recent03:34
Sevenhilleven you can use purge instead of remove03:34
Sevenhilli mean sudo apt purge linux-imageXYZ03:34
malwar3hun73rgotcha03:35
RJ45aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa https://a.pomf.cat/cqvggt.png03:35
RJ45(>_<)03:35
SevenhillRJ45:  dont worry just give us a little time we will fix this03:36
malwar3hun73rok, now whatt?03:36
RJ45Sevenhill: thanks man, I love you03:36
Sevenhillmalwar3hun73r: did you remove old ones03:36
malwar3hun73ryes03:36
Sevenhillmalwar3hun73r: now make sudo apt autoclean then sudo apt autoremove03:36
malwar3hun73rSevenhill, autoremove fails because initramfs fails because /boot is full03:37
Sevenhilland then just check if you have any old linux headers03:37
Sevenhillmalwar3hun73r: now i believe it wont be problem03:37
malwar3hun73rnope, still a problem, i jsut confirmed03:37
Sevenhillmalwar3hun73r:  now delete old entries in boot03:38
Sevenhillso initfs wont create them03:38
malwar3hun73rsame problem03:39
Sevenhillmalwar3hun73r: hmm could you show me your list  : dpkg --list | grep linux03:41
malwar3hun73ri'd have to type it all out03:41
SevenhillRJ45: sorry i am keeping you03:41
RJ45it's cool03:41
Sevenhillmalwar3hun73r: just take a shot with your phone and upload it to somewhere03:41
RJ45I'm just glad anyone's willing to help me save this borked system03:41
RJ45Ironically 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 broken03:44
SevenhillRJ45: could you just sudo apt remove dkms then  sudo rm /var/lib/dkms then sudo apt install -f03:44
RJ45what does dkms do?03:45
RJ45that's something to do with package manager right?03:45
Sevenhilldkms is for that graphics card drivers03:45
RJ45oh ok, no idea guess I'll try03:45
Sevenhillits long name is Dynamic Kernel Module Support03:46
RJ45and that's what's likely massing things up ya think03:46
RJ45"E: Unsupported file /var/lib/dkms given on commandline"03:46
Sevenhillnot just for graphics cards but generally you hear it for them :d03:46
RJ45oh wait I'm dumb03:46
Sevenhillok go on03:46
RJ45copied it wrong, 1 sec03:46
SevenhillRJ45: result ?03:48
RJ45glad 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 XD03:48
RJ45Sevenhill: 80% done03:50
RJ45result of sudo apt remove dkms  https://a.pomf.cat/wamoju.png03:51
RJ45looks promising .. I think03:52
Sevenhillgood :D03:52
RJ45gonna try  sudo rm /var/lib/dkms then sudo apt install -f03:52
Sevenhillsudo apt update then sudo apt dist-upgrade03:52
Sevenhillno need to delete dkms anymore03:52
RJ45oh ok03:52
Sevenhilljust do sudo apt update then sudo apt dist-upgrade03:53
RJ45ah sh## here we go again.. https://a.pomf.cat/igqqvt.png03:54
RJ45wish my luck (^_^)03:54
RJ45me*03:54
Sevenhillafter all those finish we will remove your old kernels also03:55
RJ45sweek03:55
RJ45sweet*03:55
RJ45thanks again Sevenhill for helping me with this, you are a literal 5 years of my life saver03:55
Sevenhilldont thank me yet until we make your system  works :D03:56
Sevenhilland it is not special to me , in here if i werent here someone else also help you just like me03:56
RJ45having 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-up03:56
RJ45huge*03:57
RJ45(idk why I can't type today)03:57
RJ45Sevenhill: even if it don't end-up working, I have learned things from this03:57
SevenhillRJ45: believe me from 16.x to 20.04  almost everything changed03:57
Sevenhillso nowadays most of them doesnt even need any configuration03:58
Sevenhillso if you reinstall for example 21.04 maybe you wont need 90 percent of what you had configured03:58
RJ45what I mean by configuration is changing preferences on every application03:59
RJ45customising things.. installing about 200 things03:59
SevenhillI dont like gnome so i am not using ubuntu :D i couldnt say anything about its preferences things bu i am undertanding you04:00
RJ45I liked Gnome before it wasn't gnome anymore. I liked Ubuntu 10.0404:00
RJ45now I use Ubuntu MATE on desktop, and Xubuntu on laptop :)04:01
Sevenhilllets take you into real world brother just give a chance to kde in our next version04:01
RJ45for me, the biggest deal-breaker with KDE, is not being able to adjust the size of the desktop panel in px04:02
RJ45as 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
RJ45with no px values*04:03
SevenhillRJ45: check this one : file:///home/kde-dev/Pictures/Screenshot_20210506_070314.png04:04
RJ45lol nice link04:04
Sevenhilloops04:04
RJ45hold up while I hack ur desktop04:04
Sevenhillhttps://i.ibb.co/vcyv9W0/Screenshot-20210506-070314.png04:04
RJ45okay this could go bad.. we'll see..04:05
RJ45all CPU cores pinned at 100%04:05
RJ45can't take screenshots04:05
RJ45and have a prompt to configure chromium04:05
RJ45okay cpu cores back at around 20% and sound working again (sound stopped)04:06
RJ45also progress at 20%04:06
RJ45has been stuck at "==> Installing the chromium snap" for a while now..04:07
Sevenhillit will pass ( i think ) just wait :D04:08
Sevenhilldid you look the photo which i showed the link04:08
RJ45lulz, 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:09
SevenhillRJ45:  right now you have a working kernel you dont need usb :D04:10
RJ45just got a-lot of 'failed' on some things in the install logs04:10
RJ45still going tho04:10
Sevenhilleven now if you reset everything will work04:10
Sevenhilldont worry be happy :)04:10
RJ45I'd op-en that link to see the screenshot.. if I could..04:11
RJ45firefox for some reason ain't opening links now, also cpu at 100% woo04:12
RJ45works now04:12
RJ45Sevenhill: when did they finally implement px values for that?04:13
Sevenhilllong long time ago04:13
RJ45and why the hell did it take so long for something like that to get implemented..04:13
RJ45been 5 years since I tried KDE admittedly04:13
SevenhillWe almost write it from scratch :D04:14
RJ45but I recall trying it a few years before that, and again a few years later, and it was the same04:14
SevenhillRJ45:  if i were you i just download manjaro (kde version) on a usb stick and  give a live boot check on it04:14
RJ45you'd think something like PX values for the task bar would be something that has always existed04:15
RJ45does KDE still have Plasma widgets?04:15
Sevenhillsure04:16
RJ45I don't rly care about those, 'cos I am almost never looking at the plain desktop04:16
SevenhillRJ45:  just never try manjaro-kde otherwise you couldnt comeback to gnome ( it is a mandatory warning which i have to make )04:17
RJ45this 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:17
RJ45really really wanna install Chia04:18
RJ45the biggest motivation for me to upgrade, is when I literally can't install things anymore XD04:18
RJ45still using Winders 7 for some games04:19
SevenhillRJ45: what is the result of your process ( upgrade ) now ?04:23
RJ4579%04:24
RJ45currently can't open audio files04:24
RJ45dead silent here04:24
Sevenhill:) dont worry it will be much better when you finish and reboot04:25
RJ45audo works now yay04:25
RJ45audio*04:26
RJ45I should really cut back on how much weed I'm smoking, my short term memory is messed up04:26
RJ45ain't even high right now04:26
RJ45Progress: 97%04:27
Sevenhillthe last time i smoke weed was about almost 2.5 years04:27
RJ45I started smoking beginning of this year04:28
Sevenhilli never ever smoke if it is illegal in that location04:28
Sevenhilland i stuck in here turkey last 2,5 year :( and here it is illegal04:28
RJ45I live in an area with noisy neighbours and need something to cope with it in the summer04:28
RJ45last summer I was hooked on a low dos of Etizolam, I wanted something healthier than that, so I switched to weed with year04:29
RJ45but now that's starting be become somewhat unhealthy04:29
RJ45okaaay all packages installed04:29
RJ45installation triggers seem to be okay04:30
Sevenhillis it finished (whole thing) ?04:30
RJ45looks like it04:30
RJ45now for the big finale, will I reboot successfully04:30
Sevenhillcan i get an screenshot04:30
RJ451 sec04:30
Sevenhillfirst things first04:31
Sevenhillwe remove old kernels04:31
Sevenhillsudo apt remove linux-image-(press tab 2 3 times so you can get list) and send me screenshot )04:31
RJ45https://a.pomf.cat/tqvbag.png04:32
RJ45do you mind if I reboot first? I just wanna be sure the new kernel works before we delete the others :)04:32
Sevenhillsure go on04:33
RJ45will hopefully be back in less than 2 minutes04:33
Sevenhilli will sait04:33
Sevenhillwait04:33
InteloSevenhill: there is no such file on both working and non-working systems04:36
RJ45wooo success!04:37
RJ45kinda04:37
RJ45Hexchat is displaying the bottom line of text with no padding04:37
RJ45might be a config issue, no biggie04:37
SevenhillRJ45: now we need to remove old kernels04:38
RJ45okie dokie04:38
InteloSevenhill: I mean, no such file /etc/X11/xorg.conf04:38
Sevenhillthen install dkms again so your graphics card04:38
RJ45ah thanks, i wouldn't have thought to do that04:39
SevenhillIntelo: i will return back to your problem first finish rj45's one04:39
RJ45would you please spoon-feed me the commands for that?04:39
RJ45heheh..04:39
SevenhillRJ45: first sudo apt remove linux-image-(a couple tab 3 4 ) so you will see the list and share screen shot with me04:40
InteloSevenhill: sure04:40
RJ45not a big issue right now, but the system-monitor applet in my task bar is gone, and I can't seen to put it back04:41
SevenhillRJ45: still waiting you04:42
RJ45https://a.pomf.cat/yiuhvs.png04:42
RJ45I guess I just remove each one that isn't the highest version04:43
RJ45just remove all the 4.15 ones04:43
Sevenhillnow this : sudo apt remove linux-image-4.* linux-image-generic-hwe-16*04:43
RJ45lookin' gud https://a.pomf.cat/gpcyzg.png04:45
SevenhillRJ45: sudo apt install dkms04:45
RJ45done04:46
Sevenhillsudo ubuntu-drivers autoinstall04:47
RJ45wait, I'm on Ubuntu MATE , will that command still work?04:47
Sevenhillprobably yeah04:47
Sevenhilli am not using ubuntu :D just trying to make your system works better :D04:48
RJ45IDK how you just remember all this stuff to do in this situation04:48
Sevenhillmost of them are common things04:48
RJ45must have taken years of trial and error to learn04:48
RJ45but to learn, and then remember it all, that's a real skill04:49
RJ45"No drivers found for installation."04:49
RJ45guess that's that then04:49
Sevenhilllife is too short to be experienced with JUST our own mistakes brother04:49
RJ45can't learn from other people's mistakes if you can't see other people making mistakes04:50
SevenhillRJ45: what was your graphics card ? nvidia ?04:50
RJ45guess that's why you hang here and help people04:50
RJ45AMD R9 290X04:51
Sevenhillto 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 :D04:52
Sevenhillyou know you always stuck the distro's versions even though you are upstream :D04:52
RJ45that says a-lot about your character, in the face of boredom waiting here, you help others04:53
RJ45thanks for saving my ass, right place right time :)04:54
SevenhillRJ45: i still suggest you to upgrade to 20.0404:54
RJ45doesn't the dist upgrade I just did mean that's happened already?04:55
Sevenhillhmm04:55
Sevenhilllet me explain it like this04:55
Sevenhillfor example if you have windows7 , will windows update make it windows 10 ?04:55
Sevenhillit will just updates the packages with in that range ( i mean it will update latest for 18.04 ) not even 18.1004:56
RJ45https://a.pomf.cat/dqpked.png04:56
Sevenhillso do-release-upgrade makes it to 20.04 or even 21.0404:56
Sevenhillso you already run do-release-upgrade04:57
RJ45does that screenshot mean I am on 20.04 now?04:57
Sevenhillwhile we talked04:57
RJ45I only wanna be on LTS releases04:57
Sevenhill32 gb ram ? wow04:57
RJ45I think either you or someone else recommended I run that early on04:58
Sevenhillyep it was me04:58
RJ45I didn't want a swap file/partition04:58
RJ45and at the time DDR3 was pretty cheap (people were upgrading to DDR4)04:58
RJ4532GB ram and occasionally I still crash.. very rare that happens, but it has happened04:59
Sevenhilli have 24gb ram but still need 20gb swap file whenever i want to compile Qt04:59
RJ45used-to run with 16GB and at the time Firefox had a big memory leak, which meant SWAP would fill up and would crash05:00
SevenhillRJ45: ok brother , it looks like your problem fixed05:00
RJ45I can't thank you enough for all of your help05:00
RJ45really05:00
Sevenhillbefore i go for sleeping i want to at least try to help Intelo05:00
RJ45oki05:01
SevenhillIntelo: could you again repeat your problem ?05:01
SevenhillRJ45: btw i am generally in #kde-devel room if you need help just visit05:01
RJ45I have no idea why but for some reason there is a 146mb loop0 mounted now05:02
SevenhillRJ45: probably a snap05:03
Sevenhilland probably chrome in snap05:03
RJ45CONTENTS OF LOOP0: bin | data-dir | etc | firstrun | gnome-platform | lib | man1 | meta | snap | tests | usr | chromium.png05:04
RJ45yep ur right05:04
Sevenhillyeyyy05:04
Sevenhillwhere is my reward :D05:04
RJ45strange tho, I don't recall ever installing chrome as a snap package05:04
Sevenhilli want a beer05:04
RJ45weird05:04
* RJ45 passes Sevenhill a joint05:04
SevenhillRJ45:  not this month brother05:05
Sevenhillmaybe 2 weeks later05:05
* RJ45 passes Sevenhill a tab of acid05:05
Sevenhilli mean after ramadan finishes05:05
RJ45lmao05:05
Sevenhillfasting :D couldnt smoke , couldnt drink or couldnt eat :D05:05
RJ45I'm hungry05:06
Sevenhilllast 6 days , so it almost finished :D05:07
Sevenhillhmm looks like Intelo is away05:07
Sevenhillso its time for me to leave and sleep a little05:07
Sevenhillbye everyone05:08
RJ45if anyone here has any ideas why I can't add applets to mate-panel anymore, lemme know05:11
veegee_"No snaps are installed yet. Try 'snap install hello-world'."05:57
veegee_LOL dumbshits, has it ever occurred to you that's intentional?05:57
veegee_need to purge ubuntu of all the idiotic stuff like cloud init and snaps05:58
=== veegee_ is now known as veegee
Angsis this channel officially supported by Canonical or formed by volunteers?06:18
ducasseRJ45: as far as i'm aware, chrome is not a snap but chromium is06:18
ducasseAngs: it is the official support channel, staffed by volunteers06:19
Angscool, thanks.06:19
Angsis there a dedicated Ubuntu channel on Freenode for IoT area?06:24
RJ45IoT stands for Internet of Trash06:32
Angsit depends on how you use it :)06:32
RJ45all I need is a computer, a keyboard, a monitor, a mouse, and a set of good headphones06:33
ducasseAngs: try searching with !alis06:34
Angsducasse, I did it, but I didn't see any relevant channel.06:35
ducassei think there's an ubuntu core channel, which a lot of people use for iot06:36
Angsdo you know what's the name of the channel? I can't find anything on #ubuntu-co*06:41
MaikAngs: https://wiki.ubuntu.com/IRC/ChannelList06:42
Angsgreat, thanks :)06:43
Aaronmy launchpad https://launchpad.net/%7Etimido07:45
Aaronsorry is www.launchpad.net/~timido07:46
veegeeevery one of ubuntu's side projects is a pathetic failure07:47
veegeelaunchpad, bzr, the thing they made to compete with wayland, snaps, upstart, cloud init07:47
Aaronwrong channel :X07:51
Aaronveegee, if is a failure why are you here?07:57
=== 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
netametaI am trying to install homebrew on 18.0410:44
netametaThe installtion goes alright but it wont add to path10:45
netametaIt says:10:45
netameta- Add Homebrew to your PATH in /home/ubuntu/.profile:10:45
netameta    echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/ubuntu/.profile10:45
netameta    eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"10:45
netametaNo i am not sure if i should enter those 2 lines myself , only 1 line at a time ?10:46
netametaEither way neither really make brew available10:46
netametabasically it adds `eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"` into .profile, but that doesnt work10:47
roryis /home/linuxbrew actually your home dir?10:49
roryis /home/ubuntu/.profile actually your current user's home dir?10:49
roryecho 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> ~/.profile10:49
roryrun that once ^^ then log out and back in10:50
rorythe 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:50
netametarory well it worked on that same terminal10:54
netametaI think to make it work i will need to do what you said and relog the entire user10:54
rorythe second command will make it work for the rest of that shell session10:55
netametaHowever either way there's some other issue with stripe client10:55
netametawhich seccond comment ?10:55
netametasecond10:55
roryyou gave 2 commands originally10:55
rorythe first command is supposed to add it to ~/.profile but it mistakenly hard-codes "/home/ubuntu/.profile" which is probably not right for your setup10:55
roryso if you use ~/.profile it will always be correct because that's a shortcut to the current user10:55
roryor you can edit ~/.profile in a text editor and add that line to the end: eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"10:56
roryany way to get it in there. it only needs to be added once.10:56
netametaWell ... that didnt help11:17
netametaHow do i add a executable file to path ?11:17
netametawhen i do ./stripe it runs11:17
netametanow i want to add it to path11:18
netametaNevermind i think i am sorted11:22
tsujpI 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 incoming11:26
tsujprequest 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:26
tsujpWhoops dw I was using the wrong routing table11:28
TJ-tsujp: more generally, you'd use 'ssh -b $bind_address ..."11:33
BluesKajHowdy folks12:03
=== rud01f is now known as rud0lf
torbjornI'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
EriC^torbjorn: which ubuntu version?12:26
torbjorn20.04 LTS12:26
EriC^!info pigz focal12:27
ubottupigz (source: pigz): Parallel Implementation of GZip. In component universe, is extra. Version 2.4-1 (focal), package size 56 kB, installed size 253 kB12:27
Maikin live session not all repo's are enabled12:27
Maiktorbjorn: ^12:27
EriC^torbjorn: type 'sudo add-apt-repository universe && sudo apt-get update'12:27
=== deadalnix_ is now known as deadalnix
=== EriC^ is now known as EriC^^
f-ahello ubuntu people, https://packages.ubuntu.com/search?keywords=libsdl2-mixer-dev ← why is «Xenial» not listed here? Too old?12:43
lotuspsychje!info libsdl2-mixer-dev xenial12:44
ubottulibsdl2-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 kB12:44
lotuspsychjef-a: does your apt cache show it?12:44
DJonesf-a:  16.04 has probably gone end of life at the end of April12:45
f-alotuspsychje: I was helping a friend who uses Ubuntu, and I checked the version onli- ok, that makes sense12:45
semitonesy'all got a channel for ubuntu studio or should I ask here12:51
semitones(says invite only) I just want to ask about getting started making music in ubuntu12:51
nokiomanzGood 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:56
lotuspsychjedid you register semitones ?12:58
lotuspsychje!studio | semitones12:59
ubottusemitones: 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.org12:59
shimbleswhere can I obtain Slog213:17
leftyfbshimbles: shouldn't you contact Sony? What does this have to do with Ubuntu?13:26
shimblesok so you did a google search, barfed random garbage back to me in IRC, thanks13:26
leftyfbshimbles: 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
shimblesi did all of that as well, because that's a prerequisite before you decide to ask a question in IRC13:33
shimblesif you don't have additional information, you should be doing something else13:33
leftyfbshimbles: 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:34
shimblesthere 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 override13:35
leftyfbshimbles: take your trolling elsewhere. This is a support channel.13:36
leftyfb!coc | shimbles13:36
ubottushimbles: 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.ogv13:36
shimblesleftyfb when you are in IRC, if you don't know what you are talking about, you should not be providing support.13:36
shimblesthe next time someone asks a question, and you have no idea what it pertains to, do not offer your support.13:37
leftyfbshimbles: 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
shimblesyou don't know what you are talking about13:39
shimblesgo away13:39
leftyfbshimbles: please be respectful to the volunteer help provided here.13:41
shimblesliterally, stop talking.13:41
shimblesyou don't know what slog2 is, you shouldn't be talking.13:41
leftyfbshimbles: you have your answer. If you'd like more help, please provide more information13:41
shimblesyou did not provide an answer because you have no clue what you are talking about13:42
shimbleslook, i posted my question; after that, you wait patiently for someone who knows what they are talking about13:42
shimblesi did not come here for someone to tell me that slog2 is a sony camera. go away.13:42
shimblesdo not send another message on this topic13:43
leftyfbshimbles: slog2 does not exist in ubuntu.13:44
shimblesyou've said that multiple times. go away.13:45
shimblesstop talking to me13:45
leftyfbshimbles: 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 information13:46
shimblesyou are a moron13:46
shimblesyou don't know what you are talking about13:46
shimblesyou googled slog2 and came back with 'sony camera'13:46
shimblesshut up13:47
shimblesstop talking13:47
shimblesdo not provide support on topics you know nothing about13:47
leftyfbshimbles: please be respectful to the volunteer help provided here.13:47
shimblesno13:47
shimblesyou aren't a volunteer13:47
shimblesyou're stupid13:47
leftyfbshimbles: please read the Code of Conduct and adhere to it's guidelines.13:47
shimbleswhy don't you read it, moron13:47
DJonesshimbles: 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 channel13:48
shimblesit says something about: do not pretend to provide support on topics you know nothing about, and then try to cover it up13:48
shimblesyou do not know that it doesn't exist in the official repositories, because you don't know what you are talking about.13:48
ravageThat was fun. But now it's time for the ignore list :)13:49
DJonesshimbles: https://packages.ubuntu.com/search?keywords=slog2&searchon=names&suite=hirsute&section=all says it doesn't exist unless you've given the wrong package name13:49
shimblesi know how to use a search engine. go away.13:49
shimblesnow we have two people pretending to provide support on something they know nothing about.13:50
DJonesshimbles: Well, tell us the real package name so it can be checked13:50
shimblesi'm not here to talk to noobs13:50
shimbles"oh look, we can use a search engine and pretend to be experts on all these packages"13:50
ravagethen you would talk to yourself13:51
shimblescute13:51
ravagethanks13:51
leftyfbshimbles: 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 have13:51
leftyfbyour answer. Please discontinue the topic13:51
shimbleswhy don't you stop making my computer make sounds13:52
shimbleswe know your type13:52
shimblesreject13:52
leftyfbshimbles: are you looking for ubuntu support?13:52
shimbles"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
leftyfbshimbles: please take your attitude and trolling elsewhere. Your question is not related to ubuntu and you are being disrespectful13:53
shimblesi told you to stop making my computer make sounds13:54
shimblesare you some kind of hacker13:54
leftyfb!ot | shimbles13:54
ubottushimbles: #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
shimbles"mom check this out i tried to apt-get apt-get"13:54
DJonesshimbles: 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 developer13:55
shimblesyeah, no, that's what people who don't know what the they are talking about say13:55
shimbles"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
leftyfb!op | shimbles13:56
ubottushimbles: 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, chu13:56
DJonesshimbles: No, thats what people who've checked will say.13:56
shimblesenjoy your free narcissistic supply of "ops endorphines"13:57
osseCool! Let's see what happens in #qt now14:01
hggdhDeano59: please do not taunt others, no matter how you feel. This really does not help14:33
=== marco is now known as Guest74366
=== ace_me1 is now known as ace_me
Deano59hggdh: can you make lotuspsychje stick to the CoC then and NOT call me a troll. thanks.15:56
=== Roey is now known as LostHentaiClip
leftyfbDeano59: not here. Feel free to bring such concerns to #ubuntu-ops16:37
payal__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 again17:17
TJ-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:03
payal_TJ-: BOOT_IMAGE=/boot/vmlinuz-5.8.0-52-generic root=UUID=3f2606b7-b7b5-41f0-a24b-2a2c34c5f548 ro quiet splash18:08
TJ-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 us18:11
payal_TJ-: nothing happened18:14
TJ-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 us18:16
payal_TJ-: available version : , in down line "nothing to do ,exiting."18:19
TJ-payal_: hmmm, did I mistype?18:19
TJ-payal_: command works here. maybe you copy/pasted it with some unexpected formatting?18:21
marlincIs 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 ago18:24
matsamansnaps are dummmbbbb18:25
payal_TJ-: https://pastebin.com/sWGarxZM18:30
TJ-payal_: eek! that is NOT expected. It suggests there are no kernel images installed! Show us " pastebinit <( lsblk; sudo blkid; cat /etc/fstab ) "18:31
payal_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.0418:37
TJ-payal_: right, so we need to see what is there now18:39
payal_TJ-: https://pastebin.com/YtMTBTvB18:47
TJ-payal_: thanks, looking18:48
deadromhi18:50
deadrom.11ax usb3 and current LTS - anything that works?18:50
TJ-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 are18:50
TJ-payal_: to test this hypothesis please do this: " pastebinit <( sudo umount /boot; ls -latr /boot/ ) "18:51
payal_TJ-: https://pastebin.com/JK7Kw6mm18:53
TJ-payal_: BINGO! I was correct. OK, easy fix. you need to alter /etc/fstab18:55
payal_TJ-: ok...18:56
TJ-payal_: this'll fix it:  "  sed -i "s#/boot[[:space:]]#/boot/efi#" /tmp/fstab  "18:57
TJ-payal_: it'll replace the /boot mountpoint with /boot/efi18:57
TJ-payal_: oh hang on that is wrong18:58
TJ-payal_: this'll fix it:  "  sed -i "s#/boot[[:space:]]#/boot/efi#" /etc/fstab  "18:58
TJ-payal_: ^^^ I testedit here in /tmp/ :D18:58
TJ-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       118:59
TJ-payal_: if you see that, then you can correctly mount it with "sudo mount -a"19:00
TJ-payal_: then we can return to the original issue about RESUME :)19:00
cadeskywalker.19:01
payal_TJ-: now efi is there with /boot19:02
TJ-payal_: good.19:03
TJ-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 reboot19:04
payal_TJ-: r u a "magician"19:06
TJ-payal_: Yes19:08
TJ-payal_: i have an employee who's official job title is "Apprentice Magician"19:08
matsamannoyce19:12
Deano59can someone help me with this script? https://paste.ubuntu.com/p/rGgr952pnT/ I keep getting: mv: missing destination file operand after 'static-'19:17
payal__TJ-: thanks now prob is sloved with it minimizes boot time as well19:17
sarnoldDeano59: how are you running the script?19:19
leftyfbDeano59: to start with, go with static=static-${1}19:22
Deano59sarnold, from command line.19:24
Deano59done leftyfb19:24
leftyfbDeano59: 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:25
Deano59leftyfb, still doesn't work :(19:26
sarnoldDeano59: what command line are you using?19:26
Deano59sakura19:26
matsamanI'd probably do static="static-""$1"19:26
matsamanbut $1 could be a lot of things, you might want to sanitize it first, or check it's a suitable string19:27
matsamanor utterly enquote it19:27
leftyfbDeano59: how are you calling the script exactly?19:28
rfmDeano59, can you tell us exactly what command you type when you run the script?  The whole command line, please.19:28
Deano59firefox-sync19:28
Deano59that's it.19:28
leftyfbDeano59: then why are you setting $1?19:29
Deano59it's from the archlinux wiki, it works on 20.04.219:29
leftyfbDeano59: $1 then becomes empty and your script will break19:29
leftyfbDeano59: no it doesn't19:29
Deano59leftyfb, https://wiki.archlinux.org/title/Firefox/Profile_on_RAM19:30
leftyfbDeano59: you're not following the instructions19:30
Deano59I am.19:30
leftyfb"~/.local/bin/firefox-sync <firefox-profile>"19:31
leftyfblooks like their instructions for the cron job and .bash_login and .bash_logout are incorrect19:32
Deano59it still says this though mv: missing destination file operand after 'static-'19:33
Deano59your command ran though.19:33
Deano59leftyfb, ^19:33
leftyfbDeano59: $1 resolves to the first parameter you give a script. Like:    ./myscript firstparam19:34
leftyfbDeano59: 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 fail19:34
* Deano59 shrugs19:34
Deano59doesn't work lol19:36
leftyfbDeano59: ok, feel free to contact whoever maintains that wiki page. Or seek help from #bash. This isn't an ubuntu support question19:37
matsamanusually you want vars in bash to be within double quotes19:38
matsamanor things go pear shaped real fast19:38
TJ-and check they aren't empty before relying on them19:40
MrMobiusI'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-system19:40
TJ-MrMobius: if it is Linux to Linux why not use scp or rsync since you mention a script?19:41
MrMobiusTJ-, sorry I meant to say Windows not Linux19:42
SpeakerToMeatAlso, 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 pipes19:42
Deano59this is pissing me off :|19:42
Deano59god damn works on 20.04.219:42
SpeakerToMeatNot sure how those would work on windows though19:42
leftyfbSpeakerToMeat: that's not exactly true19:42
TJ-MrMobius: aha! was confusing me there19:43
leftyfbMrMobius: are you asking for help with a script to run on Windows to copy files to Ubuntu?19:43
s10gopalHow to use nfs4_setfacl so that default permission for file is 664 and dir is 775?19:43
MrMobiusleftyfb, I don't think that will work because then how would the Windows script trigger compilation in Ubuntu?19:44
leftyfbMrMobius: exactly19:44
SpeakerToMeatMrMobius, you could have step a on the script, copy files, step b make a call via ssh to start compilation....19:45
sarnoldMrMobius: 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 whatever19:45
TJ-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
SpeakerToMeatThe 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 it19:46
MrMobiusTJ-, I'll have to look into network mounts19:47
TJ-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 build19:49
SpeakerToMeatAs long as this is a lan, or even a vpn and you're a little mental19:49
MrMobiusahh lan only is kind of limiting19:50
MrMobiusnot that it matters much the past year or so19:50
SpeakerToMeatThere's many, many ways this could be done, some more mental than others.19:51
leftyfbMrMobius: why not try to do with from a WSL terminal?19:51
leftyfbMrMobius: you'd have direct access to the Windows filesystem with a proper ssh client19:51
MrMobiusleftyfb, that might work but is a whole lot of overhead for something this simple19:52
SpeakerToMeatin 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:52
SpeakerToMeatyou 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:53
SpeakerToMeatAnd use a message bus if you need status checking and update for the build....19:54
leftyfbSpeakerToMeat: you did read they're using putty right?19:54
MrMobiuscan you trigger a script when a particular file is written to?19:54
leftyfbMrMobius: you could write a script that monitors for that19:54
leftyfbMrMobius: on the ubuntu-side19:55
SpeakerToMeatleftyfb, putty makers provide plink19:55
sarnoldMrMobius: incron package can help with that19:55
SpeakerToMeatMrMobius, 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 example19:58
bray90820Anyone know of any AMD graphics drivers that I can install in ubuntu 21.0420:00
MrMobiusthanks everyone. I think I can make this work20:00
sarnoldbray90820: running ubuntu-drivers install  will install the necessary firmware packages and drivers for video cards20:01
bray90820Thanks20:01
bray90820Would it install proprietary drivers?20:02
sarnoldafaik amd's drivers are open source and only the firmware is closed20:03
bray90820Damnit20:04
matsamanyou're saying you can get a package at a version in a snap that's more recent than in a .deb?20:56
sarnoldManouchehri: it's probably worth a bug report, try ubuntu-bug snapd  and see if that files a report20:59
=== blackest_mamba_ is now known as blackest_mamba
leftyfbManouchehri: why did you upgrade your kernel to one that isn't supported?21:07
Manouchehrileftyfb: amdgpu and thunderbolt issues with older kernels21:08
leftyfbmatsaman: please stop commenting on snaps. We get it, you don't like them. Keep it to yourself please.21:09
Manouchehrioh snap21:11
leftyfbManouchehri: you can file a bug, but you are running an unsupported kernel21:12
leftyfbManouchehri: oh, sorry. wrong person21:14
leftyfbManouchehri: nevermind, right person21:14
Manouchehrilol yeah21:14
metbsdis there a way to install gnome40 on 20.0421:59
metbsdlts21:59
leftyfbmetbsd: none that are supported22:01
metbsdgotto use fedora?22:01
leftyfbmetbsd: if you require gnome 4.0, sure22:02
=== EriC^ is now known as EriC^^
=== jadesoturi_ is now known as jadesoturi
=== launchd is now known as evillaunchd
=== evillaunchd is now known as launchd
Deano59leftyfb: moral of the story, run the command as intended. don't *just* run "firefox-sync" :D lol thanks for your help.22:44
leftyfbDeano59: pretty sure I made that clear hours ago22:44
Deano59yeah22:45
Deano59it's working, that's all that matters. thanks again. (:22:45
=== jelly-home is now known as jelly
=== tomreyn_ is now known as tomreyn
=== Scotty_Trees2 is now known as Scotty_Trees

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