[00:00] <frad>   /path/to/mounthpoint is for instance: /dev/sda?
[00:00] <tomreyn> no, that's a device node. a mount point is where it's mounted to, e.g. / or /home or /var or /boot
[00:05] <frad> oh, so is fstrim like defrag on windows tomreyn ?
[00:08] <tomreyn> frad: no. it's to tell ssd's and nvme's which parts of the file system are currently unallocated (not containing data that is still needed) and thus enables the disk firmware to reallocate its physical blocks in a better way,
[00:09] <tomreyn> frad: if you've stored data on such a device for a while without running TRIM or discard against it (and it didn't happen automatically either) then they *can* get slow.
[00:10] <frad> im ambivalent, because I have no backup and I wouldn't want to irreparably delete something I need
[00:10] <tomreyn> on current ubuntu releases, there's a systemd unit + timer to run weekly TRIMs against file systems supporting it.
[00:11] <frad> oh, so this is done automatically once a week?
[00:11] <tomreyn> if you have no backups then your data must be irrelevant.
[00:11] <frad> maybe I don't have money for new ssds
[00:11] <tomreyn> it should ususally happen on a regular schedule, yes
[00:12] <tomreyn> backups dont have to be on ssds
[00:12] <frad> but spindrives are loud...
[00:13] <tomreyn> they don't have to be in the same computer.
[00:13] <frad> i'll stop making excuses
[00:13] <tomreyn> and they'Re not really noisy
[00:13] <tomreyn> :)
[00:13] <frad> wait if Im real sensitive?
[00:13]  * mason leads a goat out on-stage and steps back to see what happens.
[00:18] <frad> ! discard
[00:18] <frad> !discard
[00:18] <frad> .discard
[00:18] <tomreyn> !trim
[00:18] <frad> oh
[00:18] <frad> lol
[00:21] <tomreyn> unlike trim, dicsard is a file system mount option for file systems which support it. some file systems can do both discard and trim, others can only use one of those. and discard can cause problems or larger devices so trim should be preferred where possible.
[00:38] <frad> how do I tune2fs a luks encrypted nvme?
[00:38] <frad> first I have to decrypt...
[00:38] <frad> the nvme unit being the unit I am now using
[00:39] <frad> sorry, encrypted nand drive
[00:39] <tomreyn> just to be sure you're not mixing up tools: we didn't discuss tune2fs so far.
[00:40] <frad> no, this I knew from somebody else
[00:40] <tomreyn> tune2fs is a utility to manipulate ext file systems. you can use it against and unmounted, and some of its functionality also against mounted ext file systems.
[00:41] <tomreyn> oops, strike the first "and" there.
[00:41] <frad> I only want to set reserved blocks to 0.5%
[00:42] <tomreyn> as long as the crypto layer is open, i.e. you have an unencrypted device node which directly points to a file system, you can run tune2fs against it.
[00:43] <tomreyn> the default setup on ubuntu would be crypto layer -> lvm PV -> lvm VG -> file system, though.
[00:43] <tomreyn> the default setup on ubuntu would be crypto layer -> lvm PV / VG -> lvm LV -> file system, though.   << correction
[00:48] <frad> tomreyn, thanks but I must leave now. See you around and thank you!
[02:43] <futureRich> hello i use ubuntu 20.04 but there is no python
[02:43] <futureRich> what’s wrong?
[02:44] <Bashing-om> !info python3 focal | futureRich
[02:45] <futureRich> python instead of python3?
[02:45] <futureRich> :(
[02:46] <Bashing-om> !info python focal
[02:47] <sarnold> futureRich: you can apt-install either python-is-python3 or python-is-python2 depending upon which set of scripts you want to break :)
[02:47] <sarnold> futureRich: I suggest instead using pythoh2 for your programs written in python2 and using python3 for your programs written in python3
[02:47] <sarnold> futureRich: just pretend the 'python' name doesn't exist and fix things as necessary
[02:48] <futureRich> i will try it
[02:53] <futureRich> how can i install pip for python?  help me plz
[02:54] <matsaman> futureRich: ask apt-file
[02:54] <futureRich> there is no pip
[02:54] <matsaman> futureRich: sure there is
[02:54] <matsaman> apt-file that is, not apt-cache
[02:55] <matsaman> futureRich: you know about the 'universe' repo?
[02:55] <sarnold> and ubuntu ships with a neat thing that if you type a command that doesn't exist, it'll suggest what to install to get it: https://paste.ubuntu.com/p/ps3kkXhv4g/
[02:56] <futureRich> apt search pip —> no answer
[02:56] <matsaman> futureRich: well nobody said to use apt search pip...
[02:56] <matsaman> sarnold: does it do that without universe enabled?
[02:56] <futureRich> then matsaman ?
[02:56] <matsaman> sarnold: for pip3 in particular, that is
[02:56] <matsaman> futureRich: apt-file
[02:56] <futureRich> apt-file?
[02:56] <futureRich> what is it?
[02:57] <matsaman> it's a package and executable
[02:57] <matsaman> it tells you what packages provide executables, for example
[02:57] <matsaman> anyway you want python3-pip from the 'universe' repo
[02:57] <matsaman> give a yell if you need help with that
[02:57] <sarnold> matsaman: heh, good quesiton; I've always assumed command-not-found didn't need universe..
[02:58] <futureRich> matsaman: there is pthon2-pip?
[02:58] <matsaman> futureRich: python-pip is for 2
[02:58] <matsaman> if you're making something new I wouldn't use python2, but python3 instead
[02:59] <matsaman> as python2 is end of life
[02:59] <futureRich> matsaman: there is no python-pip
[03:00] <matsaman> futureRich: there is, in the 'universe' repo
[03:00] <futureRich> universe repo?
[03:00] <futureRich> how can i see it?
[03:00] <matsaman> futureRich: sudo add-apt-repository universe
[03:01] <matsaman> futureRich: and then sudo apt-get update
[03:01] <futureRich> thanks
[03:01] <monojamoon|> Hello everyone! I have a laptop with hybrid graphic card set up (integrated intel, discrete nvidia). With my Ubunutu 18.04, I was simply using the discrete nvidia as the primary gfx.
[03:02] <monojamoon|> Recently, I learnt about Nvidia optimus
[03:02] <monojamoon|> https://wiki.archlinux.org/index.php/NVIDIA_Optimus
[03:02] <monojamoon|> I am about to upgrade my Ubuntu to 20.04.
[03:03] <monojamoon|> Does it provide any support for Prime?
[03:05] <monojamoon|> Simply put, I want to use the integrated gfx as my primary graphic card and use nvidia gfx only for certain tasks.
[03:06] <matsaman> monojamoon|: yes
[03:07] <monojamoon|> matsaman: any tricks in its setup?
[03:07] <monojamoon|> I think the process is to install intel drivers (should happen automatically), install proprietary nvidia driver from repo and then install prime?
[03:08] <matsaman> monojamoon|: there are a few different ways you can do it
[03:08] <matsaman> what you just described is basically one way
[03:08] <matsaman> https://askubuntu.com/questions/661922/how-am-i-supposed-to-use-nvidia-prime
[03:10] <monojamoon|> Ah! Thanks a lot!
[03:14] <futureRich> when ubuntu 18.04 will be supported till?
[03:19] <futureRich> i don’t know why they remove python? :(
[03:19] <futureRich> unlike 18.04
[03:20] <sarnold> futureRich: python2 reached end of life on january 1, 2020. Upstream isn't going to provide any more fixes of any kind for it.
[03:21] <matsaman> futureRich: it won't be removed from Ubuntu for a while, however
[03:21] <sarnold> futureRich: canonical is going to try to support python2 in precise, trusty, xenial, and bionic, for as long as we can, for as many issues as we can. it makes no sense at all for us to release a *new* distribution with python2 when it would release without any upstream support on the first day
[03:21] <kiwi_banal> Finally! Python3/Python2 was like a divorce where the couple still share the same house.
[03:21] <futureRich> but there is some program that is made by someone :(
[03:21] <matsaman> futureRich: what program?
[03:22] <sarnold> futureRich: you can run 18.04 in a VM or LXD instance
[03:22] <futureRich> rfcat
[03:22] <matsaman> futureRich: this? https://github.com/atlas0fd00m/rfcat
[03:22] <futureRich> matsaman: yea correct
[03:25] <matsaman> futureRich: looks like they'll have it sorted pretty soon: https://github.com/atlas0fd00m/rfcat/pull/71
[03:25] <matsaman> futureRich: the version from that PR might even work now, even if it doesn't pass the author's museter
[03:25] <matsaman> muster*
[03:27] <futureRich> matsaman: then i must wait it?
[03:27] <matsaman> futureRich: you can follow that PR and it might be ready soon, or you can try building it from that PR right now
[03:27] <matsaman> if it works it works
[03:28] <matsaman> building/running, whichever is required
[03:28] <futureRich> thanks
[03:30] <matsaman> futureRich: same as this, which is a little easier to clone/download: https://github.com/PlantDaddy/rfcat/tree/python3-compatibility
[03:31] <futureRich> oh great this is code for python3 ?
[03:31] <futureRich> matsaman: ?
[03:32] <matsaman> futureRich: that is my understanding
[03:32] <matsaman> he's been porting rfcat to py3
[03:32] <futureRich> thanks :)
[03:32] <futureRich> i will try it
[03:32] <matsaman> the PR says it builds, and the only reason the upstream maintainer hasn't merged is ... arguably small things, like print statements
[03:35] <futureRich> matsaman: guy don’t fix it
[03:38] <futureRich> matsaman: using ubuntu 18.04 is good idea instead of 20.04?
[03:38] <futureRich> 18.04 is end?
[03:39] <matsaman> 18 is supported till 2023 at least
[03:39] <futureRich> then can i go to 18?
[03:39] <matsaman> if you want
[03:40] <futureRich> some people call me dude?
[03:42] <futureRich> if i use 18.04?
[03:44] <futureRich> anyway where can i install 18 version? matsaman help me plz
[03:44] <matsaman> nah I don't think so
[03:44] <futureRich> thanks
[03:44] <matsaman> I would probably find a way to use rfcat on 20.04, myself
[03:44] <matsaman> but sticking with an older version that makes your life easier for a little while is perfectly sane, IMO
[03:44] <futureRich> i will use 20.04 in 2023
[03:44] <matsaman> especially an older version that remains in support
[03:45] <futureRich> where can i download 18 version? help me matsaman ?
[03:45] <matsaman> futureRich: well, actually
[03:45] <matsaman> futureRich: first you should try and install 'python2' from 'universe' in 20
[03:46] <futureRich> matsaman: but python is python2 in 18 version but python2 is python in 20.04 version
[03:47] <futureRich> help where can i download 18 version? help me matsaman ?
[03:47] <matsaman> futureRich: yeah it's not really a problem if it's called 'python2'
[03:48] <futureRich> then i can’t install pip
[03:48] <futureRich> how can i install pip then?
[03:49] <matsaman> futureRich: https://linuxize.com/post/how-to-install-pip-on-ubuntu-20.04/#installing-pip-for-python-2
[03:50] <futureRich> matsaman: thanks i will try it
[03:50] <futureRich> :)
[03:50] <futureRich> if i failed then i will go to 18 version
[03:50] <futureRich> :)
[03:51] <matsaman> sounds like a plan
[04:59] <futureRich> matsaman: i have mistake with ‘apt install python’ instead of apt install python3-pip, then i have  2 python2?
[05:01] <futureRich> matsaman: busy?
[05:30] <_tej_> Hi, I am unable to receive pings (or ssh into my PC) from other machines on the LAN. I am using a fresh install of Ubuntu 20.04. Google search didn't' help much. Could someone please help me resolve the issue?
[05:44] <p0a> Hello -- I just started using JWM over gnome and I'm very impressed with how nice it is
[05:44] <p0a> really happy about its keybindings, and very light too in terms of resources.
[06:02] <moonfmdesire> Hi, can someone give me the command to fstrim both my /home drive and all mounted drives?
[06:06] <p0a> moonfmdesire: fstrim --all?
[06:06] <moonfmdesire> p0a, Just that?
[06:06] <p0a> try it with --dry-run to see if it does what you wanted
[06:07] <moonfmdesire> p0a, What does dry run do?
[06:07] <p0a> moonfmdesire: it doesn't modify anything
[06:08] <moonfmdesire> p0a, I want it to clean up all my drives
[06:08] <p0a> --dry-run ensures that you don't actually do anything before you decide to do it
[06:08] <p0a> and --all will clean up your mounted filesystems
[06:08] <moonfmdesire> p0a, Will the -a option also handle the drives mounted? Like I have sdd connected via usb 3
[06:08] <moonfmdesire> p0a, Ahh okay
[06:08] <p0a> why don't you try it with --dry-run and see what it does
[06:09] <p0a>  ...
[06:09] <p0a> I'm telling you that --dry-run will only show you what happens, it won't actually do it
[06:10] <moonfmdesire> p0a, Okay, please give me the full command because the command line won't do anything
[06:10] <moonfmdesire> p0a, It just says unrecognized option
[06:11] <p0a> fstrim --dry-run --all
[06:12] <moonfmdesire> p0a, fstrim: unrecognized option '--dry-run'
[06:13] <p0a> moonfmdesire: what's your fstrim --version?
[06:14] <moonfmdesire> p0a, fstrim from util-linux 2.31.1
[06:16] <p0a> moonfmdesire: that version doesn't have the feature
[06:17] <moonfmdesire> p0a, Like a version
[06:18] <moonfmdesire> p0a, Well, I ran the command -a and it did not complain
[06:18] <moonfmdesire> p0a, So I guess it did the job
[06:19] <p0a> I believe you need root to run fstrim
[06:19] <p0a> if you run it with --all --verbose you can see exactly what it does, I think --verbose is default but I am not sure so just add it there
[06:19] <p0a> moonfmdesire: 2.34 has --dry-run if you want that feature.
[06:20] <moonfmdesire> p0a, how do i install it?
[06:20] <p0a> moonfmdesire: you need to update `util-linux'
[06:21] <p0a> moonfmdesire: apt update && apt upgrade util-linux
[06:21] <moonfmdesire> p0a, My install says I have the latest, if I upgrade, will it cause problems?
[06:21] <p0a> what version of ubuntu are you using?
[06:22] <moonfmdesire> p0a, 18.04
[06:22] <Jordan_U> moonfmdesire: One option, which may or may not make sense for you, is to just upgrade to Ubuntu 20.04.
[06:22] <p0a> moonfmdesire: I don't think it's important to upgrade util-linux. Leave it as is.
[06:23] <moonfmdesire> Jordan_U, It will harm me. I run proprietary graphics drivers, that will break it.
[06:23] <moonfmdesire> p0a, I just want to trim my drives
[06:23] <moonfmdesire> p0a, I agree with you.
[06:25] <moonfmdesire> p0a, Thanks for your help.
[06:26] <Jordan_U> moonfmdesire: You probably have successfully done that. If you want to know how much space has been trimmed from all of your drives you can just run "sudo fstrim -a --verbose", which will tell you how many blocks have been trimmed from each filesystem. It doesn't actually trim them again if the blocks haven't been written do (and then erased) since the last time you trimmed.
[06:26] <moonfmdesire> Jordan_U, Ahh, okay, thanks!
[06:27] <moonfmdesire> Jordan_U, I am moving files from smaller ssd's to a bigger one to simplify a project I am working on
[06:27] <moonfmdesire> right now
[06:27] <moonfmdesire> but will run it again
[06:27] <Jordan_U> moonfmdesire: You're welcome.
[07:35] <Elw3> Greetings, say does someone know where to setup network options for apt get? I have a a problem with timeouts and nothing  loading till them. Ideally i want reduce the timeout time but increase the retries to very high.
[07:52] <Jordan_U> Elw3:
[07:53] <Jordan_U> Elw3: ... Can you pastebin some example apt output that demonstrates the problem you're seeing? Are you on a particularly poor / unreliable internet connection?
[07:54] <Elw3> It stalls, what do you expect from that?
[07:55] <Jordan_U> Elw3: Is it "apt update" or "apt install" (/upgrade) that is causing more problems? Does the operation eventually complete after it times out and retries?
[07:58] <Elw3> booth, but i only care on install atm. The problem is that it doesnt retry fast and often enough. It looses connection, then waits minutes, then retries, and eventually gives up.
[07:59] <Jordan_U> Elw3: Do you have a particularly poor internet connection?
[07:59] <Elw3> Yes very.
[08:01] <Jordan_U> Elw3: https://wiki.debian.org/AptConfiguration (specifically "Acquire::http::Timeout "2";: sets the timeout for HTTP downloads
[08:03] <CoDeAmRo> guys i have a question please
[08:04] <Jordan_U> Elw3: Also, what version of Ubuntu are you using and do you get stalls with all applications / protocols or only some?
[08:04] <Jordan_U> CoDeAmRo: Ask away :)
[08:05] <Elw3> Well my netspeed is 7kbs, so everything internet stalls. But interestingly this doesnt happen if i for example boot to ubuntu 10 (which is still on my disk)
[08:05] <CoDeAmRo> is there away to connect my ubuntu screean on my smart tv wireless same with windows 10?
[08:06] <Jordan_U> CoDeAmRo: To be clear, you want to have whatever is on your screen in Ubuntu show up on your TV, is that correct?
[08:07] <CoDeAmRo> yes
[08:07] <CoDeAmRo> screen mirroring
[08:08] <CoDeAmRo> to view my ubuntu os on my tv
[08:09] <Jordan_U> CodeLyoko: Do you know what protocols your smart TV supports? Does it support "casting" as if it were a chromecast for example?
[08:10] <CoDeAmRo> miracast and intel widi
[08:15] <Jordan_U> CodeLyoko: https://github.com/albfan/miraclecast seems to be an option, but it's also not available in Ubuntu's default repositories and looks to be not very easy to use.
[08:16] <zmagii> I checked on Ubuntu Studio and it seems like the fswatch issue is there too. The flag --exclude ".*" on Ubuntu 20.04 with Xfce and Xubuntu 20.04 just excludes everything and can't be overwritten by --include "xyz"...
[08:16] <zmagii> Xubuntu was on a VM and Ubuntu Studio was on a separate computer as the main OS.
[08:17] <zmagii> So, maybe now is the time for the logical next question: What are good alternatives to fswatch?
[08:17] <zmagii> I found github/facebook/watchman, but it seems one has to build from source (which didn't work for me).
[08:19] <netcrash> I have 2 users on a machine , one is able to access the shared nfs permission that has perms 777 , the other can't , i can't figure out what is the issue. Any ideas?
[08:20] <Elw3> Jordan_U, it appears setting the timeout this way worked. but now whats the line for retries? I wonder if there is a file containing all possible flags. This cluttering options at all places is painfully annoying.
[08:21] <Jordan_U> Elw3: man apt.conf
[08:22] <Elw3> Oh i did not know you can use man on files that way. Interesting, thanks.
[08:23] <Jordan_U> Elw3: If you want to see all of your current settings (this doesn't include settings that *can* be set in a configuration file but currently aren't) you can run "apt-config dump" or presumably just "cat /etc/apt/apt.conf.*" .
[08:23] <matsaman> c/lastlog Elw3
[08:23] <matsaman> hrmmm, hitting c a lot lately
[08:25] <Elw3> Yes i did that, but the missing *can* is a showstopper for that dump.
[08:26] <Jordan_U> zmagii: inotify , or for certain things fanotify seem to be the main options. If you want a utilities you can use from a shell then use inotify-tools. If you're trying to add features to a program written in a certain language, that programming language probably has its own nice bindings for inotify / fanotify.
[08:33] <futureRich> i execute this command : apt-get install python, then i will be install python? i use 20.04 ubuntu with python2 preinstalled
[08:33] <futureRich> ?
[08:34] <zmagii> Jordan_U: Thanks, I'll have a look.
[08:34] <stephanie> futureRich, Ubuntu's python command is 'python3'
[08:34] <stephanie> 'python' doesn't exist
[08:34] <futureRich> stephanie: so i installed it with ‘apt-get install python'
[08:35] <stephanie> Python3 comes preinstalled
[08:35] <stephanie> You shouldn't be using Python 2
[08:35] <stephanie> It's a security risk
[08:35] <futureRich> stop
[08:35] <futureRich> i asked somethin
[08:35] <futureRich> g
[08:36] <stephanie> futureRich, sudo apt install python2.7
[08:36] <futureRich> there is python2 and python3 now but i installed python with ‘apt-get install python’. then there is 2 python2?
[08:36] <stephanie> futureRich, Yes there is multiple names for the same thing
[08:36] <futureRich> multiple name for samething
[08:36] <futureRich> there is only 1 python2 then?
[08:37] <stephanie> Some people may have used upgrade and not a clean install and have 2.7, 2.6 and 2.5 on their system
[08:37] <stephanie> Different versions of python have different features, for example something might have been depreciated in a newer python such as 2.7 and so the user installs 2.6
[08:38] <futureRich> but version is same —> python —version python2 --version
[08:38] <stephanie> Yes
[08:38] <stephanie> That's good
[08:38] <stephanie> Use python3 for python 3
[08:38] <stephanie> Not python
[08:38] <futureRich> then it is just different name?
[08:38] <futureRich> for python2?
[08:39] <stephanie> Python and python2 link to python2
[08:39] <stephanie> Python3 links to python3
[08:39] <futureRich> ah
[08:39] <futureRich> what is this command : apt-get install python?
[08:39] <futureRich> stephanie: ?
[08:39] <stephanie> futureRich, installs python2
[08:40] <futureRich> but 20.04 have python 2 already
[08:40] <futureRich> before apt-get install python
[08:40] <stephanie> No
[08:40] <stephanie> it doesn't
[08:40] <futureRich> then?
[08:40] <stephanie> 20.04 has python3
[08:40] <futureRich> no
[08:40] <stephanie> Yes 20.04 has python3
[08:40] <futureRich> 20.04 have python2
[08:41] <stephanie> if you have python2 then you've upgraded from 19.10 or earlier
[08:41] <futureRich> 20.04 have python2 and python3
[08:41] <stephanie> 20.04 clean installed has python3 only
[08:41] <futureRich> lol
[08:41] <stephanie> stephanie@stephanie-Latitude-E6330:~$ python2
[08:41] <stephanie> Command 'python2' not found, but can be installed with:
[08:41] <stephanie> sudo apt install python2
[08:41] <stephanie> stephanie@stephanie-Latitude-E6330:~$
[08:42] <futureRich> strange
[08:42] <futureRich> my computer have python2 preinstalled
[08:42] <futureRich> on 20.04
[08:42] <stephanie> Not strange, you've either upgraded or installed something that needs python2
[08:42] <stephanie> Maybe your drivers need it
[08:43] <futureRich> ok anyway thanks
[08:45] <futureRich> mac vs ubuntu, which is easier to use for noobs?
[08:45] <monojamoon|> should be mac! Otherwise they would be out of business.
[08:46] <monojamoon|> Free OS that is easy to use out of the box! Oh boy! Bye bye windows, bye bye mac!
[08:47] <Elw3> Eh, i find its getting harder to ise since 2012...
[08:47] <Elw3> *use
[08:53] <Jordan_U> futureRich: That depends a lot on what types of things you do with your computer, what you're used to using (even "noobs" have more lived experience with computers than they might realize, and with that some expectations for how things will look/work). There's no general answer that can be given to that question.
[08:56] <stephanie> Everyone should feel right at home using Ubuntu
[08:56] <stephanie> And if they don't they're irrelevent
[09:05] <Elw3> *sigh* now my joypad isnt working anymore. 3 buttons do nothing in jstest.
[09:10] <Elw3> Its a ps3 pad, one would assume they are widely spread enough so that their functioning is secure.
[09:30] <uidnull> if one of my administrators accidentally did an 'apt-get upgrade' instead of an 'apt-get update' and upgrading all the packages broke applications that can't yet use the lastest version is there a way to downgrade to where they were before upgrade without a backup?
[09:33] <Elw3> That raises the question where to get the old packages from.
[09:33] <uidnull> would be nice if the package manager had the ability to backup the old packages before upgrade
[09:34] <uidnull> not everyone has the ability to take a complete system snapshot or backup before upgrades
[09:35] <Elw3> If you never clean the apt cache they are still there. You can force a version too, but be warned, this will likely just fuck everything up.
[09:35] <uidnull> i mean the whole idea would be to provide a user friendly way to rollback without fucking everything up
[09:36] <uidnull> i believe this is a valid problem
[09:36] <Elw3> Indeed.
[09:37] <Jordan_U> uidnull: Please watch your language in this channel. Was this an upgrade to a new release of Ubuntu, or just updates within a given Ubuntu release? If the latter, what applications broke from what updates?
[09:37] <uidnull> Jordan_U: why are you singling me out when i wasn't even the one that started with it first
[09:38] <Jordan_U> uidnull: Because I didn't see Elw3's swearing until you meantioned it. They shouldn't swear here either.
[09:39] <uidnull> is that in the channel rules?
[09:39] <Elw3> Whups.
[09:39] <Elw3> Thats just how i speak actually.
[09:39] <uidnull> Jordan_U: what authority do you have to dictate how we speak here?
[09:39] <Jordan_U> uidnull: Yes, it is: https://wiki.ubuntu.com/IRC/Guidelines
[09:40] <Elw3> shut it uidnull , this is for technical help for a reason. Cluttering makes support hard.
[09:40] <uidnull> Elw3: you're the one that set the example
[09:41] <uidnull> you're both retarded
[09:41] <Jordan_U> uidnull: That is not acceptable language or behavior toward others in this channel.
[09:42] <Elw3> It did not occur to me that swearing exists. I am rizon too, no single line there would acceptable here.
[09:42] <Elw3> +be
[09:43] <Elw3> I claim its all typos.
[10:18] <bonhoeffer> i'm stuck trying to upgrade: "Please install all available updates for your release before upgrading."
[10:20] <bonhoeffer> get this: https://gist.github.com/tbbooher/c225338c011836bc4dd8336499da32c2
[10:32] <EriC^^> bonhoeffer: try apt-cache policy  mongodb-server
[10:34] <bonhoeffer> thanks
[10:34] <bonhoeffer> that just reports status?
[10:56] <tomreyn> bonhoeffer: this reports which apt sources provide a package named like this, which of them is currently installed, and which of them would be chosen for an upgrade based on your configured apt repository priorities and apt preferences.
[10:56] <bonhoeffer> ah -- thanks
[10:56] <tomreyn> (and i haven't seen the actual output on your system since it seems to have since been removed)
[10:57] <tomreyn> the output can become stale, too, it's based on when you last ran    apt update   to update the apt cache.
[11:17] <felixi> Hello. I have HP ProBook 455 G6. I downloaded the LTS .iso and booted it. It first loads Ubuntu & HP logo, but after a few minutes away only HP logo remains, and nothing to interact with. What to do?
[11:22] <tatertots> felixi: you fail to mention how you booted this ISO, does your computer have a DVD+/- R drive or?
[11:24] <tatertots> felixi: try a different version / edition and a different method of creating boot media
[11:25] <felixi> tatertots: i don't have an optical drive; I can only boot from usb
[11:26] <felixi> or memory card (if it is possible to boot from sd-card), but i don't have one rn
[11:28] <p0a> felixi: have you ever booted anything successfully?
[11:28] <felixi> I've tried an earlier version also, alas no luck. I tried 18.something before but no luck there either. No I haven't booted linux succesfully. I have tried manjaro and mint too
[11:29] <tomreyn> how did you create the bootable installer / live usb stick?
[11:29] <felixi> with balenaEtcher
[11:29] <tomreyn> is this ubuntu 20.04 desktop then?
[11:29] <felixi> yes
[11:29] <BluesKaj> 'Morning folks
[11:29] <felixi> hey BluesKaj
[11:30] <p0a> are you on windows?
[11:30] <felixi> atm, yes
[11:30] <BluesKaj> hey felixi
[11:30] <tomreyn> felixi: personally if this fails to boot i'd look into bios updates
[11:30] <BluesKaj> hey tomreyn
[11:31] <p0a> felixi: you can also try http://www.chrysocome.net/dd
[11:31] <spoonsearch> Hello, I installed Ubuntu 18.04 on a clean LVM disk, everything is inside the LVM even the /boot. After adding another Physical Disk to the LVM the system didn't boot
[11:31] <tomreyn> balena etcher should have worked
[11:31] <p0a> tomreyn: okay, I am not familiar with it
[11:32] <tomreyn> i'm only partially familiar with it, but so far it always worked for me.
[11:33] <tomreyn> felixi: bios updates can be relevant since this is an amd mobile platform which is somewhat new and i think it had some problems in the beginning.
[11:33] <felixi> sure, i'll look into those
[11:33] <p0a> tomreyn: as soon as the ubuntu logo shows up
[11:34] <p0a> can't you press F-something to show the messages instead?
[11:34] <p0a> it'd indicate where it gets stuck
[11:35] <tomreyn> p0a: you could hold down shift or keep hitting escape to bring up grub, and edit the grub menu options, passing different options to the linux kernel
[11:35] <tomreyn> !bootlog
[11:36] <tomreyn> but i'd start with the bios update.
[11:36] <p0a> tomreyn: yes, thanks, that's what I was trying to suggest.
[11:37] <tomreyn> spoonsearch: what's a 'clean LVM disk'? do you mean an LVM2 logical volume? a single one?
[11:39] <spoonsearch> I have 2x960GB SSDs, sda and sdb. I did a clean install of Ubuntu 18.04 with LVM on whole sda.
[11:41] <spoonsearch> Later I added sdb to extend the overall size of the root file system and rebooted. But the reboot failed with this error - grub error: disk 'lvid/...' not found. Entering rescue mode..
[11:41] <tomreyn> i see. so you installed to sda with every file system stored on LVM2 logical volumes backed by the sda PV.
[11:41] <spoonsearch> @tomreyn: Yes
[11:41] <tomreyn> and later you added sdb as a secondary PV to the same VG?
[11:42] <spoonsearch> tomreyn: Yes, I added sdb as a secondary PV to the same VG to extend the overall filesystem size
[11:42] <Assid> hi, is there a way to setup livecd without nfs root for a pxe environment
[11:42] <tomreyn> and then you extended the LV containing the root file system and the root file system itself.
[11:42] <Assid> i want to mimick a livecd boot
[11:43] <spoonsearch> tomreyn: Yes, exactly
[11:43] <tomreyn> spoonsearch: did you check that the LV ID and file system UUID remained the same after you extended those?
[11:45] <spoonsearch> Yes, I did check matched the IDs and it didn't match
[11:47] <spoonsearch> .
[11:47] <tomreyn> spoonsearch: well that would have hinted that the reboot would fail ;)
[11:49] <tomreyn> spoonsearch: so you need to run    update-grub    to update the grub configuration as well as    update-initramfs -u -k $(uname -r)   to update the initramfs with the new IDs.
[11:49] <spoonsearch> tomreyn However, I repeated the entire process again (clean reinstall, etc.) but this time I did `grub-install /dev/sda` and `grub-update` and now it reboots perfectly
[11:49] <tomreyn> spoonsearch: so there's not actually any problem you're trying to solve now?
[11:50] <spoonsearch> tomreyn Do I have to repeat the grub commands everytime I add, remove or resise the LVs?
[11:51] <oerheks> yes, the UUID differs for changed partitions
[11:51] <spoonsearch> Also what does this command do `update-initramfs -u -k $(uname -r)`? I didn't use this command still the system was able to reboot
[11:52] <spoonsearch> @oerh
[11:52] <spoonsearch> oerheks Thanks, now I understand
[11:54] <tomreyn> spoonsearch: "to update the initramfs with the new IDs" - if it wasn't needed then i guess the initramfs had already been updated or nothing in there refers to block device layers using their IDs (but rather device nodes - which did not change).
[11:55] <spoonsearch> tomreyn: Also one last thing, is it safe to but everything including the /boot inside LVM? I researched about it across the web but people are fighting about it
[11:56] <spoonsearch> According to my understanding if grub2 is used than it is okay, wanted some expert opinion on it.
[11:58] <tomreyn> spoonsearch: depends on how you boot,. it wouldn't work with uefi booting, there you'll need the uefi system partition to be a separate top level partition on some gpt partitioned disk.
[11:59] <tomreyn> also, with bios booting off gpt with the grub bootloader you'd need a bios-grub gpt partition
[12:01] <spoonsearch> I have checked my system is BIOS not UEFI, so I should be safe
[12:04] <spoonsearch> tomreyn: I just noticed, `fdisk -l` shows sda Disklabel type: dos, where as sdb Disklabel type: gpt, it isn't unusual or cause any problems?
[12:07] <tomreyn> spoonsearch: it's not unusual. whether it's going to cause problems depends on how you'll use it.
[12:08] <spoonsearch> Okay, thank you for help. Have a nice day :]
[12:09] <tomreyn> you, too, spoonsearch
[12:17] <ElTimo> Whose bright idea was it to make apt stop accepting regex altogether?
[12:17] <ElTimo> Because that's a stupid fucking idea.
[12:21] <tomreyn> !discuss | ElTimo
[12:21] <tomreyn> also !language
[12:23] <Sergiu> Hello, can someone help me with a tip How can I add ip to ubuntu 20.04 have any scheme ...
[12:25] <tomreyn> Sergiu: can you describe your goal or problem differently? this is not enough detail, yet.
[12:26] <Sergiu> tomreyn : I managed in the first phase to add the ip but the first reboot deleted them
[12:27] <tomreyn> i.e. synamic / static address assignment, type of network interface, network management instrumentation (network-manager, systemd-networkd, netplan, ifconfig, ...). is it ubuntu 20.04 desktop, server or core?
[12:27] <tomreyn> i meant "dynamic", not "synamic"
[12:29] <Sergiu> ubuntu 20 server
[12:29] <Sergiu> ip is static
[12:30] <Sergiu> I think I'm wrong somewhere or I still have not befriended ubuntu 20 because only 1 single IP sees me.
[12:30] <Sergiu> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
[12:30] <Sergiu>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
[12:30] <Sergiu>     inet 127.0.0.1/8 scope host lo
[12:30] <Sergiu>        valid_lft forever preferred_lft forever
[12:30] <Sergiu>     inet6 ::1/128 scope host
[12:30] <tomreyn> !paste | Sergiu: you were just muted here (temporarily, due to flooding)
[12:32] <tomreyn> Sergiu: there's #ubuntu-server for ubuntu server. you may need to read up on https://ubuntu.com/server/docs/network-configuration
[12:32] <ioria> Sergiu, cloud-init's fault probably : try this : https://www.linuxtechi.com/assign-static-ip-address-ubuntu-20-04-lts/
[12:33] <lionrouge> hi !
[12:33] <Sergiu> ok
[12:34] <Sergiu> thnx ioria & tomreyn
[12:34] <ioria> ok
[12:34] <tomreyn> you're welcome
[12:34] <lionrouge> I have Ubuntu 20.04 and looks like VLC is a bit buggy here. Sometimes it hangs on opening videos (which are not broken). I can't quit it from tray icon it creates. What's happening? It's always been the most solid videoplayer
[12:34] <Sergiu> I'm trying now to see if it'll work out.
[12:36] <BluesKaj> lionrouge, sometimes smplayer handles "difficult" videos more smoothly than VLC, but I have no idea why that is.
[12:37] <lionrouge> BluesKaj, I can open the very same videos with VLC perfectly well when it's in "good mood"
[12:38] <BluesKaj> heh
[12:38] <lionrouge> the only thing I can quit it right now is `kill -9`
[12:40] <lionrouge> btw, it was as buggy in 19.10 too
[12:45] <Sergiu> ioria : I did it, thank you for your help
[12:45] <ioria> Sergiu, no problem
[12:51] <frad> if I want to tune2fs a luks encrypted nvme drive to 0.5% i first have to umount the block where the encryption is, in my case, nvme0n1p2, correct? it hould be:sudo umount /dev/nvme0n1p2, right?
[12:51] <frad> then tune2fs
[13:12] <tomreyn> frad: 0.5% of what?
[13:13] <frad> tomreyn, of the total size of the disk
[13:13] <frad> reserved space
[13:13] <tomreyn> do yuo mean    -m reserved-blocks-percentage  ?
[13:22] <tomreyn> frad: if so, you can do it on a mounted file system (at least on ext4, i assume ext3 as well)
[13:24] <frad> yes tomreyn I mean -m. inside the luks encryption there is an ext4 filesystm
[13:25] <kubast2> Hey I am trying to figure out why my laptop(acer aspire f5-573g) has issues at times waking up
[13:26] <kubast2> it "calmed" down and it is not as bad as in ubuntu 19.10
[13:26] <tomreyn> frad: the fact that there's an exncryption layer below it is irrelevant for this task.
[13:26] <kubast2> but it still happens so it is a bit worse than 18.04 in 20.04
[13:26] <kubast2> I am on 20.04*
[13:26] <frad> after executing sudo tune2fs -m 0.5 /dev/nvme0n1p3 I get: Bad magic number in super-block while trying to open /dev/nvme0n1p3 it contains a crypto_LUKS file system
[13:26] <tomreyn> kubast2: what kind of issues?
[13:27] <kubast2> it has troubles waking up from sleep
[13:27] <kubast2> at times
[13:27] <tomreyn> frad: you need to apply the change to the container of the file system
[13:27] <kubast2> well it is not as bad as in 19.10 where every sleep never actually worked at all
[13:28] <tomreyn> frad: if the dmcrypt-luks encryption layer is below the file system then this may be located at /dev/mapper/nvme0n1p3_crypt
[13:28] <kubast2> as in the machine sleept just fine, but it takes a longer while to get it to wake up at times. It happens a lot less since 20.04
[13:28] <kubast2> on 19.10 it was so bad I left my pc for an hour or so and it was still frozen
[13:29] <kubast2> I will send the journactl -k -b -2
[13:30] <kubast2> https://paste.ubuntu.com/p/Dn5Q8M53Rn/
[13:31] <kubast2> wifi firmware crashes at times for me since some version of linux 5
[13:32] <kubast2> it first went on to crash on arch linux and then moved onto windows 10, might be the wifi card dying
[13:32] <frad> thanks again tomreyn I managed to o it!
[13:32] <frad> DO IT DAMMIT
[13:32] <tomreyn> kubast2: you have BIOS V1.18 10/21/2016, latest is V1.27
[13:32] <kubast2> the problem is I am no longer able to restart the wifi firmware/driver/wifi chip state by removing and modprobing the drivers related to wifi
[13:32] <tomreyn> frad: you're welcome
[13:32] <kubast2> oh okay
[13:33] <tomreyn> kubast2: if upgrading the bios doesn't help, you can also try this:
[13:33] <tomreyn> !acpi_osi
[13:34] <tomreyn> bios update: https://www.acer.com/ac/en/US/content/support-product/6739?b=1
[13:35] <kubast2> "1. Update following microcode2. Fix S3 wake up, USB BT yellow mark, CCD not work, some port fail." oh I see now I will install intel microcode update
[13:35] <kubast2> I didn't thought of this, the intel-ucode.img ramdisk
[13:35] <tomreyn> i don't know what "the intel-ucode.img ramdisk" is
[13:37] <kubast2> https://packages.ubuntu.com/pl/bionic/amd64/intel-microcode/filelist well on arch linux someone packaged in intel microcode updates and they load as a first/2nd initramfs
[13:37] <tomreyn> apparently you referred to a mechanism arch linux and gentoo use for live upgrading the CPUI microcode.
[13:37] <kubast2> yeah
[13:38] <kubast2> it is probablly why I avoided having said issue there never thought of this
[13:38] <kubast2> I will reboot to windows to get the updates
[13:38] <tomreyn> ubuntu attaches microcode updates to the initrd for early loading.
[13:39] <tomreyn> (so the result should be comparable, though i don't know which microcode version arch would ship.)
[13:40] <kubast2> thanks man
[13:40] <tomreyn> you're welcome
[13:41] <frad> tomreyn, I just moved 50 GiB of data from one ssd to another. Should I trim?
[13:41] <frad> I trimmed yesterday
[13:41] <tomreyn> frad: you could trim the source (if "move" means the data is no longer present there). but just waiting for the weekly trim will be fine, too.
[13:42] <frad> tomreyn, what I don't understand: if there is a weekly trimming, how come firefox and vlc start way faster only after I manually trimmed yesterday?
[13:43] <frad> I installed 2 months ago
[13:44] <tomreyn> frad: i do not know this., maybe you wrote a lot of new data onto or repartitioned the same storage since the latest automatic trim?
[13:45] <tomreyn> it could also be that the weekly trim doesn't apply. sometime they don't pass through all block device layers successfully.
[13:46] <tomreyn> i think there was a time when ubuntu installers didn't ensure you'd have trimming when using certain block device layers, such as dmcrypt-luks
[13:47] <frad> tomreyn, did not repartition, I wrote a lot of data. Both ssd and nvme are luks encrypted though...
[13:47] <frad> tomreyn, is there any command to know if the weekly trimming is on?
[13:47] <tomreyn> you could search your system logs for the timer and see whether it ran
[13:52] <tomreyn> example: journalctl --since 2020-06-01 | grep -E ' fstrim\[[0-9]*\]:'
[13:52] <frad> tomreyn, in /var/log I found 2 syslogs: 'syslog' and 'syslog.1' syslog.1 has 18000 lines opposed to 4000's syslog. what is the difference?
[13:53] <frad> I see what you did there :D
[13:55] <BluesKaj> syslog is more current than syslog1
[13:55] <tomreyn> syslog.1 would be the rotated log file after the first rotation (using the "logrotate" command).
[13:55] <oerheks> syslog.1 is the previous syslog, you might spor syslog.2 too
[13:55] <oerheks> c/spot
[13:55] <frad> thanks tomreyn, automated trimming takes place once a week
[13:56] <frad> I only have 'syslog' and 'syslog.1' but there are several 'syslog.2.gz' to 'syslog.5.gz'...
[13:56] <tomreyn> unfortunately, fstrim.service logs "Discard unused blocks" instead of referring to TRIM, which can cause confusion.
[13:56] <frad> why are some gz files and other reguler text files?
[13:57] <tomreyn> !man
[13:57] <tomreyn> read the manual for logrotate
[13:59] <tomreyn> .gz files are created by the "compress" command in log rotation configurations
[14:00] <tomreyn> nowadays you'll more likley work with systemd-journal than syslog, though
[14:00] <ivaat> hello
[14:00] <luc4> Hello! Anyone running on xorg with nvidia Quadro and proprietary drivers?
[14:00] <tomreyn> frad: you can in fact just remove syslog and its logs of you don't want two separate logging systems.
[14:01] <tomreyn> luc4: for polls, you could try #ubuntu-discuss.
[14:01] <ivaat> trying install ubuntu under hyper-v. i have issue when using hyper-v connect. ubuntu install window popups so overlay that i cannot see ncurse down buttons for yes and no / continue
[14:01] <tomreyn> or describe the problem or support question, if any.
[14:01] <ivaat> howto overcome this?
[14:02] <oerheks> ivaat, hyperv issue .. try ##windows?
[14:02] <frad> If I'm more likely to work with systemd-journal instead of syslog, how come syslog comes installed?
[14:04] <oerheks> maybe systemd-journal uses that log too?
[14:05] <tomreyn> no it doesn't.
[14:07] <frad> I mean, is syslog being deprecated?
[14:07] <tomreyn> syslog is a bit of a default which has been around for a long time, and systemd-journald is not a complete replacement for all applications you can cover with a syslog daemon, e.g. i'm not sure you can do centralized logging with systemd-journald
[14:08] <tomreyn> maybe, it's a bit early to tell, i think
[14:08] <frad> everything in motion, constantly
[14:09] <tomreyn> at snail speed, so you can usually adapt to it.
[14:10] <frad> lol
[14:10] <frad> even if I majored in literature and never studied computer science?
[14:13] <tomreyn> as long as you can study release notes, yes
[14:22] <Greenfrog> I have an HP laptop running Ubuntu 20.04 with UEFI. I discovered that i needed realtec wireless drivers to connect wireless to the laptop to the internet. The problem was i needed to turn off secure boot to install the wifi drivers. so i found out how without going into the bios, but the problem is secure boot turned itself back on and disconnected the wifi drivers installed.
[14:23] <Greenfrog> i understand there is a permenant way to shut it off in the bios, but i dont know how to get there and i have read others did and found no secure boot to turn off any help?
[14:26] <tomreyn> Greenfrog: do you know the exact HP laptop model? Rzunning this in a Terminal should reveal it:   journalctl -b | grep DMI:
[14:26] <sonicwind> Greenfrog, my HP uses F10 (or Esc) during startup to get into BIOS settings.
[14:26] <frad> there is no difference running as root with either 'sudo -i' or 'su -', correct?
[14:28] <tomreyn> environments may differ
[14:29] <tomreyn> also "su -" would prompt for the root, not the user password, and there is no root password on ubuntu by default.
[14:30] <Greenfrog> yes i run sudo -i
[14:31] <Greenfrog> i'll have to go get the model number its in another room
[14:31] <uidnull> hey sweeties
[14:32] <uidnull> nixos is going to overpower ubuntu
[14:32] <oerheks> !ot | uidnull
[14:32] <uidnull> !ot | oerheks
[14:33] <oerheks> uidnull, stop trolling, thanks
[14:33] <uidnull> shut up fag
[14:33] <uidnull> as in faggot
[14:33] <oerheks> !ops
[14:33] <uidnull> !ops
[14:33] <uidnull> can't block me i've got compromised vpn connections all day long
[14:33] <uidnull> you're stuck with me forever homos
[14:41] <tomreyn> Greenfrog: usually the easiest way to work on fixing such problems is to have the affected computer connected through a different internet access (such as ethernet or usb-ethernet or tethering through a smartphone). or if none of this is available to have the affected system next to a computer which can get online fine.
[14:46] <futureRich> if i update mojave to catalina, then data will be disappear?
[14:48] <oerheks> futureRich, yes/no/maybe, ask in the apple channels?
[14:48] <futureRich> oerheks: yeah but no one answer of it :(
[14:48] <futureRich> in the apple channel
[14:48] <MarkB2> Good morning.  Yesterday I was handed a nice little video card (ATI Radeon R5 430) which would be an interesting upgrade.  What's in the machine right now is a NVidia 9800GT.  Swapping cards... didn't work as expected (Ubuntu 18.04 started to boot then stopped with the display flashing on and off).
[14:49] <oerheks> well, universal answer; if you have no backup already, your data is not important.
[14:49] <Greenfrog> ok guess i over reacted to the issue, i got into the bios with f10 found secure boot and disabled saved changes and exited which began reboot. now the screen is saying rightly tha a change to secure boot is pending enter the code below and it gives 2020+ enter
[14:49] <Greenfrog> its rebooting now
[14:49] <futureRich> thanks oerheks
[14:49] <MarkB2> There is, I think, a way to set the system to use a generic driver until I can get the ATI driver installed.
[14:50] <oerheks> Greenfrog, reverse to the nouveaudriver, then switch cards
[14:50] <Greenfrog> please define more switch cards
[14:51] <oerheks> put the 9800 back in, go to driver settings in updates, etc
[14:51] <Greenfrog> ok
[14:51] <Amaranth> futureRich: It'll _probably_ be fine but if you're worried make a backup
[14:51] <MarkB2> ?? someone else is doing the same as I for replacing video boards??
[14:51] <Greenfrog> i thot you ment physically switch cards, ok got it
[14:51] <BluesKaj> MarkB2, you should disable the nvidia driver before switching cards
[14:52] <futureRich> Amaranth: thanks a lot :)
[14:53] <MarkB2> BluesKaj: I live to learn.  I ..guessed.. that perhaps Linux would detect a mismatch and fall back to a generic.
[14:53] <MarkB2> Here goes... thank you.
[14:53] <Amaranth> I've never lost data in a macOS upgrade and I run the betas but I also have backblaze on my mac :D
[14:54] <Greenfrog> canonical has realtech drivers that can be installed i have to request them because of licensing issue
[14:54] <Greenfrog> and they work well
[14:55] <Greenfrog> thanks i'll let you know if this finally fixes the issue
[14:57] <tomreyn> MarkB2: if you had not been using proprietary drivers which need to hardwire some settings before, you could indeed just swap your cards now.
[15:00] <MarkB2> tomreyn: Granted.  I could ..wish.. that NVidia would be a little more free about the insides of their chipsets... it's a balance between performance and cost.
[15:01] <MarkB2> But the same problem applies to the ATI card; ATI offers driver downloads but I did not see a link to driver sources.
[15:02] <oerheks> ati radeon/amdgpu are automatic loaded..
[15:02] <tomreyn> with ubuntu, if you're downloading graphics drivers from a manufacturer wwebsite you're most likely doing something wrong.
[15:02] <Amaranth> I don't think there is a reason to use the closed source driver outside of professional (CAD, etc) uses these days
[15:02] <Amaranth> And even that driver uses the open source kernel module
[15:04] <oerheks> i ran nouveau on nvidia for months, not bad at all
[15:04] <MarkB2> tomreyn: Canonical is tracking changes to the NVidia driver.  References to it occasionally pop up during a update/upgrade cycle.
[15:04] <BluesKaj> MarkB2, the xserver-xorg-video-ati generic driver is installed by default afaik
[15:05] <MarkB2> I also ran nouveau on the 9800GT .  Perhaps an older version.. but the performace looked like an old Windows 3.1 system.
[15:05] <BluesKaj> heh
[15:05] <MarkB2> This is starting to sound like all I need do is disable the NVidia driver, swap boards, and it'll "just work".
[15:06] <kk4ewt> best table covering https://www.harborfreight.com/solid-nonslip-drawer-liner-65565.html?_br_psugg_q=liner
[15:06] <MarkB2> Music to my ears.
[15:06] <kk4ewt> opps sorry
[15:06] <MarkB2> Back in a bit.
[15:06] <BluesKaj> MarkB2, not sure, but's worth a try
[15:16] <Greenfrog> ok, wifi is not making the change i expected, do you think i need to connect wired to access aditional drivers again to use the realtech dirvers?
[15:16] <Greenfrog> they did works before
[15:19] <Greenfrog> it says this device is using alternative driver then a check in a radio box says: using DKMS source for realtech wifi (open source)
[15:22] <jeremy31> Greenfrog: rtl8821ce?
[15:35] <amuro> What is the difference between sudo apt install and sudo apt-get install?
[15:36] <jeremy31> amuro: a few letters
[15:36] <oerheks> apt-get is the old way, ap is superiour
[15:36] <oerheks> https://itsfoss.com/apt-vs-apt-get-difference/
[15:59] <Assid> hi can someone help me with pxe boot for ubuntu live desktop  and pxe install for ubuntu server ?
[16:00] <Assid> without using nfs
[16:02] <oerheks> Assid, without NFS ? why?
[16:02] <oerheks> standard example with nfshttps://linuxhint.com/pxe_boot_ubuntu_server/
[16:03] <Assid> shouldnt it support http or something ?
[16:04] <oerheks> check that howto
[16:11] <sebtty0> Hi, here is a PC repair story: There were 2 random crashs in xubuntu 20.04. I startet memtest, frozen at 30%. I switched the RAM, CPU, Mainboard - same problem. Memtest still frozen at 30%. Ok last piece to change was power supply. No sucess still frozen. This was very frustrating. Then I started memtest86+ 5.01 from USB drive - no problem. ??? There was a problem in the integrated memtest86+ 5.01 of xubuntu 20.04! Same problem on another machine. Can anybody
[16:11] <sebtty0> please test his integrated memtest
[16:12] <oerheks> i always use memtest from the iso, not from grub2/ running system
[16:14] <ioria>  sebtty0 found this link but it was removed by the author : https://askubuntu.com/questions/1249240/integrated-memtest86-crashes-xubuntu-20-04
[16:15] <ioria>  sebtty0  maybe this : https://bugs.launchpad.net/ubuntu/+source/memtest86+/+bug/1877564
[16:17] <oerheks> uefi machine?
[16:17] <ipatrol> Ok, apparently my system is majorly broken because of a syntax change in Python between versions 3.6.8 and 3.6.9
[16:19] <sebtty0> no I boot legacy only no uefi
[16:20] <oerheks> ipatrol, what linux version?
[16:20] <sebtty0> 5.4.0-33-generic #37-Ubuntu SMP Thu May 21 12:53:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[16:20] <oerheks> !info python3 bionic
[16:21] <oerheks> !info python3 eoan
[16:21] <ipatrol> oerheks: upgrading from bionic to eoan
[16:21] <oerheks> so you would have 3.7.5
[16:22] <ipatrol> File "/usr/share/eric/modules/QScintilla/Editor.py", line 4575
[16:22] <ipatrol>     def addCompletionListHook(self, key, func, async=False):
[16:23] <ipatrol> async is now a reserved word
[16:25] <ipatrol> Honestly, as someone pointed out, adding keywords should have been held off until a minor version change
[16:34] <xbfrog> i fixed the wifi problem with realtech and ubuntu
[16:34] <xbfrog> thanks for your help :)
[16:40] <xbfrog> but i still have a curious question: if secure boot won't allow unsigned drivers to install, why coulndt realtec drivers for ubuntu be installed? were they not signed?  this makes no sense for realtec to release any unsigned drivers
[16:41] <Sven_vB> Is "never" a valid value for focal's systemd-logind's "IdleActionSec"? I cannot tell from the manpage at http://manpages.ubuntu.com/manpages/focal/man5/logind.conf.5.html
[16:44] <Sven_vB> xbfrog, I was under the impression that Secure Boot is only about which operating system the BIOS will load, and everything after that is up to the OS.
[16:44] <Sven_vB> firmware, rather than BIOS.
[16:45] <Assid> bah i give up.. nfs it is
[16:45] <Assid> but now i cant get the live desktop to popup it just shows the install option
[16:45] <kubast2> ls /snap/eclipse/48/jre/bin/java ls: cannot access '/snap/eclipse/48/jre/bin/java': No such file or directory; "No Java virtual machine was found after searching the following locations:"
[16:45] <kubast2> Hey there is no jvm in the snap for clipse
[16:45] <kubast2> eclipse
[16:46] <kubast2> ohhh
[16:46] <kubast2> I see
[16:47] <kubast2> so it takes jre from apt
[16:47] <kubast2> okay
[16:47] <kubast2> I see
[16:48] <kubast2> I thought installing it from ubuntu software would resolve java
[16:49] <amuro> Assid: are you trying to run liveCD on a laptop?
[17:38] <Gokturk-Away> How can I empty the btmp log file at /var/log/btmp ? size is so huge....
[17:40] <Jordan_U> Gokturk-Away: First, do you realize that it's probably that big because of hundreds of thousands of failed ssh attempts?
[17:41] <Gokturk-Away> yes
[17:41] <Gokturk-Away> is there a way to clear that file?
[17:42] <Jordan_U> Gokturk-Away: You can just rm it, but I'd recommend fail2ban or similar as well.
[17:44] <mamonetti> hi
[17:44] <Jordan_U> Gokturk-Away: Well, correction, you don't want to rm it because it won't come back if it's found to be missing. You can "echo | sudo tee /var/log/btmp" to replace it with a file that just has a single newline character.
[17:45] <mamonetti> which package contains the libraries used by glib-2.0 to connect to dbus? i got all the function headers by installing "libglib2.0-dev", but the linker can't find the references to some functions
[17:46] <Gokturk-Away> Ok, Jordan_U. Thanks for your help
[17:48] <Jordan_U> Gokturk-Away: You're welcome.
[18:04] <Gokturk-Away> Jordan_U: Thanks again. It worked. All empty now :)
[18:05] <Gokturk-Away> I've get rid of out 10 GB log files
[18:07] <Gokturk-Away> My second question: When I log in to SSH. It says *** System restart required *** Do I really re-start it when i see that message?
[18:26] <EriC^^> Gokturk-Away: yeah
[18:46] <dtux> i can ssh into a host on my LAN, but I can't connect via ssh:// in Files. It says "Connection refused by server". Anyone know what might cause that?
[18:55] <pavlos> dtux: do you have openssh-server installed on the remote system?
[18:59] <skyliner_369> is focal fossa a more complete overhaul of Ubuntu by Canonical?
[19:00] <dtux> pavlos: yes
[19:01] <ioria> dtux, i'am sure nautilus can 'ssh' something; i guess it uses 'sftp' instead , if enabled on the other side , but i could be wrong
[19:01] <ioria> *NOT
[19:01] <pavlos> dtux: just tried it, works on 20.04
[19:01] <dtux> ioria: sftp:// produces the same error FWIW
[19:02] <ioria> dtux, i see
[19:02] <dtux> pavlos: do you have sshfs installed?
[19:02] <ioria> dtux, can you try sftp from terminal ?
[19:03] <pavlos> dtux: no, just a remote system called xps I go to Files, Other Location, at the bottom type ssh://xps it asks for user/pw and I'm in
[19:04] <dtux> ioria: ya, tho i'm not too familiar with sftp cli, so it might take a sec.
[19:04] <dtux> pavlos: hmmm
[19:05] <BeavisOnFire> Hi
[19:05] <ioria> dtux, sftp user@ip
[19:05] <BeavisOnFire> Any idea why I can't boot my Ubuntu MATE live CD on a Dell E7470 ? My ISO is ok and works on other computers. Ubuntu proper works on it as well.
[19:06] <BeavisOnFire> I get a black screen once I choose "try Ubuntu MATE"
[19:07] <dtux> interesting... so, it works if I use the IPv4 address, but not IPv6 (I want to use a hostname that resolves to IPv6)
[19:08] <pavlos> dtux: do you have this, sysctl net.ipv6.conf.all.forwarding=1
[19:09] <dtux> pavlos: it's currently set to 0
[19:10] <dtux> enabling it doesn't seem to help
[19:11] <ioria> dtux, you need to run sysctl -p
[19:12] <dtux> ah
[19:12] <pavlos> sudo netstat -pant|grep sshd ... do you have tcp6 line?
[19:13] <mkquist> hello - quick one - is there anything 'wrong' or possibly bad about having mounted drives changed to a user owner instead of root?  Or does it matter at all?
[19:14] <dtux> ioria: i haven't noticed a different behavior after doing that
[19:14] <dtux> pavlos: no, there's no output from that
[19:14] <EriC^^> mkquist: is it just a data mounted filesystem?
[19:15] <EriC^^> persnal stuff
[19:17] <mkquist> EriC^^: yes, its on a personal computer (not enterprise, not a server)
[19:20] <EriC^^> mkquist: if it's just personal data on that particular filesystem then the most harm that can happen is if somehow your user account is compromised also the data would be too, by changing root to your user
[19:22] <mkquist> wrote a script to write files to mounted drive but cant get it to create file without running it as root.  How can I get it to write to mounted drive.  Chowning the drive to me doesnt work either.
[19:22] <mkquist> streamripper actually
[19:23] <EriC^^> mkquist: paste the mount | grep /mounted/path
[19:24] <EriC^^> mkquist: paste the  output of "mount | grep /mounted/path"
[19:25] <pavlos> dtux: install net-tools on remote and try the netstat command again ... you should have this line, tcp6  0  0 :::22  :::*  LISTEN      674/sshd: /usr/sbin
[19:28] <dtux> pavlos: the remote system is clear linux (not ubuntu)... if the goal is to check that i can connect to it via IPv6, i can `ssh ipv6:address` successfully from the terminal
[19:29] <pavlos> dtux: ok
[19:31] <ioria> dtux, but you cannot  sftp ipv6:address ?
[19:33] <mkquist> EriC^^: no output on that
[19:33] <dtux> no, it (sftp -6) gives "subsystem request failed on channel 0
[19:33] <dtux> Connection closed."
[19:33] <ioria> dtux, quote from manpage  : 'IPv6 addresses must be enclosed in square brackets to avoid ambiguity'
[19:34] <EriC^^> mkquist: type "mount" and pastebin the output somewhere
[19:35] <ioria> dtux, e.g. :  sftp [fc00::1]
[19:35] <dtux> ioria: i've been trying both... sry should've mentioned that (without the brakcets i get "ssh: Could not resolve hostname 2600: Address family for hostname not supported" -- the ipv6 begins with 2600:)
[19:37] <pavlos> mkquist: what's the mount point, eg /mnt/mydata ...... then mount | grep mydata
[19:48] <mkquist> http://dpaste.com/29RKTX9
[19:50] <pavlos> I converted my 10.0.0.38 to ipv6 and sftp connects, sftp pavlos@::ffff:a00:26
[19:50] <EriC^^> mkquist: that looks like an ntfs/fat filesystem, so it doesnt really save permissions or have them, they're fake permissions set upon mounting, you can mount it with different options to get different permissions
[19:51] <mkquist> EriC^^: of course, I shouldv'e caught that, it is of course ntfs
[19:51] <mkquist> EriC^^: thanks for that... silly me
[19:52] <EriC^^> mkquist: no problem
[19:55] <mra90> how to free disk space from grub
[19:55] <mra90> I can not ls
[19:55] <mra90> ls hda1 returns invalid file name
[19:56] <pavlos> mra90: df | nc termbin.com 9999
[19:56] <mra90> pavlos, df command unknown
[19:56] <mra90> I am in grub menu
[19:56] <EriC^^> mra90: try to boot into recovery mode from grub then drop to root shell then type "mount -o remount,rw /" and remove whatever
[19:57] <EriC^^> mra90: grub > advanced options > recovery kernel
[19:57] <mra90> how to boot into recovery mode?
[19:57] <mra90> I am afraid my disk is full ;/
[19:57] <EriC^^> it should work as there are not many services and stuff
[19:58] <EriC^^> if that doesnt work you can always try putting in the grub linux line "init=/bin/bash" and that should really simplify the startup process
[20:01] <frad> my laptop has 2 SSDs. On a terminal, how do I cd to the second ssd? Right now I cano only access it with thunar
[20:01] <frad> it is not listed under media
[20:01] <mra90> I can not enter recovery mode
[20:01] <EriC^^> frad: is it listed in 'sudo parted -ls' ?
[20:02] <EriC^^> mra90: try pressing e in grub over ubuntu, replace 'quiet splash' in the linux /boot/vmlinuz line with 'init=/bin/bash' and press f10 to boot
[20:03] <frad> yes EriC^^ it is there. Note that both of my ssds are luks encrypted
[20:04] <EriC^^> frad: can you pastebin the output?
[20:06] <mra90> EriC^^, I have problems to get into recovery mode
[20:06] <mra90> sometimes I can enter it sometimes black screen ;/
[20:07] <mra90> they say left shift or exc during boot can get me to recovery mode
[20:12] <EriC^^> mra90: try the method above with init=/bin/bash
[20:13] <mra90> EriC^^, the problem is I can not even eter any console
[20:13] <mra90> I see ubuntu is loading and then black screen
[20:13] <mra90> sometimes I can enter but most I can not
[20:14] <mra90> esc to get into BIOS?
[20:14] <EriC^^> mra90: im confused, you added init=/bin/bash?
[20:14] <mra90> no didn't have a chance
[20:14] <EriC^^> mra90: hold shift when the pc boots to get grub
[20:18] <mra90> ok I managed to get into recovery mode
[20:19] <mra90> should I go to "clean" now?
[20:23] <mra90> ok I freed some memory end it works now :)
[20:27] <mra90> now I can fix the original problem
[20:28] <mra90> I have an exteranl flash disk > 1tb it constantly "reconnects"
[20:28] <mra90> making it unusable
[20:28] <mra90> it only hapens on Ubuntu (windows is OK)
[20:28] <mra90> any idea how to fix that?
[20:30] <oerheks> check the filesystemtroubleshooting wiki?
[20:37] <mra90> hmm suddenly it is stable oO
[20:37] <mra90> strange
[20:45] <aardvark__> I have a I want to connect to one of my servers using ssh with the -X (for xwindows) and am getting the error: venues/readMe,v - when I actually try and do anything that needs the X - what do I ned to do
[20:50] <dtux> pavlos: it seems that nautilus basically requires SFTP, and my server disabled SFTP by default. so adding "Subsystem sftp ..." to the server SSH config got things working
[20:56] <pavlos> dtux: glad you got it working
[21:30] <moonfmdesire> Hi, I am trying to set up both monitors to be 'tear-free' for video playback, how would I do this?
[21:35] <moonfmdesire> Further, is there a way to set it up at boot such that I would not have to invoke the tear-free command each time I need to be tear-free?
[21:42] <Jordan_U> moonfmdesire: What GPU do you have? ("lspci | grep VGA") What happened when you tried to play videos with Ubuntu's default configuration? What have you done to try to get it tear-free?
[21:42] <moonfmdesire> Jordan_U, I have an RX 560 (4GB) and I use AMDGPUPRO drivers (for work).
[21:43] <moonfmdesire> Jordan_U, The drivers are for video editing, it is a requirement.
[21:44] <moonfmdesire> Jordan_U, I think I got the command: xrandr --output HDMI-A-0 --set TearFree on
[21:44] <moonfmdesire> Jordan_U, For one of the monitors
[21:44] <moonfmdesire> Jordan_U, Now if I can get this to work at boot so I do not have to bother each time...
[21:45] <moonfmdesire> Jordan_U, To identify monitors< i run:  xrandr --query
[21:45] <moonfmdesire> Jordan_U, Does that sound right to you?
[21:48] <Jordan_U> moonfmdesire: It looks like that option can also be set in your Xorg.conf or Xorg.conf.d/ : https://wiki.archlinux.org/index.php/AMDGPU#Tear_free_rendering .
[21:49] <Jordan_U> moonfmdesire: Another option to try is switching to Wayland rather than Xorg, since Wayland is inherently tear free. I'm not sure how compatible the rest of your workflow / applications are with Wayland though.
[21:50] <moonfmdesire> Jordan_U, Me neither. Maybe I had better accept this annoyance of setting tear free each time for now because I do not want to break anything.
[21:51] <Jordan_U> moonfmdesire: As I said first, it seems like it's a simple Xorg.conf option as well. You should be able to get tear free display just fine from boot with that.
[21:51] <moonfmdesire> Jordan_U, Can you guide me as to how to do this?
[21:55] <Jordan_U> moonfmdesire: Yes. To start, please pastebin the output of "ls /etc/X11/xorg.conf.d/" , "cat /etc/X11/xorg.conf.d/*", and if it exists the contents of /etc/X11/xorg.conf .
[21:56] <Jordan_U> moonfmdesire: Please also post a link to whatever instructions you followed to install AMDGPU Pro.
[21:58] <moonfmdesire> Jordan_U, Both of the first command get: No such file or directory
[21:59] <moonfmdesire> Jordan_U, And for the other: https://www.amd.com/en/support/graphics/radeon-500-series/radeon-rx-500-series/radeon-rx-560
[21:59] <Bashing-om> moonfmdesire: Jordan_U: ls -al /usr/share/X11/xorg.conf.d/*.conf ?
[21:59] <Jordan_U> Bashing-om: Thanks, I didn't know that the path had moved.
[22:00] <Bashing-om> Jordan_U: As of 18.04 :)
[22:00] <moonfmdesire> Jordan_U, https://pastebin.com/GQ80BBGK
[22:01] <moonfmdesire> Jordan_U, Looks like there are now drivers for the newer version of Ubuntu.
[22:01] <moonfmdesire> Jordan_U, That was not there a couple of weeks ago.
[22:03] <Jordan_U> Bashing-om: Are you willing to take over with moonfmdesire? I haven't configured Xorg in years. I'm pretty sure we just want to add 'Option "TearFree" "true" ' , as per https://wiki.archlinux.org/index.php/AMDGPU#Tear_free_rendering .
[22:03] <moonfmdesire> Jordan_U, There is also this wayland thing...
[22:04] <Jordan_U> moonfmdesire: Wayland is easy to try, just select the Wayland session option at the login screen. If it doesn't work then you can just switch back to Xorg the same way. That said, I think that the TearFree option will also work for you.
[22:05] <moonfmdesire> Jordan_U, Ahh, okay. Thanks.
[22:05] <moonfmdesire> Jordan_U, I hope to switch to nvidea soon, maybe that will make the driver/tear situation a bit easier.
[22:06] <Jordan_U> moonfmdesire: Please pastebin the contents of /usr/share/X11/xorg.conf.d/00-amdgpu.conf and /usr/share/X11/xorg.conf.d/10-amdgpu.conf .
[22:06] <Bashing-om> Jordan_U: sure - I can take up the light work :P
[22:08] <moonfmdesire> Jordan_U, "Permission Denied"
[22:08] <Jordan_U> moonfmdesire: I dislike Nvidia because they make things harder for the open ecosystem and don't provide open specifications for their hardware, let alone open drivers. Even AMD GPU Pro consists of mostly open code, and all of the kernel mode code is totally open. Intel is the best in regard to openness, but I understand if integrated graphics doesn't quite cut it for professional video editing :)
[22:08] <Jordan_U> Bashing-om: Thanks.
[22:09] <moonfmdesire> Jordan_U, I would love to just use Libre, Stallman-ized video editors, but we are not there yet.
[22:09] <moonfmdesire> Jordan_U, Even Blender uses opencl
[22:10] <moonfmdesire> moonfmdesire, One day I will sing the "Free Software Song" when I fire up a video editor
[22:11] <moonfmdesire> Jordan_U, So it is still, "Nvidea, F--- You!"?
[22:11] <moonfmdesire> Jordan_U, I thought nvidea learned
[22:12] <Jordan_U> moonfmdesire: They have not learned in any way.
[22:12] <moonfmdesire> ugh
[22:12] <moonfmdesire> Linus needs to do more than swear at them.
[22:13] <Jordan_U> moonfmdesire: That's getting a bit offtopic for this channel, and even the partially censored swearing is frowned upon here.
[22:13] <moonfmdesire> okay, thanks for your help!
[22:18] <tomreyn> Jordan_U: i wouldn't say that /etc/X11/ moved to /usr/share/X11/ but rather that the latter contains defaults which can be amended by custom configurations in /etc/X11/ (and i think by some undocumented location in users' home directory, too)
[22:19] <tomreyn> Jordan_U: (i know you didn't claim otherwise)
[22:20] <Jordan_U> tomreyn: Good to know, thanks.
[22:56] <kinghat> is there a terminal/ncurses version of dirstat?
[22:57] <tomreyn> kinghat: ncdu
[22:58] <tomreyn> consisting of "nc" as in "ncurses" and ... you'll bet the rest
[22:59] <kinghat> ill check it out, thanks tomreyn!
[23:00] <blogten> is anyone here running a modern ubuntu on a macpro1,1 (32 bit efi)?
[23:06] <kinghat> tomreyn: do you know if i can view outside of the home dir?
[23:08] <kinghat> or does it just scan the dir where you execute it from?
[23:08] <kinghat> ah, looks to be the case
[23:09] <blogten> I'm having some trouble with an Ubuntu 20.04 LTS system.  for some reason, some pci devices have their PCI link speed downgraded.  to the extent possible, I've verified the slot configuration in the bios corresponds to what the cards are and what they expect to have.  what is a good resource to figure out why this downgrading is happening?
[23:10] <Jordan_U> blogten: Have you looked through the output of "dmesg" for anything that seems related?
[23:10] <blogten> Jordan_U yes, that's how I found it
[23:12] <blogten> Jordan_U in dmesg, at about 2 seconds into the boot sequence, it says a device is downgraded because of some other device.  the conflict seems to be between an nvidia card and some i/o device connected to a cpu.  what's strange is that the nvidia card is not connected to the cpu handling i/o (cpu1).  upon looking with lspci, I found several devices
[23:12] <blogten> have their speed downgraded.
[23:14] <Jordan_U> blogten: Do you still have OSX on this machine? If so, is it able to use the full speed of these devices?
[23:17] <blogten> Jordan_U: two different machines.  the MacPro1,1 system still has OS X on it.  the one with the pci issues is a supermicro box
[23:18] <blogten> Jordan_U: specifically, the supermicro is the one with the text mode grub issue from the other day that we resolved
[23:33] <tomreyn> !mna | kinghat
[23:34] <tomreyn> !man | kinghat
[23:35] <tomreyn> kinghat: the SYNOPSIS section of this and every man page tells you how you can run the command, how you can pass arguments to it, and sometimes which ones, too
[23:36] <blogten> Jordan_U : some progress, it looks like the C602 chipset in this motherboard is only PCIe 2, so insisting on PCIe 3 results in downgrading to PCIe 1 (ouch).
[23:36] <futureRich> i don’t know i must use mac or ubuntu?
[23:37] <tomreyn> futureRich: we don't know what you must or must not do either.
[23:38] <futureRich> ubuntu —> free, mac —> easy
[23:39] <tomreyn> we only do ubuntu support here, so that's all we can help you with here.
[23:39] <futureRich> ah
[23:39] <futureRich> ok