/srv/irclogs.ubuntu.com/2020/02/03/#ubuntu.txt

qwertuttytyhttps://paste.ubuntu.com/p/dxxfGGw2hV/00:27
paul98oerheks: are we staying I need to install this?00:31
qwertuttytyscrolling in the right00:33
smacktalkEriC^^ you said to use some command...I don't see a command in the output00:37
=== HappyTree is now known as mrinfinity
=== Hoffman is now known as SuperHoffBowlMan
nCoV_frenHi01:22
k_szeSo Windows 10 has clipboard history. Does (any version of) Ubuntu have something like that?01:45
azxyes01:48
azxit's built into the fresh install of os01:48
azxin the trey01:48
azxI'm running kubuntu and it came with clipboard history built in, wasn't even aware windows had a similar native option01:49
azxit's been here since the beginning of time01:49
azxk_sze: only time i've ever used clipboard history extensively was on linux01:50
azxusually on windows i just paste it into a notepad01:51
k_szehmm, might be a KDE thing? I think you're talking about Klipper?01:57
=== EriC^^56 is now known as EriC^^_
=== zbenjamin is now known as Guest13441
=== zbenjamin_ is now known as zbenjamin
=== EriC^^50 is now known as EriC^^_
fyberI'll occasionally have an issue where I can ssh into the server, but if I run any command (reboot, init, even sudo) it says "Input/output error"03:05
fyberGoogle says that probably means I have a bad disk, but after I reboot it's fine03:05
fybergoing on for over a year or two, with the issue happening every few months03:05
fyberso I'm pretty sure it's not a bad disk, what else could it be?03:06
hoobershaggushow to access a windows 7 machines' network share from ubuntu03:06
Wallysmb://whatever in the network menu03:07
WallyYou will need samba client installed03:07
Wallylikely samba-common03:07
hoobershaggusi see, what kind of path/address does the samba client need to connect to a machine?  i dont know anything about this, i am just doing this for my boss, i tried private ip and hostname so far03:09
WaVsmb://hostnameOrIP/sharename | ex: smb://192.168.1.187/Documents03:11
WaVmake share on the Windows machine that you have a share set up | ex: (as administrator via cmd) "net share Documents=c:\Users\Johnny\Documents\"03:12
hoobershaggusthanks been messing with this al lweek03:17
hoobershaggusthis will be pretty much the same for solaris and bsd?03:18
WaVNo idea. I would assume.03:19
hoobershaggusthanks03:23
=== SuperHoffBowlMan is now known as HoffMan
gambl0reanyone use mpd+ncmpcpp?03:34
=== HoffMan is now known as Hoffman
SWE442hello04:22
SWE442I was wondering if someone might have a minute to help me figure out why X won't let me in anymore?04:22
SWE442it says cannot open display “default display”04:22
ducassegambl0re: what's your question?04:23
gambl0rehow would i restart pulseaudio?04:24
ducassegambl0re: 'pulseaudio --kill' and 'pulseaudio --start'04:25
gambl0reok and how would i check to verify that its running?04:26
gambl0reis pulseaudio a service?04:26
ducasse'pgrep pulseaudio' should give you the pid04:26
gambl0rei tried systemctl status pulseaudio but it didnt work04:26
ducasseit's not a systemd service04:27
gambl0rei see...pidof pulseaudio seems to work also. thanks04:27
tatertots004:38
SWE442can anyone help me debug why X won't start?04:39
SWE442I've been at it 1 hour04:39
tatertotsSWE442: did you always have the issue immediately after installing ubuntu..or everything was fine until recently?04:39
SWE442everything was wine04:40
SWE442then yesterday I couldn't get in, and I updated my graphics drivers04:40
SWE442then everything was fine04:40
SWE442then I had to do a hard reset04:40
tatertotsSWE442: what changes did you make to the system and or it's configuration?...including but not limited to new kernels and updates of packages04:40
SWE442now I can't get in04:40
SWE442I removed a few packages04:40
SWE442that were "unsupported"04:40
SWE442I did ubuntu-support-status, and removed he five packages that "could no longer be downloaded"04:42
SWE442was that crazy?04:42
tatertotsi wouldn't consider it crazy but you didn't really stand to gain much from doing so but a couple hundred MB of disk space ..if even that...in retrospect a few hundred MB of disk space worth not having a working GUI?.....IMO ...NO04:44
tatertotsso not crazy at all...but totally not worth it04:44
tatertotsanywhoo04:45
SWE442lol04:45
tatertotsare you chatting from the computer right now?04:45
SWE442I figured it would get me one step closer to upgrading when 20.04 comes out04:45
tatertotsof course not lol04:45
SWE442no, I have a laptop04:45
SWE442you can see what I removed here https://termbin.com/f02l04:45
SWE442agp = apt get purge (I'm using zsh)04:46
tatertotsUbuntu has a software called "cronopete" or something to that effect04:46
tatertotsyou should make a note of it..and use it to make a back up prior to making changes...it'll save your bacon and allow you to revert or restore to a previous state...(without having to reinstall)04:47
tatertotsat this point it's quicker to just reinstall, make a mental note of the program i just told you about called "cronopete" and take steps to avoid this in the future (by having a back up taken with cronopete)04:48
tatertotsyou live and learn04:48
SWE442wait04:49
SWE442I have to reconfigre everything?04:49
SWE442that sounds like it will take hours04:49
tatertotsinstalling ubuntu takes me less than 10 minutes ...YMMV04:50
SWE442won't that wipe all my settings?04:50
tatertotssettings?04:50
SWE442it took me a long time to get the environment all set up04:51
tatertotsI'd like to hear about these everything/settings you are concerned about04:51
SWE442okay, you're going to laugh04:51
SWE442I remember I had to set the terminal colors to solarized (and figure out how to do that)04:51
SWE442I had to set the monitor scaling04:51
tatertotsoh ...cosmetics04:51
tatertotsyeah i'm going to laugh at anything "cosmetic"04:51
SWE442I had to install python through pyenv and get all the libraries I need04:52
SWE442luckily I have most of my configuration files in a repository04:52
SWE442but I still have to make softlinks to all the files04:52
Ben64can you get on in guest mode04:52
Ben64or a new user04:52
SWE442I'm in the terminal04:52
SWE442when I startx, it does this: https://termbin.com/j55o04:53
Ben64don't startx04:53
SWE442well, the Xorg.0.log gives a hint: https://termbin.com/b68l04:55
SWE442or no hint, rather04:56
tatertotsinstalling ubuntu takes less than 10 minutes ...on the other hand..you could be sitting there looking at the blinky cursor for hours and or days04:57
Ben64can you get on in guest mode or a new user04:57
SWE442Ben64 I'm in as myself04:58
Ben64that's not what i asked04:58
SWE442here's the result of jouranlctl -b: https://termbin.com/j1cl . It says "/dev/tty1: Permission denied"04:58
SWE442that seems bad04:59
SWE442oh04:59
SWE442Ben64 how do I do what you ask04:59
SWE442?04:59
SWE442reboot?  su?04:59
Ben64try to log in with a new user or with guest mode04:59
SWE442how?04:59
SWE442it just kicked me to terminal04:59
Ben64you click guest on the login page or click a new user after creating a new user04:59
SWE442there is no login page because X doesn't start up04:59
tatertotstell him you never see a log in GUI05:00
SWE442lol exactly05:00
tatertotsnor do you see a mouse cursor to do any "clicking" what so ever05:01
Ben64systemctl status lightdm05:01
tatertotssorry for speaking for you right there..just thought i'd make the water less muddy05:02
SWE442"Unit lightdm.service could not be found."05:02
SWE442tatertots thanks I appreciate it05:02
Ben64and you installed ubuntu?05:03
SWE442Ben64 I didn't reinstall it, no05:04
SWE442Ben64 I feel like this should be a quick fix?05:04
tatertotslol05:04
SWE442lol05:04
Ben64you keep answering different questions than what i ask :|05:04
tatertotswas a quick "break"05:04
tatertotslol05:05
Ben64i'm out05:05
SWE442ben64 sorry, I'm not sure what you're asking.  I installed ubuntu 1 year ago05:05
SWE442ben64 okay, thanks anyway, goodnight05:05
SWE442would this help? https://askubuntu.com/questions/21309/how-to-restore-xserver05:07
SWE442reinstalling just the x-server?05:07
tatertotsdid you make bookmarks or remember all the tutorials or youtube videos you used to get your phython stuff going?05:07
SWE442tatertots, I know how to do it, it's just painful05:07
tatertotsoh okay05:07
SWE442I don't understand why tty1 would be permission denied05:07
SWE442makes no sense05:07
tatertotsSWE442: in terminal>    pwd05:09
patrixlthere's an Xwrapper.config or somethign file that specifies who is allowed to start an X server, if you're doing startx as non-root that might be preventing it05:09
tatertotsSWE442: what is the result?05:09
SWE442"/home/neil"05:09
tatertotsSWE442: in terminal>   ls -alh|nc termbin.com 999905:09
SWE442how does this help ou?05:10
tatertotsSWE442: if you don't want to share it that is acceptable...like i said it's faster to reinstall ubuntu05:10
SWE442hang on05:11
SWE442I had some dead symlinks05:11
tatertotsSWE442: there's some stuff called xauthority...it'd take a long time for me to explain the details..i'd just have you reinstall but if it's xauthority it is possible it coudl be a quick fix05:11
SWE442.profile was dead05:11
SWE442could that be it?05:11
tatertotsSWE442: do what you know good..and if it fixes it...then it was it...if you take your action and it has no effect ...it wasn't it05:12
SWE442okay, I'm just going to reboot and pray05:14
SWE442didn't work05:17
SWE442can I do sudo dpkg-reconfigure xserver-xorg ?05:17
SWE442is that dangerous05:17
tatertotssure you can do that05:17
SWE442is it weird that gdm.service is not found?05:18
SWE442when I do service gdm restart05:18
tatertotsi don't think it's dangerous at all...the damage is already done...how much more broken can it be05:18
SWE442lol05:18
tatertotsnope I don't think that is weird at all...having heard you explain the chronological events that led up to this situation i do not think it is weird at all05:20
tatertotschronological order of events05:20
SWE442do I want gnome or lightdm?05:21
tatertotsyour preference05:22
tatertotseither one05:22
SWE442how do I know what I had before?05:22
SWE442I think gnome is default, right?05:22
SWE442on 18.0405:22
tatertotssounds right05:22
tatertotsyou can always try the other05:22
SWE442okay, got it working!05:23
tatertotsgood deal05:23
SWE442sudo apt install ubuntu-gnome-desktopsudo gnome-shell gnomesudo systemctl restart gdm3.05:23
SWE442sudo apt install ubuntu-gnome-desktopsudo gnome-shell gnomesudo systemctl restart gdm3.05:23
SWE442sudo apt install ubuntu-gnome-desktopsudo gnome-shell gnomesudo systemctl restart gdm3.05:24
SWE442ugh05:24
fys...05:24
fyswrong window :)05:24
SWE442not sure how to format05:24
SWE442but that's three line05:24
SWE442s05:24
SWE442is how I did it05:24
SWE442well, thanks for being patient with me05:24
SWE442glad I don't have to reinstall05:24
tatertotsCRONOPETE05:24
tatertotsremember05:24
SWE442how does it work/05:25
SWE442?05:25
SWE442okay I see05:26
SWE442thanks05:26
tatertotsit creates a backup/restore point for you to go back to ...in case you do something else in the future that has a negative impact on the system...will save you time and frustration05:26
SWE442got it05:26
SWE442it uses local or cloud storage?05:26
tatertotsyou could probably use what ever storage you wanted to use.05:27
SWE442kk05:28
SWE442thanks05:28
tatertotswhen it's restore time would probably help if you didn't need firefox or chrome to get to your back up...you sure as heck didn't have firefox or chrome during your most recent disaster05:28
tatertots....meaning local storage is probably your best friend05:28
cybertruck2077Hi guys, I made a small script and it's set on Crontab05:49
cybertruck2077It seems to run, but skips over the poweroff command05:50
cybertruck2077Does the poweroff command have to run as sudo or anything special when running it in a script as a cron job?05:50
guiverccybertruck2077, poweroff is in /sbin/ on my system, so I'm betting it does require sudo05:51
cybertruck2077OK thanks, I'm reading up now, seems you have to give the full path05:52
cybertruck2077Yeah that too, seems the cronjob has to run as root05:52
cybertruck2077weird, sudo crontab -e saves it to a weird place05:58
cybertruck2077but when you do sudo crontab -l afterwards, it's added and everything.05:58
cybertruck2077maybe something writes the tmp crontab to a permanent root one once you saved after sudo crontab -e05:59
patrixlyup it doesn't save it directly to the crontab file, but a tmp location first, in case anything goes wrong06:01
cybertruck2077patrixl, ah OK thanks, yeah that makes sense06:01
patrixlnp06:11
veegeeOk I did something really stupid and I need help urgently06:38
veegeeI accidentally clobbered the first ~300MB of /dev/sda06:38
veegeethe system is still running but gdisk shows there's no partition table06:38
Ben64clobbered how06:39
veegeeflexible io tester06:39
veegeetold it to test /dev/sda instead of /dev/sdb06:39
Ben64oof06:39
veegeeShould have been using WWN06:39
veegeeI hit Ctrl-C like instantly so only less than the first 300MB  have been written06:39
EdFletcherT137I'm sorry to tell you, but the system is likely only still running because of what is resident in memory. A reboot will be catastrophic I'm afraid.06:39
veegeeyeah06:39
veegeeI know06:39
veegeebut it's a GPT formatted disk, so I'm wondering if I can recreate the partition table and reinstall the bootloader06:40
veegeebecause I don't think the first partition actually starts until well after 300MB for GPT disks06:40
Ben64that's not true06:40
ducasse300mb is well into the filesystem06:41
Ben64you can maybe use testdisk to rebuild later partitions but it's pretty broken probably06:41
veegeeI'm executing binaries that aren't in the cache06:42
veegeeso the FS is able to find stuff so far06:42
veegeeit's ext406:42
ducassedo you have backups?06:42
veegeethis is just a test server but I'd rather not waste hours reinstalling everything06:42
veegeebut if this dies, nothing lost except wasted time reinstalling06:43
veegeewell gdisk default start sector is 204806:43
Ben64that's 8MB06:44
veegeewell time to recreate the partition table and see if ext4 can recover some stuff06:45
veegeeoooh yay GPT stores recovery information06:46
veegeegood learning opportunity06:46
ducassei'd just start recreating the system rather than waste time trying to recover, but that's me06:46
veegeelet's see how far this recovery attempt can go06:47
ducassesure, if you have the time06:48
veegeewell I was breaking in my new set of 24 8TB SAS disks and testing my LSI 9400 card06:50
veegeethe temptation to run flexible IO tester was too strong :(06:50
veegeewill only use WWN paths from now on lol06:51
veegeedev/sd* is far too dangerous06:52
=== umask078 is now known as umask077
tarzeauwhere's the support for 20.04 again? can't find it in /topic11:13
tarzeauoh also applies for 19.10, how to get rid of chromium snap, i can't rebuild 79.0.3945.130 on 19.1011:14
Habbiehttps://wiki.ubuntu.com/IRC/ChannelList mentions #ubuntu+111:15
tarzeauHabbie: thanks11:17
TJ-Have there been reports of display freezing with the 5.3 kernel series? Seeing this on multiple systems with intel and nouveau drivers. Mouse cursor remains responsive as does remote SSH session. Nothing in any logs to give a clue.11:33
tarzeauTJ-: i saw such reports, but can't remember where11:33
TJ-Also, they're on multiple releases (18.04, 19.10) but same 5.3 series11:34
TJ-tarzeau: hmm... not had much luck so far finding anything on LP11:34
indoorcatwhat data is shared using ubuntu?11:34
indoorcatcan they see my terminal commands?11:34
tarzeauindoorcat: https://lwn.net/Articles/726902/11:35
tarzeauindoorcat: ah that's the one i wanted to find https://ma.ttias.be/what-exactly-being-sent-ubuntu-motd/11:36
TJ-Just had a display freeze for 5 minutes on 18.04/5.3.0-29 ... then it just continues as if nothing happened. Originally thought it was related to Firefox/opengl hardware accel but had it when using PDF viewer and others, but does seem to be related to GUI applications doing more than basic rendering11:40
legreffierTJ-: yeah. had to switch back to 4.whatever. it affects newer intel gpu.11:45
TJ-legreffier: I'm seeing it with nvidia/nouveau too11:46
legreffierTJ-: isn11:46
legreffierwith optimus , right ?11:46
TJ-legreffier: no11:47
legreffier(it should defaults to intel in basic use, the intel part is at fault though.)11:47
TJ-As I said, this is single GPUs not optimus11:48
TJ-right now it's happening almost every time I interact with a Firefox (v74) window ... entire DE is unresponsive whilst mouse cursor still responds... then will unfreeze at some points, sometimes 10 seconds sometimes 5 minutes. No traces in any logs11:49
legreffierTJ-: i had the same problem, use older 4.1x kernel.11:52
legreffieryou should find traces in `dmesg`11:52
TJ-legreffier: nothing11:53
TJ-I've been seeing this across at least 3 systems all with different GPUs, commonality seems to be 5.3 kernel series.11:54
lotuspsychjeTJ-: do you get higher fan loads too?11:54
lotuspsychjei noticed my NUC on bionic working a lot harder lately11:55
TJ-lotuspsychje: no, although 2 of them don't have fans. Everything looks 'normal' from an SSH session, no processes hogging CPU or whatever11:55
lotuspsychjekk11:56
TJ-lotuspsychje: you know me... if I'm here asking there's something VERY WEIRD going on :D11:56
lotuspsychjeyeah lol11:56
lotuspsychjewell all i can say, alot is going on, on 5.3 and 5.4 right now..11:56
TJ-Maybe some added some code to the kernel: "if (strncmp( user_id.name, "tj", 2) == 0) { hide(); }"11:57
lotuspsychjelol11:57
valecrihi everyone - I've installed ubuntu server on my Raspberry PI 4 (now offically supported), but neither ifconfig nor network-manager packages are installed with the system. Given that I've no access to an ethernet connection but only wifi, is there any tool provided with the system that I can use to configure the wireless lan? Or is there a way to12:08
valecrido it by changing something in etc/network/interfaces?12:08
valecrihi everyone - I've installed ubuntu server on my Raspberry PI 4 (now offically supported), but neither ifconfig nor network-manager packages are installed with the system. Given that I've no access to an ethernet connection but only wifi, is there any tool provided with the system that I can use to configure the wireless lan? Or is there a way to12:08
valecrido it by changing something in etc/network/interfaces? Thanks everyone12:08
TJ-valecri: it doesn't use ifupdown, -server uses systemd-networkd12:08
valecriThanks TJ (and sorry for the duplicate message, I tried to edit the message like in Slack :D  )12:09
TJ-valecri: it should have a netplan YAML config, via /etc/netplan/ which will auto-create the required systemd-networkd config on each boot12:09
TJ-valecri: check if the directory /etc/netplan/ exists12:09
TJ-valecri: do you want the Pi to get IPv4 addresses via DHCP ?12:10
valecrithat would be great12:10
valecrithe directory exists, by the way12:10
TJ-valecri: OK, the 1st example here should do you:  https://netplan.io/examples12:11
TJ-valecri: HOWEVER you DO NEED to change the interface name to match what the Pi has12:11
valecriyes, in my case wlan0, I got it using ip12:12
TJ-valecri: so in your case replace the example's "enp3s0:" with the Pi's name, I *think* it'd be "eth0" but use "ip link show" to check12:12
TJ-valecri: OK :)12:12
valecrithanks TJ! you've been very helpful12:12
valecriI'll try now12:12
TJ-in which case for Wifi then https://netplan.io/examples#connecting-to-a-wpa-personal-wireless-network12:12
waveformvalecri, you can also pre-configure the wireless on a new installation via the "network-config" file on the boot partition. In other words, after flashing the SD card, re-insert it then open that file with a text editor; I've left some examples of wifi config in there12:15
waveformvalecri, however - be warned that there is an issue with cloud-init setting up wifi (not entirely surprising given there's precious few clouds that use wifi!) - it'll copy the setting to netplan, but *won't* apply it on the first boot. Subsequent boots should find the configuration successfully12:16
BluesKajHowdy all12:16
valecrithanks waveform12:16
TJ-waveform: so more of a foggy-init then? :p12:17
waveformTJ-, heh - something like that :)12:18
mrsidewayshi12:56
mrsidewaysIs there any way to build ubuntu completely from source with native optimizing without manually getting source and dependency packages?12:56
mrsidewaysMy supercomputer only officially supports Ubuntu, with a custom kernel module set from the companies who I commissioned to do it12:57
mrsidewaysso I can't roll Gentoo if I want them to fix bugs in ROMs and firmware, or phsysically fix something wired wrong or such12:57
pragmaticenigmamrsideways: That is not a supported topic on this channel. You're welcome to experiment, but this channel and all Ubuntu's official channels, only support the official Ubuntu flavors as distributed from Ubuntu's official website and mirrors12:58
mrsidewayspragmaticenigma, is there a channel I should ask in?12:58
mrsidewaysor do I need to contact cannonical?12:58
pragmaticenigmaIf you have a support contract with Canonical, then you're welcome to ask them. This channel is run by volunteers of the Ubuntu community. I don't know what the response would be from Canonical directly. As for other IRC channels, you can try asking in ##linux13:00
isomarigreetings, why do most ps commands not work? eg: ps -p pid -o etime. returns with the ps help screen.13:08
EriC^isomari: it works for me, ubuntu 16.0413:09
EriC^isomari: what does "dpkg -l procps" show for version?13:10
EriC^also "type -a ps"13:10
pragmaticenigmaisomari: You need to use an actual process PID for "pid"13:10
leftyfbisomari: you really should read the help/man page and understand commands before just copying and pasting them into your terminal.13:17
isomariEriC^: ii  procps         2:3.3.15-2ubuntu3 amd64        /proc file system utilities13:20
isomariEriC^: I C the prob. my ps is an alias.13:21
BluesKaj!cross posting | isomari13:23
BluesKaj!crosspost | isomari13:24
ubottuisomari: Please don't ask the same question in multiple Ubuntu channels at the same time. Many helpers are in more than one channel and it's not fair to them or the other people seeking support.13:24
valecrihi waveform, I tried TJ's solution but I can't connect. this is the yaml file already in the /etc/netplan/ folder (called 50-cloud-init.yaml):13:35
valecrihttps://paste.ubuntu.com/p/HgTx3XqHRG/13:35
valecriif I run the command "ip a" on the rPI, it gives me back:13:36
valecriwlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 100013:37
valecrihowever, there's no internet connection and if I try to run the command "ping www.google.com" it gives me "Temporary failure in name resolution"13:39
valecrido you have any idea why I can't connect to my network?13:39
ioriavalecri, does it works if you use the default 50-cloud-init.yaml file ?13:41
valecriioria, the default file stopped at line 7, I added the rest - so there was no wifi in the default file. Also, I have no access to wired connection - only wireless13:42
ioriavalecri, ping 8.8.8.813:44
valecriit says "From 127.0.0.1 icmp_seq=[progressive number] Destination Host Unreachable13:45
tatertots valecri have you EVER successfully used the internet on this installation ?13:47
tatertotsvalecri: you can say "it was working fine earlier"...or you can say "internet has never worked"13:48
valecriif by installation you mean this rPI4, then yes - previously I had raspbian and both ethernet and wireless were working13:48
valecriif by installation you mean the wireless network, then it is currently working as it is the one I'm using from this computer :D13:49
tatertotsyou're most likely NOT using raspbian at the moment, so by "installation" i mean ubuntu or the OS that exhibits this symptom13:49
tatertotsI hope that makes it clear now13:49
valecriit is Ubuntu Server 19.10 and this is my first installation, so it has never worked13:49
tatertotsI understand13:50
tatertotsis this the only edition/version of Ubuntu you have ever used on this device?13:50
valecriyes13:50
ioriavalecri, can we try with a static ip config ?13:51
tatertotsvalecri: ubuntu server edition does NOT contain network manager which someone like yourself would depend on for connectivity.....try the "desktop" version of ubuntu13:51
valecriI installed the files on the microsd and it run flawlessly - OS boots perfectly, but I can't get wifi to work13:51
valecritatertots, Ubuntu for RaspberryPI 4 only comes in Server edition, no desktop manager13:52
ioriavalecri, https://paste.ubuntu.com/p/qJtRM9krSc/   and reboot13:52
tatertotsewww13:52
tatertotssucks for many RasPi users then13:52
lotuspsychjelanguage tatertots13:52
valecriIt doesn't suck, given the target, I would say it is just my particular case together with my ignorance :)13:53
valecrithanks ioria, I'll try now13:54
ioriavalecri, be sure the wifi module is correctly enabled13:54
VozivI have two apps (firefox and terminal) which when I try to play a sound in one vs the other it causes the audio to "pop", sort of like a power saving issue. However power saving is turned off for this device via a udev rule, and it only happens if I pause my audio (youtube video), then cause my terminal to make a sound (bell). If I keep the youtube video playing and have the bell play in the terminal things sound fine. Same issue13:58
Vozivhappens when I get notifications from various applications (slack / discord). Any ideas what might be causing this?13:58
ioriavalecri, unless that's a cloud image, (ls /etc/cloud) in that case you need to disable cloud-init13:58
valecrihi Ioria, I copied from the pastbin but it doesn't work14:02
ioriavalecri,  ls /etc/cloud14:03
valecriresult is: build.info cloud.cfg and dirs cloud.cfg.d and templates14:04
valecrihow can I be sure the wifi module is enabled?14:04
ioriavalecri,  sudo nano /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg14:05
ioriavalecri,  put this in there :        network: {config: disabled}14:05
valecrithe file 99-disable-network-config.cfg does not exist14:06
valecrishould I create it?14:06
ioriait's a new file14:06
ioriayes14:06
valecrithere's only "99-fake-cloud.cfg"14:06
ioriait's a new file14:06
valecriok, done ioria14:09
ioriavalecri,  cd /etc/netplan ; sudo mv  50-cloud-init.yaml  01-netcfg.yaml14:09
valecridone, ioria14:10
ioriavalecri,  lspci -nnk | grep -i network -A 414:10
valecrishould I run "sudo netplan apply"?14:10
valecriioria, that command returns no results14:11
ioriavalecri,  can you paste  ' lspci -nnk '14:12
valecriresult is: 00:00.0 PCI Bridge [0604]: Broadcom Inc. Kernel driver in use pcieport, then 01:00.0 USB controller [0c03]: VIA Technologies Inc. Kernel in use: xhci_hcd14:15
valecri(sorry but I have to manually copy what I see on screen)14:15
valecriioria If I run "ip a" or "lshw -class network" the results are different14:16
valecrias I can see both ethernet (that now is disabled) and wireless14:17
ioriavalecri,  we are interested in  the 'Kernel driver in use:' line14:17
ioriavalecri,  take and post a pic, idk14:18
valecriioria, that's pretty much it, I copied that entire line. it just says "Kernel driver in use: pcieport" and then the new line is the one about the USB controller14:19
ioriavalecri,  dmesg | grep wlan014:19
valecriioria, result is [   21.570196] IPv6: ADDRCONF (NETDEV_CHANGE): wlan0: link becomes ready14:21
ioriavalecri,  sudo netplan apply and reboot14:21
valecriioria, `ping www.google.com` still returns "Temporary failure in name resolution"14:24
ioriavalecri, ip a14:24
valecriof course the network credentials are the right ones, and the IP address I've chosen is not in use by anyone in this network14:24
pragmaticenigmaIs it possible the network gateway will not respond to any IP address it didn't provide that is part of the IP address pool used by DHCP?14:26
ioriavalecri, ip a14:27
waveformvalecri, "sudo netplan apply" should apply the settings in /etc/netplan/50-cloud-init.yaml (which are derived from those specified in /boot/firmware/network-config)14:27
waveformif it returns nothing, that's generally fine (no output means no errors)14:28
=== umask078 is now known as umask077
waveformyou shouldn't need to reboot after sudo netplan apply, but as mentioned before there is an issue with wifi working on the first boot (I can't remember if that applies with netplan apply or not so maybe just reboot anyway and see if it's worked)14:32
valecriioria, sorry for the delay. I took a screenshot https://pasteboard.co/ISYSFum.jpg14:32
valecriunfortunately I needed to resort to old folk's method: an actual picture of the screen :D14:32
valecrias, of course, that rPI is not connected to any network :D14:33
valecriwaveform, I always run that command, and if it wasn't working I rebooted once or twice at least14:33
ioriavalecri,  what's the problem with the cable connection ?14:33
valecriwhat do you mean?14:34
ioriavalecri,  why you're not using it ?14:34
waveformvalecri, okay, that shows you've got a 192.168.x.x address on wlan0 so your wifi is working (some dhcp server must've sent that)14:34
ioriawaveform, we set it manually14:35
waveformah sorry - missed that (bouncing around the place today)14:35
tatertotsi don't think he had connectivity with "auto" ip or the "static" they are using currently14:35
tatertotshe probably can't even successfully ping his "gateway" ip he has statically defined14:36
valecriyes, I first tried with static, then when it wasn't working I tried with DHCP and then again with a static address together with ioria14:36
tatertotswhich would mean he has ZERO communication with his router/modem combo box14:37
ioriavalecri,  ping the router14:37
tatertotsthat means ping the value you have set as "default gateway"14:37
valecriDestination host unreachable14:38
tatertotsi suspect you'll not be able to successfully ping gateway/router...which means your not connected to jack diddley14:38
valecriExactly14:38
tatertotsyou're not14:38
tatertotseven when configured to "auto" ip aka DHCP...i'd imagine you didn't even get offered a IP from your router/modem combo box either right?....confirm or deny if you remember14:40
valecriI'm starting to think it's going to be easier to bring a 65" tv upstairs where I have the router than to have the wifi working :D14:40
ioriavalecri,  are you sure the numbers are ok ?14:40
tatertotsso yeah...i'm sure other RasPi owners are missing the aid of "network manager" which is NOT in Ubuntu Server editions LMAO14:40
tatertotshope they get a Ubuntu Desktop version for RasPi in the works so you guys have a lifeline ...geez14:41
ioriavalecri,  i mean, maybe the router is 192.168.1.1 ?14:42
BluesKajroute -n will tell you what your router gateway IP is14:42
tatertotshe won't be doing route -n on that raspi with NO CONNECTIVITY ...that only works on a computer that is "successfully" connected with internet14:43
valecriioria, I am 100% sure about gateway address and network credentials14:43
tatertotshope he has a few windows PC and maybe other Linux PC's on the LAN14:44
tatertotshe's %100 confident he knows his gateway/router IP....and we are %100 confident he cannot successfully "ping" the router/gateway IP...meaning he's not connected to jack14:45
tatertotsvalecri: about all you can do my friend is keep fiddling with it14:46
waveformtatertots, route -n will print the routing table regardless of connectivity (it might be empty, but it'll happily print it)14:46
tatertotswaveform: we wanted to confirm his router/gateway so it could be pinged...not just view a routing table on a raspi that has NO CONNECTIVITY at all what so ever14:47
valecrihowever, net-tools are not installed, so no route command :D14:48
tatertotsroute command isn't going to magically give you connectivity...sorry if the above back and forth discussion gave that false hope14:49
valecritatertots, I knew and I had no false hopes, but it was worth checking that the actual routing table could show any anomaly14:50
tatertotsvalecri: i'd expect the only thing you can probably ping right now is 127.0.0.114:50
tatertotsvalecri: you cannot communicate outside of that rasPi14:50
valecritatertots, that should be the address of the peripheral, right?14:51
waveformvalecri, I'm afraid I'm not in front of any pi at the moment, but I'd suggest it might be worth a look in /var/log/syslog to see if there's anything incriminating from netplan (an attempt to connect to the access-point(s) specified in the config, etc.)14:51
tatertotsvalecri: 127.0.0.1 is like when dorothy in the wizard of oz clicks her red shoe hills three times saying "there's no place like HOME"...lol..it's loopback14:51
BluesKajroute - just gives the gateway IP, not your internet connection14:55
BluesKajroute -n14:55
valecriubuntu server unfortunately doesn't come with net-tools preinstalled, BluesKaj14:56
tatertotshe's just clarifying there valecri ...don't let that give you any false hope14:56
tatertotsyou're not connected to anything so the route command wouldn't change that fact on its own14:57
valecritatertots, could you please turn your condescending tone down a notch? thanks :D14:57
BluesKajdamn raspbian14:57
valecriI appreciate the help, however!14:57
tatertotsoh is it condescending sounding....thanks for bringing that to my attention...i had no idea14:57
valecrino worries, tatertots14:58
valecriand again, thanks for the help14:58
valecriis there a way to configure a network peripheral on Ubuntu Server without using netplan?14:59
BluesKajtatertots, I didn't say that it would connect.. merely the router IP14:59
tatertotsBluesKaj: i understand15:00
waveformvalecri, netplan defaults to rendering its config via networkd so you can presumably edit the config at that level but your config isn't exactly complicated so I'd assume there's something lower level going on here15:01
BluesKajvalecri, are you stuck with wifi or can you use an ethernet connection too15:01
BluesKaj?15:01
valecristuck with wifi, BluesKaj15:02
BluesKajok15:02
BluesKajbummer15:02
waveformvalecri, just to check (I've skimmed the scrollback, but apologies if I've missed this) have you confirmed your wifi works with the pi4 generally, by checking it on raspbian?15:02
valecriyes, it was working perfectly15:03
tatertotsyep ..he was surfing the interwebs without issue on raspbian15:03
BluesKajvalecri,  maybe the guys over at #raspberrypi chat can help15:04
waveformvalecri, okay so definitely not hardware at either end - was there anything from netplan / networkd in /var/log/syslog?15:05
leftyfbvalecri: I haven't scrolled up at all so I might also be missing some details, but one option might be to throw Ubuntu Mate on an SD card and see how they do it. It works out of the box there.15:05
valecriubuntu mate doesn't support the raspberry pi 415:06
tatertotsvalecri: i hope this doesn't sound offensive or condescending, as i am genuinely curious to ask this question15:08
tatertotsvalecri: if raspbian worked fine ...is there some software that is only available to you via a Ubuntu repo that you planned to use in production that is NOT available on Raspbian ?...or merely for the less resource / computational over head since Ubuntu server has no GUI (by default)???15:09
tatertotsagain sorry if that question sounds offensive or condescending...that is not my intention..15:09
BluesKajit's not your question tatertots, it's your replies :-)15:10
valecritatertots, raspbian is only 32bit, I wanted a 64 bit OS15:12
tatertotsvalecri: i ask this in part because if you planned to run a apache2/httpd it would be the same apache2/httpd no matter the distro...or if you planned to run a FTP server vsftp would be the same regardless of distro15:13
tatertotsvalecri: ah thank you...so 32/64 bit thing15:13
tatertotsvalecri: does RasPi even have greater than 4GB RAM/memory?15:13
valecrino, 4gb is the maximum15:13
tatertotsvalecri: if you don't have more than 4GB RAM...i wouldn't lose any sleep over 64bit15:13
valecrithe issue is about some apps I would like to use15:14
valecrihowever, I understand unless I get a monitor next to my router to run the rasPI there's no way of getting ubuntu server to work15:14
tatertotsi understand now...Ubuntu repos offer some packages you desire that are NOT offered in Raspbian...that's logical15:14
valecriunless I maybe download the network manager packets on a usb stick and then I install them manually15:15
valecriI've already lost a few hours over something I though wouldn't constitute a problem, so I'll try more radical solutions now15:15
valecrithanks everyone for your help, it has been greatly appreciated15:15
BluesKajvalecri, have you seen this ? https://medium.com/@kavoshex/raspian-added-support-for-64-bit-kernel-6cf27c2b26db15:17
tatertots....maybe...guys that install ubuntu server only to later attempt to add back on the "managers" like network manager and a GUI to the server edition always gave me pause (scratching my head) why didn't you just use the Ubuntu desktop version where these GUI's/Managers are there to aid you by default...but to each their own ...no offense..i hope that didn't sound condescending15:17
fuzekubuntu 19.10 64bit my trackpad randomly stops working. what could cause that?15:17
ioriavalecri,  i'd like , btw, watching a pic of your 'lspci -nnk' if possible15:21
valecriioria, here's the pic https://pasteboard.co/ISZfDdb.jpg15:28
ioriathanx15:29
ioriavalecri,  a rough cut, but ok :þ15:30
legreffierhow about https://linuxize.com/post/how-to-set-dns-nameservers-on-ubuntu-18-04/ ?15:30
legreffier"route" command was deprecated for about a decade, what about "ip r " ?15:31
tatertotslegreffier: that was random..are you having a ubuntu issue or were you thinking DNS would aid mr valecri ?15:32
valecri legreffier, DNS are ok, as they are google/cloudflare public dns combination. With regard to ip r command, it returns what we already know: default via 192.168.0.1 dev wlan0 proto static onlink15:34
=== akemhp_ is now known as akem
nCoV_frenHmm15:37
lotuspsychjecan we help you nCoV_fren ?15:38
tatertotsalso just because a command is "deprecated"...examples include ifconfig for "ip" and nestat for "ss"...rarely do the old commands NOT produce the same output the older guys expect to see when the command is run....making "deprecation" not that big a deal for trouble shooting purposes15:38
fuzedmesg says "PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)"15:39
tatertotsifconfig still shows what one would expect regardless if all the young kids are told to only use "ip" command15:39
lotuspsychje!who | fuze15:39
ubottufuze: As you can see, this is a large channel. If you're speaking to someone in particular, please put their nickname in what you say (use !tab), or else messages get lost and it becomes confusing :)15:39
fuzei'll except help from anybody lol15:40
freakynltatertots: if it's still installed, sure15:40
lotuspsychjefuze: then re-ask your original issue and wait patiently, please dont random details15:40
valecrisorry tatertots and others, I accidentally closed the window. what did I miss?15:40
fuzekubuntu 19.10 touchpad randomly stops working. fixed when i pressed alt+f4 dmesg log: https://termbin.com/cnkx15:40
tatertotsvalecri: you didn't miss a thing15:41
tatertotsfuze: does pressing ALT+F4 again turn off the touchpad?15:42
fuzetatertots: no it turns off randomly15:42
fuzexorg log https://termbin.com/g99p15:42
tatertotsfuze: does pressing ALT+F4 consistently, meaning repeatedly enable the functionality of the touchpad ?15:43
fuzetatertots: not sure I usually reboot, it worked this time15:44
fuzealso it didnt close the window i had open, which is what alt+f4 usually does15:44
ioriavalecri, as a last try we can try do disable cloud-init;  boot with the 'cloud-init=disabled' parameter15:44
waveformvalecri, the fact it works on raspbian, doesn't on ubuntu, and you've not got a complex/unusual setup (barring the fact there's spaces in the SSID) suggest to me either 1) netplan/networkd has some issue with spaces in SSID, or 2) our firmware's out of date and there's some wifi fix in the latest firmware - I'm not aware of anything specific to 2 (wifi did get tested before the 19.10.1 release and we're testing again now for 20.04, with the same15:45
waveformfirmware revision) - but I know we're slightly behind raspbian there15:45
waveformvalecri, when I'm back home I'll try setting up an access point with a space in the SSID and see if I can replicate15:46
valecriok, thanks waveform15:47
valecriioria, how do I boot with that parameter?15:47
ioriavalecri, https://www.dell.com/support/article/it/it/itbsdt1/sln306327/manual-nomodeset-kernel-boot-line-option-for-linux-booting?lang=en15:48
robertparkerxAny rTorrent guides? I'm mainly looking for config examples. I'm looking at the template and not sure if it is complete.15:49
ioriavalecri,  set cloud-init=disabled and not nomodeset, obviuosly15:49
wpkIs there any way to get statistics out of a PPA? Number of downloads etc.?15:51
EriC^wpk: what do you mean, your installed programs from it? or..?16:23
cybertruck2077Feb  3 08:15:01 Desktop CRON[12019]: (root) CMD (/home/username/bin/loadshedding_shutdown)16:33
cybertruck2077Here you can see it ran at 8:15 (I had set it to run at 8:15 this morning16:33
pragmaticenigmacybertruck2077: Can you post the contents of loadshedding_shutdown to paste.ubuntu.com please?16:33
cybertruck2077pragmaticenigma, sure one sec16:33
cybertruck2077pragmaticenigma, https://paste.ubuntu.com/p/cTWm4wKrWP/16:34
cybertruck2077that node -r esm loadshedding.js just returns a single integer16:36
pragmaticenigmacybertruck2077: I'm not familiar with node, however, the $PATH is different on crontab compared to a user. Also your dump files will require a full path to work16:38
legreffiershutdown needs option, it won't do what you expect without it.16:38
ioriacybertruck2077,    /usr/sbin/shutdown16:38
legreffierif you need it to go down when issued, you want "shutdown -h now"16:38
pragmaticenigmacybertruck2077: Also what legreffier stated... shutdown requires parameters16:39
ioriacybertruck2077,  ls   /usr/sbin/shutdown16:39
cybertruck2077Ah OK thank you16:39
cybertruck2077I've appended -h now to the end of shutdown16:40
ioriacybertruck2077,  ls   /usr/sbin/shutdown16:40
cybertruck2077ioria, returns /usr/sbin/shutdown16:40
ioriacybertruck2077, 19.10 ?16:40
pragmaticenigmacybertruck2077: You can also use -k to "test" your shutdown. A wall message will be sent out, but the action will not occur16:41
cybertruck2077ioria, yep!16:41
ioriaok16:41
ioriacybertruck2077, shutdown -h "now"16:41
cybertruck2077pragmaticenigma, that's awesome, thanks!16:41
cybertruck2077ioria, ok, omitting16:41
sorin-mihaiwhere can i address questions about ubuntu 20.04?16:42
lotuspsychjesorin-mihai: #ubuntu+116:42
ioria!ubuntu+116:42
ubottuFocal Fossa is the codename for Ubuntu 20.04 - Support only in #ubuntu+116:42
legreffieralso those command will be deprecated, use : systemctl poweroff16:42
sorin-mihaithanks16:42
cybertruck2077legreffier, OK, modifying now16:42
cybertruck2077still, even with this command, the script does not output the text to loadshedding_log.txt16:43
cybertruck2077which would occur prior to the shutdown attempt16:43
ioriacybertruck2077, give it a full path16:43
cybertruck2077ioria, OK!16:43
cybertruck2077is there a testing parameter for systemctl poweroff too?16:45
cybertruck2077It's pretty handy16:45
legreffieryes : https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/sect-managing_services_with_systemd-power16:46
cybertruck2077legreffier, thank you16:46
EriC^cybertruck2077: i think you need to do cd /home/blablabla && /home/blabla/load_shedding16:49
EriC^or in the file itself give the full path to "loadshedding.js"16:49
EriC^cause your CWD wont be the script's location if you dont CD first16:50
cybertruck2077EriC^, OK, thanks Eric16:50
EriC^no problem16:50
cybertruck2077OK, so it's finnicky about full paths, got it16:52
cybertruck2077still nothing, I wonder if I should put parenthesis around that lsCheck variable content16:56
EriC^cybertruck2077: is it chmod +x ?16:56
cybertruck2077EriC^, let me check16:56
cybertruck2077ls -lat output for the script: -rwxr--r--  116:57
cybertruck2077I'll apply chmod +x to it16:57
EriC^cybertruck2077: what's the exact cron command currently?16:58
cybertruck20770 19 * * * /home/username/bin/loadshedding_shutdown16:59
cybertruck2077testing it again in 1 minute16:59
EriC^cybertruck2077: where is loadshedding.js located?16:59
cybertruck2077EriC^, here's the latest content of loadshedding_shutdown17:00
cybertruck2077https://paste.ubuntu.com/p/vhNC9pczGK/17:00
cybertruck2077Should I maybe put parenthesis around the content of lin 4 lsCheck variable?17:00
EriC^nah not necessary, if you mean quotes17:01
cybertruck2077EriC^, yeah, ah ok17:01
EriC^cybertruck2077: type this in cron, /home/username/bin/loadshedding_shutdown >/tmp/cronlog 2>&117:01
EriC^it should give some output in /tmp/cronlog17:02
cybertruck2077OK17:02
cybertruck2077EriC^, if I want to show that do I just cat /tmp/cronlog?17:05
EriC^yup17:05
cybertruck2077EriC^, OK cool, here's the output17:05
cybertruck2077https://paste.ubuntu.com/p/6YR7GsmFp3/17:05
EriC^seems a node error related to 'esm'17:06
cybertruck2077Yeah!  Thanks for this17:06
EriC^no problem17:07
ioriacybertruck2077,  give the full path to 'node'  too17:11
cybertruck2077ioria, OK!17:11
ioriacybertruck2077,  which node (or type -a node)17:12
cybertruck2077Maybe if I do that then esm won't be an issue as it seems like a parameter after node..17:12
EriC^cybertruck2077: which node version is it?17:15
cybertruck207712.14.117:15
EriC^cybertruck2077: see here about installing esm https://www.npmjs.com/package/esm17:15
cybertruck2077Thank you17:16
cybertruck2077so weird, works perfectly fine if I just execute it from shell normally17:18
cybertruck2077node -r esm loadshedding.js returns integer no problem17:18
ioriacybertruck2077,  i don't use node, are you sure you can run it as root ?17:19
EriC^cybertruck2077: ah, i think as root there's some environment variable that's different, which cron doesnt have, so it finds it17:20
cybertruck2077let me try to sudo it17:20
EriC^cybertruck2077: what does "echo $PATH" give as root? when it works17:20
EriC^or not path, some variable17:21
EriC^cybertruck2077: try "printenv | grep -i node"17:21
cybertruck2077EriC^, weird, I don't get anything back!17:22
EriC^cybertruck2077: can you pastebin "printenv" output?17:23
EriC^cybertruck2077: is anything special in "cat /etc/environment" ?17:23
cybertruck2077OK17:23
cybertruck2077EriC^, output of printenv | grep -i node17:25
cybertruck2077https://paste.ubuntu.com/p/kDwhsGzzqh/17:25
cybertruck2077oh sorry, correction, that's just normal printenv output17:25
cybertruck2077grep -i node produces nothing.17:26
cybertruck2077ah interesting17:26
EriC^cybertruck2077: anything in "set | grep -i node"17:26
cybertruck2077when I run node -r ews loadshedding.js as root it produces the same error - cannot find module 'ews'17:27
EriC^cybertruck2077: ah17:27
EriC^try as the user it's working in "set | grep -i node"17:27
cybertruck2077EriC^, nope nothing in there17:27
cybertruck2077OK17:27
=== Hoffmann is now known as Hoffman
cybertruck2077EriC^, empty, sadly17:28
cybertruck2077maybe I should just "reinstall" this ews module as root17:28
EriC^has to be some user specific variable, if as root (sudo -i) it's not working17:28
EriC^does "sudo -s" then node .....js work?17:29
EriC^cybertruck2077: are you sure you want it to run as root in the first place btw?17:30
cybertruck2077EriC^, is it normally bad practice to run scripts as root?17:31
ioriahe wants shutdown i guess17:31
cybertruck2077wait, sorry I made a type under root, said ews instead of esm17:32
cybertruck2077the command bin# node -r esm loadshedding.js returns the integer fine17:32
cybertruck2077it only is unable to locate esm when executing under cron17:33
EriC^as "sudo -i" right?17:33
EriC^cybertruck2077: ah17:33
EriC^i think i got it17:33
EriC^try17:33
EriC^cybertruck2077: type this in cron, cd /home/username/bin && /home/username/bin/loadshedding_shutdown >/tmp/cronlog 2>&117:34
cybertruck2077EriC^, OK!  When I use sudo -i it throws the Cannot find module 'esm' error17:34
EriC^oh17:34
EriC^so it is some environment variable probably17:34
cybertruck2077EriC^, ok let me try that17:34
EriC^cybertruck2077: the major difference i can think of between sudo -i and sudo -s is sudo -i also sets the $HOME variable17:35
cybertruck2077EriC^, you'd think that 'esm' is just an argument of node17:36
EriC^i'm pretty sure adding in the script "HOME=/home/username/"17:36
EriC^it is, but when the other script is searching for the module, it cant find the file17:37
EriC^this is where it goes kaboom resolveFilename (internal/modules/cjs/loader.js:581:17:37
cybertruck2077Ah OK17:37
EriC^usually the last function it did is at the top going in reverse17:38
cybertruck2077EriC^, I think that HOME=/home/username/ is going to do the trick17:38
EriC^same here, but i dunno how good that is, it might be writing files to your home dir as root, and might break it for your current user to use node i guess17:39
cybertruck2077Oh right, that's likely a permanent change!17:39
EriC^you could always either install npm as root if you want, there's some merits and drawbacks here, https://stackoverflow.com/questions/4938592/how-why-does-npm-recommend-not-running-as-root or you could use your user's cron and add this so you can shutdown from there https://askubuntu.com/questions/168879/shutdown-from-terminal-without-entering-password17:40
EriC^i've never used node much so i cant really give a solid opinion on which way to go17:41
cybertruck2077EriC^, Thanks Eric, think I'm going to rather go the safer route with that shutdown lol17:41
EriC^sounds good17:41
EriC^:D17:41
cybertruck2077EriC^, me neither! lol, it's very slap dash but it gives me the integer! lol17:42
EriC^all good :D17:42
EriC^cybertruck2077: you might want to check it didnt change any ownerships already with "sudo find ~ ! -user $USER"  as your username17:46
cybertruck2077OK17:46
sorta_noobHi. I'm trying to get a touchscreen working in Ubuntu 18.04. It's a NextWindow 1926:0003, and it's pretty old, and apparently was supported in the past through evtouch xinput module. However it appears that evtouch conflicts with xorg used in Ubuntu. Ideas?17:55
lotuspsychjesorta_noob: an alternate idea could be testing unity on 18.04, unity had/has some nice touch support18:00
sorta_nooblotuspsychje: Isn't unity the default on 18.04? I didn't make any significant changes from defaults.18:02
pragmaticenigmasorta_noob: Unity is no longer being developed by Ubuntu or Canonical18:03
lotuspsychjesorta_noob: it isnt no, gnome3 is now default on ubuntu-desktop18:03
DarkchaosIs there a separate development channel or is this channel used together with the mailing list?18:05
leftyfbDarkchaos: this is a support channel run by volunteers18:06
=== fengshaun_ is now known as fengshaun
Darkchaosso I guess you can't guide me how I could get some eyes on https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1838740 or where to look at?18:07
ubottuLaunchpad bug 1838740 in openjdk-lts (Ubuntu Focal) "libjawt.so inconsistency lets JVM crash" [Undecided,Confirmed]18:07
ioriasorta_noob, looks a bit tricky : https://github.com/glorang/nwfermi18:08
pragmaticenigmaDarkchaos: it appears that the package is waiting for an upstream patch to fix18:09
pragmaticenigmaDarkchaos: also, you are correct, the proper place for that issue is in launchpad18:10
Darkchaospragmaticenigma: I'm the one who commented a few hours ago actually (just had this nick registered on freenode already), but I thought I could maybe inspect the buildscript or something, as the issue has to be related to the custom ubuntu patches _or_ the way the package is built18:11
lotuspsychjeDarkchaos: 8 users affected, your bug already got the proper heat too18:12
AurorAWOLJust a quick question. I have several hard drives and when I first installed Ubuntu server I used the raid configuration for 4 of them. How would I see what hdd's are in raid? I don't have mdadm. https://pastebin.com/aKUDsKVE18:13
pragmaticenigmaDarkchaos: that sort of knowledge isn't available here. as I followed up, the conversation is already taking place in the launchpad, where discussion should remain to prevent fragmentation of the discussion.18:13
Darkchaospragmaticenigma: okay so the best thing I can do is wait for doko (the maintainer)?18:13
DarkchaosBecause there are also bugs like https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1826455 that could be closed etc, I guess he is rather busy18:13
ubottuLaunchpad bug 1826455 in openjdk-lts (Ubuntu) "update to openjdk 11.0.3 in 18.04 LTS" [Low,New]18:13
AurorAWOLSorry. I mean what RAID level they are in. I know it says DMRAID lol.18:17
pragmaticenigmaI think you need to install that tool to find out... and if not... I'm not aware of any way to tell after the fact, it's something that I would have documented during install18:18
ioriaAurorAWOL, cat /proc/mdstat   ?18:21
AurorAWOLI think it's under DMRAID ioria, Though I been away for a few years and forgot how to use the --type.18:23
AurorAWOL" sudo dmraid --type" I have to put an argument before the seperator right?18:25
AurorAWOLI guess what I'm trying to do with this https://pastebin.com/aKUDsKVE is move everything out of the RAID and put it on my other hard drives. Just looking for suggestions on the best way to do that.18:34
tatertotscopy/paste from source to destination18:47
tatertotsrsync18:47
tatertotsdrag and drop18:47
tatertotswhich ever is path of least resistance for you to accomplish18:47
tatertotsK.I.S.S18:48
AurorAWOLThis is on Server tatertots18:49
tatertotsbesides lack of a GUI to "drag and drop" ..not sure why the edition matters18:49
tatertotsultimately you're moving things from "source" to "destination"18:50
AurorAWOLCause honestly I forgot how to access the RAID to even see what is on it.18:50
tatertotsprobably just been a while since you've used or administered the system...it'll come back to you over time18:51
tatertotsor do you need assist?18:51
AurorAWOLLike what path I need to navigate to18:51
AurorAWOLYTeah.. about 4 years lol18:51
tatertotsyeah it's been a while...or yeah you need assist?18:52
AurorAWOLBoth18:52
tatertotsare you chatting from the computer right now?18:52
AurorAWOLAll I need to figure out is what path to navigate to18:52
AurorAWOLNo.18:52
AurorAWOLI use Putty18:52
TJ-AurorAWOL: "lsblk" to get an overview18:52
AurorAWOLI did. though the raid doesnt show up there18:53
AurorAWOLSorry.18:53
AurorAWOLIt does.18:53
tatertotseverything is mounted18:53
TJ-AurorAWOL: if it's software RAID then most likely "cat /proc/mdstat"18:53
tatertotsand has a mount point18:53
TJ-AurorAWOL: also, check with "sudo blkid" which may show clues in the device IDs as to where an unassembled array is18:54
AurorAWOLThats what I am trying to figure out tatertots . How I figure out the mount point18:54
AurorAWOLThank you TJ-18:54
tatertotsTJ will probably help you finding mount points and all that18:54
tatertotsI'm gonna sip my tea18:54
AurorAWOLLol.18:55
AurorAWOLYour right tatertots... its coming back to me18:55
tatertotsAurorAWOL: give him a second to figure out you only were shown how to "list block devices" and it may not have revealed mount points18:56
AurorAWOLAnd thank you TJ- I think I got it. I didn't realize the mountpoint was just /18:56
cybertruck2077guys what's midnight when doing date +%H?18:56
cybertruck20770?18:56
TJ-cybertruck2077: " date -d "00:00" +%H "18:57
cybertruck2077TJ-, sweet thanks18:57
cybertruck2077Excellent, 00, thank you18:58
OneM_IndustriesSo, question.19:00
OneM_IndustriesI know ubuntu 14.04 is no longer supported, but would attempting to upgrade from it be?19:00
OneM_IndustriesBecause I'm hitting a bit of a snag attempting to do such.19:00
EriC^OneM_Industries: yeah19:00
EriC^OneM_Industries: pastebin any errors you get19:01
TJ-OneM_Industries: you need to point 14.04 to old-release.ubuntu.com (sources.list) initially ... I'm guessing that's the snag19:01
EriC^!eolupgrade | did you do this OneM_Industries19:01
ubottudid you do this OneM_Industries: End-Of-Life is when security updates and support for an Ubuntu release stop. Make sure to update Ubuntu before it goes EOL so you get updates promptly for newly-discovered security vulnerabilities. See https://help.ubuntu.com/community/EOL and https://wiki.ubuntu.com/Releases for more info. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades19:01
TJ-errr, old-releases.ubuntu.com even !19:01
OneM_Industrieshttps://pastebin.com/cKE1ksqC19:01
OneM_IndustriesI'm running do-release-upgrade and getting...that.19:02
EriC^OneM_Industries: it seems like python 3.5 is missing19:02
OneM_IndustriesI have python 3.6 installed.19:02
EriC^yourself or via official repo?19:03
OneM_IndustriesMyself. As far as I know, 3.6 on 14.04 is not officially supported.19:03
EriC^OneM_Industries: purge and disable all ppas, upgrade the system via sudo apt-get update && sudo apt-get dist-upgrade (after changing sources.list as mentioned) try to install python 3.5 via official repos and try to upgrade again19:04
EriC^!ppapurge | OneM_Industries use this for the ppa purging19:04
ubottuOneM_Industries use this for the ppa purging: To disable a PPA from your sources and revert your packages back to default Ubuntu packages, install ppa-purge and use the command: « sudo ppa-purge ppa:<repository-name>/<subdirectory> » – For more information, see http://www.webupd8.org/2009/12/remove-ppa-repositories-via-command.html19:04
OneM_IndustriesAny way to back up the ppas beforehand?19:05
EriC^sure, "tail -v -n+1 /etc/apt/sources.list /etc/apt/sources.list.d/* > /path/to/backup"19:06
EriC^that should give a list of the ppa's and all sources19:06
EriC^though if you want only enabled ones you might want to use *.list instead of just * and look out for "#" in the file before the url that indicates it's commented out19:07
OneM_IndustriesOk.19:08
OneM_IndustriesSo, something like sudo ppa-purge ppa:* ?19:11
OneM_IndustriesNVM, figured it out.19:13
DSdavidDSI am using gparted to create a new partition table and format a usb as ext4. For some reason, the usb gets mounted as readonly (other than roo). Does anyone know why?19:22
EriC^DSdavidDS: if you mount it from the terminal does it mention anything?19:24
OneM_IndustriesEriC^: Is there a way to manually remove a PPA? PPA-Purge is failing.19:25
DSdavidDSEriC^: mounting from terminal is fine. I can copy files to it using root19:25
EriC^OneM_Industries: you could try using this, the ppa has to be enabled first before purging it, https://github.com/ericj112/ppa-tool19:26
OneM_IndustriesOk.19:27
TJ-DSdavidDS: by default an ext4 FS root directory will be owned by root; You'd need to set specific owner:group + mode-flags to enable other user's write access19:27
EriC^DSdavidDS: maybe there's some option in the filemanager or so, try using the program "Disks" to see any settings for the partition19:27
TJ-DSdavidDS: even when relying on udisks to mount such file-systems those ownerships hold true (usually mounted to /media/$USER/$FS_LABEL )19:28
EriC^DSdavidDS: when you say you cant copy files, do you mean via the filemanager?19:28
OneM_IndustriesNVM, had syntax wrong.19:28
vltHello. Is there an option (or alternative) for rsync that will show a more realistic progress bar when copying to a USB drive? Something that won't tell me afer 3 seconds it's almost done with a 2 GB file just because it stuffed it into RAM?19:33
scmguruvlt: The measurement of time left for an operation like that is an estimate. That's an open computer science problem.19:36
sarnoldvlt: if you're just moving a single file, dd if=... of=... oflags=sync status=progress   should do the trick19:37
TJ-vlt: something like "blockdev --flushbufs /dev/sdX" ?19:38
sarnoldman there's NO way to search rsync manpage for 'sync'. that's just terrible :)19:38
sarnoldthere's a --blocking-io option that appears to be about network traffic rather than disk io :(19:39
OneM_IndustriesEriC^: So, replace this: https://pastebin.com/Gw1SCjzw with this: https://pastebin.com/kQjBTqks ?19:39
OneM_IndustriesOr just go through and replace the urls in the first with http://old-releases.ubuntu.com/ubuntu/ ?19:42
EriC^OneM_Industries: go through first one19:47
OneM_IndustriesGot it.19:47
EriC^you can use sed if you want to do it easily19:47
OneM_IndustriesJust wanted to make sure.19:47
EriC^https://gist.github.com/anthonywu/200919019:48
OneM_IndustriesGot it.19:48
OneM_Industries"W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/trusty-backports/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.88.153 80]"19:49
OneM_IndustriesDid that for every single line.19:49
OneM_Industries(When running apt update)19:50
wpkEriC^: e.g. downloads/day20:02
TJ-sarnold: re rsync searchm yes there is /[^r]sync20:02
EriC^wpk: sorry did you message earlier?20:03
cgidoes anyone have a pointer to how to install a compiled nginx onto a ubuntu system? Creating users/services etc? Or where I can find that code?20:03
EriC^wpk: my scrollback doesnt go far enough and i dont remember your initial query20:03
vltsarnold, TJ-, scmguru: Thanks.20:03
sarnoldcgi: what's wrong with the nginx in the repo?20:03
sarnoldTJ-: /me hides in shame20:04
OneM_IndustriesEriC^: I'm guessing that the trusty repos have been pulled from old-releases.ubuntu?20:04
cgisarnold, I need quic support20:04
sarnoldcgi: aha, makes sense, thanks20:05
TJ-cgi: could you install it in a container and route traffic to it to avoid upsetting the primary install?20:05
EriC^OneM_Industries: oh, actually trusty is still in archive.ubuntu.com, derp20:06
OneM_IndustriesOh.20:06
OneM_IndustriesWell, that would do it.20:06
sarnoldESM installs20:06
AurorAWOLAnyone else have this issue with RAM? https://pasteboard.co/IT14CeV.jpg Only true fix I know of is rediculous.20:08
OneM_IndustriesOk, reverted.20:09
OneM_IndustriesEriC^: Ok, PPAs purged, sources.list set up.20:09
sarnoldAurorAWOL: did a large application just quit?20:09
OneM_IndustriesAnything else?20:09
EriC^OneM_Industries: sudo apt-get update && sudo apt-get dist-upgrade20:09
OneM_IndustriesBesides that.20:10
sarnoldAurorAWOL: on focal I've seen surprising and unexpected swap use https://bugs.launchpad.net/ubuntu/+source/linux/+bug/186135920:10
ubottuLaunchpad bug 1861359 in linux (Ubuntu) "swap storms kills interactive use" [High,Confirmed]20:10
EriC^then install python3.5, also check20:10
sarnoldAurorAWOL: but it's entirely possible that you've got unsurprising and expected swap use20:10
AurorAWOLIt doesn't display the Ram properly. I have 64GB but it only shows that I have 6 after using lsof20:10
EriC^OneM_Industries: then install python3.5, also check /etc/update-manager/release-upgrades and see what "Prompt" is set to20:11
EriC^OneM_Industries: you want to jump to 16.04 right?20:11
OneM_IndustriesYes.20:11
EriC^you should set it to Prompt=lts if not already20:11
OneM_IndustriesThat's what it's set to.20:11
EriC^all good20:11
OneM_IndustriesSo, basically just follow this?20:12
OneM_Industrieshttps://askubuntu.com/questions/682869/how-do-i-install-a-different-python-version-using-apt-get20:12
DSdavidDSEriC^ and TJ- I just chmodded the /media/user/USB and all is find now! thanks!20:17
JonJI am trying to get a physical volume added to a volume group, but the block sizes are different. After formatting the drive with the command mkfs -t ext4 -b 4096 /dev/sda1 the block size reported by blockdev is still 2048. I've also tried running partprobe after the format command to rescan partitions.20:18
EriC^great DSdavidDS, no problem20:18
TJ-JonJ: mkfs and LVM PVs are unrelated, block-size wise20:18
DSdavidDSand thanks for the help last week EriC^. Turns out I needed this preseeding rule to ensure my installer didnt get messed up "d-i grub-installer/bootdev  string /dev/sda"20:18
EriC^ah DSdavidDS cool, thanks for reporting back on it20:19
EriC^OneM_Industries: no you want to install the python3.5 that's in the repos, sudo apt-get install python3.520:20
TJ-JonJ: what version of LVM are you working with ("lvm version") ?20:23
JonJTJ-: 2.03.02(2)20:24
TJ-JonJ: I know generally LVM doesn't support different (logical) block sizes on the block devices underlying PVs - and was enforced strictly with 2.03.0620:25
TJ-JonJ: what is the existing and new device physical/logical sector sizes?20:25
OneM_IndustriesEriC^: Alright.20:25
OneM_IndustriesInstalled python 3.5, errored out exactly the same.20:27
OneM_Industrieshttps://pastebin.com/9ghuDW2q20:27
ioriaOneM_Industries, what are you upgrading ?20:28
OneM_Industries14.04 -> 16.04.20:28
ioriaOneM_Industries, ah20:28
JonJTJ-: Is that the information from blockdev you are requesting?20:28
OneM_IndustriesAnd yes, I know 14.04 is EOL, that's why I'm attempting to update it.20:29
ioriaOneM_Industries, how you you have installed 3.5 on trusty ?20:29
ioriaOneM_Industries, afaik there is no 3.5 in trusty20:30
=== ben_r_ is now known as ben_r
OneM_Industriesioria: sudo apt-get install python3.5.20:31
TJ-JonJ: e.g. "sudo blockdev --getpbsz --getss /dev/sda "20:31
OneM_Industriesioria: Also, it's amusing that the version of ubuntu-release-upgrader that's on 14.04 requires a python version not normally found on 14.04.20:32
ioriaOneM_Industries,  yeah   ; apt-cache policy python3 | nc termbin.com 999920:33
OneM_Industrieshttps://termbin.com/nphz20:33
oerheksOneM_Industries, interesting; you started with python 3.6 installed, and upgrade did not work.20:33
OneM_IndustriesYep.20:33
JonJTJ-: Ah, okay. So it reports 512 512 for the drive I'm trying to add, 4096 512 for the existing drive20:34
oerheksso, reverse that?20:34
OneM_Industriesioria: Looks like I have both 3.4 and 3.5, going to purge 3.4.20:34
ioriaOneM_Industries,  wait20:34
OneM_Industriesoerheks: Might try that.20:34
ioriaOneM_Industries,  apt-cache policy python3.5 | nc termbin.com 999920:34
TJ-JonJ: right, and those are physical, logical ... and presumably LVM doesn't like the underlying physical difference enve though both devices present as 512 logical20:35
OneM_Industrieshttps://termbin.com/8eul20:35
TJ-JonJ: that is kind of weird... is there some error report, or report in the system log, when it fails (have you added verbose output flags) ?20:35
ioriaOneM_Industries,  sudo apt install --reinstall python3-pkg-resources20:36
EriC^OneM_Industries: i think some symlinks are screwed20:37
EriC^it seems to want to look in /usr/local/lib , why is it even using /usr/local in the first place20:37
OneM_IndustriesEriC^: Sounds about right.20:37
EriC^hmm actually i have those dist-packages stuff as well there20:38
JonJTJ-: When adding the physical drive to the vg with vgextend --verbose I get: Devices have inconsistent logical block sizes (4096 and 2048). Dmesg makes one complaint about /dev/sde whichn is unable to read superblock20:38
EriC^but yeah it seems to want to run python3.4, so maybe a symlink needs adjusting20:38
ioriaOneM_Industries, python3-pkg-resources has been reinstalled ?20:39
EriC^OneM_Industries: https://unix.stackexchange.com/questions/410579/change-the-python3-default-version-in-ubuntu20:39
OneM_IndustriesYes.20:39
ioriaOneM_Industries, pwd20:39
TJ-JonJ: erk, that is weird, the error appears to lie compared to what blockdev reported... are you sure you're targeting the same drives as vgextend is (not that I disbelieve, but want to be 100% sure since this looks like a bug - where does it get 2048 from?) ?20:39
OneM_IndustriesPWD?20:39
OneM_Industries"/"20:39
ioriaOneM_Industries, pwd20:39
ioriaOneM_Industries, change to your home20:40
OneM_IndustriesDone.20:40
ioriaOneM_Industries, do-release-upgrade20:40
OneM_IndustriesSame error.20:40
OneM_IndustriesTrying what EriC^ suggested now.20:40
EriC^OneM_Industries: one sec20:41
OneM_IndustriesOh, ok.20:41
EriC^OneM_Industries: what does "python -V" in the terminal give?20:41
JonJTJ-: Sorry, the 2048 comes from the partition on /dev/sda1 which reports something other than /dev/sda. Which is why I was trying to format it to use 4096. When I run your command "blockdev --getpbsz --getss /dev/sda1" I get 512 51220:41
JonJTJ-: At least that's where I believe the 2048 comes from, as it's the only place where I can see it20:42
EriC^OneM_Industries: can you pastebin "ls -l /usr/bin/python*" ? i can compare to mine20:42
EriC^that thread post seems harmful so dont follow it OneM_Industries20:42
OneM_Industriespython -V Python 2.7.620:43
TJ-JonJ: thing is, in this case, the block size that is considered is that of the physical device, nothing else. Even with partitions that should be the same, so this 2048 is VERY wrong and weird20:43
OneM_IndustriesSodding...20:43
EriC^OneM_Industries: aha and "python3 -V" ?20:43
EriC^mine says 3.5.220:43
OneM_IndustriesPython 3.6.320:43
TJ-JonJ: can you show me the exact vgextend command you're issuing (I want to try to replicate here)20:43
JonJTJ-: vgextend --verbose data /dev/sda120:44
TJ-JonJ: and you've previously put a file-system on /dev/sda1 ?20:44
aroonihow do i disable atop logging permanently20:44
JonJTJ-: Yes, it's an ext4 system. Well, now it's been formatted about a 100 times since I started :P20:45
OneM_IndustriesEriC^: https://termbin.com/pb3g20:45
OneM_IndustriesThat's the ls -l output.20:45
TJ-JonJ: I'm getting confused because earlier you said "...After formatting the drive with the command mkfs -t ext4 -b 4096 /dev/sda1 the block size reported by blockdev is still 2048" but now you say it is 51220:45
EriC^OneM_Industries: this one's off with respect to mine /usr/bin/python3 -> python3.420:46
JonJTJ-: blockdev --report says that "BSZ" is 204820:46
EriC^OneM_Industries: mine is /usr/bin/python3 -> python3.520:46
JonJTJ-: So I may have misinterpreted some output here20:46
TJ-JonJ: firstly, forget file-system formatting sda1 if it is to become a PV. Secondly, have you done "pvcreate /dev/sda1" before the "vgextend" ?20:46
OneM_IndustriesOk.20:47
OneM_IndustriesEriC^: There a way to fix that?20:47
sorta_noobHi. I'm trying to get a touchscreen working in Ubuntu 18.04 (basically fresh install, all defaults). It's a NextWindow 1926:0003, and it's pretty old, and apparently was supported in the past through evtouch xinput module. However it appears that evtouch conflicts with xorg used in Ubuntu. Ideas?20:47
AurorAWOLI know this is no big deal but does anyone else have this problem? https://pasteboard.co/IT1lpKw.jpg20:48
JonJTJ-: I have not, the guide didn't specify that for the new drive, so that was my fault. I just did, it finished successfully, but vgextend still fails with the same error.20:49
TJ-JonJ: hmmm... well, this is a poser!20:49
TJ-JonJ: what does "sudo blockdev --getbsz /dev/sda" report ?20:50
JonJTJ-: 409620:50
EriC^OneM_Industries: try 'sudo ln -s /usr/bin/python3.5 /usr/bin/python3' and 'sudo ln -s /usr/bin/python3.5m /usr/bin/python3m'20:50
AurorAWOLOh. Sorry. Wrong chat20:50
EriC^OneM_Industries: also, one sec20:51
TJ-JonJ: and how about "sudo blockdev --getbsz /dev/sda /dev/sda1 "20:51
OneM_IndustriesEriC^: ln: failed to create symbolic link ‘/usr/bin/python3’: File exists20:51
JonJTJ-: 4096 204820:51
OneM_IndustriesRemove the symbolic link first?20:51
EriC^OneM_Industries: try with ln -sf20:51
OneM_IndustriesDone.20:52
OneM_IndustriesHey, new error!20:52
EriC^OneM_Industries: there's more ln -sf to do 1 sec20:52
OneM_IndustriesOk.20:53
TJ-JonJ: aha light at end of tunnel. This BSZ being reported is due to internal kernel/file-system logic. I think what is going on here is due to the file-system formatting something has got a hook into sda1 and isn't releasing it. I *suspect* you can solve this with a reboot - before doing that, just to be sure, do "sudo wipefs --all /dev/sda1" (this will wipe all metadata signatures from that block20:53
TJ-device) then redo "sudo pvcreate /dev/sda1" then do the reboot. I think after that "vgextend" will be OK20:53
EriC^OneM_Industries: sudo ln -sf /usr/bin/python3.5m-config /usr/bin/python3m-config   and sudo ln -sf /usr/bin/python3.5-config /usr/bin/python3-config20:54
TJ-JonJ: alternatively, if sda is removable, remove and reattach :)20:54
JonJTJ-: Alright, I'll try that and have a go at it, thanks for your help :)20:55
OneM_IndustriesEriC^: https://pastebin.com/WzJ71m5i20:58
EriC^OneM_Industries: try sudo apt-get install --reinstall python3-apt21:00
OneM_IndustriesIt installed, same error.21:01
EriC^OneM_Industries: i feel we almost have it21:05
OneM_IndustriesSame.21:05
EriC^OneM_Industries: try "sudo update-alternatives --set python3 /usr/bin/python3.5"21:05
OneM_Industriesupdate-alternatives: error: no alternatives for python321:06
OneM_IndustriesOh, hang on.21:06
OneM_IndustriesI think I see what's going on.21:06
EriC^OneM_Industries: alright21:07
OneM_IndustriesPython3 is defaulting to the 3.6 instance I installed manually earlier, but apt etc are installing for the python 3.5 I installed using apt.21:07
OneM_IndustriesIf that makes any sense at all.21:07
EriC^OneM_Industries: but we switched the symlinks to python3.5 for python, why do you think it's still using the 3.621:08
OneM_Industriespython3 -V is returning the 3.6 instance.21:09
OneM_IndustriesI'm probably just wrong about what's going on.21:09
EriC^OneM_Industries: nah we have to fix that, good catch on the python321:10
EriC^OneM_Industries: can you pastebin "ls -l /usr/bin/python*" again and also "ls -l /usr/lib/python3/dist-packages/apt_pkg*" ?21:10
OneM_IndustriesSure, one sec.21:11
OneM_Industrieshttps://termbin.com/evlz https://termbin.com/ei8j21:12
EriC^OneM_Industries: i think path is set differently, what's "which python3" give?21:13
EriC^OneM_Industries: for the 2nd paste, i have apt_pkg.cpython-35m-x86_64-linux-gnu.so instead21:14
OneM_Industries /usr/local/bin/python321:14
EriC^OneM_Industries: aha, what about "echo $PATH"21:14
OneM_Industries /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games21:15
EriC^OneM_Industries: odd, it says for me it got that apt_pkg file from python3-apt , but we already reinstalled it and there's no 35m file there like mine21:15
OneM_IndustriesThis is bizzare.21:16
EriC^OneM_Industries: try to rename the file maybe? sudo mv /usr/lib/python3/dist-packages/apt_pkg.cpython-34m-x86_64-linux-gnu.so{,.backup}21:16
EriC^then try sudo apt-get install --reinstall python3-apt21:16
OneM_IndustriesReinstalling now.21:17
OneM_IndustriesAlso, thank you so much for the help.21:17
EriC^OneM_Industries: also remove /usr/local/python3 so that it uses the /usr/bin/python3 one instead21:17
EriC^sure no problem21:18
OneM_IndustriesOk.21:18
imihi, is there anything I can do to make this bug fixed before 20.04 gets released? https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/180456821:19
ubottuLaunchpad bug 1804568 in mutter (Ubuntu) "click position is flipped to cursor position when in tent mode" [Undecided,Confirmed]21:19
imiactually it's a regression since 17.10 wasn't affected. every release sine is affected21:19
imi*since21:19
EriC^OneM_Industries: any luck on that apt_pkg file?21:19
WallyProvide a fix? :)21:19
OneM_IndustriesEriC^: It's supposedly installed, let me check the version.21:20
OneM_IndustriesStill 34m.21:21
EriC^another 34 or just the 34m.backup?21:21
OneM_IndustriesAnother.21:21
EriC^i'm thinking it must decide which to install from somewhere else we missed, some alternatives magic maybe :D21:22
fooIs there a way for ubuntu to read HFS? Even read only would be ok21:22
OneM_IndustriesYeah.21:22
EriC^let me grab that initial thread about the alternatives21:22
OneM_IndustriesOk.21:22
OneM_IndustriesRemove /usr/local/bin/python3?21:22
EriC^OneM_Industries: yeah21:24
sarnoldfoo: modprobe hfs; mount -thfs /dev/whatever /mnt/whatever    ?21:24
OneM_IndustriesIt's gone.21:24
EriC^OneM_Industries: "apt-cache policy python3.5-apt" gives installed?21:25
OneM_IndustriesN: Unable to locate package python3.5-apt21:25
EriC^nevermind21:26
EriC^OneM_Industries: try this "sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.5 1"21:27
EriC^then "sudo update-alternatives --config python3"21:27
OneM_IndustriesOk, done.21:28
EriC^OneM_Industries: hmm21:28
EriC^maybe sudo apt-get install --reinstall python3-apt21:29
EriC^OneM_Industries: i'm going to tinker in the package's post-install stuff, maybe that's where it makes its decision on which version to put21:30
OneM_IndustriesOk.21:30
EriC^OneM_Industries: hmm, for me it seems that it's in the list of files it just extracts21:32
OneM_IndustriesWeird.21:32
EriC^grep apt_pkg /var/lib/dpkg/info/python3-apt.list shows it there for me21:32
OneM_IndustriesBTW, python3 is still pointed at /usr/local, how was I supposed to fix that again?21:32
EriC^OneM_Industries: it shouldnt anymore after deleting /usr/local/python321:33
EriC^try python3 -V to confirm21:33
EriC^also in case we missed it also /usr/local/bin/python321:34
EriC^(needs to be removed)21:34
OneM_Industriesbash: /usr/local/bin/python3: No such file or directory21:34
EriC^aha21:35
EriC^what's the grep apt_pkg give for you?21:35
EriC^34m?21:35
OneM_Industries /usr/lib/python3/dist-packages/apt_pkg.cpython-34m-x86_64-linux-gnu.so21:35
EriC^might be a trusty vs xenial difference or something, cause im on xenial??21:36
EriC^has to be i guess21:36
EriC^!info python3-apt trusty21:36
EriC^!info python3-apt xenial21:36
ubottupython3-apt (source: python-apt): Python 3 interface to libapt-pkg. In component main, is standard. Version 0.9.3.5ubuntu3 (trusty), package size 136 kB, installed size 645 kB21:36
ubottupython3-apt (source: python-apt): Python 3 interface to libapt-pkg. In component main, is standard. Version 1.1.0~beta1ubuntu0.16.04.8 (xenial), package size 141 kB, installed size 640 kB21:36
EriC^OneM_Industries: im starting to think maybe python3.4 is standard on trusty not 3.5?21:37
EriC^1 sec21:38
OneM_IndustriesCorrect.21:38
OneM_IndustriesI did mention that.21:38
EriC^hmm but the initial error was "python3.5 or later is required"21:38
OneM_IndustriesWhich is why it's odd that the upgrader requires a version of python not available for the OS it's supposed to be able to upgrade.21:39
=== Hoffman is now known as hoffman
EriC^hmm, i noticed earlier that it said xenial in the upgrader pastes, thought it kind of odd but brushed it off as maybe it's the version it's upgrading to21:40
EriC^i wonder if it has some stray xenial package, seems kind far fetched though21:41
EriC^let me see if that's just standard21:41
EriC^yeah it seems standard21:41
JonJTJ-: Thanks for your help. Had to format it again after a reboot, but now everything works :)21:44
EriC^OneM_Industries: new possiblity, try "sudo cp /usr/lib/python3/dist-packages/apt_pkg.cpython-34m-x86_64-linux-gnu.so /usr/lib/python3/dist-packages/apt_pkg.so"21:44
TJ-JonJ: shouldn't ever need to 'format' a blockdev that is being made into a PV for LVM21:44
JonJTJ-: Maybe not, but the logical block size didn't change until I changed it with mkfs command21:45
TJ-JonJ: if wipefs fully removed the file-system metadata, it should have reported the underlying logical, or else the default Linux pagesize (4096)21:46
TJ-JonJ: "it" being "blockdev --getbsz" should have reported 409621:47
EriC^OneM_Industries: i think that might work, seems to have for someone in a thread21:48
JonJTJ-: I performed your command as you typed it with wipefs, rebooted. After reboot blockdev still reported 2048, and pvcreate and vgextend still failed. I removed the partition, re-initialized the partition table, and formatted the drive with mkfs and then the blockdev reported 4096 and the subsequent commands worked.21:48
TJ-JonJ: I'd suspect the re-partitioning was the fix and the mkfs was likely unnecessary22:01
TJ-JonJ: but, glad you got it solved22:01
OneM_IndustriesEriC^: OMG, it's actually doing something!22:04
EriC^OneM_Industries: great!22:04
OneM_IndustriesI'll keep you posted.22:05
EriC^alright22:05
OneM_IndustriesEriC^: Go for it anyway? https://pastebin.com/hs83r9d022:07
EriC^OneM_Industries: yup22:08
OneM_IndustriesAlright, here goes nothing./22:08
robertparkerxI'm having problems with rtorrent. I created a service and started it with systemctl start rtorrent but I recieved this "rtorrent.service: Changing to the requested working directory failed: Permission denied"22:18
robertparkerx"rtorrent.service: Failed at step CHDIR spawning /usr/bin/screen: Permission denied"22:18
sarnoldroyal_screwup21: what directory did you select? what permissions are on that directory and all parent directories? what user did you select for the rtorrent service?22:20
royal_screwup21?22:21
sarnoldroyal_screwup21: sigh. tab-misfire. :(22:22
sarnoldrobertparkerx: what directory did you select? what permissions are on that directory and all parent directories? what user did you select for the rtorrent service?22:22
robertparkerx./srv/torrent I think22:23
robertparkerxls -la shows rtorrent:rtorrent22:23
sarnoldand permissions?22:24
robertparkerx77522:25
robertparkerxI adduser --disabled-password rtorrent but how do I start rtorrent with that user22:26
EriC^OneM_Industries: im off to bed, let me know how it goes, gl22:35
ash_worksidoes anyone here use kpcli (I guess standind for keepass-cli) or have a preference for a different pw manager?22:41
ash_worksidifferent console* pw manager22:41
robertparkerxI su rtorrent and tried to start but I got the same error22:46
cgiis there an easier way to create deb files today? Something that is easier than the old methods?22:52
sarnoldcgi: I've heard good things about https://fpm.readthedocs.io/en/latest/22:52
sarnoldcgi: you may also like to investigate putting together a snap, instead, depending upon what you intend to do with it22:53
cgisarnold, looks like a dead project?22:53
cgifpm - was last updated in 2019 jan?22:53
cgimy bad - 12 days ago - still active22:54
robertparkerxsarnold https://medium.com/@typhon0/install-rtorrent-with-flood-on-ubuntu-server-17-04-3753555a8a62 this is what I was following22:54
sarnoldrobertparkerx: I suggest a pastebin of ls -ld /srv /srv/torrent /srv/torrent/downloads /srv/torrent/.session /home /home/rtorrent22:57
sarnoldI've got to run, back in an hour or osmething22:57
cgihow do i find the snapcraft.yaml for nginx latest stable version? Can't seem to get it using google22:57
cgisarnold, thanks - those two pointers look useful22:57
robertparkerxsarnold https://share.getcloudapp.com/eDu9dqNj22:57
cgiare thre performance implications of using snap vs .deb files?23:02
Wally.deb files don't run in containers, snap on the other hand is a container23:02
WallySo probably not, it's just sandboxing things23:03
cgiWally, so containers dont cause slowdowns?23:06
WallyThere can be a small performance hit I suppose23:06
harlowjaHi, I am trying to use virtualenv on Ubuntu 16.04 and the setuptools version it installs (45.0) doesn't seem to support python2.23:30
harlowjaWas there a fix for ubuntu 16.04 for python-virtualenv for this?23:31
BabixzFootball31Hey guys, I tried installing xfce using the comnand:23:37
BabixzFootball31sudo apt install xfce423:38
BabixzFootball31but after it finished gnome was installed instead23:38
Anarchicharlowja, try install venv using pip23:39
oerheksunlikely, change DE to xfce at the login page23:39
BabixzFootball31xfce waa also installes but gnome is the default, is there anyway to only install xfce23:39
oerheksBabixzFootball31, not from apt, you can from iso, just wipe and reinstall23:40
Anarchicharlowja, installing python modules from distro repo can get messy23:40
harlowjaAnarchic, ya, that seems to work, but I somewhat would have thought that the python-virtualenv debian package would of gotten fixed23:40
harlowjaAnarchic, oh I agree, ha23:40
harlowjaJust would of thought something would of gotten patched23:40
oerheksi would have used spt install xfce4 xfce4-goodies xfce4-pulseaudio-plugin synaptic --no-install-recommends23:42
parrotloverany guides to hosting a PPA server for a custom install with packages that are proprietary but I intend to maintain? or maybe a PPA I can use so I don't have to host one?23:52
parrotloverI'm developing kernel modules for new hardware I am going to be selling but it's proprietary and the mainline kernel won't have the drivers23:52
parrotloverI have already learned how to make proper deb packages23:53
parrotlovernow I need to host them and be able to push new versions so customers can use the hardware we are selling23:53
parrotloverit's proprietary and closed source so being in official repos is probably out of the question23:54
oerheksif you don't want to host it on launchpad, your question is beyond the scope of this channel23:54
parrotloverwell do I have to provide source to host on launchpad?23:54
parrotloverThe drivers contain the information needed to reproduce the hardware design almost completely and would allow competition to become a threat when I currently have none23:55
oerheksthere are ways to make that ppa private..23:56
parrotloveryeah I was just wondering if there is a documented link someone can provide so I don't have to spend days trying to navigate the docs23:56
parrotloverlike a wiki article or a blog post guide23:57

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