[00:05] <piraye> hello!
[00:06] <FishBone000> hi
[00:06] <piraye> I trying to compile my code, and got this error
[00:06] <piraye> make[1]: Leaving directory '/home/sevilay/Documents/apertium-ambiguous/src'
[00:06] <piraye> Makefile:389: recipe for target 'all-recursive' failed
[00:06] <piraye> make: *** [all-recursive] Error 1
[00:07] <piraye> I am using ./autogen.sh, ./configure , make
[00:08] <piraye> just that happened in my pc, we try it in another pc and worked
[00:08] <piraye> please, could you point me?
[00:09] <FishBone000> no idea :( have you used sudo?
[00:09] <piraye> no
[00:09] <FishBone000> maybe you shall have a try
[00:10] <FishBone000> though guess it won't make a difference since it's just make command, not make install
[00:15] <piraye> yeah
[00:21] <FishBone000> I installed jre 8u211 and jdk 8u211 both to /usr/java/ with .tar.gz, under ubuntu 18
[00:21] <FishBone000> But javac and java command still can not be found
[00:22] <FishBone000> I followed the installation instruction in java official website.
[00:28] <escalant3> why not installing with `apt-get install openjdk-8-jdk` ?
[00:43] <FishBone000> because i guess installing it in the way java.com introduced is better
[00:43] <FishBone000> and i remember that I installed it with apt-get once, but didn't work either.
[01:00] <Hell-Razor> Hey I just upgraded 19.04 and I am gett a 503 from _all_ the update servers with apt update... Is something going on with the repos?
[01:02] <ahi2> try a different update mirror
[01:02] <ahi2> oops nevermind
[01:02] <Hell-Razor> Like which?
[01:02] <Hell-Razor> This is a fresh install, not sure why I would be getting a 503 across the board lol
[01:02] <ahi2> you said all of them gave the 503 error
[01:03] <Hell-Razor> Yeah its strange
[01:03] <hggdh> Hell-Razor: works for me on the main archive
[01:04] <ahi2> i once had an update issue because my bios clock time was changed but thats a diff story
[01:04] <Hell-Razor> hggdh: Strange
[01:06] <ahi2> Hell-Razor, can you ping a website?
[01:06] <Hell-Razor> hggdh: https://nopaste.xyz/?9c9a0ff5c3556375#RpFr6+6BKR7xufc163y2HxSWZDqajFFGAbAncBQmWBs=
[01:06] <Hell-Razor> Im on it right now
[01:09] <Hell-Razor> Im guesing one of the load balancers had a heart attack? \o/
[01:10] <hggdh> Hell-Razor: yes, interesting. Try another archive. If still failing, you may try #canonical-sysadmin, or #launchpad
[01:10] <Hell-Razor> hggdh: so those arent ubuntu servers?
[01:11] <Hell-Razor> Its a 503 so its a remote, not local issue. I dont think theres much I can really do besides wait or ping others and bug them
[01:18] <Hell-Razor> hggdh: Yeah something is really screwed up with my repos... Like git-core isnt even known
[01:20] <Hell-Razor> I am very confused how a install can be this fubar right off the bat
[01:40] <Keres> how do you enable tv.youtube.com with chromium?
[01:45] <Bashing-om> !details | Keres
[01:52] <leftyfb> Keres: you type https://tv.youtube.com into your chromium web browser.
[02:02] <sappheiros> what does it mean when you put in a CD-R and lubuntu says "location is already mounted"?
[02:08] <guiverc> sappheiros, a little more background maybe helpful, is it in response to a `mount` command? or what did you try/do that caused it?  (and which release of lubuntu?)
[02:19] <sappheiros> guiverc: 18.10, checking a stack of CD-R to see what's on them. for most the data loaded properly, ejected disc, put in next one, etc. for three of the ~8 CD-R i get this 'location already mounted' error
[02:20] <sappheiros> all i did was eject a disc and put the next one in
[02:21] <guiverc> sappheiros, i don't know, possibly you were too quick in inserting the next cd (as it hadn't finished the housekeeping of the prior eject so location was still in-use)
[02:22] <sappheiros> is there a command to use in terminal to see if CD-R tray is free to load next CD?
[02:24] <sappheiros> guiverc: you may be correct. all three appeared to load fine this time as blank CD-R -- if they are in fact blank ...
[02:24] <guiverc> i'd just try it slower (1/4 of a second slower will probably fix it; though 1/2 second maybe better; you'll learn what is required for your hardware; and that delay will be faster than a command anyway)
[02:25] <guiverc> i was assuming with data on them (& closed sessions), blank take longer to be recognized (and if not recognized eject will take longer if it's still trying to recognize them)
[02:42] <Keres> i just installed ubuntu studio 19.04 and chromium. youtube.com works, but tv.youtube.com is giving me "video format not supported"
[02:47] <leftyfb> Keres: it works perfectly fine for me
[03:01] <Keres> its funny, the live previews work on tv.youtube.com but when i try to play anything, it sais "this video format is not supported"
[03:02] <mia> is it possible to run an existing windows installation as a VM under ubuntu?
[03:02] <mia> Sometimes I need to use already installed windows software and switching back and fourth is a pain
[03:08] <tomreyn> mia: most virtualization solutions have a way for migrating physical installations (which are directly to your existing physical disks, like ubuntu is) into a VM. this process is called physical-to-virtual or P2V. many virutalization solutions also support using / booting existing physical storage installations directly in a VM, without migrating / reformatting the data into a virtualization specific sotrage format beforehand.
[03:11] <tomreyn> not all guest systems will allow these uses, however. some versions of windows are particularly known to be picky about being moved to "new / different hardware" (i.e. the hardware virtualizations would claim to provide). obviously, such details are beyond the scope of #ubuntu.
[03:12] <tomreyn> here's an example of how you can use an existing physical OS installation without P2V in virtualbox: https://www.virtualbox.org/manual/ch09.html#rawdisk
[03:13] <tomreyn> actually it's documentation on doing so, not an example of doing it with virtualbox, but i'm using virtualbox as an example here.
[03:13] <tomreyn> you can do the same with KVM / Qemu and other virtualization solutions.
[03:16] <tomreyn> VirtualBox P2V (actually not supported, but possible): https://www.virtualbox.org/wiki/Migrate_Windows
[03:20] <tomreyn> P2V using KVM/Qemu with the libvirt instrumentation (which is also used by the virt-manager GUI): http://manpages.ubuntu.com/manpages/bionic/man1/virt-p2v.1.html
[03:47] <duoi> hey
[03:47] <duoi> id like to set a global dns setting
[03:47] <duoi> that is connection agnostic
[03:47] <duoi> how can i do this
[03:48] <guiverc> duoi, https://help.ubuntu.com/lts/serverguide/dns.html.en
[03:57] <tomreyn> duoi: what guiverc suggests here is running your own dns server, which can be a good choice, but is orthagonal to having global DNS configuration defaults. See the descrition of the "dns" option in the "[main]" section of the network manager configuration file for how resolving hostnames to IP addresses is done on ubuntu desktops by default, and how you can modify it:   https://manpages.ubuntu.com/manpages/bionic/en/man5/NetworkManager.conf.5.html
[04:26] <bryanroderyck> hi can somebody help me to format my usb please?
[04:26] <duoi> tomreyn so if im understanding that correctly, i would just need to set it in `resolv.conf` and it would apply globally as default, unless otherwise specified for a particular connection?
[04:29] <guiverc> bryanroderyck, i find `gnome-disks` the easiest; click thumb-drive to get it highlighted, the click gear-logo * choose format
[04:30] <tomreyn> duoi: you could set dns=none in the network mnanager configuration file, remove the /etc/resolv.conf symlink, create a /etc/resolv.conf condfiguration file which (this is my understanding from reading this manual page) would then provide the default nameservers for all network manager connection profiles.
[04:30] <bryanroderyck> gnome disk doesnt detect my usb !
[04:30] <tomreyn> duoi: i haven't tried this myself, so this is just me interpreting what i'm reading there.
[04:34] <bryanroderyck> guiverc
[04:34] <guiverc> bryanroderyck, the device could be faulty (or dying & still sometimes works); or having trouble with your hardware because of other issue (power or anything). i'd test it on another box, if it works there it maybe a dying-device so maybe not trust with valuable data.  does `lsusb` recognize it's connection (esp. -v verbose)
[04:40] <tomreyn> bryanroderyck: run    journalctl -fn0   and keep it running, then disconnect the usb storage device, wait 3 seconds, then reconnect it, then press ctrl-c on the terminal and post, to https://paste.ubuntu.com , what was printed on the terminal.
[05:21] <bryanroderyck> there a lot of line in the report ..ubuntu.paste is not working
[05:22] <tomreyn> bryanroderyck: how does https://paste.ubuntu.com not work for you?
[05:24] <bryanroderyck> it takes along time  sending request there so many line in the page of  the terminal
[05:24] <bryanroderyck> can i send only the bottom?
[05:25] <bryanroderyck> it says bad gateway .The proxy server received an invalid response from an upstream server.
[05:25] <tomreyn> bryanroderyck: which command did you run in the temrinal? it should only have returnd some 10-20 lines really
[05:25] <bryanroderyck> journalctl -fn0
[05:27] <mouses> bryanroderyck: an alternative - run journalctl -fn0 > file.txt - unplug USB device, wait 3 seconds, replug USB device.  Then pretty control-c on that terminal and type cat file.txt | pastebinit
[05:27] <bryanroderyck> wait i do it again ..quicker
[05:27] <tomreyn> okay, this looks fine. maybe do it again and log it to a file instead, then post this file:
[05:27] <tomreyn> what mouses said
[05:27] <mouses> s/pretty/press :)
[05:28] <mouses> give it at least a few seconds after plugging it back in before you control+c though
[05:28] <mouses> I'd say 10 seconds would be plenty
[05:32] <bryanroderyck> https://paste.ubuntu.com/p/JkcDsPTP9r/
[05:33] <bryanroderyck> i dont know why it as this socket error
[05:35] <bryanroderyck> mouses
[05:36] <mouses> bryanroderyck: local network/router settings, ISP issues, routing issues, etc
[05:36] <mouses> try this
[05:36] <mouses> bryanroderyck: cat file.txt | nc termbin.com 9999
[05:37] <bryanroderyck> https://termbin.com/ujmc
[05:38] <mouses> bryanroderyck: and this is when plugging in a USB storage stick thingie?
[05:38] <bryanroderyck> yes
[05:39] <mouses> does the drive work in other USB ports on same computer?  Have you tried it on another computer?
[05:39] <tomreyn> bryanroderyck: that's still the issue i pointed oyu to yesterday
[05:39] <bryanroderyck> yes i just formart it fat32 on another pc
[05:40] <mouses> bryanroderyck: silly question, what hapepns if you unplug it, reboot, and then plug it back in?
[05:40] <tomreyn> mouses: the log spam is not related to this usb storage
[05:40] <mouses> tomreyn: yeah, nothing useful there :(
[05:41] <bryanroderyck> ok i try it now
[05:41] <mouses> tomreyn: I missed his issue yesterday so I am coming into this likely more ignorant than you - where did you all leave off/what was found?
[05:44] <tomreyn> bug 1767968
 ok what can be done to prevent it overheating if possible
 bryanroderyck: see "for those looing for a quick fix" on comment 7 of this bug report.
[05:46] <mouses> and this relates to his USB stick not mounting?  I am lost
[05:46] <tomreyn> no, it does not
[05:47] <tomreyn> it relates to the log spam and the system having a generally high cpu load
[05:47] <mouses> ahhhhh, okay - thanks :)
[05:47] <tomreyn> we did not discuss the usb stick not mouinting yesterday
[05:48] <tomreyn> it's an issue i was not aware of so far
[05:50] <tomreyn> mousies: note this is an i386 installation on 18.04 on old hardware with a 2014 (?) bios (the latest bios available for this hardware). i had recommended amd64 but this seems to cause even higher cpu overhead due to the bluetooth issues (which seem to be the root cause for the log spam).
[05:50] <mousies> tomreyn: oh wow, so a hot bed of troubles and issues
[05:51] <tomreyn> i'd definitely try to solve those high cpu load issues first. on amd64.
[05:51] <mousies> yeah, that seems more serious than a USB stick
[05:51] <mousies> bryanroderyck: you still with us?
[05:55] <bryanroderyck> yes i am
[05:56] <bryanroderyck> my external mouse not working
[05:57] <mousies> bryanroderyck: Starting to think you have hardware that is just failing
[05:57] <mousies> but as tomreyn said - i'd try to solve the high cpu load issues first
[05:57] <mousies> could be system overheating
[05:57] <bryanroderyck> that why i want to update firmware
[05:58] <mousies> bug 1767968
 recommend me to update
[05:58] <tomreyn> bryanroderyck: you are on the latest available system firmware already.
[05:58] <mousies> did you see comment 7, as tomreyn mentioned?
[06:00] <bryanroderyck> it can be bluetooth device?
[06:03] <bryanroderyck> can you help with the bluetooth please?
[06:04] <mousies> bryanroderyck: follow the instructions in comment #7 of the bug report we just linked
[06:04] <mousies> then reboot
[06:05] <tomreyn> bryanroderyck: here's a direct link, in case it helps focusing: https://bugs.launchpad.net/debian/+source/bluez/+bug/1767968/comments/7
[06:05] <tomreyn> mousies: btw. i just added remote bug watches to that bug report.
[06:05]  * mousies nods
[06:12] <bryanroderyck> how to check that it work now
[06:12] <bryanroderyck> my mouse is working
[06:15] <bryanroderyck> can you help me to format my usb
[06:16] <bryanroderyck> my laptop doesnt recognise the usb
[06:18] <mous> bryanroderyck: Did you fix the high cpu load issue?
[06:19] <bryanroderyck> yes
[06:19] <mous> so journalctl is not showing all that bind spam anymore?
[06:21] <bryanroderyck> https://paste.ubuntu.com/p/5wvYW9qS49/
[06:23] <tomreyn> this log out put, which is partially cut off, spans 25 seconds, but records may be missing in the middle
[06:23] <tomreyn> use this instead:  journalctl -b | nc termbin.com 9999
[06:25] <bryanroderyck> theres no need to update firmware then?
[06:25] <mous> you're already running the latest firmware
[06:25] <mous> I don't see anything there relating to USB
[06:26] <bryanroderyck> https://termbin.com/qo5h
[06:26] <mous> run journalctl -fn0 > file.txt - unplug USB device, wait 3 seconds, replug USB device.  Wait 15 seconds.  Then press control-c on that terminal and type cat file.txt | nc termbin.com 9999
[06:29] <bryanroderyck> https://termbin.com/qrur
[06:31] <tomreyn> so the latest reboot happened 45 minutes ago
[06:31] <bryanroderyck> yes
[06:31] <tomreyn> which is before the systemd logspam issue was supposedly fixed.
[06:32] <tomreyn> you should reboot after applying the workaround discussed at bugs.launchpad.net/debian/+source/bluez/+bug/1767968/comments/7
[06:33] <bryanroderyck> ok i reboot now
[06:34] <tomreyn> i'm afraid he may just have applied those udev rules unmodified as they're given on the bug report.
[06:39] <mous> oh no
[06:39] <mous> lol
[06:48] <bryanroderyck> it switch off several time "cpu treshold .tempreature" then start grub menu and i start to desktop ubuntu
[06:50] <CarlFK> there is a command to get/parse edid from my display device .. mostly want is the model and I think description
[06:50] <tomreyn> bryanroderyck: i think it would help us help you if you explained what exactly "lsusb |grep luetooth" returned and what exactly you wrote to /etc/udev/rules.d/
[06:51] <tomreyn> CarlFK: is this a question? i'm having difficulties understanding what you're asking, if so.
[06:52] <CarlFK> tomreyn: what is the command?
[06:53] <bryanroderyck> https://paste.ubuntu.com/p/Ys9gjQVgRF/
[06:54] <tomreyn> CarlFK: do you mean this?  read-edid | parse-edid
[06:54] <tomreyn> actually   sudo get-edid | parse-edid
[06:54] <CarlFK> tomreyn: that might work, but it isnt' installed on my laptop and I'm sure what I used before was one command.
[06:54] <CarlFK> that said, what package is that in?
[06:55] <CarlFK> found it read-edid
[06:55] <bryanroderyck> i wrote from launchpad ...sorry im not very good at fixing
[06:55] <tomreyn> bryanroderyck: thanks for answering one of two questions (so far?)
[06:57] <bryanroderyck> :)
[06:57] <tomreyn> bryanroderyck: this question remains unanswered so far:  what exactly [did you write] to /etc/udev/rules.d/ (while working on bugs.launchpad.net/ubuntu/+source/udev/+bug/1767968/comments/7 )?
[06:58] <bryanroderyck> can correct i i made mistake ?...sorry
[06:59] <bryanroderyck> *if
[06:59] <CarlFK> tomreyn: thanks - got me what I was looking for.
[07:00] <tomreyn> bryanroderyck: sure, you can correct any mistakes you made there. but so far i'm still trying to understand what you did, to be able to tell whether you made any mistakes or not.
[07:00] <tomreyn> CarlFK: cool.
[07:00] <bryanroderyck> when i save on nano ,i did not understand all
[07:02] <mous> bryanroderyck: cat /etc/udev/rules.d/81-bluetooth-hci.rules | nc termbin.com 9999
[07:04] <bryanroderyck> https://paste.ubuntu.com/p/NHhNZmR24y/
[07:04] <mous> you need to follow step 7 in the launchpad we linked to you
[07:05] <mous> you never created the file or added the proper entries to it
[07:05] <mous> again, https://bugs.launchpad.net/debian/+source/bluez/+bug/1767968/comments/7
[07:06] <mous> first you grep to get the info you need
[07:06] <mous> and then you create that file (as root, of course) with the proper edits based on the grep
[07:07] <tomreyn> mous: we have the lsusb output from bryan https://paste.ubuntu.com/p/Ys9gjQVgRF/ so we can actually provide a command to create the udev rules file, which seems to be difficult for bryan.
[07:07] <mous> oh right on
[07:07] <mous> you want to take care of that for him, or should I?
[07:07]  * mous is fading fast, getting sleepy
[07:07] <LarryBob> sleep is for the weak
[07:08] <bryanroderyck> is write out same as save?
[07:12] <bryanroderyck> https://imgur.com/a/tjMIXV1
[07:13] <tomreyn> bryanroderyck: quit the editor, then run. sudo rm /etc/udev/rules.d/81-bluetooth-hci.rules
[07:13] <tomreyn> bryanroderyck: after that, copy and paste all of this to your terminal at once: https://termbin.com/mtr2
[07:16] <bryanroderyck> done
[07:16] <tomreyn> bryanroderyck: please run:    cat /etc/udev/rules.d/81-bluetooth-hci.rules | nc termbin.com 9999
[07:17] <tomreyn> and post the url here
[07:17] <bryanroderyck> https://termbin.com/1al4
[07:19] <bryanroderyck> update notifier appear with system program problem message ..
[07:19] <tomreyn> bryanroderyck: discard it.
[07:20] <tomreyn> what's the output of:   cat /proc/loadavg
[07:20] <bryanroderyck> ok
[07:21] <CarlFK> if I add blacklist cdc_acm to /etc/modprobe.d/blacklist-xr_usb do I have to do something for that to take effect?
[07:22] <bryanroderyck> when i was on 16.04 it never did switch off  "cpu treshhold tmpreature"
[07:22] <tomreyn> CarlFK: yes, you'll have to rename the file to *.conf
[07:22] <CarlFK> ah.  derp. thanks
[07:23] <tomreyn> bryanroderyck: we're trying to make it that again. as a reminder:  what's the output of:   cat /proc/loadavg
[07:23] <tomreyn> ?
[07:23] <bryanroderyck> 2.86 2.69 2.73 2/923 17482
[07:24] <tomreyn> bryanroderyck: okay, reboot now, then run this command again and tell its output aain.
[07:24] <tomreyn> *aGain
[07:25] <bryanroderyck> ok reboot
[07:33] <bryanroderyck> 2.12 1.45 0.59 2/654 2766
[07:50] <tomreyn> bryanroderyck: now you can post another    journalctl -b | nc termbin.com 9999
[07:51] <tomreyn> bryanroderyck: see how i prefix my messages with your nickname to ensure you don't miss them? you can do so, too.
[07:57] <bryanroderyck> https://termbin.com/f7y6
[07:57] <bryanroderyck> how do you prefix the message with name?
[07:58] <lotuspsychje> !tab | bryanroderyck
[07:58] <mous> as in, type the firest few letters of someone's name and hit tab when replying to them, bryanroderyck.
[07:58] <mous> It helps in busy channels when many conversations are going on at once :)
[07:59]  * mous really should be in bed
[07:59] <LarryBob> which is important if someone has a nickname of y8Gh3oP9Rq37U
[08:01] <tomreyn> bryanroderyck: i assume your cpu overheating issues may be solved now. i still recommend reinstalling ubuntu amd64 (and re-applying https://termbin.com/mtr2 there - so take note of this)
[08:04] <bryanroderyck> tomreyn, will it stop overheating or i need to reinstall ubuntu ?
[08:04] <tomreyn> bryanroderyck: did you read what i just wrote?
[08:05] <bryanroderyck> yes ...sorry i need to backup evrything
[08:12] <__raven__> xubuntu 19.04 bug: vlc task bar icon process remains after closing vlc. strace shows "ressource not available" loop. which bugtracker would be suitable for this?
[08:12] <bryanroderyck> tomreyn, thanks again
[08:13] <tomreyn> bryanroderyck: you're welcome.
[08:13] <lotuspsychje> __raven__: can we have a full tail -f /var/log/syslog of this please?
[08:13] <lotuspsychje> __raven__: or/and start vlc from terminal
[08:14] <bryanroderyck> one last how do i backup it doesnt recognise usb?
[08:14] <__raven__> lotuspsychje: just a sec
[08:18] <lotuspsychje> !nick | ledeni`
[08:23] <__raven__> lotuspsychje: cannot reproduce now -.-
[08:23] <__raven__> will come back to this later
[08:23] <lotuspsychje> ok
[08:25] <__raven__> some other bugs on my acer e5-573 with 19.04 are missing volume function key function, random freezes and random standby behaviour. not sure how to sort this
[08:26] <lotuspsychje> __raven__: did you compare your issues with an LTS version of xubuntu?
[08:27] <__raven__> yes i did a clean install of 19.04 after running 18.04 latest a few days ago
[08:27] <__raven__> with kernel around 4.15??? there was a wifi chipset bug bug no freezes
[08:29] <lotuspsychje> __raven__: if you clean install 18.04.2 iso now you should be on hwe kernel 4.18
[08:30] <__raven__> ok but cannot compare now
[08:36] <nonix4> Two consecutive disk images of supposedly read-only mdraid device had differences at 5 sector offsets. How do I map those to underlying ext4fs contents?
[08:37] <nonix4> (to be more accurate, 16 megabyte checksums had differences at offsets C8000000, D8000000, 188000000, 288000000 and 3E8000000)
[08:57] <xormor> my neighbor has a problem with AMD/ATI graphics on his old laptop. is it enough of me to run "sudo apt update", "sudo apt install firmware-linux-nonfree" and "sudo apt upgrade" on it? it has Ubuntu.
[08:59] <lotuspsychje> xormor: can you elaborate more on 'problem' please? ubuntu version would also be handy
[09:10] <xormor> lotuspsychje, the "apt" program said it is something "disco".
[09:11] <lotuspsychje> xormor: are you on the computer now?
[09:11] <xormor> lotuspsychje, the resolution is too low, it is at some basic video mode, not the one wanted.
[09:11] <isene> For some odd reason, every now and then, when my Ubuntu 18.10 wakes up from suspend, my xmodmap is killed. I have Capslock and Esc swapped and also mapped middle and right mouse buttons mapped (keycode  105 = Pointer_Button2 Pointer_Button3). When I then rund ' xmodmap .Xmodmap ' it swaps my Capslock and Esc as I like them, but does not fix my mouse buttones. why?;2uAnd how to fix?
[09:12] <xormor> lotuspsychje, I am not on it. I told my neighbor I want him to be present when I tool with his computer. he will ring my doorbell when he comes back. I did not take the computer to my place, and I refused to be alone at his apartment. I want him to OK everything I do. I told him it would possibly be useless for me to compile the kernel, since it would be the wrong kernel.
[09:13] <lotuspsychje> xormor: the best situation, is you come ask support with that computer, so volunteers can direct debug help & needed commands
[09:13] <xormor> lotuspsychje, ok
[09:34] <pc_magas> Hello I managed to build and install from source the minitube. And I achieved it via building the required libmpv from source as well.
[09:34] <pc_magas> But this approach seemd kinda laborious cause it installed dependencies from various sources: * pip for youtube-dl * libmpv from source and some apt packages as well needed for libmpv and minitube as well.
[09:36] <pc_magas> Thus I though if I could just snap it into snapcraft would make life easier. But I find myself kinda troubled on how I can define and ship the required dependencies as well inside the snap package as well.
[09:37] <pc_magas> So how I can define scripts or a way to tell the build steps prior to snap packaging?
[09:40] <fishcooker> what's the file system that friendly on windows and nix os, still ntfs?
[09:42] <rory> assuming a lot... yes.
[09:43] <pc_magas> fishcooker, for me yes trere are both supported, though ntfs in some cases it may cause some data loss in GNU/Linux epsecially in forcefully stopped rsync based backups into NTFS.
[09:43] <rory> maybe fat32 if you definitely won't need the large files
[09:44] <rory> basically it's easier to mount ntfs in linux, than to mount ext in windows
[09:45] <fishcooker> nice err scarry info pc_magas
[09:45] <fishcooker> thanks for pointing rory fat32
[09:45] <rory> better to avoid if possible
[09:46] <fishcooker> fat32 still with 4G files size right, rory?
[09:46] <fishcooker> cmiiw
[09:46] <rory> ideally for shared data storage use a NAS. But on a single drive I would choose ntfs over fat32 because of those filesize limitations yes.
[09:48] <fishcooker> nice point rory
[09:50] <fishcooker> rory pc_magas is creating /formating ntfs disk partition on linux safe?
[09:50] <rory> safe as in, can you be sure it will be read by Windows?
[09:50] <rory> yes
[09:52] <pc_magas> Well the only issue I had with NTFS was that the dirver itself in Ubuntu could not delete a file from an forcefully stopped rsync folder.
[09:53] <pc_magas> Hence has tyo reformat the disk.
[09:53] <pc_magas> to*
[09:53] <pc_magas> Also I was unable to open it as well.
[09:53] <rory> heavy
[09:53] <Ascavasaion> Could someone tell me how to write a UEFI USB?  I have tried sudo if=thexubuntuisoI justdownloaded.iso of=/dev/sdc and it takes  afew minutes and exits without errors, but when I try to boot it... no go.
[09:54] <Ascavasaion> Oops, I left dd out of the command...
[09:54] <Ascavasaion> sudo dd if=thexubuntuisoI justdownloaded.iso of=/dev/sdc
[09:54] <hugotty> Have you made sure that none of the partitions on /dev/sdc are mounted?
[09:55] <Ascavasaion> hugotty, I think I did, but let me try again and make totally sure
[09:55] <hugotty> And did you run `sync` after running `dd` and before you took out the USB?
[09:56] <b1ack0p> hi
[09:56] <rory> it's more likely an issue with booting than an issue with flashing. but to be sure you could use mkusb command https://help.ubuntu.com/community/Installation/FromUSBStick#mkusb_-_dd_image_of_iso_file_to_USB_device_safely
[10:04] <Ascavasaion> It never worked again... even though the BIOS on the machine shows it as an option to boot, and I chose it.  It still booted into the installed Windows.  Trying the mkusb option now.
[10:05] <coz_> good day all
[10:22] <BluesKaj> Hi folks
[10:48] <michael-kohlhaas> !seen bryanroderyck
[10:53] <SimonNL> -NickServ- Last seen  : May 26 08:38:21 2019 (2h 14m 2s ago)      michael-kohlhaas for Bryanrode
[11:07] <michael-kohlhaas> thx SimonNL
[11:43] <habbasi> Hi everyone. My laptop refuses to boot with the NVidia proprietary drivers installed . Stops at Started GNOME display manager.
[11:44] <lotuspsychje> habbasi: wich ubuntu version, graphics card chipset and driver version please?
[11:46] <habbasi> 19.04, both driver versions on the drivers tab and 1060 Max-Q with G-Sync
[11:46] <lotuspsychje> habbasi: can you check wich driver version exactly please?
[11:46] <habbasi> So there’s no Intel pass through. The display is is attached to the NVidia card.
[11:49] <habbasi> 430 from the upstream drivers PPA but IIRC it also happens in 418 and 390.
[11:50] <habbasi> Thanks so much for the help btw. If there’s docs on this issue I’m happy to follow those.
[11:51] <lotuspsychje> habbasi: for GTX cards we often reccomend the ubuntu graphics ppa indeed, maybe you might share your dmesg to the channel, volunteers can take a look for you where it bottlenecks
[11:54] <TJ-> habbasi: just a note: GDM not starting is what I'd describe as an application issue, not 'fail to boot' - boot generally means reaching stable userspace which in systemd terms is when it reaches multi-user.target (meaning all services and network have started and TTY consoles are all available)
[11:56] <habbasi> Thanks...
[11:56] <habbasi> https://postimg.cc/XGVkqGzp
[11:57] <ioria> habbasi, try to disable Secure Boot
[11:58] <habbasi> It is disabled. I Boot other OS’s regularly.
[11:58] <habbasi> Nevertheless, I’ll check.
[11:58] <ioria> habbasi, are you in recovery mode atm?
[11:59] <jeremy31> habbasi: in terminal  mokutil --sb-state
[11:59] <habbasi> Yes, I am.
[12:00] <habbasi> It is disabled, thanks for the command!
[12:00] <ioria> habbasi, exit and resume
[12:00] <ioria> habbasi, it should boot with 'nomodeset' enabled
[12:06] <TJ-> habbasi: if gdm3 failed, there should be some clue in its log: "journalctl -u gdm3.service" I think it is
[12:09] <habbasi> Stops at the same place with that.
[12:09] <ioria> habbasi, cat /proc/cmdline
[12:13] <xormor> I pointed out to my neighbor that he should use Synaptic (on Ubuntu) and he was able to finally resolve the graphics resolution (being too low) problem after that by himself, after we had looked at the text describing his graphics hardware on the Ubuntu system. the hardware was VIA graphics. he searched for "chrome9" on Synaptic, and I pointed out to him what to press with the mouse. he was a bit impatient and hassling with his computer, but finally
[12:13] <xormor> he got it right, after we had looked at the problem together.
[12:15] <habbasi> How do I access the command line from the stuck process scroll back?
[12:16] <habbasi> That’s amazing, xormor
[12:16] <ioria> habbasi, leave it;   reboot with 'nouveau.modeset=0'   kernel parameter
[12:18] <habbasi> ioria nomodeset is in there on the next boot in recovery
[12:19] <ioria> habbasi, boot with 'nouveau.modeset=0'   kernel parameter
[12:20] <habbasi> Stops right there.
[12:21] <ioria> habbasi, recovey, enable networking, and purge nvidia
[12:21] <habbasi> I need it for CUDA development. I can do it temporarily though.
[12:25] <habbasi> Done.
[12:25] <habbasi> Rebooted?
[12:25] <ioria> habbasi, yes
[12:25] <habbasi> Reboot?
[12:28] <habbasi> Done.
[12:29] <ioria> habbasi, are you on the  desktop ?
[12:29] <habbasi> I am indeed.
[12:29] <ioria> habbasi,  cat /proc/cmdline | nc termbin.com 9999
[12:31] <habbasi> https://termbin.com/tnj6
[12:31] <habbasi> (I was editing in nomodeset manually each time, so it won't show up here AFAIK)
[12:32] <ioria> habbasi, what ?
[12:32] <habbasi> On the GRUB menu, I was pressing e to edit and putting it in manually.
[12:32] <ioria> habbasi, if you boot with nomodeset , it would show in the cmd i posted
[12:32] <ioria> habbasi, no you don't
[12:33] <habbasi> Oh, not this time with Noveau.
[12:33] <habbasi> It boots fine with Noveau.
[12:33] <habbasi> The issue is the Nvidia driver.
[12:33] <ioria> habbasi, echo $XDG_SESSION_TYPE
[12:33] <habbasi> x11
[12:34] <ioria> habbasi, lspci -k | grep -EA3 'VGA|3D'  | nc termbin.com 9999
[12:35] <habbasi> https://termbin.com/15oa
[12:36] <ioria> habbasi, dpkg -l | grep nvidia   | nc termbin.com 9999
[12:39] <habbasi> https://termbin.com/jji9
[12:39] <habbasi> Then I did 'sudo apt autoremove' and then it's all empty
[12:40] <habbasi> And the second command returns an exit code of 1 because there's nothing to grep.
[12:40] <habbasi> And there's no paste generated.
[12:42] <ioria> habbasi, ls /etc/modprobe.d    | nc termbin.com 9999
[12:43] <habbasi> https://termbin.com/by6i
[12:43] <habbasi> ioria I really appreciate all the time and effort. :)
[12:43] <ioria> habbasi,  sudo updatedb && locate xorg.conf
[12:45] <habbasi> https://termbin.com/uaq8
[12:46] <ioria> habbasi, ubuntu-drivers list   | nc termbin.com 9999
[12:47] <habbasi> https://termbin.com/fa9g
[12:47] <habbasi> (In case you're wondering, I manually replaced the WiFi card to this one for... Reasons)
[12:48] <ioria> habbasi, apt -s install nvidia-driver-396 | nc termbin.com 9999
[12:49] <habbasi> Why not the latest? 🤔
[12:49] <ioria> it's just a simulation
[12:51] <habbasi> https://termbin.com/14ap
[12:53] <habbasi> :S
[12:54] <habbasi> Why is it pulling in AMD and Intel stuff?
[12:55] <ioria> habbasi,  try to install 396 , check for any errors  you might see, reboot ; if it fails  recovery and purge
[12:55] <jeremy31> habbasi: i386 is 32 bit and AMD64 is used for 64 bit
[12:56] <habbasi> It's pulling in libdrm-amd and libdrm-intel
[12:56] <habbasi> :)
[12:58] <habbasi> dpkg-query: no packages found matching libnvidia-gl-390
[12:58] <habbasi> dpkg-query: no packages found matching libnvidia-gl-390
[13:00] <ioria> !info libnvidia-gl-390 disco
[13:05] <ioria> habbasi,  are you installing 396 , yes ?
[13:05] <habbasi> Mirror issues?
[13:05] <habbasi> I've had those before.
[13:05] <ioria> habbasi,  already rebooted ?
[13:05] <habbasi> Nope.
[13:06] <ioria> habbasi,  i don't get why it wants 390 if you're installing 396
[13:06] <habbasi> sudo apt install nvidia-driver-396
[13:07] <habbasi> That's the command I ran... And manually scanned for errors.
[13:07] <ioria> habbasi,  when it's done, paste the output
[13:08] <habbasi> https://pastebin.com/EaXqf0Cd
[13:09] <ioria> Error! Bad return status for module build on kernel: 5.0.0-15-generic (x86_
[13:09] <ioria> broken
[13:10] <habbasi> I haven't modified any kernel stuff from stock.
[13:10] <habbasi> Other than dist-upgrade
[13:12] <ioria> habbasi,  so, purge again and autoremove; then you need to run  apt update and apt full-upgrade ('cause you have 10 not upgraded.); purge that ppa and we try with the ubuntu repo one
[13:13] <ioria> habbasi, sorry, but i need to eat something :þ
[13:13] <habbasi> Go ahead. Thanks for the help. Will you be back? 😄
[13:26] <Natanaiel> Is there anyway to prevent installing any additional packages on our system without preventing the current installed one to be upgraded?
[13:27] <jeremy31> Natanaiel: Don't install any additional packages, the update system should only update what is needed
[13:28] <habbasi> Well, the driver still is stuck at Started GNOME Display Manager
[13:28] <Natanaiel> jeremy31: I mean preventing others to do that!!!
[13:29] <jeremy31> Natanaiel: You mean other users?
[13:29] <OerHeks> preventing installing packages except updates, interesting..
[13:30] <jeremy31> unattended updates?
[13:30] <OerHeks> that would require heavily pinning, i guess, and not pinning current software
[13:30]  * OerHeks researching other answers
[13:31] <Natanaiel> jeremy31: I'm creating a customized ubuntu machine for a customer with our customized packages, I want the current installed packages be able to be updated but I don't want them to easily install their own packages
[13:32] <jeremy31> Possibly not allow them admin(sudo) permission and a cron job for updates?
[13:36] <TJ-> Natanaiel: entries in /etc/sudoers enabling apt/apt-get upgrade but not apt/apt-get install
[13:37] <Natanaiel> TJ-: great thanks
[13:37] <TJ-> Natanaiel: you'd also want to protect "dpkg --install/-i"
[13:38] <TJ-> Natanaiel: you'd need to test whether additional rules for policykit might be required for the GUI software-centre
[13:39] <TJ-> Natanaiel: this all assumes the regular user's do not have general sudo membership
[13:40] <TJ-> Natanaiel: the spirit and purpose of the open-source licenses is to *allow* user freedom, not restrict it
[13:41] <Natanaiel> TJ-: but if it also has general sudo membership it cannot change sudoers config file to bypass installation
[13:45] <TJ-> Natanaiel: there's possibly a sneaky way to achieve it too; edit and then make immutable /var/lib/dpkg/status - but I'm not sure how that would break apt and/or software-centre in interesting ways
[13:46] <OerHeks> You can set the "immutable" attribute with most filesystems in ubuntu, chattr +i /etc/sudoers
[13:46] <ioria> habbasi, how is going ?
[13:46] <OerHeks> so one with sudo cannot change permissions back.. unless they are really clever, chattr -i
[13:47] <TJ-> Natanaiel: the other option is to make /usr/bin/apt* a symlink to /bin/true and put the tools in another path/name
[13:47] <client35> how can I go about preventing my computer from sleeping when I'm ssh'd in?
[13:47] <TJ-> Natanaiel: dpkg-divert can help with ensuring that works smoothly
[13:48] <TJ-> client35: that depends on what service/application is doing the suspend
[13:49] <TJ-> client35: see https://www.freedesktop.org/wiki/Software/systemd/inhibit/
[13:57] <habbasi> ioria: Still stuck at the same place, despite no errors in the apt log.
[13:57] <habbasi> I purged the PPA
[13:58] <ioria> habbasi, havre you purged that ppa  ?
[13:58] <ioria> habbasi, ok...   dpkg-l | grep nvidia | nc termbin.com 9999
[13:58] <ioria> habbasi, ok...   dpkg -l | grep nvidia | nc termbin.com 9999
[13:59] <habbasi> Currently 418 is installed.
[13:59] <habbasi> Outside the repo.
[14:00] <ioria> habbasi, there is no 418 in the ubuntu repo
[14:00] <habbasi> Oh, my bad...
[14:00] <habbasi> termbin.com/j9ob
[14:01] <ioria> habbasi, sorry, there is on disco
[14:02] <ioria> habbasi, and you can oly access via Recovery ?
[14:02] <ioria> *only
[14:04] <habbasi> Correct. Same issue elsewhere.
[14:04] <client35> TJ- thanks for that
[14:04] <ioria> habbasi, we can try with lightdm:   sudo apt install lightdm  and set it a default dm
[14:08] <TJ-> habbasi: ioria a boot using "systemd.unit=multi-user.target" would be useful test, and to have control before allowing gdm3 to start, and to grab useful logs
[14:09] <ioria> habbasi, ^ let's try lightdm then we use the parameter TJ- suggested for grabbing someinfos
[14:10] <TJ-> also remember there's /var/log/gdm3/ which ought to contain clues
[14:10] <ioria> i'am afraid it's empty  now
[14:11] <ioria> hijacked to journal
[14:11] <TJ-> so 'journalctl -u gdm3.service' would be the equiv
[14:12] <ioria> sure
[14:15] <unknownsh-t> hi
[14:15] <unknownsh-t> anybody there?
[14:18] <habbasi> ioria I’m in... LightDM worked.
[14:18] <habbasi> What now?
[14:20] <ioria> habbasi, ok..., the problem now is to get a status from where we can trobleshoot GDM3
[14:20] <danes> hello, I cant seem to find an answer for this issue. Im trying to install the latest version of kicad. When adding the ppa:js-reynaud/kicad-5.1 I get this error: --recv-keys 5F1E4C625E24069D9072394F83FBAD2D910F124E gpg: keyserver receive failed: Server indicated a failure
[14:20] <ioria> habbasi, but if tou boot in Recovery, gdm will not start at all
[14:21] <danes> Google hasnt been very helpful for the last hour, so Im coming here to check if anyone has any idea how to resolve the keyserver issue
[14:22] <ioria> habbasi, i mean, you need to reconfigure again gdm3 and boot in text mode
[14:22] <habbasi> Well, it says “no entries”
[14:22] <ioria> habbasi, no entries for what ?
[14:23] <BluesKaj> danes, did you check if the ppa is relevant to your ubuntu release
[14:24] <habbasi>  /var/log/gdm3 is empty too
[14:24] <ioria> habbasi, i know
[14:24] <ioria> habbasi, no entries for what ?
[14:25] <habbasi> For the log. In journalctl
[14:25] <ioria> habbasi, sure, cause we have configured  lightdm ...
[14:26] <habbasi> Ah, fair enough. I didn’t know the logs would be wiped though.
[14:26] <ioria> habbasi, gdm it's now disabled
[14:26] <ioria> habbasi, how can it logs ?
[14:26] <habbasi> Well, the old logs for gdm should still exist.
[14:26] <habbasi> AFAIK
[14:27] <TJ-> danes: I seem to recall those long key IDs need to be shortened (leaving only the short-key-id at the end). Worth searching for that key in the keyserver to id the correct short key, to test my theory
[14:28] <TJ-> danes: see http://keyserver.ubuntu.com/pks/lookup?search=0x5F1E4C625E24069D9072394F83FBAD2D910F124E&op=vindex
[14:28] <ioria> habbasi, sudo journalctl -b 1
[14:29] <TJ-> danes: for that key it would be "apt-key adv --key-server hkp://keyserver.ubuntu.com --recv-keys 910F124E "
[14:31] <danes> TJ- thanks for your help. Im still a newbie here. unfortunately that doesnt seem to work either
[14:31] <danes> Executing: /tmp/apt-key-gpghome.A2ss6WoquD/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com --recv-keys 910F124E gpg: keyserver receive failed: Server indicated a failure
[14:32] <TJ-> danes: do you have a HTTP proxy in your network?
[14:33] <TJ-> danes: no, it's not you, it's Ubuntu. Looks like the keyserver isn't responding on the HKP/HKPS protocol ports
[14:34] <TJ-> danes: correction - it took a long time, but I got the key using the hkps protocol
[14:34] <danes> TJ- hmmm, can you share how I can do that?
[14:35] <sruli> i ran latest updates, now firefox cant get to any site, not even local ip sites (firefox v67.0)
[14:36] <danes> TJ- I found other people asking about the problem I am experiencing on a few forums. I will post an answer once I get this sorted out
[14:36] <TJ-> danes: see here: https://paste.ubuntu.com/p/JTYrhcPbrB/
[14:36] <TJ-> sruli: you deserve a medal for breaking things!
[14:37] <TJ-> sruli: broken proxy?
[14:38] <sruli> TJ-: i already have the medal, not using a proxy
[14:38] <TJ-> sruli: does tcpdump reveal anything?
[14:38] <danes> TJ- I will look into my network. Its possible that it may be so slow that it times out...
[14:39] <TJ-> danes: try the test command in my pastebin for starters
[14:39] <danes> TJ- I did and same result
[14:39] <TJ-> danes: hang about, I'll see if any of the the Canonical server admins are about
[14:40] <sruli> TJ-: found this https://askubuntu.com/questions/1145311/internet-is-working-but-firefox-browser-cannot-connect i dont want to delete my profile, ooof
[14:40] <danes> TJ- your help is very much appreciated!
[14:41] <sruli> TJ-: launched another profile and it works there, how do i get around this without deleting my profile?
[14:41] <OerHeks> i just added sudo add-apt-repository ppa:js-reynaud/kicad-5.1, no issues
[14:45] <TJ-> sruli: let me read up
[14:47] <mr_lou> blackflow, So my current suspecion is that my harddisk issues is about SMR (Shingled Magnetic Recording) disks. Apparently Linux just has issues with those. No workarrounds either. Only solution is to not use SMR, but rather PMR or CMR.
[14:48] <TJ-> sruli: this looks to give some possible reasons/solutions (still reading) https://support.mozilla.org/en-US/kb/firefox-cant-load-websites-other-browsers-can
[14:49] <ioria> habbasi, if you paste the output, we might have a look at it
[14:49] <TJ-> sruli: for local connections, are you testing using hostname (localhost) or IP address (127.0.0.1). I'd test with 127.0.0.1:631 to determine if IPv4 works - if so, this could be an IPv6/DNS issue
[14:50] <TJ-> sruli: '631' is the CUPS web admin service
[14:50] <sruli> TJ-: i tried my roupter ip which is ipv4
[14:50] <ioria> habbasi,  but i suspect a Wayland thing
[14:51] <badhobbit> Hey guys how is everyone?
[14:51] <TJ-> mr_lou: what's your issue with SMR?
[14:51] <mr_lou> TJ-, Insanely slow write speeds after a while, like 1,5 mbps or even lower
[14:52] <sruli> TJ-: i disabled ipv6 and dnsprefetch still not working
[14:52] <danes> OerHeks: which os version are you using
[14:53] <sruli> TJ-: if i restart firefox in safe mode it works
[14:53] <OerHeks> 18.04
[14:55] <sruli> TJ-:  cannot access 631 from firefox
[14:56] <blackflow> mr_lou: I thought you said the disc was SSD, not SMR
[14:56] <danes> TJ- it works now. I managed to install kicad.
[14:56] <mr_lou> blackflow, Yea, I thought it was, because of its size, but no. That's a characteristic of SMR too: Small physical size.
[14:57] <TJ-> danes: great :;)
[14:57] <mr_lou> Or... I was told it was too.
[14:57] <TJ-> mr_lou: write speeds for small files, or large?
[14:57] <blackflow> mr_lou: physical? you mean chassis? Because SMR are typically very large capacity, that's the whole reason they're SMR
[14:57] <TJ-> mr_lou: I use an 8TB SMR and the only time write speeds slow down is if you're scattering lots of small writes across the disk
[14:58] <blackflow> true what TJ- said.
[14:58] <blackflow> SMR has *HUGE* sector size, ~128MB (yes MB) per sector
[15:00] <danes> Hello, I just installed kicad but the crosshair in the schema schematic capture does not refresh fast enough and it leaves like a ghost mark. If I move the mouse around the page, it will fill the page with crosshairs making it hard to do any work. I have an nvidia card and Im using the nvidia x server settings. my pc has an intel card as well but switching to it is not an option as it does not support my monitors.
[15:00] <blackflow> mr_lou: at any rate, if that's a SMR, that's not a normal disk to use. that's for sequential write backups, as random IOP is gonna be slower than running through molasses. in winter. on mars.
[15:00] <mr_lou> TJ-, This is used for backup, so it's all kinds of file sizes. But yes, many small ones.
[15:01] <mr_lou> blackflow, It is used for backup only.
[15:01]  * mr_lou is gonna try with lazytime mount option.
[15:02] <blackflow> mr_lou: nah. you need to disable fsync for your backup program. somehow. Not sure how.
[15:02] <TJ-> mr_lou: there was some work done in ext4 to add zones to support SMR but it never arrived in the mainline
[15:02] <blackflow> otherwise mount with noatime, you really don't need access times, do you?
[15:03] <mr_lou> TJ-, Have to use NTFS because the disks has to be readable on Windows machines too.
[15:04] <mr_lou> But I've ordered another PMR disk, so...
[15:06] <TJ-> mr_lou: ouch! that isn't doing to be nice :)
[15:10] <mr_lou> TJ-, Yes it is. The one we have takes a full backup in 5 hours. This SMR one apparently needs several days for the same job.
[15:11] <mr_lou> Or... well.... dunno if it's PMR or CMR...   all I know is that it's not SMR. :->
[15:11] <mr_lou> a 2TB Intenso.
[15:12] <mr_lou> I can see already that the lazytime option makes no difference. 66 seconds to copy 661 mb. :-/
[15:13] <TJ-> mr_lou: what is the make/model of the device, and have you checked for I/O errors in dmesg, AND, are you using the NTFS fuse file-system driver (which is going to be slow!)
[15:14] <TJ-> mr_lou: I'd test it with a native Linux file-system - I strongly suspect NTFS isn't helping
[15:14] <mr_lou> TJ-, It's a Toshiba Canvio. And what you have to keep in mind is that all works fine with other harddisks.
[15:14] <mr_lou> TJ-, I have tried with ext4 and btrfs too. Same result.
[15:14] <mr_lou> TJ-, No errors. It's a brand new harddisk. Another Toshiba Canvio acts the same way. It's SMR.
[15:15] <TJ-> mr_lou: is this drive connected via USB?
[15:15] <blackflow> mr_lou: are you sure? I can't find any info that it's a SMR drive
[15:16] <blackflow> toshiba site says it's a portalbe 4TB usb thingy. that's unlikely to be SMR
[15:17] <blackflow> mr_lou: can you get teh model number via smartctl?
[15:17] <mr_lou> TJ-, Yes, USB3.0
[15:18] <mr_lou> blackflow, They don't advertise SMR.
[15:18] <mr_lou> blackflow, But yes, I managed to find a site that said it was SMR.
[15:18] <blackflow> mr_lou: I doubt that's SMR
[15:18] <TJ-> mr_lou: and have you confirmed the OS is using USB3, not USB2
[15:18] <blackflow> SMR drives are typically >10TB, not 4TB
[15:18] <mr_lou> TJ-, lsusb shows that it's a Device 002 connected to a Bus 002, which I believe means it's a USB3.0 device connected to a USB3.0 port.
[15:19] <mr_lou> blackflow, They're also used to keep physical size down.
[15:19] <TJ-> mr_lou: can you show us "sudo hdparm -I /dev/sdX" (set X to whatever the device is)
[15:20] <blackflow> mr_lou: the physical size comes only in two form factors, 2.5" and 3.5"   and there are now non-SRM drives that go up to 10TB, like Western Digital thingies (though they're helium).
[15:20] <mr_lou> TJ-, Sure
[15:20] <habbasi> ioria Sorry, got busy with other stuff.
[15:21] <habbasi> I’ll be back tomorrow to help debug! I’d be glad to file an issue at least if it helps others!
[15:22] <mr_lou> TJ-, https://pastebin.com/2d0mV7P3
[15:25] <mr_lou> blackflow, Well if it isn't SMR, then I have no clue why it's so shitty.
[15:25] <mr_lou> It sure is acting like an SMR. (I have one in my own PC too).
[15:25] <mr_lou> internal though.
[15:27] <TJ-> mr_lou: I don't see any evidence of SMR so far https://toshiba.semicon-storage.com/us/product/storage-products/client-hdd/mq04abfxxx.html
[15:27] <ioria> habbasi, ok
[15:27] <mr_lou> TJ-, https://rml527.blogspot.com/2010/09/hdd-platter-database-toshiba-25.html
[15:28] <mr_lou> "MQ04ABFxxx / L200 (5400RPM, 128MB cache, SATA-600 interface, Advanced Format, Shingled Magnetic Recording, 7mm z-height)"
[15:28] <mr_lou> They don't advertise it.
[15:29] <mr_lou> Whoops, wrong paste. It's the line above, but same info: "MQ04UBDxxx (5400RPM, 128MB cache, USB 3.0 interface, Advanced Format, Shingled Magnetic Recording)"
[15:29] <mr_lou> search model number on that page.
[15:30] <mr_lou> "Note: This and the similar MQ04ABF100 employ SMR technology (listed as such in this official flyer, too), despite early press releases claiming PMR. Buyer beware! The USB versions (MQ04UBDxxx/MQ04UBFxxx) are likely the same."
[15:31] <blackflow> mr_lou: so you believe a *blogspot* page more than Toshiba's own product specs? :)
[15:33] <mr_lou> blackflow, Bored much?
[15:33] <blackflow> mr_lou: this is becoming a bit offtopic, so we can move this to #ubuntu-discuss, but I've found a source that's not a random blogspot, so it's marginally more credible, that suggests they might indeed be SMR, but it's not clear whether this is for upcoming models or current.  https://www.techradar.com/news/internet/data-centre/how-toshiba-s-new-storage-device-could-change-the-data-centre-1294245
[15:33] <mr_lou> blackflow, "As listed in the official flyer too". https://toshiba.semicon-storage.com/content/dam/toshiba-ss/shared/docs/product/storage/HDD-MQENA.pdf
[15:35] <Ryvius> Hello, it feels like performance (in games) is becoming worse and worse for me, any ideas what I can do about it?
[15:35] <Mylon> Why are most of the options in the touchpad - System Settings window grayed out and not able to be changed?
[15:36] <blackflow> mr_lou: the PDF you linked has zero (0) occurences of words "SMR" or "shingled"
[15:37] <TJ-> blackflow: "Recording Technology: SMR" for the MQ04ABD200
[15:37] <blackflow> ah I see now, those are pictures in the PDF......
[15:38] <blackflow> then again, that's not the model from the hdparm paste......
[15:38] <TJ-> blackflow: no, but it's very close, the difference being the A vs U (ATA vs USB I'd guess)
[15:38] <blackflow> neway, if that's SMR indeed, it would explain the slow writes, yes.
[15:41] <code1> I've just installed Ubuntu 19, is there a difference between installing software from the command line and the software GUI?
[15:41] <jtnunley> I’m trying to connect by Nintendo DS to a virtual GTS server. How do I create a WFC WiFi hotspot on my Ubuntu laptop?
[15:41] <code1> I'm new to linux
[15:41] <jtnunley> code1: not really
[15:42] <code1> jtnunley: does it all get installed to the same place?
[15:42] <tomreyn> !yy.mm | code1
[15:42] <jtnunley> code1: they both use APT if memory serves right
[15:43] <TJ-> mr_lou: blackflow slow writes aren't a symptom of SMR, especially initially. If it is an SMR it has a 128MB cache, so OS writes go into the cache
[15:43] <jtnunley> btw I meant WEP for my question
[15:43] <tomreyn> code1: the software gui may also install packages via !snaps
[15:43] <code1> jtnunley: ok thanks
[15:43] <code1> tomreyn: is that a good thing?
[15:44] <tomreyn> code1: that's for you to decide. personally, i try to stay away from snaps.
[15:44] <TJ-> mr_lou: I presume you're in Asia? This 'U' model seems to be specific to that region
[15:44] <code1> tomreyn: why is that?
[15:45] <tomreyn> code1: don't let me influence you, form your own opinion. once this is done, we can discuss in #ubuntu-discuss.
[15:45] <tomreyn> !snap | code1
[15:46] <mr_lou> TJ-, No I'm in Denmark.
[15:47] <blackflow> TJ-: well, I asked mr_lou to provide a dd test. I haven't seen it yet. So far the only explanation for slow writes has been (allegedly, as we haven't even seen those) borg backup log timestamps....
[15:47] <code1> So Firefox comes preinstalled (which is great) but isn't listed in the Ubuntu Software's installed apps but instead lists it as something I can install
[15:47] <mr_lou> TJ-, Writes are fine at first. Then slows down. Exactly as everyone else online describes it.
[15:47] <mr_lou> blackflow, And iostat
[15:49] <blackflow> dd is the only proper test :) iostat tends to lie through averages and oversized iops.
[15:49] <mr_lou> Yea, I did think iostat's numbers were a bit high.
[15:49] <mr_lou> I figured it had to be average numbers.
[15:50] <mr_lou> But it still drops and keeps dropping.
[15:50] <blackflow> though technically those are transactions which occur before the hdd caches and methinks even before kernel's own transaction reordeing at the scheduler
[15:50] <blackflow> so yeah, they can be much higher than theoretical iops for the drive
[15:50] <mr_lou> I reboot before starting the test.
[15:50] <TJ-> mr_lou: I agree with you it is an SMR drive; I'm surprised it has just poor sustained write performance though, based on my experience with an 8TB SATA-connected archive drive
[15:51] <TJ-> mr_lou: finally found a photo of one! http://www.donordrives.com/mq04ubd200-aa01-jt000u-hdkbd53aza31-t-toshiba-2tb-usb-2-5-hard-drive.html
[15:51] <pjs> Anyone familiar with source routing? Ie, I want to route all traffic FROM a specific network/interface to a specific gateway/interface, regardless of destination.
[15:51] <blackflow> TJ-: could be some specific random rw workload that borgbackup does   (I think this was borg backup in question)
[15:53] <blackflow> pjs: otoh, something something marking packets with iptables then using those tags for routing.
[15:53] <blackflow> pjs: https://www.tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.netfilter.html
[15:53] <pjs> blackflow: thank you!
[15:54] <pjs> I was using iproute2 tables but not having luck
[15:54] <Dreaman> 122
[15:54] <TJ-> pjs: you need Policy Routing (additional routing tables)
[15:54] <blackflow> pjs: yea you need to classify packets into tables first
[15:54] <Dreaman> my new laptop hp pavilion 8 gen i5
[15:54] <mr_lou> Thanks TJ-
[15:54] <Dreaman> 1050 ti
[15:55] <Dreaman> no chance to install
[15:55] <Dreaman> ubuntu
[15:55] <pjs> blackflow: TJ-, I was trying this: https://www.tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.rpdb.simple.html
[15:55] <Dreaman> error
[15:55] <TJ-> pjs: this may help remove some confusion: https://serverfault.com/questions/738915/how-do-policy-based-routing-tables-actually-work
[15:55] <pjs> TJ-, thanks! I'll give it a read now
[15:56] <tomreyn> !enter | Dreaman
[15:57] <Dreaman> just no start install program
[15:57] <Dreaman> no drivers may be x.org
[15:58] <Dreaman> 19.04 ubuntu
[15:59] <Associatex> I can not get to my DM, I get the Dell splash screen then a blinking cursor, I like when a frame buffer is out of range.
[16:00] <Dreaman> is hp i5 intel 8gb ram 630 intel video uhd 8 gb ram ssd 128 gb and sata 1 tb game laptop
[16:00] <Dreaman> intel 8 gen
[16:01] <Dreaman> 4 real 8 virtual kernels
[16:01] <TJ-> mr_lou: I found some good benchmarks covering that exact drive and the numbers are much higher than you report. See the various pages in this review (there are 7)  https://www.kitguru.net/components/hard-drives/simon-crisp/toshiba-canvio-advance-2tb-external-hard-drive-review/4/
[16:01] <Dreaman> fedora mint opensuse ubuntu xubuntu
[16:02] <Dreaman> not like this
[16:04] <lol768> evince on 19.04: when the window isn't active, the document dims slightly (s.t. a white BG is now grey)
[16:04] <lol768> how can I turn this off?
[16:04] <Dreaman> bay no os
[16:04] <WGwinn> How well, generaly speaking, dous ubuntu in a vm handle being moved between different hardware? specifically, almost all dell servers of various generations.
[16:04] <Dreaman> i install 10
[16:05] <lol768> actually I'm not sure this is an evince specific feature, the terminal does it too ._.
[16:05] <Dreaman> 30 year us pc
[16:05] <Dreaman> not a lame
[16:05] <Dreaman> just error
[16:06] <Dreaman> instaletion program not start
[16:06] <tomreyn> !enter | Dreaman
[16:06] <Dreaman> just stop
[16:06] <pjs> blackflow: This has a bit more detail on what I'm trying to do. So far no luck, even trying what you just gave me. I think I may need to flush everything and start over: https://www.reddit.com/r/raspbian/comments/bsp2oc/source_routing_only_wlan0_via_openvpn_connection/
[16:07] <tomreyn> WGwinn: unless you have hardware / driver specific confgurations in place, or are switching between BIOS and UEFI booting (or architectures): quite well.
[16:07] <Dreaman> new hardware
[16:07] <Dreaman> bott
[16:07] <Dreaman> boot start
[16:08] <Dreaman> but no chanse to going instal program
[16:08] <Dreaman> uefi
[16:08] <Dreaman> refus usb iso
[16:09] <tomreyn> !nomodeset | Dreaman
[16:10] <Associatex> @Dreaman go into your uefi and enable legacy booting.
[16:10] <TJ-> tomreyn: I think Dreaman's issue is the installer ISO isn't found by the PC boot -manager (sounds like an UEFI issue)
[16:10] <Dreaman> tomreyn: i not install nvidia driver
[16:10] <Dreaman> hahahah
[16:10] <Dreaman> intal insade video 630
[16:10] <Dreaman> intel
[16:10] <Dreaman> dual video cards and hdd
[16:11] <Dreaman> 1050 ti nvidia
[16:11] <tomreyn> TJ-: hmm yes this makes more sense. but with lots of lines containing two or three words it's hard to follow.
[16:11] <TJ-> Dreaman, ще ви помогне ли да получите подкрепа на родния си език?
[16:12] <Dreaman> TJ-:  помогни
[16:12] <Dreaman> alternative install
[16:12] <Dreaman> network
[16:13] <TJ-> tomreyn: Dreaman is Bulgarian; do we have any IRC or forum support for that (where there is someone available) ?
[16:13] <tomreyn> !bg
[16:13] <tomreyn> i don't know whether someone is available there
[16:13] <Dreaman> tomreyn:  joke 1 user
[16:14] <Dreaman> ok i try thanks
[16:14] <TJ-> I'm afraid there'll be little to no support in that channel, and it looks like the .bg forums closed down a while ago
[16:15] <lol768> AskUbuntu question for my issue: https://askubuntu.com/questions/1146348/disable-inactive-window-dimming
[16:15] <ioria> lol768, check your gnome-shell extensions in gnome-tweaks  (and if installed, disable Shade Inactive or similar)
[16:15] <lol768> there's only one shell extension on
[16:15] <lol768> According to https://extensions.gnome.org/local/
[16:15] <lol768> And it's "Desktop Icons"
[16:15] <tomreyn> TJ-: with the language barrier, supporting him in english here will be tough, thoough. anyone happy to try to help them out can now join #ubuntu-bg
[16:16] <TJ-> tomreyn: I agree!
[16:19] <gallomimia> i tried using partitionmanager to view my LVM visually. it does not work correctly. it chokes on the idea that my volume has unused extents in the middle
[16:20] <gallomimia> it does not display a proper view of the partitions either
[16:24] <mr_lou> TJ-, Yes well, we are also seeing much better results on Windows.
[16:25] <mr_lou> TJ-, This is also something other people are reporting. Extremely poor performance on Linux. Fine on Windows.
[16:25] <mr_lou> TJ-, ....which is why I'm having difficulties leaving it alone.
[16:25] <TJ-> mr_lou: that's an interesting observation; does Windows get any additional drivers installed for it?
[16:25] <mr_lou> TJ-, No
[16:26] <Associatex> I can not get to my DM, I get the Dell splash screen then a blinking cursor, I like when a frame buffer is out of range.
[16:26] <TJ-> mr_lou: so it might not be the SMR causing this, it might be the actual AHCI queue depth or similar
[16:27] <mr_lou> TJ-, I can't quite accept that Linux shouldn't be able to achieve the same results. But I admit we haven't tested it with the exact same files. I've mostly tried big files. I actually also got fine results on my own Desktop Ubuntu PC. The slow speed is happening on our Ubuntu Server at work.
[16:27] <mr_lou> TJ-, But it's a brand new server. It's very fast otherwise.
[16:27] <TJ-> mr_lou: I agree with you, all things being equal the underlying technology of the platters should affect all OSes equally, which is why I suspect the AHCI config could be the cause
[16:27] <mr_lou> TJ-, And it works fine and fast with other harddisks.
[16:28] <mr_lou> TJ-, Well what can I do about that then?
[16:28] <TJ-> mr_lou: i did some tests of that drive, with different NCQ depths, so that could be part of the reason.
[16:28] <WGwinn> tomreyn, thank you!
[16:29] <OerHeks> mr_lou, would that performance be related to ntfs? did you try exfat as well?
[16:29] <mr_lou> OerHeks, Didn't try exfat, but have tried ext4 and btrfs
[16:30] <Hell-Razor> Good morning... is anybody else getting a lot of 503 errors this weekend? Itsl ike I have a halfway synced repo
[16:30] <OerHeks> as you stated it must be windows compatible..
[16:30] <mr_lou> OerHeks, https://superuser.com/questions/1441290/insanely-slow-usb-harddisks-on-linux-in-2019
[16:30] <TJ-> mr_lou: I've just found a terrific article that talks about a Seagate Archive (SMR) drive and how the drive affects queuing with delays! A great read to maybe understand more about what is going on and possible workarounds. https://unix.stackexchange.com/questions/211550/how-to-really-disable-ncq-in-linux
[16:30] <OerHeks> Hell-Razor, still having mirror issues?
[16:31] <TJ-> mr_lou: the most revealing part of that article to me is "After that, the HDD stalls the remaining bytes for over 800 ms! Then the HDD is ready to receive the next 32 MiB and stalls again for 800 ms"
[16:31] <Hell-Razor> DerRaiden: Yup
[16:32] <OerHeks> changing mirror from US to main did not solve? .. then try to restart your modem/router, to fix unexplainable connection issues.
[16:32] <Hell-Razor> I dont get it.. fresh install and broken repos? shrug
[16:32] <Hell-Razor> What are the main repos instead of what I have in there currently?
[16:32] <mr_lou> TJ-, Yes, those are the kinds of info I find too when searching. That it slows down. Even halts completely. Copies everything real fast but then stays at 100% forever.
[16:33] <mr_lou> TJ-, But the big question is: Is there a solution anywhere?
[16:33] <TJ-> mr_lou: I'm wondering if you get any better performance by disabling NCQ as that engineer was doing
[16:33] <Hell-Razor> And why would I reset my modem / router DerRaiden ? its a 503, means remote issue
[16:34] <Hell-Razor> No errors in my pihole or firewall...
[16:34] <TJ-> Hell-Razor: are you using an archive mirror?
[16:34] <Hell-Razor> TJ-: I am using whatever ubuntu wanted to put on, this is a fresh install
[16:35] <Hell-Razor> But yes it does look like its all archive mirrors, wtf
[16:35] <mr_lou> TJ-, Hm...well..... I have no experience with kernel parameters. I'm also just using SSH so I can't access recovery menu either.
[16:35] <Hell-Razor> mr_lou: whats the issue? what are you trying to do with SSH?
[16:36] <mr_lou> Hell-Razor, Just using SSH to work on the server I'm having problems with = can't remotely access recovery menu.
[16:36] <mr_lou> Hell-Razor, Not an issue as such.
[16:37] <TJ-> Hell-Razor: grep "http" /etc/apt/sources.list | head -1"
[16:38] <Hell-Razor> What do you want to know TJ- ?
[16:38] <Hell-Razor> They are achive mirrors
[16:39] <OerHeks> "No errors in my pihole .."
[16:39] <Hell-Razor> mr_lou: Ah. I dont think you are going to be able to boot into a recovery with ssh
[16:39] <Hell-Razor> DerRaiden: I meant nothing is blacklisted
[16:39] <mr_lou> TJ-, Can I just edit /etc/default/grub for that?
[16:40] <mr_lou> Nah...
[16:41] <TJ-> mr_lou: just use sysfs, e.g. "grep . /sys/block/sd?/device/queue_depth"
[16:41] <TJ-> mr_lou: id the device and see what it's current queue depth is, if greater than 1 try changing it to 1
[16:42] <mr_lou> TJ-, It's 1
[16:42] <Hell-Razor> I am trying to figure out what the next step is, nuke the repo file and put in different ones? I am more confused how this could be so broken on a fresh install
[16:42] <mr_lou> TJ-, Probably because of the various settings I've tried.
[16:43] <mr_lou> TJ-, I've tried a lot of suggestions that I've found here and there. Nothing seems to help.
[16:44] <TJ-> mr_lou: I'd suspect that 1 is the native value actually, but it is always worth checking
[16:44] <OerHeks> Hell-Razor, again: try to restart your modem/router, to fix *unexplainable* 503 connection issues., but if you won't, that is oke, i have no other clue
[16:44] <mr_lou> TJ-, How about if I change grub..   GRUB_CMDLINE_LINUX_DEFAULT="libata.force=noncq"  ?
[16:45] <mr_lou> TJ-, And then reboots?
[16:45] <OerHeks> except the pihole maybe
[16:45] <Hell-Razor> OerHeks: Not like I havent tried that already, but that doesnt make any sense as is
[16:45] <OerHeks> well, those 503 do not make sense either
[16:46] <mr_lou> TJ-, I think I set it to one, by doing echo 1 > /proc/sys/vm/swappiness
[16:46] <TJ-> mr_lou: yes, that would be a good test, as long as you're booting with Ubuntu's default entry and not some other :) I usually add to GRUB_CMDLINE_LINUX= since that applies to *all* entries including recovery
[16:46] <Hell-Razor> I am using archive mirrors, why would ubuntu install archive mirrors on a fresh install OerHeks, thats where I am stuck right now
[16:46] <mr_lou> TJ-, OK. I'm gonna try that then.
[16:46] <Hell-Razor> And, what are the mirrors I should be using
[16:47] <OerHeks> us mirror should be fine, else 'main'
[16:47] <OerHeks> but you have tried that, you said
[16:47] <Hell-Razor> OerHeks: No I didnt say that
[16:47] <Hell-Razor> I said which us mirrors should I be using
[16:48] <TJ-> Hell-Razor: the mirrors are auto-detected so that (usually) you get a fast experience AND don't overload the primary archive servers
[16:48] <OerHeks> the update setting menu gives an opotion to scan for fastest mirror, and us is oke, or trottle back to main, maybe slower..
[16:48] <Hell-Razor> TJ-: Looks like the auto-detect bombed somewhere?
[16:48] <Hell-Razor> OerHeks: Wheres that?
[16:49] <TJ-> Hell-Razor: no, it sounds like the mirror itself is having problems. 503 is a server error indicating internal problems
[16:49] <TJ-> Hell-Razor: these happen occassionally on all all web servers
[16:49] <Hell-Razor> TJ-: Somebody here said yesterday they were able to sync fine
[16:49] <mr_lou> TJ-, Poster writes though: "Regarding my Seagate 6TB write performance problem, there was no change in speed. Linux still reaches 180 MiB/s."
[16:49] <mr_lou> TJ-, So probably shouldn't get my hopes up.
[16:50] <OerHeks> Hell-Razor, really, no clue about update settings?
[16:50] <Hell-Razor> TJ-: Yeah I get that, shit happens, but it looks like I am literally on a half updated system... I am looking to get git installed, it doesnt exist in the repo right now which doesnt make sense, same with a dozen other packages that I know exist arent found
[16:50] <TJ-> mr_lou: indeed, at this point you're just experimenting!
[16:50] <mr_lou> TJ-, Yup
[16:50] <TJ-> Hell-Razor: edit /etc/apt/sources.list for now
[16:51] <mr_lou> TJ-, Nope, very low. 2 mbps
[16:51] <Hell-Razor> OerHeks: I am not a ubuntu user, this is a cheap laptop I am just experimenting on at the moment
[16:51] <TJ-> Hell-Razor: something like "sed -i 's/us\.//' /etc/apt/sources.list" (if its' set to us.archive.ubuntu.com)
[16:52] <TJ-> mr_lou: is the drive data destroyable? I mean, can you do a raw dd test into it and forget about file-systems?
[16:52] <Hell-Razor> TJ-: Lets see what that does
[16:52] <OerHeks> why commandline, use the gui, type update in the search, and the settings tool pops up
[16:52] <OerHeks> !update
[16:53] <Hell-Razor> OerHeks: Because this is linux, things work via cli
[16:53] <TJ-> command-line instructions can be 100% precise; trying to describe where to find something in a GUI is not
[16:54] <Hell-Razor> ++ to that
[16:54] <Hell-Razor> still a ton of 503s
[16:54] <TJ-> Hell-Razor: did you check the change was made to the file? after which you have to do "sudo apt update" to fetch the lists from the new servers
[16:54] <Hell-Razor> I did an update, thats where the 503s are coming from
[16:55] <Hell-Razor> root terminals ftw, no sudo needed
[16:55] <TJ-> Hell-Razor: and it now points to archive.ubuntu.com ?
[16:55] <Hell-Razor> TJ-: correct
[16:55] <TJ-> Hell-Razor: in which case there is a (transparent) proxy in your network route , possibly ISP?
[16:56] <TJ-> Hell-Razor: we do see this quite a lot
[16:56] <Hell-Razor> Its possible there is something outside of my network that is messing with this. I have several other linux machines in my network that are running just fine, just not ubuntu
[16:56] <TJ-> Hell-Razor: let's see if you could use HTTPS: "apt list --installed apt-transport-https"
[16:56] <mr_lou> TJ-, Sure
[16:57] <Hell-Razor> TJ-: not installed
[16:57] <TJ-> Hell-Razor: also, can you browse into the mirror with a regular web browser?
[16:57] <TJ-> Hell-Razor: as in http://us.archive.ubuntu.com/ubuntu/
[16:58] <b1ack0p> how can i create another user in ubuntu?
[16:58] <b1ack0p> i want to create a shell for a test bot
[16:58] <TJ-> b1ack0p: "sudo adduser newuser"
[16:58] <Hell-Razor> What a pile, my isp is blocking that mirror
[16:58] <b1ack0p> can i install things inside newuser without login in there?
[16:58] <Hell-Razor> One sec, time to call and yell at them
[16:59] <TJ-> Hell-Razor: aha!
[16:59] <Hell-Razor> TJ-: its still strange, why blacklist a mirror.
[16:59] <b1ack0p> TJ-: should i be root for that?
[16:59] <TJ-> Hell-Razor: you might have alternative transports you could use: look for "installed" in "apt list apt-transport*"
[16:59] <Hell-Razor> I need to figure out how to get around it now
[16:59] <TJ-> Hell-Razor: are you getting a denied returned from the ISP from a transparent proxy then?
[17:00] <Hell-Razor> TJ-: the only apt transport i have is libapt-pkg5, thats it. I am literally on a half installed or half updated system, kind of funny
[17:00] <TJ-> Hell-Razor: I bet the proxy is broken, try this to get an idea what it returns, and show us: "wget -S http://us.archive.ubuntu.com/ubuntu/ -O -"
[17:00] <Hell-Razor> TJ-: I am getting a denied message from a server I run into as soon as I leavem y network
[17:01] <Hell-Razor> I dont get an error with wget, just when I try to browse to it which is strange. Its like I can get there but the proxy drops the packages when I return?
[17:02] <TJ-> Hell-Razor: this is what you'd expect to see: http://paste.ubuntu.com/p/p9hgq8FCTG/
[17:02] <TJ-> Hell-Razor: in those headers, do you see a "Proxy" header?
[17:02] <TJ-> Hell-Razor: in *your* headers
[17:02] <Hell-Razor> Yeah I follow, one sec on the phone
[17:03] <TJ-> Hell-Razor: possibly the ISP has its own mirrors
[17:03] <Hell-Razor> Theres an easy way to get around that
[17:03] <plongshot> is there any way to tell what actual version of a package will be installed throught the official repository?  I don't mean ubuntu package version number I mean the version according to upstream versioning so you know what you will actually get if you install it that way.  thanks
[17:04] <Hell-Razor> I just need to setup another vpn on my pa
[17:04] <b1ack0p> $ sudo apt install tcl
[17:04] <b1ack0p> [sudo] password for bot:
[17:04] <b1ack0p> bot is not in the sudoers file.  This incident will be reported.
[17:04] <TJ-> b1ack0p: indeed, the bot is not a member of the sudo group
[17:05] <b1ack0p> what can i do?
[17:05] <TJ-> b1ack0p: I'm not sure what you want to do? to use 'apt install' you need sudo privileges, because that installs a package into the operating system
[17:06] <b1ack0p> TJ-: i created a user name bot and logged in with password
[17:06] <tomreyn> b1ack0p: run administrative commands (which require sudo) as your main user, using sudo
[17:06] <b1ack0p> i am trying to install tcl
[17:06] <TJ-> b1ack0p: there is no facility to use the package manager to install packages on a per-user basis
[17:06] <b1ack0p> TJ-:i dont get it
[17:07] <plongshot> And, is this an official repository?  https://launchpad.net/~ansible/+archive/ubuntu/ansible
[17:07] <plongshot> Do I already have that then because I have the official repositories?
[17:08] <TJ-> plongshot: "apt-cache policy <package-name>" to see what versions can be installed and from where
[17:08] <coconut> Anyone knows for a cakewalk(windows) alternative for ubuntu? (i hope for something available in the repo. It has to function for ls files and for midi audio output to a barrel organ).
[17:08] <plongshot> TJ-: thx
[17:09] <TJ-> plongshot: "apt-cache search -n <fragment-of-package-name>" to locate a package, and "apt-cache show ..." to show details of the package
[17:09] <Hell-Razor> TJ-: problem solved
[17:09] <mr_lou> TJ-, Another sign it's bad, is that calling sync takes several minutes... sometimes 10-20 minutes.
[17:09] <Hell-Razor> TJ-: thanks for your help.
[17:09] <TJ-> mr_lou: I think you've a duff drive there
[17:09] <mr_lou> TJ-, But libata.force=noncq didn't change anything.
[17:09] <TJ-> Hell-Razor: glad you got it sorted :)
[17:10] <plongshot> So if I see  "Candidate: 2.5.1+dfsg-1"  <--  that's the upstream ansible version not the ubuntu package version?
[17:10] <mr_lou> TJ-, I'm gonna reset everything, all my settings, then reboot and try a dd test.
[17:10] <tomreyn> plongshot: URLs in the form of https://launchpad.net/~user_or_projectname/+archive/something/somethingelse point to !PPA
[17:10] <TJ-> mr_lou: based on the reports I'd RMA it as defective
[17:10] <mr_lou> TJ-, That's what I wanted to do first - but the seller tested it and said it was fine. And then I bought another Toshibe Canvio drive (almost same model) which behaves exactly the same.
[17:10] <Hell-Razor> mr_lou: What are you trying to work on?
[17:11] <plongshot> tomreyn: I'm trying to figure out if that is an additional way to instlal ansible by adding that repo but I don't undrestand how launchpad works.  Anyone can create their own ppa there?
[17:11] <plongshot> ppa?
[17:11] <mr_lou> Hell-Razor, https://superuser.com/questions/1441290/insanely-slow-usb-harddisks-on-linux-in-2019
[17:11] <TJ-> !ppa | plongshot
[17:11] <tomreyn> !ppa | plongshot
[17:12] <plongshot> right on
[17:12] <plongshot> ty
[17:12] <TJ-> mr_lou: in your tests, it would be interesting to discover what size of data you can send to the drive intitially before it stalls ... that'd reveal the drive's cache size
[17:12] <plongshot> I have now 4 ways to decide from to insall < pip | apt | ppa | source >
[17:12] <mr_lou> TJ-, Pretty sure that'll be 128 mb
[17:13] <mr_lou> According to specs.
[17:13] <TJ-> mr_lou: indeed, but still be interesting... I'm wondering if they've reduced the cache size (to reduce cost) and therefore it stalls quicker
[17:13] <TJ-> mr_lou: if it were down to 32MB for example
[17:14] <TJ-> mr_lou: most non=SMR drives have around 8MB cache (non Enterprise)
[17:14] <mr_lou> mkay
[17:15] <plongshot> Can I have a ppa on launchpad?
[17:15] <plongshot> What or who do you have to be to have one?
[17:15] <plongshot> you know I had to adk  :>
[17:16] <mr_lou> TJ-, Trying this one first: dd if=/dev/zero of=/dev/sdc bs=32M count=32
[17:16] <Hell-Razor> mr_lou: ouch
[17:17] <mr_lou> TJ-, Taken from https://unix.stackexchange.com/questions/211550/how-to-really-disable-ncq-in-linux
[17:17] <OerHeks> plongshot, yes you can, if you registered, signed COC, https://askubuntu.com/a/71516
[17:17] <mr_lou> Hell-Razor, It's a very annoying issue, especially because I'm praising Linux (a lot) at work, so my coworkers just loves when something like this happens.
[17:18] <plongshot> OerHeks:   do I have to share it?
[17:18] <OerHeks> plongshot, when you are done, the ppa is published after building, then you can share the adress
[17:18] <OerHeks> or keep private, it all will be explained in those urls
[17:18] <plongshot> I wonder what way it could be used --if I could use it as a place to park my personal server configuration (like a backup) ?
[17:19] <Hell-Razor> mr_lou: are you using ubuntu at work?
[17:19] <mr_lou> Hell-Razor, Yes
[17:19] <plongshot> oh ok
[17:19] <OerHeks> plongshot, no, use github for that?
[17:19] <plongshot> OerHeks: I get it .  ty
[17:19] <mr_lou> Hell-Razor, Server running an HTML5 based Business Intelligence system, and handling backup. We also have a Debian server running printer software.
[17:20] <Hell-Razor> mr_lou: Ah.. that may be one issue. I find ubuntu is behind and too old / obsolete for me to work with on a professional level. Only reason why its on this laptop is because I wanted to stress test it before buying
[17:20] <Hell-Razor> mr_lou: cool
[17:20] <Hell-Razor> mr_lou: Business intel like... bro?
[17:20] <TJ-> Hell-Razor: "too old"?
[17:20] <plongshot> OerHeks:  the ppa s in launchpad contain ubuntu packages (packaged for ubuntu / a deb package) but is it just a git repo underneath?
[17:20] <mr_lou> Hell-Razor, When I started looking into Linux, I started out with Arch. Grew tired of that fast. I lost count of how many times I had to fix my install due to changes that broke this and that.
[17:20] <Hell-Razor> TJ-: some packages are outadated
[17:21] <mr_lou> Hell-Razor, I have no regretted switching to Ubuntu. :-)
[17:21] <OerHeks> plongshot, there are many ways to add sourcecode, git is just one of them
[17:21] <mr_lou> TJ-, That DD test isn't done yet...  O_o
[17:21] <Hell-Razor> mr_lou: Want to talk about breaking stuff lol.. Ubuntu is usuallly alright overall for those that dont want to tinker.
[17:21] <TJ-> Hell-Razor: well yes, compared to where the 60,000+ packages carried are *today* - Ubuntu is not a rolling-release, it freezes packages every 6 months
[17:21] <blackflow> !latest
[17:22] <blackflow> Case in point, Arch users now crying over corrupt data, by data-eating bug in dm layer with 5.1 kernel
[17:22] <TJ-> Hell-Razor: but including the word 'professional' in there is strange, since most professionals prefer stability over bleeding edge
[17:22] <plongshot> OerHeks: Yes. I personally know git best but Ibe played w/ mercurial once.  I was just curious about what it actually is. What actually is used in launchpad but I can look that up.  I was just chatting about it to see what was said.
[17:22] <Hell-Razor> TJ-: Thats what I mean, sometimes if I want a patch that I need for, say pen testing, I sometimes I dont want to wait 6 months. Also 19.04 just got the 5.0.0 kernel like a week ago correct?
[17:23] <plongshot> So nothing to stop a person from packaging to deb and putting that in their github repo?
[17:23] <TJ-> plongshot: PPA is a place to publish your own Debian (.deb) packages, it is NOT a general file/DVCS service
[17:23] <OerHeks> Hell-Razor, no, 19.04 gives 5.x from release
[17:23] <Hell-Razor> TJ-: I am talking more personal workstation at work, not server based
[17:23] <blackflow> Hell-Razor: you can always patch src deb and have super-turbo latest software.
[17:23] <TJ-> plongshot: the PPA builds the packages from source and puts them on a HTTP archive server that can be included in the apt sources.list
[17:23] <OerHeks> get your facts right, professional
[17:24] <Hell-Razor> OerHeks: You sure like to cherry pick
[17:24] <TJ-> Hell-Razor: same here; I do all my primary work on the last LTS release, and use containers for anything bleeding edge
[17:25] <plongshot> TJ-: That was what I was after...  that how do you replicate the functionality of the launchpad ppa with a github repo?  What I was trying to understand was if there is a difference in added features / functionality in launchpad that git doesn't have.
[17:25] <Hell-Razor> TJ-: Yeah its all interesting though.
[17:26] <TJ-> echo $(uname -r; lsb_release -r) = "5.1.0-050100-lowlatency Release: 18.04"
[17:27] <Hell-Razor> OerHeks: But please, dont ever tell anybody again to reboot for a 503, it hurts your credibility
[17:27] <TJ-> plongshot: PPA isn't git, originally the only source-code publishing method was the Debian "dput package.dsc" command
[17:28] <Hell-Razor> Alright im outie. you gals and guys have a good weekend.
[17:28] <OerHeks> have fun!
[17:29] <TJ-> plongshot: the point of PPAs is the package is built properly in the PPA builders for multiple architectures and then published
[17:36] <plongshot> TJ-: Ok, so if there is automation in launchpad that doesn't exist in a regular git repo (eg: locally, github, bitbucket, or other). then the question becomes can it  (my github or bitbucket accunt) be made ilike it? And differences in how the stat is reached? Constraints?  OR  say :  "this is why someone would wonder if they can make a launchpad ppa private adn use it that way".   The point seems that launchpad is not intended for
[17:36] <plongshot> that purpose so I honer that totally.   But that's what I wonder about and why I was digging
[17:36] <plongshot> I appreciate ya'all I can look stuff up. Just chatting about it here is all
[17:36] <plongshot> np
[17:37] <OerHeks> there is a private ppa option..
[17:38] <OerHeks> another option is snap, building software and distribute to any linux version using snapd
[17:40] <TJ-> plongshot: PPAs came about as a way for developers to easily build and publish packages (for testing of bug-fixes, new features) in a trusted way that works with the existing Debian/Ubuntu package management, rather than asking people to download from random web servers ala Windows
[17:41] <mr_lou> TJ-, That DD test still hasn't completed. :-|
[17:43] <kish> http://www.redhat.com
[17:43] <plongshot> OerHeks: You dont say?
[17:44] <plongshot> that is an intersting option I would have never ever considered possible
[17:44] <blackflow> mr_lou: did you limit it with block count?
[17:44] <TJ-> mr_lou: 32 x 32MB? then the drive is foo-barred, have tou examined its SMART reports?
[17:44] <plongshot> well I love you guys
[17:44] <plongshot> ty
[17:44] <TJ-> blackflow: it was "  dd if=/dev/zero of=/dev/sdc bs=32M count=32 "
[17:45] <mr_lou> blackflow, dd if=/dev/zero of=/dev/sdc bs=32M count=32
[17:45] <mr_lou> TJ-, Again: It works fine on Windows.
[17:45] <TJ-> mr_lou: with 'dd' ?
[17:45] <OerHeks> with 128m cache, would bs=128M be correct?
[17:45] <mr_lou> TJ-, There's dd for Windows?
[17:45] <plongshot> OerHeks: snap
[17:45] <plongshot> right on
[17:46] <TJ-> mr_lou: there was many moons ago, but now Windows has WSL I'd assume its available through that
[17:46] <blackflow> OerHeks: doesn't matter as long as total write breaks through cache size.
[17:47] <Wizard> Hi.
[17:47] <TJ-> plongshot: the downside of snaps is, if you're bundling specific versions of other libraries as part of your application, its up to you ensure they get patched for security issues and you republish
[17:47] <Wizard> I'm trying to pin one of my apps to favourites in Gnome.
[17:47] <TJ-> mr_lou: I left Windows in 2003, but even back then there as windd
[17:47] <Wizard> However, it's a java app
[17:48] <Wizard> So I'm creating a desktop entry by hand. How can I obtain wmclass?
[17:48] <blackflow> Wizard: do you need it?
[17:48] <Wizard> (latest ubuntu, so I assume this isn't X11)
[17:48] <blackflow> (it is)
[17:48] <Wizard> So xwminfo or something like this?
[17:49] <TJ-> Wizard: someone else asked the same question recently and I cannot recall the answer I gave now!
[17:50] <blackflow> https://superuser.com/questions/142318/how-can-i-view-the-wmclass-attribute-of-a-window-in-xorg-linux
[17:50] <Fuchs> xwininfo or xprop
[17:50] <Fuchs> preferably the latter
[17:50] <Wizard> Yup, xprop it is :
[17:50] <Wizard> :)
[17:51] <blackflow> now the $32k question, do you need it for the .desktop entry?
[17:51] <TJ-> Wizard: ahhh, editres and listres
[17:52] <Wizard> blackflow: Yeah, there's no "pin to favourites" for some java apps.
[17:52] <Wizard> Now it works
[17:52] <Wizard> And it doesn't appear double on the list
[17:52] <blackflow> ah, I remember that problem yes
[17:52] <plongshot> TJ-: cool
[17:53] <blackflow> Wizard: StartupWMClass, yes?
[17:53] <Wizard> Exaclty
[17:54] <blackflow> but iirc you can set whatever class you want there, no?
[17:54] <Wizard> Yes, but in order it to catch the application it has to be what app really sets.
[17:54] <blackflow> ah.
[17:55] <Biessie> o/
[18:02] <Wizard> Biessie: o/
[18:06] <misslauracodes> Hi there! I'm trying to mount a Raspberry Pi SD card but when clicking the FAT32 partition I receive the error Error mounting /dev/sdb1: can't read superblock on /dev/sdb1 - but this drive works and boots fine on Windows. I have installed exfat-fuse and don't know what else to do.
[18:07] <misslauracodes> Well I do know what to do: use Windows. But I would like to use Ubuntu because I'm sure it is capable.
[18:07] <misslauracodes> I'm running Ubuntu 19.04 btw
[18:17] <Wizard> misslauracodes: No idea :D
[18:19] <tomreyn> misslauracodes: please run this in a terminal to show what you have the:  sudo fidsk -l /dev/sdb | nc termbin.com 9999; sudo lsblk --fs /dev/sdb | nc termbin.com 9999; sudo file -s /dev/sdb1 | nc termbin.com 9999
[18:19] <Dreaman> https://pastebin.ubuntu.com/p/wXF327rrpx/  done :))))))))))))
[18:19] <tomreyn> misslauracodes: it should return 3 HTTP addresses you can then post here.
[18:20] <misslauracodes> tomreyn: https://termbin.com/0lax https://termbin.com/xi95 https://termbin.com/8bvp
[18:21] <misslauracodes> that nc trick is nice, will remember.
[18:23] <tomreyn> misslauracodes: how did you try to mount sdb1?
[18:24] <misslauracodes> tomreyn: plugged it in, clicked it in nautilus. however I have also tried manually with mount -t vfat /dev/sdb1 /media/rpi/boot
[18:25] <tomreyn> misslauracodes: did you try to run "mount -t vfat /dev/sdb1 /media/rpi/boot" with sudo?
[18:26] <tomreyn> misslauracodes: is "Error mounting /dev/sdb1: can't read superblock on /dev/sdb1" the output produced by this command (run without sudo)?
[18:28] <misslauracodes> tomreyn: yes and yes
[18:28] <misslauracodes> tomreyn: I'm doing this on a fresh install of ubuntu 19.04 - but I have installed exfat-fuse as an attempt to get this working
[18:29] <tomreyn> misslauracodes: so "sudo mount -t vfat /dev/sdb1 /media/rpi/boot" produced the same output - "Error mounting /dev/sdb1: can't read superblock on /dev/sdb1"?
[18:29] <misslauracodes> tomreyn: yeah I'm running as root already
[18:29] <tomreyn> misslauracodes: i don't see how exfat support would help, sdb1 is clearly a vfat file system
[18:29] <misslauracodes> tomreyn: i was clutching at straws
[18:30] <TJ-> misslauracodes: can you show us "pastebinit <( journalctl -b -n 150)"
[18:31] <tomreyn> misslauracodes: run a file system check on it: sudo fsck -n /dev/sdb1
[18:31] <tomreyn> misslauracodes: run a file system check on it: sudo fsck.vfat -n /dev/sdb1
[18:31] <tomreyn> the latter please
[18:32] <tomreyn> !pastebinit | misslauracodes
[18:33] <misslauracodes> TJ-: https://termbin.com/5om6
[18:34] <TJ-> misslauracodes: aha "FAT-fs (sdb1): error, invalid access to FAT (entry 0x0c77a594)"
[18:34] <misslauracodes> TJ-: it's not aha for me :/
[18:37] <TJ-> misslauracodes: it means that a cluster number in the File Allocation Table is out-of-bounds - Unlike Windows, Linux checks the entire FAT before mounting
[18:37] <TJ-> misslauracodes: as tomreyn recommended, do an fsck
[18:38] <misslauracodes> oops, didn't see tomreyn message
[18:38] <misslauracodes> fsck.vfat -n /dev/sdb1 fsck.fat 4.1 (2017-01-24) Seek to 7846493696:Invalid argument
[18:39] <misslauracodes> tomreyn, TJ: ^
[18:39] <TJ-> misslauracodes: ouch!
[18:40] <TJ-> misslauracodes: has the file-system been resized at some point?
[18:40] <misslauracodes> TJ-: no I just wrote raspbian to it using dd
[18:41] <TJ-> misslauracodes: that seek number equates to 3741.49GB into the device! plainly impossible
[18:41] <TJ-> misslauracodes: ahhh, unless it's reporting in bytes not sectors
[18:42] <tomreyn> it'd still be much larger than 42.9 MB
[18:43] <TJ-> misslauracodes: that seek value is well outside the partition sdb1, it's almost the end of the device
[18:43] <tomreyn> misslauracodes: raspbian is probably larger than 42.9 MB, too?
[18:43]  * TJ- tries to recall the equiv of dumpe2fs -h for vfat
[18:43] <TJ-> tomreyn: the FAT32 is the GPU's boot partition, Raspbian is in sdb2 on ext
[18:44] <tomreyn> i see.
[18:45] <misslauracodes> I downloaded the 1.8GB .img file from raspberrypi.org - then dd if=/path/to/raspbian.img of=/dev/sbb bs=4M
[18:45] <tomreyn> either way, it's either broken or in a vfat variant ubuntu does not understand.
[18:45] <tomreyn> sbb?
[18:48] <TJ-> typo :)
[18:49] <LinuxGuy2020> Hello I am looking for a list of keycodes for remapping a few extra mouse buttons. Normal 3 buttons are recognised by the system as btn_left, btn_right, and btn_middle. What would I call buttons 4 and 5?
[18:49] <tomreyn> misslauracodes: so i guess my conclusion is that this image you wrote to the sdcard either didn't arrive on the sdcard properly, or was broken in the first place, or it is actually fine and ubuntus' dosfstools just do not know how to interpret it (rather unlikely).
[18:52] <tomreyn> misslauracodes: you can run fsck.vat in repair mode (where it actually makes changes, -n prevented this)
[18:52] <tomreyn> *fsck.vfat
[18:53] <misslauracodes> hm, I did it on another sd card to check, and they both have the same conclusion
[18:53] <tomreyn> misslauracodes: you could also loop-mount the original image file and run fsck.vfat -n against the first partition there, to see whether it's already broken there.
[18:53] <misslauracodes> I'll download the image from another source first
[18:54] <misslauracodes> sha256sum matches
[18:57] <TJ-> misslauracodes: where are you downloading from? I can check the FAT manually to detect the error by hand
[19:00] <misslauracodes> TJ-: https://www.raspberrypi.org/downloads/raspbian/
[19:00] <misslauracodes> sorry, https://downloads.raspberrypi.org/raspbian_lite_latest
[19:03] <fishcooker> i have 2 pc; A and B... i want  to backup the A folder to B using rsync afaik the eth card have 100MB and 1000MB but i got the limit on 1.12MB how to make the speed up to 100MB more closely
[19:03] <TJ-> misslauracodes: pretty sure that's the one I have here
[19:04] <TJ-> misslauracodes: ahhh, same date, but I have the standard not lite
[19:04] <misslauracodes> I've done this procedure probably a hundred times and it has always mounted fine, but now I'm using ubuntu 19.04 I think something has changed
[19:05] <TJ-> fishcooker: the ethernet link is Mbits, notMBytes, so rsync's 1.12MB is approx 11.2Mb
[19:05] <TJ-> misslauracodes: we'll see, I can try to replicate your experience here
[19:05] <misslauracodes> thank you
[19:06] <fishcooker> is that the best speed i could achieve, TJ-
[19:06] <tomreyn> misslauracodes, TJ-: i just ran fsck against the first partition of this image on an ubuntu 18.04.2, and there were no errors
[19:07] <tomreyn> https://termbin.com/l0jo
[19:07] <misslauracodes> How do I mount as loopback device?
[19:07] <tomreyn> i actually used kpartx, didn't mount at all.
[19:08] <tomreyn> sudo kpartx 2019-04-08-raspbian-stretch-lite.img
[19:08] <TJ-> misslauracodes: do you have the .img file still on the PC? in which case do "sudo losetup -P --show -f path/to/file.img" and then try "sudo fsck.vfat -n /dev/loopXp1"
[19:09] <misslauracodes> Hey I have tried something else and the partition mounts. Instead of doing `dd if=/path/to/raspbian.img of=/dev/sdb bs=5M` I used a GUI application called Etcher. It flashed the SD card and it mounts fine... so the error is how I'm using dd, it seems.
[19:10] <fishcooker> looks to slow... how to calc rsync's 1.12MB is approx 11.2Mb
[19:10] <TJ-> fishcooker: a byte is 8 bits but make it 10 and it's an easy multiplier
[19:10] <tomreyn> 1 Byte = 8 bit
[19:11] <Ben64> fishcooker: you might want to check the link speeds of both systems
[19:11] <Ben64> sounds like you're limited to 10mbit
[19:11] <fishcooker> noted TJ tomreyn
[19:11] <fishcooker> iperf Ben64
[19:11] <fishcooker> ?
[19:11] <TJ-> misslauracodes: the .img file is fine here, so it's possible your USB adapter for the SD-card is faulty and introduces corruption on write
[19:11] <Ben64> no, that checks throughput
[19:12] <misslauracodes> TJ-: see my prev. message
[19:12] <lotuspsychje> fishcooker: and whats the ammount of data you are going to move?
[19:12] <Ben64> fishcooker: ip link show
[19:12] <fishcooker> 50GB lotuspsychje
[19:12] <TJ-> misslauracodes: after you used 'dd' did you 'sync' to flush memory buffers to the device?
[19:12] <misslauracodes> TJ-: yes I always do
[19:12] <TJ-> misslauracodes: and did you use "eject" before unplugging it?
[19:13] <fishcooker> Ben64: 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
[19:13] <misslauracodes> TJ-: no I don't know about eject
[19:13] <Ben64> fishcooker: now on the other system
[19:13] <Sbur3> Using Ubuntu.  Have a USB key.  Filesystem Ex-fat not recognized.  Can't lose data.  Need to print data. Now. How can you help?
[19:14] <TJ-> misslauracodes: I can't think how 'dd' can introduce errors in the write, but I can imagine it could saturate the USB interface of the SD-card adapter to cause corruption. Is the SD-card in a USB adapter (I presume so since a proper SD-card interface would present a /dev/mmcblk* device)
[19:14] <tomreyn> misslauracodes: it's the same ads right-clicking on the device in nautilus and selecting to (i think) "remove" (not "unmount")
[19:14] <TJ-> tomreyn: correct
[19:14] <Ben64> Sbur3: sudo apt install exfat-fuse
[19:14] <fishcooker> Ben64: https://dpaste.de/rRxQ
[19:15] <mr_lou> TJ-, blackflow, well I lost connection to SSH before the dd command was done. So I tried another with only 2 counts. Result: 2,1 mb/s    Same results as all other tests.
[19:15] <Ben64> fishcooker: well you could try iperf
[19:15] <Ben64> maybe something in the middle is slowing it down
[19:15] <TJ-> mr_lou: you need tmux!
[19:15] <fishcooker> i suspect so
[19:15] <misslauracodes> TJ-: Yes I use a USB-C SD adapter. I always do it this way on older versions of ubuntu. Also, etcher worked absolutely fine using the same device.
[19:16] <Sbur3> Ben64: I'm going to try. Is there a command for all other file systems?
[19:16] <Sbur3> Ben64: Thx
[19:16] <mr_lou> TJ-, Huh?
[19:16] <Ben64> Sbur3: 'a command for all other file systems' ???
[19:16] <mr_lou> TJ-, Is that something like Screens?
[19:17] <TJ-> misslauracodes: right, but Etcher may space out writes by doing it a sector at a time, whereas dd is using larger buffers and queueing up the data as fast as possible, which can (and does!) overheat the USB<>MMC adapter chips
[19:17] <TJ-> mr_lou: yes
[19:17] <Associatex> I can not get to my DM, I get the Dell splash screen then a blinking cursor, like when a frame buffer is out of resolution range.
[19:17] <mr_lou> TJ-, 128 mb 1 count = 8,5 mb/s
[19:17] <Sbur3> ntfs, fat32, etc ... outside of or including ext1 or 2 or 3 or 4
[19:17] <Ben64> Sbur3: a command to do what
[19:17] <misslauracodes> TJ-: interesting. I just followed the official docs on raspberrypi.org - did not mention that dd is too quick
[19:18] <TJ-> misslauracodes: 'dd' isn't too quick but *some* adapters aren't built for sustained writes
[19:18] <Sbur3> Ben64: No problem.  It worked so I'm happy for the moment
[19:18] <misslauracodes> TJ-: interesting I will have to research
[19:18] <TJ-> misslauracodes: I've burnt out several USB<>SD and USB<>SATA adapters over the years
[19:18] <Sbur3> Ben64: See you the next time.  Thx and have a great day
[19:18] <TJ-> misslauracodes: it's a hypothesis but it adds up from your experience
[19:18] <mr_lou> TJ-, I'm off for today. Thanks for the help.
[19:18] <TJ-> mr_lou: let us know if you solve it!
[19:19] <misslauracodes> TJ-: its an expensive adapter for ThinkPad made by Lenovo
[19:19] <TJ-> misslauracodes: well, regardless, we know that in some circumstances the data arrives on the SD-card corrupted
[19:19] <mr_lou> TJ-, Doubtful. I've spent a whole week on it now. If something would have worked I would have found it by now. And I've ordered another harddisk.
[19:20] <mr_lou> TJ-, Unless of course someone on superuser.com answers my posts.
[19:20] <TJ-> misslauracodes: the other option is the corruption occurs on reading it, and that could explain why Windows is OK with the same SDcard
[19:20] <TJ-> mr_lou: even if you tell us "RMAed!"
[19:21] <lotuspsychje> !details | Associatex
[19:21] <mr_lou> TJ-, I'm not young and hip. I dunno what RMAed means.
[19:21] <fishcooker> TJ-: [  4] local 192.168.1.41 port 5001 connected with 192.168.1.14 port 47890
[19:21] <fishcooker> [ ID] Interval       Transfer     Bandwidth
[19:21] <fishcooker> [  4]  0.0-10.2 sec  11.1 MBytes  9.15 Mbits/sec
[19:21] <TJ-> mr_lou: Return Merchandise Authorisation (number) -- been around since the 1970s at least :)
[19:22] <Ben64> fishcooker: yeah something is limiting to 10mbit
[19:23] <misslauracodes> TJ-, tomreyn: thanks for your help I can continu ewith my work now and will research the problem later
[19:23] <TJ-> fishcooker: are you using wired? if so "ethtool ethX" will report the link speed
[19:23] <fishcooker> what number should i got 12.5 Mbits/sec?
[19:23] <fishcooker> yes wired one
[19:23] <Ben64> there's overhead
[19:24] <mr_lou> TJ-, Aah... well. I'm in Denmark. ;-) But my boss wants to keep it for other purposes, since it works fine on Windows.
[19:24] <TJ-> fishcooker: is the sending device doing compression, and if so, is it powerful enough to that without affecting the throughput?
[19:25] <fishcooker> https://dpaste.de/4bOR
[19:25] <TJ-> mr_lou: there's one other thing I can think of - there were some recent changes in the block layer with IO schedulers - what kernel version are you using?
[19:25] <TJ-> fishcooker: there you go! "Speed: 10Mb/s"
[19:27] <fishcooker> afaik the hardware seems to be 100Mbps
[19:27] <fishcooker> cmiiw
[19:28] <TJ-> fishcooker: the link has presumably negotiated 10Mb/s though
[19:28] <mr_lou> TJ-, 4.15 I think.
[19:28] <TJ-> fishcooker: what is at the other end of the link (cable)? a switch, or a PC
[19:28] <fishcooker> https://dpaste.de/puic
[19:28] <fishcooker> p2p
[19:28] <TJ-> mr_lou: might be worth trying a more recent kernel, just for the sake of it!
[19:28] <fishcooker> pc2pc
[19:30] <TJ-> fishcooker: so you've got a Fast Ethernet on eth0 and a Gigabit Ethernet on enp3s0f2... generally, Fast Ethernet doesn't do auto-MDIX (auto cross-over). Are these PCs connected with a proper cross-over cable, or a normal patch cable?
[19:30] <mr_lou> TJ-, Hm.. I'm not confident enough to try that out. Gotta wait till it's released via apt-get upgrade
[19:31] <lotuspsychje> mr_lou: you can also play it the safe way, tryout a 18.04.2 iso with 4.18 kernel
[19:31] <lotuspsychje> liveusb
[19:32] <TJ-> !hwe | mr_lou
[19:33] <mr_lou> TJ-, What's the command to see kernel number?
[19:33] <TJ-> fishcooker: notice that enp3s0f2 reports "Link partner advertised link modes: 10baseT/Half 10baseT/Full "
[19:33] <TJ-> mr_lou: "uname -r"
[19:33] <mr_lou> mkay. SEems I'm also using 4.15 on my own PC.
[19:33] <mr_lou> And it runs fine on my PC.
[19:33] <mr_lou> Also Ubuntu
[19:33] <mr_lou> Nautilus
[19:34] <mr_lou> The problem only exists on the Server PC.
[19:34] <TJ-> mr_lou: what is the make/model of the server? "journalctl -b | grep DMI:"
[19:35] <TJ-> mr_lou: it looks like it may be due to the motherboard USB3 controller
[19:37] <mr_lou> TJ-, It says: FUJITSU PRIMERGY TX130 M3/D3521-A1, BIOS V5.0.0.11 R1.22.0 for D3521-A1x      12/18/2018
[19:37] <TJ-> mr_lou: thanks, I'll do some research in case there are known issues with that
[19:37] <TJ-> mr_lou: could you show us "pastebinit <( lspci -nn; lsub; dmesg )" too?
[19:37] <fishcooker> looks like its normal patch cable
[19:38] <TJ-> fishcooker: OK, well FE NICs aren't required to do auto MDI-X so that could be part of the issue
[19:38] <fishcooker> afaik new system will auto cross it for the user, cmiiw
[19:39] <fishcooker> so we don't need again the cross cable one
[19:39] <TJ-> mr_lou: seems we have a certification report for it: https://certification.ubuntu.com/hardware/201710-25797/
[19:39] <fishcooker> actually this cable is cat5
[19:39] <fishcooker> is it matter?
[19:40] <mr_lou> TJ-, lsub not found. Did you mean lsusb?
[19:41] <lotuspsychje> fishcooker: are both systems ubuntu? up to date? network card chipsets? driver versions?
[19:41] <fishcooker> yes
[19:42] <lotuspsychje> fishcooker: did you try other protocols as transfer?
[19:42] <mr_lou> TJ-, Well I just called the command, but there's no easy way for me to copy from putty in here. I don't suppose there's anyway you can see recently added pastes?
[19:43] <mr_lou> TJ-, Anyway, I really gotta go.
[19:43] <fishcooker> afaik rsyn is the best option
[19:43] <mr_lou> TJ-, Thanks again.
[19:43] <mr_lou> TJ-, I may be back tomorrow.
[19:43] <mr_lou> o/
[19:44] <fishcooker> let's say i have 50G with 1M means 50000/1s ... oh man
[19:44] <fishcooker> lotuspsychje:
[19:44] <lotuspsychje> fishcooker: im just trying to brainstorm with you, widen your options as a test
[19:45] <fishcooker> im trying to calculate it
[19:46] <fishcooker> TJ's let's say i have switch for the 2pc 12.5MBps ... then the 50Gb will be succesfully transferred in 50000/12.5 s
[19:48] <fishcooker> thanks for pointing me the generally, Fast Ethernet doesn't do auto-MDIX (auto cross-over) TJ-
[19:49] <TJ-> fishcooker: you may be able to use "sudo ethtool -s eth0 100" to switch to 100Mb/s
[19:50] <TJ-> fishcooker: typo, correction:  "sudo ethtool -s eth0 speed 100" to switch to 100Mb/s
[20:01] <fishcooker> i'll try TJ-
[20:01] <Associatex> I can not get to my DM, I get the Dell splash screen then a blinking cursor, like when a frame buffer is out of resolution range. This all started with trying to get to a VT with ctrl+alt+F(1-6), which was unachievable. I tried installing lightdm, as was suggested. No luck. Somewhere along the line the login manager (DM) would not display. There is no prompt or anything other than a flashing underscore mark in the upper left
[20:01] <Associatex> corner.
[20:01] <Associatex> uname -a
[20:01] <Associatex> Linux kubuntu 4.18.0-15-generic #16~18.04.1-Ubuntu SMP Thu Feb 7 14:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[20:02] <Associatex> I can not get to my DM, I get the Dell splash screen then a blinking cursor, I like when a frame buffer is out of range.
[20:02] <coz_> Associatex, were you able to to ir before?
[20:03] <coz_> it not ir
[20:03] <Associatex> Please excuse the extra posting, that was unintentional, and actually something I was trying to avoid
[20:03] <plongshot> Is a / an.. "IPsec VPN server, with IPsec/L2TP and Cisco IPsec on Ubuntu" : https://www.linode.com/stackscripts/view/37239   very diffcult to learn?  Is that setup more or less difficult to use / learn than others?
[20:03] <Associatex> coz_: what?
[20:03] <coz_> Associatex, nevermind read it wrong
[20:04] <Associatex> okay
[20:04] <Wizard> What is ~/snap?
[20:04] <Wizard> It's full of empty directories
[20:05] <coz_> Wizard,   https://en.wikipedia.org/wiki/Snappy_(package_manager)
[20:05] <Wizard> OK, but things are installed in /snap
[20:05] <coz_> Wizard,  I believe that is correct
[20:06] <coz_> Wizard,  sorry, I never use snap or flarpack
[20:06] <fishcooker> TJ- the succesful command $ sudo ethtool -s eth0 speed 100 advertise 0x008
[20:06] <coz_> flatpak
[20:07] <fishcooker> should i do the same for teh enp3s0f2?
[20:07] <fishcooker> looks like the setting is not needed on the enp* interface
[20:07] <fishcooker> righ TJ-
[20:08] <fishcooker> cool ethtools TJ
[20:08] <fishcooker> -
[20:09] <fishcooker> thanks for pointing me the command TJ-
[20:12] <Wizard> Lol, I installed Ubuntu this morning and I'm so lost :D
[20:12] <Wizard> At least Gnome didn't change that much since I used it last time :)
[20:12] <Soni> how do I run ubuntu 14.04 in userspace so I can run proprietary games on it?
[20:13] <Wizard> Soni: Why so old version? And what do you mean in userspace?
[20:13] <Associatex> I can not get to my DM, I get the Dell splash screen then a blinking cursor, like when a frame buffer is out of resolution range. This all started with trying to get to a VT with ctrl+alt+F(1-6), which was unachievable. I tried installing lightdm, as was suggested. No luck. Somewhere along the line the login manager (DM) would not display. There is no prompt or anything other than a flashing underscore mark in the upper left
[20:13] <Associatex> corner.
[20:13] <Associatex> uname -a
[20:13] <Associatex> Linux kubuntu 4.18.0-15-generic #16~18.04.1-Ubuntu SMP Thu Feb 7 14:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[20:13] <Soni> Wizard: I am on archlinux
[20:13] <Soni> it doesn't run because it needs libcrypto.so.1.0.0
[20:13] <Soni> it was compiled for ubuntu 14.04
[20:14] <Wizard> Hmm
[20:14] <Wizard> Aaaah, so you have a binary game and it lacks some deps?
[20:14] <OerHeks> Associatex, if this is a nvidia issue, !nomodeset often helps
[20:14] <OerHeks> !nomodeset
[20:14] <OerHeks> Soni, 14.04 is EOL, dead, no support, upgrade please.
[20:15] <Wizard> Soni: Hmm, in theory you could do it via debootstrap + chroot.
[20:15] <Wizard> I've done something like this long time ago, for similar purpose.
[20:16] <Wizard> But the assumption is that 14.04 repos are still around
[20:16] <OerHeks> there is no sane reason to keep such vulnerable machines online
[20:16] <Wizard> OerHeks: Minimal install in chroot is something else.
[20:18] <Wizard> Soni: This libcrypto is part of OpenSSL
[20:19] <Wizard> Soni: https://packages.ubuntu.com/search?suite=disco&arch=any&mode=filename&searchon=contents&keywords=libcrypto
[20:19] <Wizard> I bet you can install this on Arch. And than stupid symlink here and there might work.
[20:21] <Wizard> Soni: Current Ubuntu has it: /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
[20:22] <OerHeks> yes, he wants an ancient version, no clue why. but this is totally offtopic
[20:30] <Wizard> OerHeks: Maybe.
[20:30] <Wizard> But nobody's speaking ;)
[20:41] <Soni> 1. I'm a they 2. I don't care about official support, community support is more than good enough for me 3. what do you think those snaps are?
[20:42] <sappheiros> is it okay to manually install an updated weechat package? or should i instead work to update the package in muon package manager or apt-get and then install through apt-get?
[20:42] <Soni> 4. this isn't a machine or a VM, I just wanna run a proprietary, single-player, offline game
[20:43] <Soni> Wizard: archlinux also has libcrypto.so.1.1
[20:43] <Soni> I need libcrypto.so.1.0.0
[20:43] <Soni> and a bunch of other things, probably
[20:43] <Wizard> Then make a symlink and try…
[20:43] <Soni> in other words: I need something that looks like ubuntu 14.04
[20:43] <Soni> and who knows what kind of DRM this might have
[20:44] <OerHeks> Soni, sorry, offtopic.
[20:44] <Wizard> Mate, just make the symlink…
[20:44] <Soni> Wizard: it. doesn't. work.
[20:45] <OerHeks> try #ubuntu-offtopic or ##linux
[20:45] <Soni> OerHeks: why's it offtopic?
[20:46] <OerHeks> this has nothing to do with ubuntu support, dead version with an unusual ssl request
[20:47] <Soni> it's still ubuntu
[20:47] <Soni> anyway I just downloaded the iso
[20:48] <Wizard> ISO won't help you much
[20:48] <Wizard> Debootstrap
[20:49] <Wizard> Soni: https://wiki.debian.org/chroot
[20:50] <hggdh> folks, let's get back to support
[20:51] <sappheiros> Soni: i think the point of this channel is to help with the latest version, not an older version
[20:51] <Wizard> OK, sorry.
[20:51] <hggdh> with the *supported* versions
[20:51] <sappheiros> oh. right. sorry.
[20:53] <Soni> why does it matter, it's still ubuntu
[20:53] <hggdh> Soni: because this is the topic. You can get help on unsupported versions elsewhere
[20:54] <sappheiros> Soni: because time and resources are limited
[20:55] <hggdh> sappheiros: if this weechat package is an official package, then yes, it is OK to manually load & install it. If it is a non-official package, then you do it at your own risk
[20:55] <sappheiros> hggdh: please define 'official package'
[20:55] <OerHeks> provided and tested by ubuntu
[20:56] <dax> #ubuntu-offtopic is a social chat channel, it's not a support channel for non-#ubuntu things
[20:56] <hggdh> sappheiros: one built by Ubuntu, for your Ubuntu version. Not from a PPA. Not built elsewhere
[20:56] <sappheiros> hggdh: do those exist apart from muon package manager or apt-get ?
[20:57] <dax> sappheiros: Ubuntu's recommendation is to use the version of weechat in Ubuntu's repositories. If you want to do something other than that, then 1) if it breaks you get to keep both pieces and #ubuntu won't help, and 2) your best bet is probably https://weechat.org/download/debian/ (which I note is supported in #weechat)
[20:57] <hggdh> sappheiros: a package manager, or apt-get, will get the packages from whatever repositories you have set (including non-official ones). But nothing prohibits you from manually going to the repositories, and grabbing the package(s) yourself
[21:00] <hggdh> sappheiros: for example: I build my own weechat from git head. As such, it is not supported here -- if I have any issues (and I have had them) I go to #weechat and try to find out what happened
[21:00] <sappheiros> i think, then, that i want to help the latest stable weechat get into the official ubuntu repositories
[21:00] <sappheiros> i.e. help grow ubuntu rather than work outside of ubuntu
[21:01] <sappheiros> but then don't i need a second computer so that this one can be a 'testing computer'?
[21:03] <hggdh> sappheiros: a good deed, and I do thank you -- we need help. Since weechat in in Universe, and it is sync-ed from Debian, it might be more effective to (for example) open bugs in Debian; you can also discuss features/needs in #weechat (but please do mind the topic there)
[21:03] <hggdh> sappheiros: when I am testing a new *anything*, I usually do it either from a VM, or from a container I create for the test
[21:10] <dax> weechat is already maintained in Debian including decently-quick version updates. The problem is that neither Debian nor Ubuntu update to new major versions of software after they release (with very few exceptions, which weechat isn't eligible for), so things get progressively out-of-date (from upstream's point of view).
[21:11] <dax> For example, Debian unstable currently has weechat 2.4, which is the current weechat upstream version. Debian stable has 1.6, because that's what was current when stable was frozen, and has security backports as needed. Ubuntu disco and eoan both have 2.4, because they got it from sid, but earlier versions of Ubuntu have earlier versions of weechat, based on what was current in Debian unstable when they
[21:11] <dax> stopped doing syncs.
[21:12] <dax> Since Debian and Ubuntu aren't going to modify their freeze policies because they're working as intended, additional effort on weechat packaging isn't going to lead to newer versions of weechat ending up in Ubuntu releases.
[21:12] <dax> You're of course welcome to help with Debian packaging, but it's important to know what is and isn't going to happen as a result of that help.
[21:15] <sappheiros> dax: you mean the ubuntu repositories are intended to be snapshots moving from island to island of stability?
[21:15] <dax> that's a fair characterization of Ubuntu (and other non-rolling-release distros), yes
[21:16] <sappheiros> hence they fall behind until a major release, and then fall behind again
[21:16] <sappheiros> hmmmmm :/
[21:17] <hggdh> sappheiros: in general, this is how software is deployed for production
[21:18] <sappheiros> 2014-2018 i used windows 10 and got accustomed to constant updates. you're saying that's a "rolling distro" and unusual?
[21:18] <sappheiros> basically keeping the latest versions of everything, it seemed
[21:21] <quadrat> sappheiros, well since windows 10, it seems like a rolling release style. which most businesses won't like (that's why there is a LTS version of win10)
[21:21] <thsnr> !backports | sappheiros
[21:21] <thsnr> you can maybe solunteer help in backporting the package
[21:21] <thsnr> volunteer*
[21:23] <quadrat> a question myself. I want to use the ubuntu provided wine, but as I have 2 monitors attached, the game always starts on the second monitor, not the primary. weirdly with winehq it works. someone knows how to change that?
[21:24] <sappheiros> thanks, i'll check it out.
[21:25] <Jonta> quadrat: Does this happen with other things you open with Wine?
[21:31] <quadrat> Jonta, yes with every program I want to open
[21:32] <Jonta> quadrat: Maybe Wine has its own way of specifying which monitor is the primary monitor
[21:35] <danieru98> Where can I find what packages install each software selection on the ubuntu minimal installer?
[21:35] <OerHeks> dpkg could help, or synaptic
[21:35] <OerHeks> !info synaptic
[21:36] <quadrat> Jonta, I just think it's weird as every version of winehq works, every debian/ubuntu version doesn't, and I do think they would patch not too much
[21:37] <OerHeks> wait, on the installer .. look in launchpad, for the options, each deaktop and option like ssh-server metapackage
[21:38] <OerHeks> https://packages.ubuntu.com/bionic-updates/openssh-server example
[22:09] <woenx> Now that I'm here, maybe someone knows. I have observed that network shared folders, after a period of inactivity, tend to go up one level every fer minutes in the file browser.
[22:09] <woenx> What does that happen?
[22:10] <woenx> e.g. I start in /media/myserver/Myfiles/Pictures, and after a while it changes to /media/myserver/Myfiles/, a few minutes later, /media/myserver/... you get the idea
[22:12] <activist> Is there any way to use shred command for folder?
[22:26] <hggdh> activist: not directly. shred operates on files (be them actual files in a filesystem, or whole disks/partitions
[22:28] <activist> hmm. How can i shred a folder and files inside at once?
[22:34] <OerHeks> shred overwrites a file to hide its contents, and can optionally delete it as well. https://www.tecmint.com/permanently-and-securely-delete-files-directories-linux/
[22:34] <OerHeks> man shred
[22:35] <OerHeks> man wipe, not bad
[22:48] <piraye> hi!
[22:48] <Sveta> hello
[22:49] <piraye> I got this error when I was trying to update apt-get
[22:49] <piraye> N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://apertium.projectjj.com/apt/nightly xenial InRelease' doesn't support architecture 'i386'
[22:49] <OerHeks> nice clear error, no i386 packages.
[22:49] <OerHeks> and not an Ubuntu supported repo
[22:50] <piraye> what should I do in this case
[22:51] <OerHeks> try #apertium on irc.freenode.net http://wiki.apertium.org/wiki/Install_Apertium_core_using_packaging
[22:51] <OerHeks> ask for i386 packages, or remove that repo
[22:51] <Sveta> thanks OerHeks
[22:51] <piraye> thanks OerHeks
[23:02] <fishcooker> no efi system partition found...the installation may fail... should i have efi system partiition?
[23:34] <truexfan81> i'm looking for the ubuntu 19.04 equivalent of this https://devtalk.nvidia.com/default/topic/828962/screen-tearing/
[23:34] <truexfan81> any ideas?
[23:38] <CarlFK> I have a usb relay board - lsusb shows 2a19:0c01 - it is accessed  /dev/ttyACM0 unless there is already a 0, then ACM1.. - how do I write a udev rule so it comes up as /dev/relay (or relay0, I don't mind worrying about n+1 some other day)
[23:44] <CarlFK> this looks useful: https://wiki.debian.org/udev