[00:01] <sneakyimp> Can someone tell me if Ubuntu 18.04 installs MySQL or MariaDB when you do a package install for "mysql-server" ?
[00:01] <sneakyimp> I'd also appreciate any feelings you folks might have on MariaDB versus MySQL
[00:02] <N26pmXWs> hi everyone, Im trying to also join #linux but it keeps saying you have to be invited . Where do you get an invite ?
[00:02] <Bashing-om> nordmike: Get any additional hints ' sudo dpkg-reconfigure redmine ' ?
[00:03] <nordmike> Bashing-om: /usr/sbin/dpkg-reconfigure: redmine is broken or not fully installed
[00:04] <Bashing-om> !register | N26pmXWs
[00:04] <N26pmXWs> I registered this nick and identified with nickserv already though, is there another step bashing-om ?
[00:05] <Bashing-om> N26pmXWs: try as ##linux .
[00:06] <N26pmXWs> lol Ive never joined the channel and get message Cannot join channel (+b) - you are banned
[00:06] <N26pmXWs> is it because of using irccloud ?
[00:07] <amazoniantoad> sixie6e, solved the problem. safeboot was on
[00:07] <Bashing-om> nordmike: Naybe then try as ' sudo apt install --reinstall redmine ' ? - "apt depends redmine" shows a lot of dependencies on ruby too.
[00:08] <Bashing-om> N26pmXWs: Cannot say .. might get better answer in the #freenode support channel.
[00:09] <nordmike> Bashing-om: E: Internal Error, No file name for redmine:amd64
[00:10] <Bashing-om> nordmike: Yukkie ! "apt list redmine >> redmine/bionic,bionic 3.4.4-1 all " . So it is there in bionic !
[00:11] <nordmike> Yes, and it's installed: redmine/bionic,bionic,now 3.4.4-1 all [installed]
[00:11] <Bashing-om> nordmike: "apt show redmine" shows it is in the universe repo - insure that the universe repo is enabled on your system.
[00:12] <sixie6e> secureboot is often a problem amazoniantoad
[00:12] <Bashing-om> nordmike: Humm .. chasing our tail here but what does the package manager say ' dpkg -l redmine ' ?
[00:13] <sixie6e> amazoniantoad glad you got it worked out
[00:13] <amazoniantoad> sixie6e, thanks
[00:19] <nordmike> Bashing-om: There are universe in /etc/apt/sources.list.
[00:21] <nordmike> Bashing-om: dpkg -l redmine - https://paste.ubuntu.com/p/YGfr5J9vbR/
[00:23] <Bashing-om> nordmike: Well ! "rc  redmine" the rc means the package has been (r)emoved but (c)onfig files remain. So what is the end goal you are working toward ?
[00:46] <wyseguy> hey all, installing ubuntu on my thinkpad, its going to be used for devops, im not sure if i should to LTS or 19.04. Any reason to not go 19.04 or reason to go 19.04?
[00:47] <leftyfb> wyseguy: I would suggest LTS for stability and long term support. 19.04 will be unsupported in January
[00:48] <Bashing-om> wyseguy: Development means long term stability, And that is presently 18.04 LTS.
[00:48] <wyseguy> okay thanks, I was leaning that way... LTS. I dont need little bugs to keep me from being productive
[00:48] <wyseguy> thanks guys
[01:10] <Gallomimia> why am i seeing a swapfile in my home directory when i use ls?? trying to remove it reports it doesn't exist
[01:11] <Gallomimia> and what's with this? du: cannot read directory '/home/gallomimia/.dbus': Permission denied
[01:11] <Gallomimia> that file also does not exist
[01:12] <Gallomimia> ubuntu 19.04 not pleased with file tools which lie
[01:13] <Gallomimia> oh the swapfile is at root. why does this file keep reappearing??
[01:16] <rumini> Hi guys, I need help with a slow boot on a pretty fresh Ubuntu install. I have a clean install, no dual boot. I have an SSD drive with an EFI partition and a root partition for system. My HDD is for data only.
[01:16] <rumini> sda
[01:16] <rumini> ├─sda1 vfat          30F9-5EDA                            /boot/efi
[01:16] <rumini> └─sda2 ext4          8d11d65a-589b-4a32-a307-36e58774a70b /
[01:16] <rumini> sdb
[01:16] <rumini> └─sdb1 ext4          fec56a2e-3459-4fdf-936f-637a1f7cf596
[01:16] <Gallomimia> do you know what is slow about it?
[01:17] <rumini> systemd-analyze blame first two rows are:
[01:17] <rumini>  34.780s dev-sda2.device
[01:17] <rumini>          34.386s apparmor.service
[01:17] <rumini> I've spent about 5 hours to solve this, without success. Any help would be much appreciated!
[01:20] <xibalba> hmm, how do i logrotate files who's names i dont know exactly. like a /var/log/somedir/2019-07-03-app.log ? and rsyslog is changing it every aday
[01:21] <tomreyn> it's not rsyslog picking those bad names, it's the dameon
[01:22] <rumini> Gallomimia, is this information helpful?
[01:22] <xibalba> well maybe it's me since i made a template for that logger in rsyslog.conf, $template RemoteHost,"/var/log/remote_hosts/%HOSTNAME%/%$YEAR%-%$MONTH%-%$DAY%-%HOSTNAME%.log". maybe i need to start fixing this issue there tomreyn
[01:22] <tomreyn> rumini: post both   systemd-analyze blame    and   systemd-analyze critical-chain
[01:23] <xibalba> and have logrotate append the date/time when it rotates
[01:23] <Gallomimia> if you have logs that have date in the filename, do you really need to rotate them?
[01:23] <Gallomimia> rumini, i don't know much about all that at all really. it looks like your data drive is not mounted at all?
[01:23] <xibalba> Gallomimia , I just want to compress them. i guess I just take an approach w/ find, crontab and gzip
[01:23] <tomreyn> xibalba: or not have the dates on it in the first place?
[01:23] <xibalba> thats a good point Gallomimia
[01:24] <Gallomimia> i should think you can run a crontab with the program date. zip $(date dddmmyy)
[01:24] <rumini> https://pastebin.com/QbWkpyP7 and https://pastebin.com/9RFBQ50q
[01:24] <tomreyn> you can have rsyslog just compress files without rotating them if you want to.
[01:25] <xibalba> oh? let me look that up in the man page
[01:25] <Gallomimia> so, blame has given you a report that app armor is hanging things up? rumini?
[01:26] <tomreyn> rumini: do you have custom apparmor configurations then? this is definitely not standard.
[01:26] <rumini> Gallomimia, apparmor and sda2 service
[01:26] <rumini> tomreyn, I didn't customize anything
[01:27] <Firefishe> If anyone running ubuntu 18.04 (or similar) used the adb/fastboot for their own stuff, I have a weird problem, pasted here:  https://paste.ubuntu.com/p/KyCvcDbNxg/
[01:27] <tomreyn> rumini: is the system fully updated? do you have third party repositories or software configured / installed
[01:27] <Firefishe> used = uses
[01:29] <rumini> tomreyn it is updated, and I added third party ppa only recently
[01:29] <rumini> but the slow boot existed from the very beginning, just didn't have time to figure it out
[01:30] <tomreyn> rumini: can you post your system logs   journalctl -kb | nc termbin.com 9999
[01:31] <rumini> tomreyn, https://termbin.com/4axkf
[01:31] <tomreyn> xibalba: you'd have something like    /var/log/somedir/*.log { compress }    (but not "rotate")
[01:37] <rumini> tomreyn, is it useful?
[01:39] <tomreyn> rumini: yes, see this and following lines   júl 06 03:10:07 rumini-ubu kernel: watchdog: BUG: soft lockup - CPU#3 stuck for 23s! [nvidia-smi:440]
[01:39] <Gallomimia> what's with all that about the RAM
[01:39] <tomreyn> rumini: the nvidia driver is causing issues.
[01:40] <rumini> and can this have an effect on the sda2 device and apparmor..?
[01:40] <Gallomimia> it doesn't seem to be related
[01:41] <tomreyn> rumini: i'm more inclined to trust your kernel log on the causes than systemd-analyze
[01:42] <rumini> I have nvidia-driver-390 to my GM107 video card. I choosed that driver over nvidia-340 only because the 390 is tested. I change to the earlier one and reboot...
[01:42] <Gallomimia> you don't want 430?
[01:43] <rumini> it's not offered by default - is it okay to download it from nvidia website?
[01:43] <tomreyn> rumini: if you look at the lines surrounding the kernel module trace, you'll notice 'audit' (apparmor_parser) records both before and after this, which is what i think made systemd incorrectly attribute the time to apparmor
[01:44] <Gallomimia> no it is not okay to download from the nvidia website. we use the graphics-drivers ppa
[01:44] <Gallomimia> you have an intel CPU with integrated graphics?
[01:45] <sneakyimp> does Ubuntu 18 have a MySQL 8 package?
[01:46] <Gallomimia> júl 06 03:10:18 rumini-ubu kernel: WARNING: kernel stack frame pointer at (____ptrval____) in nvidia-smi:440 has bad value (____ptrval____)
[01:47] <rumini> Gallomimia, I added the ppa and changed to 430. I have i5-4590 cpu.
[01:49] <sappheiros> can deja dup be used to create a backup of lubuntu 18.10 on an external USB, then replace the OS via USB with 18.04.2, then restore the backed up files and settings? or will it not work because it's two different OS versions?
[01:49] <tomreyn> !YY.MM | sneakyimp
[01:49] <rumini> lspci shows 2 VGA controller, the NVIDIA and the Intel one.
[01:49] <usney> I got a question
[01:49] <Gallomimia> !ask
[01:50] <Gallomimia> i don't know much about having mixed GPU's but i've heard they can cause problems with each other
[01:50] <usney> if you accidentally typed my password into the user name but I didn't press enter should I change my password?
[01:50] <Bashing-om> !info  mysql-server-5.7 | sneakyimp No, default::
[01:50] <Gallomimia> usney, it's probably still safe
[01:51] <usney> okay cool thanks Gallomimia
[01:52] <tomreyn> rumini: if you were so far using the nvidia driver installed by the ubuntu software / updates utility, you should report a bug.
[01:53] <Gallomimia> seems really odd. tomreyn do those messages about ram testing look normal to you?
[01:55] <tomreyn> Gallomimia: i've seen them before but it's not very common.
[01:56] <tomreyn> note those lines, i think it's related:
[01:56] <Gallomimia> i guess it all happens really quickly. the first 5 pages or so are all within 1 second
[01:56] <tomreyn> júl 06 03:09:43 rumini-ubu kernel: mtrr_cleanup: can not find optimal value
[01:56] <tomreyn> júl 06 03:09:43 rumini-ubu kernel: please specify mtrr_gran_size/mtrr_chunk_size
[01:56] <Gallomimia> yeah that part seemed odd
[01:56] <Gallomimia> also: júl 06 03:10:18 rumini-ubu kernel: CPU: 3 PID: 440 Comm: nvidia-smi Tainted: P           OE     4.18.0-25-generic #26~18.04.1-Ubuntu
[01:57] <tomreyn> this part we already discussed
[01:57] <Gallomimia> and then at the end it says shutting down adapter
 rumini: if you were so far using the nvidia driver installed by the ubuntu software / updates utility, you should report a bug.
[01:58] <Gallomimia> include this kernal log i assume
[01:58] <rumini> Gallomimia, tomreyn thank you very much for your help, changing the nvidia driver solved the problem!
[01:58] <Gallomimia> no way really?
[01:58] <rumini> yep
[01:59] <rumini> boot time was around 2 minutes, now under a half
[01:59] <Gallomimia> well. it's still a really bad deal for ubuntu as a whole if the latest LTS has a serious boot problem in its default software
[01:59] <Gallomimia> the devs and the users would appreciate a bug submission
[01:59] <rumini> I'm not sure if the driver was enabled by default...
[02:00] <Gallomimia> i don't think so either. it says near the end of that log you posted it disabled and then shutdown the whole device
[02:00] <Gallomimia> uhm. is this a laptop or a desktop?
[02:00] <sappheiros> can deja dup be used to backup files and settings from 18.10 to be restored after replacing the OS with 18.04? (lubuntu)
[02:00] <rumini> it's a desktop
[02:01] <Gallomimia> well then the ultimate question: what adaptor is your display connected to??
[02:02] <Gallomimia> sappheiros, sorry but i don't know the answer. i do know however, that it's usually a really bad idea to hold onto any settings files from one release to another.
[02:03] <rumini> it's a dvi-hdmi cable (if I understood your question)
[02:03] <Gallomimia> i wouldn't even recommend using do-release-upgrade to install a new one
[02:03] <Gallomimia> rumini, you did not. is it plugged into the motherboard or the display adapter?
[02:03]  * sappheiros is not familiar with do-release-upgrade
[02:03] <Gallomimia> it's a tool to update, for example from 18.04 to 18.10
[02:04] <Gallomimia> i highly recommend a clean install for a new release. from personal experience
[02:04] <rumini> can I check it without opening the computer?
[02:04] <Gallomimia> yes. look at the back
[02:04] <Gallomimia> your graphics card is separate from the motherboard, yes?
[02:04] <rumini> yes
[02:04] <Gallomimia> okay
[02:05] <Gallomimia> there's a port on the motherboard, to use the intel GPU
[02:05] <Gallomimia> and then... there's the graphics card. which is nvidia
[02:05] <Gallomimia> guess which one you want to use?
[02:05] <rumini> I want to use the nvidia card
[02:05] <Gallomimia> so. plug it into that port
[02:06] <Gallomimia> a GPU on a dedicated graphics card doesn't get to play with the ports on the motherboard
[02:07] <rumini> I think it's there... there are 3 dvi ports. The first one is next to the usb ports, ps2 port, etc. I guess that'd be the motherboard, right?
[02:07] <Gallomimia> right
[02:07] <rumini> Now my monitor is plugged into the second dvi port
[02:08] <Gallomimia> the card has a slot that's perpendicular to the motherboard
[02:08] <Gallomimia> and then you might see a bunch of other "blank" slots with metal plates covering them
[02:08] <tomreyn> rumini: so you installed a different nvidia driver now, can you show another log?    journalctl -kb | nc termbin.com 9999
[02:09] <Gallomimia> rumini, http://bucarotechelp.com/computers/anatomy/images/backpanel.jpg
[02:09] <rumini> https://termbin.com/in3ua
[02:09] <Gallomimia> see the computer here? it has onboard video only
[02:10] <tomreyn> Gallomimia: http://my-fuzzy-logic.de/blog/index.php?/archives/41-Solving-linux-MTRR-problems.html is useful for understanding the many lines starting "gran_size" (and sometimes *BAD*)
[02:10] <Gallomimia> and then you can see the slots at the bottom
[02:10] <DanDare> Where ubuntu send prints when I press printscreen? It seems its not in the clipboard. It makes a camera click sound but its not in clipboard accordingly gimp
[02:10] <Gallomimia> DanDare, it's in home/Pictures
[02:11] <rumini> Gallomimia, I have 2 slots down there.
[02:11] <DanDare> nice! thanks Gallomimia
[02:11] <Gallomimia> rumini, https://thumbs.dreamstime.com/z/old-computer-case-back-side-atx-white-background-67863693.jpg here's one with a dedicated graphics card. and also a LAN card, and one blank is missing
[02:11] <Gallomimia> most modern graphics cards are double-wide
[02:12] <tomreyn> rumini: okay the memory allocation issue is still present, this is probably a firmware issue with either the mainboard of graphics card. we can try to work around it.   can you show   cat /proc/mtrr | nc termbin.com 9999
[02:12] <Gallomimia> so they take up two slots, and have ports on both sometimes
[02:12] <rumini> https://termbin.com/1qzx
[02:16] <tomreyn> rumini:   run    gedit admin:///etc/default/grub
[02:16] <Gallomimia> at this point i want to recall if i've seen anyone disable their integrated GPU and run only the dedicated
[02:17] <tomreyn> rumini: then look for the line starting GRUB_CMDLINE_LINUX_DEFAULT=
[02:18] <tomreyn> rumini: then place this in the quotes (append adding a blank space if something is already there):  mtrr_spare_reg_nr=1 mtrr_gran_size=64M mtrr_chunk_size=64
[02:19] <rumini> I have 2 lines starting with GRUB_CMDLINE_LINUX_DEFAULT=
[02:19] <rumini> GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
[02:19] <rumini> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
[02:19] <rumini> GRUB_CMDLINE_LINUX=""
[02:19] <Gallomimia> any of them got # at the start?
[02:19] <rumini> no
[02:19] <Gallomimia> nope. that last one is NOT default
[02:19] <tomreyn> rumini: no, you only have one line with GRUB_CMDLINE_LINUX_DEFAULT=
[02:20] <tomreyn> rumini: after editing, save the file and close the editor. if any errors occur, point them out. otherwise, run:   sudo update-grub   and reboot
[02:20] <Gallomimia> what's with my ls command giving things with ' ' single quotes around them?
[02:20] <rumini> oh, you are right, sorry, it's 4 am here :)
[02:21] <tomreyn> Gallomimia: those will be file system objects contaiing special characters such as blanks
[02:21] <Gallomimia> they're mp3's
[02:21] <Gallomimia> and it's.... ALL of them. dirs too
[02:21] <tomreyn> post one example
[02:22] <Gallomimia> ah. there's one that isn't. its like the only thing with no special chars
[02:22] <Gallomimia> space is a special char
[02:22] <Gallomimia> 'Unknown Artist'
[02:22] <hggdh> yep
[02:23] <Gallomimia> k. the only ones with no single quotes have single words and no special characters
[02:23] <Gallomimia> which in a music collection is very rare
[02:24] <tomreyn> it's not uncommon to replace blank spaces by underscores.
[02:24] <Gallomimia> break all fingers of ye who does this.
[02:24] <rumini> tomreyn, rebooted, the log is here: https://termbin.com/s407
[02:25] <Gallomimia> finally used jdupes to remove.... i think a complete duplication of my whole collection
[02:25] <Gallomimia> almost complete
[02:25] <Gallomimia> except for a few files that are missing blocks in the middle of songs
[02:26] <Gallomimia> those are easy tho, since they're actually smaller in size
[02:26] <Gallomimia> and i think only an album or so
[02:27] <Gallomimia> good job tomreyn. that log file looks a lot prettier
[02:27] <tomreyn> rumini: looks like we worked around your bios bug successfully. if you'll run into massive graphics issues (stalls, screen going dark etc., system reboots during heavy graphics operation) you should revisit these kernel parameters we set in /etc/default/grub now.
[02:27] <rumini> absolutely, thank you :))
[02:28] <Gallomimia> one more thing about the DVI port you're plugged into rumini. there's a section of the port that has a block of 4 larger pins. the port without those is the digital, and the one with them is analog
[02:28] <tomreyn> rumini: there's a "beta" bios which is one version above the oner you have now. might be worth a try if you can find a way to upgrade it (may involve booting / installing Ms Windows).
[02:28] <Gallomimia> depending on your display, you probably want digital
[02:28] <tomreyn> https://www.gigabyte.com/Motherboard/GA-B85M-D3H-A-rev-10#support-dl-bios
[02:29] <Gallomimia> gigabyte boards usually have an in-bios upgrade system. mine does
[02:29] <Gallomimia> did not need to muck around to update it
[02:29] <Gallomimia> put the update file on a USB stick and did it all from inside bios
[02:30] <rumini> tomreyn, I did a bios update on my previous pc, even installed win, and it became a brick...
[02:30] <Gallomimia> LOL! okay then
[02:30] <Gallomimia> might not want to go that route just yet
[02:30] <rumini> yep, it would hurt :)
[02:30] <tomreyn> rumini: up to you. if it works fine as it is, just keep it that way.
[02:31] <rumini> Gallomimia, I have a big monitor and my roommates like to play games - so digital should be fine, right?
[02:31] <tomreyn> you loose some RAM now, but not much
[02:31] <Gallomimia> uh. its better, i think. only if your monitor handles it. it should
[02:31] <Gallomimia> my big monitor is actually DisplayPort
[02:32] <tomreyn> "losing 94MB of RAM"
[02:32] <Gallomimia> my small monitor is hooked up with DVI. and my tv upon which i show the chat, is HDMI
[02:33] <rumini> Now I see errors regarding the nvidia driver... It seems that it's not active, as there are missing dependencies...
[02:33] <Gallomimia> hm. that doesn't agree with your kernel log
[02:33] <Gallomimia> try running nvidia-settings
[02:34] <rumini> It shows 430.26
[02:34] <Gallomimia> and.... it's on? and active?
[02:34] <Gallomimia> the nvidia settings app is a graphical program
[02:35] <rumini> yes I know
[02:35] <rumini> There are lot of info here, but I don't see if it's active or not
[02:36] <Gallomimia> i think.... click GPU0
[02:36] <rumini> I did
[02:37] <Gallomimia> it shows Display Devices at the bottom?
[02:37] <rumini> yes. the monitor
[02:37] <Gallomimia> and then the name of your monitor. brand and model
[02:37] <rumini> yes it does
[02:37] <Gallomimia> and in brackets (how its connected)
[02:37] <Gallomimia> DVI-D-0 probably?
[02:37] <rumini> yes, dvi-d-0
[02:37] <rumini> :)
[02:37] <Gallomimia> seems pretty golden to me
[02:38] <Gallomimia> what's GPU utilization say?
[02:38] <rumini> 0%
[02:38] <Gallomimia> does it have PowerMizer on the left?
[02:38] <rumini> yes
[02:38] <Gallomimia> does it show your performance level?
[02:39] <rumini> yes
[02:39] <rumini> there are level 0 and 1
[02:39] <rumini> 1 is greyed out
[02:39] <Gallomimia> that means its at 0
[02:39] <Gallomimia> slower clock speed because you're not doing anything hefty
[02:40] <Gallomimia> i believe it's time to fire up a game and "test" it for an hour or two
[02:41] <sptz> Question about the use of the DISPLAY variable: I usually open videos on a 18.04 thats connected to my TV. If i SSH in and set DIPLAY to :0 i get mpv playing on the remote computer. But it looks like it just open the video on the TV diplay in window mode if that where it was open last. If i open with the -fs parameter it just fullscreen on the laptop not on the computer. How can i force it to use the external
[02:41] <sptz> screen?
[02:41] <sptz> *not on the connected TV
[02:42] <rumini> when I click on "Fix broken packages" in synaptic, it wants to install libnvidia-gl-430. But it can not, as it comes back with an error: "E: /var/cache/apt/archives/libnvidia-gl-430_430.26-0ubuntu0~gpu18.04.1_amd64.deb: new libnvidia-gl-430:amd64 package pre-installation script subprocess returned error exit status 2"
[02:46] <rumini> https://termbin.com/v7ha
[02:46] <rumini> That's the error message when I try to fix with apt.
[02:47] <Gallomimia> a dpkg --fix-dependencies might be in order?
[02:48] <rumini> this command doesn't work
[02:48] <rumini> unknown options
[02:48] <rumini> *option
[02:49] <Gallomimia> i guess i forget exactly how it goes
[02:50] <tomreyn> rumini: can you post the output of this?   sudo /bin/true && cat &>/tmp/aptlog < <(sudo apt-get -qqy update 2>&1; apt-cache policy 2>&1; sudo apt-get -syV full-upgrade 2>&1;); nc termbin.com 9999 </tmp/aptlog; rm /tmp/aptlog
[02:51] <tomreyn> rumini: oh and before you run this, run this:
[02:51] <tomreyn> export LANG=C
[02:51] <jojero> Hello
[02:52] <tomreyn> hi jojero
[02:52] <rumini> https://termbin.com/ng4uv
[02:52] <aiena> I am doing a kernel driver tutorial the author provided an image file I need to install the drivers into this image file. If I mount it there is no space on it. So it seems like I need to enlarge the base image file first.
[02:52] <aiena> I was just trying to investigate what file system is on the image file
[02:53] <aiena> fdisk -L says the filesystem type is "Linux"
[02:53] <aiena> I am familianr with ext2, ext4 etc. but what is the "Linux" file system and how do you resize it
[02:54] <tomreyn> rumini: run this, copy and paste the output to a !pastebin :   sudo apt --fix-broken install
[02:54] <tomreyn> rumini: ... on the same terminal window, or on a new one but then run    export LANG=C   again
[02:55] <anydomain> Hello ... what steps need to be taken to add the old repository (I don't know specific terms) to Ubuntu 14.04 so I can update packages.   Can someone link me to the web page discussing that please?
[02:55] <tomreyn> aiena: fdisk handled partition tables, not file systems
[02:56] <Gallomimia> aiena, linux file system is usually ext. probably version 4. it's quite easy to resize. i recommend following a tutorial, find with google
[02:56] <tomreyn> !eol | anydomain
[02:56] <jojero> tomreyn Im having a problem Im not sure if its because terminal is small. But I can't see the git branch display.
[02:57] <tomreyn> anydomain: 14.04 is EOL, not supported here. we can only help you do an unsupported !eolupgrade
[02:57] <anydomain> I understand that ubottu, but i need specific information ... :)
[02:57] <rumini> https://pastebin.com/ccnyXh4R tomreyn
[02:57] <tomreyn> !eolupgrade
[02:57] <Gallomimia> end of life is just that. end of life
[02:57] <anydomain> Understand tomreyn, but can you at least point me to the repository I need to add?
[02:58] <aiena> tomreyn: , Gallomimia my difficult is how to resize the file
[02:58] <tomreyn> anydomain: you are probably lucky and can just upgrade by running  do-release-upgrade
[02:58] <aiena> I don't understand losetup well there is a -c option
[02:58] <anydomain> no, I need to add the repository which name has eluded me ...
[02:58] <aiena> do I need to use that to resize the file
[02:59] <Gallomimia> trusty tahr
[03:00] <anydomain> Yes, for trusty tahr gallomimia.
[03:00] <aiena> the image is DOS/MBR boot img and the first partition starts at 63 with sector size of 512 so I mount it with an offset of 512*63 but I dont't know how to resize the image file and the filesystem on it
[03:00] <tomreyn> rumini: which driver do you want to (try to) use, nvidia-340 or nvidia-418?
[03:00] <aiena> it easy to find instructions to resize the fs but i don't know the first step i.e. resizing the lo device safely
[03:00] <aiena> *the file
[03:01] <tomreyn> anydomain: does "sudo apt-get update" print errors at this time?
[03:02] <anydomain> Yes, indeed.  Because the files have been moved to a different location by Canonical.
[03:02] <rumini> tomreyn, 430
[03:02] <tomreyn> rumini: then switch to a !tty and run  sudo dpkg --purge nvidia-340*
[03:02] <anydomain> due to eol ... my question is where ?  Not like this is a secret ... this channel has answered this question in the past.
[03:03] <Gallomimia> i can't say it more than one more time anydomain. it's time to upgrade. in fact i strongly recommend a clean install. back up your files before something you do causes loss
[03:03] <tomreyn> anydomain: can you show this:   sudo /bin/true && cat &>/tmp/aptlog < <(sudo apt-get -qqy update 2>&1; apt-cache policy 2>&1; sudo apt-get -syV full-upgrade 2>&1;); nc termbin.com 9999 </tmp/aptlog; rm /tmp/aptlog
[03:04] <anydomain> Gallomimia .. with all due respect, no crap.  You do not know nor do I care to explain the underlying issue ... but if you want me to waste the time doing so, I can.
[03:04] <tomreyn> anydomain: the only reason i'm offering to help here is because you'll need a working apt to carry out a release upgrade from an EOL release.
[03:04] <aiena> tomreyn: thanks for the tips
[03:05] <anydomain> thank you tomreyn
[03:05] <Gallomimia> with the same amount of respect, not explaining the issue is not going to get you anywhere. wasting time is for sure
[03:05] <aiena> it seems like the img file has a DOS partition table and one ext2 file system as found out by using "lsblk -f" after mounting it.
[03:06] <Gallomimia> i in fact have an old install of 14.04 on this machine. i tried messing with it to get it working. in the end it was easier to drop a different HD in and clean install on that.
[03:06] <tomreyn> aiena: is this maybe a homework assignment?
[03:06] <aiena> Many suggest using dd and adding some data to the end of file
[03:06] <rumini> tomreyn, it says that it's not installed so it ignores the command
[03:06] <Gallomimia> ah that's a decent option
[03:06] <aiena> tomreyn: self assigned homework
[03:06] <aiena> but I am struggling with it I am not an engineering student
[03:07] <tomreyn> rumini: please post the url returned by :   dpkg -l *nvidia* |& nc termbin.com 9999
[03:07] <aiena> tomreyn: I am trying to follow along with a driver tutorial and that person uses qemu his commands are not working
[03:07] <tomreyn> aiena: is this actually about ubuntu?
[03:07] <aiena> so I am trying to see how I can make the image larger so his commands work I am self learning
[03:08] <aiena> tomreyn: I don't know I am on an ubuntu system and only use ubuntu
[03:08] <aiena> i think its more of a general linux question non distro specific though
[03:08] <wolfheart> Hi, i just done a rootkit checker scan and it says these folders/files are suspicious :- https://pastebin.com/gxvJgY2t
[03:09] <tomreyn> aiena: i think so, too. it's not really an ubuntu support issue, which this channel is about. maybe ask in ##linux rather
[03:09] <rumini> https://termbin.com/v5b8
[03:09] <anydomain> gallomimia and tomreyn ... the end user has to update those packages so that he can upgrade the software so that he can upgrade OS .... https://paste.ubuntu.com/p/W7d5K93T3P/
[03:09] <tomreyn> aiena: but feel free to re-ask here and provide command output on a !pastebin if you can't get help there
[03:10] <aiena> I need to head out now. I was trying to resolve it here after trying a lot by myself. But later maybe. Thank you/
[03:11] <anydomain> Ahh finally, I stumbled upon my own answer ... for your knowledge gallomimia .... https://askubuntu.com/questions/91815/how-to-install-software-or-upgrade-from-an-old-unsupported-release
[03:12] <tomreyn> rumini: pass all the packages containing "390" listed on this output on lines starting with either "rc" or "ii" as additional arguments to this command and show the full resulting command you ran and its output:    sudo dpkg -P
[03:13] <tomreyn> anydomain: what you posted is not the output of the commands i suggested you to run.
[03:13] <anydomain> I cannot run that as I am not the end user. tomreyn
[03:13] <Gallomimia> i conveniently enough named my install LV's after the release codename. i was just looking at them a few minutes ago
[03:14] <tomreyn> anydomain: what are you then?
[03:15] <Gallomimia> and now i have to delete my old installs and copy my current on inside my LVM container
[03:15] <anydomain> the guy trying to walk the end user through this clusterfu&& that he caused by not upgrading his sh!t before it became EoL.
[03:15] <tomreyn> anydomain: by doing what's written on this askubuntu answer you'll break updates on this system.
[03:16] <Gallomimia> quite an involved process. anyone feel like holding my hand thru a bunch of changes to my fstab and such?
[03:16] <Gallomimia> is it still crypttab for automounting LUKS containers?
[03:18] <tomreyn> Gallomimia: yes, this is still configured in /etc/crypttab. i won't walk you through it right now, though, need some sleep soon.
[03:19] <Gallomimia> yeah i think me too
[03:19] <Gallomimia> i have to copy home out of the way first...
[03:20] <Gallomimia> don't drink and root. applies to very-tired also
[03:22] <tomreyn> rumini: any luck with this, did i express myself well enough?
[03:23] <rumini> yes
[03:23] <rumini> here is the new list: https://termbin.com/u1fj5
[03:23] <rumini> but I got the same error messages
[03:24] <anydomain> tomreyn --- breaking updates to fix updates is a good trade off in this circumstance.
[03:24] <tomreyn> rumini: looks good, i think you can run   sudo apt update && sudo apt -f install   again now
[03:24] <rumini> same error
[03:25] <Gallomimia> backup files and clean install, before it goes REALLY wrong.
[03:25] <tomreyn> anydomain: what i mean is that you'll effectively break apt, previnting installation of any packages, not just updates, not just preventing the release upgrade
[03:25] <tomreyn> rumini: can i see it again, though?
[03:26] <tomreyn> anydomain: i.e you're effectively making things worse.
[03:26] <rumini> sure tomreyn : https://pastebin.com/sJFeUj8C
[03:26] <anydomain> tomreyn and gallomimia indeed ... once the packages are 'updated' then a backup can be made so as the entire thing can be wiped and started anew.
[03:27] <tomreyn> wolfheart: what's "rootkit checker"? i know of "rkhunter" and "chkrootkit"
[03:27] <wolfheart> tomreyn: i used chkrootkit
[03:27] <anydomain> but it is necessary to get to that point ... it doesnt matter how it effects the system going forward as it is going to be wiped and reinstalled with 18.04.
[03:27] <Gallomimia> i am at a strong loss to explain why you two don't do a backup right now
[03:28] <anydomain> for this reason gallomimia .....   When upgrading, you must first upgrade your existing Ubuntu 14.04 Mail-in-a-Box box to the latest release supporting Ubuntu 14.04 --- that's v0.30 --- before you migrate to Ubuntu 18.04. If you are running an older version of Mail-in-a-Box which has an old version of ownCloud or Nextcloud, you will not be able to
[03:28] <anydomain> upgrade your data because older versions of ownCloud and Nextcloud that are required to perform the upgrade cannot be run on Ubuntu 18.04.
[03:29] <Gallomimia> 0o
[03:29] <Gallomimia> put a thumb drive in, back up your important files
[03:30] <Gallomimia> the software you need to back up your important files is called cp
[03:31] <tomreyn> rumini: sudo dpkg-divert --package nvidia-340 --remove /usr/lib/x86_64-linux-gnu/libGL.so.1.distrib
[03:31] <Gallomimia> seriously. stop messing around.... and backup your important files!
[03:31] <Gallomimia> or if it's not backed up, i guess it's not important to you?
[03:31] <anydomain> there are no important files other than the backup that cannot be created until the system is updated to a point that the files shown in the paste can be updated ...
[03:31] <Gallomimia> i am done
[03:31] <N26pmXWs> lol
[03:31] <rumini> No diversion 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.distrib by nvidia-340', none removed. tomreyn
[03:32] <tomreyn> rumini: sudo dpkg-divert --package nvidia-340 --remove /usr/lib/x86_64-linux-gnu/libGL.so.1
[03:32] <anydomain> Yes, you have a one track mind and this situation requires thinking outside the box gallomimia ... thanks anyways.  have a good one. :)
[03:32] <Gallomimia> your important files are in your home directory. maybe you need special settings like fstab, or a keyfile that's in a specific spot? other than that, it's all useless
[03:33] <rumini> tomreyn, Removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/x86_64-linux-gnu/libGL.so.1.distrib by nvidia-340'
[03:33] <tomreyn> wolfheart: either tool commonly returns false positives, read the documentation, and search the web on what it reports. be sure to use the latest upstream version (i would not recommend using the ubuntu packaged versions of these).
[03:33] <rumini> But still can't be upgraded
[03:35] <tomreyn> rumini: whats the new output?
[03:35] <leonardus> what is usually the bottleneck with boot times, cpu speed? drive speed?
[03:35] <rumini> the same
[03:36] <tomreyn> rumini: it wasn't identical last time you said it was identical, so excuse me if i have my doubts again ;)
[03:36] <Gallomimia> leonardus, it's often drive. we were just troubleshooting one that was caused by bad drivers and a bios bug
[03:36] <rumini> oops
[03:36] <rumini> I just see this line in red: dpkg-divert: error: mismatch on package
[03:36] <leonardus> Gallomimia: so if I get one of those new pcie gen 4 drives that are coming out with Zen 2, my boot speed will be significantly faster?
[03:36] <Gallomimia> i learned a lot. rumini and tomreyn are still sorting out some old driver
[03:36] <Gallomimia> depends. what are you booting from now?
[03:37] <tomreyn> rumini: if you could show the full output of   sudo apt update && sudo apt -f install   again this would help me help you
[03:37] <leonardus> Gallomimia: sandisk ssd plus 120gb
[03:37] <rumini> yes, I'm doing it
[03:37] <tomreyn> :) ok
[03:37] <Gallomimia> eh. i wouldn't say significantly faster
[03:37] <Gallomimia> how fast does it boot now?
[03:37] <rumini> https://pastebin.com/u8s7yVJH
[03:38] <leonardus> maybe 15 seconds
[03:38] <Gallomimia> yeah. shave 3 more seconds off it?
[03:38] <tomreyn> rumini: sudo dpkg-divert --package nvidia-340 --remove /usr/lib/x86_64-linux-gnu/libGL.so
[03:38] <tomreyn> rumini: then show the full output of   sudo apt update && sudo apt -f install   again
[03:39] <tomreyn> rumini: the reason this is so tricky is that packaging of the driver you're trying to use is still under development
[03:40] <rumini> https://pastebin.com/aDav38bi
[03:40] <Gallomimia> anyway leonardus it's starting to look like your boot time would be CPU bound at that point
[03:41] <leonardus> are there any "built-in" waits during boot, that even with a theoretical "infinitely fast" computer there will still be that time?
[03:41] <tomreyn> rumini: sudo dpkg-divert --package nvidia-340 --remove /usr/lib/x86_64-linux-gnu/libEGL.so.1
[03:41] <tomreyn> rumini: then show the full output of   sudo apt update && sudo apt -f install   again
[03:41] <Gallomimia> there's a few that can be turned off. grub timer....
[03:41] <tomreyn> rumini: if you notice the pattern here then you can just drive it forwards alone, too
[03:41] <Gallomimia> you've probably got them off
[03:42] <Gallomimia> i have some kind of infinite-wait in mine that i need to sort out still
[03:42] <tomreyn> rumini: we're removing all the nvidia-390 diverts for any files which are reported by   sudo apt-f install
[03:42] <wolfheart> tomreyn, ok thank you
[03:42] <rumini> alright, I'll try to keep on with that
[03:45] <rumini> tomreyn, succeed!!
[03:45] <rumini> Thank you very much!
[03:45] <tomreyn> wolfheart: you're welcome. i think these files are pointed out because they're dotfiles (starting with a dot, which means they should be hidden by default when directory contents are viewed)
[03:46] <tomreyn> rumini: great. you shoud also    sudo apt-get full-upgrade && sudo apt --purge autoremove
[03:46] <rumini> tomreyn, Gallomimia how could I invite you to a beer? :)
[03:48] <tomreyn> rumini: pass the money to someone who needs it instead, or help someone else with what you know (or learnt today, if anything)
[03:48] <tomreyn> rumini: thanks for the offer, though ;)
[03:48] <Gallomimia> i agree. /pay tomreyn
[03:49] <Gallomimia> as for the beer thanks but i'm a recovering alcoholic
[03:49] <Gallomimia> i learned a lot just by following along
[03:49] <wolfheart> hi, i am trying to use foremost as root user and when i press enter after this command nothing happens, please help? :- foremost  -t mp4,avi,png,jpg,mkv,mov,mpeg,wma,m2ts,mts -o recovered -i /dev/sda1
[03:50] <Gallomimia> does it give you a prompt, or just blank?
[03:51] <wolfheart> Gallomimia, just gives me the help menu :(
[03:51] <Gallomimia> i guess you formed the command badly?
[03:53] <wolfheart> Gallomimia, it seems a lot of people use that command from the youtube videos i have seen, i have also seen it in other places
[03:53] <Gallomimia> i just don't know the program at all
[03:54] <Gallomimia> is it interesting?
[03:54] <tomreyn> mkae sure the output directory exists
[03:55] <tomreyn> "mkv" doesn't seem to be a valid argument to -t according to http://manpages.ubuntu.com/manpages/disco/en/man8/foremost.8.html
[03:56] <tomreyn> nor "mpeg", "wma", "m2ts", "mts"
[03:57] <wolfheart> hmm guess it don't support those file types
[03:57] <tomreyn> that's unless --help says differently, or those format headers are actually present.
[03:57] <Gallomimia> mpg is
[03:57] <Gallomimia> not mpeg
[03:57] <tomreyn> they'd be specified in /etc/foremost.conf
[03:58] <Gallomimia> there's an all as well
[03:58] <wolfheart> ok thank you :)
[03:58] <Gallomimia> yes. when in doubt RTFM for sure
[03:59] <wolfheart> got it working, just trying to recover some holiday photos from this year :)
[03:59] <Gallomimia> !backup wolfheart
[03:59] <Gallomimia> doh.
[03:59] <Gallomimia> !backup | wolfheart
[04:00] <Gallomimia> bah. that's not a nag message. just some manuals.
[04:00] <tomreyn> i like foremost, but there's also photorec (comes packaged with testdisk) and ext2grep
[04:00] <Gallomimia> maybe if you know it's all jpg files you want to specify just that?
[04:01] <tomreyn> * ext3grep
[04:01] <tomreyn> apt show forensics-all
[04:02] <tomreyn> ^ for more options
[04:02] <Gallomimia> also, i hope you're not recovering to the same drive. possibly overwriting what you're trying to save
[04:02] <sappheiros> would `rsync -r source destination` copy all files from local source to (local?) external USB drive?
[04:03] <sappheiros> and preserve directories?
[04:03] <Gallomimia> i believe you want -A also?
[04:03] <Gallomimia> i'm not sure i tend to avoid rsync
[04:03] <Gallomimia> cp usually does what i want
[04:04] <Gallomimia> the usage is the same as you listed. both commands assume you have formatted and mounted the USB drive appropriately
[04:05] <Bashing-om> sappheiros: An example to rsync to an external USB device: ' rsync -aiv --exclude=".*" --exclude uwn /home/sysop/ /media/sysop/store/ ' .
[04:07] <sappheiros> what does -C mean in rsync about excluding as CVS does?
[04:08] <Gallomimia> strongly recommend man page
[04:08] <sappheiros> Bashing-om: i am trying to rsync 'home' (all my files + falkon + weechat settings) to external USB
[04:08] <sappheiros> Gallomimia: i'm asking that after looking at it ... they seem to assume the reader knows what 'CVS' means
[04:08] <sappheiros> but V and S are not options
[04:09] <Gallomimia> CVS is a type of program for managing source code. concurrent-versioning-system
[04:09] <sappheiros> oh, -S is --sparse
[04:09] <wolfheart> Gallomimia, its more than jpg files i am looking for, hence mov and mp4 etc :)
[04:11] <Gallomimia> wolfheart, i hope you find them... and i hope you'll consider backups of such files to be real important in the future. software can be redownloaded. settings can be reconfigured. music and movie files can be found again. pictures and footage you shoot can never be had again.
[04:13] <Bashing-om> sappheiros: What is the mountpoint of the external USB device ?
[04:13] <wolfheart> Gallomimia, i never had a chance to back them up, both my o/s got destroyed while on holiday before I could back them on ( I had to wait till i got back home to fix it all) its upsetting as i had videos of a pirate festival and sword fighting etc and also a day out with thomas the tank engine what i was going to show my 2 yr old nephew :(
[04:14] <sappheiros> Bashing-om: /media/ i think
[04:14] <Gallomimia> aw. i'm definitely going to do some kind of course about backing things up.
[04:15] <Gallomimia> the concept of computer "files" has gone out of the general knowledge of the average user. badly
[04:15] <sappheiros> why should i use -o (part of the -a option)? would it be a problem if i backed up the data with -o assigning my current username as owner of the files and then copied the data to a different installation with a different username?
[04:15] <Gallomimia> here is probably why i would just use cp -r source destination
[04:16] <Gallomimia> rsync has so many complex options.... cp would be done by now
[04:16] <sappheiros> LOL
[04:16] <sappheiros> yeah ... ...
[04:16] <Mr_Cyclops> hello, need the best option (tool/cli) to shred an old disk drive, thank you
[04:16] <wolfheart> Gallomimia, since I was born in the 80's i remember the old noisy tape drives and the good old day of dial up bbs's ( i still use bbs's today via telnet ) :)
[04:16] <Bashing-om> sappheiros: Thinking is not good here .. as rsync is very exact. You do want to tell rsync exactly what it is to do :)
[04:16] <Mr_Cyclops> Also, is /dev/zero using dd in 1 pass is enoough?
[04:16] <Gallomimia> like i said. i don't understand the program enough to know why you're doing rsync
[04:16] <sappheiros> Bashing-om: i'm thinking (...?) maybe cp -r is safer for me
[04:17] <Gallomimia> Mr_Cyclops, no. oddly enough the program you're seeking is actually called shred
[04:17] <sappheiros> i just want to "copy my files to external USB drive" (and also weechat settings and falkon passwords)
[04:17] <Gallomimia> there's another called secure-delete i think. it needs to be installed it has more options
[04:17] <sappheiros> i almost did it with the GUI -- pcmanfm-qt -- but it estimated 63 minutes
[04:17] <sappheiros> i was trying to do it faster than that
[04:17] <Mr_Cyclops> Gallomimia, yeah I found it amongst other options online. How many passes should be enough?
[04:17] <Gallomimia> the opinions on that vary.
[04:18] <sappheiros> is cp -r faster than right-click copy right-click paste?
[04:18] <Gallomimia> i used to work for a data sanitizing department dealing with medical records. i think they required 7. or it might have been 3
[04:18] <Gallomimia> actually for very sensitive data, they physically shredded
[04:18] <Bashing-om> sappheiros: Maybe "safer" of a one time copy .. many copy (versioning) is where rsync excells :P
[04:19] <Gallomimia> and no. CP is about the same speed as the GUI stuff
[04:19] <Gallomimia> try a du -Sh ~ and get info on how much space your home dir is
[04:19] <Gallomimia> also, is the thumb drive on USB2 or USB3 ??
[04:20] <sappheiros> cp -pr source dest
[04:20] <sappheiros> this is what i want isn't it?
[04:20] <sappheiros> to copy files as backup in preparation for OS reinstallation
[04:24] <Gallomimia> what is -p ?
[04:25] <Gallomimia> oh preserve attributes
[04:25] <Gallomimia> well that can be "nice" i guess
[04:25] <sappheiros> "preserve the specified attributes (default: mode,ownership,timestamps), if possible additional attributes: context, links, xattr, all" - what is 'context' attribute? does 'all' attribute mean all the file's attributes? what would you search to find this info? i tried "what is context file attribute" but Windows 10 context menu results are coming up.
[04:25] <Gallomimia> man cp
[04:25] <sappheiros> i copied it from there ...
[04:26] <Gallomimia> this is what you want
[04:26] <sappheiros> maybe more info is here? http://www.gnu.org/software/coreutils/manual/html_node/cp-invocation.html#cp-invocation
[04:26] <Gallomimia> probably but i think a cp -pr is going to do exactly what you need
[04:26] <Gallomimia> it's metadata anyway. you don't "need" it
[04:28] <sappheiros> well, learning to read is good if nothing else ...
[04:28] <Gallomimia> agreed. i never would have bothered with -p
[04:28] <tomreyn> wolfheart: you may have more luck in restoring files if you use a file system specific utility such as ext4magic, extundelete or ext3grep (as an example for ext* file systems)
[04:30] <N26pmXWs> is there a reason clonezilla doesnt recognize my plugin usb drive for backup ?
[04:30] <wolfheart> tomreyn, its from a windows partition i had them on and so far its found 13466 files and still going
[04:30] <Gallomimia> :(
[04:30] <Gallomimia> i guess we all know what you're doing this weekend
[04:31] <wolfheart> well some of it anyway, got 2 sheds to empty as moving house too :o
[04:32] <Gallomimia> i think you are mistaken ;) viewing 13k pictures to see what they all are is going to take 60 hours
[04:32] <Gallomimia> just think. you might not want to show your 2yo nephew certain ah.... er. photos. of.... people.... doing... things.
[04:33] <Bashing-om> N26pmXWs: Hard to say - what is the mount point of the USB drive, and where are you pointing clonezilla to ?
[04:33] <Gallomimia> https://getyarn.io/yarn-clip/e7742eb3-f017-4ec9-8399-991d6c700d8e
[04:33] <wolfheart> Gallomimia, oh there is no stuff like that, well there better not be as if there is that will tell me when i bought this hard drive apparently new it would mean it was not brand new
[04:34] <Gallomimia> it's likely to pick up cache files from web browsing even
[04:34] <N26pmXWs> im just going through clonezilla backup setup where it autoscans drives so I can select a backup point and for some reason only 2 of them show up even though I have a few
[04:34] <N26pmXWs> its usb 2.0
[04:35] <macroprep> how do i correctly specify this regex  "(\!libstdc++6-4*)*-arm*"
[04:35] <wolfheart> true, well i think its found my mov and avi files from holiday :)
[04:35] <macroprep> as i keep getting  libstdc++6-5-dbg-arm64-cross : Conflicts: libstdc++6-4.8-dbg-arm64-cross but 4.8.5-4ubuntu1cross2 is to be installed
[04:35] <Gallomimia> but yeah. the last time i ran a file recovery, there was like 5 copies of everything
[04:36] <wolfheart> hey it could be worse, where you had to use 100+ floppy disks lol
[04:37] <sappheiros> cp -pr should be faster than copy-pasting by clicking in pcmanfm because it's not showing progress bar, right?
[04:37] <macroprep> yes
[04:37] <tomreyn> wolfheart: "windows partition" sounds like potentially NTFS. in which case you could try scrounge-ntfs.
[04:38] <wolfheart> tomreyn, ok thank you
[05:07] <macroprep> i want to install everything arm but apt wont let me ;-;
[05:08] <Gallomimia> add-architecture ?
[05:10] <macroprep>  libstdc++6-5-dbg-arm64-cross : Conflicts: libstdc++6-4.8-dbg-arm64-cross but 4.8.5-4ubuntu1cross2 is to be installed
[05:13] <sneakyimp> I'd like to wipe the drive partition on which i've installed Ubuntu (on this machine i'm using as i type this very message) and I'd like to install an entirely new, fresh install of Ubuntu 18.04 LTS. I am somewhat concerned about the age of the disk drive, though, and would like to run fsck on this drive but I've been told I need to umount a drive before using fsck. The disk utility's SMART stats tell me there are 31 bad sectors on this
[05:16] <Gallomimia> sneakyimp, you'll need to boot from a LIVE-USB
[05:16] <Gallomimia> !live | sneakyimp
[05:16] <sneakyimp> Gallomimia: I have burned an Ubuntu 18 DVD and can boot from that
[05:16] <Gallomimia> the installer that you're about to use.
[05:17] <Bashing-om> sneakyimp: There are always "bad sectors" as nothing is perfect. So long as the count is not increasing and/or sectors can be re-allocated there is not a problem. To run 'fsck' do so from a liveUSB .
[05:17] <Gallomimia> yeah that. you can't fsck a boot drive while its in use
[05:17] <Gallomimia> well. i have an entire disk that's failed and it says only 1 bad sector
[05:17] <sneakyimp> Gallomimia: can you be more specific about what I do? I boot using the DVD, open a terminal window, and run fsck on the partition?
[05:17] <Gallomimia> the disks program is GUI and will do the same thing
[05:18] <Gallomimia> "Check Filesystem" under the gear menu
[05:19] <sneakyimp> Gallomimia: my biggest concern is that if I just wipe the disk partition with the installer and install a fresh Ubuntu 18.04 LTS on it, that the system will forget about those bad sectors and try to use them anyway. To be honest, I'm not even sure I'd know what to do with the output of fsck when I eventually see it.
[05:19] <Gallomimia> no that's not part of the system. it's in the partition table
[05:20] <Gallomimia> you don't do anything with the output of fsck. it either fixes things or tells you its borked
[05:21] <Bashing-om> sneakyimp: say that 'fdisk -lu' indicates the target partition as "sda1" . than a quick look to just check run ' sudo fsck /dev/sda1 ' .
[05:21] <Gallomimia> if everything is good, there's actually no output
[05:21] <sneakyimp> Gallomimia: if i delete the partition, would the bad sector info get lost? this disk has several partitions
[05:22] <sneakyimp> Bashing-om: thank you for that detail
[05:22] <Gallomimia> no i think it's at a higher level
[05:23] <Bashing-om> sneakyimp: Keep in mind that ;fsck' checks the fil system NOT the hardware, 'smartctl to check the drive.
[05:23] <Gallomimia> there's lots of other interesting data in the SMART report on the subject of aging drive
[05:23] <sneakyimp> Gallomimia: OK a relief that I might be able to some partition-massage on this machine. I'd like to try and consolidate 2 or 3 to get as much of the unused space as I can.
[05:23] <Gallomimia> is it a platter drive? or solid state?
[05:23] <sneakyimp> Gallomimia: I have been looking at the SMART report, but it's greek to me
[05:24] <sneakyimp> Gallomima: it's a spinning drive
[05:24] <Gallomimia> the online hours is probably the best one to look at
[05:24] <sneakyimp> Gallomimia: you mean "Power-On Hours?"
[05:25] <Gallomimia> that's probably what i meant yeah
[05:25] <Bashing-om> sneakyimp: You can always paste the smart report - we can have a look at it and give our best advise :)
[05:25] <Gallomimia> he means pastebin. not paste :P
[05:26] <sneakyimp> Bashing-om: i cannot copy from this window. Perhaps there is some command line option to get in text format?
[05:26] <Gallomimia> smartctl
[05:26] <sneakyimp> Gallomimia: The program 'smartctl' is currently not installed.
[05:27] <Gallomimia> lame. would you need to run it as root to even see it?
[05:29] <Bashing-om> sneakyimp: sneakyimp ' sudo apt install smartmontools ; smartctl --all /dev/sda | nc termbin.com 9999 '. The result of termbin is a URL back in teminal, pass that link back here.
[05:32] <Gallomimia> funny how my older 500gig drive has like a 3rd of the online and head-flying hours as my newer 2TB drives do
[05:33] <sneakyimp> Bashing-om: thanks
[05:33] <sneakyimp> Bashing-om: https://paste.ubuntu.com/p/8tzWz9bjHb/
[05:33] <sneakyimp> Gallomimia: https://paste.ubuntu.com/p/8tzWz9bjHb/
[05:34] <Gallomimia> whoa. g-sense error rate 52??
[05:35] <sneakyimp> Gallomimia: no idea what that means
[05:36] <Gallomimia> me neither but i don't like it. mine says zero
[05:36] <Gallomimia> i *THINK* it has to do with getting bumped pretty hard and putting the head away from the disk to try and save it
[05:36] <Gallomimia> is this a laptop drive?? wait. do they make 2.5" drives in 2tb size??
[05:38] <sneakyimp> Gallomimia: I have been moving the machine quite a bit lately -- had an audio interface fail (it also runs a windows boot with protools)
[05:38] <sneakyimp> Gallomimia: I just took all the drives out so i could get the heat sink fan off in order to vacuum all the dust and schmang out of the heat sink fan
[05:38] <Gallomimia> i had to do that myself a week ago
[05:39] <Gallomimia> had to take the heat sink right out
[05:39] <sneakyimp> Gallomimia: it looked like someone had put several dozen moths in a coffee grinder and sprayed them through the HS fan onto the HS
[05:39] <Bashing-om> sneakyimp: You have "Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       31" . But I can not explain the why as no sectors have been re-allocated.
[05:39] <Gallomimia> it does seem to be getting on the old side. 50000 hours?
[05:39] <sneakyimp> Gallomimia: good news is that the cleaning went very well and the computer's fans are quiet as church mice again
[05:40] <Gallomimia> mine looked more like the lint trap of a dryer before you peel off the lint and put it in the garbage
[05:40] <sneakyimp> Gallomimia: i bought the drive years ago and this computer spends a lot of time on
[05:40] <Gallomimia> after putting it a hydraulic press
[05:41] <sneakyimp> Bashing-om: what does this metric mean? I've no idea of its signficance
[05:41] <Gallomimia> in fact i couldn't see the dust at all before pulling off the heat sink
[05:41] <sneakyimp> Gallomimia: got cats?
[05:42] <Gallomimia> it's those bad sectors you mentioned. but they aren't getting reallocated
[05:42] <Gallomimia> uh, there was some cats present when i ran this a few times
[05:43] <Gallomimia> just one, and only for a few weeks
[05:43] <sneakyimp> Gallomimia: this is the sort of failure to handle the bad sectors that i'm dreading. Note that this same drive has a windows 7 system running on a separate partition.
[05:43] <lotuspsychje> !ot
[05:43] <Gallomimia> handling bad sectors is a hardware level thing. i don't think the OS gets to do much about it
[05:43] <sneakyimp> Gallomimia: i've no idea of windows, running off the same drive, might have attempted to diagnose/locate/reallocate bad sectors
[05:44] <Gallomimia> anyway. like me, i think you need a new 2tb drive
[05:44] <Bashing-om> sneakyimp: For some reason there are 31 sectors to be swapped out, and the controller no can do (pending) - moreso there are 6740207 program failures, As cheap as drives are ( this one is 5400 RPM - real slow ) install a new drive. An SSD would be very nice :)
[05:45] <sneakyimp> Gallomimia: hmm. that's kinda what I was afraid of
[05:45] <Gallomimia> well. don't be afraid. yours hasn't failed yet
[05:45] <Gallomimia> mine is totally boffed.
[05:47] <Gallomimia> i to bed now. cheers
[05:47] <sneakyimp> Bashing-om: an SSD would be super nice, but not in the budget? I'd need to get at least a 1TB -- and there seems to be so much variation in pricing for the SSDs -- i'm totally confused by all the ratings and parameters
[05:47] <sneakyimp> Gallomimia: thanks! sleep tight.
[05:50] <Bashing-om> sneakyimp: Then something to think about .. believe me SSDs make a world of difference - how about a 120 Gig SSD and a 7200 RPM spinner for your data ?
[05:50] <Disconsented> ^
[05:50] <Disconsented> You should always have an SSD
[05:50] <Disconsented> espically with todays prices
[05:52] <sneakyimp> OK i'm considering a SSD, but there's no room in the chassis for two drives. I've already got the system drive (2tb), a data drive (1TB, mostly full of protools projects), and a backup drive (2tb) where I copy important data files for redundancy
[05:53] <sneakyimp> Perhaps someone can tell me why there's so much cost variation in SSDs? How come a Samsung 860 Pro is $280? https://www.amazon.com/Samsung-512GB-V-NAND-Solid-MZ-76P512BW/dp/B078211KCN
[05:54] <Disconsented> 'pro' drive
[05:54] <sneakyimp> while this is 115 https://www.newegg.com/western-digital-blue-1tb/p/N82E16820250088
[05:54] <Disconsented> You can tape an SSD wherever
[05:55] <Bashing-om> sneakyimp: Well, a lot to be said for the brand name, Now I paid high dollar way back for a SamSung SSD, a PNY drive is now more than half as cheap.
[05:56] <blackflow> But how reliablie is PNY .... (perhaps move this to #ubuntu-discuss?)
[05:57] <Bashing-om> blackflow: sneakyimp // Yup .. we have moved off topic now :P
[05:57] <sneakyimp> sorry
[05:57] <sneakyimp> happy to move to #ubuntu-discuss
[05:58] <Bashing-om> sneakyimp: :) I be there already .
[06:01] <Darfadz365> hu
[06:01] <Darfadz365> hi
[06:04] <jojero> Hi! How can I possible not destroy the Prompt Shell / PS1 by splitting screens?
[06:04] <jojero> The terminal split breaks the PS1
[06:04] <Darfadz365> hi im from indonesian you????
[06:04] <jojero> Im using terminator but its the same as the gnome-wrapper-terminal / default terminal.
[06:05] <Darfadz365> im using TERMUX emulator
[06:05] <jojero> Like example, Im using powerline, whenever the PWD / CWD is longer it doesn't show or not even
[06:05] <jojero> \n (next line)
[06:07] <Darfadz365> hai
[06:11] <blackflow> jojero: if your PS1 is set up persistently through a rc file (say, .bashrc or something) then it shouldn't lose anything when you open a new terminal
[06:12] <blackflow> Darfadz365: hello. Do you have Ubuntu support question?
[06:13] <Darfadz365> @blackflow yes
[06:14] <blackflow> Darfadz365: cool, what is it?
[06:14] <Darfadz365> blackflow> am from indonesia are you??
[06:16] <Darfadz365> blackflow> am from indonesia are you?
[06:18] <lotuspsychje> Darfadz365: stop that please
[06:18] <lotuspsychje> !chat | Darfadz365
[06:20] <Darfadz365> ok
[06:40] <Assid> hi
[06:40] <Assid> i have ubuntu running with a nfs mount.. and now its stuck on boot
[06:41] <Assid> its stuck on a stop job is running for advanced ... value store
[06:41] <jojero> blackflow I mean it is broken like.
[06:41] <jojero> It didnt go to new line if the PS1 is not fit in the terminal size
[06:42] <jojero> Like user@host > ~ > Developments > sources > \n
[06:42] <jojero> pages.github.io > feature/home (git branch)
[06:42] <jojero> ugh its hard let me send you screenshot
[06:43] <blackflow> yeah
[06:45] <jojero> https://imgur.com/a/A3ALXpM
[06:46] <jojero> https://imgur.com/a/ptmlhWz
[06:46] <jojero> thats the two, blackflow
[06:46] <jojero> even in vscode integrated terminal, thats how it works. :/ broken.
[06:50] <jojero> https://imgur.com/a/FGIxcb5
[06:50] <jojero> blackflow
[07:28] <cfhowlett> netsplit?
[07:31] <mouses> okay this is driving me crazy - I'm on a lenovo y510p ( https://www.newegg.com/dusk-black-lenovo-ideapad-y510p-gaming-entertainment/p/N82E16834313584 ) - set every setting I can think of in power, display, and the gnome tweak tool -> when I close the laptop lid, services fail, the system goes into some kind of standby (I notice as my LAN plex server running on this laptop stops functioning) and even worse - I
[07:31] <mouses> get weird mouse/terminal issues after closing/opening lid sometimes.  Question: Is there some easy way to just make this stop doing anything if I close the lid?
[07:32] <mouses> (ubuntu 18.04.2 by the way)
[07:42] <elPuma> hello
[07:43] <EriC^> hello
[07:43] <elPuma> #ubuntu-gnome says to "Please direct support requests or non-development questions to #ubuntu" so here I am
[07:43] <cfhowlett> elPuma, proceed.
[07:44] <lotuspsychje> !acpi | mouses
[07:46] <Darfadz365> hi
[07:47] <elPuma> Let's say I wanted to edit the GtkSourceView style schemes for the Gedit text editor. How would one go about doing that? I have a directory called /usr/share/gtksourceview-4/styles with 6 or so xml files for each one the editor themes that come with gedit. They all suck. I want to tweak them but am having some trouble
[07:47] <elPuma> kate.xml in particular. The blinking cursor is this very light gray color and is nearly invisible
[07:47] <Darfadz365> declare war to israel!
[07:48] <cfhowlett> Darfadz365, not funny and not welcome here.  stop.
[07:49] <elPuma> Is posting lines of code permitted on this channel?
[07:49] <cfhowlett> !paste | elPuma
[07:50] <lotuspsychje> elPuma: this channel focuses on the working of ubuntu, tweaking the system or using specific packages better find relevant channels
[07:51] <elPuma> okay I will try #gnome
[07:51] <Darfadz365> cfhowlett sorry man
[07:54] <Darfadz365> Are you not upset by the actions of Israel, who are colonizing?
[07:55] <elPuma> ubuntu pastebin says "php and other webscripts are not allowed" when I tried to post my xml file. Is there a workaround besides commenting out every line?
[07:55] <lotuspsychje> !ops | Darfadz365 bad news
[07:56] <Darfadz365> ubottu, WHY??
[07:57] <Darfadz365> israel bad!!
[07:57] <cfhowlett> !ops | Darfadz365 ban this guy please
[07:57] <dax> Darfadz365: no politics in here, thanks
[07:58] <Darfadz365> owh ok man am sorry
[07:59] <cfhowlett> so stop doing it!
[07:59] <Darfadz365> yes am sorry
[08:00] <jojero> blackflow still there?
[08:00] <jojero> can anyone help me?
[08:00] <jojero> https://imgur.com/a/A3ALXpM https://imgur.com/a/ptmlhWz https://imgur.com/a/FGIxcb5
[08:00] <lotuspsychje> jojero: if you dont get response right away, be patient or re-ask your question to the channel so other volunteers can read
[08:00] <Darfadz365> indeed you support Israel? and you don't care about human life?
[08:02] <jojero> lotuspsychje it's 40 mins man xD I was just asking if he's still here tho yeah here's my prob. does terminal ps1 always broken if the terminal size is smaller or if the ps1 doesnt fit anymore, does it not \n or go to next line instead?
[08:03] <jojero> https://imgur.com/a/A3ALXpM, https://imgur.com/a/ptmlhWz, https://imgur.com/a/FGIxcb5
[08:04] <lotuspsychje> jojero: terminator help ==> #terminator
[08:04] <jojero> its not only the terminator even the gnome-wrapper-terminal / default gnome terminal.
[08:06] <EriC^> jojero: maybe you could script something into it that checks the terminal size and number of characters and puts in a \n or whatever itself?
[08:06] <EriC^> like before you set PS1, see how long it is, and terminal size, figure it out and make a proper PS1
[08:06] <jojero> I just use powerline, when I remove powerline it's working properly.
[08:06] <jojero> :(
[08:06] <EriC^> what's powerline
[08:07] <jojero> But I dont want to go to zsh.
[08:07] <jojero> Thats why I use Powerline.
[08:07] <jojero> https://github.com/powerline/powerline
[08:07] <mouses> lotuspsychje: thanks, digging through that
[08:08] <mouses> lotuspsychje: not sure anything applies though.  I don't have trouble booting or fan issues.
[08:08] <mouses> I just want the system to stay fully up and online and active even if the lid is closed.
[08:11] <EriC^> mouses: anything in "gsettings list-recursively | grep power"
[08:12] <EriC^> try with | grep "lid-close"
[08:13] <mouses> EriC^: https://paste.ubuntu.com/p/FDmbt36h4F/
[08:15] <mouses> EriC^: here's the grep for 'power' = https://paste.ubuntu.com/p/fh8WS9BxtF/
[09:16] <rootkea> $ apt-cache search npm
[09:16] <rootkea> npm - package manager for Node.js
[09:16] <rootkea> But $ apt-get install -y nmp
[09:16] <rootkea> E: Unable to locate package nmp
[09:16] <rootkea> What am I missing?
[09:18] <lotuspsychje> nmp ==> npm
[09:35] <rootkea> Sorry, lost the connection.
[09:37] <blackflow> rootkea: you typo'd npm
[09:39] <rootkea> blackflow, Oh.. This is embarrassing! Sorry for wasting your time and thank you :)
[09:43] <perr-paranoic>  Hi I need help for a program that doesn't work maybe for trouble in java new and program old. https://pastebin.ubuntu.com/p/drsvR2NXZD/
[09:50] <rootkea> blackflow, apt-get install -y npm says:
[09:50] <rootkea> The following packages have unmet dependencies:
[09:50] <rootkea> npm : Depends: node-gyp (>= 0.10.9) but it is not going to be installed
[09:50] <cfhowlett> rootkea, please ue paste
[09:50] <cfhowlett> !paste | rootkea
[09:52] <rootkea> cfhowlett, okay. Here's the apt log for failed npm install https://paste.ubuntu.com/p/QVHrrQXXGg/
[09:53] <cfhowlett> 18.04?
[09:54] <rootkea> Yes.
[09:54] <rootkea> Here is the apt-cache policy o/p: https://paste.ubuntu.com/p/8nqSNdb2S2/
[09:56] <cfhowlett> rootkea, looks reasonable. try this first:                                            sudo apt update && sudo apt clean && sudo apt autoremove && sudo apt -f install && sudo apt full-upgrade && sudo apt install -f && sudo snap refresh
[09:59] <rootkea> cfhowlett, okay.
[09:59] <cfhowlett> now run your npm install again
[10:01] <blackflow> cfhowlett: snap refresh tho?
[10:02] <cfhowlett> force of habit :)
[10:02] <wasanzy> hello
[10:04] <wasanzy> I have realized outbound traffic has gone up on my ubuntu server 18.04 which has resulted in spike in CPU usage. I want to know what caused that. I tried using sysdig but it doesn't seem to report on previous day activties
[10:04] <rootkea> cfhowlett, It's a slow vps. I'll get back to you with the details once command gets over
[10:04] <cfhowlett> rootkea, roger that
[10:04] <perr-paranoic> If someone can help me tell me now please... I need this program work soon...
[10:04] <ikanobori> wasanzy: Is it still occuring?
[10:04] <wasanzy> anyone have an idea how I can acertain what used my network yesterday?
[10:05] <wasanzy> no, it is no more occuring
[10:05] <ikanobori> wasanzy: Then it's going to be hard unless you set up things to monitor this beforehand.
[10:05] <cfhowlett> i think the "not supported" at line 1 explains the problem, perr-paranoic
[10:05] <cfhowlett> perhaps ask mindmap5 support channels?
[10:06] <wasanzy> ikanobori: what application can you suggest I setup to keep record of such activities?
[10:06] <perr-paranoic> cfhowlett: With my Debian Stable works, on Kubuntu LTS doesn't work
[10:07] <cfhowlett> I could be wrong, perr-paranoic but that suggests a package problem to me.
[10:07] <cfhowlett> wasanzy, you mean mind-map apps?
[10:07] <perr-paranoic> cfhowlett: how Can I fix it? To change with an older java version?
[10:08] <ikanobori> wasanzy: That's an interesting question, you probably want to know which process was causing the most network traffic?
[10:09] <cfhowlett> java is not my area, perr-paranoic.  since it's so security compromised, I'd personally avoid it and use one of the many other mindmapping apps
[10:09] <cfhowlett> but you could always try an old version
[10:09] <wasanzy> ikanobori: Yes the process causing the most network traffic
[10:10] <ikanobori> wasanzy: I'd start with using iftop. You can run it without the curses interface and cat it to file. It'll write a snapshot every 10 seconds of the hosts most accessed.
[10:10] <perr-paranoic> cfhowlett: me too I use vym, but now I need to convert in ppt as do well imindmap
[10:10] <ikanobori> Or the hosts sent the most data.
[10:10] <ikanobori> Which will already help a bunch.
[10:11] <wasanzy> ikanobori: iftop wouldn't give me previous day data but real time data or?
[10:12] <ikanobori> wasanzy: It will write a snapshot every few seconds of where traffic is going. This means after you notice you can go back to the file you write it to and look at what hosts were being sent traffic.
[10:12] <rootkea> cfhowlett, I executed the command suggested by you omitting snap since the said machine doesn't have snap installed. Anyways, I still get the same error as before: https://paste.ubuntu.com/p/QVHrrQXXGg/
[10:12] <wasanzy> sysdig -c topprocs_net would have helped me if I were looking for real-time
[10:12] <ikanobori> wasanzy: https://bpaste.net/raw/Eqlf is output of `iftop -ntp`.
[10:13] <cfhowlett> I'm out of ideas wasanzy .  ask again in channel.  someone smarter than I will know.
[10:13] <ikanobori> Which means: no hostname lookups, no curses interface, promiscuous mode.
[10:13] <wasanzy> ikanobori: ok
[10:14] <ikanobori> wasanzy: There is also the 'nethogs' program which you can run with -t.
[10:14] <ikanobori> To get output such as this:
[10:14] <ikanobori> https://bpaste.net/raw/pxXm
[10:15] <wasanzy> Nice
[10:15] <wasanzy> I will look at those
[10:16] <ikanobori> I'd suggest keeping them running, writing them to something in /var/log and using logrotate to keep the past x-days.
[10:16] <ikanobori> I'm not entirely too familiar with sysdig but maybe it has something to keep historical values as well?
[10:17] <cfhowlett> I'm out of ideas rootkea .  ask again in channel.  someone smarter than I will know.
[10:20] <wasanzy> ikanobori: I appreciate your help, was useful
[10:21] <ikanobori> No problem, there's probably better solutions but this will work in a pinch.
[10:22] <rootkea> cfhowlett, oh okay. Thanks for you help though. :) And here's sources.list https://paste.ubuntu.com/p/5hyfVgQgD2/
[10:24] <cfhowlett> rootkea, I scanned your sources.list and nothing there is non-standard.
[10:24] <rootkea> Maybe I should mention this, there was a yarn.list in /etc/apt/sources.list.d/ but since I want to install npm from Ubuntu repos, I moved that file
[10:25] <rootkea> along with other *.list from that directory.
[10:25] <cfhowlett> oh NOW the penny drops!
[10:25] <EriC^> xD
[10:25] <cfhowlett> yeah there might be something there to look at
[10:25] <rootkea> But that shouldn't matter, right?
[10:26] <cfhowlett> and I have NO idea what a .yarn.list is but if you moved it then you're subsequent package list could easily look wrong to apt
[10:26] <EriC^> rootkea: it does cause packages might be installed from there already, removing the sources wont remove them but it might cause dependency issues
[10:26] <EriC^> rootkea: what does "sudo apt-get install node-gyp" give?
[10:27] <rootkea> It complains about some other node-* package (I forgot which one) along the same lines as that of `npm`
[10:27] <rootkea> i.e. same error
[10:27] <EriC^> you have to paste it, at this point the problem is very much a rabbit hole
[10:28] <rootkea> EriC^, How about I purge all the node-* packages and then apt install npm?
[10:28] <EriC^> that could work
[10:28] <cfhowlett> or just ## comment them out rather than purge?
[10:29] <rootkea> EriC^, brb.
[10:29] <EriC^> even if he comments out the sources the packages are still installed in the filesystem and dpkg's status file
[10:29] <rootkea> It is a CI so doesn't have SSH access. I have to paste commands in CI file. Sigh!
[10:30] <EriC^> rootkea: you could use termbin to upload it to a pastebin, command | nc termbin.com 9999
[10:38] <rootkea> EriC^, So I issued apt-get purge node* npm* which was followed by numerous "package foo is not installed, so not removed" but still the apt install npm gives the same error. It seems I have to install npm from upstream i.e. using yarn.list instead of Ubuntu repo
[10:39] <EriC^> rootkea: not necessarily, you can follow the dependency breakage and fix it manually and use the default ubuntu repos, it's also an option
[10:40] <rootkea> EriC^, I badly want to stick to the official repos but now I'm out of options...
[10:40] <EriC^> hehe, i just told you the option :D
[10:41] <rootkea> You mean issuing apt install node-gyp
[10:41] <EriC^> rootkea: type 'sudo apt-get install npm' see what its whining about, then sudo apt-get install <package it whined about> and reiterate
[10:41] <EriC^> yeah follow the whining and see whats the problem
[10:41] <rootkea> oh okay.
[10:43] <rootkea> EriC^, Isn't following dependency chain an APT's job? And it's not even SSH. Each time I have to paste the command in conf file. Fire the build then wait for CI to run...
[10:44] <EriC^> rootkea: usually yeah, but apt isnt going to fix problems related to ppa's and stuff
[10:46] <EriC^> it would have to start removing packages and possibly added repos and whatever, the program "ppa-purge" is supposed to try to completely remove a ppa and any packages it pulled in and revert back to default ubuntu repos, you could try using it it's not a 100% sure thing though
[10:52] <Jan-> hello
[10:52] <Jan-> we're trying to install ubuntu onto a usb connected ssd
[10:52] <Jan-> we're at the point of seeing a window that says "Installation type" and it lists all the available devices, we're pretty sure that the one we want is /dev/sdb1
[10:53] <Jan-> but if we select that and click "install" it says "no root filesystem is defined"
[10:53] <Jan-> suggestions?
[10:54] <Kevin`> huh, would be weird if everyone was asleep
[10:55] <Jan-> again
[10:55] <Jan-> it's linux
[10:55] <Kevin`> in which case... you need to do the thing you did before
[10:55] <Jan-> but it didn't even work right before
[10:56] <Kevin`> pick that one, change it to be root filesystem, ext3/4, noatime, etc
[10:56] <Jan-> no what?
[10:56] <Jan-> change what to be root filesystem, and how?
[10:56] <Jan-> note that "root" in linux has about four different meanings depending on the situation
[10:56] <Kevin`>  /
[10:57] <Jan-> well, "/" is root
[10:57] <Jan-> sometimes there is a folder called "/root"
[10:57] <Jan-> there is a user called "root"
[10:58] <Jan-> and any disk you connect has a "root" directory.
[10:58] <Jan-> Someone designed that scheme deliberately, you know.
[10:59] <Jan-> when this ubuntu installer is talking about "no root filesystem defined" I guess that's another meaning of "root" because I don't even understand the question.
[11:00] <Kevin`> you need a partition mounted to /
[11:00] <Jan-> OK?
[11:00] <Jan-> it says "please correct this from the partitioning menu"
[11:00] <Jan-> there are actually no menus on this, it is a menu less windo
[11:02] <Jan-> anyone have any other ideas?
[11:03] <Kevin`> you were on the menu before. select a partition and press change. enter might also work.. I usually use the text version which is slightly different
[11:03] <Jan-> there is a button marked "change" is that what we're talking about
[11:04] <Jan-> ok if we hit that it wants us to select a file system
[11:04] <Kevin`> ext3, mount point /, options noatime
[11:05] <Jan-> "ext3 journaling filesystem" is the option
[11:05] <Jan-> right?
[11:05] <Kevin`> yeah
[11:05] <Kevin`> I need to go to sleep soon
[11:05] <Jan-> ok
[11:05] <Jan-> and the mount point is "/" not "/boot" or anything else?
[11:06] <Kevin`> yeah
[11:06] <Jan-> are we COMPLETELY sure about all this
[11:06] <Jan-> and I guess we should check "format the partition?"
[11:06] <Kevin`> boot loader should be sdb if you still have that option somewhere
[11:06] <Walex> 'ext3' is moderately obsolete, 'ext2' or 'ext4' should be preferred
[11:07] <Jan-> right I was about to ask about the boot loader menu
[11:07] <Jan-> oh jesus what now
[11:07] <Walex> usually 'ext2' for '/boot' and 'ext4' for '/'
[11:07] <Kevin`> it's true but i'm worried about compatability with grub
[11:07] <Jan-> someone just tell us what to do
[11:08] <Walex> then 'ext2' for 'boot', however I have been using 'ext4' for '/' including '/boot' for a long time and GRUB2 handles it fine.
[11:08] <Jan-> we can only select "/" or "/boot"
[11:08] <Jan-> not both
[11:09] <Walex> Jan-: if you have a very old BIOS or you want to encrypt '/' choose a separate '/boot' else don't
[11:09] <Jan-> I'm not sure we even can
[11:11] <Jan-> so where are we
[11:11] <Jan-> what are we doing
[11:11] <Walex> then the standard thing with Ubuntu is to have a single '/' with 'ext4'
[11:12] <Jan-> We have so we select "/dev/sdb1"
[11:12] <Jan-> hit "change"
[11:12] <Jan-> select "ext4 journaling filesystem"
[11:12] <Jan-> select "format the partition"
[11:12] <Jan-> select mount point /
[11:13] <Jan-> select "/dev/sda" for device for boot loader installation"
[11:13] <Jan-> and click "continue"
[11:13] <Jan-> right?
[11:14] <Walex> looks good
[11:14] <Kevin`> sda is the internal ssd
[11:14] <Walex> as the system will say, that will overwrite 'sdb1' but I guess that's the idea.
[11:14] <Kevin`> (probably)
[11:16] <Jan-> there's a progress bar
[11:16] <Walex> won't last long unless the partition is *really* big
[11:16] <Jan-> it says "creating ext3 filesystem for / in partition #1 of SCSI8"
[11:20] <Jan-> What I don't get is why it's like this
[11:21] <Jan-> when you're installing windows it says "which drive do you want" and you say "c drive please"
[11:21] <Jan-> and it just works
[11:21] <Kevin`> that option does exist, it's a screen or two before the manual partitioning one you were on
[11:22] <Jan-> then why did we end up there
[11:22] <Walex> Jan-: most likely because your boot drive is not the install drive.
[11:22] <Jan-> well of course it isn't when are you going to be installing onto the install media?!
[11:23] <cfhowlett> dial down the angst ?
[11:23] <Kevin`> wait no, I heard you mention it before. it's the menu where "resize and install next to" is one of the options
[11:23] <Walex> Jan-: uh? You seem to have a 'sda' boot drive and a 'sdb' drive for ubuntu, presumably because 'sda' is already used for somethign else.
[11:24] <Jan-> who the hell knows
[11:25] <Jan-> it looks like it's installing anyway
[11:25] <Walex> Jan-: 'sda' is most probably the internal drive and 'sdb' is most probably the "USB connected SSD" you mentioned
[11:25] <Jan-> yes it is
[11:25] <Jan-> that's the idea
[11:26] <Walex> Jan-: I would have done it a bit differently though, installing the boot to 'sdb' and then to boot it asking the BIOS to boot from "external USB" explicitly
[11:26] <Walex> Jan-: but it is very easy to change it later.
[11:27] <Jan-> yeah well
[11:27] <Jan-> it's linux
[11:27] <Jan-> whatever you do someone will tell you to do something different
[11:27] <Walex> Jan-: it is more that those are different setups, not different ways to do the same setup.
[11:28] <Kevin`> fwiw I also recommend (and recommended) sdb but it would cause more trouble than it's worth to change it *while* installing
[11:28] <Walex> Jan-: they way you have chosen means: boot happens "automatically" but you cannot boot the external USB drive in another system, because its boot code is on 'sda'.
[11:29] <Jan-> um.
[11:32] <Jan-> ok it says installation is complete
[11:34] <sub526> Hi All, I've an Ubuntu 16.04.4 LTS and it contains gcc version 5.4.0. Now I want to have a bit older gcc version too (gcc && g++ 4.8.4).. How to get the lower version?
[11:36] <Walex> sub526: 'apt-cache search gcc-4' will list what is available
[11:37] <Jan-> ok well it booted up
[11:37] <Walex> good good
[11:37] <Jan-> now I would like to install ssh
[11:37] <Jan-> so I can get into it from this windows machine
[11:38] <sub526> Walex:  gcc-4.8 - GNU C compiler
[11:38] <Walex> sub526: looks right
[11:40] <sub526> Walex: Does sudo apt-get install gcc-4.8 deletes the existing gcc version?
[11:41] <nordmike> Bashing-om: I'm updating Ubuntu 14.04 with redmine. I've fixed error. Database adapter has changed from mysql to mysql2. I've changed this parameter in /etc/redmine/default/database.yml and apt installed it without errors.
[11:42] <Bashing-om> nordmike: Good work ! and nice to know - thanks for the advise :D
[11:51] <MrDrafadz> hi
[12:08] <daedeloth> I'm watching a 5.1 movie through plex in chrome. Is there a way to change the 5.1 to stereo mixing to make the front center louder?
[12:19] <Walex> sub526: no, because the name is different
[12:19] <Walex> daedeloth: yes, but complicated
[12:22] <daedeloth> walex any tips on what to google? :P
[12:34] <orbiter> regarding Netplan /w networkd and bridging: this just took down my Juniper firewall - anyone experienced something similar?
[12:36] <blackflow> orbiter: what took down your firewall?
[12:37] <tomreyn> if your hardware firewall can be brought down by reconfiguring the network configuration on a system on your LAN then you should focus on fixing that firewall (which is probably a juniper support case)
[12:39] <perr-paranoic> Hi, After Oracle Java Installation How I can do to make it work?
[12:39] <tomreyn> perr-paranoic: out of scope here, we support ubuntu's openjdk
 if your hardware firewall can be brought down by reconfiguring the network configuration on a system on your LAN then you should focus on fixing that firewall (which is probably a juniper support case) <--- thx,m that's what I thought.
[12:40] <perr-paranoic> tomreyn: Yes, but I have a problem and I want to resolve, also with openjdk....
[12:41] <tomreyn> perr-paranoic: let's talk about openjdk then
[12:46] <perr-paranoic> tomreyn: I have this issue https://pastebin.ubuntu.com/p/XwWkgbHCx6/
[12:48] <tomreyn> perr-paranoic: that's using which openjdk package on which ubuntu version, running which command?
[12:49] <Sven_vB> can I use a usblp to generate PWM? e.g. could I configure its character device to send 16 bytes per second even if the "printer" does not acknowledge it is ready for data?
[12:50] <perr-paranoic> tomreyn: I try to install a .sh program with default kubuntu java and oracle it is the same result
[12:51] <tomreyn> perr-paranoic: this must be an issue with the (non ubuntu packaged) software you're trying to install then. seek support from their support channels.
[12:52] <Walex> daedeloth: have a look at the ALSA plugin 'pcm' and its 'ttable'
[12:53] <Walex> daedeloth: but I supect you can do it iwith some PulseAudio plugin too
[12:53] <Walex> daedeloth: some examples here: http://www.sabi.co.uk/Cfg/ALSA/asound.conf
[12:54] <shonhadow> tomreyn, would like to help me out the problem we discussed yesterday ?
[12:54] <tomreyn> shonhadow: my memory is very bad, can you sum it up again?
[12:55] <shonhadow> about sound debugging
[12:56] <tomreyn> that's hardly a summary ;)
[12:57] <shonhadow> pavucontrol was stuck at eshtablishing connection
[12:59] <shonhadow> tomreyn, https://imgur.com/l4utNvv
[13:02] <tomreyn> shonhadow: oh right i think you had your sound chipset properly detected and configured by alsa but then one of (please remind me which) (a) just pavucontrol failed to connect to pulseaudio or (b) all of pulseaudio failed to work with alsa, right?
[13:02] <tomreyn> and i think there was a suspicion that UFW might be involved, since you were even blocking your own DNS queries?
[13:04] <shonhadow> exactly
[13:05] <shonhadow> tomreyn, where do we start?
[13:05] <tomreyn> do you rmember whether it was the (a) or (b) case?
[13:06] <tomreyn> 2nd question: did you sort out your UFW configuration, yet?
[13:06] <tomreyn> ^ shonhadow
[13:07] <shonhadow> ufw is inactive
[13:07] <tomreyn> ok, this should make it easier to solve this, and for the (ab) / (b) question?
[13:08] <tomreyn> * (a) / (b)
[13:08] <shonhadow> no sound on my headphones. both a and b
[13:08] <tomreyn> would you mind to loose your pulseaudio configuration (if any)?
[13:10] <shonhadow> never had any pulseaudio configs.this is my first time to work on sound
[13:12] <tomreyn> shonhadow: close any audio applications, then  run this: sudo apt --simulate --yes purge pulseaudio pulseaudio* &> /tmp/apt; cat /tmp/apt | nc termbin.com 9999; rm /tmp/apt
[13:13] <tomreyn> it should print a URL you are welcome to post here
[13:14] <shonhadow> https://termbin.com/bln4
[13:18] <tomreyn> shonhadow: close any audio applications, then  run this: sudo apt --yes purge pulseaudio pulseaudio* &> /tmp/apt && sudo apt --yes install ubuntu-desktop &>> /tmp/apt; cat /tmp/apt | nc termbin.com 9999; rm /tmp/apt
[13:22] <shonhadow> https://termbin.com/jfud
[13:24] <tomreyn> shonhadow: oops, sorry, i may have made you install software you had previously removed - see what's listed after "The following NEW packages will be installed" opn the output you posted. let me know if you want assitence in removing any of this.
[13:25] <tomreyn> it's part of the standard ubuntu desktop installation, though
[13:25] <shonhadow> i before this i did install ubuntu-desktop
[13:26] <Jan-> so I'm ssh-ing into my ubuntu computer from windows
[13:26] <shonhadow> to fix the problem
[13:26] <Jan-> is there some way I can transfer a whole file across
[13:26] <tomreyn> shonhadow: so i assume you'Re saying you don't mind the additional packages.
[13:27] <shonhadow> np
[13:27] <tomreyn> shonhadow: please reboot now, when you're back we shall continue.
[13:27] <shonhadow> okay
[13:27] <tomreyn> please keep ufw off
[13:28] <shonhadow> okay
[13:29] <tomreyn> (if you're wondering, that's just to avoid spammy UFW messages on your logs)
[13:29] <perr-paranoic> How Can I restore default java directory and program for Kubuntu 18.04 because I try more solution, but I have to repair all now...
[13:30] <shonhadow> okay,back in 2 min
[13:30] <tomreyn> Jan-: it's not easy using ssh itself, but you can with sftp or scp, using the same port and the server side openssh daemon.
[13:31] <Jan-> also what's rename these days
[13:31] <Jan-> didn't it used to be "rn"
[13:32] <tomreyn> Jan-: not ever, from what i remember. there's "mv" (move)
[13:33] <tomreyn> there used to be "ren" in dos
[13:35] <tomreyn> there's also "rename" in util-linux
[13:36] <Jan-> mv seems to work
[13:36] <Jan-> mv from.txt to.txt
[13:36] <Jan-> I need to see if the word "error" appears in these files
[13:36] <Jan-> is that a "grep" thing
[13:37] <tomreyn> yes
[13:37] <tomreyn> grep -iF error /path/to/file
[13:39] <shonhadow> tomreyn, rebooted
[13:40] <tomreyn> shonhadow: welcome back. please see whether pavucontrol now lists audio devices / mixers (probably not). if it does not, run (and post the output of) these commands:
[13:40] <tomreyn> shonhadow:   journalctl -kb | nc termbin.com 9999; cd; rm -f ./alsa-info.sh; wget https://www.alsa-project.org/alsa-info.sh && chmod +x alsa-info.sh && ./alsa-info.sh && rm -i ./alsa-info.sh
[13:45] <shonhadow> tomreyn, http://alsa-project.org/db/?f=eb2cfd99f35f4b24057ce68819300593c868aae6
[13:56] <shonhadow> tomreyn, sorry for the delay ,network issue (too much packet loss).now its fine
[13:57] <tomreyn> shonhadow: welcome back. you didn't post the first url, the one returned by    journalctl -kb | nc termbin.com 9999
[13:57] <tomreyn> you can just run it again
[13:58] <shonhadow> https://termbin.com/ydy7
[13:59] <tomreyn> shonhadow: sudo apt install pastebinit; dmesg -T | pastebinit
[14:01] <shonhadow> tomreyn, http://paste.ubuntu.com/p/YRJdrzrM4M/
[14:02] <tomreyn> shonhadow: ok. is your system genrerally unstable? this log you just posted shows nvidia proprietary video driver issues.
[14:04] <shonhadow> video driver is working fine.iam able to play 1080p with no sound right now on firefox though..
[14:05] <shonhadow> as far system i dont see any lags
[14:08] <tomreyn> shonhadow: okay, see what you posted around the   ------------[ cut here ]------------   though - this is a kernel oops which suggests serious issues with a kernel module
[14:08] <shonhadow> tomreyn, shall i uninstall nvidia drivers and try working it on intel hda sound card first?
[14:09] <tomreyn> shonhadow: i agree these are separate issues. personally i'd focus on making the nvidia driver work properly first, even though i understand the sound issue is impacting the user experience more.
[14:10] <tomreyn> shonhadow: if you agree, please show the url returned by:  dpkg -l nvidia* |& pastebinit
[14:12] <shonhadow> tomreyn,  http://paste.ubuntu.com/p/n86Wypzpts/
[14:13] <Sven_vB> hi! I'm trying to boot a xenial live USB in EFI mode, but it's not recognized. do I need to set special flags on that partition, like for EFI hard drive partitions?
[14:13] <Sven_vB> currently it only has the boot flag, and gparted doesn't offer efi flags
[14:14] <tomreyn> shonhadow: is there a reason you set these kernel options?  security=selinux selinux=1
[14:15] <tomreyn> shonhadow: you would have edited /etc/default/grub to set those.
[14:17] <tomreyn> Sven_vB: sounds like it's not gpt partitioned? how did you create the live usb?
[14:17] <cfhowlett> Sven_vB, won't boot or won't boot efi mode?
[14:17] <shonhadow> i was trying to learn how selinux works? i went to the selinux folder on terminal using nano and i got locked out
[14:18] <Sven_vB> tomreyn, oh good point! yeah I partitioned and formatted it traditionally and used unetbootin to install the live USB. I'll convert the PT to GPT.
[14:18] <shonhadow> tomreyn, i changed it to permissive mode to get access again.everything else was fine then
[14:18] <tomreyn> shonhadow: ubuntu uses apparmor, not selinux, by default. it may be possible to make it work with selinux, but this is certainly an advanced undertaking.
[14:19] <Sven_vB> cfhowlett, the BIOS doesn't consider the USB bootable
[14:19] <tomreyn> shonhadow: by using selinux you probably disabled apparmor, meaning you are loosing security contraints which parts of ubuntu expect to operate within.
[14:20] <tomreyn> shonhadow: line 187 of http://paste.ubuntu.com/p/YRJdrzrM4M/   states [Sat Jul  6 19:00:19 2019] AppArmor: AppArmor disabled by boot time parameter
[14:21] <tomreyn> this might even be why pulseaudio doesn't work
[14:21] <shonhadow> tomreyn, how should i activate it?
[14:21] <tomreyn> undo the changes to /etc/default/grub
[14:21] <tomreyn> + reboot
[14:23] <tomreyn> if you'll later decide to try selinux again, be sure to point this out while you're looking for help in solving any issues here.
[14:24] <shonhadow> tomreyn, more info on "undo the changes".what to change exactly ?should i delete the lines or...
[14:25] <sudo18> question: I ordered a UPS for my home box. is there a way to have ubuntu sense when the power goes out and that it's on battery backup and have it run a script to safely shut the machine down after say, 5 minutes of main power loss?
[14:25] <mTeK> Yes
[14:26] <sudo18> m
[14:26] <mTeK> If you plug in the USB cable it should do this automatically.
[14:27] <shonhadow> tomreyn, GRUB_CMDLINE_LINUX_DEFAULT="quiet splash security=selinux selinux=1"
[14:28] <mTeK> sudo18: http://manpages.ubuntu.com/manpages/bionic/man8/upsmon.8.html
[14:28] <sudo18> mTeK: ty
[14:29] <mTeK> I think you can also use NUT "Network USP Tools"
[14:29] <shonhadow> tomreyn, selinux installation happened like 6 months ago.forgot it still existed
[14:29] <mTeK> You can set this a server and have it tell other clients to shutdown
[14:30] <sudo18> like a controller
[14:30] <sudo18> cool
[14:30] <tomreyn> shonhadow: remove "security=selinux selinux=1"
[14:30] <Budgii> Hi, can I tell if my RPi is on ethernet by reading the output of ;ifconfig'
[14:31] <tomreyn> Budgii: depends, which ubuntu version is running on it?
[14:31] <Budgii> new raspian
[14:31] <tomreyn> !raspian
[14:31] <Budgii> raspian buster
[14:32] <sudo18> thanks mTeK. I haven't used linux in a long time. last time i did, i was mail ordering copies of slackware 1.0. kinda rebuilding things and doing it from scratch. learning lots
[14:32] <tomreyn> !pi | Budgii
[14:32] <tomreyn> Budgii: sorry, wrong factoid,
[14:33] <Budgii> i just moved it to the living room and plugged it in, just wanted to check really.
[14:33] <Budgii> without the GUI i dunno
[14:33] <tomreyn> !derivatives | Budgii
[14:33] <tomreyn> in fact raspian is a debian derivate, not even an ubuntu derivative.
[14:33] <Budgii> Thanks
[14:34] <Budgii> That's true. thanks guys:)
[14:34] <tomreyn> Budgii: didn't we tell you so before, too?
[14:34] <Budgii> i don't know. its early
[14:35] <tomreyn> shonhadow: do you need help with this? i will need to take a break soon.
[14:36] <shonhadow> tomreyn, when iam trying to save edited grub file it says permission denied
[14:36] <tomreyn> shonhadow: run:  gedit admin:///etc/default/grub
[14:37] <shonhadow> tomreyn, its removed
[14:38] <tomreyn> shadoxx: alternatively, you can edit it using sudo and a text / terminal based editor such as nano, pico, jed, vi, vim, emacs
[14:38] <tomreyn> shonhadow: ^ this was for you (sorry shadoxx!)
[14:38] <tomreyn> shonhadow: now   sudo update-grub
[14:38] <shonhadow> i tried nano before gedit it dispalyed error message
[14:39] <shonhadow> update-grub done
[14:39] <tomreyn> shonhadow: you weren't running nano through sudo then
[14:39] <tomreyn> shonhadow: editing files in /etc usually requires administrative privileges.
[14:40] <shonhadow> forgot that sudo.lets come to the topic of sound..
[14:40] <tomreyn> shonhadow: you can now reboot. maybe then pavucontrol will already work. if not, sum up the issue and findings and your logs again so someone else can help you out while i'm gone.
[14:40] <tarzeau> what's wrong when i get: Error: GDBus.red Error:org.freedesktop.systemd1.UnitMasked: Unit -.mount is masked.
[14:42] <shonhadow> tomreyn, okay
[14:44] <tomreyn> tarzeau: see comment 2 at https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1827010
[14:45]  * tomreyn bbl
[14:50] <mTeK> Budgii: With most linux ifconfig will tell you the interface that hold the IP,  "route" will tell you the gateway. If your ethernet and wifi have the same subnet then it will be hard to tell what interface your using.
[14:51] <Budgii> thanks. I may just plug it in and quit being lazy, it's just a one time thing. :)
[14:52] <tomreyn> shonhadow: i got to go for now, but you should consider subscribing to https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/+bug/1802622 if the log at the url returned by    dmesg | pastebinit   still contains this:  Kernel memory exposure attempt detected from SLUB object 'nvidia_stack_t'
[14:53] <shonhadow> tomreyn, problem still persist
[14:54] <shonhadow> tomreyn,bye ty for the assist
[14:56] <MrD365> hi
[14:56] <MrD365> hi
[14:58] <MrD365> hi
[14:59] <Sven_vB> hi
[15:00] <MrD365> hi
[15:04] <MrD365> hi
[15:04] <mths> hi
[15:04] <MrD365> who are you?
[15:04] <mths> I'm someone with the nick mths
[15:05] <MrD365> ok
[15:05] <mths> :)
[15:05] <MrD365> you from is?
[15:05] <mths> is?
[15:05] <MrD365> am from indonesia? are you?
[15:06] <MrD365> ?????
[15:06] <MrD365> are you from???
[15:07] <mths> I'm from Denmark :p
[15:07] <MrD365> ok good man
[15:10] <tarzeau> tomreyn: thanks for the hint
[15:11] <tarzeau> tomreyn: i've got no docker installed, nor trying to use it though
[15:11] <tarzeau> the systemctl status thing says that thing is active and green.
[15:12] <tarzeau> started 3 weeks 1 day ago, can i just stop/remove it?
[15:14] <tarzeau> i keep getting that msg as last msg after some apt-get operation
[15:30] <salamanderrake> Ok, I got a bit of a problem, I had used the llvm package source for a while, but in bionic updates ubuntu officially updated libllvm to libllvm8 but now its causeing some issues so I want to remove the libllvm8 from llvm and use the official ubuntu package.
[15:30] <salamanderrake> Is there a way to list broken installed packages?
[15:30] <salamanderrake> is there a way to change a packages source from one to another?
[15:32] <OerHeks> salamanderrake, if it was a launchpad ppa, you could use ppa-purge, but with 3rd party non ppa's, .... you are on your own
[15:32] <OerHeks> good luck!
[15:34] <mTeK> salamanderrake: dpkg -l | grep ^..r
[15:42] <salamanderrake> mTeK that didn't work, I just uninstalled libllvm8 and went with the consequences, and reinstalled steam, which worked, but there is a list of packages to be autremoved, some sound important so I'm investigating that.
[15:43] <salamanderrake> Ok, never mind, most of them are -dev packages
[15:44] <mTeK> apt-get check
[15:44] <mTeK> I don't have anything broken to test this against.
[15:46] <salamanderrake> even after autoremoving all of those packages, nothing complained.
[15:52] <aiena> where does ubuntu store all its driver files
[15:53] <jasunto> Anyone good with LVM and can clarify snapshots for me?
[15:54] <lotuspsychje> aiena: what are you trying to do?
[15:55] <aiena> lotuspsychje: I was following a talk from the linux conference of 2005 to develop drivers
[15:55] <jasunto> Basically following a guide, before installing a major package I want to snapshot the system, afterwords if its messed up roll back, or if it is good, remove/merge the snapshot
[15:55] <aiena> I built the kernel there the authour uses a debian image with with no kernel and modules in it
[15:56] <aiena> I resized this debian image and I was installing the modules I built into the image file to launch it with qemu and the kernle I built
[15:56] <lotuspsychje> aiena: what has this to do with ubuntu support exactly?
[15:56] <aiena> I resized the image to 1GB but the image file still runs out of space
[15:56] <aiena> lotuspsychje: it doenst
[15:56] <aiena> where does ubuntu store all its driver files
[15:56] <aiena> ^^ does
[15:56] <lotuspsychje> !discuss | aiena
[15:57] <aiena> is that not a support question?
[15:57] <aiena> knowing where ubuntu stores something?
[15:57] <OerHeks> likely driver files are in  /lib/modules/
[15:57] <OerHeks> but if you build kernels, you could easily find that yourself.
[15:58] <lotuspsychje> aiena: we try to focus on actual problems and kernel compiling isnt supported here
[15:58] <aiena> lotuspsychje: my question was not at all about kernel compiling
[15:58] <aiena> it was  where does ubuntu store all its driver files
[15:58] <aiena> that's it
[15:59] <OerHeks> building your own kernel is beyound the scope of this channel..
[15:59] <aiena> Its like where is America not "What is in America or its history"
[16:00] <aiena> but yes for kernel questions where can I ask apart from #linux if I am using ubuntu?
[16:01] <jasunto> lvcreate to make snapshot, lvremove to remove it if you want to keep changes, lvconvert --merge to restore from snapshot?
[16:01] <aiena> and lotuspsychje that answer was only to what I was trying to do not what I wanted help with.
[16:01] <OerHeks>  #ubuntu-kernel channel
[16:02] <lotuspsychje> aiena: if you want to discuss about it, join #ubuntu-discuss
[16:02] <aiena> thanks OerHeks
[16:03] <aiena> thanks lotuspsychje I think i'll need to discuss it but not here because I have some other problems
[16:03] <sappheiros> Is reboot necessary for the b43 wireless install? i am trying lubuntu 18.04.2 via USB stick and i think if i reinstall the installed b43 stuff will be erased ...
[16:04] <sappheiros> regarding https://askubuntu.com/questions/55868/installing-broadcom-wireless-drivers
[16:04] <aiena> sappheiros: you could try unloading and reloading the module
[16:04] <sappheiros> i need to be sure wireless works before replacing my lubuntu 18.10 with 18.04
[16:04] <sappheiros> (right now it's not working, and i'm concerned it's because the reboot is necessary)
[16:04] <sappheiros> aiena: how do i do that?
[16:05] <sappheiros> *i think if i reboot the installed b43 stuff will...
[16:05] <aiena> I think insmod to load a module
[16:05] <aiena> sappheiros: for a live boot yes a reboot would erase it
[16:05] <aiena> sappheiros:  easiest thing is to install the distro
[16:06] <ioria> sappheiros, it's written in the page you posted
[16:06] <sappheiros> you think i should just "take the plunge" without fully testing it?
[16:06] <aiena> sappheiros: if you want persistence maybe
[16:07] <blackflow> sappheiros: you don't have to reboot, you can load kernel modules with modprobe and test if it works in the live env
[16:07] <aiena> but in the live distro you can do this you said you insatalled the b43 driver right
[16:07] <jeremy31> sappheiros: if you install the firmware, you will have to unload ssb and b43, then sudo modprobe b43
[16:07] <sappheiros> ioria: modprobe eh? ... ...
[16:07] <aiena> what is the output ls ` lsmod |grep b43 ` run as root in the live distro?
[16:07] <ioria> sappheiros, yep
[16:08] <aiena> and yup modprobe will load the module
[16:10] <sappheiros> aiena: https://paste.ubuntu.com/p/BfvkzMhw6X/
[16:11] <aiena> sappheiros: ok cool that means your b43 module is loaded
[16:11] <aiena> are you able to get wifi in the live distro?
[16:12] <sappheiros> that's what i'm trying to accomplish now.  i have an ethernet cable attached at the moment but i can't use it most of the time
[16:12] <salamanderrake> Well, that went horribly wrong, had to boot into recovery mode and use there optiongs to repair packages to fix X and the rest of my system.
[16:13] <aiena> sappheiros: is this wifi usb dongle or a PCI card?
[16:13] <sappheiros> jeremy31: modprobe: FATAL: Module ssb is in use.
[16:13] <sappheiros> i tried sudo modprobe -r ssb b43
[16:13] <sappheiros> salamanderrake: :( what were you trying to do?
[16:14] <sappheiros> aiena: it's built in to this dell latitude d620; there's even a switch to turn wifi on and off on the side
[16:14] <jeremy31> sappheiros: sudo modprobe -r b43 && sudo modprobe -r ssb
[16:15] <sappheiros> jeremy31: same error
[16:15] <jeremy31> sappheiros: post URL for  lsmod | grep ssb | nc termbin.com 9999
[16:15] <sappheiros> but sudo  lsmod |grep b43 returns nothing now
[16:16] <aiena> yep that is correct sappheiros
[16:16] <aiena> modproble -r will remove the module
[16:16] <salamanderrake> I was trying to update my system, had packages from llvm team them selves in their apt repo which was conflicting with ubuntu 18.04s updates and it was just a mess, ended up uninstalling libllvm8 and it removed a bunch of packages with it.
[16:16] <aiena> you can try `modprobe b43` again to load it back into the kernel
[16:17] <lotuspsychje> salamanderrake: we reccommend to use only official repo packages instead of external ppa's
[16:19] <nate-^> I am trying to get my network working on this virtualbox with bridged networking over my wifi and I am having trouble reaching anything beyond a traceroute.. I figure it's due to my routes. Here's the details https://pastebin.com/Rage9DEK
[16:20] <sappheiros> aiena: do you not share jeremy31's thinking that ssb must also be removed from the linux kernel?
[16:21] <aiena> I am sorry I did some test on my system and because its the networking stack I got disconnected from freenode
[16:21] <aiena> I don't know of jeremy31's thinking
[16:22] <sappheiros> i had already sudo modprobe b43 ; then the grep command -- jeremy31 https://termbin.com/8sfy7
[16:22] <jeremy31> sappheiros: sudo modprobe -r b43 && sudo modprobe -r ssb_hcd && sudo modprobe -r ssb
[16:22] <aiena> hmm so jeremy told you to remove the driver cool
[16:23] <aiena> it seems like the b43 is using the ssb driver now
[16:23] <sappheiros> that was successful. should i now sudo modprobe b43?
[16:23] <aiena> no
[16:23] <jeremy31> sappheiros: if the b43 firmware is installed, yes
[16:23] <aiena> it seems like your b43 device is already using the ssb driver
[16:23] <sappheiros> :o
[16:24] <sappheiros> heeeyyyyyy i see stuff now :D <3 thank you (a bunch of password-protected wifi signals at this apartment complex...)
[16:24] <aiena> nice
[16:25] <lotuspsychje> !cookie | jeremy31
[16:25] <aiena> exactly what I thought should happen if it didn't I'd just recommend restarting network-manager
[16:25] <valerka> sorry) where can i find russian or ukrainian chat ubuntu?
[16:25] <lotuspsychje> !ru | valerka
[16:25] <valerka> thx
[16:26] <tomreyn> tarzeau: can you show the message in context, which 3rd party apt repositories are you using?
[16:27] <tomreyn> and which ubuntu version, variant?
[16:27] <sappheiros> it worked. :D I've now switched from a 16 Mbps ethernet to a ... 2 Mbps wifi ... yay ... :/
[16:28] <sappheiros> thanks for your help. hopefully i will remember this modprobe stuff
[16:29] <jeremy31> sappheiros: after install, install the b43 firmware and just reboot
[16:29] <tomreyn> tarzeau: i'm pretty sure you want your / file system to remain mounted, so no, i would not recommend to stop/remove it.
[16:29] <sappheiros> jeremy31: indeed. i kind of hate downgrading from lubuntu 18.10 to 18.04 -- lxqt does seem better than lxde -- but it seems i must due to security patches, right?
[16:29] <sappheiros> i.e. lubuntu 18.10 is only supported "until July 2019"
[16:30] <jeremy31> sappheiros: Only a few weeks left
[16:30] <sappheiros> technically i think "until July" means June 30th was the last day.
[16:30] <SpiritHorse> lol wut
[16:30] <sappheiros> like "you have until midnight to hand over the cash johnny"
[16:30] <tomreyn> $ distro-info --days=eol --series cosmic
[16:30] <tomreyn> 12
[16:31] <tarzeau> tomreyn: i'm searching a text url ifier
[16:31] <sappheiros> tomreyn: i would encourage your teams to specify a date for this reason; i get that you are speaking loosely to mean "sometime in july", but interpreting it literally ...
[16:31] <tomreyn> !pastebinit | tarzeau
[16:32] <magic_ninja> what is your guy's experience with ubuntu on laptops? I'm particularly interested in battery life. I'm on kernel 4.19 and the battery life ist errible.
[16:32] <tarzeau> https://pastebin.com/BjRJD0UD (ubuntu 19.04)
[16:32] <tomreyn> sappheiros: i'm afraid i don't have a team, neither in soccer nor ubuntu
[16:32] <sappheiros> s/tomreyn/Mark Shuttleworth
[16:32] <tarzeau> started getting that last thursday or friday or so, no real other repos except my own
[16:32] <aiena> sappheiros: you should use a newer distro but some hardware doesn't like new kernels is your hardware very old
[16:33]  * sappheiros sits like a petulant child and expects someone to dash off his memo to the ubuntu CEO
[16:33] <tarzeau> tomreyn: there's these: google-chrome.list  google-earth-pro.list  teamviewer.list  vscode.list but i doubt they affect the msg
[16:33] <sappheiros> aiena: yes, it's a 32-bit dell latitude d620. basically everyone's told me to trash it come april 2021, or last week
[16:33] <tomreyn> sappheiros: i also pointed out that it would be desirable to state fixed dates for EOL's the other day. in front of people who can actually improve upon it (i'm just a lousy wanna-be user geek)
[16:33] <tomreyn> s/user/ubuntu/
[16:34] <tomreyn> tarzeau: i would hope / think so , too
[16:34] <aiena> sappheiros: that system aint too bad
[16:34] <aiena> if you are willing to replace the HDD with an SSD you can get a ton of mileage probably
[16:34] <tarzeau> tomreyn: i have apt-forktracer | sort |wc -l # 58 packages that i build myself and install
[16:34] <tarzeau> (the plan is to get them also in official debian, later ubuntu)
[16:35] <sappheiros> yeah, i like it; sometimes i like using it more than my 2010 macbook pro -- but, sadly, it basically can't handle the Internet now. e.g. no reddit videos will load; google documents freezes it. but this is no longer ubuntu support ...
[16:35] <tarzeau> none of them fiddle with systemd/systemctl
[16:35] <aiena> sappheiros: they freeze on windows or on linux as well?
[16:35] <sappheiros> i can't find how to change keyboard layout. it isn't in mouse and keyboard.
[16:35] <tomreyn> tarzeau: oh, nice, i need to look into this package, didn't know it.
[16:36] <sappheiros> aiena: i haven't tried using win 7 with google docs 'cause i thought win 7 was security hazard at this point
[16:36] <aiena> lol win7 isnt a security hazard its a no free memory hazard lol
[16:36] <aiena> it will crawl to tipperary
[16:36] <tarzeau> and from the systemctl --all --failed i also get 6 lines, no idea what that is (google search resulted zero): ● sep5.service          loaded    failed failed LSB: loads/unloads the sep5 driver at boot/shutdown time
[16:37] <tarzeau> ● phpsessionclean.timer not-found failed failed phpsessionclean.timer that one really looks broken (the reason why i removed php see pastebin)
[16:37] <aiena> sappheiros: if your a power linux user you can make linux very boring but super light too.
[16:37] <tarzeau> and the canonical-police-phone-home i disabled by hacking the script: ● motd-news.service     loaded    failed failed Message of the Day
[16:38] <tomreyn> tarzeau: no idea what sep5.service is
[16:39] <tomreyn> tarzeau: have a look at it...
[16:39] <tarzeau> updatedb;locate wouldn't tell me where it is, nowhere
[16:40] <tarzeau> ah find /etc -name *sep5* finds something, /me looks
[16:40] <tomreyn> tarzeau: systemd.unit(5) lists possible locations
[16:41] <tarzeau> it's /etc/init.d/sep5 bug dpkg -S doesn't know about it, maybe post/pre inst/remove generated
[16:41] <tomreyn> also    dpkg -S uniquefilename    can often help
[16:41] <tomreyn> ok ;)
[16:42] <tomreyn> init.d hmmm
[16:42] <tarzeau> DRIVER_DIR=/opt/intel/vtune_amplifier_2019.0.2.570779/sepdk/src/.
[16:42] <tarzeau> intel c/fortran compiler 2019
[16:42] <tarzeau> THAT SHIT< hahaha
[16:42] <tomreyn> yummy
[16:43]  * tarzeau rm -rf /opt/intel (15 GB freed)
[16:43] <tomreyn> and more things broken as a result?
[16:43] <tarzeau> only needed to package it for some other users
[16:43] <tarzeau> who knows. you think intel would make .deb packages?
[16:43] <tarzeau> it's some java gui installer
[16:43] <tomreyn> i think you would if you wanted a clean system :)
[16:44] <tarzeau> debian packages > 1000 MB or more files than 100k, are unbearably slow/impossible to manage
[16:44] <tarzeau> belive me, i've made more than 300 deb packages of all kinds of sorts of things, i only do things that are built from some sort of source, no binary stuff (and yes my fonts are built from sources too)
[16:45] <sappheiros> aiena: well, as you've seen i needed help just to get wifi working
[16:46] <tomreyn> tarzeau: looks like you may have some php* leftover packages or configs (rc), yet
[16:46] <tarzeau> we make tarballs server by webserver, and unpack while downloading using pipe, inside gnu screen, and eatmydata and parallel (about 30 GB of /opt, sometimes more, depending on specially expensive extra software)
[16:46] <kalokagathia> why would somebody ever create such a big package (1000MB and bigger). isn't it better to just split that packages into two or more?
[16:46] <tarzeau> kalokagathia: matlab, mathematica, maple, intel c/fortran compilers are up to 20 GB
[16:47] <kalokagathia> why would you use a dpkg package for it?
[16:47] <tarzeau> that's the point, i don't
[16:47] <tarzeau> to manage their init.d mess
[16:48] <tarzeau> i really should learn some spack and environment-modules (cluster computing tools on workstations)
[16:51] <tomreyn> tarzeau: not sure it's this, but... https://superuser.com/questions/1430374
[16:53] <tarzeau> tomreyn: indeed i had usb connected disks, and gparted/parted/cfdisk/fdisk and one wouldn't show up real disksice, something with partprobe and i didn't feel rebooting (which would fix it all)
[16:53] <tarzeau> tomreyn: that gparted hint is the best! can reboot wednesday
[16:54] <tarzeau> wonder if i should dist-upgrade to 19.10 before or after the reboot. anyone is running 19.10 (i know it's not released)
[16:54] <tarzeau> btw, when there's debian and devuan. is there also uvuntu (ubuntu without systemd)?
[16:55] <tomreyn> !ubuntu+1
[16:55] <shibboleth> canonical github repos were "compromised"?
[16:55] <lotuspsychje> !discuss | shibboleth
[16:55] <shibboleth> is there any official word on the matter?
[16:56] <tomreyn> shibboleth: i don't know anything about it, but i agree this does not belong here. it doesn't directly affect ubuntu archives or support
[16:57] <tomreyn> tarzeau: i'm not aware of an ubuntu-without-systemd fork.
[17:03] <chaosfisch> I want to create a full disk backup. Can I do this while running the system?
[17:03] <chaosfisch> (Cloning all partitions on my ssd)
[17:04] <lotuspsychje> !backup | chaosfisch
[17:04] <chaosfisch> !cloning
[17:05] <OerHeks> chaosfisch, better not from a running system
[17:05] <chaosfisch> alright, expected this answer. Are there any problems to be expected with my disk encryption?
[17:06] <OerHeks> make sure the target drive is larger than..
[17:07] <chaosfisch> sure, I have plenty of space on the target drive
[17:07] <OerHeks> then i see no issues dd'ing a drive
[17:08] <chaosfisch> sounds good. hopefully a clean install afterwards lets me use my discrete nvidia quadro p1000
[17:13] <tomreyn> chaosfisch: while i concur with "better not from a running system" if you don't mix this up with backups, snapshotting a system can indeed be done.
[17:14] <tomreyn> that includes live systems
[17:14] <tomreyn> but you may need to use a different strategy for databases and other special storage concepts.
[17:16] <chaosfisch> well, I just want to be capable of rolling back the system. I guess an offline backup is more consistent.
[17:17] <tarzeau> what would be the reason ubuntu not providing the openrc package?
[17:20] <aiena> How do I reinstall an older kernel in ubunutu?
[17:20] <tarzeau> from source or available by apt?
[17:20] <aiena> I had removed all kernels excpet 5.0.0.20 but I want .19 as backup
[17:21] <aiena> via apt
[17:21] <aiena> from source is not an ubuntu support question
[17:22] <EriC^> aiena: sudo apt-get install linux-image-5.0.0-19-generic
[17:22] <OerHeks> why installing an older kernel?
[17:24] <chaosfisch> as a backup version
[17:24] <aiena> OerHeks: because for kernel related development they recommended keeping a backup kernel
[17:24] <aiena> on ##linux
[17:24] <EriC^> aiena: you probably want the headers package and modules extra and whatnot too
[17:24] <aiena> yes that too
[17:25] <aiena> if I know how to install .19 of one thing I can install the linux-module, linux-extra-modules, linux-header, linux-5.x.x.x-generic etc of that
[17:31] <aiena> hmm ok I just tried specifying the version and it does find it cool\
[18:04] <Sven_vB> does the Ubuntu live USB partition have to be FAT32 for EFI boot to work? (mine is currently ext4)
[18:08] <Sven_vB> I'll just try with fat32
[18:09] <kalokagathia> yes, EFI can only recognise FAT16 or FAT32 partitions
[18:09] <kalokagathia> any other FS'es aren't in EFI standard
[18:16] <Sven_vB> thanks!
[18:21] <parak0vsky> why there's no mtproxy in telegram in ubuntu?
[18:21] <Sven_vB> still doesn't work. :( can I just use the existing windows 10 to add some GRUB UEFI option that can then chainload my USB ubuntu?
[18:25] <mr_lou> Are there any tools for Ubuntu that lets me write protect my USB sticks somehow?
[18:30] <tomreyn> mr_lou: it may be possible using hdparm. but what'd be the benefit?
[18:31] <mr_lou> tomreyn, Just prevent people from accidentially deleting anything and/or get malware/virus onto it.
[18:32] <mr_lou> I tried hdparm without luck.
[18:32] <mr_lou> sudo hdparm -r1 /dev/sdx
[18:32] <mr_lou> Says read-only is on. But it's not.
[18:32] <mr_lou> diskparm on Windows works - but only on Windows.
[18:33] <tomreyn> Sven_vB: only ubuntu is supported on this channel. you can edit the grub boot menu with a text editor which conforms with standard unix line endings (and doesn't randomly replace characters).
[18:34] <tomreyn> mr_lou: use write-once-read-many media for this purpose.
[18:35] <mr_lou> tomreyn, No I want to use a USB stick.
[18:35] <tomreyn> alternatively, if you can restrict use to a single OS, you can use whatever works to apply this restriction to this OS.
[18:36] <mr_lou> I can't... but....  diskparm may be what I end up with.
[18:36] <miracee> hi
[18:36] <magic_ninja_work> https://www.digikey.com/en/product-highlight/v/viking-tech/usb-flash-drive-write-protect
[18:37] <magic_ninja_work> mr_lou, the only safe way to do that is something with write-protect fuses in the chip itself, IE single-use stuff.
[18:37] <Apachez> any hints on why my logitech M500 refuse to run faster than 125Hz even if I set this in /etc/modprobe.d/usbhid.conf : "options usbhid mousepoll=2" ?
[18:37] <magic_ninja_work> anhyway, bbl
[18:38] <mr_lou> Hmm... magic_ninja_work & tomreyn - I just tried using dd to write an iso to a USB stick. This appears to give me a USB that is write protected?
[18:38] <miracee> Using Ubuntu 19.04 on Thinkpad X1 carbon 2018 - latest bios version - it won't wake up after suspend. I already tried what I found in wiki. There were no problems with 18.10 but I had a temperature crash last week which totally shoot the os so I installed 19.04 with hope that sim maybe finally will be supported
[18:40] <tomreyn> mr_lou: using dd to write and iso image to a usb stick does not, by itself, or generally, write protect a USB stick.
[18:41] <mr_lou> mkay
[18:41] <mr_lou> Shame.
[18:41] <mr_lou> Looked to be the best result so far.
[18:44] <tomreyn> miracee: "that sim"?
[18:45] <Sven_vB> tomreyn, my problems start earlier, how to even get a GRUB installed. currently the only OS on disk is Windows 10 and my attempts to convince the BIOS to boot my Xenial live USB all have failed so far. I also have a USB with the SuperGRUB disk plugged in, hoping I could start Xenial that way, but it's not offered either.
[18:46] <tomreyn> a "temperature crash" would cause the system to power off. it will likely result in file system inconsistencies (which should be automatically repaired on next boot, and usually successfully, if you're using journalled file systems). it may result in minor data loss, but it should not usually break the Os installation.
[18:46] <tomreyn> miracee: ^
[18:47] <tomreyn> Sven_vB: which hardware is this?
[18:47] <Sven_vB> secure boot is set to disabled, I have a FAT32 partition on my USB with the "boot" and "esp" flags set, unetbootin has copied the files from ubuntu-16.04.3-xenial-desktop-amd64.iso onto that partition and has added a syslinux. // *looks up hardware*
[18:48] <tomreyn> Sven_vB: any why would you prefer Xenial (16.04 LTS) over, say 18.04 LTS or 19.04?
[18:48] <miracee> tomreyn: sim card support ... new hardware ...
[18:48] <Sven_vB> tomreyn, xenial still supports the ancient version of puppet that I use for my existing config collection. I didn't find the time to upgrade my configs yet.
[18:49] <miracee> tomreyn: nothing worked anymore - I got black screen with blinking server even on secure boot ... syslog said that it was a temperature issue - we hat +40 C outside
[18:49] <tomreyn> Sven_vB: do you orchestrate puppet form this system to deploy to other systems, or do you need to deploy to this system using puppet?
[18:50] <miracee> tomreyn: and making backup stressed the machine so it crashed ... nothing really dramatically - just annoying. I didn't lost data, it just needed time to get all backuped
[18:50] <tomreyn> miracee: which modem do you have there?
[18:50] <miracee> tomreyn: but my actual problem is suspend - I really run out of ideas - nothing in logfiles
[18:51] <Sven_vB> tomreyn, I'm not sure. I have some old magic script that invokes puppet-apply somehow. it worked for years so I forgot the details.
[18:51] <tomreyn> Sven_vB: this doesn't sounds healthy ;)
[18:52] <miracee> tomreyn: i would try to boot windows to look up the hardware ... last time I did it one year ago - at that time you just found chinese pages and there wasn't any linux support at all because too new
[18:52] <Sven_vB> tomreyn, yeah, I know, my todo includes migrating them to ansible.
[18:52] <tomreyn> Sven_vB: if you only need to use an older puppet / python version to apply changes to other systems, not this very system, i'd recommend you install 18.04 LTS and run puppet from a 16.04 lxd guest
[18:53] <Sven_vB> tomreyn, is that easy? :D
[18:53] <tomreyn> Sven_vB: it is to me, i don't know you very well.
[18:54] <tomreyn> Sven_vB: since you're generally able to use puppet, i think it will be easy for you as well.
[18:56] <Sven_vB> do you think my BIOS will easier accept bionic to boot? it's an Acer Netbook btw, I'm still trying to figure out something like a model name. unfortunately the writing on the bottom is all some asian script I can't decipher.
[18:56] <tomreyn> miracee: to determine the hardware, you can boot from linux, a regular installa or a live system, and run    sudo update-pciids    and     sudo update-usbids    and    sudo lspci -knn    and    sudo lsusb   and     journalctl -b | grep 'DMI:'
[18:57] <Sven_vB> maybe I can look it up by MAC
[18:57] <tomreyn> miracee: about the suspend issues, you could reboot the system, then boot it up fully, then putit into suspend, then try to restore it from suspend (or reboot if needed). then post the system log
[18:57] <tomreyn> miracee: ... and have someone here review it
[18:58] <tomreyn> Sven_vB: i think your BIOS is not that but a UEFI, since you mentioned you disabled secureboot (which is only available with UEFI)
[18:59] <tomreyn> Sven_vB: generally, your system should be able to boot either ubuntu release
[18:59] <Sven_vB> dxdiag says it's an Acer Aspire SWS-012
[19:00]  * Sven_vB asks search engines
[19:01] <miracee> tomreyn: there is nothing related to that issue in syslog
[19:03] <tomreyn> Sven_vB:  journalctl -b | grep 'DMI:'   is a way to get the mainboard / product info on ubuntu 16.04 and newer.
[19:03] <tomreyn> miracee: then i don't see how we can help.
[19:03] <Sven_vB> tomreyn, once I get Ubuntu to boot I don't need that info anymore. :D
[19:04] <tomreyn> Sven_vB: you have a point. i assume this may also work on !WSL - but have not actualyl tried
[19:04] <Sven_vB> tomreyn, if the mainboard info helps, I can ask dxdiag again, it should know.
[19:04] <tomreyn> Sven_vB: you could also turn around the system and read what it says on the bottom
[19:05] <Sven_vB> tomreyn, still just asian glyphs
[19:05] <tomreyn> ah sorry.
[19:05] <Sven_vB> np :)
[19:06] <tomreyn> maybe it's just counterfeit after all
[19:06] <tomreyn> neither acers' website seems to know about this model, nor much of the web (there are two mentions)
[19:07] <miracee> tomreyn: it successfully activated org.freedesktop.nm.dispatcher, then some network bla, cron bla, and then all the reboot foo.
[19:07] <Sven_vB> wow, that would be quite a surprise. :D
[19:07] <OerHeks> Acer Aspire Switch SW5-012-13U8 ... typo
[19:07] <jeremy31> Sven_vB: you can also check> sudo dmidecode | grep Product
[19:07] <OerHeks> bay trail ... https://tweakers.net/pricewatch/456489/acer-aspire-switch-sw5-012-13u8/specificaties/
[19:08] <Sven_vB> jeremy31, once I get an Ubuntu to boot. :D
[19:08] <tomreyn> good find OerHeks
[19:09] <OerHeks> sorry for the dutch url, that site is basicly my hardware database
[19:09] <Sven_vB> the web says I might need to update my BIOS (yeah dxdiag also finds a "BIOS version" 1.13, albeit the BIOS-like software calls itself "5.0 setup utility") to get an option for legacy boot. I'll try.
[19:10] <jeremy31> Sven_vB: trying a 32bit version?
[19:10] <OerHeks> always upgrade the bios, often it unlocks features and features with licenses
[19:11] <Sven_vB> jeremy31, nah, currently xenial desktop amd64. I also have a thumb drive with the supergrub disk plugged in all the time, which should support any combination of 32/64 legacy/uefi, just not in this netbook it seems.
[19:11] <tomreyn> Sven_vB: latest bios is version 1.20
[19:12] <tomreyn> SW5-012  https://www.acer.com/ac/en/GB/content/support-product/5547  or  SW5-012P  https://www.acer.com/ac/en/GB/content/support-product/5548
[19:13] <tomreyn> BIOS is identical for these models
[19:14] <tomreyn> miracee: i can't help until i've had a chance and time to review the full system log produced by the approach i discussed above. (and even then, possibly not)
[19:15] <magic_ninja> Should I use gpt or mbr for a new install on a disk?
[19:16] <jeremy31> magic_ninja: for EFI support you have to use GPT
[19:16] <Sven_vB> oh wow. all the time I read the model wrong in dxdiag =) thanks for showing me
[19:17] <magic_ninja> jeremy31, then should I do the entire install within LVM or have a separate efi and boot partition?
[19:18] <jeremy31> magic_ninja: An EFI partition is required and /boot should be seperate
[19:19] <tomreyn> Sven_vB: search the web for     ubuntu OR linux OR debian "SW5-012"
[19:20] <sappheiros> just installed lubuntu 18.04.2, but it presented an ERROR!!! that the partition didn't complete successfully and that i should reboot, giving only options 'ignore' or 'cancel'. so i clicked 'cancel' since i didn't want to ignore it, but the installation guide did not enable the 'back' button or a 'reboot' option so i finished the installation. it seemed successful, but what do you think?
[19:20] <tomreyn> looks like 32-bit uefi
[19:20] <tomreyn> Sven_vB: ^
[19:20] <miracee> tomreyn: I am not a newbie. I have no clue how I managed to get it work on 18.10. Ubuntu wiki is full of the problem. Changing s3 on bios and so on. There is no S3 in my bios, I just can set sleep behaviour to linux.  I remember that I disabled uefi in 18.10 but I can't remember why. I didn't try yet.
[19:20] <sappheiros> and when i click 'visit website' for weechat-doc package in synaptic package manager there is an error that my firefox profile is missing
[19:20] <magic_ninja> Also, if I remember right, can't you put iso files in your EFI partition and boot directly from them with grub2?
[19:20] <Sven_vB> tomreyn, does it mean I need a 32 bit Ubuntu also?
[19:21] <tomreyn> Sven_vB: no, but a custom boot loader
[19:21] <Sven_vB> oh. :|
[19:21] <Sven_vB> well maybe after the BIOS update (probably UEFI update) it can start supergrub.
[19:26] <tomreyn> Sven_vB: https://gist.github.com/franga2000/2154d09f864894b8fe84
[19:29] <tomreyn> Sven_vB: so there are two hoops to get linux to boot: 32-bit uefi grub (some fedora live/installer systems seem to come with this by default if you want to skip this step), UEFI boot loader whitelist needs to be configurred to allow booting grub (i.e. 'enter BIOS' and configure it there).
[19:29] <tomreyn> magic_ninja: dpeends on the image, works sometimes.
[19:31] <tomreyn> sappheiros: make sure the iso image download is complete (verify the !checksum) and that it was properly and entirely written to the installer media.
[19:31] <tomreyn> sappheiros: also provide the exact error message, maybe a screenshtot of the installer, if it still happens then.
[19:31] <sappheiros> tomreyn: checksum was correct, but i don't know how ... oh ... i guess i should boot from USB and then use the check disk option?
[19:32] <tomreyn> sappheiros: that's an option. or you could use a utility which can verify that the isp was properly written to the storage (or would warn if it wasn't)
[19:32] <tomreyn> s/isp/iso/
[19:33] <tomreyn> if you're not constrained on download size / speed, i tend to recommend balena etcher which offers this out of the box.
[19:34] <tomreyn> (but you can do the same with standard CLI utilities on a shell)
[19:39] <Sven_vB> looks like I can't have another FAT partition in front of the EFI partition. =)
[19:41] <tomreyn> normally yes, if it's not esp flagged, but maybe not with this firmware
[19:46] <Sven_vB> so I disabled secure boot and still the "F12 boot menu" shows just windows :(
[19:46] <Sven_vB> gues I'll read that link :
[19:46] <Sven_vB> :)
[19:47] <Sven_vB> also the UEFI now shows 1.20 as the BIOS version but still no legacy boot option.
[19:48] <tomreyn> as far as i know, CSM is not a UEFI requirement
[19:49] <jeremy31> Acer might be one of them that requires you to trust the bootloader
[19:50] <jeremy31> Custom Secure Boot settings
[19:58] <gemba> trying to install 18.04.2 on virtualbox 6. After saving the mannual settings the network config, installer restarts. Has anyone fixed that ?
[19:59] <Sven_vB> jeremy31, I even did that while before I disabled secure boot.
[20:00] <Sven_vB> well, at that time only for supergrub. maybe the custom 32 bit GRUB will do better.
[20:03] <Gokturk-Away> How to disable access.log? Or is it recommended to disable?
[20:03] <Sven_vB> Gokturk-Away, in apache?
[20:03] <Gokturk-Away> nginx
[20:17] <RahulAN> Hello all
[20:17] <RahulAN> any one tried building anbox on ubuntu 18.04
[20:17] <RahulAN> ?
[20:17] <sappheiros> what is anbox
[20:18] <RahulAN> sappheiros https://github.com/anbox/anbox
[20:18] <RahulAN> it is an Android container based emulator
[20:18] <RahulAN> I get error at the time of doing snapcraft
[20:19] <RahulAN> The linker version '2.23' used by the base 'core' is incompatible with files in this snap:
[20:20] <sappheiros> ah thanks. hope you get it working ...
[20:20] <RahulAN> :-)
[20:21] <tomreyn> !server | gemba: i suspect you're using ubuntu server
[20:23] <tomreyn> Gokturk-Away: access_log off;    (as a simple web search would have told you)
[20:24] <Gokturk-Away> Yes, I found it thanks.
[20:25] <gemba> thanks <tomreyn> <ubottu>
[20:32] <Helenah2> How do i install virt-manager? APT wants to install libvirt-daemon and a load of other bloat with it.
[20:33] <Helenah2> I just want virt-manager on a client to connect over the LAN to a libvirt hypervisor
[20:35] <tomreyn> Helenah2: --no-install-recommends
[20:35] <Helenah2> Thanks
[20:36] <Helenah2> tomreyn: That is better, thank you! :)
[20:39] <tomreyn> :)
[20:50] <Sven_vB> is there a way to have uefi boot partitions offered in the file manager like normal fat32 partitions?
[20:52] <jeremy31> Sven_vB: not in /boot/efi?
[20:53] <Sven_vB> jeremy31, oh I meant the one on my USB thumb drive.
[20:55]  * tomreyn didn't get the question
[20:56] <Sven_vB> usually when I insert the thumb drive, my file manager shows entries for the partitions on it. actually it does, but not if they have the boot and esp flag.
[20:57] <Sven_vB> so need to either fire up gparted and set the msftdata flag or what it's called (resets boot/esp) or mount it manually.
[20:57] <Sven_vB> and then umount it manually or set the boot+esp flag again
[20:57] <jeremy31> Sven_vB: the USB's are usually different
[20:58] <Sven_vB> well as soon as I change the flags in gparted, the entry appears, so it can't be tooo different.
[20:59] <Sven_vB> (+and exit gparted)
[20:59] <jeremy31> Sven_vB: sudo parted -l results from one of my ISO on USB https://paste.ubuntu.com/p/btBXWh2GrS/
[21:05] <Sven_vB> and here's mine https://paste.ubuntu.com/p/tmb8krPjr5/
[21:05] <Sven_vB> looks pretty normal
[21:08] <Sven_vB> what. I edited boot/grub/grub.cfg, and in the "Try Ubuntu without installing" entry replaced "quiet splash" with "persistent" in hopes it would load my casper-rw. instead, I get an initramfs shell and when I exit that, a kernel panic.
[21:08] <tomreyn> just a warnings: not every firmware will be happy to read an esp which is not within the first 2 GB
[21:08] <jeremy31> Sven_vB: 32 bit efi file?
[21:08] <Sven_vB> jeremy31, yes
[21:09] <Sven_vB> my casper-re is on the ext4 parition… oh wow so that might be it
[21:10] <Sven_vB> but wait before I changed the grub command line, the Ubuntu live session booted straight into the desktop, so the efi should not be a problem.
[21:10] <Sven_vB> I'll try without either quiet splash nor persistent.
[21:11] <OerHeks> oh, 32 bit uefi .. i hope you will get all hardware support. you better choose legacy then.
[21:11] <Sven_vB> OerHeks, I wish I could
[21:12] <Sven_vB> would have saved me several days of debugging
[21:12] <OerHeks> what hardware is this?
[21:12] <OerHeks> oops, aspire right?
[21:12] <tomreyn> "hey we have wiondows booting" - "ok, ship it!"
[21:14] <OerHeks> one should ask the vendor for 64 bit uefi update
[21:17] <Sven_vB> so I removed all said flags and now it boots properly into the live session, just without all my customizations (e.g. wifi config).
[21:17] <Sven_vB> so it shouldn't be about uefi at that point
[21:18] <Sven_vB> oh maybe casper just can't do ext4. in my successful experiments on other computers, I always stored my casper-rw on fat32
[21:25] <Sven_vB> I'll try with 18.04 also
[21:28] <Sven_vB> or maybe not, I'd better use another casper-rw for 18.04
[21:29] <coconut> Is it allowed to put the wallpapers of ubuntu's in the public domain?
[21:29] <coconut> Or any other distros?
[21:30] <akem-hp_> coconut, look at image tag, the license is probably there. Not sure it is common creative or something.
[21:31] <akem-hp_> How can i print a photo from the command line? i tried: "lpr 3.jpg" but it doesn't do anything.
[21:31] <coconut> akem-hp_: you mean the tag in the properties of the image?
[21:31] <akem-hp_> coconut, Yes.
[21:32] <coconut> i see
[21:32] <coconut> thank you akem-hp_
[21:32] <akem-hp_> yw coconut.
[21:34] <mybit> any news about this? https://news.ycombinator.com/item?id=20369902
[21:34] <akem-hp_> I also tried with just "lp" but got nothing
[21:34] <tomreyn> !discuss | mybit
[21:35] <AlexP11223> Is there any backup software on linux that can create an image of the currently running system like Macrium Reflect, Acronis True Image?
[21:35] <AlexP11223> I heard that there is no Volume Shadow Copy alternatives on Linux which makes it impossible to create such backup reliably? :(
[21:43] <tomreyn> AlexP11223: you're assuming that people know these softwares which are probably specific to other OS, then tell you whether something similar is available on Ubuntu. It'd be better to point to a (ideally non marketing driven) list of features these softwares provides, or rather the specific features you're after.
[21:44] <tomreyn> AlexP11223: there different file systems and other block device layers (which linux supports) which support snapshotting.
[21:45] <tomreyn> snapshotting is not backup, though
[21:47] <akem-hp_> I cannot print a picture from command line, any help with that?
[21:47] <AlexP11223> I think I said what these softwares do already :) they create an image of a currently running system, and the system can be restored from it later
[21:48] <Sven_vB> akem-hp_, this is not a good solution but maybe better than nothing: try converting it to PostScript with imagemagick: convert 3.jpg 3.ps; lp 3.ps
[21:48] <tomreyn> AlexP11223: yes, you said this, i agree. but note that there is no simple solution which covers all scenarios. for example databases can often not be stored in a recoverable way by just snapshotting.
[21:49] <Sven_vB> akem-hp_, if you can find a better way to generate a PS or PDF from the image (maybe using PHP or Python?) you'll have more control over size and position.
[21:49] <OerHeks> AlexP11223, timeshift perhaps, https://github.com/teejee2008/timeshift
[21:50] <Mr_Cyclops> Hello, how to reduce the spacing between icons in the Nemo file manager?
[21:50] <Sven_vB> akem-hp_, or of course you could learn PostScript and use its image commands. :)
[21:50] <akem-hp_> Sven_vB, I got a strange error with convert https://pastebin.com/9aySxwHD
[21:51] <akem-hp_> I though i could send picture files directly to the printer, didn't know we had to use PostScript.
[21:51] <Sven_vB> akem-hp_, some printers might support JPEG natively. my printers prefer PS however.
[21:52] <Sven_vB> the imagemagick error sounds like it's about file permissions. try another target than 3.ps
[21:52] <Sven_vB> and issue the lp command only once converting has succeeded
[21:53] <akem-hp_> Same error with another name: convert-im6.q16: not authorized `bla.ps' @ error/constitute.c/WriteImage/1037.
[21:53] <akem-hp_> I'm in my home directory and this file doesn't exist yet
[21:53] <Sven_vB> try create the file first: >>bla.ps
[21:53] <akem-hp_> and i can create the file manually with echo > bla.ps
[21:54] <akem-hp_> -rw-r--r-- 1 akem akem 1 juil.  6 23:53 bla.ps
[21:54] <akem-hp_> convert 3.jpg bla.png <- this one works.
[21:55] <Sven_vB> oh wow, IM seems to ship with special snowflakes for PS. https://stackoverflow.com/a/52861946/
[22:00] <akem-hp_> Sven_vB, I don't have the line he says to uncomment in /etc/ImageMagick-6/policy.xml - looking if there is something about PS. This must affect Ubuntu 18.04, didn't use image magick or PS files yet.
[22:02] <akem-hp_> I find what is needed to comment.
[22:03] <akem-hp_> https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1810517
[22:08] <ipatrol> I'm having a potentially serious issue: mozc's configuration tool is crashing with a 255 error
[22:08] <ipatrol> (serious as far as i18n, excuse me)
[22:11] <akem-hp_> Sven_vB, It works, i can print, thanks!
[22:12] <akem-hp_> Sven_vB, It will be usefull for me since i want to print a bunch of pictures automaticly from the CLI.
[22:20] <ipatrol> wait, I think I got it
[22:22] <YWH_1> leave
[22:23] <ipatrol> I think, not sure
[22:29] <magic_ninja_work> is there an accepted way to install python 3.5?
[22:31] <Bashing-om> magic_ninja_work: What release are you on ?
[22:32] <magic_ninja_work> 19.04
[22:32] <magic_ninja_work> I'm comfortable just installing from source if there isn't a package available
[22:33] <Bashing-om> !info python3 xenial
[22:34] <Bashing-om> !info python disco
[22:34] <tomreyn> python3 on disco is 3.7.3-1
[22:35] <Bashing-om> magic_ninja_work: Think you are looking at breaking your system bad . but I will bow to others better advise.
[22:35] <tomreyn> magic_ninja_work: is this too new for your needs=
[22:35] <magic_ninja_work> looks like it is already installed.
[22:35] <magic_ninja_work> python3 IS python 3.5
[22:35] <magic_ninja_work> so that is fine.
[22:35] <tomreyn> not on 19.04
[22:35] <magic_ninja_work> Bashing-om, you can not break the system if you do a make altinstall so that you don't over-write the system libs.
[22:36] <magic_ninja_work> ohh, it is 3.5
[22:36] <magic_ninja_work> 3.7*
[22:36] <SpiritHorse> is there something in 3.5 that does not function in 3.7?
[22:38] <magic_ninja_work> I was just installing overgrive. The author said you need their python 3.5 repo, but I'm going to go ahead and try python3.7
[22:41] <magic_ninja_work> Gotta be careful with that stuff sometimes.
[22:41] <magic_ninja_work> thats the problem with the command copy and paste culture
[23:37] <Sven_vB> what's expected to happen if I boot a bionic live usb in persistent mode but the casper-rw file is missing (and no suitable alternative exists)
[23:37] <Sven_vB> ?
[23:42] <tomreyn> probably something along the lines of 🧨💣💥🌩🔥
[23:50] <Sven_vB> :)