/srv/irclogs.ubuntu.com/2019/06/22/#ubuntu.txt

unknownmosquitoI'm trying to rotate my display right with an xorg conf directive and the Xorg log files indicates that my directive is being applied but another directive later overrides it. Does anyone know where I can place this conf file so that it will have precedence?00:41
unknownmosquitoit is currently in /usr/share/X11/xorg.conf.d/00:43
unknownmosquitoIs this channel dead? :(00:44
=== limbo__ is now known as limbo_
SoItBeginsWhat are my options for updating a computer on which I install Ubuntu, and can carry files in and out over USB, but have no Internet connection?01:42
striveSoItBegins: Is it a laptop?01:43
SoItBeginsNo, it is a Dell minibrick of the type you can see at small businesses and schools everywhere. I don’t think it has a Wi-Fi adapter.01:43
strive:(01:44
SoItBeginsThough Internet Sharing over Bluetooth isn’t a bad idea, if it has Bluetooth.01:45
sarnoldSoItBegins: apt-offline may help01:46
SoItBeginsWhat is that?01:46
sarnoldhttps://github.com/rickysarraf/apt-offline01:46
SoItBeginsOoh, that’s encouraging...01:46
sarnoldit's in the arxchive so no need to actually use github, it's just convenient to see it there01:47
striveYeah - interesting.01:47
SoItBeginsUm. Is Ubuntu debian-based? I don’t actually know.01:47
sarnoldalso I'm pretty sure the gui is optional01:47
SoItBeginsAnd the page says it requires that.01:47
=== zbenjamin_ is now known as zbenjamin
pragmaticenigmaSoItBegins: Ubuntu is a derivative of Debian. Much of the OS design has its origins in Debian, however, the two OS's are very different in their goals and scope01:51
sarnoldSoItBegins: yes, ubuntu is derived from debian. 99% of ubvuntu packages came from debian, some are more update in ubuntu, some are more updated in debian, and some may be available only in one or the other01:51
SoItBeginsAhhhh, gotcha. Thank you both!01:51
sarnoldSoItBegins: ubuntu tries to make some01:51
sarnold(sorry, new keyboard)01:51
sarnoldmake some "tasteful" choices on what software to use by default, configurations, etc, so there's different feeling to both01:52
sarnoldsome debian users hate the choices ubuntu makes, others make similar choices :)01:52
SoItBeginsI am mostly going to use Ubuntu to run Windows programs and play games, so… I’m not too worried.01:53
calamariWhich Debian-based distros will continue to support Wine, Steam, and other 32-bit applications despite Ubuntu dropping library support? I assume some (most?) Ubuntu-based distros will automatically lose support.01:53
SoItBeginsHold up, Ubuntu’s dropping 32-bit support?01:54
sarnoldcalamari: 18.04 will be supported for free until 2023, so thjere's no real rush01:54
sarnoldx86-32 -- armhf will probably still be in the next lts, but I will certainly ask if 20.10 should drop armhf too: browsers are huge things and trying to build them on a platform with only ~2 gigs free memory space is miserable01:55
calamarisarnold: So you're going to wait until 2023 to jump ship? I've been using Ubuntu since Warty, so it's not like I want to leave.01:57
pragmaticenigmacalamari: Debian itself still continues support for select i386 architectures, but it varies depending on the release. note that 32 bit applications can still run on 64 bit machines. It's specific libraries that Ubuntu/Canonical will no longer be supporting that may affect some programs01:57
sarnoldcalamari: I haven't used a 32 bit computer in a dozen years or more. no real big problem for me :)01:58
calamarisarnold: Steam, Wine, Adobe Reader 901:59
pragmaticenigmaAlso, snapd continues to provide and support 32bit applications. The current recommendation from canonical is to move apps that need 32 bit support into snap containers01:59
sarnoldcalamari: I recognize not everyone can replace their systems the way I do, but it's getting harder and harder to build modern software for tiny machines01:59
calamarirunning a game from a snap? LOL01:59
calamarialso: snap is cancer that should have died years ago02:00
sarnoldI think it02:00
pragmaticenigmacalamari: Let's keep things on topic, and reserve opinions for #ubuntu-offtopic02:00
calamaripragmaticenigma: other people offered their opinions02:00
sarnoldit's a better delivery mechanism than other iot approaches. I'm not sold on it for desktops stuff.02:00
calamariso I'm gonna offer mine02:00
Eickmeyer[m]I have it on good authority that solutions are being worked on for 32-bit wine and steam, so in the words of Douglas Adams, "Don't Panic."02:01
SoItBeginsHold up, hold up, if I want to run Wine in all its glory in Ubuntu, do I need to download 18 LTS (instead of 19)?02:02
Eickmeyer[m]!yy.mm | SoItBegins02:02
SoItBeginsUh…. I think your bot is on vacation.02:02
pragmaticenigmaSoItBegins: Please note the Ubuntu uses the YY.MM format for release versions... please remember to include both parts so everyone understands which versions you are referring to02:03
SoItBeginsAhhhhh.02:03
SoItBeginsv18.04.2 LTS vs v19.0402:03
sarnoldI02:04
sarnoldI've never tried wine so no advice from me thjere02:04
sarnoldlts releases are usually less trouible02:04
pragmaticenigma19.10 will not provide 32-bit packages from Canonical. 19.04 and earlier will continue to support 32-bit applications until they have reached the respective end-of-life dates02:04
sarnoldthe others are usually newer software02:04
SoItBeginsSo 19.04 is OK. Got it. Thank you.02:04
Eickmeyer19.04 is End-Of-Life in January, FYI SoItBegins.02:05
EickmeyerBut.... please... everyone.... DON'T PANIC. There are solutions in the works.02:05
EickmeyerI'm not at liberty right now to say what those look like, but it will be amicable.02:06
calamariEickmeyer: will acroread work?02:06
Eickmeyercalamari: I don't know what that is.02:06
SoItBeginsEickmeyer: That’s fine. I’m probably going to be using Ubuntu only as a secondary computer for playing certain games … including various retro games via Wine.02:06
calamariEickmeyer: Adobe Reader 902:06
pragmaticenigmaSuffice it to say, Ubuntu is not the first OS to drop i386 support, other distros have done it and they are still doing just fine02:06
Eickmeyercalamari: More importantly, I cannot predict the future.02:07
calamariEickmeyer: It was dropped years ago, but people have found ways to keep it running even up to 18.0402:07
Eickmeyercalamari: Again, I can't predict the future.02:07
calamariEickmeyer: Who are you, why are you claiming you have inside info?02:08
Eickmeyercalamari: I'm the lead for Ubuntu Studio.02:08
calamarigot it02:09
pragmaticenigmaOr you're welcome to join the various mailing lists which will often carry these same nuggets of information: https://lists.ubuntu.com/#Development+Lists02:11
=== ryan1 is now known as rynsy
cgimy wifi chipset is giving me a max of 40Mbit / second. Any thoughts on how I can increase that number?02:29
SwedeMikecgi: is this within a few meters from the device without any walls or anything in between?02:32
pragmaticenigmacgi: you would need to provide a lot more information for anyone to know what advice to offer. Also note, the speed ratings of wifi is based on optimal labratory settings. Real world transfer rates will vary greatly depending on many factors such as building construction, how many people/animals are in the vicinity, other electronic interference from appliances, other wifi devices in the vicinity02:32
cgiSedated, 20 feet, dry wall - Intel Corporation Wireless-AC 956002:38
pragmaticenigmaI'll simplify cgi ... there is nothing software wise that you can do to tune the performance of your wireless connectivity02:39
cgipragmaticenigma, wifi drivers?02:39
cgimax speed is 1.7Gbps02:42
SwedeMikecgi: you can start by verifying you're on 5Ghz and not on 2.4GHz.02:42
SwedeMikecgi: does your AP support AC1900 as well?02:43
SwedeMikecgi: under ideal conditions you can expect around 800 megabit/s of throughput under ideal conditions, drywall and 7 meters distance makes this less ideal.02:44
cgihttps://www.netgear.com/home/products/networking/wifi-routers/wndr4300.aspx02:45
cgiSwedeMike, 2.4Ghz - need to switch to 5.02:46
pragmaticenigmacgi: start with giving the 2.4 and 5 ghz networks different SSIDs and then connecting to the 5 ghz ssid02:47
pragmaticenigmaif both frequencies have the same network name, the card will auto negotiate to which provides the strongest and most reliable signal02:48
pragmaticenigmatypically 2.4 wins as 5 ghz is more susceptible to interference02:49
cgiI do have separate names - just connected to 502:49
SwedeMikecgi: do you live in an apartment building, ie do you have neighbours with 2.4GHz wifis as well?02:50
SwedeMikethat would explain your low 2.4GHz speed, as you should be able to get 50-80 megabit/s at least.02:50
cgiSwedeMike, I moved to 5 - need to redo the benchmark02:51
=== sargeant_uptime is now known as uptime
dluxcru2https://www.howtogeek.com/168164/move-files-into-one-directory-in-linux-with-find/ can someone explain what the move command params are doing here?03:04
ExoUNXwhat's the safe non-breaking way to update Ubuntu?03:10
ExoUNXupdate/upgrade spooks me03:10
Bashing-omExoUNX: What about  "sudo apt upgrade" scares you ?03:11
ExoUNXBashing-om seems to introduce minor version upgrades03:13
SoItBeginsAre there going to be any problems if I divide my 500GB HDD in half: 250GB for Ubuntu (Ext4), and the other 250GB for a forthcoming Windows install (FAT320?03:13
ExoUNXinstead of patch upgrades03:13
SoItBegins*(FAT32)03:13
Bashing-om!latest | ExoUNX03:13
Bashing-omExoUNX: Untrue- once a release is frozen -- takes a minor miracle to up a package version in the release pocket.03:15
dluxcru2 https://www.howtogeek.com/168164/move-files-into-one-directory-in-linux-with-find/ I'm wanting to use a command like this, but I'm not clear on what the mv command is doing as far as it's arguments in this example do?03:21
=== [b0b] is now known as b0b
=== guiver_d is now known as guiverc
gerihi, how can i icrement a variable in watch command?04:23
=== transfusion1 is now known as transfusion
cfhowlett!ping06:01
SoItBeginspong.06:01
Gerowin!ping06:05
SoItBeginsI’m OK, you’re OK.06:06
GerowinAwww, i thought it was some kinda bot game or something06:06
cfhowlettno ubottu seems to be sleeping06:06
SoItBeginsNah, I’m not a bot. I don’t know if there’s a bot who responds to that here.06:06
ppf_geri mv moves the left hand filenames to the right hand filename or directory06:38
ppf_ah well, wrong and late06:39
flingCan I use zfs storage pool backend for a nested lxd?06:52
=== rfm_ is now known as rfm
bipulHello07:52
SoItBeginsHewwo.07:53
bipulI am getting this message https://paste.ubuntu.com/p/ZyBngJ2xS5/  , I have checked inside .bashrc and  .profile as well /etc/environment . Everything looks good.07:53
bipulSeems like PATH environmental variable is broken.07:54
=== bildramer1 is now known as bildramer
=== juboxi is now known as jubo2
BluesKajHowdy folks10:25
yvyzYolo Brolo11:03
BluesKajyvyz o/11:05
yvyz           \o11:05
erageraHello!, I need some help. I am getting a really weird `Connection Refused` issue on Chromium, on 19.04.11:40
erageraThe issue is like so: I have 2 phones, they connect to the same wifi network. I am trying to load the http://socket.io webpage. On one phone it loads fine, on the other, I get a connection refused error. When I tether with the phone that's getting the error, on Windows I can load the webpage on Chrome fine, on Linux I cannot.11:41
erageraI can't even ping the page, it is 100% packet loss on Linux11:42
_KaszpiR_or dns problem11:42
erageraI have tried Google DNS and Cloudflare DNS, neither of them solved the issue. Both phones are running on the same DNS as well, but one loads the page and the other does not.11:42
yvyz...11:43
_KaszpiR_try other browsers11:43
_KaszpiR_check it it's not a IPv611:44
erageraI did check for ipv6, it does resolve to ipv4 just fine when I try to ping it, but I get 100% packet loss11:44
erageraI can confirm that my network can _load_ the page since it works on Windows just fine11:45
_KaszpiR_some sites do not respond to ping11:45
erageraIt did on Windows.11:45
_KaszpiR_traceroute?11:45
erageraWhat's that11:45
_KaszpiR_helps to see how packets are routed from point A to point B, so for example from your laptop to the destination address (say, web server)11:46
erageraAlso, a point I forgot to mention, when I tether with the other phone, it loads just fine on Linux too11:46
_KaszpiR_google mtr, there is linux and windows verison11:46
erageraIt is only with my main phone that when I tether this weird thing happens11:47
_KaszpiR_maybe one device is fitered on wifi by admin11:48
yvyzWait11:48
yvyzIt works on one phone. But it doesnt work on the phone when you tether it another machine?11:48
erageraLemme clear it up better.11:48
yvyzYou need to make it clear what your setup is. You said its exactly alike but then you mention that it is not.11:49
erageraI have 2 phones, both connected to the same wifi. I can tether with both ones, one has a shorter wifi range due to being much older. The newer phone cannot resolve the webpage, the older one can.11:49
erageraTethering the old one to my PC, whether on Windows or Linux, and trying to access the webpage, leads to the webpage being resolved normally11:50
_KaszpiR_what do you mean by thether?11:50
yvyzSo your laptop is the issue11:50
yvyz?11:50
erageraMy laptop isn't a laptop but a PC, without wifi11:50
erageraI connect my phone to my wifi network and tether that to my PC to receive internet11:50
yvyzRunning ubuntu?11:50
_KaszpiR_over the usb cable?11:50
eragerayes, 19.0411:50
erageraYes11:50
yvyzTrace route the one that does not work11:51
erageraAlright, bear with me.11:51
yvyzMake sure your new phone is providing the correct dns to your machine.11:51
erageraHow do I check?11:51
yvyzAnd verify that it itself is capable of seeing that webpage11:51
yvyzopen terminal11:51
yvyzand use traceroute11:51
erageraThe new phone itself is not capable of seing the webpage.11:51
yvyzor tracepath11:51
_KaszpiR_mtr under under linux, winmtr under windows (gotta install them anyway)11:51
erageraI tried on android chrome, it does not work11:51
yvyzwell then it is not ubuntu is it11:51
yvyzSo you have a configuration issue on your phone11:52
erageraAs I said before, when I connect with the new phone, it works fine on Windows11:52
eragerabut my dev environment is on Linux11:52
yvyzThat does not matter11:52
yvyzWithout tethering11:52
yvyzThe new phone does not see the webpage?11:52
erageraIt doesn't but Windows sees it when its tethered to the new phone over USB11:52
erageraWhy is that?11:52
yvyzYou need to solve the problem where it starts.11:53
yvyzAnd that is your phone11:53
_KaszpiR_or maybe your phone browser uses somekind of network proxy11:53
yvyz^11:53
erageraPinging should work still no?11:53
_KaszpiR_I suggest debugging down the TCP stack11:53
erageraI honestly don't know how to do that11:54
erageraBut Ill try to traceroute it11:54
_KaszpiR_google, then11:54
erageraGimme a moment11:54
yvyzAt this point it could be solar flares11:54
_KaszpiR_:D11:54
_KaszpiR_usually it's custom config applied by user11:54
erageraI tried mtr on it12:00
erageraIt refers back to ip6-localhost12:00
_KaszpiR_tadaaaa.... dns ;D12:09
yvyzbing boom bang12:10
rigel_hi! my (neighbour's) router is running a captive portal for apt/wget but not firefox/irssi (since i'm here). how do i get apt to update?12:41
akem_If you can have a VPN i guess it would go throught, otherwise i don't know.12:42
Evissimahello everyone, i'm a noob here and i'd really appreciate some help if you could help me. I have an issue with spotify on ubuntu 18.04.02, it plays the music but I can't hear it. I've tried the demo in settings to see if ubuntu detects the speakers and it actually does - i've tried looking on forums for similar issues but i can't seem to find a solution. can anyone help me pls?12:42
rigel_doing `curl -i www.ubuntu.com` yields https://paste.ubuntu.com/p/mQYHzYMZF7/ But I can visit Ubuntu homepage on the browser just fine12:43
rigel_https://ubuntu.com takes curl to the actual homepage, though.12:44
rigel_(of ubuntu, not the router)12:44
rigel_Evissima: did you install spotify on ubuntu or are you listening through a browser?12:45
Evissimaoh uhm I did install spotify directly on ubuntu12:45
EvissimaI tried to use the web version but I can't log in anyways so12:45
EvissimaI tried installing spotify on snap and then out of it and the results were the same12:46
rigel_so is it currently installed through a .deb package or a snap?12:47
tomreynrigel_: apparently the captive portal only affects plain HTTP requests, not HTTPS requests, probably not other protocols. so you could either pick a http archive mirror which supports httpS, or one which supports other protocols, such as ftp.12:48
Evissimai think i uninstalled the snap version and i tried to install via deb package but it doesn't show on the apps menu so i actually don't know for sure12:48
tomreynrigel_: alternatively, you could sign in on this (badly configured) captive portal, i guess.12:49
rigel_tomreyn: but isn't the whole thing about apt not needing to support httpS?12:49
rigel_the captive portal is the admin console. i don't have the credentials12:50
tomreynrigel_: i don't understand "isn't the whole thing about apt not needing to support httpS?", can you clarify what you're asking?12:50
rigel_they used to recommend against using https in posts like this: https://askubuntu.com/questions/146108/how-to-use-https-with-apt-get12:51
tomreynrigel_: maybe your neighbour doesn't actually want to share their connection with you? or if they do, maybe you could convince them to improve this rather unusual configuration?12:52
rigel_we're paying them. and for a non power user perspective all seems to work (since most of the background stuff is over ssl these days)12:52
rigel_and ubuntu main repo servers don't seem to work over https. gonna go look for some others12:53
rigel_tomreyn: and there's this whole site, btw https://whydoesaptnotusehttps.com/12:54
tomreynrigel_: https://github.com/tomreyn/scripts#ubuntu_archivemirrors_https12:54
rigel_tomreyn: thanks! :-)12:54
tomreynrigel_: both the askubuntu.com post you point to and this website explain why apt does not need to use https to be able to authenticate packages. but i don't see them recommending *against* using https, do i miss something?12:55
rigel_i suppose i was reading too much into it. but them not supporting https also leads one to that conclusion.12:56
tomreynmy understanding is that the only two reasons we don't have https everywhere on archive and iso image mirrors, yet, is (a) undisclosed pre TLS 1.3 test results from a while ago on the performance overhead, (b) the need to redesign the system and mirroring arhcitecture to introduce the change.12:59
rigel_and obviously the problem just fixed itself right now, while still using http. i have no idea what caused this or how to fix this, but thanks for riding along with me!12:59
tomreynyou could use a VPN if this keeps behaving erratically and interferes with your internet access.13:00
=== jstein_ is now known as jstein
leonardusWhen I type "ff" it appears lower than the rest of the characters14:16
leonardusExample: https://usercontent.irccloud-cdn.com/file/bvjq0tAR/image.png14:16
OerHeksno, an F should be lower than E and A14:17
OerHeksby design14:17
OerHekscheck out all your fonts14:18
coconutAnyone knows whether the notification center of xfce can get configured to be clickable with url?14:36
pragmaticenigmacoconut: what are you trying to do?14:37
coconutpragmaticenigma: i am trying to make the notifications of firefox to get loaded from notification area14:38
pragmaticenigmalike toaster notifications?14:38
coconutsorry, i don't know what you mean14:39
pragmaticenigmathere are a million "notifications" methods... I'm trying to figure out what you are specifically referring to14:39
pragmaticenigmacoconut: Execute this in terminal, does this create a similar notification to what you want? 'notify-send "hello world"'14:42
pragmaticenigmacoconut: If firefox is the source of the notification, the answer is there is not a way to customize those... if you just want to create your own notifications, you can use notify-send to do it. See "man notify-send" for more information14:43
coconutpragmaticenigma: sorry, took me some time to create a screenshot and crop it. This is what i mean to try getting clickable to firefox-> https://imgur.com/a/Jfa7Zg715:08
Aa155Hey there fellas! Got a short question regarding Netplan and routes.15:39
Aa155https://paste.ubuntu.com/p/M4tZGvxF9Y/15:40
Aa155Sorry for the paste link, it's easier than writing it all down in a very long message.15:40
Aa155So basically, how the hecc do I get rid of the default 0 route?15:40
tomreynAa155: which ubuntu version is this?15:42
tomreyn18.04.0, .1, .2?15:42
tomreynuse "ip route" rather than "route"15:46
shinodaHello tomreyn if you remember me, I am the one that was having huge Xorg ram consumption issue. Seems I was wrong in my initial assesment. The RAM consumption did increase even without suspend but usually in slow increments. There is already a bug on launchpad in from 2014 where this occured in KDE + Xorg + Nvidia. Which apparently I qualify for. T15:50
shinodahe only fix that has worked for me is switching to Intel GPU instead of Nvidia from the Nvidia profiles. I also saw the output from xrestop and nothing was suspicious. Max memory was used by Kwin that was about 45M.15:50
shinodaSo the fix for me is using Intel instead of Nvidia.15:52
k_szeIf I did `adduser --system foo`, what's the correct way to turn foo into a full-fledged regular user?16:01
k_sze(I don't need a password though)16:01
k_szeI just need it to be able to login (via `sudo su`), with a shell.16:01
xamithanso change it's shell from /bin/false16:01
k_szexamithan: you mean from /usr/sbin/nologin16:02
xamithanSure16:02
k_szeIn /etc/passwd, that's all I need, right?16:02
xamithanTo make it a real user you'd need to change its uid and home dir though16:02
xamithanif all you need is a shell a usermod -s /bin/bash or whatever should work16:03
tomreynshinoda: hi. using the intel gpu instead of the nvidia one may be a workaround, but i'd hardly call it a "fix". i'm not convinced that a 2014 bug report (unless it has constantly grown since) has anything to do with this issue you had on a newer ubuntu release.16:03
tomreynshinoda: which bug did you look at?16:04
shinodaSure. tomreyn I meant it as a workaround and not a fix. Here you go : https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331-updates/+bug/140255116:05
ubottuLaunchpad bug 1402551 in kde-workspace (Ubuntu) "High memory usage of Xorg and kwin after Xorg security updates [nvidia]" [Undecided,In progress]16:05
tomreynshinoda: so... this is about ubuntu 12.04 (though it is also tagged "trusty", so 14.04, both have reached end-of-life since)16:07
tomreyni expect that nvidia drivers will have changed somewhat since then, and surely ubuntu and the linux kernel have.16:08
tomreynshinoda: which ubuntu version are you running there?16:08
shinodaYes tomreyn I am aware. But I saw this issue is not unique to Ubuntu. I saw the same issue raised by several others on forums for centos, arch and all of them had KDE as their desktop environment. I am using 18.04.16:09
tomreynshinoda: did you any recent reports on this, though, and where?16:09
shinodatomreyn I will have to check my history. BRB.16:10
shinodatomreyn this one is latest : https://forum.manjaro.org/t/xorg-progressively-uses-more-video-memory-the-longer-i-keep-my-computer-on/80234/21 others are 2 < years old.16:12
tomreynshinoda: hmm, while most people seem to be referring to Xorg RAM allocation there, others seem to mix up RAM and VRAM there. i'm not even sure which of the two the nvidia-smi utility displays, do you know?16:19
tomreyni suspect it shows VRAM.16:21
shinodatomreyn I am not sure. But I am sure that I am talking consupmtion of RAM and not VRAM.16:21
OerHeksdo a memtest86 run16:22
OerHeksand check your logs, the size of a log can tell something16:22
=== kostkon_ is now known as kostkon
shinodals16:24
shinodaLOL16:24
tomreynshinoda: i think it'd be good if you filed a bug report about this, since you're affected and can reproduce. while using the nvidia grpahics card, run: ubuntu-bug xserver-org16:25
shinodatomreyn Ok sure.16:25
shinodatomreyn Should I wait till the memory reaches the peak or just do it once on fresh boot and once after ?16:26
tomreynshinoda: i'd say wait until it reaches an unexpectedly high value (maybe >200 MB while you have no applications running)16:27
shinodatomreyn I really don't think it will increase if its put to idle. I have to keep using it to increase the Xorg's consumption.16:28
tomreynshinoda: and if you close applications it will decrease to low values again?16:29
shinodatomreyn Nope. If it reaches a value it doesn't come down. It only goes up.16:29
tomreynso drive Xorg RSZ up to >200 MB, then close all graphical applications, then file the bug report.16:31
shinodatomreyn Noted. Thank you.16:31
tomreynwhat you're reporting is a supected memory leak which is specific to the proprietary nvidia driver and kde16:33
tomreyn(so that's soemthing you could write when reporting the bug)16:33
Aa155@tomreyn, sorry had to run due to the storm. It's 18.04.2. https://paste.ubuntu.com/p/FN3Rg8ZgQD/16:34
shinodatomreyn Sorry I missed what you said. I am on Nvidia now.16:38
ryahi_skaprinav My 32GB pendrive is only showing 64MB of space. Output of lsblk - http://dpaste.com/0048STB16:40
tomreyn<tomreyn> what you're reporting is a supected memory leak which is specific to the proprietary nvidia driver and kde (so that's something you could write when reporting the bug)16:40
tomreynshinoda: ^16:40
tomreynAa155: hmm so those two default routes are both automatically created by netplan? can you post your full netplan configuration?16:41
OerHeksryahi_skaprinav, format it again, else return to vendor16:42
tomreynryahi_skaprinav: lsblk is primarily useful to inspect partitions. don't use it to inspect properties of physical storages, use fdisk -l or parted -ls for this16:43
ryahi_skaprinavOerHeks: the space is already unallocated.16:43
tomreynalso hdparm, nvme (if it's an nvme storage)16:44
ryahi_skaprinavtomreyn: output of fdisk -l : http://dpaste.com/1D32F4A16:44
Aa155@tomreyn, mind if I pm it to you? It takes insane amount of time for me to copy paste by hand (thanks Hyper-V for not having clipboard share) and I cannot SSH either unless I disable the internal/local network.16:44
ryahi_skaprinavtomreyn: no, it's a pendrive16:44
tomreynryahi_skaprinav: sudo hdparm -I /dev/sdb | nc termbin.com 999916:47
ryahi_skaprinavtomreyn: https://termbin.com/bryb16:48
tomreyn!pastebin | Aa155: you can use a pastebin service, too (but if you consider this sensitive info, it's ok to PM)16:48
ubottuAa155: you can use a pastebin service, too (but if you consider this sensitive info, it's ok to PM): For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.16:48
tomreynryahi_skaprinav: i guess you can tell by yourself this looks broken16:49
tomreynryahi_skaprinav: do you have another computer which you can attach it to?16:49
Aa155yea I know pastebin, but I cannot pastebin from the VM.. there is no internet on it, there is no SSH to go to it, I can only literally copy paste it by hand16:49
ryahi_skaprinavtomreyn: yes can see the broken parts and i have tried to connect to various pc16:49
Aa155But sure... sure... your help is much appreciated, I guess I'll just like transcend to some kind of next mental plane once I finish copying out 30 lines :D16:49
shinodatomreyn sure.16:50
tomreynAa155: you can just remove the wrong default gateway and then you have an internet connection, don't you?16:50
Aa155like with route del?16:50
Aa155but how do I add that to Netplan's config? I did see similar in Hetzner's config with "ifup", they use like "post if-up" and add routes... I guess that could work. But how do I into that with Netplan? Oo16:51
ryahi_skaprinavtomreyn: thanks for the help16:52
OerHeksmaybe these examples shine a light.. https://netplan.io/examples16:52
tomreynAa155: i'm not discussing how to permanently fix this right now, just to temporarily enable you to post something to the internet for now, so you can share our netplan configuration. once i've seen this we can then discuss how to permanently fix it.16:52
tomreynAa155: https://askubuntu.com/questions/547018/how-do-i-delete-an-entry-in-ip-route-list16:52
tomreynryahi_skaprinav: so it was also not working reliably on other computers?16:53
Aa155sure, imma copy it out. :D @OerHeks trust me I read 'em all... read em and weep16:53
ryahi_skaprinavtomreyn: no it's not working at all. I can't even create a partition table on it.16:53
tomreynryahi_skaprinav: then it's indeed "return to sender"16:53
ryahi_skaprinavtomreyn: yup agreed16:54
Aa155@tomreyn, https://paste.ubuntu.com/p/p2P65FBw3B/16:55
tomreynAa155: is there a reason to have a semicolon followed by a colon on the "routes" line?16:56
OerHeksdhcp4: yes16:56
jmnozHi can anyone help me upgrade my postgresql, I installed version 11 and now I can't access my database16:56
OerHeksnot true16:56
coconutAnyone knows how to make these topics in notification area clickable so that these load in firefox(where most come from in the first place)? https://imgur.com/a/Jfa7Zg716:56
Aa155@oerhe16:56
Aa155@OerHeks, you can use true, false, no, yes, they are all accepted... don't ask me why is it like that16:56
Aa155@tomreyn, that was just a copy-paste mistake, I am sorry, had to write it with hand16:57
Aa155it's not present in the active config, 'netconfig apply' runs without fault16:57
OerHeksnetplan is all about correct annotation> ameservers:        addresses: [ 8.8.8.8, 8.8.4.4]16:58
Aa155if I remove the gateway4 directive from the static interface (so local only), I can ping internet again, but, I cannot reach the host/gateway once again. So I am kinda in the same position, just now I have internet, and no local share. :D16:58
Aa155@OerHeks, yea tbh the local interface don't even need the nameservers directives, but you can also specify them this or that way. it seems to have two kind of ways to do anything...16:58
Aa155maybe I should just move to ifup? thought I'd "progress" since I guess Ubuntu would like keep using netplan in future releases too16:59
tomreynAa155: indentation matters, too, i think.17:00
blackflowAa155: netplan is just yaml abstraction for a backend. you can always use the backend (networkd or NM) directly.17:00
tomreynAa155: and yes, i agree you'll most likely want to remove the gateway4 line17:00
blackflow(as in, netplan per se doesn't do anything but configure something else)17:00
Aa155@tomreyn, yea I know, I had plenty of errors due to one missing space or whatnot, but luckily both "apply" and "try" will tell you what you messed up. I mean if I remove the gateway, then I have no local network again -> I can't reach my share again.17:01
tomreynthe generated systemd-networkd configuration should be somewhere in /run/17:01
Aa155found some guide online (had around 50+ google searches by now?) that mentioned the /run/ thing17:02
Aa155but that looked clean/neat17:02
tomreynbut your network share is on the 192.168.0.0-255 network?17:03
Aa155the network share is the virt server itself, it's present on 192.168.0.1, and I just want to reach a share really17:04
Aa155I tried using Vmware locally as a test, with shared folders, but even just a traffic of like 10M/s peaked my 4.5ghz CPU to like 80% on all cores17:05
Aa155ie.: cifs/samba would be much more suitable... well, if I could somehow configure two network interfaces up, lol17:05
Aa155I mean it's okay, ifup will do the job too, just wanted to like... you know, learn a bit. who knows, maybe netplan is the future, then it can't hurt to know more about it.17:05
tomreynbut does your virtualization make services running on the host system available to the guests network?17:06
tomreynwell i guess you already confirmed it does17:06
Aa155yea yea, it works beautiful normally17:06
Aa155but the problem is, I want to run the company VPN (which re-routes internet) on the main interface17:06
Aa155so then, I cannot ping / reach the host from there17:06
Aa155so I need a second card17:06
Aa155its'... "fun"... (:17:07
Aa155thanks for the help by the way, much appreciated17:07
Aa155guess this time I'll go to sleep with Mr. Poettering's grinning face. ;_;17:07
odtanyone know how to disable ubuntu dpms stuff while virtio is in use?17:07
tomreynAa155: so IMO you should not have any of these static routes. if reaching the network share at 192.168.0.1 does really not work without any static reoutes (and both interfaces up), try adding this (\n designates a newline) for eth0: - to: 192.168.0.1/32\nvia:192.168.0.1\non-link: true17:14
tomreyni.e. try without any static routes, without any static gateway4, first of all.17:17
Aa155then there is internet but no local network/route17:20
Aa155ie.: can't access server+share17:21
Aa155the devil's trap17:21
tomreyneven after you add this hacky static route?17:24
Aa155@tomreyn, yea... now trying ifup lol17:38
Aa155oh man, why this hefff to be so hard. :D17:38
e-i-k-ecan someone let me know why my systemd (user) unit is not executed until i login via tty?17:46
e-i-k-ehttps://zerobin.net/?0cc4ee4dcabdafe0#cgfvuwAG34hVMAqjxnmrWOXN6aBGpFWQTyv/FWTBwcI=17:46
tomreynbecause that's how systemd user units work (only start after login), unless you have lingering enabled (sudo loginctl enable-linger $USER)17:50
alienzhttps://www.phoronix.com/scan.php?page=news_item&px=Valve-Dropping-Official-Ubuntu17:54
e-i-k-etomreyn: okay, thank you for clarifying this17:54
OerHeksvalve should provide a 64 bit steam client, grinn17:56
alienzhttps://pics.me.me/is-%E5%90%88-when-you-use-arch-linux-and-you-havent-2560218.png18:00
OerHeksnot going to click that, looks like #offtopic18:02
alienzit is, but funny )18:04
coconutalienz: you might not know, but this is not a channel where you can just paste url's you like.18:05
alienzwhere i can? )18:05
mindofmateoHow can I tell what is preventing me from SSHing into a remote server?18:05
coconut#ubuntu-offtopic is an example18:05
alienzok, thanks and sorry )18:05
=== jmcgnh_ is now known as jmcgnh
OerHeksssh -vvv tells a lot about route18:06
hggdhmindofmateo: and look for the error messages when you try. We need to know what they say18:07
slicktuxHello all, I am trying to pair to my Beats Bluetooth Headphones; Problem is there are dozens of bluetooth devices in my circumference and I am not able to destinguish my device by name when scanning; I only see MAC addresses and I do not know the MAC for my deice. :/18:08
slicktuxIs there any list or package that can be installed to help my computer identify device by name?18:09
mindofmateo termbin.com/koxy This is what it outputs when I use `ssh -vvv` after that it just hangs.18:09
tdsmindofmateo: are you able to access any other services on the same server (eg even just ping it)? can you ssh in ok from other networks?18:11
mindofmateoOh, I thought I could, but pinging the server times out.18:13
hggdhmindofmateo: ping uses ICMP by default; most firewall implementations block ICMP traffic. But it seems your access to the target at port 22 is also being blocked, either locally or remote18:16
mindofmateothank you18:21
qwebirc48745_Hi18:32
qwebirc48745_I started18:33
Gallomimiawow. what's wrong with the bluetooth settings panel?18:46
Gallomimia...... has its author actually used bluetooth?18:47
OerHeks.... have you?18:47
Gallomimiano because i can't seem to turn bluetooth on18:48
Gallomimiathe only effect the control has is to turn on airplane mode18:49
TJ-Gallomimia: sounds like a firmware rfkill control issue18:49
Gallomimiai'm sorry a what?18:50
Gallomimiaalso it's just a dongle i plugged in18:50
jeremy31Gallomimia: Post URL from terminal after> lsusb | nc termbin.com 999918:50
jeremy31Probably Cambridge Radio bluetooth18:51
Gallomimiait's edirol18:51
Gallomimiahttps://termbin.com/pnvd318:51
jeremy31Gallomimia: rfkill list | nc termbin.com 999918:52
=== dreamon__ is now known as dreamon
Gallomimia1: hci0: Bluetooth18:53
Gallomimiahard and soft blocked no18:53
Gallomimiasorry i got a game running not easy to chat here18:54
OerHeksset priorities18:55
OerHeksgrinn18:55
jeremy31Gallomimia:  Try> echo -e 'power on\nquit' | bluetoothctl18:56
Gallomimiauh. i did?18:56
GallomimiaNo default controller available18:56
Gallomimiawonder if it needs a driver18:57
jeremy31Gallomimia: I have one plugged in now with the same ID in lsusb18:57
TJ-missing firmware?18:58
jeremy31They have worked fine since Ubuntu 14.04, except for losing them18:58
Gallomimiayes! same problem18:58
Gallomimiabloody meth heads.....18:58
jeremy31There is firmware for it but I only needed the firmware for HSP/HFP in 16.0418:59
TJ-Gallomimia: what is the actual problem? you said you cannot turn it on but it turns off, which implies it was already 'on'19:00
Gallomimiait never shows me any option besides "hey turn it on so you can use it"19:02
Gallomimiaif i click that control in the top right, the big green switch, it just turns on airplane mode19:02
Gallomimiawhich sucks cause this is a desktop. it'll never be on an airplane19:02
TJ-Gallomimia: which Ubuntu release, and which desktop environment are you using?19:03
Gallomimiavanilla 19.0419:04
Gallomimiait's gnome right?19:04
TJ-Gallomimia: Yes19:05
TJ-Gallomimia: it might be useful to installe "blueman" it gives more visibility into things, from GUI19:05
jeremy31Gallomimia: > dmesg | grep BCM | nc termbin.com 999919:06
Gallomimiasweet it'll play blueman group?19:06
jeremy31blueman is a nice bluetooth manager19:09
Gallomimiablueman seems to give the same result. hey it's not going to work till you turn it on!19:18
Gallomimiaso uh... turn it on?19:19
TJ-Gallomimia: so lets see the full kernel log, "nc termbin.com 9999 < <( dmesg )"19:19
Gallomimiaright after plugging it in/19:24
Gallomimiahttps://termbin.com/cp0n19:25
Gallomimiawish i could read what it says.....19:25
Gallomimiathat's a lot of discord errors....19:25
Gallomimiaeighty three thousand callback suppressed19:27
Gallomimiasuddenly i want to fix that instead of bluetooth19:27
TJ-urghh! what the heck is it doing trying to ptrace?19:27
Gallomimiathat sure is a nasty snapper19:27
jeremy31Gallomimia: remove the discord snap19:27
TJ-urgh, just... urgh19:28
Gallomimiai'm really skeptical about the benefit of these "snaps" these days19:28
Gallomimiawhy does it populate my mount -l so badly19:29
Gallomimiait's totally new to me. i haven't used ubuntu since 16.0419:29
TJ-Gallomimia: 'these days' ? From the start it's been an awful kludge in practice, no matter how fine it sounds in principle19:29
tomreynhttps://snapcraft.io/discord vs https://snapcraft.io/discord-bartixxx19:29
Gallomimiayeah maybe you can point me to those principles? i'd like to read about it19:30
Gallomimiasounds like disk images and systemd had a baby with horns19:30
TJ-Gallomimia: the principle is security confinement and using its own libraries rather than system libraries19:30
Gallomimiawhat is this tomreyn?19:31
Gallomimiaa better maintained snap?19:31
TJ-Gallomimia: but then it had/has to grow a mediated "API* to allow access to system resources, or run unconfined19:31
Gallomimiaoh yeah.19:31
tomreynGallomimia: those are the pages of the snaps which present themselves as being "Discord"19:31
Gallomimialike putting up a firewall to protect a nuclear plant, then giving a contractor a hardline to both sides of the firewall?19:31
Gallomimiaand then letting the slammer worm attack safety management systems19:32
TJ-Gallomimia: and avoiding all the health and safety steps the distro package mantainers enforce19:32
Gallomimiaif only something bad like that had happened to let us all know why to not do that....19:32
Gallomimiaokay well. before going any further, i'm going to reboot.19:33
Gallomimiablueman assistant : no adapter's found19:37
Gallomimiabut at least it's showing up in my menu bar19:38
Gallomimiawhoops. it's not edimax. it's kinovo19:38
TJ-It's Broadcom19:38
TJ-Gallomimia: from your lsusb "0a5c:21e8 Broadcom Corp. BCM20702A0 Bluetooth 4.0"19:38
Gallomimiaoh noooooooooo19:39
jeremy31Gallomimia: > dmesg | grep BCM | nc termbin.com 999919:39
Gallomimia  246.473248] Bluetooth: hci0: BCM: Reset failed (-110)19:39
TJ-Gallomimia: is it plugged into a USB3 or USB2 port?19:40
Gallomimia319:40
Gallomimiaon the front. shall i move?19:40
TJ-Gallomimia: try a 219:40
TJ-(no-blue tab)19:40
Gallomimiaif it's got a broadcomm chip in it, it's going back. just on principle19:41
TJ-:)19:41
Gallomimiasomething's working19:41
Gallomimiablueman is lighting up with options19:42
TJ-there we go19:42
jeremy31No you have to return it19:42
Gallomimiai think so too19:42
TJ-Gallomimia: so there's some problem with the systems' USB3<>2 handover19:42
Gallomimiaamazon return policy will sort out that corporate crap19:42
GallomimiaTJ-, also the AMD iommu on my mobo is a pile of horse manure19:42
Gallomimiasuch problems getting a keyboard to work thru the bios boot, into grub, and then thru to actual kernel boot19:43
jeremy31Gallomimia: The only other chipset used in USB bluetooth dongles is CSR and only a few seem to work in Linux, they all use the same USB ID and that makes them a pain19:43
TJ-So far I've been lucky and not been able to cause a USB3/2 issue, and that's very unusual for me - I'm usually THE bug magnet19:44
Gallomimiathis motherboard is the bane of my existence19:44
TJ-There's Intel BT too19:44
Gallomimiacan't we all just get along and open our sourcecode?19:44
Gallomimiai'm soooo tired of corporate entities and IP lawyers screwing up the world of computer science19:45
TJ-Gallomimia: well this issue has been due to the USB host controllers sharing ports; there may be clues in the kernel log to correct it19:45
jeremy31TJ, Intel, Atheros, and Realtek have bluetooth, but they are usually found onboard a wifi chipset19:46
Gallomimiamy laptop has a broadcomm chip too. it works with wifi but not bluetooth.19:46
Gallomimiadual purpose device19:46
Gallomimiaof course right now nothing works cause it won't even finish the boot sequence19:47
Gallomimiai suspect a borked fan. 9y old laptop now tho19:47
jeremy31Gallomimia: If it has a bluetooth device, it is likely missing bluetooth firmware in the laptop install19:47
qwebirc85677I need help with openvpn and network routing. Is this the right place?19:47
Gallomimiaqwebirc85677, are you using ubuntu?19:47
qwebirc85677yes.19:47
Gallomimiathen yes. tho that topic is pretty specialized19:48
qwebirc85677I'm trying to host openvpn server and mysql on the same server. client can connect, but connection to mysql times out19:48
qwebirc85677I can see with tcpdump that the traffic makes it to the server, but can't tell what happens next19:48
Gallomimiaclient is another machine?19:48
qwebirc85677yes19:48
qwebirc85677ufw allows all traffic on tun0, no blocks in logs19:49
Gallomimiasounds like it fails to use the vpn connection. routing table priority19:49
qwebirc85677you mean for return traffic?19:49
qwebirc85677but it's on the same subnet, I would assume it would return over tun adapter?19:49
Gallomimiawell, for the mysql port19:49
TJ-qwebirc85677: what interfaces/address(es) is mysql binding to?19:50
Gallomimialike, perhaps the client binds to the wrong network interface for mysl19:50
qwebirc85677it binds to all19:50
Gallomimiathat's an issue19:50
qwebirc85677not if ufw blocks public access19:51
Gallomimiathen it defaults to the public interface and gets no connections at all19:51
qwebirc85677docs say it binds to all interfaces19:51
Gallomimiafix so it binds to your tunnel only19:51
TJ-qwebirc85677: how do you try to connect to mysql using the client? using an IP address?19:52
qwebirc85677yes19:52
TJ-qwebirc85677: what interface does the IP address belong to?19:52
qwebirc85677tun019:52
TJ-qwebirc85677: does mysql service starte *before* openvpn tunnel? if so, mysql may not be bound to tun019:53
qwebirc85677Irestarted in various orders19:53
TJ-qwebirc85677: in theory a bind to ::0 should work with all newly appearing interfaces, but if mysql binds to interfaces that could be an issue19:54
TJ-qwebirc85677: can the client connect via SSH through the tunnel?19:54
TJ-qwebirc85677: if not, it'd point to a general tunneling issue19:54
qwebirc85677will test ssh19:56
qwebirc85677ssh works over VPN IP20:01
qwebirc85677so must be issue with mysql?20:02
qwebirc85677startup log of mysql here, showing listening on all: https://pastebin.com/sUh0DWDe20:04
Gallomimiabind it to the vpn20:04
qwebirc85677k20:05
qwebirc85677I bound it to vpn IP. log shows it is bound correctly, but still times out from client20:09
qwebirc85677localhost mysql client does not time out20:09
qwebirc85677my next thought is to crank up mysql log verbosity20:12
Sefid_parHello. I have granted +s permission to a root:root file. but when I run it as normal user, it asks for sudo password.20:14
Sefid_parthe file permission is as '-rwsr-xr-x 1 sefid users'20:15
Sefid_parI need to run the command by normal user to be ran as root user20:16
TJ-qwebirc85677: is mysql configured to allow connections from other than user@localhost ?20:16
qwebirc85677yes. this user was working over public IP before I blocked in ufw20:18
blackflowSefid_par: then the file must be owned by root, and don't use sudo20:18
TJ-qwebirc85677: does the connection get refused, or just time out?20:18
qwebirc85677times out20:18
qwebirc85677so mysql log didn't help20:18
TJ-qwebirc85677: I suspect there's some forwarding going on for the arriving packets20:19
qwebirc85677yes there is, but why would ssh work and not mysql20:19
qwebirc85677I have tried it with and without the masqueraded nat forwarding20:19
TJ-qwebirc85677: without seeing all the applied rules hard to guess20:22
TJ-qwebirc85677: if you can pastebin "iptables-save" we might spot something20:22
qwebirc85677... oh geez. I think I found it20:24
qwebirc85677my ufw rule to block mysql seems to block on all interfaces **facepalm**20:25
qwebirc85677it's working now. thanks for help!20:29
TJ-lol yay!20:32
TJ-helps to look at the detail :)20:33
rebabHow do I fix "Error: attempt to read or write outside hd0" error? I can't boot my pc.20:56
TJ-rebab: if power went off it suggests disk corruption21:09
Gallomimiadoes that mean he needs to run fsck?21:09
TJ-rebab: if power went off it suggests disk corruption21:09
TJ-ooops21:09
TJ-rebab: you're curerntly booted to the Xubuntu live ISO, yes?21:10
rebabYes with a USB stick.21:10
TJ-rebab: OK, let's collect some info, run these commands; they'll paste info to a pastebin and you can give us the URL21:10
TJ-rebab: start with "sudo apt install pastebinit"21:11
TJ-rebab: then "pastebinit <( lsblk; sudo blkid /dev/sd* )"21:11
rebabTJ-: Funny fact: Pastebin blocked in my country.  Ubuntu Paste: https://paste.ubuntu.com/p/VH5BDWjNRH/21:16
TJ-rebab: so /dev/sda1 is the installed system. Let's create a 'chroot' so we can work inside it. start with "sudo -i"21:18
TJ-rebab: then "mkdir /target; mount /dev/sda1 /target"21:18
TJ-rebab: if no errors reported, let's drop the automount "udisksctl unmount -b /dev/sda1"21:19
TJ-rebab: if still no errors: "for n in proc sys dev etc/resolv.conf; do mount --rbind /$n /target/$n; done"21:19
Gallomimiawhat kind of country blocks pastebin!?21:28
TJ-several, in this case, Turkey21:29
TJ-hhhm, looks like rebab disappeared21:35
CoffeeCattleis there any way to have a folder that when I drag files on it will only place sysmlinks of those files21:49
cortexmanI have noticed that the emacs and emacs-nox packages in Ubuntu are all empty, except on the very latest release (disco)21:49
cortexmanhttps://packages.ubuntu.com/xenial/all/emacs/filelist21:50
rebabTJ-: Sorry I've booted again.21:51
Gallomimiais there a way to trigger alternative actions to dragging things into a folder?21:52
Gallomimiai don't know...21:52
Gallomimiaan uncommon request for sure. but you'd think customizing linux would be a thing21:52
CoffeeCattleI want like a files basket when I can throw a bunch of files I'm currently working on there to just focus on them21:53
Gallomimiabut still leave them in their proper spot21:54
Gallomimiaa neat idea21:54
CoffeeCattleyeah, like playlists for files21:54
Gallomimiakind of like smart folders21:54
CoffeeCattleyeah21:54
rebabTJ-: Still here?21:54
Gallomimiahe was. he noted that you disappeared tho21:55
Bashing-omrebab: Did you follow "16:19 < TJ-> rebab: if still no errors: "for n in proc sys dev etc/resolv.conf; do mount --rbind /$n /target/$n; done" " ?21:56
rebabBashing-om: I've lost chat history. I don't have a IRC client right now.21:57
cortexman I have noticed that the emacs and emacs-nox packages in Ubuntu are all empty, except on the very latest release (disco) https://packages.ubuntu.com/xenial/all/emacs/filelist21:57
GallomimiaCoffeeCattle, i suggest you post a feature request. seems like a somewhat fundamental feature to a highly customizable OS21:58
rebabBashing-om: Only remember "sudo -i" the first command.21:58
OerHekscortexman, try emacs24 ?21:58
Bashing-omrebab: The point is if you are presently in that change root environment as directed by TJ- .21:58
Gallomimiaonly those 4 rbind's? i thought there was 521:59
OerHeksor look for a ppa, emacs25 and 26 https://launchpad.net/~kelleyk/+archive/ubuntu/emacs21:59
rebabYes, what is the next command? Sorry, as a newbie it's hard to understand this process.22:02
cortexmanOerHeks: that is not the paradigm for installing emacs on ubuntu.22:02
cortexmanI have noticed that the emacs and emacs-nox packages in Ubuntu are all empty, except on the very latest release (disco) https://packages.ubuntu.com/xenial/all/emacs/filelist22:02
OerHeksno clue about that, but there is: sudo snap install emacs --classic https://snapcraft.io/emacs22:10
Bashing-omrebab: What shows ' mount ' - in a pastebin site  . So we know where you are in the file system.22:10
cortexmanThe metapackage seems to have no consequence on the status of emacs on my system22:11
cortexmanie install / remove doesn't influence emacs-2522:12
cortexman*emacs-2622:12
rebabBashing-om: https://paste.ubuntu.com/p/NjhT6dPD93/22:12
Bashing-omrebab: We best wait for TJ- ; as I do not understand how sdb1 is mounted (uhelper=udisks2).22:17
rebabBashing-om: Okay.22:17
ceed^j/ #hexchat22:17
TJ-I'm back; rebab, what step did you do last?22:25
rebab"sudo -i"22:25
TJ-rebab: then "mkdir /target; mount /dev/sda1 /target"22:25
rebabTJ-: I have only 4 gb free space is it a problem?22:26
TJ-rebab: free space on disk, or memory RAM ?22:26
rebabTJ-: on disk 445/450 GB I guess.22:26
rebab%9922:27
TJ-rebab: we don't additional need disk space22:27
TJ-rebab: we'd best check the partition is still where it was earlier if you've rebooted22:27
rebab*99%22:28
TJ-rebab: "apt install pastebinit" then "pastebinit <( lsblk )"22:28
rebabTJ-: Okay.22:28
Gallomimia4 gigs is LOTS22:28
rebab"mount: /target: /dev/sda1 already mounted on /cdrom."22:29
rebabTJ-: https://paste.ubuntu.com/p/NtJhnkvMj4/22:30
rebabTJ-: Also: "mount: /target: /dev/sda1 already mounted on /cdrom."22:31
TJ-rebab: good job we checked; the device names have changed and sda is now the USB installer!22:33
TJ-rebab: just in case that has mounted, do "umount /target" - if it isn't mounted there it'll report and error that you can ignore22:34
TJ-rebab: then: "udisksctl unmount -b /dev/sdb1"22:34
TJ-rebab: then "mount /dev/sdb1 /target"22:35
TJ-rebab: then "for n in proc sys dev etc/resolv.conf; do mount --rbind /$n /target/$n; done"22:35
rebabTJ-: "Error unmounting /dev/sdb1: GDBus.Error:org.freedesktop.UDisks2.Error.DeviceBusy: Error unmounting /dev/sdb1: target is busy"22:35
TJ-rebab: have you got a file explorer window open showing the contents, or some terminal shell with its current directory inside "/media/xubuntu/05120e19-b4fb-482f-846e-cc55eb9c" ?22:36
rebabTJ-: Yes.22:37
TJ-rebab: you need to close the explorer window that is showing the contents, or navigate to a parent directory outside that mount22:38
rebabTJ-: Okay, no errors.22:40
TJ-rebab: right,do the  2 commands after that I gave you22:41
rebabTJ-: I did.22:41
TJ-rebab: so now you should be ready to enter the chroot. Just in case, lets' see some info to confirm that: "pastebinit <( lsblk; mount )"22:42
rebabTJ-: https://paste.ubuntu.com/p/8Q3DhK33n2/22:43
TJ-rebab: looks good :) now enter the broken system with "chroot /target"  -- you're now the root user in the broken install22:44
rebabTJ-: "chroot: failed to run command ‘/bin/bash’: Input/output error"22:45
TJ-rebab: ouch!22:45
TJ-rebab: "pastebinit <( dmesg | tail -n 100 )"22:45
rebabTJ-: By the way same problem here: https://askubuntu.com/questions/311925/how-can-i-fix-error-hd0-out-of-disk22:46
rebabTJ-: https://paste.ubuntu.com/p/gdhwxQjFky/22:46
TJ-rebab: OW! Bad news most likely, disk has failed22:47
TJ-rebab: "for n in etc/resolv.conf dev sys proc; do umount /target/$n; done"22:48
TJ-rebab: "umount /target"22:48
rebabTJ-: umount: /target/dev: target is busy.22:48
rebabTJ-: all busy.22:48
TJ-rebab: hmmm, the chroot failed so you must be outside the chroot itself22:49
TJ-rebab: try "umount -R /target/"22:50
rebabTJ-: umount: /target/proc: target is busy.22:50
TJ-rebab: try "exit" ... are you still at a root # prompt after that, or does the prompt become $  ?22:51
rebabTJ-: It's root #22:52
TJ-oh, so the chroot worked but then the command failed somehow!22:52
TJ-re-run the command now :)22:52
rebabTJ-: on Root? And which command?22:52
TJ-rebab: "umount -R /target"22:53
rebabTJ-: $ or #?22:53
TJ-rebab: you've lost me now :D22:53
TJ-rebab: I assumed from what you said, the current prompt is a #22:53
rebabYes It's #.22:53
rebabTJ-: umount: /target/proc: target is busy.22:54
TJ-rebab: goood, so you're still the root user, but should be root in the live environment not the broken system22:54
TJ-rebab: oh well, not a lot we can do about it, the system is broken22:54
TJ-rebab: "sd 0:0:0:0: [sdb] tag#0 Add. Sense: Unrecovered read error - auto reallocate failed"22:54
TJ-rebab: ^^^ that means the disk has been damaged and cannot recover22:54
rebabTJ-: What can we do about it?22:55
TJ-rebab: get a new disk22:55
rebabTJ-: You mean reinstall xubuntu?22:56
TJ-rebab: on a new disk, yes. That disk is damaged and cannot recover22:56
TJ-rebab: something bad happened when the system lost power22:57
rebabTJ-: What about my personal files?22:57
TJ-rebab: they might be recoverable but it is hard to know; if the disk keeps on reporting read errors like the log shows22:58
rebabI'll reboot. Can't see anything on Terminal right now.22:59
TJ-rebab: the best thing to do is turn the power off and remove the disk drive so it isn't spinning. Get another disk at least as big as that one, then it *may* be possible using "ddrescue" to copy some parts of the damaged disk to the new disk, and possibly salvage data, but there is no guaranee22:59
Gallomimiatwo things: if it wasn't backed up, i guess it wasn't that important to you. second...23:01
Gallomimiaif you put the drive in the freezer, inside a zip up bag, you might be able to get a minute or two of life out of it to recover the files. maybe not. that's only if its the bearings23:01
TJ-user has gone23:02
Gallomimiaoh darn23:02
TJ-won't be bearings - this happened after a power failure - I'm betting it is an old drive and there's been heads-meet-platter damage23:02
TJ-if it were just logical data errors the drive sense would be fine23:03
TJ-may be luck and it's localised; in which case ddresuce will recover a lot23:04
rebabTJ-: It's me again.23:04
TJ-rebab: got the new disk already? :O23:05
rebabTJ-: Good news. I can save my personal files.23:05
rebabTJ-: Bad news. I have to install every program again.23:05
TJ-rebab: that is good news, so the damage must be localised23:05
TJ-rebab: I doubt that drive is safe to use beyond salvaging data; those errors are nasty ones and the drive cannot recover the damaged sectors23:06
TJ-rebab: And of course, ALWAYS have backups of your data files23:06
TJ-rebab: also be aware that although you're able to copy files off the disk there is no guarantee that the file contents are not corrupted, so be vigilant23:10

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