[00:56] <DSdavidDS> Hello again. Anyone here have experience preseeding Ubuntu for autoinstallation?
[00:58] <zim_hacker> Does anyone know how I can read from and write to a serial device without running into a 'resource is busy' error
[00:58] <zim_hacker> ?
[00:59] <DSdavidDS> what are you using to talk to the serial device?
[01:00] <DSdavidDS> zim_hacker
[01:00] <zim_hacker> DSdavidDS: I am connected via usb and would like to see the messages I write to the device from a python program
[01:01] <DSdavidDS> It has to do with how gracefully you end the serial connection on your ubuntu PC
[01:02] <DSdavidDS> I am assuming you are using something like 'screen'
[01:02] <DSdavidDS> I prefer minicom because it prompts you to close the communication completely when exiting
[01:02] <zim_hacker> DSdavidDS: yes, I was attempting to do it using screen
[01:03] <DSdavidDS> if you dont reset the connection, it can leave the communication completely locked
[01:03] <DSdavidDS> not sure what the right way to do it with screen is. I like minicom.
[01:03] <DSdavidDS> can I clarify, are you trying to run screen from python?
[01:03] <DarwinElf> on 18.04.3 with a Gigabyte Z170XP-SLI, my onboard sound (Intel) no longer works... I need this to be fixed!
[01:04] <zim_hacker> DSdavidDS: interesting, that could explain why it always tells me the resource is busy after establishing a connection (even after i quit)
[01:04] <zim_hacker> DSdavidDS: I am running screen through terminal
[01:04] <DSdavidDS> okay
[01:04] <DSdavidDS> 3 options:
[01:04] <DSdavidDS> 1. dont exit screen, 2. exit screen properly, 3. try minicom :]
[01:06] <ph88> hello
[01:06] <ph88> i used to get an option during installation to do disk encryption .. i no longer see it
[01:06] <ph88> how can i encrypt the disk ?
[01:07] <zim_hacker> DSdavidDS: So essentially if I do use screen, It HAS to be terminated before I can write to the device?
[01:07] <zim_hacker> DSdavidDS: thanks, I'll take a look at minicom
[01:08] <DSdavidDS> off the top of my head:
[01:08] <DSdavidDS> sudo minicom -D /dev/tty????
[01:08] <DSdavidDS> and ctrl+a --> q --> enter to exit
[01:09] <DSdavidDS> ctrl+a --> z --> q --> exit
[01:09] <DSdavidDS> and yes. Serial can only have one communication at a time
[01:10] <DSdavidDS> unless you have some serial manager that takes care of managing serial traffic
[01:21] <hoffman> hey, what partition type should I select in fdisk for vfat?
[01:34] <whodat> I had an encrypted Ubuntu install on an external drive, and I forgot the password. It's the default installer option to encrypt (cryptsetup). I tried and tried and can't remember it. How would I go about trying to crack it? I wouldn't have used a strong password. How long should that take to crack on desktop hardware?
[01:34] <whodat> and how would I go about doing it?
[01:35] <[itchyjunk]> Hi, I am trying to add something to my path. not sure how to do it. ghci is in /opt/ghc/bin and i want ghci added
[01:35] <EdFletcherT137> you have only one option left: brute force. it will take awhile.
[01:35] <whodat> EdFletcherT137: that's what I want to do. How many hours do you reckon for a 10-character password?
[01:35] <whodat> one issue is the 60 second break that cryptsetup forces on you if you fail to enter the correct password 3 times in a row
[01:36] <EdFletcherT137> no idea, but given the datum you just mentioned you could do a quick calc
[01:37] <EdFletcherT137> *rough calc, rather
[01:37] <tomreyn> 10 characters? that's not enough, so it might actually be possible to crack, especially if you know which characters classes were (not) used. It will probably still take days.
[01:39] <whodat> there's days of creative work on it so I don't mind. Any guides on what to do?
[01:39] <whodat> primarily, bypassing that 60 second delay. That would just kill any brute force attempts.
[01:41] <EdFletcherT137> hmmm not even sure you can, but you're definitely right that you'll need to
[01:41] <tomreyn> you'd dump the header and attack it directly.
[01:41] <tomreyn> search the web, i think this outside of ubuntu support.
[01:41] <EdFletcherT137> oh yeah, excellent idea
[01:42] <whodat> OK, thx
[01:42] <tomreyn> some articles by both sides of the spectrum are easy to find. search terms: LUKS, forensics, brute force, crack
[01:46] <whodat> tomreyn, thanks. while i'm on the subject, what's the easiest way to make an encrypted external USB drive that works with both BIOS and UEFI systems? one that requires the least knowledge of bootloaders. Ubuntu's installer only makes it work on one or the other (depending on the PC used to install). So if you install it on a BIOS computer, you can't boot it from a UEFI computer, and vice-versa.
[01:46] <whodat> by using the installer I mean
[01:48] <tomreyn> whodat: i don't know, but i bet there are articles out there on how to make a hybrid (BIOS + UEFI bootable) USB attached storage. once you know this, all you need to do is to combine this with a luks encrypted storage (which is certainly the easier task).
[01:49] <tomreyn> the ubuntu desktop installer (and i think 'live' server, too) is hybrid, so you could just check how it's done. it then continues booting from an overlay file system, which won't be what you want in this case.
[01:50] <whodat> the ubuntu desktop installer is what i used last time, it's definitely not hybrid. So if on a BIOS PC you use USB ISO to install to external drive, a UEFI-only PC can't boot from that USB. Maybe they fixed it since 18.04.
[01:51] <whodat> *UEFI PC can't boot from that external drive
[01:51] <tomreyn> fdisk in 18.04.3 and later supported releases can handle the partition tables of a hybrid installer (many other applications will instead report a mismatch of block sizes and fails to detect the first partition)
[01:52] <tomreyn> i'm saying the installer media will be hybrid, not the installation you create from it
[01:52] <whodat> ah, yes
[01:56] <whodat> thanks again
[01:57] <tomreyn> you're welcome
[03:16] <monkeystance> are you guys on 18.04 or 19.10?
[03:18] <sarnold> I've got machines on 18.04 LTS and the current -devel release
[03:50] <cybertruck2077> I'm writing a module on Linux this semester!
[03:50] <fys> Very cool.
[03:50] <lotuspsychje> !discuss | cybertruck2077
[04:06] <Mr_Cyclops> Hello. I'm using Bionic.  I need to stream live audio using Command Line over IP (which a client can listen to and possibly record as well).
[04:06] <Mr_Cyclops> Any pointers please...? Thanks in advance ...
[04:08] <Wally> some ffmpeg / vlc wizardry perhaps?
[04:10] <macroprep> how do i compile a ubuntu source package
[04:10] <macroprep> specifically libmad
[04:11] <macroprep> as i have ubuntu/libmad-0.15.1b/debian/patches
[04:13] <Mr_Cyclops> Wally, Yeah I guess? Tons of examples but not a single that really works out of the box (and which I understand) :-/
[04:13] <Wally> Yeah that sounds like fun to work out. Nothing I really can help you with unfortunately.
[04:14] <Mr_Cyclops> hmmm ... no worries :)
[04:14] <Mr_Cyclops> tx anyway
[04:16] <Wally> np
[04:17] <cybertruck2077> So with a new install of 19.10, is my ATI RX 570 natively supported?  No drivers/software required?
[04:22] <Bashing-om> cybertruck2077: Yup :D See: https://help.ubuntu.com/community/AMDGPU-Driver .
[04:22] <lotuspsychje> cybertruck2077: check sudo lshw -C video, to see if your driver is loaded properly
[04:23] <Mr_Cyclops> lotuspsychje, hey! How are you?
[04:23] <cybertruck2077> thanks guys, this is the output I get
[04:23] <cybertruck2077>  *-display
[04:23] <cybertruck2077>        description: VGA compatible controller
[04:23] <cybertruck2077>        product: Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
[04:23] <cybertruck2077>        vendor: Advanced Micro Devices, Inc. [AMD/ATI]
[04:23] <cybertruck2077>        physical id: 0
[04:24] <macroprep> fkkk it still fails ;-;
[04:24] <macroprep> why does my distro's version of libmad work and the source build of libmad doesnt
[04:26] <lotuspsychje> cybertruck2077: at bottom: driver=...
[04:26] <Mr_Cyclops> lotuspsychje, Good. Struggling to get linux audio streaming to work :)
[04:26] <macroprep> apt source libmad0 ; cd libmad-0.15.1b/ ; sudo apt install devscripts debhelper cdbs quilt dh-autoreconf ; debuild -us -uc -b ; sudo make install
[04:26] <Mr_Cyclops> like (for e.g mjpg streamer) ... stream from one box, and clients can see/record... want to do the same for audio streams
[04:27] <macroprep> the tests fail with that version however pass if i use sudo apt install libmad0
[04:27] <macroprep> i cant figure out why ;-;
[04:33] <Mr_Cyclops> (time to sleep) linux audio can wait... gnyte lotuspsychje
[04:35] <cybertruck2077> lotuspsychje: weird, I don't see a driver field when I run lshw -C video
[04:39] <macroprep> fk now my distro's version is failing too ;-;
[04:39] <macroprep> fkkkkkk
[04:39] <Bashing-om> cybertruck2077: configuration line - "configuration: driver=nouveau latency=0
[04:40] <Bashing-om> " where my driver is nouveau .
[04:40] <cybertruck2077> nice, thanks,  configuration: driver=amdgpu latency=0
[04:45] <patrixl> hi all, anyone familiar with Multipass? Or maybe snap in general not sure
[04:45] <patrixl> multipass downloads VM images for ubuntu.. one of my downloads got interrupted, and now I cannot launch images using that verfsion of Ubuntu
[04:45] <patrixl> need to figure out how to refresh/delete said image
[04:53] <mca_gif> @patrixl on my system images are installed into /var/snap/multipass/common/cache/multipassd/vault/images
[04:53] <mca_gif> @patrixl perhaps in there you can delete the offending image and it will redownload
[04:54] <mca_gif> looks like /var/snap/multipass/common/cache/multipassd/vault/multipassd-image-records.json also keeps a record of the images you downloaded
[04:57] <panorain> mca_gif, You mean like chicks and stuff?
[04:59] <mca_gif> Yes, the ubuntu spying conspiracy is real. /s
[04:59] <panorain> hmm
[04:59] <panorain> I documented this in a note.
[04:59] <panorain> I have to look now
[05:00] <patrixl> mca_gif: cool, let me have a look there!
[05:00] <panorain> LOL
[05:00] <patrixl> this is my first snap ever installed, too much magic going on lol
[05:00] <panorain> huh
[05:00] <patrixl> funny thing is I looked in /var/snap/multipass and skipped over the "common" dir, having looked at a smilar dir before and finding nothing haha
[05:01] <panorain> there is no directory on this system as of yet.
[05:01] <panorain> There is no directory of this label I meant to say on this system yet.
[05:01] <mca_gif> @patrixl I haven't ever used it, so I installed it, and once running "ps" gave away the location of the images
[05:02] <panorain> oh really
[05:02] <patrixl> mca_gif: removing the directory of the image that failed to download, now it starts to download once more, thanks. Didn't need to mess with the json file
[05:02] <patrixl> hmm
[05:02] <patrixl> ps eh
[05:02] <patrixl> here I was messing around with lsof and not finding it
[05:02] <panorain> interesting stuff
[05:14] <gambl0re> hello?
[05:14] <lotuspsychje> yes?
[05:15] <gambl0re> hi, how do i check thunderbolt driver version im currenlty using? thanks
[05:17] <gambl0re> is this channel still active?
[05:20] <panorain> Oh yes
[05:20] <panorain> This is an actually pretty nice channel.
[06:15] <e|f> Hi.  I have an ACER Aspire laptop.  Recently wiped it of Windows and installed Kubuntu 18.04.3 LTS from a burned DVD ISO.  Now the computer goes into a loop on boot.  Shows the ACER screen, then a few lines of text too fast to read, then reboots.  I've checked the BIOS and Boot menu.  Shows "Linplus lite."  Any thoughts on a fix?  Thanks!
[06:17] <EriC^^> e|f: can you boot a live usb to troubleshoot?
[06:18] <e|f> I only have the Ubuntu ISO on a DVD but, yep, it will boot to that if I hook up the external DVD drive and select Boot from DVD from the BIOS.
[06:18] <EriC^^> ok do that
[06:21] <e|f> OK, grub popped up, i selected Start Ubuntu and it's loading OK...
[06:22] <EriC^^> e|f: once it boots hook up internet to it
[06:22] <e|f> showing the kubuntu splash screen now and it's loading as expected
[06:22] <e|f> ok
[06:24] <EriC^^> done?
[06:29] <e|f> almost
[06:30] <e|f> just got to the Kubuntu screen "Try Kubuntu" / "Install Kubuntu."  Selected "Try."  It's loading the desktop now
[06:33] <e|f> connected to WIFI.  Opened up a Firefox.  Firefox connected to yahoo.com for an example.  Internet works
[06:33] <EriC^^> e|f: ok, open a terminal and type "sudo parted -ls | nc termbin.com 9999"
[06:33] <EriC^^> paste the link it gives you here
[06:33] <e|f> okie dokies
[06:35] <e|f> https://termbin.com/43b9
[06:38] <e|f> lucky it's a touchscreen.  the touchpad won't work.  i've had this problem before and can't remember how i fixed it :P
[06:39] <EriC^^> brb
[06:39] <e|f> ok
[06:41] <EriC^> e|f: ok, it's installed in uefi mode
[06:41] <EriC^> e|f: type "sudo efibootmgr -v | nc termbin.com 9999"
[06:41] <e|f> kk
[06:42] <e|f> gives - https://termbin.com/hgx8
[06:45] <EriC^> e|f: type "sudo efibootmgr -b -B 0001"
[06:45] <e|f> k
[06:45] <EriC^> that should delete the linpus entry
[06:46] <EriC^> e|f: usually with the acer pc's you have to set a bios administrator password, and that will unlock settings for the uefi and let you set ubuntu first and possibly "trust" it (there's a menu for trust)
[06:46] <EriC^> e|f: we could delete all the extra entries there
[06:47] <e|f> "Invalid bootnum value: FFFFFFFFFFFFFF5"
[06:47] <e|f> i'd rather not set a bios password
[06:47] <EriC^> e|f: you might have to
[06:48] <e|f> ok
[06:48] <EriC^> you can maybe remove the password after trusting ubuntu/setting the uefi
[06:48] <e|f> ok, what do i do next. aside from give you fifty bucks for your help :p
[06:49] <EriC^> e|f: anyways, im going to set one of the ubuntu entries first in line and see what happens, if nothing then try the bios password + settings
[06:49] <EriC^> type "sudo efibootmgr -o 2001,0004,2002,2003
[06:49] <EriC^> e|f: type "sudo efibootmgr -o 2001,0004,2002,2003"
[06:50] <e|f> spits out a long list of stuff
[06:51] <e|f> Boot0000* ubuntu; Boot0001* Linpus lite ... etc etc
[06:54] <cybertruck2077> which app do you guys use to take notes?
[06:54] <cybertruck2077> Notes for desktop stuff, like commands etc?
[06:55] <e|f> before those boot entries... BootCurrent: 0003; Timeout: 0 seconds; BootOrder: 2001,0004,2002,2003
[06:58] <e|f> you want me to reboot?
[06:59] <EriC^> e|f: yeah giv eit a go
[06:59] <e|f> k
[07:00] <e|f> nah same thing.  i'll try the password method
[07:04] <EriC^> ok
[07:05] <e|f> under Security tab in BIOS -  Supervisor password is: Clear; User Password is: clear; HDD Password is: clear; Set supervisor password ...; Set User password ...; Set HDD password ...; Password on boot: Disabled; Secure Boot Mode: standard ...
[07:05] <e|f> few other things too.  where do i go to from here
[07:14] <gambl0re> is the differnce between, ubuntu, xubuntu, kubuntu just the desktop environments?
[07:14] <Ben64> yep
[07:14] <gambl0re> if i was on xubuntu and installed kde DE, does that mean im essentially running kubuntu?
[07:14] <fys> more or less, yes
[07:14] <Ben64> the default installed apps are different too
[07:15] <gambl0re> i dont know why but i was running kubuntu before and i reinstalled everything and installed xubuntu because i thought that was the only way
[07:15] <gambl0re> i never knew you could just install the DE's on it's own and switch back and forth
[07:16] <gambl0re> also what is lightdm and ssdm, it was asking me when i was installing
[07:16] <fys> we've all likely done something similar at some point.
[07:16] <fys> lightdm is the login manager
[07:17] <DarwinElf> on 18.04.3 with Gigabyte Z170XP-SLI system-/logic-/main-/mother-board, onboard sound (Intel) stopped working after a kernel upgrade in the last few months... plz help fix! :)
[07:38] <e|f> ah yep i see what you were saying Eric :)
[07:38] <e|f> play around with the passwords and it then allows you to drop down and select trusted files
[07:45] <DarwinElf> also, how do you delete all old logs?  I've been running this for over a year and some logs are probably GB.  I need that space now... maybe even delete all logs and restart logging?
[07:46] <ryuo> DarwinElf: why do you assume that they would be? my server hasn't even breached 500MB with its logs and it's been going far longer.
[07:54] <patrixl> logs are auto-rotated and kept only a certain number of days aren't they?
[07:54] <patrixl> I'm sure journald works the same way
[07:54] <patrixl> now some other apps not using journald/logrotate might be an exception to those rules...
[08:05] <DarwinElf> i've had GB of logs before
[08:05] <DarwinElf> sure, maybe I ran a server longer to have that happen... however even another few hundred MB would be nice
[08:07] <e|f> EriC^: I set a password to unlock the UEFI settings, then ran through all of the various files under <ubuntu> and <boot> to set them as files in the allowable database.  Rebooted each time with each file.  And still it doesn't work.  Same loop as before
[08:41] <EriC^> e|f: the file you need to set is /efi/ubuntu/shimx64.efi
[08:41] <EriC^> e|f: did you also change the boot order of the uefi?
[08:44] <e|f> ah :)
[08:44] <e|f> one sec, i'll try
[08:48] <e|f> set the file to shimx64.efi ... not sure about the boot order of the uefi ?
[08:50] <e|f> under Boot tab - Boot Mode: UEFI; Secure Boot: Enabled; Boot Priority order: Linpus lite; HDD...; CDROM ...; ...
[08:53] <e|f> (if i can't fix this i'll try the 19.10 iso as well)
[08:55] <gioele> hi, does the 18.04.3 installer support encrypting the disk or the home directories?
[08:55] <EriC^> gioele: yes both
[08:55] <EriC^> e|f: change the boot priority order
[08:56] <gioele> Eric^: thanks. Do you know where I can find the documentation?
[08:56] <EriC^> e|f: i dont think the iso would help
[08:56] <EriC^> !install | gioele perhaps here
[08:56] <e|f> ah :) i see the EFI file has appeared at the boot mode screen, heh
[08:56] <e|f> didn't notice that
[08:56] <e|f> ok, i'll change it
[08:57] <s4yang> i have problem with ubuntu server rsyslog, when my client (mikrotik) send log to my server, the log overide not append, how to make the log append
[08:58] <e|f> oh wow
[08:58] <e|f> jesus christ
[08:58] <e|f> finally, a breakthrough
[08:58] <e|f> yeah, i have the splash screen now
[08:58] <e|f> how much time did i spend on this, lol
[09:11] <ikonia> s4yang: probably best to share via a pastebin your client and server config
[09:12] <EriC^^> e|f: nice
[09:13] <EriC^^> uefi can be a pain sometimes cause of the manufacturers
[09:13] <e|f> it's taking a while to load but i'm being patient with it :)
[09:17] <vlt> Hello. Is there a way to get the available "desktop size" between any top and bottom panels in the MATE DE?
[09:18] <EriC^^> e|f: try pressing Esc it should show something, it's probably a graphics issue or so
[09:19] <EriC^^> !nomodeset | e|f
[09:19] <e|f> yeah it finally loaded
[09:19] <EriC^^> vlt: there's a pixel ruler program you could download i guess
[09:19] <EriC^^> it's called "screen ruler"
[09:27] <e|f> After pressing ESC... it's finally said "You are in emergency mode..." "Press Enter for maintenance (or press control-D to continue)"
[09:33] <vlt> EriC^^: I was looking for something to use programmatically in a script. More like xdpyinfo.
[09:33] <Ublx> Hi, I need some kind of post it notes for Ubuntu 18.04 and tried almost all of them. I like xpad but I would need a possibility to pin them on top while using other programs. How can I do that?
[09:42] <neildugan> I have skype installed, but the audio output has suddenly gone very bad, nothing else seems to have been affected.  I have tried fiddling with the configuration, but there hasn't been any improvement.  does anyone know what I can do to fix this?
[09:48] <elias_a> azeam: Thanks! Odd phenomenon. What make is the battery?
[10:08] <__raven_> lotuspsychje: 19.10 live is able to use all 4 displays simultaneously. any way of copying any setting or finding out the culprit?
[10:11] <bcx> Hi i'm trying to preseed bionic from whith a floppy containing the d-i selections. Seems like netboot 18.04 has floppy driver but doesn't automatically mount fd0. Is there any way to ask so from boot params ? Thx
[10:20] <voltagex> hi, how can I get the following unit to work correctly?  https://paste.ubuntu.com/p/tf2hPGXYfD/, with the user's login shell set to /sbin/nologin or /bin/false, I can't get it to start
[10:25] <EriC^^> voltagex: maybe in line 29 replace /usr/bin/bash with /bin/bash
[10:26] <EriC^^> voltagex: there's probably a command to see the log of the service
[10:30] <DarwinElf> on 18.04.3 with Gigabyte Z170XP-SLI system-/logic-/main-/mother-board, onboard sound (Intel) stopped working after a kernel upgrade in the last few months... plz help fix! :)
[10:33] <voltagex> EriC^^: https://paste.ubuntu.com/p/b8Yn5FQHcF/
[10:36] <EriC^^> voltagex: no idea
[10:43] <marz_d`ghostman> what's the best utility to create a bootable usb? I've tried gparted and dd but my flash drive/usb doesn't seem to work
[10:55] <lotuspsychje> marz_d`ghostman: ubuntu has an internal app to create bootable usb
[10:57] <marz_d`ghostman> lotuspsychje: what app is that?
[10:58] <lotuspsychje> marz_d`ghostman: the usb creator app, wich ubuntu version are you using?
[10:59] <marz_d`ghostman> Ubuntu 16, I'm not creating a bootable ubuntu drive htough
[10:59] <lotuspsychje> marz_d`ghostman: wich Os are you trying to burn?
[10:59] <marz_d`ghostman> it's a firmware updater from Dell
[10:59] <marz_d`ghostman> https://www.dell.com/support/home/ph/en/phbsd1/drivers/driversdetails?driverId=FV3R1&oscode=naa&productcode=poweredge-R620
[10:59] <lotuspsychje> !biosupdate | marz_d`ghostman
[11:26] <tomreyn> bcx: this may be more of a topic for #ubuntu-server. also, have you considered better options than working with floppies in 2020? and what is this hardware?
[11:37] <tomreyn> marz_d`ghostman: unfortunately dell does not yet support firmware updates on poweredge systems via fwupd / lvfs: https://fwupd.org/lvfs/search?value=Dell+poweredge-R620
[11:38] <heeen> ok this is weird
[11:38] <heeen> I have a logitech c920
[11:38] <heeen> actually I have two, luckily. if I plug in one, it shows up with its microphone in pavucontrol etc, but it is silent
[11:38] <heeen> if I plug it out and try the other one, same result
[11:39] <heeen> if I plug it in, then plug another in, the second works, the first stays silent. I can then unplug the first and leave the second working
[11:41] <tomreyn> marz_d`ghostman: but as the download page you pointed to explains, "Multiple methods are available to use the Bootable ISO like iDRAC virtual media, network location, USB drive and CD-ROM." and the USB drive installatio instruction (further down that page) states "Run any Bootable USB drive creator software." on ubuntu desktops, usb-creator-gtk and -kde are available. there is similar software which also works on a CLI, such as "mkusb", but
[11:41] <tomreyn> that's not part of ubuntu.
[12:07] <neildugan> I have skype installed, but the audio output has suddenly gone very bad, nothing else seems to have been affected.  I have tried fiddling with the configuration, but there hasn't been any improvement.  does anyone know what I can do to fix this?
[12:11] <EriC^^> neildugan: did you try restarting?
[12:33] <bcx> tomreyn: actually i'm using packer on vSphere vms
[12:44] <ph88> i used to get an option during installation to do disk encryption .. i no longer see it. how can i encrypt the disk ?
[12:46] <BluesKaj> Howdy folks
[12:53] <neildugan> EriC^^, No, that is something I should have thought of myself, I am imbarrased that I didn't
[12:54] <EriC^^> neildugan: no worries, hopefully it doesnt keep happening, then maybe a different kernel might help
[12:54] <neildugan> EriC^^, restarting skype doesn't work, it still malfunctions
[12:55] <EriC^^> i meant the pc neildugan
[12:55] <Ntemis> please i need help installing wine
[12:55] <Ntemis> winehq-stable : Depends: wine-stable (= 5.0.0~bionic)
[12:56] <Ntemis> E: Unable to correct problems, you have held broken packages.
[12:56] <pragmaticenigma> !paste | Ntemis
[12:56] <neildugan> EriC^^, OK, but atm I can't reset the computer, I will try that soon.
[12:56] <WaV> Ntemis: If you're running Ubuntu you should be able to install it from the package manager.
[12:56] <Ntemis> i cant
[12:57] <Ntemis> any way to force it?
[12:57] <EriC^^> neildugan: installing pavucontrol might help or maybe in the sound settings switching output to something then back
[12:57] <WaV> Ntemis: All I did was "sudo apt-get install wine64" (64 for 64bit systems)
[12:59] <Ntemis> it worked
[12:59] <WaV> :thumbs up:
[12:59] <Ntemis> thanks
[12:59] <WaV> You're welcome.
[13:01] <Ntemis> sudo apt install wine-stable doesnt work
[13:05] <geirha> doesn't work in what way?
[13:06] <ph88> https://linuxhint.com/wp-content/uploads/2018/08/u1.png Encrypt the new Ubuntu installation for security  ... i don't see this option anymore
[13:10] <ph88> oh i see it actually but it would erase windows too ??
[13:10] <pragmaticenigma> ph88: Correct, volume encryption is not recommended for dual boot systems
[13:11] <ph88> is there another type of encryption i can still apply ?
[13:11] <pragmaticenigma> ph88: You can encrypt your home directory, which honestly should be enough
[13:11] <ph88> how do i do that ?
[13:13] <ioria> ph88, that option is really not in the installer anymore; you need to install normally and then run sudo ecryptfs-migrate-home -u user  and take care of the swap
[13:14] <ph88> ah ok
[13:14] <ph88> is there a tutorial on that ?
[13:15] <ioria> ph88, https://www.howtogeek.com/116032/how-to-encrypt-your-home-folder-after-installing-ubuntu/
[13:17] <ph88> is it still up to date from 2017 ??
[13:17] <ioria> i think so
[13:18] <ph88> thank you
[13:18] <ioria> no prob
[13:19] <tomreyn> ph88: this could also be an option - https://wiki.gentoo.org/wiki/Ext4_encryption - ext4 file system encryption. but most of the time you really want FDE.
[13:19] <pragmaticenigma> tomreyn: It's a dual boot machine... not recommended
[13:19] <ph88> i don't think i can do FDE with windows alongside ubuntu
[13:20] <tomreyn> pragmaticenigma: why not?
[13:20] <tomreyn> ph88: the installer doesn't support it but i don't see why you can't
[13:21] <ph88> how will windows be able to boot when it's encrypted ?
[13:21] <tomreyn> you wouodn't encrypt the windows partition
[13:21] <tomreyn> *wouldn't
[13:22] <ph88> i understood FDE as full disk encryption
[13:22] <ph88> i only have one disk
[13:22] <tomreyn> yes, that's a bit misleading
[13:23] <tomreyn> normally, with dmcrypt-luks, you encrypt data on partitions, not the entire disk
[13:24] <ioria> ph88, would be more correct saying that there is no 'trivial way' to do that
[13:24] <ph88> is this using dmcrypt-luks ?  https://www.howtogeek.com/116032/how-to-encrypt-your-home-folder-after-installing-ubuntu/
[13:24] <ioria> nope
[13:25] <ph88> so there is dmcrypt-luks, ext4 crypt and cryptsetup
[13:25] <ioria> ph88,  ecryptfs-utils  != cryptsetup
[13:28] <tomreyn> cryptsetup is a user space utility for managing dm-crypt encrypted devices
[13:30] <Phruis`> anyone using the QT Adwaita theme?  I can't get it to switch to dark on all apps
[13:31] <lotuspsychje> Phruis`: are you using a stock adwaita theme or a downloaded one, on wich version of ubuntu?
[13:31] <Phruis`> https://github.com/FedoraQt/adwaita-qt
[13:31] <Phruis`> 19.10
[13:33] <lotuspsychje> Phruis`: can you pastebin: apt policy adwaita-qt please
[13:34] <Phruis`> https://paste.ubuntu.com/p/HWHD52cpHJ/
[13:35] <Phruis`> i installed from source
[13:36] <Phruis`> should i use the package?
[13:36] <lotuspsychje> Phruis`: please install the version from apt to doublecheck
[13:41] <lsfc1914> Hello everyone. I am on Ubuntu 16.04 and have problem with I-nex (which I installed several months ago). At first it worked fine, but from 2-3 months I can't even open it. When I type "i-nex" in terminal I got the following error: "ERROR: #2: Cannot load class 'JSON': Bytecode too recent. Please upgrade Gambas."
[13:41] <lsfc1914> It would be great if someone is familiar with this problem and can help me.
[13:43] <lotuspsychje> lsfc1914: you installed i-nex with the external ppa?
[13:43] <pragmaticenigma> lsfc1914: That doesn't appear to be a software package available in the official Ubuntu software channels. You will have to contact the developer for assistance
[13:44] <lsfc1914> allright
[13:44] <lsfc1914> thank you
[13:45] <lsfc1914> Is there something similar in the official Ubuntu software?
[13:45] <tatertots> lsfc1914: have you at least tried to update gambas3 like the error suggested?
[13:45] <ioria> not with gambas i think
[13:46] <lotuspsychje> tatertots: if volunteers advice the support elsewhere, please dont continue support here
[13:53] <pragmaticenigma> lsfc1914: You could build your own using Conky, which has many of the same features, but is more tooled for real time performance monitoring
[13:53] <pragmaticenigma> Conky also has pre-made and/or community provided premade setups
[14:12] <isomari> greetings, what setopt can I use to have human readable timestamps in my zsh history file?
[14:14] <tomreyn> isomari: that's probably a good question for #zsh
[14:16] <Silicium> hi there
[14:16] <Silicium> apt-cache policy <package> shows a fine version table but no candidate. installint the package with package=$version installs the package with success but otherwise apt sais "no candidate"
[14:16] <Silicium> how is that possible?
[14:16] <Silicium> its an third party repository
[14:18] <isomari> tomreyn: Thanks. Seems everyone is sleeping over there.
[14:19] <tomreyn> Silicium: low priorities?
[14:21] <Silicium> does that matter if there is no alternative?
[14:21] <Silicium> Priority is Extra
[14:21] <Silicium> no dependencies
[14:22] <Silicium> right architecture :)
[14:22] <tomreyn> Silicium: can you show the apt-cache output (after apt update) on a pastebin?
[14:22] <Silicium> yes
[14:23] <Silicium> its about filebeat package (elasticsearch) using 5.x repo works, 7.x doesnt work. seems to be a OS dependency but there are no dependencies
[14:24] <Silicium> working 5.x repo: https://pastebin.com/iWgeVFB7
[14:25] <tomreyn> that's not apt-cache policy output for a specific package
[14:25] <vlm> is it possible to clone an hard drive whilst in use with dd or would it render the image unusable or so?
[14:26] <Silicium> non working 7.x: https://pastebin.com/kCr4QJrT
[14:26] <Silicium> ok not policy
[14:26] <Silicium> non working policy: https://pastebin.com/GBGFvVf4
[14:27] <tomreyn> Silicium: priority -10, wont be considered
[14:28] <tomreyn> read apt_preferences(5)
[14:29] <tomreyn> section "How APT Interprets Priorities"
[14:30] <tomreyn> vlm: possible: yes, a good idea if the goal is to have usable data at the destination but there are read-write-mounted file systems on the source: no.
[14:31] <tomreyn> vlm: you can use lvm or btrfs or zfs snapshots instead
[14:33] <vlm> tomreyn: ok thanks ill rather do it offline then to keep data
[14:37] <raddy> Hello Everybody
[14:38] <raddy> tail -F appserv.log | grep Working >> push_api.log
[14:38] <raddy> Why this command is not working ?
[14:38] <raddy> I want grep to send the output to push_api.log
[14:39] <raddy> Please help
[14:40] <SwedeMike> raddy: "not working" isn't a good problem description. Please be more specific.
[14:41] <raddy> SwedeMike: The grep output is not being sent to the file
[14:41] <WaV> what is the output of the command && do you have write permissions in the directory where you are trying to write push_api.log?
[14:42] <raddy> WaV: I ran that command as root
[14:42] <WaV> Any output?
[14:42] <SwedeMike> raddy: does it work without the >> ?
[14:43] <SwedeMike> raddy: does it then work as expected and show it on the screen?
[14:43] <raddy> SwedeMike: It is working if tail -F hits_BRTS.log | grep Working >> push_api.log
[14:43] <raddy> Sorry without >> push_api.log
[14:44] <tomreyn> thats a differently named log file
[14:45] <raddy> tomreyn: It is working if  tail -F hits_BRTS.log | grep Working
[14:45] <raddy> But not to the log file
[14:45] <raddy> There is no spelling mistake
[14:46] <tomreyn> it may be due to output buffering
[14:47] <raddy> tomreyn: What is that ?
[14:49] <SwedeMike> raddy: https://unix.stackexchange.com/questions/154861/why-does-tail-f-tail-fail-to-produce-any-output/154862
[14:49] <tomreyn> http://www.pixelbeat.org/programming/stdio_buffering/
[14:49] <chowder> morning all
[14:50] <rapha> hi
[14:50] <rapha> someone her from the gLabels project?
[14:54] <chowder> rapha, are you having trouble printing out labels? I'm not a dev on that project. I just googled it when you mentioned it.
[14:55] <Silicium> tomreyn: where did you saw priority -10?
[14:55] <Silicium> ah lol
[14:55] <Silicium> thx
[14:56] <rapha> chowder: nope, the printing is working fine. we're trying to move from glabels3 to glabels4 and almost all (thousands) of our labels show "invalid barcode data" with glabels4. i think it must have something to do with it not yet supporting all of the barcode libraries that glabels3 supports.
[14:57] <chowder> rapha: are you a small business owner by any chance?
[14:57] <rapha> chowder: i'm the IT bitch for a bicycle shop
[14:58] <chowder> rapha: lol ok well why did you move to GLabels4? Just curious.
[14:59] <rapha> chowder: not "did". "wanting to". because glabels3 lacks some features in our distro and building it is getting tougher and tougher. building glabels4 is a breeze.
[15:02] <chowder> well it looks like GLabels 3.x is the stable version. 4.x is the dev version. Usually you only see the major version number change when a change is made that breaks compatibility. You may have to stick with 3
[15:03] <tomreyn> rapha: which distribution is this?
[15:03] <rapha> tomreyn: Solus
[15:03] <tomreyn> !ot | rapha: then please move
[15:04] <chowder> https://glabels.org/pages/download <-- has links to the github repos for 3 and 4 and it looks like the author switched from GTK to QT for the interface. I imagine that there are other differences between the two that make porting old labels difficult or impossible. My suggestion is to reach out to the devs.
[15:04] <rapha> and to be fair, the feature we're missing comes from an arcane library which is the actual pain in the behind to build
[15:04] <rapha> tomreyn: i came here because some website mentioned that a member of the gLabels team hangs out here. i'll give you your precious space back, sheesh.
[15:05] <rapha> yeah, this is my first (failed) attempt to reach out to the devs
[15:05] <rapha> thank you for your welcoming friendliness tomreyn
[15:06] <chowder> tomreyn: c'mon dude we need to be friendly to newcomers. Linux still only has 1% market share and its clear that this guy was supporting a business using Linux. He should've been treated better. Use some soft skills.
[15:07] <tomreyn> chowder: i did, said "please". we can continue discussing this in #ubuntu-discuss if you'd like?
[15:07] <chowder> fair enough
[15:12] <bynarie> hi sorry im not really sure where to ask this.. so with load balancing, would you have multiple servers that sync with each other serving the same static content
[15:13] <EdFletcherT137> bynarie: the individual servers don't sync with each other. the load balancer uses some algorithm to "evenly" distribute requests amongst the individual servers. only it must know about them.
[15:13] <chowder> bynarie: In general, load balancing means distributing the incoming requests amongst many servers. You can have a publicly facing DNS record for your load balancer that then divides the requests amongst your servers.
[15:14] <bynarie> right i undertand that the requests are distributed to them probably through dns requests
[15:15] <bynarie> so if i have a webservice that requires php/mysql stuff, wouldnt the 2 servers need to be synced in some way to provide static content?
[15:20] <leftyfb> bynarie: you want #ubuntu-server
[15:27] <tharkun> Good $DAY. I have a server that every type there is an update there is a warning stating: cryptsetup: WARNING: failed to detect canonical device of /dev/sda it seems to get into an infinite loop which can I think can only be broken with ^C ( I might be wrong) How can I get rid of this warnings so the set up can have smooth updates?
[15:28] <tharkun> deleting cryptsetup seems to cascade to many other packages which I am unsure abouth their purpose.
[15:29] <leftyfb> tharkun: can you give more details on this server? Ubuntu version. Is it a VPS? Docker? Where does encryption come into play?
[15:30] <tharkun> VPS, No hdd encryption, uname -a Linux li206-118 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[15:31] <leftyfb> tharkun: what version of ubuntu?
[15:31] <leftyfb> tharkun: nc termbin.com 9999 < <(lsb_release -ds;cat /proc/{version,cmdline};echo "Session: $XDG_CURRENT_DESKTOP ($XDG_SESSION_TYPE)";echo Shell: $SHELL)
[15:32] <tharkun> leftyfb: How do I get the version?
[15:33] <leftyfb> tharkun: I just gave you the commands to run
[15:33] <tharkun> output is https://termbin.com/msci
[15:33] <tharkun> That is not what I expected. Sorry
[15:34] <tharkun> from apt-get update bionic
[15:35] <tharkun> leftyfb: ^^
[15:35] <leftyfb> tharkun: this on Linode?
[15:35] <tharkun> yes
[15:36] <leftyfb> tharkun: I copied your error into google and came up with this as the first result: https://www.linode.com/community/questions/17283/apt-get-update-and-upgrade-question-on-ubuntu-18
[15:37] <leftyfb> tharkun: Can you copy/paste the commands you're running for updates and the errors into http://pastebin.ubuntu.com please?
[15:37] <tharkun> leftyfb: apt-get update && apt-get upgrade
[15:37] <leftyfb> tharkun: those errors should be safe to ignore. They're just warnings. But you're saying it gets locked up and you can't do updates. That might be another issue.
[15:38] <leftyfb> tharkun: We need a the full output please
[15:38] <leftyfb> tharkun: please copy/paste the entire commands plus output with errors to http://pastebin.ubuntu.com
[15:39] <tharkun> leftyfb: I updated the server this morning. I constantly check for updates and I will leave a note there to report back the output to you when the next updates come up.
[15:39] <tharkun> Thanks for the time.
[15:39] <leftyfb> tharkun: ok, that doesn't add up ....
[15:40] <leftyfb> tharkun: if it hangs on the update, then they shouldn't be all caught up
[15:40] <tomreyn> thi *could* be bug 1580308
[15:42] <leftyfb> tomreyn: that would only apply when installing kernels and related packages. initramfs won't be regenerated just updating vim for example
[15:43] <tomreyn> leftyfb: right, but i assume that's what tharkun was referring to, update-initramfs running as a result of kernel (or initrd related) updates.
[15:44] <leftyfb> possibly
[15:44] <tharkun> The kernel was updated. That is certain. And initram was rebuild
[15:44] <leftyfb> tharkun: do you run into the issue if you install a package you don't already have? Try installing nmap or cowsay
[15:46] <tharkun> no isues with apt-get install cowsay
[15:47] <tharkun> No isues by uninstalling cowsay
[15:48] <tomreyn> very old, but may still hold true: https://www.digitalocean.com/community/questions/error-while-installing-packages?answer=1293
[15:49] <tharkun> leftyfb: I did leave a note on the server with the relevant information to look for. Thanks and as soon as I get new data I will share it.
[16:02] <nicktguest> i have a bash file with a command in it. I want to copy that command only to the command line and run it without the script. I’m running command line only so no copy paste etc. How do I do it?
[16:03] <leftyfb> nicktguest: grep for the command and then type it in
[16:03] <jhutchins_wk> nicktguest: Is the command you want the only thing in the file?
[16:03] <nicktguest> Yeah I want to avoid typing it again. Ideally a yank from vim would persist into the command line but it doesn’t.
[16:04] <nicktguest> jhutchins_wk no. There’s several commands and lines in the script.
[16:04] <jhutchins_wk> No, because vim is no longer running.  The shell is seperate.
[16:04] <jhutchins_wk> nicktguest: Ok, copy the file, edit the new file to remove the other commands and then do bash ./file
[16:05] <jhutchins_wk> You can also install the GPM package which gives you console mouse.
[16:05] <nicktguest> im looking for the command from that file to be placed on the command line so I can edit it.
[16:05] <nicktguest> Not just execute it.
[16:12] <leftyfb> nicktguest: there is no clipboard on a headless server
[16:16] <leftyfb> nicktguest: if you want to get silly, you could potentially grep and export the command to your ~/.bash_history, exit out and log back in. It might be in your history where you'll be able to edit it before you run it
[16:17] <JimBuntu> leftyfb: I don't consider that silly. ctrl-u and ctrl-y would work for what's already typed at the terminal as well, if that helps
[16:19] <JimBuntu> nicktguest: A good way to handle this though, might be to grep the single command into a new file, edit that file and then run that file
[16:39] <sams0x41> I  was hoping someone could answer a linux/upstream fix question for me. In the following ubuntu cve tracker, https://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-13144.html i see that for the upstream field it is stating  8:6.9.7.4+dfsg-13 as the fix. This is a debian fork of the package right?  I see the semver being mentioned on
[16:39] <sams0x41> https://security-tracker.debian.org/tracker/CVE-2017-13144
[16:49] <oerheks> sams0x41,  ask in #debian? meanwhile imagemagick is some versions further.. https://launchpad.net/imagemagick/+packages
[16:55] <sams0x41> thanks oerheks will do, i think for certain packages, ubuntu is using debian as its upstream and for others, ubuntu is using the original C package but i wanted confirmation
[16:56] <jayjo> has anyone had luck using a gpg tool for gmail on ubuntu? http://leoiannacone.github.io/goopg/ I see this but there is no goopg-chrome package available via apt-get install
[16:58] <leftyfb> jayjo: it's not part of the official packages, no
[16:59] <leftyfb> jayjo: the instructions say to install the chrome extension and then add the PPA, install the package from the PPA
[17:01] <jayjo> Ok I see. It didn't work because there is an error with the release file: https://bpaste.net/FS7Q
[17:01] <jayjo> is that an issue on my end or is it something with their PPA?
[17:04] <ioria> jayjo, probably because that ppa does not support eoan
[17:11] <azeam> elias_a: I managed to get the HP UEFI diagnostic tools on a USB stick, the battery passes the test but seems pretty worn out. Ubuntu does however incorrectly report the full charge value as design value (now it's 25.5Wh, compared to yesterdays 20Wh) https://imgur.com/a/JunCUqE
[17:12] <oerheks> azeam, batteries worn out, why do you trust the readings then? it is not an ubuntu issue, should be linux wide.
[17:13] <oerheks> and what do you want ubuntu to do, fix our bad battery readings?
[17:13] <tatertots> batteries are consumable items...these items have to be replaced periodically
[17:13] <azeam> oerheks, yes a Linux issue and not Ubuntu, I agree. But the design value should still report correctly regardless of battery status, no?
[17:13] <azeam> tatertos: yes...
[17:14] <oerheks> it is not even a linux issue, you are chasing ghosts
[17:16] <azeam> how is it not a Linux issue if the battery reports one value (according to the UEFI tool, unless they use hardcoded values for different models?) and Linux interprets it as another?
[17:40] <JimBuntu> azeam: from what I have seen/read, the design capacity can change from power on to power on using other HP tools outside of the OS. So while there might be some issue with how it's interpreted by the OS, there is also apparently an issue with what's reported by the hardware itself.
[17:42] <azeam> JimBuntu: that's possible, though it seems in this case is if Linux is using the full charge capacity as design capacity value
[17:43] <__raven_> lotuspsychje: 19.10 live is able to use all 4 displays simultaneously. any way of copying any setting or finding out the culprit?
[17:45] <lotuspsychje> __raven_: did you try purge nvidia and fallback to nouveau to test yet?
[17:49] <Hellphyre23> Anyone know why when i hit the lock button, it opens up a new login screen at tty2 and leaves me logged in at tty1?
[17:57] <ioria> Hellphyre23, never heard;   Super + L  works ?
[17:57] <Hellphyre23> nope
[17:59] <ioria> Hellphyre23, gsettings get org.gnome.desktop.lockdown disable-lock-screen
[17:59] <Hellphyre23> false
[17:59] <ioria> Hellphyre23, what uubntu version and Desktop in use ?
[18:00] <Hellphyre23> Ubuntu 19.10 Gnome 3.34.2
[18:01] <__raven_> lotuspsychje: yes it does not help
[18:02] <ioria> Hellphyre23,  have you changed your dispaly manager ?
[18:02] <ioria> *display
[18:05] <Hellphyre23> yes, also have Plasma so using a SDDM
[18:06] <ioria> Hellphyre23, well, if you ask plasma should run alone ; but maybe that behavior  might be caused by some buggy extensions ; try to reset them or disable
[18:09] <Tonren> I'm on 18.04 and trying to set up phpmyadmin, however I got plenty of errors because phpmyadmin 4.6 is not fully compatible with PHP 7.2. rather than downgrade PHP I tried to manually install the latest phpmyadmin... the procedure is rather confusing. Is there a repo out there with the latest phpmyadmin?
[18:11] <Hellphyre23> ioria, thanks, i will try that out, think it is on the right path
[18:30] <Hellphyre23> thanks ioria, swapped back to gdm and everything works fine now
[18:31] <ioria> ok, good
[18:31] <linext> is it possible to make .sh files runnable by the terminal via the GUI?
[18:32] <linext> i'd like to double-click or right click and open with terminal
[18:32] <ioria> linext, what file manager  ?
[18:32] <linext> the default one ubuntu has
[18:33] <linext> Activities -> Files
[18:33] <linext> Right clicking shows "Open with Other Application" but Terminal isn't there
[18:35] <ioria> linext, you want to open it in terminal to execute it or edit it ?
[18:36] <Lone_Wolf> With Thunar you might be able to do a custom action (Edit > Custom Actions)
[18:36] <Lone_Wolf> For execution
[18:36] <acovrig> I'm trying KDE and have an external display that is overscanning. I tried https://askubuntu.com/questions/508358/overscanning-picture-problem-using-hdmi-with-intel-graphics - --set overscan doesn't work (BadName - see comment by SodR), --transform works, but just moves the overscanned display, it doesn't shrink it to fit the display.
[18:36] <acovrig> Is there any way to have X frame the display in x pixels of unusable space and shrink the display to fit within the frame?
[18:37] <linext> like double-clicking a .bat file in Windows
[18:37] <ioria> linext,  well, you need a custom .desktop file in   .local/share/applications that calls gnome-terminal with a 'bash -c '  command
[18:37] <WaV> linext: You should just be able to mark it as executalbe
[18:37] <WaV> executable*
[18:38] <ioria> WaV, for some some reason he wants to run it in terminal (maybe for the output)
[18:38] <badsektur> is there a furry themed ubuntu? uwuntu?
[18:39] <WaV> ahh, well then create a desktop launcher file and prefix the command as ioria suggested.
[18:46] <arunpyasi> Hi everyone ! Why am I not getting login screen but purple screen after reboot when I installed virtualbox-guest-additions iso inside a ubuntu 19.10 Vbox .
[18:59] <Miles8of9> i need to create some threads to run some code outside the may thread... how can i call methods of objects from main thread on another thread? it's not possible,,,
[18:59] <Miles8of9> main
[19:01] <Miles8of9> basic example: you have a car, you run it and the car starts... after some time, you want it to turn right or left.... how?
[19:01] <Miles8of9> wtf! wrong channel sorry
[19:12] <linext> why is a space needed at the beginning of " #!/usr/bin/bash" ?
[19:23] <oerheks> linext, not needed AFAIK, any number of spaces is valid https://unix.stackexchange.com/questions/276751/is-space-allowed-between-and-bin-bash-in-shebang
[19:24] <linext> the problem is that ubuntu puts bash in /bin/bash
[19:24] <linext> not /usr/bin/bash
[19:35] <leftyfb> linext: I'm pretty sure /bin/bash has been the location for debian since the beginning. Over 20 years. Why is that a problem for Ubuntu?
[19:36] <DSdavidDS> I am getting an issue as described in this post: https://askubuntu.com/questions/881175/why-installtion-fails-when-preseeding-the-partitioning-method
[19:36] <DSdavidDS> Has anyone run into this issue?
[19:37] <leftyfb> DSdavidDS: you want #ubuntu-server
[19:38] <DSdavidDS> thanks
[19:47] <DSdavidDS> for visibility, if anyone can answer my question above, that'd be great
[19:53] <sams0x41> i've noticed that certain ubuntu package versions have 7: or 8: within them before a version e.g. "8:6.9.7.4+dfsg-13", does anyone know what that actually corresponds to in ubuntu?
[19:56] <oerheks> sams0x41, <upstream version>-<debian revision> see https://askubuntu.com/questions/620533/what-is-the-meaning-of-the-xubuntuy-string-in-ubuntu-package-names
[19:57] <sams0x41> ahhh perfect, thankyou
[19:58] <ducasse> sams0x41: iirc that first number is the epoch
[19:58] <ioria> yup
[20:01] <linext> leftyfb, i'm copying commands from a magazine and trying them.  #!/usr/bin/bash doesn't work and #!/bin/bash works
[20:01] <leftyfb> linext: and what OS does the magazine say the commands are compatible with?
[20:01] <sams0x41> thanks  ducasse what you said led me to this which explained everything https://serverfault.com/questions/604541/debian-packages-version-convention
[20:02] <linext> the examples are all in an ubuntu terminal screenshot
[20:02] <leftyfb> linext: then stop following anything in that magazine because they don't have a good grasp on linux distributions
[20:03] <ioria> /usr/bin/bash is redhat
[20:03] <leftyfb> ^
[20:03] <leftyfb> linext: what makes you say the examples are in an ubuntu terminal screenshot?
[20:03] <linext> it's in the magazine
[20:03] <linext> the window look like ubuntu
[20:03] <oerheks> url?
[20:04] <leftyfb> linext: "look like ubuntu" does not mean it is ubuntu. Any OS can be made to look like ubuntu
[20:04] <leftyfb> linext: you might want to read more carefully
[20:04] <linext> actually, on second thought... maybe I added /usr/ from searching online
[20:04] <sarnold> leftyfb,linext,ioria -- /usr/bin/bash is also in ubuntu:
[20:04] <sarnold> https://paste.ubuntu.com/p/KDDy3ZWHxM/
[20:05] <leftyfb> sarnold: tell me 20.04 doesn't just up and change something like that?
[20:05] <ioria> sarnold, not on my system... interesting
[20:05] <sarnold> leftyfb: it's also in eoan https://paste.ubuntu.com/p/zqpJB6b7bJ/
[20:05] <sarnold> leftyfb: I don't have disco any more to test with
[20:06] <ducasse> sarnold: same on disco
[20:07] <ioria> on xenial and bionic is only /bin/bash https://packages.ubuntu.com/xenial/amd64/bash/filelist
[20:07] <leftyfb> that is horrible if true. I can't seem to find any announcement about this
[20:08] <leftyfb> hm
[20:08] <leftyfb> https://packages.ubuntu.com/eoan/amd64/bash/filelist
[20:08] <leftyfb> that shows /bin/bash
[20:08] <ioria> yep
[20:08] <leftyfb> and disco https://packages.ubuntu.com/disco/amd64/bash/filelist
[20:08] <EriC^> !find /usr/bin/bash
[20:08] <leftyfb> sarnold: you got something screwy :)
[20:09] <EriC^> sarnold: what does "dpkg -S /usr/bin/bash" give?
[20:09] <ioria> maybe a link or something
[20:09] <ioria> same on focal https://packages.ubuntu.com/focal/amd64/bash/filelist
[20:09] <sarnold> EriC^: it's just the worst :)
[20:10] <sarnold> dpkg-query: no path found matching pattern /usr/bin/bash
[20:10] <sarnold> which busts my usual dpkg -S `which foo`
[20:10] <ioria> sarnold, ll /usr/bin/bash
[20:10] <sarnold> -rwxr-xr-x 1 root root 1183448 Nov 13 00:54 /usr/bin/bash*
[20:10] <leftyfb> I just installed 19.10 i a container, it's got /usr/bin/bash ... what's going on?
[20:10] <ioria> ok, i'am out
[20:11] <leftyfb> this is VERY bad. Did I miss an announcement?
[20:13] <sarnold> https://lists.ubuntu.com/archives/ubuntu-devel/2018-November/040536.html
[20:14] <sarnold> https://lists.ubuntu.com/archives/ubuntu-devel-announce/2018-November/001253.html
[20:15] <leftyfb> ok, at least that made a link
[20:16] <leftyfb> I was going to freak out if !#/bin/bash was going to break
[20:17] <sarnold> yeah that'd be chaos at the next level
[20:17] <sarnold> I hate the whole mess
[20:17] <sarnold> sure /bin and /usr/bin and /sbin and /usr/sbin is bloody annoying. but this feels worse.
[20:19] <ioria> we'll see
[20:19] <oerheks>  .. /bin is a symlink to usr/bin, similarly /lib and /sbin. oke, but i read somewhere ENV is important in this?
[20:27] <ActionParsnip> Hey guys. Is there an application that can set up the SSH tunnel and connect to VNC in one application, please?
[20:28] <ioria> ActionParsnip, an hint here maybe : https://www.techrepublic.com/article/how-to-connect-to-vnc-using-ssh/
[20:29] <ioria> not in one shot probably
[20:30] <ActionParsnip> Loria: yeah I can setup a tunnel OK. Was after a single app that did both bits in one hit 😎
[20:31] <ioria> aye
[20:37] <ActionParsnip> Oooh SSVNC seems to be the one
[20:37] <ioria> ActionParsnip, maybe here https://github.com/zrax/gsshvnc
[20:38] <ActionParsnip> Haha thanks :)
[20:39] <ioria> you're welcm
[20:48] <Max0815> does anyone have an idea how to increase a partition in decreasing direction of sectors?
[20:48] <Max0815> like  i have a swap partition infron of my / partition which i would like to delete and then increase the / partition to the left
[20:51] <Joel> any way to prevent the calculator from putting numbers in 3.39849238943892X10^12 notation? and display the full number?
[20:52] <ActionParsnip> Max0815: may want to use gparted in live CD / USB desktop
[20:53] <sarnold> man that is a parsnip of *action* -- give advbice and then quit eight seconds later
[20:53] <leftyfb> oerheks: well, I'm told the proper way is to call #!/usr/bin/env bash
[20:54] <Sven_vB> how can I chech which baudrates a usbTTY accepts, or the maximum baudrate?
[20:55] <leftyfb> Sven_vB: it's dependent on the end device, not the port
[20:55] <leftyfb> Sven_vB: in order to ask the device what baud rate it supports (if it even serves that information up), you would need to be speaking on the correct baud rate
[20:57] <leftyfb> Max0815: that is a decrease and then move
[20:58] <leftyfb> Max0815: sorry, move then increase
[20:59] <Max0815> leftyfb: ah ok so I would probably need to move all files to a different location?
[20:59] <Max0815> didnt try gparted yet
[20:59] <leftyfb> Max0815: no, you move the partition to the beginning of the drive and then expand it
[20:59] <Max0815> as i was hoping for a command line based solution
[20:59] <leftyfb> Max0815: you can also use the command line
[21:00] <leftyfb> Max0815: https://superuser.com/a/1390940
[21:00] <Max0815> oke deleting the partition and then creating a new isn't a big deal. But i guess my usual resize2fs approach wont work
[21:00] <Max0815> oh thx that link looks about right
[21:01] <leftyfb> Max0815: that only works on resizing a filesystem. Not moving or resizing partitions
[21:01] <leftyfb> (resize2fs)
[21:01] <Max0815> so create a new partiton, shift left, resize2fs
[21:01] <leftyfb> :/
[21:01] <leftyfb> Max0815: use gparted
[21:01] <leftyfb> drag and drop
[21:02] <Max0815> mhm i guess that would save me some time
[21:02] <leftyfb> Max0815: in gparted, right-click the partition and pick resize/move
[21:04] <Max0815> thx, will try that now :)
[21:05] <Max0815> if I dont come back my harddrive probably died (but i have backups lol)
[21:08] <Sven_vB> leftyfb, thanks!
[21:17] <danomite> I'm having trouble with my xubuntu (guest) VM graphics. Its very sluggish to follow the pointer and type. My Ubnuntu guest works great. I'm running Windows 10 Host with Hyper-V. Is there anything I should look at to understand why my Xubuntu VM's graphics are sluggish.
[21:19] <sarnold> danomite: check the video driver in use in both guests (xorg log)
[21:21] <oerheks> enable GPU passthrough? http://techgenix.com/enabling-physical-gpus-hyper/
[21:21] <oerheks> or how do those redmonds call it
[21:22] <danomite> oerheks: "redmonds" :D
[21:22] <Wally> Start your photocopiers.
[21:24] <elias_a> azeam: Thank you again. Seems like HP is not following the industry standard. :/
[21:41] <Max0815> leftyfb: thx for the gparted advice, worked pefectly + printed the terminal commands used ;)
[21:43] <lovetruth> hello
[21:43] <lovetruth> I have some really odd problem... can someone help me debug it?...
[21:44] <ducasse> !ask | lovetruth
[21:44] <oerheks> ask, wait and see :-)
[21:44] <lovetruth> I have some ubuntu box (18.04) and I have ssh and tomcat on it. I can access tomcat on port 80, but I cannot access the ssh on port 22!...
[21:45] <lovetruth> and netstat -netpaul says it´s listening on 0.0.0.0:22
[21:46] <lovetruth> I have an almost identical (cloned it in ESXi) ubuntu box and there it´s the very reverse: the port 80 for tomcat is not working (same, listening on 0.0.0.0:80 - using authbind, actually), but the 22 for ssh is working!
[21:46] <sarnold> are there firewall rules installed? check ufw or iptables -L output
[21:46] <lovetruth> I did ufw allow 22
[21:46] <lovetruth> and ufw allow 80
[21:47] <lovetruth> on both machines
[21:47] <sarnold> lovetruth: does your ISP or cloud provider have a firewall in place? blocking 22 and 25 and so on is pretty common
[21:47] <sarnold> lovetruth: aws calls it "security groups"
[21:48] <lovetruth> impossible - it´s all on LAN
[21:48] <tomreyn> test whether you can connect to the servers' WAN (if any, otherwise LAN) IP address by running     nc -vv IPADDRESS 80     and nc -vv IPADDRESS 22    on the server itself (replacing IPADDRESS).
[21:49] <lovetruth> and even nmap from another LAN device sees also only those ports on their respective machines (let´s say A.B.C.120 has 80 opened and working, but not 22        and        A.B.C.122 has 22 working, but not 80)
[21:49] <lovetruth> tomreyn, did that test
[21:50] <lovetruth> and I can netcat only from the terminal into the localhost 80     and localhost 22
[21:50] <lovetruth> can´t netcat from outside
[21:50] <lovetruth> it´s listening on 0.0.0.0:22 and 0.0.0.0:80
[21:51] <tomreyn> so nc from the server to it's WAN or LAN IP address does not work for either port?
[21:51] <lovetruth> if I try to ssh from the A.B.C.122 into A.B.C.120 it says     120
[21:51] <lovetruth> ssh: connect to host 192.168.111.120 port 22: No route to host
[21:51] <lovetruth>  
[21:52] <lovetruth> tomreyn, A.B.C.120 has 80 working , but not 22
[21:52] <lovetruth> and A.B.C.122 has 22 working, but not 80
[21:52] <sarnold> aha nice
[21:52] <sarnold> now you've got something to work with
[21:52] <sarnold> ip route ipaddress   can show you what interface was used
[21:53] <sarnold> or show that there's no interfaces that match that IP
[21:53] <lovetruth> but A.B.C.122 it´s a clone from A.B.C.120 (in ESXi)... and I checked the MAC - they are different... and ping works on all of them...
[21:53] <danomite> I checked /var/log/Xorg.0.log but didn't find much in comparison to my VM's. The command Xorg log only gave me an errror that "log" isn't an available option.
[21:53] <lovetruth> and it´s all on LAN
[21:53] <sarnold> danomite: sorry, I just don't know off-hand where xorg logs live these days :(
[21:54] <tomreyn> danomite: X nowadays runs as the restricted user and logs to their home
[21:54] <tomreyn> .local/share/xorg/Xorg.0.log
[21:56] <danomite> thanks
[21:56] <tomreyn> to confirm it's the latest:    uptime; grep -o 'Time:.*' ~/.local/share/xorg/Xorg.0.log
[22:00] <danomite> neither vm has a ~/.local/share/xorg directory. Ubuntu has ~/.local/share/xrdp/*.log
[22:02] <Betal> so I tryed again to update kernel, when booting I get "failed to start user manager for uid 121", what log file I should look for?
[22:05] <sarnold> Betal: that sounds a bit like a --system was forgotten on an adduser command
[22:05] <sarnold> Betal: I'm not sure what to suggest to repair though
[22:06] <Betal> sarnold: this is 99% video driver related or gdm, from old tests
[22:06] <lovetruth> where should I debug this odd thing?!...
[22:24] <lovetruth> so... did a tcpdump on port 80 on the machine A.B.C.122 and this is what I´ve got:  https://pastebin.com/aT17PSV0    What is your oppinion?...
[22:55] <Betal> sarnold: removing ampgpu-pro and reboting fixed the issue, probably kernel update and didn't reinstall so the driver, so obviously not going to work lol
[23:17] <sarnold> Betal: wow; I would *not* have guessed that. ever. :)
[23:17] <sarnold> Betal: nice
[23:38] <Squarism> uptime 98 effin workdays of hard ass java developement. I bow to linux and ubuntu creators
[23:41] <pragmaticenigma> Squarism: hello and welcome to the Ubuntu support channel. I'm glad to see you're have a positive experience. If you would like to chat or discuss how Ubuntu has been a great benefit to you, please join us in #ubuntu-offtopic :-)
[23:42] <Squarism> Got it!
[23:42] <lovetruth> sarnold, it was FirewallD blocking it :) I still have no idea how did that happened - as it suddenly stopped working only since yesterday... And only I and some java programmer know the root password... :) I wouldn´t imagine him trying to handle iptables or firewallD... at most ufw - could be!... :)
[23:48] <badcoder> hello
[23:49] <badcoder> I used to have this package available in debian: gcc-6-mips-linux-gnu
[23:49] <badcoder> but not in disco/ubuntu
[23:50] <badcoder> I am trying to get something equivalent, but gcc-9-mips-linux-gnu has "no installation candidate"
[23:50] <badcoder> am I missing any repo?
[23:51] <badcoder> I am not sure if the name is disco, its 19.10 ubuntu
[23:52] <sarnold> badcoder: let me look around my archive mirror
[23:53] <badcoder> tnx
[23:54] <badcoder> https://packages.ubuntu.com/disco-updates/gcc-9-mips-linux-gnu
[23:54] <badcoder> it should exist...
[23:54] <sarnold> badcoder: here's some packages to look for http://paste.ubuntu.com/p/my6CNKdwZW/
[23:56] <DSdavidDS> How would I go about automatically running commands after a custum ubuntu install?
[23:56] <sarnold> DSdavidDS: investigate cloud-init
[23:56] <badcoder> sarnold: can I get them with apt, or need I download them manually?
[23:57] <DSdavidDS> looks useful but It doesn't look like what I need. I need it to be independent of network connections
[23:57] <sarnold> badcoder: you may need to get them manually -- it looks like they existed in disco but that's hit end-of-life..
[23:57] <badcoder> >_>
[23:58] <Bashing-om> !info binutils-mips-linux-gnu eoan
[23:58] <oerheks> but disco .. is EOL?
[23:59] <badcoder> Bashing-om: how did you know that was the package? it totally smells like that
[23:59] <pragmaticenigma> !details | DSdavidDS : the more you explain, the better volunteers can support your use cases
[23:59] <badcoder> but... HOW DID YOU KNOW!?