[00:05] <Jasonwizkid> hello guys
[00:07] <kostkon> Jasonwizkid, hi
[00:14] <Jasonwizkid> whats up
[00:37] <jongsta> i've now tried a few different ways of updating the kernel and none of them have worked heh
[00:38] <jongsta> i've tried using a mainline script
[00:38] <jongsta> i've tried downloading and installing the packages manually
[00:38] <jongsta> cycling through the defaults in /etc/default/grub
[00:42] <leftyfb> jongsta: what are you trying to accomplish exactly?
[00:43] <jongsta> i'm trying to install and boot into kernel 5.4 then remove all the other kernels from the os
[00:43] <leftyfb> jongsta: what release of ubuntu are you running?
[00:44] <jongsta> 20.04
[00:44] <leftyfb> jongsta: why wouldn't you use the latest 5.13 kernel for 20.04?
[00:45] <jongsta> according to my boss, 5.4 has a much longer life support
[00:45] <leftyfb> !hwe| jongsta
[00:50] <jongsta> leftyfb: so my options are either go with the new enablement stacks or i'll have to update from 18.04.1 (or similar) if i wish to stay on 20.04
[00:50] <sarnold> where did 18.04 come from?
[00:50] <leftyfb> jongsta: I thought you said you were on 20.04?
[00:50] <jongsta> i am
[00:51] <jongsta> but from reading that link it says you basically have 2 choices
[00:51] <leftyfb> jongsta: stick with Ubuntu 20.04 and use the LTS kernel which is currently at 5.13
[00:51] <jongsta> either update from an old release or go with this enablement stack
[00:51] <sarnold> ahhhhhhh, I think I understand you now
[00:52] <sarnold> if you've got some hardware or software that doesn't work on the HWE kernels (a) please report it as a bug so it stands a chance of being fixed in the future (b) downgrade to the GA kernels after you've filed the bugs
[00:52] <jongsta> leftyfb: how long is 5.13 supported till?
[00:53] <leftyfb> jongsta: the HWE kernel is supported for the life of Ubuntu 20.04 which is until 2025
[00:53] <jongsta> ok, i'm just trying to understand this HWE thing
[00:54] <jongsta> i've been out of the game for a bit
[00:54] <sarnold> jongsta: probably six to nine months, look at the nice graph on https://ubuntu.com/kernel/lifecycle
[00:54] <bloooob> hi all-does anyone know what "rtkit-daemon[1951]" service is, and is for?
[00:55] <leftyfb> jongsta: you don't think of it as the 5.13 kenel, you think of it as the HWE kernel which will always be kept up to date for the life of the 20.04 releae
[00:56] <jongsta> sarnold: that graphic is hard to read
[00:56] <sarnold> bloooob: rtkit sets the priorities of some processes to realtime scheduling priorities
[00:56] <jongsta> leftyfb: and the HWE kernel is comprised of multiple kernel versions?
[00:57] <leftyfb> jongsta: it's a rolling release
[00:57] <jongsta> according to the graphic sarnold posted 5.13 is supported until sometime in 2022
[00:57] <jongsta> which would mean you'd need to update/upgrade it at that point?
[00:58] <sarnold> you already upgrade your kernel every three weeks
[00:58] <leftyfb> jongsta: at which point, regular updates will update it to the next HWE kernel
[00:58] <sarnold> or more often, given the way things are going lately
[00:58] <jongsta> 5.4 shows support till 2025 which is why my boss probably mentioned that
[00:59] <jongsta> oy this is confusing
[01:00] <jongsta> sarnold: i don't think we upgrade our kernels that often
[01:00] <leftyfb> jongsta: that ust means when you run updates, you'll get a new 5.4.x-x update. As opposed to the HWE where you'll get 5.13.x-x updates until the next HWE kernel version is available at which point you'll be updated to that
[01:02] <jongsta> i think i get it but i don't know how to convince my boss heh
[01:02] <enigma9o7[m]> security updates come regularly for both kernel tracks.  if you stick with 5.4 it'll aywas be 5.4; if you go with hwe, you'll get whatever version is in future ubuntu versions
[01:02] <jongsta> yah but i don't think we're changing ubuntu versions for a while
[01:02] <enigma9o7[m]> meaning like if you started with focal, when they erleeased 20.10 there was a kernel version upgrade...
[01:02] <jongsta> this isn't for a desktop
[01:02] <sarnold> jongsta: you can see the list of the linux-hwe-5.13 kernels we've published on https://launchpad.net/ubuntu/focal/+source/linux-hwe-5.13 -- from august 2021 until april 2022, we've published around twenty new kernels...
[01:02] <enigma9o7[m]> and impish too
[01:03] <jongsta> this is ultimately for a production product at work
[01:03] <leftyfb> jongsta: in 2023, does your boss want the latest 5.4 kernel or the latest 5.15 kernel?
[01:03] <jongsta> i'd think the latest most stable
[01:03] <enigma9o7[m]> 5.4LTS is fine for majority of everyone anyway.  The only one who newer are if you have new hardware that needs it.
[01:03] <jongsta> whatever that translates to in regards to hosting our product
[01:03] <enigma9o7[m]> For stability stick with 6.4
[01:03] <enigma9o7[m]> eerrr 5.4
[01:04] <jongsta> i just started at this company last week, still getting to know the product
[01:04] <jongsta> enigma9o7[m]: and i think that's what my boss was leaning towards
[01:04] <jongsta> but that brings me back to my original question, how do i get there heh
[01:05] <jongsta> i've tried installing multiple different ways and unable to boot into it
[01:05] <enigma9o7[m]> I wasnt reading earlier; whate version of ubuntu and what kernel now?
[01:05] <enigma9o7[m]> If you install an older kernel, grub wont boot into it.
[01:05] <enigma9o7[m]> Without you telling it to.
[01:05] <leftyfb> jongsta: sudo apt install linux-image-generic
[01:05] <enigma9o7[m]> You can either select it every time you boot from advanced options, or recongigure grub to boot it.
[01:06] <enigma9o7[m]> That wasnt clear..
[01:06] <jongsta> leftyfb: already installed...
[01:06] <leftyfb> jongsta: install the above package, boot into it, confirm everything is working properly and then remove the other kernels
[01:06] <jongsta> enigma9o7[m]: i don't have access to a boot screen
[01:06] <enigma9o7[m]> If you want to boot into an older kernel version, you can either pull up the grub menu during boot and select advanced options and select it.
[01:06] <jongsta> it's in aws
[01:06] <bloooob> sarnold, which version should i have installed in Ubuntu 20.04.04. Also if i see that pop up should i be concerned about it being used nefariously? read this and now am worried https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/6.4_technical_notes/rtkit
[01:06] <jongsta> aka remote
[01:06] <enigma9o7[m]> Or you can reconfigure grub's default.
[01:06] <sarnold> jongsta: instructions are on https://wiki.ubuntu.com/Kernel/LTSEnablementStack if you really want
[01:07] <sarnold> bloooob: ii  rtkit          0.12-4       amd64        Realtime Policy and Watchdog Daemon
[01:07] <jongsta> leftyfb: booting into it is the problem. trying to figure out how to do that the unconventional way since i don't have access to the grub menu screen on boot
[01:07] <leftyfb> jongsta: https://aws.amazon.com/premiumsupport/knowledge-center/revert-stable-kernel-ec2-reboot/
[01:08] <sarnold> bloooob: we fixed that CVE in 2013 https://ubuntu.com/security/cve-2013-4326
[01:12] <jongsta> thanks leftyfb trying the grub suggestions
[01:12] <jongsta> not optimistic though heh
[01:13] <bloooob> sarnold, i was my journalctl -f and saw a whole lot of stuff happening including folder deletion; may have just been systemd doing its thing but concerned
[01:14] <jongsta> under the ubuntu instructions where it says " grub-set-default 1 " how do i know which number to use?
[01:14] <bloooob> was just reading above thank you
[01:15] <sarnold> bloooob: systemd-tmpfiles certainly can remove directories, I'm not sure if it logs about it though :)
[01:50] <Urk> Does anyone have a recommendation for a snippet tool?  Apparently it isn't installed by default with Ubuntu.
[01:55] <vimes> Urk: if i search for screenshot, i can see the Gnome screenshot tool which is built in i believe. also flameshot is pretty good
[01:57] <Urk> vimes:  I installed flameshot, but not sure how to get it to engage, and can't find the gnome tool.  Where is it?
[02:00] <vimes> can you open Screenshot from the Activities? or try shift + prt scrn
[02:49] <yrdsb> how do i switch branch from daily to lts
[02:49] <yrdsb> for sudo apt dist-upgrade
[04:24] <Guest92> what happen to yaru in ubuntu 22.04
[04:25] <Guest92> it partly look like the new adwaita theem
[06:33] <webchat69> hi everybody?
[06:33] <webchat69> i have question
[06:33] <webchat69> can you anser me?
[07:46] <gwiz> What's a good place to start leveling up my knowledge of Ubuntu from basic terminal noob/code monkey to really knowing what I'm doing in here?
[08:23] <nicksantora> Hi all, I've got my private key file in my ".ssh" folder. It only works when I name it "id_rsa". What am I missing in here?
[08:23] <i-garrison> nicksantora: how did you tried naming it?
[08:24] <nicksantora> I've only tried "keys" for now.
[08:26] <i-garrison> nicksantora: see the ssh man page, there is a set of default identity file names it recognizes; if yours is not one of them, you have to use -I
[08:26] <i-garrison> * -i to specify identity file name
[08:28] <nicksantora> I see but, it is working on my friends computer without redirection. Does it have something to do with Openssh versions?
[08:42] <i-garrison> nicksantora: no; but there could be extra configuration which may specify particular identity per host etc. so that could be it
[08:46] <nicksantora> ok. Thanks mate.
[08:49] <moha> Arguing w/ my manager that "no need to install an antivirus (kaspersky in our case) on our linux machines", she gave me this link emphasizing on a sentence in this link: https://help.ubuntu.com/stable/ubuntu-help/net-antivirus.html.en --> "If you want to be extra-safe..., you can still install anti-virus software"; Is it true that an Antivirus can brings "extra-safe level" to linux servers? If yes/not, do you know any valid reference?
[08:51] <oerheks> only for mailservices i guess,  monitoring a system for intrusion is more usefull these days
[08:56] <moha> They believe that antivirus can stop known ransomwares based on signatures.
[08:57] <oerheks> today ransomware is made of modules, randomly selected per infection. so signatures are useless IMHO
[09:00] <moha> oerheks: Yes, On mailservers it helps not to spread viruses into a windows domain; But what about Linux itself? ( I need some refrences. I found some great topics on askubuntu, but not valid enough to as a reference)
[09:00] <oerheks> tons of pages about tripwire, IDS, snort, wireshark, and such..
[09:02] <oerheks> best practice are updates, updates, updates and backups.
[09:23] <moha> yup;
[10:04] <gunibert> hello, does someone know how i can create an ldap group with ldapadd with an autogenerated gid?
[10:25] <Xbar> Hi all
[10:26] <Xbar> I need to make my VPN stop a service when I disconnect from it. Does anyone with bash programming skills know how I can make this happen? I've got the start code working, but now I need the stop code working. This is what I have so far.
[10:26] <Xbar> https://i.ibb.co/SKtVnM3/Untitled.png
[10:26] <Xbar> Woops, well that is the start code, I need the stop code.
[10:27] <Xbar> To make bash run the command if $IFACE ppp0 doesn't exist.
[10:28] <Xbar> https://i.ibb.co/0M6TMtL/Untitled.png
[10:28] <Xbar> Thats what i should have shown
[10:29] <Xbar> Would '!if' work?
[10:29] <gunibert> Xbar what vpn are u using?
[10:29] <gunibert> if you use wireguard, it has a postdown command in the configuration
[10:30] <Xbar> gunibert I am using Poptop, but the VPN is being connect to by GNOME3.
[10:30] <Xbar> The client, that is.
[10:32] <Xbar> GNOME 3 runs a script on disconnection
[10:33] <Xbar> When an interface goes down
[10:33] <Xbar> '/etc/network/if-down.d'
[10:34] <Xbar> '/etc/network/if-down.d/' sorry
[10:34] <Xbar> You put the bash script in there and it gets executed when an interface goes down
[10:38] <alimk> hello
[10:41] <Xbar> Hi
[11:12] <rob0> moha: Linux antivirus software is basically Windows antivirus that runs on a GNU/Linux.
[11:13] <rob0> It won't do anything at all to protect a GNU/Linux from malware.
[11:14] <rob0> That's not to say malware is not possible on Linux; it is.  But there are lots of reasons why it hasn't and won't become a big thing.
[11:23] <rob0> moha, the problem you will face is that for every old-timer like me you find, who understands what viruses are, your manager will find ten marketers who want to sell her Linux-based antivirus software.  And she has no idea who to believe, so she'll go with numbers over years of experience.
[11:24] <rob0> Your best bet is to find something that won't cause more problems for you.
[11:29] <lotuspsychje> rob0: i think oerheks already helped that user pretty fine answering his question
[11:31] <Phalor> Hi
[11:33] <Phalor> Anyone know how to make 'telnet' use a certain interface and IP address, else just an interface?
[11:35] <lotuspsychje> Phalor: try #networking
[11:36] <Phalor> I tried entering it but it gives me some BS meaningless message.
[11:36] <Phalor> "Cannot join channel (+r) - you need to be logged into your NickServ account"
[11:36] <Phalor> What ever that is
[11:36] <lotuspsychje> !register | Phalor
[11:37] <Phalor> CBF
[11:37] <Phalor> But thanks
[11:40] <Phalor> Is 'telnet' an app that opens raw socket connections?
[11:42] <lotuspsychje> Phalor: this is the ubuntu support channel meaning we try to focus on ubuntu related questions
[11:42] <Phalor> lotuspsychje: No shit. And telnet is built into Ubuntu.
[11:42] <lotuspsychje> !language | Phalor
[11:42] <Phalor> No one cares, really
[11:47] <Phalor> You can use the 'b' parameter to use an IP address for sending traffic through. It references 'b' for use with an 'address' in the man page. I thought this was referring to the IP address of the remote server.
[11:48] <Phalor> Well, bye.
[12:16] <redhelmet> hi all.. may i ask how can i utitlize the shorcut key of gedit.. cant figure out how to insert date and time ,coz its only showing open & save on the top menu,and o & s are the only being underlined while pressing alt..
[12:16] <redhelmet> using ubuntu 18.04
[12:17] <redhelmet> i think both save and insert time has alt+s
[12:30] <redhelmet> when im stil using 16.04 alt t+s was the norm
[12:33] <ravage> redhelmet, https://ratil.life/keyboard-timestamp-in-gedit/
[12:39] <redhelmet> ravage, tnx,will this also insert date ?
[12:40] <ravage> it inserts the output of the command you insert into the shell script. feel free to modify it
[12:40] <ravage> https://linux.die.net/man/1/date
[12:42] <redhelmet> ravage, tnx a lot :)
[12:54] <BluesKaj> Hi all
[12:56] <Phalor> I am using the command 'telnet -b 1.2.3.4 5.6.7.8 25' and finding Telnet is not binding to the address '1.2.3.4'. Does anyone know why this could be happening?
[13:00] <ravage> Phalor, if it doesnt bind you get "telnet: bind: Cannot assign requested address"
[13:00] <ravage> then that IP doesnt exist or you do not have permission
[13:02] <Phalor> Ok, I will rephrase what I said with real IP addresses.
[13:06] <Phalor> I have found the problem.
[13:07] <Phalor> I think
[13:10] <Phalor> 192.168.2.1 is my VPN client IP address which is connected to 192.168.1.1. My non-VPN interface 192.168.1.2 has the same gateway IP address 192.168.1.1 to my mobile broadband device. Somehow, the VPN server is receiving my telnet from my non-VPN interface 192.168.1.2. I suspect this has something to do with two of the same gateway addresses.
[13:12] <Phalor> I am still getting my head around it though.
[13:14] <Phalor> Break time. BBS
[13:18] <Phalor> bheaviour appears to have changed from 18.04 LTS to 20.04 LTS. When a VPN was established in 18, I couldn't use my non-VPN IP but now I can. Unless, its still the same and the gateways are conflicting. I will change the VPN gateway when I return.
[14:14] <Guest2263> Bonjour, je suis relativement nouveau sous linux mint.  J'essaie de faire un mint.iso bootable à partir d'une carte mémoire.  Quelqu'un peut me dire si cela est passible ?
[14:18] <ogra> !mint | Guest2263
[14:18] <ogra> !fr | Guest2263
[14:18] <Jeremy31> Guest2263: https://forums.linuxmint.com/viewforum.php?f=63
[14:21] <Guest2263> Thanks !
[14:23] <Phalor> What happens if there are two networks on your computers that connect to two different computers and each of those two computers has the same gateway IP address?
[14:24] <Phalor> Can the two networks on your computer conflict with the two different gatewats?
[14:25] <Phalor> Or does Ubuntu sort them out?
[14:25] <Phalor> Do gateways IP address go to the gateway on the interface?
[14:30] <robot56> hey
[14:30] <robot56> how do i change dist upgrade branch from daily to lts
[14:35] <Phalor> I will rephrase...
[14:35] <Phalor> Will there be networking conflict if there are two network interfaces and each interface connects to their own gateway which happens to use the same IP address? I'm wondering because my network card gateway and my VPN gateway both use the IP address '192.168.1.1'.
[14:36] <Phalor> Or does Ubuntu handle them?
[14:38] <rob0> There is no clean, easy way for any IP stack to resolve network address conflicts.  RFC 1918 is huge, so you don't ever need to use the same network address in more than one place.
[14:39] <Phalor> What happens if it is out of my hands though and I can't change the remote server gateway IP address?
[14:39] <Phalor> Will two interfaces having the same gateway address, even though they are different servers, cause conflict?
[14:42] <Phalor> Or will Linux use the matching gateway used by the interface only, despite there being two interfaces with the same gateway IP address?
[14:42] <rob0> Sucks to be you.  Linux can't guess which 192.168.1.1 you wanted to use.
[14:42] <rob0> only one will be chosen, based on the lowest route metric
[14:43] <Phalor> What happens if you bind to a certain interface? Would Linux then use the correct gateway because it is the lowest route?
[14:48] <rob0> BTW I'd suggest that if you're not in the position to be able to change at least one of the conflicting netblocks, you are not in a position to accomplish the task you have been given.
[14:52] <Phalor> I think it will work. I'm going to try it.
[14:52] <Phalor> ip route shows there is a default
[14:52] <Phalor> So you know which gateway it will use by default, even if they are the same address.
[14:52] <Phalor> Lets see.......
[14:53] <oerheks> yes, there is one gateway per ip range like 192.168.1.x ...
[14:53] <oerheks> why would there be more than one?
[14:54] <Phalor> oer. My home router and VPN server happen to both use 192.168.1.1
[14:54] <leftyfb> Phalor: change your home router then
[14:54] <oerheks> lolz
[14:54] <mybalzitch> lol
[14:54] <leftyfb> Phalor: you cannot use the same ip space on the same machine. period. full stop
[14:54] <oerheks> please stop trolling
[14:54] <Phalor> lefty: That's an idea
[14:55] <Phalor> oerheks you appear to have social problems
[14:55] <oerheks> that is exactly what Kolusion would say
[14:55] <leftyfb> Phalor: another idea is to put a NAT'd network between you and the VPN
[14:55] <Phalor> oerheks who cares
[14:56] <Phalor> leftyfb: It already is. I am going to test the theory now. If it doesn't work then the VPN gateway is changing...
[14:59] <Phalor> Nah it won't work.
[14:59] <Phalor> Because it would cause problems at an application level.
[15:00] <Phalor> Actually no it wouldn't, the application will use the default route.
[15:00] <Phalor> BRB testing...
[15:00] <Phalor> Actually it will cause problems.
[15:00] <Phalor> Not trolling.
[15:01] <leftyfb> Phalor: please limit the commentary
[15:01] <Phalor> What happens if network 1 wants to talk to the gateway on network 2, then how would it decide which to choose.
[15:01] <Phalor> leftyfb we are here to chat.
[15:01] <leftyfb> Phalor: negative. This is not a chat room. It's for support
[15:02] <leftyfb> Phalor: as for your issue, you've been told multiple times, you cannot have the same ip space on 2 different networks connected directly to the same machine
[15:02] <leftyfb> Phalor: at this point, if you want to talk network design, you might be best asking in #networking
[15:03] <Phalor> leftyfb I next asked if I can have the same interface address x 2
[15:03] <Phalor> *I never asked.
[15:03] <Phalor> I'm talking about a gateway address.
[15:03] <leftyfb> Phalor: same issue
[15:06] <rob0> Phalor, you could take this whole XY issue to #netfilter or ##email, and it would be on topic in either place.  (I mention ##email because the original XY question mentioned connecting to port 25.)
[15:06] <rob0> Not sure if I will have time to answer you, but maybe someone else will.
[15:06] <Phalor> Thanks. I don't have SMTP issues. That is one topic I understand deep.
[15:07] <Phalor> Thanks for letting me know about the channel. I will drop by later and see what problems people face.
[15:31] <Phalor> Its stupid how Ubuntu Server 20.04 LTS gives these advert messages sometimes when you login, and then says read more and gives a URL. What does Canonical think? Its userbase are like RMS and browse the web from the terminal lol
[15:32] <oerheks> Not sometimes, all the time :-D
[15:32] <leftyfb> Phalor: do you have a support question?
[15:33] <guest> my sytem has become write protected as the drive is a bit corrupted I tried to add a usb microsd reader to try to save some stuff incase it won't reboot but it says it cant mount it to write protedted sytem or somthing  its Ubuntu 18.04
[15:34] <leftyfb> guest: got anything else other than an sd card? A usb drive maybe?
[15:35] <Phalor> leftyfb you are really cramping this channel
[15:35] <guest> I have a new ssd and usb addaptor but plugged it in it didnt show anything so I dont know if either are faulty as never used them
[15:35] <rob0> Phalor: you are trolling.
[15:35] <leftyfb> Phalor: I think you're confusing this support channel with #ubuntu-offtopic
[15:36] <Phalor> leftyfb this is internet relay chat. People are gonna chat. That's just how it is. Acting like a cop isn't changing anything, people are going to be people.
[15:37] <guest> I am using Ubuntu 18.04
[15:37] <Phalor> guest I would try it on Windows to confirm if it is faulty or not.
[15:37] <guest> is this not the right place to ask for iany ointer or help?
[15:38] <Phalor> Its the right place to ask for help.
[15:38] <guest> I only have this machine and ubuntu I dont have windows
[15:38] <leftyfb> guest: ignore Phalor, they are just trolling
[15:39] <oerheks> Phalor, but you did not ask for help, just trolling and ranting, so stop it or you will be removed.
[15:39] <leftyfb> guest: do you have any other storage device you can try like a usb flash drive?
[15:39] <Phalor> Well, Ubuntu hasn't the greatest support for devices like Windows, so its hard to tell if they are faulty. Two things not working, I'll lean on you need drivers to get them running on Ubuntu.
[15:39] <leftyfb> !op | Phalor
[15:39] <guest> I'm just a bit lost with it and trying to back up some stuff incase it msees up after fix with fsck
[15:39] <Phalor> leftyfb no don't ignore me, leftyfb is living in a fantasy world where he thinks all devices work on Ubuntu. He obviously hasn't plugged in many WiFi adapters.
[15:40] <Phalor> guest I mean
[15:40] <oerheks> guest, does disks utility not find any? then the usb adaptor is not compatible.
[15:40] <Phalor> oerheks no one cares.
[15:40] <oerheks> !ops
[15:40] <guest> i did that and it said it changed stuff but not it booted and I can use it but it wont let me save anything or mount that usb micro sd
[15:41] <Phalor> lefty you are a little beta male bitch "!op". Pathetic
[15:41] <Phalor> Same with oerheks
[15:41] <leftyfb> guest: unplug the usb adapter, and run this in a terminal:  dmesg -Tw    # then plug it back in. Can you copy and paste into pastebin what shows up in dmesg when you plug it in?
[15:42] <Phalor> I guess autism kicks in when you live in a IRC chat room and are out of touch with normal people.
[15:42] <leftyfb> Phalor: Kolusion: there's a reason you keep getting banned everywhere
[15:43] <Phalor> leftyfb: Correction, FOSS arenas
[15:43] <Phalor> The weirdo's of the I.T sector.
[15:43] <Phalor> Well actually, most other channels have normal people in them.
[15:44] <Phalor> Just a couple of users in here get excited
[15:44] <oerheks> bye Phalor
[15:44] <Phalor> Cya soon
[15:46] <rob0> oh is this the same person as Kolusion?
[15:47] <leftyfb> rob0: yes
[15:47] <Phalor> leftyfb do you have any proof of this?
[15:47] <ogra> Phalor, can you stop it ?
[15:48] <Phalor> ogra no. I stand up for myself when people talk shit.
[15:48] <ogra> Phalor, pretty please take it to #ubuntu-offtopic or elsewhere ... unless you have a support question
[15:48] <Phalor> ogra you are asking the wrong person
[15:48] <ogra> also please watch your language w have kids in here
[15:48] <Phalor> ogra sorry this is causing so much anxiety for you.
[15:49] <Phalor> ogra you are an out of touch adult.
[15:49] <ogra> Phalor, you are misbehaving, insulting and attacking people ... i'm clearly not talking to the wrong person
[15:49] <Phalor> ogra no, you just have a warped interpretation of social interaction.
[15:50] <hid3> Greetings everyone. Is it possible to somehow restart another (let's call it dependant) service B before my service A starts/restarts with systemd? Running focal if that matters...
[15:50] <hid3> I mean, service B should always be restarted, regardless if it's now running or not
[15:50] <ogra> Phalor, my interpretation of social interaction is completely irrelevant , we have channel and communication rules you agrred to when joining this channel, please stick to them
[15:50] <Phalor> ogra you have assumed wrong.
[15:51] <Phalor> ogra and I am.
[15:51] <Phalor> ogra you sound like you voted for Hillary Clinton.
[15:51] <leftyfb> hid3: does this help you? https://serverfault.com/a/897014
[15:52] <oerheks> hid3, yes, https://askubuntu.com/questions/1024916/how-can-i-launch-a-systemd-service-at-startup-before-another-systemd-service-sta
[15:52] <leftyfb> hid3: Requires only applies to start, not restart
[15:53] <hid3> leftyfb: looks like sth what I still haven't experimented with, will give it a try
[15:54] <hid3> oerheks: I think I've already experimented with those options in my setup. Seems they start service B initially but to not do the restart of service B when I restart service A
[15:55] <oerheks> hid3, what 2 services exactly?
[15:56] <Phalor> So, UFW blocks routed traffic by default. How is it able to tell traffic has been prerouted?
[15:57] <Phalor> As far as UFW is concerned, it came from an address other than the real last hop.
[15:57] <oerheks> Phalor, i know, but not going to tell you
[15:57] <hid3> oerheks, not some distr-standard ones but my custom written programs. They control some relay boards which I have developed
[15:57] <Phalor> oerheks you should find some friends in the real world and start going out. Getting off on withholding information from a random over IRC is sad.
[15:58] <leftyfb> Phalor: so you badmouth this entire channel, all of OSS and define us as "weirdo's of the I.T sector" and now you want our help?
[15:58] <oerheks> hid3, you could combine PartOf with Wants, see the url of leftyfb
[15:58] <Phalor> ogra where are you to tell your mate oerheks off for breaking his contract?
[15:58] <hid3> that's exactly what I'm going to try now :)
[15:58] <Phalor> leftyfb you badmouthed yourself. Don't blame me for inviting trouble.
[15:59] <Phalor> leftyfb when you act like a tosser, its only a matter of time before you act that way to the wrong person.
[15:59] <Phalor> Allie I didn't see you in here. I hope you have been well.
[16:00] <leftyfb> Phalor: are we making threats now?
[16:00] <Phalor> leftyfb do something about it.
[16:01] <Phalor> leftyfb it must suck thinking you are in control on your high horse and that everyone is going to toe your socially retarded line.
[16:02] <Phalor> ... when you meet someone who won't go along with it.
[16:03] <Phalor> I will be quiet now to not allow this channel to be trashed any further by your provocation.
[16:04] <Emmanuela> Hi, how do you make fslint search only for duplicates greater than size X ?
[16:05] <Emmanuela> guess I must put something in advanced search parameters
[16:05] <Emmanuela> not sure how
[16:05] <oerheks> fslint cannot, fdupes does
[16:05] <Emmanuela> so I need to install a new program?
[16:06] <oerheks> yes, like you installed fslint?
[16:06] <Emmanuela> is it ok to have both installed or do they conflict with each other?
[16:07] <Emmanuela> (yes i installed fslint, it wasn't there by default)
[16:09] <Emmanuela> other question: where is a good guide to learn terminal / command line?
[16:12] <Phalor> Emmanuela at the terminal you can type 'man bash'.
[16:12] <Phalor> It will show you a manual of how to use the terminal.
[16:12] <Emmanuela> :)
[16:13] <Emmanuela> other question: is there an ubuntu email service? (ubuntumail or something...)
[16:14] <leftyfb> !member | Emmanuela
[16:14] <Phalor> Do you mean an e-mail server provider or e-mail lists?
[16:14] <Emmanuela> likegmail
[16:14] <Phalor> Not that I am aware of, probably not.
[16:14] <oerheks> Emmanuela, in short; no. member email service is just a relay to your existing mail
[16:15] <jhutchins> Emmanuela:  http://www.linuxcommand.org/ https://help.ubuntu.com/community/BasicCommands http://www.macdevcenter.com/pub/a/mac/2005/05/20/terminal1.html http://www.ischool.berkeley.edu/~kevin/unix-tutorial/toc.html  http://linuxcommand.org/lc3_learning_the_shell.php  http://linuxcommand.org/tlcl.php
[16:16] <Emmanuela> which alternatives togmail do linux users tend to like?
[16:16] <jhutchins> Emmanuela: Gmail is the only free mail service I know of.  Most domain registrars offer mail service for a fee.
[16:16] <jhutchins> Emmanuela: Given the crap you have to deal with to run a public mail server, it's well worth paying someone else.
[16:20] <rob0> indeed :(
[16:21] <Phalor> We are off topic people
[16:21] <Emmanuela> thank you all :)
[16:22] <Phalor> This is for Ubuntu support only, not for discussing the inability of running a mail server.
[16:22] <Phalor> Emmanuela you are welcome
[16:23] <Phalor> So, UFW blocks routed traffic by default. How is it able to tell traffic has been prerouted? Does it check the kernel? I would think not as how would it know if remote content is routed. Is it in the IP headers?
[16:26] <Phalor> Where is warm and friendly FOSS community I keep hearing about when I hear people begging Windows users switch over from double clicking the mouse to try out punching in 30 keystrokes just to open a Zip file.
[16:27] <ednash> Yeah not sure. I've also found #ubuntu a bit tepid lately.
[16:28] <Phalor> I wonder why.....
[16:28] <guest> ok I managed to get the new ssd connected and formated  and it shows in files but when I click it  it says    Error creating mount point ' /media/myname/SAVESTUFF' : Read-only file system
[16:29] <ednash> How did you format it?
[16:29] <ednash> I'd do an `lsblk -f` to see where it is located. E.g. say /dev/sde1. Then I'd mount it manually.
[16:29] <guest> in the utils disk utils to ext4
[16:30] <ednash> I forget what the `/run/` directories look like in Ubuntu, but mounting in `/mnt/new_ssd` should work -
[16:30] <oerheks> sudo chown $USER:$USER /mnt/sde1 # to get access
[16:31] <ednash> `sudo mkdir -p /mnt/new_ssd && sudo mount /dev/sde1 /mnt/new_ssd`
[16:31] <oerheks> you formatted as root, so if you write as root it should work.
[16:31] <guest> will it still make an entery with it being read-only file system
[16:32] <ednash> not unless something is unexpected
[16:32] <rob0> If the FS where you want to mount a directory is RO, no, you can't mount there.
[16:32] <ednash> i'd check if that mount command works with write access. if it does, then it's a matter of figuring out why the auto mount failed.
[16:34] <guest> not sure if you saw earlier the drive seems a bit corrupted and after fsck fix it booted but became read-only filesystem and I just want to copy some stuff off to the new drive in case it won't boot after another fsck
[16:34] <ednash> Phalor: I've personally never found the need to use UFW. My router has some firewall which seems sufficient for me. Not sure how it works.
[16:35] <ednash> there was a nice video about it which I watched a few days ago about configuring it, seems like a good little tool
[16:35] <Phalor> ednash: Cool. I am paranoid and firewall everything. :)
[16:35] <ednash> But I am curious - why do you need UFW?
[16:35] <ednash> Phalor: I can understand that!
[16:36] <Phalor> UFW seems to be the easiest way to use a firewall in Linux, but I haven't tried firewalls from other vendors so there could be better ones out there.
[16:36] <ednash> Yeah my question was mostly on why do you need firewall at all :) I considered UFW, and liked it, but ended up not using it as I didn't feel the need in the end
[16:36] <jhutchins> ednash: Chances are your router is running some version of linux, probably derived from dd-wrt, and is using the iptables back-end that UFW is a cartoon front end for.
[16:37] <leftyfb> rob0: that isn't true
[16:37] <guest> so the new drive is /dev/sdb  in the Disks utility
[16:38] <Phalor> ednash. Security problems can be found in software and bad actors can cause havoc inside your network. Firewalling everything can prevent the spread of bad things
[16:39] <leftyfb> guest: try this just to get your system to a point where you might have less issues backing up:  sudo mount -o remount,rw /
[16:39] <ogra> guest, sudo mount /dev/sdb1 /mnt ... then you can access its first partition there ... do not use mkdir or anyting, this will fail due to your running OS beaing readonly
[16:39] <guest> how do I mount that on a read-only file system  can you mount it as somthing that already there and not imortant or somthing
[16:39] <leftyfb> guest: mounts work just fine on a RO system
[16:39] <ogra> you can just mount it ... to existing mountpoints ... i.e. /mnt
[16:40] <Phalor> I am getting off this. Its a major distraction
[16:40] <ogra> but you can not create subdirs for the mount in /mnt as the underlying OS is readonly
[16:40] <Phalor> By ednash
[16:40] <Phalor> Bye
[16:40] <guest> ok I've not done it before but I'll give it a try
[16:42] <ednash> guest: to force read only mode use `mount -o ro ...`
[16:42] <guest> mount: /mnt: special device /dev/sdb1 does not exist
[16:42] <ednash> interesting
[16:43] <ednash> disk utility only shows /dev/sdb?
[16:43] <guest> thats what came back
[16:43] <ednash> usually partitions are labeled /dev/sdb[n]
[16:43] <ogra> guest, then you didnt partition the disk properly
[16:43] <oerheks> you mentioned sde1 ?
[16:43] <ednash> is this a new drive?
[16:43] <ednash> oerheks: hmm sde1 was hypothetical, didn't know what guest's disk was called
[16:43] <ednash> if this is a new drive, might wanna reformat it
[16:44] <ogra> guest, you shoudl create a partition and then format the partition, not the toplevel device
[16:44] <ednash> otherwise if you already have data, try mounting /dev/sdb
[16:44] <guest> I made it only 1 patition would it be only sdb
[16:44] <ednash> no that's not correct
[16:44] <ogra> it would still be sdb1
[16:44] <ednash> yeah ^ what orga said
[16:44] <ednash> unless
[16:44] <ednash> you somehow formatted the disk without partitioning
[16:44] <ogra> right
[16:44] <ednash> then too it should work, but highly unconventional - should not do it
[16:44] <ogra> which you should not do ...
[16:45] <ednash> you might have done something like `mkfs.ext4 /dev/sdb` <-- not recommended!
[16:47] <guest> I used the disks tool in utilitys and just clicked to give it a name and selected a linux only et4 format and it formated it
[16:47] <ednash> i see
[16:47] <ogra> guest, sudo mount /dev/sdb /mnt ...
[16:47] <ogra> even though you shoudl probably re-partition and properly format it, the above will work to mount what you created before
[16:48] <ednash> if it is a new disk, and you don't have any data, highly recommend repartitioning it
[16:48] <ogra> 👍
[16:48] <ednash> in the disks tool, select /dev/sdb and create a partition, then format the partition
[16:50] <guest> I did   sudo mount /dev/sdb /mnt
[16:50] <guest> it completed but now I dont see it in the files list
[16:51] <ednash> can you paste the output of `lsblk -f | grep sdb` somewhere?
[16:51] <ednash> if it is <= 2 lines paste here
[16:51] <guest> ok i'll try repatition it its new
[16:51] <ednash> yeah!
[16:52] <ednash> sidenote: since you are partitioning it and it is new, you may also consider encrypting it with luks if you care about theft of your laptop
[16:53] <ednash> but it comes with some more complications, you will need to have a password and/or a key to accesss it. so it's up to you.
[16:53] <ogra> heh, dont add extra level of complexity ...
[16:53] <ogra> the external disk seems to only be to save sme files from the currently broken OS disk
[16:54] <ogra> *some
[16:55] <guest> thanks but for now I just want to get a backup of what I can get off this drive incase it reebots and dont recover
[16:56] <ednash> get off which drive? /dev/sdb? is it new or does it have files
[16:57] <ogra> the OS disk is broken (which is why it is readonly in the first place ...) ... was mentioned above somewhere
[16:57] <ogra> sdb is the target disk for backing up data from it as i understand
[16:57] <ogra> it -> the broken OS
[16:58] <ednash> oh i joined late. thanks for the context
[16:58] <guest> sda has my ubuntu on it it seems to have errors and after fsck repair a couple of time its reverting back but im trying to sort some stuff and it won't let me write the files  incase it messes up even worse I want to copy files from sda to someplace like now the sdb or a usb micro sd
[16:59] <guest> its become read-only
[16:59] <ednash> were you able to partition it with disks?
[17:01] <ednash> could you paste output of `cat /etc/mtab | grep sdb`?
[17:01] <guest> im a bit new to that bit and it says type interna disk for use with Linux systems only(Ext4)   NTFS   FAT  OTHERS   I selected Ext4
[17:02] <cbreak> is there an exact release date for 22.04 already?
[17:02] <ogra> are you sure you selected the correct device in the UI ?
[17:02] <ogra> cbreak, https://discourse.ubuntu.com/t/jammy-jellyfish-release-schedule/23906
[17:03] <ednash> no worries. partitioning a disk is tough, and scary because not done right it can ruin your day.
[17:04] <ogra> cbreak, April 21st for the release, August 4th for people upgrading from 20.04 ...
[17:04] <guest> right its up the same Ext4 (version1.0) -- notmounted
[17:04] <guest> in the disks tool
[17:04] <cbreak> ogra: neat, thanks
[17:05] <guest> it said mounted before after the mount command but wasn't sohowing in the list
[17:05] <ednash> guest: could you please run `cat /etc/mtab | grep sdb`?
[17:05] <ednash> and paste the output here? it should be about 1 or 2 lines
[17:05] <ogra> guest, so you need to unmuont it first before partitioning ... the disks UI has a button for that (looks like play/pause IIRC)
[17:06] <guest> now it shows in the left again under a line with rubish bin and above + other locations
[17:06] <guest> but if I do that mount comant it goes from there and I dont know where to find it
[17:07] <ogra> guest, mark the formatted partition in the right pane ... (shoudl turn orange then) ... then click the minus sign under it
[17:08] <guest> cat /etc/mtab | grep sdb    I did exactly that and there was no output
[17:08] <ogra> after this it should talk about "free space" ... click on it ... then click the plus sign
[17:09] <ogra> let it use the whole space in the popup slider ...
[17:09] <ednash> oh hmm. where did it mount? may be search for that instead, `cat /etc/mtab | grep /mnt`
[17:10] <ednash> oh sorry, i'd let ogra help - since we're pretty much saying the same things in two voices :)
[17:10] <ednash> ogra: are you me
[17:10] <guest> its not mounted and it is orange
[17:10] <ogra> and does it show a minus or a plus underneath
[17:11] <ogra> also, does it say "free space" or "partition 1" currently
[17:12] <ogra> you want it to say "partiton 1" ... once it does, you click the little gears and select "format partiton" ... pick ext4 and you should be done
[17:13]  * ogra needs to get some groceries ... -> afk
[17:13] <guest> in the disks tool you mean ?
[17:13] <ogra> yes
[17:13] <guest> its all one thing
[17:13] <ogra> des it say "partition 1" or does it say "free space" ?
[17:14] <guest> the whole 250gb
[17:14] <ogra> in the right pane that is
[17:15] <ogra> i really need to go ... back in 1h or so ... in case you have not managed by then 🙂
[17:15] <guest> Volume says SAVESTUFF   under it says  250 GB Ext4
[17:16] <guest> Size 50 GB(xxxxxxxxxxxx bytes)
[17:16] <guest> device /dev/sdb
[17:17] <guest> oops 250 GB
[17:18] <ednash> did the + button on disks tool work?
[17:19] <ednash> could you please paste output of `lsblk -f | sdb`?
[17:20] <guest> `lsblk -f | sdb    done that and it is stuck with  >
[17:20] <guest> each time I press enter it dropa a line  >
[17:20] <ednash> Oh please remove the `
[17:20] <ednash> press Ctrl+C
[17:21] <ednash> and let's only run the following
[17:21] <ednash> lsblk | grep sdb
[17:21] <guest> sdb      8:16   0 232.9G  0 disk
[17:22] <ednash> nice. but you still don't have partition.
[17:22] <ednash> i think we can proceed if the main issue is to backup your existing ubuntu OS disk
[17:22] <ednash> without creating partitions
[17:22] <guest> ok
[17:23] <guest> you mean like clone the whole drive
[17:23] <ednash> what's the output of the following -
[17:23] <ednash> lsblk -f | grep sdb
[17:23] <ednash> ^ that will show if the disk is mounted yet or not
[17:23] <guest> no its not mounted
[17:23] <ednash> ok good
[17:24] <ednash> there are several ways to backup your OS disk
[17:24] <ednash> one of the smoothest options is to use timeshift
[17:24] <ednash> but - do you know what you want to back up?
[17:24] <guest> it did mount when I didn the mount one of the other gave but it vanished from the files list
[17:24] <guest> so I couldnt click it to open it
[17:24] <ednash> ok let's mount it first -
[17:24] <ednash> please run the following -
[17:25] <guest> ok
[17:25] <ednash> sudo mkdir -p /mnt/sdb_mounted
[17:25] <ednash> after that, please run the following -
[17:25] <ednash> sudo mount /dev/sdb /mnt/sdb_mounted
[17:25] <guest> sdb    ext4     SAVESTUFF 30a6a978-d3f1-4080-856d-7df27cd2f1ff
[17:27] <ednash> good, looks like it's not mounted yet. those two commands above will mount it to /mnt/sdb_mounted
[17:27] <ednash> you can run an `lsblk -f` to confirm that it is mounted
[17:27] <guest> it couldnt creat the directory  sudo mkdir -p /mnt/sdb_mounted
[17:27] <ednash> what's the output?
[17:27] <guest> it said its read- only
[17:27] <ednash> ooh. i see the OS is read only.
[17:28] <guest> mkdir: cannot create directory ‘/mnt/sdb_mounted’: Read-only file system
[17:28] <oerheks> ednash, oh good spot
[17:28] <ednash> you should still be able to create directories in tmpfs
[17:28] <ednash> hmm... let me check if ubuntu has a /run
[17:29] <cbreak> or you could just mount it in an existing directory :/
[17:29] <cbreak> (nasty, I know...)
[17:29] <ednash> please try this -
[17:29] <ednash> sudo mkdir -p /run/mount/sdb
[17:30] <guest> ok that returned with cursor no error
[17:30] <ednash> nice
[17:30] <ednash> mount it there with this command -
[17:31] <ednash> sudo mount /dev/sdb /run/mount/sdb
[17:31] <guest> ok ifts gone from the left of  Files now
[17:31] <ednash> nice
[17:32] <ednash> so now you can back up anything that's important
[17:32] <ednash> on that topic, do you know what you want to backup?
[17:32] <ednash> for example, the home directory would be a good choice. you can back up the home with this -
[17:33] <ednash> rsync -aAXHv ~/ /run/mount/sdb/home_backup
[17:33] <ednash> Ooh prefix that with sudo please
[17:33] <ednash> sudo rsync -aAXHv ~/ /run/mount/sdb/home_backup
[17:33] <guest> it would be nice to get it all and the browser stuff as there are thing there in the cache or history
[17:34] <ednash> yeah that command will get you all of that
[17:34] <ednash> browser caches and profiles are stored in home
[17:34] <cbreak> if you use sudo, I recommend using --progress
[17:34] <cbreak> sorry, rsync
[17:35] <ednash> likely browser stuff will be in ~/.cache, and ~/.mozilla, all included in that command
[17:35] <guest> yes it might be corrupted still as I think it was the bowser overloaded tha caused the problem
[17:35] <ednash> that seems really weird. did it run out of space?
[17:35] <ednash> anyway let's run that sudo rsync ... command
[17:36] <guest> I had tooooo many tabs open
[17:36] <guest> will it work with this running
[17:36] <ednash> with what running?
[17:36] <ednash> will what work
[17:37] <guest> like while the system is still running
[17:37] <ednash> the sudo rsync command? yes you can (should) run it now
[17:37] <guest> ok
[17:37] <ednash> it should show the files as it copies
[17:38] <guest> so can I do normal folders first that are important then do all rest or if it tries to dao all could it crash
[17:39] <guest> will it try to build it into a running sytem or just backups of the files
[17:39] <ednash> yes if you know the normal folders or important folders you want to copy, you can do those first
[17:39] <ednash> i think the chance of crashing is low though
[17:39] <ednash> but with corruption, there's a risk.
[17:40] <ednash> if i were you i would risk the command -
[17:40] <ednash> sudo rsync -aAXHv ~/ /run/mount/sdb/home_backup
[17:40] <guest> well unfortuatly my fan somtimes locks up and over heats and makes it shut down
[17:40] <guest> I need to get a new fad or graphics card
[17:41] <ednash> you could run a `du -sh ~` to estimate how much to copy, but that could also crash.
[17:41] <ednash> i think the `sudo rsyn ...` is the next thing to do despite all the risk it has
[17:42] <guest> ok so will that put it in folders
[17:42] <ednash> the risk is minimal but everything is risky now :)
[17:42] <ednash> run that command, and it will create the folders. it will print what it's copying as it creates them.
[17:43] <ednash> once you are done running it, run this command -
[17:43] <ednash> sync
[17:43] <guest> like if I want to backup just sme folders could I store that in a my backup folder just so I have a copy and themn do the wholle thing
[17:43] <ednash> it should not print anything and return quickly, and then you're good.
[17:43] <ednash> guest: yeah you can change the sudo command like this for your important directories
[17:44] <ednash> sudo rsync -aAXHv ~/IMPORTANT_DIR1 /run/mount/sdb/IMPORTANT_DIR1
[17:44] <ednash> btw i forgot where it was mounted. good to verify once that it is indeed mounted in "/run/mount/sdb"
[17:45] <guest> lcan it rename it so its a seperate copy from when it tries to do all
[17:45] <ednash> yeah
[17:45] <ednash> the destination directory must be provided by you. i'd provide different destinations, and it won't mix them up.
[17:46] <guest> ok say I want a seperate backup of the pictures folder
[17:47] <ednash> then on that command above, replace IMPORTANT_DIR with Pictures
[17:47] <guest> in its onl name like myBackupPicturs
[17:48] <ednash> sudo rsync -aAXHv ~/Pictures /run/mount/sdb/myBackupPictures
[17:48] <guest> I meant the output so I can call the folder different that when it tries to do the full backup
[17:48] <guest> yes thats what I ment
[17:48] <ednash> good luck
[17:48] <guest> ok I'll try it
[17:49] <guest> thanks
[17:50] <guest> says it did the pictures
[17:50] <ednash> add the --progress at the end of the command as cbreak suggested, especially useful if you have large files
[17:51] <guest> where was that
[17:51] <ednash> sudo rsync -aAXHv ~/Pictures /run/mount/sdb/myBackupPictures --progress
[17:52] <guest> it was showing them scrolling in the terminal
[17:52] <guest> heh
[17:52] <ednash> the command is interruptible, so if it doesn't work it will have partial backup. you can try running it again and it will try to resume without starting from scratch.
[17:52] <ednash> nice if it's showing them on terminal, then it's doing its job
[17:52] <ednash> i think it's all working
[17:53] <guest> and whats the one to do everything
[17:53] <ednash> sudo rsync -aAXHv ~/ /run/mount/sdb/full_home_backup
[17:54] <guest> can I click into that mountpoint and open it to make a file with the commands in case this clears or crashes
[17:55] <ednash> yeah you can open it
[17:55] <ednash> after this finishes, run the sync command and you'll be sure that the backup is done.
[17:56] <guest> wow that was strange
[17:56] <rob0> why sudo to rsync your own $HOME?  Why not just give the user write privilege in a directory on the backup filesystem?
[17:56] <guest> i wentinto that folder and opened a terminal
[17:56] <guest> done touch cammands fronm nash and it made 3 files haha
[17:57] <guest> ednash*
[17:57] <ednash> there will be a lot of files starting with ., which will not be shown
[17:58] <ednash> you'll have .cache, .mozilla, .config, .local etc. all backed up
[17:58] <guest> I was just trying to make a backup of the commands in case I lost them
[17:58] <ednash> oh. yeah i'd create a text file and add them there.
[18:01] <ednash> rob0: WDYM? How does the write privilege help?
[18:02] <guest> I wanted to move a comlete $ to another drive Awhile back it wouldnt let me said I didnt have permition
[18:03] <guest> maybe somthing like that
[18:03] <rob0> If user "rob0" has rwx in /run/mount/sdb/rob0, there is no need for privilege escalation to write files there.
[18:03] <rob0> sudo should ONLY be for system admin tasks.  Copying your own files should not be an admin task.
[18:04] <rob0> If you're backing up all of /home for some reason, that would need privileges.
[18:06] <guest> I did a new install and tried to sawp the $hom in didnt get it to work still have it might try again
[18:09] <guest> might be able to do it with this rsync that ednash showed me :)
[18:10] <ednash> Oh. Yeah that makes sense. But if you have admin access, I say use it to be safe. I don't know for example if guest has any files made by root on the $HOME (probably because of earlier sudo's).
[18:11] <ednash> If it's a server on the other hand, you gotta be tighter.
[18:12] <guest> it was blocking me even thogh the name and everthing was the same
[18:12] <guest> it was just one drive to another
[18:12] <ednash> guest: are you referring to restoring the files?
[18:13] <guest> I couldnt get it to boot anymore so I tried sawping the home but it wouldt let me I managed to coups some stuff I think it was a while ago
[18:18] <guest> I've done a few folders so far seems to be working good thank to all tat helped
[18:18] <guest> and thanks for repeating and being patient with me ednash appriciated
[18:29] <rob0> ednash, I don't think overuse of sudo is "safe". :)  One small typo can destroy your system.
[18:40] <ogra> rob0, well, it was all readonly anyway 🙂
[18:41] <ogra> even sudo cant work around that without explicitly re-mounting
[18:59] <limun_> Hi
[18:59] <limun_> Is this Ubuntu support chat?
[19:07] <mrkubax10> yes
[19:07] <mrkubax10> they left...
[19:17] <thatpythonboy> i have to reconnect everytime wifi? why wifi won't autoconnect
[19:18] <oerheks> the only readon i can think of, is that you select autologin, so your keyring is not open?
[19:18] <oerheks> c/reason
[19:18] <oerheks> go into accounts, disable autologin, logout/login and it should autoconnect?
[19:20] <thatpythonboy> oerheks: therer is no accounts in settings but online accounts
[19:20] <thatpythonboy> ubuntu 18.04
[19:21] <thatpythonboy> there is wifi
[19:21] <morganu> I dont use my keyring and hexchat autoconnects
[19:21] <morganu> oh wait, not at login. Can I do that?
[19:21] <morganu> 20.04
[19:22] <morganu> 20.04 is better at wifi antenna-ing.
[19:24] <Emmanuela> oerheks: Hi, I installed fdupes, but for some reason it doesn't have the minsize option. I also saw online it exists, but mine doesn't have it for some reason
[19:24] <thatpythonboy> my automatic login is off
[19:24] <jhutchins> Emmanuela: Perhaps you have a different version, or your build didn't include it.
[19:25] <Emmanuela> but it's fdupes
[19:25] <Emmanuela> I don't understand
[19:25] <Emmanuela> you mean it was added later?
[19:27] <jhutchins> Emmanuela: That's why new versions happen.
[19:27] <Emmanuela> but I installed it today
[19:28] <oerheks> jhutchins, maybe you have an other solution, find duplicate files with certain size?
[19:28] <oerheks> fslint gives no such option
[19:29] <Emmanuela> how can i know what version is the one installed?
[19:31] <jhutchins> oerheks: How are we determining that they're duplicate?  Checksum?  Name?
[19:31] <jhutchins> Emmanuela: Most commands take -V or --version as an option.
[19:32] <jhutchins> Emmanuela: Perhaps dpkg -l fdupes
[19:32] <oerheks> fdupes uses shasum?
[19:32] <Emmanuela> fdupes 1.6.1
[19:32] <Emmanuela> is that not the last?
[19:32] <jhutchins> !info fdupes
[19:32] <rfm> I see in https://github.com/adrianlopezroche/fdupes/blob/master/CHANGES that minsize is introduced in 2.0.0
[19:33] <oerheks> 1.6 is from bionic, later versions are 2.x https://launchpad.net/ubuntu/+source/fdupes
[19:33] <Emmanuela> so that's the issue,, How can I install the newer version?
[19:33] <oerheks> upgrade to 20.04 bionic?
[19:34] <Emmanuela> it's the only way?
[19:34] <Emmanuela> I mean to upgrade
[19:34] <jhutchins> Emmanuela: You could build it from source.
[19:34] <Emmanuela> I am beginner :)
[19:35] <Emmanuela> and what about the other possible solution mentioned above? (to find duplicates of a certain size)
[19:35] <oerheks> if you install a .deb from a higher ubuntu, you must have a newer libc6 accordingly..
[19:35] <oerheks> https://packages.ubuntu.com/focal/fdupes
[19:36] <oerheks> so, upgrading would be the simplest way?
[19:37] <leftyfb> Emmanuela: what exactly are you trying to accomplish?
[19:37] <jhutchins> oerheks: Do the upstream sources provide .deb packages?
[19:37] <oerheks> jhutchins, no?
[19:37] <Emmanuela> find duplicates of a certain size only (ignoring the smaller ones)
[19:38] <leftyfb> Emmanuela: why? what sort of files/data are we talking about? How many?
[19:38] <Emmanuela> a lot
[19:39] <Maximali1t> any way to config ubuntu to disable microphone?
[19:39] <Emmanuela> various kinds
[19:39] <jhutchins> Maximali1t: Why not just use the mixer?
[19:39] <Maximali1t> jhutchins: you mean like just turning it off in settings?
[19:40] <leftyfb> Emmanuela: what's the purpose of finding files with the exactly same size? What types of files are they? What are you doing with the results when you have them?
[19:40] <ioria> Emmanuela, have you tried 'czkawka' ?
[19:40] <Emmanuela> is that another program?
[19:40] <ioria> yes
[19:40] <Emmanuela> ok will try, thank
[19:41] <ioria> it's a snap btw Emmanuela
[19:41] <jhutchins> Ubuntu doesn't do backports, right?
[19:41] <Emmanuela> the purpose is to delete all the big duplicates together but without touching little duplicates
[19:42] <oerheks> jhutchins, yes, standard?
[19:42] <leftyfb> Emmanuela: https://linuxconfig.org/how-to-use-find-command-to-search-for-files-based-on-file-size
[19:43] <Emmanuela> same size isn't necessarily duplicate, right?
[19:44] <leftyfb> Emmanuela: correct. But you could then also run an md5 on them all
[19:44] <oerheks> without same size it is not duplicate
[19:44] <Emmanuela> so this would be the other way
[19:45] <Emmanuela> Ok, have some new stuff to try, thanks again
[19:45] <Emmanuela> :)
[19:46] <leftyfb> find . -size 6M -exec md5sum {} \; |sort -k1. That would get you started. You could certainly build from there
[19:46] <Emmanuela> thnks :)
[19:56] <randy__> Hi everybody
[19:58] <guest> HI ednash I ran the back up looks like its all there havn't done the sync thing yet but it came up with some errors
[20:05] <gwiz> Is there are book list or something like that for learning Ubuntu on Ubuntu 20.04 or higher ?
[20:41] <mmebsd> hi
[20:41] <mmebsd> i don't see a wiki talk about intel hardware acceleration in mpv
[20:53] <ednash> guest: what errors? what do they say?
[20:58] <guest> sent 21,920,243,974 bytes  received 3,293,242 bytes  24,647,034.53 bytes/sec
[20:58] <guest> total size is 21,900,762,483  speedup is 1.00
[20:58] <guest> rsync error: some files/attrs were not transferred (see previous errors) (code 3) at main.c(1207) [sender=3.1.3]
[20:59] <MinusOne> Hello, for some time now I will occasionally experience a DE crash will running apt upgrade. This interrupts the upgrade, so I have to run dpkg --configure -a and upgrade again. Where should I look to figure out the cause?
[21:00] <MinusOne> *while
[21:00] <guest> I didnt know what you ment about sync when it finished so I havn't done that yet
[21:01] <MinusOne> I am running kubuntu-desktop on what was originally an Xubuntu install, if that is potentially helpful information
[21:02] <MinusOne> Oh, 20.04.4
[21:04] <MinusOne> I should specifify that I am *assuming* it is a DE crash rather than X. I get a black screen, then after a short while my DE launches again automatically. I don't see anything leaping out in dpgk.log or journalctl
[21:10] <MinusOne> guest, I wasn't here for the context, but they probably meant run the command sync in the command line
[21:11] <MinusOne> It's job is to make sure any data that is supposed to be written has been fully written to disk. You will know it is done when you get your command prompt back, which may be instant or may take a while depending on how much data is not fully written
[21:15] <MinusOne> guest, I would also speculate that the rsync errors are from copying from an ext4 filesystem that supports file attributes and large files to some type of fat volume that supports neither
[21:15] <MinusOne> if that is what is happening, there isn't really a solution that doesn't involve formatting the device. That may or may not be an option depending on what systems you need it to work on.
[21:18] <MinusOne> well, there is a solution involving archives that you split into pieces, but it adds an extra layer of work and won't be helpful in a lot of situations
[21:19] <guest> hi thanks they are both Ext4 i formatted a new ssd to do a backup as the system had some errors and become read-only file system ednash and a cople of other helped me get it mounted and copy it over
[21:20] <guest> so I just type sync at the command prompt ?
[21:20] <MinusOne> gotcha, guest. So probably data corruption prevented you from getting everything. Did you get other errors from rsync? I was only here when you said the last one
[21:20] <ednash> guest: yes
[21:20] <MinusOne> also, yes =P
[21:21] <ednash> well it's mostly a precaution. should automatically sync in a little while.
[21:21] <guest> I typed sync prompt came back instant
[21:21] <guest> didnt say anything
[21:21] <ednash> yeah that's good. the files are all copied.
[21:21] <ednash> except the errors of course
[21:22] <ednash> you can run the same command once more, this time it will finish fast. might show the errors again.
[21:22] <ednash> or you can check manually to make sure the important files are all there
[21:23] <guest> sudo rsync -aAXHv ~/ /run/mount/sdb/full_home_backup
[21:23] <guest> thats the onew  I did so just do the same again ?
[21:25] <ednash> yeah if you want
[21:25] <ednash> it's just to see the errors
[21:25] <ednash> it will not copy the files that are already copied, so it will run much faster
[21:30] <guest> sesms stuck at the moment    but on error says  rsync: readlink_stat("/home/myname/.config/BraveSoftware/Brave-Browser/Default/ads_service/confirmations.json") failed: Structure needs cleaning (117)
[21:33] <guest> a few say that Structure needs  cleaning (117)
[21:37] <guest> now I have a backup of the home folder stuff if i restart it will probably go to te busybox thing agaion and have to fsck it and see if it mounts the othe drive normaly
[21:41] <guest> whats the stuff in   opt    with brave.com and chrome   will I need to keep them too if I want to try to preserrve that state of the browser?
[21:50] <guest> ok I will try to reboot now and let it try to repair again now I have the back up then try delete some tabs see what happens
[21:50] <guest> I kept the link to get back here so maybe be back :)
[21:50] <guest> thanks again
[22:05] <ednash> my guess is that the stuff in opt is not needed. it's usually the binary itself. but it's also up to the implementation of the particular application.
[22:05] <ednash> any user-related stuff which isn't shared across the linux installation (e.g. your profile) should be within ~.
[22:25] <noarb> if I configure the main NIC with a subinterface and both have an address in the same subnet, which one is chosen for source traffic onto the network? What about if they're in different subnets?
[22:40] <vegas> hello
[22:41] <vegas> where can i ask a question related to 22.04?
[22:41] <Bashing-om> !22.04 | vegas
[22:41] <Chunkyz> !next | vegas
[22:41] <vegas> !next
[22:41] <Chunkyz> Bashing-om: quick fingers :-)
[22:42] <vegas> thanks
[22:42] <Bashing-om> Chunkyz: :D was watching -
[22:42] <vegas> are you guys on 22.04?
[22:44] <Chunkyz> Nope...
[23:33] <guest> Hi wth help I made a back up this is how  it was done
[23:33] <guest> sudo mkdir -p /run/mount/sdb
[23:33] <guest> sudo mount /dev/sdb /run/mount/sdb
[23:33] <guest> sudo rsync -aAXHv ~/ /run/mount/sdb/full_home_backup
[23:40] <guest> to backup now it's booting and mounting would it be
[23:40] <guest> sudo rsync -aAXHv  /dev/sdb/full_home_backup or somthing like that?
[23:40] <guest> sdb is where the backup drive is mounting
[23:41] <morganu> Emmanuela, /join #ubuntu-offtopic   &&