[00:01] Can someone tell me if Ubuntu 18.04 installs MySQL or MariaDB when you do a package install for "mysql-server" ? [00:01] I'd also appreciate any feelings you folks might have on MariaDB versus MySQL [00:02] 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] nordmike: Get any additional hints ' sudo dpkg-reconfigure redmine ' ? [00:03] Bashing-om: /usr/sbin/dpkg-reconfigure: redmine is broken or not fully installed [00:04] !register | N26pmXWs [00:04] N26pmXWs: For information on registering your IRC nick, see https://help.ubuntu.com/community/InternetRelayChat/Registration - For any further help, ask in #freenode. [00:04] I registered this nick and identified with nickserv already though, is there another step bashing-om ? [00:05] N26pmXWs: try as ##linux . [00:06] lol Ive never joined the channel and get message Cannot join channel (+b) - you are banned [00:06] is it because of using irccloud ? [00:07] sixie6e, solved the problem. safeboot was on [00:07] nordmike: Naybe then try as ' sudo apt install --reinstall redmine ' ? - "apt depends redmine" shows a lot of dependencies on ruby too. [00:08] N26pmXWs: Cannot say .. might get better answer in the #freenode support channel. [00:09] Bashing-om: E: Internal Error, No file name for redmine:amd64 [00:10] nordmike: Yukkie ! "apt list redmine >> redmine/bionic,bionic 3.4.4-1 all " . So it is there in bionic ! [00:11] Yes, and it's installed: redmine/bionic,bionic,now 3.4.4-1 all [installed] [00:11] nordmike: "apt show redmine" shows it is in the universe repo - insure that the universe repo is enabled on your system. [00:12] secureboot is often a problem amazoniantoad [00:12] nordmike: Humm .. chasing our tail here but what does the package manager say ' dpkg -l redmine ' ? [00:13] amazoniantoad glad you got it worked out [00:13] sixie6e, thanks [00:19] Bashing-om: There are universe in /etc/apt/sources.list. [00:21] Bashing-om: dpkg -l redmine - https://paste.ubuntu.com/p/YGfr5J9vbR/ [00:23] 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] 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] wyseguy: I would suggest LTS for stability and long term support. 19.04 will be unsupported in January [00:48] wyseguy: Development means long term stability, And that is presently 18.04 LTS. [00:48] okay thanks, I was leaning that way... LTS. I dont need little bugs to keep me from being productive [00:48] thanks guys [01:10] 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] and what's with this? du: cannot read directory '/home/gallomimia/.dbus': Permission denied [01:11] that file also does not exist [01:12] ubuntu 19.04 not pleased with file tools which lie [01:13] oh the swapfile is at root. why does this file keep reappearing?? [01:16] 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] sda [01:16] ├─sda1 vfat 30F9-5EDA /boot/efi [01:16] └─sda2 ext4 8d11d65a-589b-4a32-a307-36e58774a70b / [01:16] sdb [01:16] └─sdb1 ext4 fec56a2e-3459-4fdf-936f-637a1f7cf596 [01:16] do you know what is slow about it? [01:17] systemd-analyze blame first two rows are: [01:17] 34.780s dev-sda2.device [01:17] 34.386s apparmor.service [01:17] I've spent about 5 hours to solve this, without success. Any help would be much appreciated! [01:20] 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] it's not rsyslog picking those bad names, it's the dameon [01:22] Gallomimia, is this information helpful? [01:22] 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] rumini: post both systemd-analyze blame and systemd-analyze critical-chain [01:23] and have logrotate append the date/time when it rotates [01:23] if you have logs that have date in the filename, do you really need to rotate them? [01:23] 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] Gallomimia , I just want to compress them. i guess I just take an approach w/ find, crontab and gzip [01:23] xibalba: or not have the dates on it in the first place? [01:23] thats a good point Gallomimia [01:24] i should think you can run a crontab with the program date. zip $(date dddmmyy) [01:24] https://pastebin.com/QbWkpyP7 and https://pastebin.com/9RFBQ50q [01:24] you can have rsyslog just compress files without rotating them if you want to. [01:25] oh? let me look that up in the man page [01:25] so, blame has given you a report that app armor is hanging things up? rumini? [01:26] rumini: do you have custom apparmor configurations then? this is definitely not standard. [01:26] Gallomimia, apparmor and sda2 service [01:26] tomreyn, I didn't customize anything [01:27] 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] rumini: is the system fully updated? do you have third party repositories or software configured / installed [01:27] used = uses [01:29] tomreyn it is updated, and I added third party ppa only recently [01:29] but the slow boot existed from the very beginning, just didn't have time to figure it out [01:30] rumini: can you post your system logs journalctl -kb | nc termbin.com 9999 [01:31] tomreyn, https://termbin.com/4axkf [01:31] xibalba: you'd have something like /var/log/somedir/*.log { compress } (but not "rotate") === zbenjamin is now known as Guest47895 === zbenjamin_ is now known as zbenjamin [01:37] tomreyn, is it useful? [01:39] 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] what's with all that about the RAM [01:39] rumini: the nvidia driver is causing issues. [01:40] and can this have an effect on the sda2 device and apparmor..? [01:40] it doesn't seem to be related [01:41] rumini: i'm more inclined to trust your kernel log on the causes than systemd-analyze [01:42] 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] you don't want 430? [01:43] it's not offered by default - is it okay to download it from nvidia website? [01:43] 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] no it is not okay to download from the nvidia website. we use the graphics-drivers ppa [01:44] you have an intel CPU with integrated graphics? [01:45] does Ubuntu 18 have a MySQL 8 package? [01:46] 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] Gallomimia, I added the ppa and changed to 430. I have i5-4590 cpu. [01:49] 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] !YY.MM | sneakyimp [01:49] sneakyimp: Ubuntu version numbers are: YY.MM (YY=release year,MM=release month). Each year sees two releases, so just specifying YY is imprecise. See also https://www.ubuntu.com/about/release-cycle [01:49] lspci shows 2 VGA controller, the NVIDIA and the Intel one. [01:49] I got a question [01:49] !ask [01:49] Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [01:50] i don't know much about having mixed GPU's but i've heard they can cause problems with each other [01:50] if you accidentally typed my password into the user name but I didn't press enter should I change my password? [01:50] !info mysql-server-5.7 | sneakyimp No, default:: [01:50] sneakyimp No, default::: mysql-server-5.7 (source: mysql-5.7): MySQL database server binaries and system database setup. In component main, is optional. Version 5.7.26-0ubuntu0.18.04.1 (bionic), package size 3189 kB, installed size 46018 kB [01:50] usney, it's probably still safe [01:51] okay cool thanks Gallomimia [01:52] rumini: if you were so far using the nvidia driver installed by the ubuntu software / updates utility, you should report a bug. [01:53] seems really odd. tomreyn do those messages about ram testing look normal to you? [01:55] Gallomimia: i've seen them before but it's not very common. [01:56] note those lines, i think it's related: [01:56] i guess it all happens really quickly. the first 5 pages or so are all within 1 second [01:56] júl 06 03:09:43 rumini-ubu kernel: mtrr_cleanup: can not find optimal value [01:56] júl 06 03:09:43 rumini-ubu kernel: please specify mtrr_gran_size/mtrr_chunk_size [01:56] yeah that part seemed odd [01:56] 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] this part we already discussed [01:57] and then at the end it says shutting down adapter [01:57] rumini: if you were so far using the nvidia driver installed by the ubuntu software / updates utility, you should report a bug. [01:58] include this kernal log i assume [01:58] Gallomimia, tomreyn thank you very much for your help, changing the nvidia driver solved the problem! [01:58] no way really? [01:58] yep [01:59] boot time was around 2 minutes, now under a half [01:59] 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] the devs and the users would appreciate a bug submission [01:59] I'm not sure if the driver was enabled by default... [02:00] 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] uhm. is this a laptop or a desktop? [02:00] 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] it's a desktop [02:01] well then the ultimate question: what adaptor is your display connected to?? [02:02] 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] it's a dvi-hdmi cable (if I understood your question) [02:03] i wouldn't even recommend using do-release-upgrade to install a new one [02:03] 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] it's a tool to update, for example from 18.04 to 18.10 [02:04] i highly recommend a clean install for a new release. from personal experience [02:04] can I check it without opening the computer? [02:04] yes. look at the back [02:04] your graphics card is separate from the motherboard, yes? [02:04] yes [02:04] okay [02:05] there's a port on the motherboard, to use the intel GPU [02:05] and then... there's the graphics card. which is nvidia [02:05] guess which one you want to use? [02:05] I want to use the nvidia card [02:05] so. plug it into that port [02:06] a GPU on a dedicated graphics card doesn't get to play with the ports on the motherboard [02:07] 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] right [02:07] Now my monitor is plugged into the second dvi port [02:08] the card has a slot that's perpendicular to the motherboard === inisheer_ is now known as inisheer [02:08] and then you might see a bunch of other "blank" slots with metal plates covering them [02:08] rumini: so you installed a different nvidia driver now, can you show another log? journalctl -kb | nc termbin.com 9999 [02:09] rumini, http://bucarotechelp.com/computers/anatomy/images/backpanel.jpg [02:09] https://termbin.com/in3ua [02:09] see the computer here? it has onboard video only [02:10] 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] and then you can see the slots at the bottom [02:10] 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] DanDare, it's in home/Pictures [02:11] Gallomimia, I have 2 slots down there. [02:11] nice! thanks Gallomimia [02:11] 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] most modern graphics cards are double-wide [02:12] 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] so they take up two slots, and have ports on both sometimes [02:12] https://termbin.com/1qzx === BrianG61UK__ is now known as BrianG61UK [02:16] rumini: run gedit admin:///etc/default/grub [02:16] at this point i want to recall if i've seen anyone disable their integrated GPU and run only the dedicated [02:17] rumini: then look for the line starting GRUB_CMDLINE_LINUX_DEFAULT= [02:18] 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] I have 2 lines starting with GRUB_CMDLINE_LINUX_DEFAULT= [02:19] GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`" [02:19] GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" [02:19] GRUB_CMDLINE_LINUX="" [02:19] any of them got # at the start? [02:19] no [02:19] nope. that last one is NOT default [02:19] rumini: no, you only have one line with GRUB_CMDLINE_LINUX_DEFAULT= [02:20] 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] what's with my ls command giving things with ' ' single quotes around them? [02:20] oh, you are right, sorry, it's 4 am here :) [02:21] Gallomimia: those will be file system objects contaiing special characters such as blanks [02:21] they're mp3's [02:21] and it's.... ALL of them. dirs too [02:21] post one example [02:22] ah. there's one that isn't. its like the only thing with no special chars [02:22] space is a special char [02:22] 'Unknown Artist' [02:22] yep [02:23] k. the only ones with no single quotes have single words and no special characters [02:23] which in a music collection is very rare [02:24] it's not uncommon to replace blank spaces by underscores. [02:24] break all fingers of ye who does this. [02:24] tomreyn, rebooted, the log is here: https://termbin.com/s407 [02:25] finally used jdupes to remove.... i think a complete duplication of my whole collection [02:25] almost complete [02:25] except for a few files that are missing blocks in the middle of songs [02:26] those are easy tho, since they're actually smaller in size [02:26] and i think only an album or so [02:27] good job tomreyn. that log file looks a lot prettier [02:27] 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] absolutely, thank you :)) [02:28] 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] 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] depending on your display, you probably want digital [02:28] https://www.gigabyte.com/Motherboard/GA-B85M-D3H-A-rev-10#support-dl-bios [02:29] gigabyte boards usually have an in-bios upgrade system. mine does [02:29] did not need to muck around to update it [02:29] put the update file on a USB stick and did it all from inside bios [02:30] tomreyn, I did a bios update on my previous pc, even installed win, and it became a brick... [02:30] LOL! okay then [02:30] might not want to go that route just yet [02:30] yep, it would hurt :) [02:30] rumini: up to you. if it works fine as it is, just keep it that way. [02:31] Gallomimia, I have a big monitor and my roommates like to play games - so digital should be fine, right? [02:31] you loose some RAM now, but not much [02:31] uh. its better, i think. only if your monitor handles it. it should [02:31] my big monitor is actually DisplayPort [02:32] "losing 94MB of RAM" [02:32] my small monitor is hooked up with DVI. and my tv upon which i show the chat, is HDMI [02:33] Now I see errors regarding the nvidia driver... It seems that it's not active, as there are missing dependencies... [02:33] hm. that doesn't agree with your kernel log [02:33] try running nvidia-settings [02:34] It shows 430.26 [02:34] and.... it's on? and active? [02:34] the nvidia settings app is a graphical program [02:35] yes I know [02:35] There are lot of info here, but I don't see if it's active or not [02:36] i think.... click GPU0 [02:36] I did [02:37] it shows Display Devices at the bottom? [02:37] yes. the monitor [02:37] and then the name of your monitor. brand and model [02:37] yes it does [02:37] and in brackets (how its connected) [02:37] DVI-D-0 probably? [02:37] yes, dvi-d-0 [02:37] :) [02:37] seems pretty golden to me [02:38] what's GPU utilization say? [02:38] 0% [02:38] does it have PowerMizer on the left? [02:38] yes [02:38] does it show your performance level? [02:39] yes [02:39] there are level 0 and 1 [02:39] 1 is greyed out [02:39] that means its at 0 [02:39] slower clock speed because you're not doing anything hefty [02:40] i believe it's time to fire up a game and "test" it for an hour or two [02:41] 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] screen? [02:41] *not on the connected TV [02:42] 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] https://termbin.com/v7ha [02:46] That's the error message when I try to fix with apt. [02:47] a dpkg --fix-dependencies might be in order? [02:48] this command doesn't work [02:48] unknown options [02:48] *option [02:49] i guess i forget exactly how it goes [02:50] 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 rumini: oh and before you run this, run this: [02:51] export LANG=C [02:51] Hello [02:52] hi jojero [02:52] https://termbin.com/ng4uv [02:52] 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] I was just trying to investigate what file system is on the image file [02:53] fdisk -L says the filesystem type is "Linux" [02:53] I am familianr with ext2, ext4 etc. but what is the "Linux" file system and how do you resize it [02:54] rumini: run this, copy and paste the output to a !pastebin : sudo apt --fix-broken install [02:54] rumini: ... on the same terminal window, or on a new one but then run export LANG=C again [02:55] 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] aiena: fdisk handled partition tables, not file systems [02:56] 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] !eol | anydomain [02:56] anydomain: End-Of-Life is when security updates and support for an Ubuntu release stop, see https://help.ubuntu.com/community/EOL for more info. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades [02:56] 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] anydomain: 14.04 is EOL, not supported here. we can only help you do an unsupported !eolupgrade [02:57] I understand that ubottu, but i need specific information ... :) [02:57] https://pastebin.com/ccnyXh4R tomreyn [02:57] !eolupgrade [02:57] End-Of-Life is when security updates and support for an Ubuntu release stop, see https://help.ubuntu.com/community/EOL for more info. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades [02:57] end of life is just that. end of life [02:57] Understand tomreyn, but can you at least point me to the repository I need to add? [02:58] tomreyn: , Gallomimia my difficult is how to resize the file [02:58] anydomain: you are probably lucky and can just upgrade by running do-release-upgrade [02:58] I don't understand losetup well there is a -c option [02:58] no, I need to add the repository which name has eluded me ... [02:58] do I need to use that to resize the file [02:59] trusty tahr === [b0b] is now known as b0b [03:00] Yes, for trusty tahr gallomimia. [03:00] 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] rumini: which driver do you want to (try to) use, nvidia-340 or nvidia-418? [03:00] 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] *the file [03:01] anydomain: does "sudo apt-get update" print errors at this time? [03:02] Yes, indeed. Because the files have been moved to a different location by Canonical. [03:02] tomreyn, 430 [03:02] rumini: then switch to a !tty and run sudo dpkg --purge nvidia-340* [03:02] due to eol ... my question is where ? Not like this is a secret ... this channel has answered this question in the past. [03:03] 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] 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 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] 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] tomreyn: thanks for the tips [03:05] thank you tomreyn [03:05] with the same amount of respect, not explaining the issue is not going to get you anywhere. wasting time is for sure [03:05] 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] 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] aiena: is this maybe a homework assignment? [03:06] Many suggest using dd and adding some data to the end of file [03:06] tomreyn, it says that it's not installed so it ignores the command [03:06] ah that's a decent option [03:06] tomreyn: self assigned homework [03:06] but I am struggling with it I am not an engineering student [03:07] rumini: please post the url returned by : dpkg -l *nvidia* |& nc termbin.com 9999 [03:07] tomreyn: I am trying to follow along with a driver tutorial and that person uses qemu his commands are not working [03:07] aiena: is this actually about ubuntu? [03:07] so I am trying to see how I can make the image larger so his commands work I am self learning [03:08] tomreyn: I don't know I am on an ubuntu system and only use ubuntu [03:08] i think its more of a general linux question non distro specific though [03:08] Hi, i just done a rootkit checker scan and it says these folders/files are suspicious :- https://pastebin.com/gxvJgY2t [03:09] 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] https://termbin.com/v5b8 [03:09] 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] aiena: but feel free to re-ask here and provide command output on a !pastebin if you can't get help there [03:10] 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] 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] 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] anydomain: what you posted is not the output of the commands i suggested you to run. [03:13] I cannot run that as I am not the end user. tomreyn [03:13] i conveniently enough named my install LV's after the release codename. i was just looking at them a few minutes ago [03:14] anydomain: what are you then? [03:15] and now i have to delete my old installs and copy my current on inside my LVM container [03:15] 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] anydomain: by doing what's written on this askubuntu answer you'll break updates on this system. [03:16] quite an involved process. anyone feel like holding my hand thru a bunch of changes to my fstab and such? [03:16] is it still crypttab for automounting LUKS containers? [03:18] 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] yeah i think me too [03:19] i have to copy home out of the way first... [03:20] don't drink and root. applies to very-tired also [03:22] rumini: any luck with this, did i express myself well enough? [03:23] yes [03:23] here is the new list: https://termbin.com/u1fj5 [03:23] but I got the same error messages [03:24] tomreyn --- breaking updates to fix updates is a good trade off in this circumstance. [03:24] rumini: looks good, i think you can run sudo apt update && sudo apt -f install again now [03:24] same error [03:25] backup files and clean install, before it goes REALLY wrong. [03:25] 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] rumini: can i see it again, though? [03:26] anydomain: i.e you're effectively making things worse. [03:26] sure tomreyn : https://pastebin.com/sJFeUj8C [03:26] 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] wolfheart: what's "rootkit checker"? i know of "rkhunter" and "chkrootkit" [03:27] tomreyn: i used chkrootkit [03:27] 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] i am at a strong loss to explain why you two don't do a backup right now [03:28] 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] 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] 0o [03:29] put a thumb drive in, back up your important files [03:30] the software you need to back up your important files is called cp [03:31] rumini: sudo dpkg-divert --package nvidia-340 --remove /usr/lib/x86_64-linux-gnu/libGL.so.1.distrib [03:31] seriously. stop messing around.... and backup your important files! [03:31] or if it's not backed up, i guess it's not important to you? [03:31] 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] i am done [03:31] lol [03:31] No diversion 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.distrib by nvidia-340', none removed. tomreyn [03:32] rumini: sudo dpkg-divert --package nvidia-340 --remove /usr/lib/x86_64-linux-gnu/libGL.so.1 [03:32] Yes, you have a one track mind and this situation requires thinking outside the box gallomimia ... thanks anyways. have a good one. :) [03:32] 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] 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] 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] But still can't be upgraded [03:35] rumini: whats the new output? [03:35] what is usually the bottleneck with boot times, cpu speed? drive speed? [03:35] the same [03:36] rumini: it wasn't identical last time you said it was identical, so excuse me if i have my doubts again ;) [03:36] leonardus, it's often drive. we were just troubleshooting one that was caused by bad drivers and a bios bug [03:36] oops [03:36] I just see this line in red: dpkg-divert: error: mismatch on package [03:36] 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] i learned a lot. rumini and tomreyn are still sorting out some old driver [03:36] depends. what are you booting from now? [03:37] 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] Gallomimia: sandisk ssd plus 120gb [03:37] yes, I'm doing it [03:37] :) ok [03:37] eh. i wouldn't say significantly faster [03:37] how fast does it boot now? [03:37] https://pastebin.com/u8s7yVJH [03:38] maybe 15 seconds [03:38] yeah. shave 3 more seconds off it? [03:38] rumini: sudo dpkg-divert --package nvidia-340 --remove /usr/lib/x86_64-linux-gnu/libGL.so [03:38] rumini: then show the full output of sudo apt update && sudo apt -f install again [03:39] rumini: the reason this is so tricky is that packaging of the driver you're trying to use is still under development [03:40] https://pastebin.com/aDav38bi [03:40] anyway leonardus it's starting to look like your boot time would be CPU bound at that point [03:41] are there any "built-in" waits during boot, that even with a theoretical "infinitely fast" computer there will still be that time? [03:41] rumini: sudo dpkg-divert --package nvidia-340 --remove /usr/lib/x86_64-linux-gnu/libEGL.so.1 [03:41] rumini: then show the full output of sudo apt update && sudo apt -f install again [03:41] there's a few that can be turned off. grub timer.... [03:41] rumini: if you notice the pattern here then you can just drive it forwards alone, too [03:41] you've probably got them off [03:42] i have some kind of infinite-wait in mine that i need to sort out still [03:42] rumini: we're removing all the nvidia-390 diverts for any files which are reported by sudo apt-f install [03:42] tomreyn, ok thank you [03:42] alright, I'll try to keep on with that [03:45] tomreyn, succeed!! [03:45] Thank you very much! [03:45] 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] rumini: great. you shoud also sudo apt-get full-upgrade && sudo apt --purge autoremove [03:46] tomreyn, Gallomimia how could I invite you to a beer? :) [03:48] 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] rumini: thanks for the offer, though ;) [03:48] i agree. /pay tomreyn [03:49] as for the beer thanks but i'm a recovering alcoholic [03:49] i learned a lot just by following along [03:49] 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] does it give you a prompt, or just blank? [03:51] Gallomimia, just gives me the help menu :( [03:51] i guess you formed the command badly? [03:53] 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] i just don't know the program at all [03:54] is it interesting? [03:54] mkae sure the output directory exists [03:55] "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] nor "mpeg", "wma", "m2ts", "mts" [03:57] hmm guess it don't support those file types [03:57] that's unless --help says differently, or those format headers are actually present. [03:57] mpg is [03:57] not mpeg [03:57] they'd be specified in /etc/foremost.conf [03:58] there's an all as well [03:58] ok thank you :) [03:58] yes. when in doubt RTFM for sure [03:59] got it working, just trying to recover some holiday photos from this year :) [03:59] !backup wolfheart [03:59] doh. [03:59] !backup | wolfheart [03:59] wolfheart: There are many ways to back your system up. Here's a few: https://help.ubuntu.com/community/BackupYourSystem , https://help.ubuntu.com/community/DuplicityBackupHowto , https://wiki.ubuntu.com/HomeUserBackup , https://help.ubuntu.com/community/MondoMindi - See also !sbackup, !borg, and !cloning [04:00] bah. that's not a nag message. just some manuals. [04:00] i like foremost, but there's also photorec (comes packaged with testdisk) and ext2grep [04:00] maybe if you know it's all jpg files you want to specify just that? [04:01] * ext3grep [04:01] apt show forensics-all [04:02] ^ for more options [04:02] also, i hope you're not recovering to the same drive. possibly overwriting what you're trying to save [04:02] would `rsync -r source destination` copy all files from local source to (local?) external USB drive? [04:03] and preserve directories? [04:03] i believe you want -A also? [04:03] i'm not sure i tend to avoid rsync [04:03] cp usually does what i want [04:04] the usage is the same as you listed. both commands assume you have formatted and mounted the USB drive appropriately [04:05] sappheiros: An example to rsync to an external USB device: ' rsync -aiv --exclude=".*" --exclude uwn /home/sysop/ /media/sysop/store/ ' . [04:07] what does -C mean in rsync about excluding as CVS does? [04:08] strongly recommend man page [04:08] Bashing-om: i am trying to rsync 'home' (all my files + falkon + weechat settings) to external USB [04:08] Gallomimia: i'm asking that after looking at it ... they seem to assume the reader knows what 'CVS' means [04:08] but V and S are not options [04:09] CVS is a type of program for managing source code. concurrent-versioning-system [04:09] oh, -S is --sparse [04:09] Gallomimia, its more than jpg files i am looking for, hence mov and mp4 etc :) [04:11] 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] sappheiros: What is the mountpoint of the external USB device ? [04:13] 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] Bashing-om: /media/ i think [04:14] aw. i'm definitely going to do some kind of course about backing things up. [04:15] the concept of computer "files" has gone out of the general knowledge of the average user. badly [04:15] 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] here is probably why i would just use cp -r source destination [04:16] rsync has so many complex options.... cp would be done by now [04:16] LOL [04:16] yeah ... ... [04:16] hello, need the best option (tool/cli) to shred an old disk drive, thank you [04:16] 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] 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] Also, is /dev/zero using dd in 1 pass is enoough? [04:16] like i said. i don't understand the program enough to know why you're doing rsync [04:16] Bashing-om: i'm thinking (...?) maybe cp -r is safer for me [04:17] Mr_Cyclops, no. oddly enough the program you're seeking is actually called shred [04:17] i just want to "copy my files to external USB drive" (and also weechat settings and falkon passwords) [04:17] there's another called secure-delete i think. it needs to be installed it has more options [04:17] i almost did it with the GUI -- pcmanfm-qt -- but it estimated 63 minutes [04:17] i was trying to do it faster than that [04:17] Gallomimia, yeah I found it amongst other options online. How many passes should be enough? [04:17] the opinions on that vary. [04:18] is cp -r faster than right-click copy right-click paste? [04:18] 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] actually for very sensitive data, they physically shredded [04:18] sappheiros: Maybe "safer" of a one time copy .. many copy (versioning) is where rsync excells :P [04:19] and no. CP is about the same speed as the GUI stuff [04:19] try a du -Sh ~ and get info on how much space your home dir is [04:19] also, is the thumb drive on USB2 or USB3 ?? [04:20] cp -pr source dest [04:20] this is what i want isn't it? [04:20] to copy files as backup in preparation for OS reinstallation [04:24] what is -p ? [04:25] oh preserve attributes [04:25] well that can be "nice" i guess [04:25] "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] man cp [04:25] i copied it from there ... [04:26] this is what you want [04:26] maybe more info is here? http://www.gnu.org/software/coreutils/manual/html_node/cp-invocation.html#cp-invocation [04:26] probably but i think a cp -pr is going to do exactly what you need [04:26] it's metadata anyway. you don't "need" it [04:28] well, learning to read is good if nothing else ... [04:28] agreed. i never would have bothered with -p [04:28] 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] is there a reason clonezilla doesnt recognize my plugin usb drive for backup ? [04:30] tomreyn, its from a windows partition i had them on and so far its found 13466 files and still going [04:30] :( [04:30] i guess we all know what you're doing this weekend [04:31] well some of it anyway, got 2 sheds to empty as moving house too :o [04:32] i think you are mistaken ;) viewing 13k pictures to see what they all are is going to take 60 hours [04:32] just think. you might not want to show your 2yo nephew certain ah.... er. photos. of.... people.... doing... things. [04:33] N26pmXWs: Hard to say - what is the mount point of the USB drive, and where are you pointing clonezilla to ? [04:33] https://getyarn.io/yarn-clip/e7742eb3-f017-4ec9-8399-991d6c700d8e [04:33] 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] it's likely to pick up cache files from web browsing even [04:34] 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] its usb 2.0 [04:35] how do i correctly specify this regex "(\!libstdc++6-4*)*-arm*" [04:35] true, well i think its found my mov and avi files from holiday :) [04:35] 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] but yeah. the last time i ran a file recovery, there was like 5 copies of everything [04:36] hey it could be worse, where you had to use 100+ floppy disks lol [04:37] cp -pr should be faster than copy-pasting by clicking in pcmanfm because it's not showing progress bar, right? [04:37] yes [04:37] wolfheart: "windows partition" sounds like potentially NTFS. in which case you could try scrounge-ntfs. [04:38] tomreyn, ok thank you [05:07] i want to install everything arm but apt wont let me ;-; [05:08] add-architecture ? [05:10] 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] 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] sneakyimp, you'll need to boot from a LIVE-USB [05:16] !live | sneakyimp [05:16] sneakyimp: The Ubuntu Desktop ISO is a "Live" image, which can be run without altering existing files on your hard drive. Especially useful for testing your hardware's compatibility, it also includes an install option. [05:16] Gallomimia: I have burned an Ubuntu 18 DVD and can boot from that [05:16] the installer that you're about to use. [05:17] 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] yeah that. you can't fsck a boot drive while its in use [05:17] well. i have an entire disk that's failed and it says only 1 bad sector [05:17] 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] the disks program is GUI and will do the same thing [05:18] "Check Filesystem" under the gear menu [05:19] 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] no that's not part of the system. it's in the partition table [05:20] you don't do anything with the output of fsck. it either fixes things or tells you its borked [05:21] 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] if everything is good, there's actually no output [05:21] Gallomimia: if i delete the partition, would the bad sector info get lost? this disk has several partitions [05:22] Bashing-om: thank you for that detail [05:22] no i think it's at a higher level [05:23] sneakyimp: Keep in mind that ;fsck' checks the fil system NOT the hardware, 'smartctl to check the drive. [05:23] there's lots of other interesting data in the SMART report on the subject of aging drive [05:23] 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] is it a platter drive? or solid state? [05:23] Gallomimia: I have been looking at the SMART report, but it's greek to me [05:24] Gallomima: it's a spinning drive [05:24] the online hours is probably the best one to look at [05:24] Gallomimia: you mean "Power-On Hours?" [05:25] that's probably what i meant yeah [05:25] sneakyimp: You can always paste the smart report - we can have a look at it and give our best advise :) [05:25] he means pastebin. not paste :P [05:26] Bashing-om: i cannot copy from this window. Perhaps there is some command line option to get in text format? [05:26] smartctl [05:26] Gallomimia: The program 'smartctl' is currently not installed. [05:27] lame. would you need to run it as root to even see it? [05:29] 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] 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] Bashing-om: thanks [05:33] Bashing-om: https://paste.ubuntu.com/p/8tzWz9bjHb/ [05:33] Gallomimia: https://paste.ubuntu.com/p/8tzWz9bjHb/ [05:34] whoa. g-sense error rate 52?? [05:35] Gallomimia: no idea what that means [05:36] me neither but i don't like it. mine says zero [05:36] 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] is this a laptop drive?? wait. do they make 2.5" drives in 2tb size?? [05:38] 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] 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] i had to do that myself a week ago [05:39] had to take the heat sink right out [05:39] 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] 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] it does seem to be getting on the old side. 50000 hours? [05:39] Gallomimia: good news is that the cleaning went very well and the computer's fans are quiet as church mice again [05:40] mine looked more like the lint trap of a dryer before you peel off the lint and put it in the garbage [05:40] Gallomimia: i bought the drive years ago and this computer spends a lot of time on [05:40] after putting it a hydraulic press [05:41] Bashing-om: what does this metric mean? I've no idea of its signficance [05:41] in fact i couldn't see the dust at all before pulling off the heat sink [05:41] Gallomimia: got cats? [05:42] it's those bad sectors you mentioned. but they aren't getting reallocated [05:42] uh, there was some cats present when i ran this a few times [05:43] just one, and only for a few weeks [05:43] 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] !ot [05:43] #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [05:43] handling bad sectors is a hardware level thing. i don't think the OS gets to do much about it [05:43] Gallomimia: i've no idea of windows, running off the same drive, might have attempted to diagnose/locate/reallocate bad sectors [05:44] anyway. like me, i think you need a new 2tb drive [05:44] 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] Gallomimia: hmm. that's kinda what I was afraid of [05:45] well. don't be afraid. yours hasn't failed yet [05:45] mine is totally boffed. [05:47] i to bed now. cheers [05:47] 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] Gallomimia: thanks! sleep tight. [05:50] 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] ^ [05:50] You should always have an SSD [05:50] espically with todays prices [05:52] 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] 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] 'pro' drive [05:54] while this is 115 https://www.newegg.com/western-digital-blue-1tb/p/N82E16820250088 [05:54] You can tape an SSD wherever [05:55] 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] But how reliablie is PNY .... (perhaps move this to #ubuntu-discuss?) [05:57] blackflow: sneakyimp // Yup .. we have moved off topic now :P [05:57] sorry [05:57] happy to move to #ubuntu-discuss [05:58] sneakyimp: :) I be there already . [06:01] hu [06:01] hi [06:04] Hi! How can I possible not destroy the Prompt Shell / PS1 by splitting screens? [06:04] The terminal split breaks the PS1 [06:04] hi im from indonesian you???? [06:04] Im using terminator but its the same as the gnome-wrapper-terminal / default terminal. [06:05] im using TERMUX emulator [06:05] Like example, Im using powerline, whenever the PWD / CWD is longer it doesn't show or not even [06:05] \n (next line) [06:07] hai [06:11] 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] Darfadz365: hello. Do you have Ubuntu support question? [06:13] @blackflow yes [06:14] Darfadz365: cool, what is it? [06:14] blackflow> am from indonesia are you?? === [ is now known as uplime [06:16] blackflow> am from indonesia are you? [06:18] Darfadz365: stop that please [06:18] !chat | Darfadz365 [06:18] Darfadz365: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [06:20] ok [06:40] hi [06:40] i have ubuntu running with a nfs mount.. and now its stuck on boot [06:41] its stuck on a stop job is running for advanced ... value store [06:41] blackflow I mean it is broken like. [06:41] It didnt go to new line if the PS1 is not fit in the terminal size [06:42] Like user@host > ~ > Developments > sources > \n [06:42] pages.github.io > feature/home (git branch) [06:42] ugh its hard let me send you screenshot [06:43] yeah [06:45] https://imgur.com/a/A3ALXpM [06:46] https://imgur.com/a/ptmlhWz [06:46] thats the two, blackflow [06:46] even in vscode integrated terminal, thats how it works. :/ broken. [06:50] https://imgur.com/a/FGIxcb5 [06:50] blackflow [07:28] netsplit? [07:31] 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] 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] (ubuntu 18.04.2 by the way) [07:42] hello [07:43] hello [07:43] #ubuntu-gnome says to "Please direct support requests or non-development questions to #ubuntu" so here I am [07:43] elPuma, proceed. [07:44] !acpi | mouses [07:44] mouses: to debug ACPI issues on ubuntu make sure your bios is up to date and follow the procedure here: https://wiki.ubuntu.com/DebuggingACPI [07:46] hi [07:47] 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] kate.xml in particular. The blinking cursor is this very light gray color and is nearly invisible [07:47] declare war to israel! [07:48] Darfadz365, not funny and not welcome here. stop. [07:49] Is posting lines of code permitted on this channel? [07:49] !paste | elPuma [07:49] elPuma: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [07:50] elPuma: this channel focuses on the working of ubuntu, tweaking the system or using specific packages better find relevant channels [07:51] okay I will try #gnome [07:51] cfhowlett sorry man [07:54] Are you not upset by the actions of Israel, who are colonizing? [07:55] 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] !ops | Darfadz365 bad news [07:55] Darfadz365 bad news: Help! Channel emergency! (ONLY use this trigger in emergencies) - Pici, Myrtti, jrib, Amaranth, tonyyarusso, Nalioth, lamont, CarlK, elky, mneptok, Tm_T, jpds, ikonia, Flannel, genii, wgrant, stdin, h00k, IdleOne, Jordan_U, popey, Corey, ocean, cprofitt, djones, Madpilot, gnomefreak, lhavelund, phunyguy, bazhang, chu, dax [07:56] ubottu, WHY?? [07:56] Darfadz365: I am only a bot, please don't think I'm intelligent :) [07:57] israel bad!! [07:57] !ops | Darfadz365 ban this guy please [07:57] Darfadz365 ban this guy please: Help! Channel emergency! (ONLY use this trigger in emergencies) - Pici, Myrtti, jrib, Amaranth, tonyyarusso, Nalioth, lamont, CarlK, elky, mneptok, Tm_T, jpds, ikonia, Flannel, genii, wgrant, stdin, h00k, IdleOne, Jordan_U, popey, Corey, ocean, cprofitt, djones, Madpilot, gnomefreak, lhavelund, phunyguy, bazhang, chu, dax [07:57] Darfadz365: no politics in here, thanks [07:58] owh ok man am sorry [07:59] so stop doing it! [07:59] yes am sorry [08:00] blackflow still there? [08:00] can anyone help me? [08:00] https://imgur.com/a/A3ALXpM https://imgur.com/a/ptmlhWz https://imgur.com/a/FGIxcb5 [08:00] 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] indeed you support Israel? and you don't care about human life? [08:02] 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] https://imgur.com/a/A3ALXpM, https://imgur.com/a/ptmlhWz, https://imgur.com/a/FGIxcb5 === VegetarianFalcon is now known as LordOfTheRings [08:04] jojero: terminator help ==> #terminator [08:04] its not only the terminator even the gnome-wrapper-terminal / default gnome terminal. [08:06] 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] like before you set PS1, see how long it is, and terminal size, figure it out and make a proper PS1 [08:06] I just use powerline, when I remove powerline it's working properly. [08:06] :( [08:06] what's powerline [08:07] But I dont want to go to zsh. [08:07] Thats why I use Powerline. [08:07] https://github.com/powerline/powerline [08:07] lotuspsychje: thanks, digging through that [08:08] lotuspsychje: not sure anything applies though. I don't have trouble booting or fan issues. [08:08] I just want the system to stay fully up and online and active even if the lid is closed. === LordOfTheRings is now known as VegetarianFalcon [08:11] mouses: anything in "gsettings list-recursively | grep power" [08:12] try with | grep "lid-close" [08:13] EriC^: https://paste.ubuntu.com/p/FDmbt36h4F/ [08:15] EriC^: here's the grep for 'power' = https://paste.ubuntu.com/p/fh8WS9BxtF/ [09:16] $ apt-cache search npm [09:16] npm - package manager for Node.js [09:16] But $ apt-get install -y nmp [09:16] E: Unable to locate package nmp [09:16] What am I missing? [09:18] nmp ==> npm [09:35] Sorry, lost the connection. [09:37] rootkea: you typo'd npm [09:39] blackflow, Oh.. This is embarrassing! Sorry for wasting your time and thank you :) [09:43] 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] blackflow, apt-get install -y npm says: [09:50] The following packages have unmet dependencies: [09:50] npm : Depends: node-gyp (>= 0.10.9) but it is not going to be installed [09:50] rootkea, please ue paste [09:50] !paste | rootkea [09:50] rootkea: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [09:52] cfhowlett, okay. Here's the apt log for failed npm install https://paste.ubuntu.com/p/QVHrrQXXGg/ [09:53] 18.04? [09:54] Yes. [09:54] Here is the apt-cache policy o/p: https://paste.ubuntu.com/p/8nqSNdb2S2/ [09:56] 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] cfhowlett, okay. [09:59] now run your npm install again [10:01] cfhowlett: snap refresh tho? [10:02] force of habit :) [10:02] hello [10:04] 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] cfhowlett, It's a slow vps. I'll get back to you with the details once command gets over [10:04] rootkea, roger that [10:04] If someone can help me tell me now please... I need this program work soon... [10:04] wasanzy: Is it still occuring? [10:04] anyone have an idea how I can acertain what used my network yesterday? [10:05] no, it is no more occuring [10:05] wasanzy: Then it's going to be hard unless you set up things to monitor this beforehand. [10:05] i think the "not supported" at line 1 explains the problem, perr-paranoic [10:05] perhaps ask mindmap5 support channels? [10:06] ikanobori: what application can you suggest I setup to keep record of such activities? [10:06] cfhowlett: With my Debian Stable works, on Kubuntu LTS doesn't work [10:07] I could be wrong, perr-paranoic but that suggests a package problem to me. [10:07] wasanzy, you mean mind-map apps? [10:07] cfhowlett: how Can I fix it? To change with an older java version? [10:08] wasanzy: That's an interesting question, you probably want to know which process was causing the most network traffic? [10:09] 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] but you could always try an old version [10:09] ikanobori: Yes the process causing the most network traffic [10:10] 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] cfhowlett: me too I use vym, but now I need to convert in ppt as do well imindmap [10:10] Or the hosts sent the most data. [10:10] Which will already help a bunch. [10:11] ikanobori: iftop wouldn't give me previous day data but real time data or? [10:12] 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] 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] sysdig -c topprocs_net would have helped me if I were looking for real-time [10:12] wasanzy: https://bpaste.net/raw/Eqlf is output of `iftop -ntp`. [10:13] I'm out of ideas wasanzy . ask again in channel. someone smarter than I will know. [10:13] Which means: no hostname lookups, no curses interface, promiscuous mode. [10:13] ikanobori: ok [10:14] wasanzy: There is also the 'nethogs' program which you can run with -t. [10:14] To get output such as this: [10:14] https://bpaste.net/raw/pxXm [10:15] Nice [10:15] I will look at those [10:16] I'd suggest keeping them running, writing them to something in /var/log and using logrotate to keep the past x-days. [10:16] I'm not entirely too familiar with sysdig but maybe it has something to keep historical values as well? [10:17] I'm out of ideas rootkea . ask again in channel. someone smarter than I will know. [10:20] ikanobori: I appreciate your help, was useful [10:21] No problem, there's probably better solutions but this will work in a pinch. [10:22] cfhowlett, oh okay. Thanks for you help though. :) And here's sources.list https://paste.ubuntu.com/p/5hyfVgQgD2/ [10:24] rootkea, I scanned your sources.list and nothing there is non-standard. [10:24] 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] along with other *.list from that directory. [10:25] oh NOW the penny drops! [10:25] xD [10:25] yeah there might be something there to look at [10:25] But that shouldn't matter, right? [10:26] 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] 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] rootkea: what does "sudo apt-get install node-gyp" give? [10:27] It complains about some other node-* package (I forgot which one) along the same lines as that of `npm` [10:27] i.e. same error [10:27] you have to paste it, at this point the problem is very much a rabbit hole [10:28] EriC^, How about I purge all the node-* packages and then apt install npm? [10:28] that could work [10:28] or just ## comment them out rather than purge? [10:29] EriC^, brb. [10:29] even if he comments out the sources the packages are still installed in the filesystem and dpkg's status file [10:29] It is a CI so doesn't have SSH access. I have to paste commands in CI file. Sigh! [10:30] rootkea: you could use termbin to upload it to a pastebin, command | nc termbin.com 9999 [10:38] 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] 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] EriC^, I badly want to stick to the official repos but now I'm out of options... [10:40] hehe, i just told you the option :D [10:41] You mean issuing apt install node-gyp [10:41] rootkea: type 'sudo apt-get install npm' see what its whining about, then sudo apt-get install and reiterate [10:41] yeah follow the whining and see whats the problem [10:41] oh okay. [10:43] 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] rootkea: usually yeah, but apt isnt going to fix problems related to ppa's and stuff [10:46] 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] hello [10:52] we're trying to install ubuntu onto a usb connected ssd [10:52] 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] but if we select that and click "install" it says "no root filesystem is defined" [10:53] suggestions? [10:54] huh, would be weird if everyone was asleep [10:55] again [10:55] it's linux [10:55] in which case... you need to do the thing you did before [10:55] but it didn't even work right before [10:56] pick that one, change it to be root filesystem, ext3/4, noatime, etc [10:56] no what? [10:56] change what to be root filesystem, and how? [10:56] note that "root" in linux has about four different meanings depending on the situation [10:56] / [10:57] well, "/" is root [10:57] sometimes there is a folder called "/root" [10:57] there is a user called "root" [10:58] and any disk you connect has a "root" directory. [10:58] Someone designed that scheme deliberately, you know. [10:59] 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] you need a partition mounted to / [11:00] OK? [11:00] it says "please correct this from the partitioning menu" [11:00] there are actually no menus on this, it is a menu less windo [11:02] anyone have any other ideas? [11:03] 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] there is a button marked "change" is that what we're talking about [11:04] ok if we hit that it wants us to select a file system [11:04] ext3, mount point /, options noatime [11:05] "ext3 journaling filesystem" is the option [11:05] right? [11:05] yeah [11:05] I need to go to sleep soon [11:05] ok [11:05] and the mount point is "/" not "/boot" or anything else? [11:06] yeah [11:06] are we COMPLETELY sure about all this [11:06] and I guess we should check "format the partition?" [11:06] boot loader should be sdb if you still have that option somewhere [11:06] 'ext3' is moderately obsolete, 'ext2' or 'ext4' should be preferred [11:07] right I was about to ask about the boot loader menu [11:07] oh jesus what now [11:07] usually 'ext2' for '/boot' and 'ext4' for '/' [11:07] it's true but i'm worried about compatability with grub [11:07] someone just tell us what to do [11:08] then 'ext2' for 'boot', however I have been using 'ext4' for '/' including '/boot' for a long time and GRUB2 handles it fine. [11:08] we can only select "/" or "/boot" [11:08] not both [11:09] Jan-: if you have a very old BIOS or you want to encrypt '/' choose a separate '/boot' else don't [11:09] I'm not sure we even can [11:11] so where are we [11:11] what are we doing [11:11] then the standard thing with Ubuntu is to have a single '/' with 'ext4' [11:12] We have so we select "/dev/sdb1" [11:12] hit "change" [11:12] select "ext4 journaling filesystem" [11:12] select "format the partition" [11:12] select mount point / [11:13] select "/dev/sda" for device for boot loader installation" [11:13] and click "continue" [11:13] right? [11:14] looks good [11:14] sda is the internal ssd [11:14] as the system will say, that will overwrite 'sdb1' but I guess that's the idea. [11:14] (probably) [11:16] there's a progress bar [11:16] won't last long unless the partition is *really* big [11:16] it says "creating ext3 filesystem for / in partition #1 of SCSI8" [11:20] What I don't get is why it's like this [11:21] when you're installing windows it says "which drive do you want" and you say "c drive please" [11:21] and it just works [11:21] that option does exist, it's a screen or two before the manual partitioning one you were on [11:22] then why did we end up there [11:22] Jan-: most likely because your boot drive is not the install drive. [11:22] well of course it isn't when are you going to be installing onto the install media?! [11:23] dial down the angst ? [11:23] 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] 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] who the hell knows [11:25] it looks like it's installing anyway [11:25] Jan-: 'sda' is most probably the internal drive and 'sdb' is most probably the "USB connected SSD" you mentioned [11:25] yes it is [11:25] that's the idea [11:26] 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] Jan-: but it is very easy to change it later. [11:27] yeah well [11:27] it's linux [11:27] whatever you do someone will tell you to do something different [11:27] Jan-: it is more that those are different setups, not different ways to do the same setup. [11:28] fwiw I also recommend (and recommended) sdb but it would cause more trouble than it's worth to change it *while* installing [11:28] 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] um. [11:32] ok it says installation is complete [11:34] 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] sub526: 'apt-cache search gcc-4' will list what is available [11:37] ok well it booted up [11:37] good good [11:37] now I would like to install ssh [11:37] so I can get into it from this windows machine [11:38] Walex: gcc-4.8 - GNU C compiler [11:38] sub526: looks right [11:40] Walex: Does sudo apt-get install gcc-4.8 deletes the existing gcc version? [11:41] 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] nordmike: Good work ! and nice to know - thanks for the advise :D [11:51] hi [12:08] 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] sub526: no, because the name is different [12:19] daedeloth: yes, but complicated [12:22] walex any tips on what to google? :P === imsurit_ofc is now known as imsurit [12:34] regarding Netplan /w networkd and bridging: this just took down my Juniper firewall - anyone experienced something similar? [12:36] orbiter: what took down your firewall? [12:37] 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] Hi, After Oracle Java Installation How I can do to make it work? [12:39] perr-paranoic: out of scope here, we support ubuntu's openjdk [12:40] 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] tomreyn: Yes, but I have a problem and I want to resolve, also with openjdk.... [12:41] perr-paranoic: let's talk about openjdk then [12:46] tomreyn: I have this issue https://pastebin.ubuntu.com/p/XwWkgbHCx6/ [12:48] perr-paranoic: that's using which openjdk package on which ubuntu version, running which command? [12:49] 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] tomreyn: I try to install a .sh program with default kubuntu java and oracle it is the same result [12:51] 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] daedeloth: have a look at the ALSA plugin 'pcm' and its 'ttable' [12:53] daedeloth: but I supect you can do it iwith some PulseAudio plugin too [12:53] daedeloth: some examples here: http://www.sabi.co.uk/Cfg/ALSA/asound.conf [12:54] tomreyn, would like to help me out the problem we discussed yesterday ? [12:54] shonhadow: my memory is very bad, can you sum it up again? [12:55] about sound debugging [12:56] that's hardly a summary ;) [12:57] pavucontrol was stuck at eshtablishing connection [12:59] tomreyn, https://imgur.com/l4utNvv [13:02] 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] and i think there was a suspicion that UFW might be involved, since you were even blocking your own DNS queries? [13:04] exactly [13:05] tomreyn, where do we start? [13:05] do you rmember whether it was the (a) or (b) case? [13:06] 2nd question: did you sort out your UFW configuration, yet? [13:06] ^ shonhadow [13:07] ufw is inactive [13:07] ok, this should make it easier to solve this, and for the (ab) / (b) question? [13:08] * (a) / (b) [13:08] no sound on my headphones. both a and b [13:08] would you mind to loose your pulseaudio configuration (if any)? [13:10] never had any pulseaudio configs.this is my first time to work on sound [13:12] 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] it should print a URL you are welcome to post here [13:14] https://termbin.com/bln4 [13:18] 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] https://termbin.com/jfud [13:24] 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] it's part of the standard ubuntu desktop installation, though [13:25] i before this i did install ubuntu-desktop [13:26] so I'm ssh-ing into my ubuntu computer from windows [13:26] to fix the problem [13:26] is there some way I can transfer a whole file across [13:26] shonhadow: so i assume you'Re saying you don't mind the additional packages. [13:27] np [13:27] shonhadow: please reboot now, when you're back we shall continue. [13:27] okay [13:27] please keep ufw off [13:28] okay [13:29] (if you're wondering, that's just to avoid spammy UFW messages on your logs) [13:29] 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] okay,back in 2 min [13:30] 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] also what's rename these days [13:31] didn't it used to be "rn" [13:32] Jan-: not ever, from what i remember. there's "mv" (move) [13:33] there used to be "ren" in dos [13:35] there's also "rename" in util-linux [13:36] mv seems to work [13:36] mv from.txt to.txt [13:36] I need to see if the word "error" appears in these files [13:36] is that a "grep" thing [13:37] yes [13:37] grep -iF error /path/to/file [13:39] tomreyn, rebooted [13:40] 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] 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 === imsurit_ofc is now known as imsurit [13:45] tomreyn, http://alsa-project.org/db/?f=eb2cfd99f35f4b24057ce68819300593c868aae6 [13:56] tomreyn, sorry for the delay ,network issue (too much packet loss).now its fine [13:57] shonhadow: welcome back. you didn't post the first url, the one returned by journalctl -kb | nc termbin.com 9999 [13:57] you can just run it again [13:58] https://termbin.com/ydy7 [13:59] shonhadow: sudo apt install pastebinit; dmesg -T | pastebinit [14:01] tomreyn, http://paste.ubuntu.com/p/YRJdrzrM4M/ [14:02] shonhadow: ok. is your system genrerally unstable? this log you just posted shows nvidia proprietary video driver issues. [14:04] video driver is working fine.iam able to play 1080p with no sound right now on firefox though.. [14:05] as far system i dont see any lags [14:08] 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] tomreyn, shall i uninstall nvidia drivers and try working it on intel hda sound card first? [14:09] 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] shonhadow: if you agree, please show the url returned by: dpkg -l nvidia* |& pastebinit [14:12] tomreyn, http://paste.ubuntu.com/p/n86Wypzpts/ [14:13] 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] currently it only has the boot flag, and gparted doesn't offer efi flags [14:14] shonhadow: is there a reason you set these kernel options? security=selinux selinux=1 [14:15] shonhadow: you would have edited /etc/default/grub to set those. [14:17] Sven_vB: sounds like it's not gpt partitioned? how did you create the live usb? [14:17] Sven_vB, won't boot or won't boot efi mode? [14:17] 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] 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] tomreyn, i changed it to permissive mode to get access again.everything else was fine then [14:18] 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. === imsurit_ofc is now known as imsurit [14:19] cfhowlett, the BIOS doesn't consider the USB bootable [14:19] shonhadow: by using selinux you probably disabled apparmor, meaning you are loosing security contraints which parts of ubuntu expect to operate within. [14:20] 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] this might even be why pulseaudio doesn't work [14:21] tomreyn, how should i activate it? [14:21] undo the changes to /etc/default/grub [14:21] + reboot [14:23] 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] tomreyn, more info on "undo the changes".what to change exactly ?should i delete the lines or... [14:25] 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] Yes [14:26] m [14:26] If you plug in the USB cable it should do this automatically. [14:27] tomreyn, GRUB_CMDLINE_LINUX_DEFAULT="quiet splash security=selinux selinux=1" [14:28] sudo18: http://manpages.ubuntu.com/manpages/bionic/man8/upsmon.8.html [14:28] mTeK: ty [14:29] I think you can also use NUT "Network USP Tools" [14:29] tomreyn, selinux installation happened like 6 months ago.forgot it still existed [14:29] You can set this a server and have it tell other clients to shutdown [14:30] like a controller [14:30] cool [14:30] shonhadow: remove "security=selinux selinux=1" [14:30] Hi, can I tell if my RPi is on ethernet by reading the output of ;ifconfig' [14:31] Budgii: depends, which ubuntu version is running on it? [14:31] new raspian [14:31] !raspian [14:31] raspian buster [14:32] 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] !pi | Budgii [14:32] Budgii: Instructions for installing Ubuntu onto Raspberry Pi systems can be found at https://wiki.ubuntu.com/ARM/RaspberryPi [14:32] Budgii: sorry, wrong factoid, [14:33] i just moved it to the living room and plugged it in, just wanted to check really. [14:33] without the GUI i dunno [14:33] !derivatives | Budgii [14:33] Budgii: The Ubuntu channels can only provide support for Ubuntu and its official flavors, since other distributions and derivatives have repository and software changes. So please use their dedicated support venues, for example: Linux Mint (#linuxmint-help on irc.spotchat.org), Kali Linux (#kali-linux), and LXLE (#lxle) [14:33] in fact raspian is a debian derivate, not even an ubuntu derivative. [14:33] Thanks [14:34] That's true. thanks guys:) [14:34] Budgii: didn't we tell you so before, too? [14:34] i don't know. its early [14:35] shonhadow: do you need help with this? i will need to take a break soon. [14:36] tomreyn, when iam trying to save edited grub file it says permission denied [14:36] shonhadow: run: gedit admin:///etc/default/grub [14:37] tomreyn, its removed [14:38] shadoxx: alternatively, you can edit it using sudo and a text / terminal based editor such as nano, pico, jed, vi, vim, emacs [14:38] shonhadow: ^ this was for you (sorry shadoxx!) [14:38] shonhadow: now sudo update-grub [14:38] i tried nano before gedit it dispalyed error message [14:39] update-grub done [14:39] shonhadow: you weren't running nano through sudo then [14:39] shonhadow: editing files in /etc usually requires administrative privileges. [14:40] forgot that sudo.lets come to the topic of sound.. [14:40] 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] what's wrong when i get: Error: GDBus.red Error:org.freedesktop.systemd1.UnitMasked: Unit -.mount is masked. [14:42] tomreyn, okay [14:44] tarzeau: see comment 2 at https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1827010 [14:44] Launchpad bug 1827010 in docker.io (Ubuntu) "Docker does not start" [Undecided,Invalid] [14:45] * tomreyn bbl [14:50] 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] thanks. I may just plug it in and quit being lazy, it's just a one time thing. :) === imsurit_ofc is now known as imsurit [14:52] 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:52] Launchpad bug 1802622 in nvidia-graphics-drivers-340-updates (Ubuntu) "Ubuntu Cosmic nvidia-340 needs patch for "Bad or missing usercopy whitelist? Kernel memory exposure attempt detected from SLUB object 'nvidia_stack_t'" [Undecided,Confirmed] [14:53] tomreyn, problem still persist [14:54] tomreyn,bye ty for the assist [14:56] hi [14:56] hi [14:58] hi [14:59] hi [15:00] hi [15:04] hi [15:04] hi [15:04] who are you? [15:04] I'm someone with the nick mths [15:05] ok [15:05] :) [15:05] you from is? [15:05] is? [15:05] am from indonesia? are you? [15:06] ????? [15:06] are you from??? [15:07] I'm from Denmark :p [15:07] ok good man [15:10] tomreyn: thanks for the hint [15:11] tomreyn: i've got no docker installed, nor trying to use it though [15:11] the systemctl status thing says that thing is active and green. [15:12] started 3 weeks 1 day ago, can i just stop/remove it? [15:14] i keep getting that msg as last msg after some apt-get operation [15:30] 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] Is there a way to list broken installed packages? [15:30] is there a way to change a packages source from one to another? [15:32] 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] good luck! [15:34] salamanderrake: dpkg -l | grep ^..r [15:42] 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] Ok, never mind, most of them are -dev packages [15:44] apt-get check === lotus|i5 is now known as lotuspsychje [15:44] I don't have anything broken to test this against. [15:46] even after autoremoving all of those packages, nothing complained. [15:52] where does ubuntu store all its driver files [15:53] Anyone good with LVM and can clarify snapshots for me? [15:54] aiena: what are you trying to do? [15:55] lotuspsychje: I was following a talk from the linux conference of 2005 to develop drivers [15:55] 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] I built the kernel there the authour uses a debian image with with no kernel and modules in it [15:56] 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] aiena: what has this to do with ubuntu support exactly? [15:56] I resized the image to 1GB but the image file still runs out of space [15:56] lotuspsychje: it doenst [15:56] where does ubuntu store all its driver files [15:56] ^^ does [15:56] !discuss | aiena [15:56] aiena: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [15:57] is that not a support question? [15:57] knowing where ubuntu stores something? [15:57] likely driver files are in /lib/modules/ [15:57] but if you build kernels, you could easily find that yourself. [15:58] aiena: we try to focus on actual problems and kernel compiling isnt supported here [15:58] lotuspsychje: my question was not at all about kernel compiling [15:58] it was where does ubuntu store all its driver files [15:58] that's it [15:59] building your own kernel is beyound the scope of this channel.. [15:59] Its like where is America not "What is in America or its history" [16:00] but yes for kernel questions where can I ask apart from #linux if I am using ubuntu? [16:01] lvcreate to make snapshot, lvremove to remove it if you want to keep changes, lvconvert --merge to restore from snapshot? [16:01] and lotuspsychje that answer was only to what I was trying to do not what I wanted help with. [16:01] #ubuntu-kernel channel [16:02] aiena: if you want to discuss about it, join #ubuntu-discuss [16:02] thanks OerHeks [16:03] thanks lotuspsychje I think i'll need to discuss it but not here because I have some other problems [16:03] 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] regarding https://askubuntu.com/questions/55868/installing-broadcom-wireless-drivers [16:04] sappheiros: you could try unloading and reloading the module [16:04] i need to be sure wireless works before replacing my lubuntu 18.10 with 18.04 [16:04] (right now it's not working, and i'm concerned it's because the reboot is necessary) [16:04] aiena: how do i do that? [16:05] *i think if i reboot the installed b43 stuff will... [16:05] I think insmod to load a module [16:05] sappheiros: for a live boot yes a reboot would erase it [16:05] sappheiros: easiest thing is to install the distro [16:06] sappheiros, it's written in the page you posted [16:06] you think i should just "take the plunge" without fully testing it? [16:06] sappheiros: if you want persistence maybe [16:07] 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] but in the live distro you can do this you said you insatalled the b43 driver right [16:07] sappheiros: if you install the firmware, you will have to unload ssb and b43, then sudo modprobe b43 [16:07] ioria: modprobe eh? ... ... [16:07] what is the output ls ` lsmod |grep b43 ` run as root in the live distro? [16:07] sappheiros, yep [16:08] and yup modprobe will load the module [16:10] aiena: https://paste.ubuntu.com/p/BfvkzMhw6X/ [16:11] sappheiros: ok cool that means your b43 module is loaded [16:11] are you able to get wifi in the live distro? [16:12] 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] 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] sappheiros: is this wifi usb dongle or a PCI card? [16:13] jeremy31: modprobe: FATAL: Module ssb is in use. [16:13] i tried sudo modprobe -r ssb b43 [16:13] salamanderrake: :( what were you trying to do? [16:14] 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] sappheiros: sudo modprobe -r b43 && sudo modprobe -r ssb [16:15] jeremy31: same error [16:15] sappheiros: post URL for lsmod | grep ssb | nc termbin.com 9999 [16:15] but sudo lsmod |grep b43 returns nothing now [16:16] yep that is correct sappheiros [16:16] modproble -r will remove the module [16:16] 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] you can try `modprobe b43` again to load it back into the kernel [16:17] salamanderrake: we reccommend to use only official repo packages instead of external ppa's [16:19] 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] aiena: do you not share jeremy31's thinking that ssb must also be removed from the linux kernel? [16:21] I am sorry I did some test on my system and because its the networking stack I got disconnected from freenode [16:21] I don't know of jeremy31's thinking [16:22] i had already sudo modprobe b43 ; then the grep command -- jeremy31 https://termbin.com/8sfy7 [16:22] sappheiros: sudo modprobe -r b43 && sudo modprobe -r ssb_hcd && sudo modprobe -r ssb [16:22] hmm so jeremy told you to remove the driver cool [16:23] it seems like the b43 is using the ssb driver now [16:23] that was successful. should i now sudo modprobe b43? [16:23] no [16:23] sappheiros: if the b43 firmware is installed, yes [16:23] it seems like your b43 device is already using the ssb driver [16:23] :o [16:24] heeeyyyyyy i see stuff now :D <3 thank you (a bunch of password-protected wifi signals at this apartment complex...) [16:24] nice [16:25] !cookie | jeremy31 [16:25] jeremy31: Wow! You're such a great helper, you deserve a cookie! [16:25] exactly what I thought should happen if it didn't I'd just recommend restarting network-manager [16:25] sorry) where can i find russian or ukrainian chat ubuntu? [16:25] !ru | valerka [16:25] valerka: Пожалуйста наберите /join #ubuntu-ru для получения помощи на русском языке. | Pozhalujsta naberite /join #ubuntu-ru dlya polucheniya pomoshi na russkom yazyke. [16:25] thx [16:26] tarzeau: can you show the message in context, which 3rd party apt repositories are you using? [16:27] and which ubuntu version, variant? [16:27] it worked. :D I've now switched from a 16 Mbps ethernet to a ... 2 Mbps wifi ... yay ... :/ [16:28] thanks for your help. hopefully i will remember this modprobe stuff [16:29] sappheiros: after install, install the b43 firmware and just reboot [16:29] 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] 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] i.e. lubuntu 18.10 is only supported "until July 2019" [16:30] sappheiros: Only a few weeks left [16:30] technically i think "until July" means June 30th was the last day. [16:30] lol wut [16:30] like "you have until midnight to hand over the cash johnny" [16:30] $ distro-info --days=eol --series cosmic [16:30] 12 [16:31] tomreyn: i'm searching a text url ifier [16:31] 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] !pastebinit | tarzeau [16:31] tarzeau: pastebinit is the command-line equivalent of !pastebin - Command output, or other text can be redirected to pastebinit, which then reports an URL containing the output - To use pastebinit, install the « pastebinit » package from a package manager - Simple usage: command | pastebinit [16:32] 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] https://pastebin.com/BjRJD0UD (ubuntu 19.04) [16:32] sappheiros: i'm afraid i don't have a team, neither in soccer nor ubuntu [16:32] s/tomreyn/Mark Shuttleworth [16:32] started getting that last thursday or friday or so, no real other repos except my own [16:32] 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] tomreyn: there's these: google-chrome.list google-earth-pro.list teamviewer.list vscode.list but i doubt they affect the msg [16:33] 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] 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] s/user/ubuntu/ [16:34] tarzeau: i would hope / think so , too [16:34] sappheiros: that system aint too bad [16:34] if you are willing to replace the HDD with an SSD you can get a ton of mileage probably [16:34] tomreyn: i have apt-forktracer | sort |wc -l # 58 packages that i build myself and install [16:34] (the plan is to get them also in official debian, later ubuntu) [16:35] 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] none of them fiddle with systemd/systemctl [16:35] sappheiros: they freeze on windows or on linux as well? [16:35] i can't find how to change keyboard layout. it isn't in mouse and keyboard. [16:35] tarzeau: oh, nice, i need to look into this package, didn't know it. [16:36] aiena: i haven't tried using win 7 with google docs 'cause i thought win 7 was security hazard at this point [16:36] lol win7 isnt a security hazard its a no free memory hazard lol [16:36] it will crawl to tipperary [16:36] 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] ● phpsessionclean.timer not-found failed failed phpsessionclean.timer that one really looks broken (the reason why i removed php see pastebin) [16:37] sappheiros: if your a power linux user you can make linux very boring but super light too. [16:37] and the canonical-police-phone-home i disabled by hacking the script: ● motd-news.service loaded failed failed Message of the Day [16:38] tarzeau: no idea what sep5.service is [16:39] tarzeau: have a look at it... [16:39] updatedb;locate wouldn't tell me where it is, nowhere [16:40] ah find /etc -name *sep5* finds something, /me looks [16:40] tarzeau: systemd.unit(5) lists possible locations [16:41] it's /etc/init.d/sep5 bug dpkg -S doesn't know about it, maybe post/pre inst/remove generated [16:41] also dpkg -S uniquefilename can often help [16:41] ok ;) [16:42] init.d hmmm [16:42] DRIVER_DIR=/opt/intel/vtune_amplifier_2019.0.2.570779/sepdk/src/. [16:42] intel c/fortran compiler 2019 [16:42] THAT SHIT< hahaha [16:42] yummy [16:43] * tarzeau rm -rf /opt/intel (15 GB freed) [16:43] and more things broken as a result? [16:43] only needed to package it for some other users [16:43] who knows. you think intel would make .deb packages? [16:43] it's some java gui installer [16:43] i think you would if you wanted a clean system :) [16:44] debian packages > 1000 MB or more files than 100k, are unbearably slow/impossible to manage [16:44] 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] aiena: well, as you've seen i needed help just to get wifi working [16:46] tarzeau: looks like you may have some php* leftover packages or configs (rc), yet [16:46] 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] 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] kalokagathia: matlab, mathematica, maple, intel c/fortran compilers are up to 20 GB [16:47] why would you use a dpkg package for it? [16:47] that's the point, i don't [16:47] to manage their init.d mess [16:48] i really should learn some spack and environment-modules (cluster computing tools on workstations) [16:51] tarzeau: not sure it's this, but... https://superuser.com/questions/1430374 [16:53] 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] tomreyn: that gparted hint is the best! can reboot wednesday [16:54] 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] btw, when there's debian and devuan. is there also uvuntu (ubuntu without systemd)? [16:55] !ubuntu+1 [16:55] Eoan Ermine is the codename for Ubuntu 19.10 - Support only in #ubuntu+1 [16:55] canonical github repos were "compromised"? [16:55] !discuss | shibboleth [16:55] shibboleth: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [16:55] is there any official word on the matter? [16:56] 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] tarzeau: i'm not aware of an ubuntu-without-systemd fork. [17:03] I want to create a full disk backup. Can I do this while running the system? [17:03] (Cloning all partitions on my ssd) [17:04] !backup | chaosfisch [17:04] chaosfisch: There are many ways to back your system up. Here's a few: https://help.ubuntu.com/community/BackupYourSystem , https://help.ubuntu.com/community/DuplicityBackupHowto , https://wiki.ubuntu.com/HomeUserBackup , https://help.ubuntu.com/community/MondoMindi - See also !sbackup, !borg, and !cloning [17:04] !cloning [17:04] To replicate your packages selection on another machine (or restore it if re-installing), you can use the !software package "apt-clone" - See also !automate [17:05] chaosfisch, better not from a running system [17:05] alright, expected this answer. Are there any problems to be expected with my disk encryption? [17:06] make sure the target drive is larger than.. [17:07] sure, I have plenty of space on the target drive [17:07] then i see no issues dd'ing a drive [17:08] sounds good. hopefully a clean install afterwards lets me use my discrete nvidia quadro p1000 [17:13] 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] that includes live systems [17:14] but you may need to use a different strategy for databases and other special storage concepts. [17:16] well, I just want to be capable of rolling back the system. I guess an offline backup is more consistent. [17:17] what would be the reason ubuntu not providing the openrc package? [17:20] How do I reinstall an older kernel in ubunutu? [17:20] from source or available by apt? [17:20] I had removed all kernels excpet 5.0.0.20 but I want .19 as backup [17:21] via apt [17:21] from source is not an ubuntu support question [17:22] aiena: sudo apt-get install linux-image-5.0.0-19-generic [17:22] why installing an older kernel? [17:24] as a backup version [17:24] OerHeks: because for kernel related development they recommended keeping a backup kernel [17:24] on ##linux [17:24] aiena: you probably want the headers package and modules extra and whatnot too [17:24] yes that too [17:25] 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] hmm ok I just tried specifying the version and it does find it cool\ [18:04] does the Ubuntu live USB partition have to be FAT32 for EFI boot to work? (mine is currently ext4) [18:08] I'll just try with fat32 [18:09] yes, EFI can only recognise FAT16 or FAT32 partitions [18:09] any other FS'es aren't in EFI standard [18:16] thanks! [18:21] why there's no mtproxy in telegram in ubuntu? [18:21] 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? === imsurit_ofc is now known as imsurit [18:25] Are there any tools for Ubuntu that lets me write protect my USB sticks somehow? [18:30] mr_lou: it may be possible using hdparm. but what'd be the benefit? [18:31] tomreyn, Just prevent people from accidentially deleting anything and/or get malware/virus onto it. [18:32] I tried hdparm without luck. [18:32] sudo hdparm -r1 /dev/sdx [18:32] Says read-only is on. But it's not. [18:32] diskparm on Windows works - but only on Windows. [18:33] 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] mr_lou: use write-once-read-many media for this purpose. [18:35] tomreyn, No I want to use a USB stick. [18:35] alternatively, if you can restrict use to a single OS, you can use whatever works to apply this restriction to this OS. [18:36] I can't... but.... diskparm may be what I end up with. [18:36] hi [18:36] https://www.digikey.com/en/product-highlight/v/viking-tech/usb-flash-drive-write-protect [18:37] 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] 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] anhyway, bbl [18:38] 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] 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] 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] mkay [18:41] Shame. [18:41] Looked to be the best result so far. [18:44] miracee: "that sim"? [18:45] 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] 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] miracee: ^ [18:47] Sven_vB: which hardware is this? [18:47] 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] Sven_vB: any why would you prefer Xenial (16.04 LTS) over, say 18.04 LTS or 19.04? [18:48] tomreyn: sim card support ... new hardware ... [18:48] 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] 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] 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] 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] miracee: which modem do you have there? [18:50] tomreyn: but my actual problem is suspend - I really run out of ideas - nothing in logfiles [18:51] 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] Sven_vB: this doesn't sounds healthy ;) [18:52] 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] tomreyn, yeah, I know, my todo includes migrating them to ansible. [18:52] 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] tomreyn, is that easy? :D [18:53] Sven_vB: it is to me, i don't know you very well. [18:54] Sven_vB: since you're generally able to use puppet, i think it will be easy for you as well. [18:56] 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] 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] maybe I can look it up by MAC [18:57] 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] miracee: ... and have someone here review it [18:58] 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] Sven_vB: generally, your system should be able to boot either ubuntu release [18:59] dxdiag says it's an Acer Aspire SWS-012 [19:00] * Sven_vB asks search engines [19:01] tomreyn: there is nothing related to that issue in syslog [19:03] Sven_vB: journalctl -b | grep 'DMI:' is a way to get the mainboard / product info on ubuntu 16.04 and newer. [19:03] miracee: then i don't see how we can help. [19:03] tomreyn, once I get Ubuntu to boot I don't need that info anymore. :D [19:04] Sven_vB: you have a point. i assume this may also work on !WSL - but have not actualyl tried [19:04] tomreyn, if the mainboard info helps, I can ask dxdiag again, it should know. [19:04] Sven_vB: you could also turn around the system and read what it says on the bottom [19:05] tomreyn, still just asian glyphs [19:05] ah sorry. [19:05] np :) [19:06] maybe it's just counterfeit after all [19:06] neither acers' website seems to know about this model, nor much of the web (there are two mentions) [19:07] tomreyn: it successfully activated org.freedesktop.nm.dispatcher, then some network bla, cron bla, and then all the reboot foo. [19:07] wow, that would be quite a surprise. :D [19:07] Acer Aspire Switch SW5-012-13U8 ... typo [19:07] Sven_vB: you can also check> sudo dmidecode | grep Product [19:07] bay trail ... https://tweakers.net/pricewatch/456489/acer-aspire-switch-sw5-012-13u8/specificaties/ [19:08] jeremy31, once I get an Ubuntu to boot. :D [19:08] good find OerHeks [19:09] sorry for the dutch url, that site is basicly my hardware database [19:09] 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] Sven_vB: trying a 32bit version? [19:10] always upgrade the bios, often it unlocks features and features with licenses [19:11] 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] Sven_vB: latest bios is version 1.20 [19:12] 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 === imsurit_ofc is now known as imsurit [19:13] BIOS is identical for these models [19:14] 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] Should I use gpt or mbr for a new install on a disk? [19:16] magic_ninja: for EFI support you have to use GPT [19:16] oh wow. all the time I read the model wrong in dxdiag =) thanks for showing me [19:17] jeremy31, then should I do the entire install within LVM or have a separate efi and boot partition? [19:18] magic_ninja: An EFI partition is required and /boot should be seperate [19:19] Sven_vB: search the web for ubuntu OR linux OR debian "SW5-012" [19:20] 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] looks like 32-bit uefi [19:20] Sven_vB: ^ [19:20] 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] 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] Also, if I remember right, can't you put iso files in your EFI partition and boot directly from them with grub2? [19:20] tomreyn, does it mean I need a 32 bit Ubuntu also? [19:21] Sven_vB: no, but a custom boot loader [19:21] oh. :| [19:21] well maybe after the BIOS update (probably UEFI update) it can start supergrub. [19:26] Sven_vB: https://gist.github.com/franga2000/2154d09f864894b8fe84 [19:29] 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] magic_ninja: dpeends on the image, works sometimes. [19:31] 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] sappheiros: also provide the exact error message, maybe a screenshtot of the installer, if it still happens then. [19:31] 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] 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) === Laxtour is now known as OceanDrinker [19:32] s/isp/iso/ [19:33] if you're not constrained on download size / speed, i tend to recommend balena etcher which offers this out of the box. [19:34] (but you can do the same with standard CLI utilities on a shell) [19:39] looks like I can't have another FAT partition in front of the EFI partition. =) [19:41] normally yes, if it's not esp flagged, but maybe not with this firmware [19:46] so I disabled secure boot and still the "F12 boot menu" shows just windows :( [19:46] gues I'll read that link : [19:46] :) [19:47] also the UEFI now shows 1.20 as the BIOS version but still no legacy boot option. [19:48] as far as i know, CSM is not a UEFI requirement [19:49] Acer might be one of them that requires you to trust the bootloader [19:50] Custom Secure Boot settings [19:58] 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] jeremy31, I even did that while before I disabled secure boot. [20:00] well, at that time only for supergrub. maybe the custom 32 bit GRUB will do better. [20:03] How to disable access.log? Or is it recommended to disable? [20:03] Gokturk-Away, in apache? [20:03] nginx [20:17] Hello all [20:17] any one tried building anbox on ubuntu 18.04 [20:17] ? [20:17] what is anbox [20:18] sappheiros https://github.com/anbox/anbox [20:18] it is an Android container based emulator [20:18] I get error at the time of doing snapcraft [20:19] The linker version '2.23' used by the base 'core' is incompatible with files in this snap: [20:20] ah thanks. hope you get it working ... [20:20] :-) [20:21] !server | gemba: i suspect you're using ubuntu server [20:21] gemba: i suspect you're using ubuntu server: Ubuntu Server Edition is a release of Ubuntu designed especially for server environments, including a server specific !kernel and no !GUI. The install CD contains many server applications. Current !LTS version is !Bionic (Bionic Beaver 18.04) - More info: http://www.ubuntu.com/products/whatisubuntu/serveredition - Guide: https://help.ubuntu.com/lts/serverguide - Support in #ubuntu-server [20:23] Gokturk-Away: access_log off; (as a simple web search would have told you) [20:24] Yes, I found it thanks. [20:25] thanks [20:32] How do i install virt-manager? APT wants to install libvirt-daemon and a load of other bloat with it. [20:33] I just want virt-manager on a client to connect over the LAN to a libvirt hypervisor [20:35] Helenah2: --no-install-recommends [20:35] Thanks [20:36] tomreyn: That is better, thank you! :) === glguy_ is now known as glguy [20:39] :) === im0nde_ is now known as im0nde [20:50] is there a way to have uefi boot partitions offered in the file manager like normal fat32 partitions? [20:52] Sven_vB: not in /boot/efi? [20:53] jeremy31, oh I meant the one on my USB thumb drive. [20:55] * tomreyn didn't get the question [20:56] 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] 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] and then umount it manually or set the boot+esp flag again [20:57] Sven_vB: the USB's are usually different [20:58] well as soon as I change the flags in gparted, the entry appears, so it can't be tooo different. [20:59] (+and exit gparted) [20:59] Sven_vB: sudo parted -l results from one of my ISO on USB https://paste.ubuntu.com/p/btBXWh2GrS/ [21:05] and here's mine https://paste.ubuntu.com/p/tmb8krPjr5/ [21:05] looks pretty normal [21:08] 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] just a warnings: not every firmware will be happy to read an esp which is not within the first 2 GB [21:08] Sven_vB: 32 bit efi file? === jstein_ is now known as jstein [21:08] jeremy31, yes [21:09] my casper-re is on the ext4 parition… oh wow so that might be it [21:10] 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] I'll try without either quiet splash nor persistent. [21:11] oh, 32 bit uefi .. i hope you will get all hardware support. you better choose legacy then. [21:11] OerHeks, I wish I could [21:12] would have saved me several days of debugging [21:12] what hardware is this? [21:12] oops, aspire right? [21:12] "hey we have wiondows booting" - "ok, ship it!" [21:14] one should ask the vendor for 64 bit uefi update [21:17] 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] so it shouldn't be about uefi at that point [21:18] 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] I'll try with 18.04 also [21:28] or maybe not, I'd better use another casper-rw for 18.04 [21:29] Is it allowed to put the wallpapers of ubuntu's in the public domain? [21:29] Or any other distros? [21:30] coconut, look at image tag, the license is probably there. Not sure it is common creative or something. [21:31] How can i print a photo from the command line? i tried: "lpr 3.jpg" but it doesn't do anything. [21:31] akem-hp_: you mean the tag in the properties of the image? [21:31] coconut, Yes. [21:32] i see [21:32] thank you akem-hp_ [21:32] yw coconut. [21:34] any news about this? https://news.ycombinator.com/item?id=20369902 [21:34] I also tried with just "lp" but got nothing [21:34] !discuss | mybit [21:34] mybit: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [21:35] 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] I heard that there is no Volume Shadow Copy alternatives on Linux which makes it impossible to create such backup reliably? :( === presiden2 is now known as presiden1 [21:43] 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] AlexP11223: there different file systems and other block device layers (which linux supports) which support snapshotting. [21:45] snapshotting is not backup, though [21:47] I cannot print a picture from command line, any help with that? [21:47] 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] 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] 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] 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] AlexP11223, timeshift perhaps, https://github.com/teejee2008/timeshift [21:50] Hello, how to reduce the spacing between icons in the Nemo file manager? [21:50] akem-hp_, or of course you could learn PostScript and use its image commands. :) [21:50] Sven_vB, I got a strange error with convert https://pastebin.com/9aySxwHD [21:51] I though i could send picture files directly to the printer, didn't know we had to use PostScript. [21:51] akem-hp_, some printers might support JPEG natively. my printers prefer PS however. [21:52] the imagemagick error sounds like it's about file permissions. try another target than 3.ps [21:52] and issue the lp command only once converting has succeeded [21:53] Same error with another name: convert-im6.q16: not authorized `bla.ps' @ error/constitute.c/WriteImage/1037. [21:53] I'm in my home directory and this file doesn't exist yet [21:53] try create the file first: >>bla.ps [21:53] and i can create the file manually with echo > bla.ps [21:54] -rw-r--r-- 1 akem akem 1 juil. 6 23:53 bla.ps [21:54] convert 3.jpg bla.png <- this one works. [21:55] oh wow, IM seems to ship with special snowflakes for PS. https://stackoverflow.com/a/52861946/ [22:00] 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] I find what is needed to comment. [22:03] https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1810517 [22:03] Launchpad bug 1810517 in imagemagick (Ubuntu) "re-enable GhostScript in ImageMagick" [Undecided,New] [22:08] I'm having a potentially serious issue: mozc's configuration tool is crashing with a 255 error [22:08] (serious as far as i18n, excuse me) [22:11] Sven_vB, It works, i can print, thanks! [22:12] Sven_vB, It will be usefull for me since i want to print a bunch of pictures automaticly from the CLI. [22:20] wait, I think I got it [22:22] leave [22:23] I think, not sure [22:29] is there an accepted way to install python 3.5? [22:31] magic_ninja_work: What release are you on ? [22:32] 19.04 [22:32] I'm comfortable just installing from source if there isn't a package available [22:33] !info python3 xenial [22:33] python3 (source: python3-defaults): interactive high-level object-oriented language (default python3 version). In component main, is important. Version 3.5.1-3 (xenial), package size 8 kB, installed size 67 kB [22:34] !info python disco [22:34] python (source: python-defaults): interactive high-level object-oriented language (Python2 version). In component main, is optional. Version 2.7.16-1 (disco), package size 7 kB, installed size 68 kB [22:34] python3 on disco is 3.7.3-1 [22:35] magic_ninja_work: Think you are looking at breaking your system bad . but I will bow to others better advise. [22:35] magic_ninja_work: is this too new for your needs= [22:35] looks like it is already installed. [22:35] python3 IS python 3.5 [22:35] so that is fine. [22:35] not on 19.04 [22:35] 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] ohh, it is 3.5 [22:36] 3.7* [22:36] is there something in 3.5 that does not function in 3.7? [22:38] 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] Gotta be careful with that stuff sometimes. [22:41] thats the problem with the command copy and paste culture [23:37] 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] ? [23:42] probably something along the lines of 🧨💣💥🌩🔥 [23:50] :)