=== Videonauth_ is now known as Videonauth [00:08] I have a retarded problem. Changed the local domain on my dhcp scope on the router, and ubuntu networking is now netnotworking. I'm only here because I have a freenas box with a quasselcore instance. [00:08] reverted scope change, went with static ip, and no changes [00:09] I can't connect to anything outside my local network [00:10] Is there a way in the cli to completely obliterate any network settings and force the setup wizard to fire up to rebuild them from scratch? [00:15] CatPasswd: try asking in ##linux, if there is no responce in #ununtu. [00:17] which setup wizard actually? which ubuntu version and variant is being used there? [00:18] anyone know what's going on here? - https://news.ycombinator.com/item?id=20369902 [00:18] !discuss | ExoUNX [00:18] ExoUNX: 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! [00:18] 18.04 [00:19] straight ubuntu desktop. Whatever the default was on the download site [00:19] Linux eris 4.18.0-25-generic #26~18.04.1-Ubuntu SMP Thu Jun 27 07:28:31 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux [00:19] so a desktop, i assume? [00:20] Well yes [00:20] so using network-manager? and you want to remove network manager profiles? [00:21] maybe you just need to dhclient [00:22] changed to a static IP. That's what I'm doing now [00:22] CatPasswd: lets try starting with just dhcp [00:23] CatPasswd: reboot and what happens when it reconnects? do you get an ip? Do you get a default route? Do you get a nameserver? [00:23] nameserver is my router IP, in the dhcp scope [00:24] And yes. I pick up all the settings using dhcp [00:24] CatPasswd: can you ping the default route? [00:24] CatPasswd: is the default route the ip of your router? [00:24] yes. I can even use the webui to manage the router [00:24] 192.168.2.1 [00:24] CatPasswd: ok, can you ping 1.1.1.1? [00:25] yep [00:25] CatPasswd: ok, can you ping google.com? [00:25] there's something cached somewhere that needs to be scrubbed [00:25] no. Can't do a lookup [00:26] ping: www.google.com: Name or service not known [00:26] CatPasswd: nc termbin.com 9999 < <(host google.com 1.1.1.1) [00:27] nc: getaddrinfo for host "termbin.com" port 9999: Name or service not known [00:28] CatPasswd: nmcli device show|egrep -i "domain|dns" [00:28] IP4.DNS[1]: 192.168.2.1 [00:29] that it? [00:29] That's it. Same for everything else that connects on my network [00:30] It's an asus ac88u running entware and pixelsrv-tls [00:30] and everything else on your network is working correctly? [00:30] yep [00:31] I was just browsing around on my tablet [00:31] CatPasswd: what nameserver does your tablet have? [00:31] It's assigned by the DHCP scope on the router. 192.168.2.1 [00:32] CatPasswd: you confirmed what it's nameserver is as opposed to just assuming which one it got assigned right? [00:32] I just rebooted it twice, making sure it was working after the local domain change in the dhcp scope, and after reverting the change. [00:33] but I'll look again [00:34] CatPasswd: "host google.com 1.1.1.1" just confirm it can resolve that. Then try "host google.com 192.168.2.1" [00:34] Yeah, picked up the reverted settings fine [00:34] CatPasswd: the domain is only for local lookups. Not anything routed over the internet [00:35] That's why this problem has me stumped. Changing that should not have broken the route out [00:35] and yeah, it can see google. [00:35] google.com has address 172.217.164.142 [00:36] CatPasswd: with both using 1.1.1.1 and 192.168.2.1? [00:36] yes [00:36] Using domain server: [00:36] Name: 192.168.2.1 [00:36] Address: 192.168.2.1#53 [00:36] Aliases: [00:36] google.com has address 172.217.4.46 [00:37] please use pastebin [00:37] but "ping google.com" fails? [00:37] I can't... [00:37] :) [00:37] ping: google.com: Name or service not known [00:37] Maddening, isn't it [00:38] CatPasswd: can you take a look at /etc/nsswitch.conf [00:38] $ echo hello_world | nc 5.39.93.71 9999 [00:38] https://termbin.com/q4te [00:39] ah, good idea tomreyn [00:39] I believe the relevant line is this one - hosts: files [NOTFOUND=return] dns myhostname mdns4_minimal [00:39] I'm so happy. Turns out this version of ubuntu is amazing for this laptop's battery life. [00:40] I'm back up to around 6-8 hours. [00:41] CatPasswd: nc 5.39.93.71 9999 < <(cat /etc/nsswitch.conf ; host google.com 1.1.1.1 ; host google.com ; ping -c1 google.com) [00:41] https://termbin.com/m921 [00:42] howdy [00:43] CatPasswd: you have to entries for hosts: in your /etc/nsswitch.conf [00:43] Would adjusting latency in pavucontrol fix audio/video sync issues with webcam recordings? The video is always a fraction of a second behind the audio. [00:43] I believe the relevant line is this one - hosts: files [NOTFOUND=return] dns myhostname mdns4_minimal [00:43] CatPasswd: sure, you still have 2 hosts: entries at the end of the file [00:43] Haven't touched the file, so I assume that's the default setting [00:44] There's only one line in there that starts with hosts: [00:44] oh wait, hold on [00:45] hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname [00:45] that is my entry [00:45] mine, too [00:46] right. I'll swap the order [00:47] And now I can ping www.google.com [00:48] everything work fine now? [00:48] Browser works after a restart too [00:48] seems to be [00:49] I swear I never messed with the order in that file. No idea how that happened. [00:49] ubuntu 18.04 server has: hosts: files dns [00:50] wine apps work. Discord connects. [00:51] tomreyn: weird thing, those 2 entries I mentioned are on my system [00:52] https://termbin.com/5tlv [00:52] leftyfb: what's weird? that server has something else than desktop (i find this weird), or that CatPasswd had a different order of records than you and me on the desktop? [00:53] It's a pretty fresh install, maybe 2-3 weeks old [00:53] tomreyn: that my workstation has 2 additional entries for hosts: [00:53] And I made no custom entries in nsswitch.conf [00:54] Is there an official repo for php7.3 in Ubuntu 18.04? [00:54] leftyfb: oh i missed those [00:54] leftyfb: this looks like some automatism placed them there? [00:54] like, deployment scripts? [00:55] or some software which just wanted to "make sure the system is setup properly" [00:55] tomreyn: just checked, not the ansible playbook I usually run for work [00:55] !info php7 bionic | ExoUNX [00:55] ExoUNX: Package php7 does not exist in bionic [00:56] tomreyn: no biggie, as long as it works for me. At least I know they're there if there's ever any issues I can always start there [00:56] !info php7.2 bionic | ExoUNX [00:56] ExoUNX: php7.2 (source: php7.2): server-side, HTML-embedded scripting language (metapackage). In component main, is optional. Version 7.2.19-0ubuntu0.18.04.1 (bionic), package size 9 kB, installed size 84 kB [00:56] !info php7.3 bionic | ExoUNX [00:56] ExoUNX: Package php7.3 does not exist in bionic [01:00] what is the current story with hybrid graphics? [01:01] I can swap gpus with nvidia-xconfig but it seems like I need to run a new instance of x in order to use the GPU. [01:01] CatPasswd: how did you do that install? [01:07] when I boot xenial on my netbook, the font in the initramfs shell is too tiny to easily read it. is there a kernel option to force a low screen resolution or sth.? [01:13] GRUB_GFXPAYLOAD_LINUX=WxHxB in /etc/default/grub [01:13] looks like even making casper-rw world-writable won't help as long as it's on ext3 or ext4. it works fine on a fat32 partition. I wonder why? [01:13] Where do I talk about ARM Ubuntu? [01:13] #ubuntu-arm [01:14] or here [01:14] How do I submit things to the repos? [01:19] tfgbd_: either through debian or https://wiki.ubuntu.com/UbuntuDevelopment [01:21] also https://wiki.ubuntu.com/ContributeToUbuntu#Maintaining_Ubuntu [01:21] I'm not packaging it up. Someone else can. [01:22] it probably won't make it in a repo unless enough people find it useful then [01:22] debain has a concept of "request for packaging" where you open a bug report asking for a software to be maintained by someone [01:23] Why can't the developer maintain it? [01:24] you just said you didn't want to package it [01:24] packages need to be maintained by someone. [01:24] there's also !snaps [01:24] and !PPA s [01:24] !snaps [01:24] Snaps are containerised software packages similar to flatpaks or appimage. For more info, see https://snapcraft.io [01:25] !ppa [01:25] A Personal Package Archive (PPA) can provide alternate software not normally available in the offical Ubuntu repositories - Looking for a PPA? See https://launchpad.net/ubuntu/+ppas - WARNING: PPAs are unsupported third-party packages, and you use them at your own risk. See also !addppa and !ppa-purge [01:25] I dunno. I just want someone to test it first. [01:25] The developer got mad that I could even compile it [01:25] t? === zbenjamin_ is now known as zbenjamin === dbasinge is now known as dbasinge_ === dbasinge_ is now known as dbasinge [02:23] anyone care to remind me how things are done when one has to copy a working install inside some LVM containers? [02:23] starting with my home dir... it's going now [02:32] ummm. okay i just remounted my home copy over top of where my home used to be, after renaming the old one [02:32] what problems am i seeing? reports of hexchat logs being unreadable [02:32] i can delete it now right?? [02:35] yikes no. i mounted it wrong [02:40] bah. what a pain. next time log out before twiddling the home dir [02:43] What is the "equivelent" to this on Ubuntu? https://www.xnview.com/en/xnviewpocket.php#downloads [02:44] well i don't know what that does [02:44] but you might as well use gimp [02:44] since it's free and as good as photoshop, mostly [02:44] Does it do batch image conversion on my CF card in minutes? [02:44] i don't know [02:45] !gimp | tfgbd_ [02:45] tfgbd_: gimp is an advanced image manipulation application for Ubuntu. See http://www.gimp.org for tutorials and more information. [02:45] i'm sure it does batch image conversion. i recommend against doing anything on a CF card without copying the data off first [02:45] I think you're just thinking of debian [02:46] https://www.xnview.com/en/xnviewmp/ [02:48] https://www.xnview.com/assets/img/screenshots/xnview-win-01.png [02:48] please stop posting random links and contradicting everything someone says in reply. someone is going to think you're a troll [02:50] I just didn't see it [02:50] But they don't have rpi [02:50] what are you even talking about [02:52] Raspberry Pi ARM32/64 [02:52] oh. you might not want to run gimp on an rPi [02:53] Why not? [02:53] Doesn't it port right? [02:53] i would think it's a little resource heavy [02:54] I would think not. [02:54] It ran on machines with 256mb and XP, remember [02:54] alright then. give it a go and tell us how it works [02:56] I'll try it on my new AARCH64 "development board" [02:56] It's just apt-get install gimp2, right [02:56] uh, i think so [02:56] how did i even install it :/ i think i used software center [02:57] jeeze did that pull a snap? === [b0b] is now known as b0b [02:57] yes :'( [03:01] Not everyone can afford to wait for software center [03:01] i rather dislike it myself [03:02] but i do like having a list of stuff to browse rather than having to know the exact spelling and version of a package [03:03] i think if i want to copy my bood drive to a new place, i have to boot from a liveUSB [03:04] how does one copy a partition from a bare metal drive into a new LV? dd ?? [03:04] gparted [03:06] i don't think that supports nested luks and LVM containers [03:20] insane. After applying a few tweaks I'm looking at 8-10 hours battery life with a 15% degredation in battery capacity from origina. [03:48] Gallomimia: i usually mount both filesystems and rsync [03:52] yikes. lightning. and i'm without a UPS [03:52] maybe it won't be happening tonight [03:52] resixian, that's enough to solidify a full install? [04:08] lightning in a totally flat area with no proper surge arrest. i feel naked [04:11] Question: I have a ubuntu 18.04 box that i have set up just the way i like it, but i want to make the machine dual boot with windows 7 to run certain games. is there a way to install windows without losing the ubuntu install and have a bootloader where i can choose [04:11] ? [04:23] If I write an ISO file to a USB stick with dd - shouldn't it be readable on a Windows machine too? Not bootable. Just readable. It reads fine on my Ubuntu box, and my Sony Blu-ray player, but not my Windows machine. I suspect something must be wrong with my Windows machine? [04:24] is there a cmd that can stat or ls a dir that can grep a list of files not touched in say - years? that can output to a txt file? or, grep it to another cmd that will just del what it got piped? [04:28] mika`: check out what 'find' can do [04:33] aye. i just didn't know if there was a good pipe thingy. ( i not a programmer / coder ) [04:36] sudo18, yes. the ubuntu installer does that just fine. usually you install windows then ubuntu. [04:37] mr_lou, windows doesn't have any default way to read ext4 devices. so. no, it shouldn't be readable. yes there's something wrong with the windows machine (its running windows) [04:37] There is a driver for ext3 [04:38] Gallomimia, No no, it's not ext4 iso. It's actually an ISO that was made on Windows years ago. [04:38] is it installed by default? [04:38] Does Wubi still work? [04:38] oh. iso, should be readable. it's readable with the ubuntu machine? [04:38] Yes. And my Blu-ray player. [04:38] i read the rest.... okay [04:38] iso file, as in cd/dvd format [04:39] Yes [04:39] Just a CD ISO written to a USB. [04:39] Windows won't read it. [04:39] (And if you wanna compete in who mates Windows the most, I will win). [04:39] *hates [04:39] Gallomimia: i understand what usually is done. i'm asking if there's a way to do it where ubuntu is left alone as the main os and then i can install windows along side it? or do i need to make an image of the ubuntu install as it is now, format and clean install windows, THEN install ubuntu and restore from the image (obviously i'm trying to avoid the latter and just slide windows on in dual [04:39] boot fashion) [04:40] ah well. that's probably debatable. i was an apple fanboi for 25 years [04:40] I have never liked Windows ever. [04:40] sudo18, you'll have to check on what type of partition style your drive is [04:40] On suspend will ubuntu hibernate after a while rather than drain the battery? [04:40] i hated it since win3.1 [04:40] I used Amiga while everyone else embraced Windoze. [04:40] !ot [04:40] #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! [04:40] i don't think a suspended system can spontaneously hibernate [04:42] So in conclusion, there's no special attribute I neeed to give dd in order for such an iso to work on Windows, right? I thought maybe I had to use a certain blocksize, but it doesn't seem to make any changes. [04:42] let me think here.... can windows 7 be installed on a GPT drive? i'm not sure. but once you determine your partition table is compatible with windows, make the partition you want, install windows, come back to ubuntu and then a simple grub-update should do the trick [04:43] if it's not, then yes, you'd have to image your install, reformat the drive, and then do as you wrote sudo18 [04:44] mr_lou, they don't like us hating on windows in here, or talking about windows-only issues [04:45] Well it's Ubuntu related. I want to be able to write these ISO's on Ubuntu - but they gotta work on Windows. I can understand ext4 and udf iso's not being readable, but not "normal" ISO's. [04:46] So something must be wrong with this particular windoze machine. Gotta test on other ones. [04:47] that's rather odd if you ask me. especially if it runs on an appliance [04:50] how big would any of you suggest the root fs of a disco-dingo install should be? /home and all other large data filesystems will be separate LV's [04:50] my xerus and trusty tahr volumes are 16gigs but it looks like my disco dingo one is already 16.8 [04:53] 8.3 gigs in /var why is this?? [04:53] var= logs [04:54] 4 gigs of logs is a lot of logs [04:54] 3.1g in lib/snapd [04:54] lame. [04:55] any suggestions on how to reduce this? [04:56] cd snaps [04:56] oops [04:56] seems to be keeping old versions? [04:57] Gallomimia: uninstall snaps, clear logs, clean system with bleachbit [04:57] some of the software i'd really rather keep, in spite of their handicapped way of managing disk space [04:58] Gallomimia: this isnt the complaints channel [04:58] Gallomimia: keep software = more disk space? [04:59] right. it's the place where you ask how to do things. how do i clean out the old versions without willy-nilly typing sudo rm [04:59] Gallomimia: old versions of what [04:59] snaps [05:00] reading this dir shows me there's a duplicate of pretty much everything i have installed [05:00] Gallomimia: there's no such thing as old snap version, you have the snap installed, or not [05:00] Gallomimia: snaps auto update themselfs [05:02] https://pastebin.com/JGzw25AV [05:02] can they kindly auto remove the old version too? [05:05] can g++-multilib be installed ontop of gcc-multilib [05:06] as i get g++-multilib : Depends: gcc-multilib (>= 4:5.3.1-1ubuntu1) but it is not going to be installed [05:08] lotuspsychje, its funny how you say the old versions aren't a problem, and yet i'm looking at a list of old versions sitting on my system, and how-to's on this are a popular search on google. [05:11] Gallomimia: what you pasted, is just an installed snap list... [05:28] lotuspsychje: snapd keeps last two versions around tho [05:29] (of each snap installed) [05:29] default is three, according to what i'm reading [05:29] the minimum is 2 if you change it. i'm still trying to delete the older one. [05:29] not sure you can [05:30] the script to do so is published by a community manager with ubuntu engineering at canonical [05:30] which i think is telling of how there's still some kinks to be ironed out. [05:30] it says on it to "close all snaps" before running. i can't for the life of me figure out how [05:31] Gallomimia: with `snap remove --revision=` then? [05:31] yeah i'm not doing that 50 times [05:31] i have a computer to iterate over repetitive tasks [05:32] seems i didn't need to close any [05:32] just worked fine [05:32] you don't have to close _all_ the snaps, just the one you're removing old revisions of [05:32] however, some you can't, like gnome stuff, unless you go to multi-user.target first [05:33] it seems like there's two versions of the gnome-3 and i think it's because of dependencies [05:35] what's /var/log/journal ?? [05:35] seems a bit insane that i have 4 gigs in there [05:35] Gallomimia: journald's (configurable) persistent storage [05:35] Gallomimia: `man journald.conf` and adjust SystemMaxUse [05:35] hah. i know what those words all mean, but... i understand zero more than i did before you wrote that :) [05:36] journald is the systemd event logger. like syslog but much more advanced, and core component of systemd [05:37] it can store logs just in memory or on disk too (and/or forward it to old rsyslog as well, which is default), and when it's configured to store on disk (default) that's where the database is. [05:37] logs are good. [05:37] i have to reconsider where i want it put tho. [05:37] maybe i just put all of /var on its own fs [05:38] I use journald only as temporary, in-memory logs, using no more than 100MB, then forwards to rsyslog where I like it for long term archive. [05:39] Gallomimia: I'd advise don't redesign the fs layout until you're 100% sure you know what you're doing and what is using the dirs you wanna partition. systemd will have serious issues on boot otherwise. [05:39] keeping it only in memory seems counterproductive to diagnosing crash problems [05:40] Gallomimia: depends. with forwarding to syslog, you don't lose anything. [05:40] that's good advice. i suppose some of the log files might not be mounted during boot? [05:41] my goal is to bring the root fs down to fit inside the area i had set aside for various installs. older versions [05:41] there were 2 LV's of 16gig each [05:42] Gallomimia: you can adjust how long/much journald keeps around via journald.conf [05:42] infact, you can adjust its memory use and persistent storage use, separately. [05:43] does ubuntu support ARM64? [05:44] !arm64 | tfgbd_ [05:44] aw i thought it would be that easy [05:45] !arm | tfgbd_ [05:45] tfgbd_: ARM is a specific (RISC) processor architecture used in a variety of applications such as handhelds and networkdevices. For more information see https://wiki.ubuntu.com/ARM . For ARM specific support, stop by the #ubuntu-arm channel. [05:45] tfgbd_: yes, there's aarch64 ISOs to download [05:46] (and ARMv8) [05:49] For this? [05:49] https://www.amazon.com/Lenovo-12-Inch-Qualcomm-Snapdragon-81F10001US/dp/B07C8BJ1NT [05:51] If a system kernal panicked I'd expect to see it in journalctl these days right? [05:52] tfgbd_: apparently there's only the server edition. I don't know if that means there aren't arm64 packages to install for GUI [05:52] Does it matter if the kernal panics? Don [05:52] Don't you just have to start a new instance? [05:52] latteiscoffee: that or through rsyslog'd files, assuming the panic wasn't such that it didn't get logged. [05:52] it's usually something you want to figure out why, and avoid in the future [05:53] blackflow: Odd... got a server that keeps rebooting every 3-4 days and nothing in the logs about it [05:53] I need to run some x86 xserver to run the gui on my Ubuntu server on AARCH64 Windows 10 [05:53] latteiscoffee: you can configure kernel to crash dump (there's a package for it iirc) and then inspect the dump with gdb on next boot [05:54] or... not gdb but some dedicated tools. it's been a while since I did that so I forgot the deets. [05:54] Ahhh I will give that a go, cheers! [05:54] at this point, it sounds like you don't even know if its some kind of soft shutdown, a kernel panic, or something goofy with the provider. is it a VM? [05:55] latteiscoffee: start here: https://help.ubuntu.com/lts/serverguide/kernel-crash-dump.html [05:55] Yeah it's a linode VM, so I'm hesistant to point at hardware [05:55] just trying to narrow down the cause a bit first [05:55] you're running it on your own hardware? [05:55] _linode_ [05:55] Nah, it's running on linode [05:55] wow i've been disconnected from the world for too long [05:55] latteiscoffee: do you know if it's kvm or they still use patched, extrenal-kernel, xen? [05:56] if the latter, you can blame HW just fine :)) [05:56] I've noticed my brightness up/down hotkeys generate button/f20 in acpi_listen, the same as microphone mute (which ubuntu shows visually as well). Any ideas how I can find the source of the duplicate event? I've tried playing with debug_level and debug_layer values, but couldn't find anything useful. Also wasn't sure what to look for in acpidump [05:56] and acpixtract [05:56] KVM from last year I believe] [05:56] this VM has only been up a month or two [05:56] so it *should* be KVM... but I will double check [05:57] latteiscoffee: can you inspect the serial console when it crashes? [05:57] Does ARM support JVM? [05:57] if there's a panic, the kernel would dump stuff there and you might see the trace [05:57] Yeah it is KVM: systemd[1]: Detected virtualization kvm. [05:57] Ahhhh [05:57] ofc [05:57] will check, they reboot automatically [05:57] even through the virtual console, but that only shows last X lines you can't scroll up [05:58] so I'm unsure if it'll have been wiped by now [05:59] latteiscoffee: I don't use linode but OVH, and not VMs but dedicated machines. at OVH I can attach serial console over ethernet (there's a java based web thingy they have), and thus keep the full console output logged. if linode offers the same nowadays (because it doesn't mattre if its' VM or baremetal), that's where I'd start. [05:59] Alright I will stop it rebooting automatically and see if I can catch something... get the dumptools installed as well, cheers guys [06:00] Does linode offer ARM? [06:00] I also grepped the decompiled DSDT and SSDT files and found there are WMI related GUIDs.. I wasn't sure how to debug / capture WMI events though to see if they are responsible for my laptop generating a button/F20 event in acpi_listen :\ [06:00] I didn't see an ARM offering... I used an interesting ARM offering in France when ARM servers were first being released though [06:00] think they shut down now ... :) [06:01] backflow i'm reading those man pages on the journald.conf. does it accept values with suffixes? like 500M? [06:01] When were they first being relased? [06:01] it's so verbose and yet doesn't say that [06:02] like early 2010's? There was a provider that started doing ARM servers when everything else was still on AMD64 [06:02] really cheap too iirc [06:03] Why does RAM size say 128 GB for my "ARM Server" [06:03] !ot [06:03] #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:03] you sure like using that command lotuspsychje [06:03] latteiscoffee: lets talk in #ubuntu-arm [06:05] okay i think i'll go to sleep. got my log files tidied up thanks blackflow [06:10] trying to get bumblebee working (dell precision 5530, nvidia quadro p1000). currently the gpu runs and then cant be disabled because nvidia_drm cannot be unloaded. [06:11] I'd assume that my current session uses the card instead of the integrated intel one. Thus, unloading cannot work. === rax-Y is now known as rax- [06:26] are there alternatives to using bumblebee? [06:26] chaosfisch: bumblebee isnt the way to go anymore, for optimus cards its using nvidia-prime now [06:26] chaosfisch: that gets installed togheter with your nvidia driver [06:29] lotuspsychje ok, will have a loo [06:29] chaosfisch: start with: ubuntu-drivers list to see wich driver is for your card === chaosfisch64 is now known as chaosfisch [06:40] tds: Off a usb stick. Installed to a small ssd. Accepted the defaults for network setup, which is dhcp. No idea how that all happened. [06:51] morning cfhowlett [06:51] yowza^3 lotuspsychje [06:51] How's the channel behaving today? [06:52] cfhowlett: alot of offtopic this morning and a netsplit after, back to idle now :p [06:52] calm be4 teh storm :) [06:53] I got " you are banned" for the past 3 hours. [06:54] cfhowlett: still fighting with that freenode thing? [06:54] I've given up the battle since it's at the #ubuntu channel level, not MY level [06:54] lotuspsychje installing nvidia-prime lead to crash of gdm :( removing it again and now it still crashes due to a bug [06:55] chaosfisch: wich driver does ubuntu-drivers list suggest? [06:55] nvidia-driver-418 [06:55] chaosfisch: only that, or more versions? [06:55] $ ubuntu-drivers list: nivida-driver-418, nothing else. [06:55] hmm [06:56] chaosfisch: can you pastebin the whole output of your driver install please? [06:56] the output of the apt install for the driver? [06:56] yes [06:59] lotuspsychje I'll start from scratch with install. the gdm seems to be too broken now [06:59] shouldnt take more than 5 min anyway [07:00] !nomodeset | chaosfisch to bypass boot problems/graphics [07:00] chaosfisch to bypass boot problems/graphics: A common kernel (boot)parameter is nomodeset, which is needed for some graphic cards that otherwise boot into a black screen or show corrupted splash screen. See http://ubuntuforums.org/showthread.php?t=1613132 on how to use this parameter [07:45] lotuspsychje alright, cant give you the install output because driver is installed and working after fresh OS install. [07:45] chaosfisch: sounds good, maybe a glitch somewhere.. [07:46] chaosfisch: if things are installed correctly, nvidia-settings should leave you the choice now between performance mode and powersaving mode [07:47] lotuspsychje: the nvidia X server settings? [07:47] chaosfisch: yeah, you should have an icon for it [07:50] I have a problem on 18.10 that local LAN adapters doesn't get static V4 Ip address anymore upon boot [07:51] So it is connecting of Wifi (it's a desktop) bit none of 2 LAN adapters get their IPs and also machine does not route internet to the rest of the LAN as it used before [07:56] lotuspsychje seems to work now - running with integrated gpu [07:57] !yay | chaosfisch [07:57] chaosfisch: Glad you made it! :-) [07:58] now I can finally get to the more interesting part. gpu passthrough which is trivial now [08:00] I'm on a Zbook Studio x360 with Intel onboard and Quadro P2000.. just using Nvidia 418 now, with prime-select [08:00] assuming GPU offloading still isn't a thing yet unless you're using bumblebee [08:04] Right. Giving up on my brightness keys now. Hours wasted for 2 hotkeys is too much [08:07] zarathustar, first, you tried xev? [08:08] same scan codes for brightness up/down as mic mute... also shows as a button/F20 event in acpi_listen [08:09] then I got lost in setting debug_layer and debug_level values, couldn't find much (but wasn't sure what to look for), decompiled ACPI tables -- again, wasn't sure what to look for [08:09] That is pretty strange [08:10] Have you tried any different OS to see how it maps? [08:10] it works on windows, which doesn't really help.. HP laptops have all kinds of ridiculous software (HP Hotkey support, etc) [08:11] Well, their keyboard just sends a code based on that combination press. To the OS it is supposed to be just a different key. [08:11] I don't know enough about the architecture behind ACPI, WMI, or general kernel stuff to do more informed troubleshooting.. haven't tried other linux distros [08:11] And you checked your bios settings? [08:11] yep [08:12] It is really strange that your keyboard is sending the wrong code [08:13] I also tried messing around with acpi_osi values too, thinking that might affect how the button press is generated depending on OS reported to BIOS.. but no go [08:13] acpi_listen gives me button/f20 00000080 00000000 K for Fn + Brightness Up/Down and Mic Mute [08:15] I get MSC_SCAN = 81, EV_KEY = code 19 (KEY_F20) in evtest for the keyboard input device.. but I'm assuming ACPI generating the button press somehow :\ [08:15] code 190* [08:18] what is the code for your mic button === jje_ is now known as jje [08:24] Early in the morning [08:25] code for mic button is also F20 [08:25] oh cool thks [08:49] Just installed ubuntu 1504 server in a Virtualbox when doing apt-get update I got Ign and 404 on all server. Is it a problem on my side or are the canonical server down due to end of support ? ( I am in a bridged network and I can ping 8.8.8.8) [08:51] renn0xtk9: 15.04 was EOL'd long time ago [08:51] okay [08:51] did not know they alos put server down [08:51] renn0xtk9: why would you "just install" 15.04 though and not a newer, supported version? [08:52] I have bought a book about Continuous delivery with a few exercise to be done. They are using 15.04 so i thought i d use the same to have exact same setup [08:52] but will do it with 18.04 then [08:53] That is a perfectly acceptable reason, though [08:53] renn0xtk9: you can use 16.04 if you want to be closer to 15.04 semantics. 18.04 introduces some novel concepts like netplan, systemd-resolved, default snaps, .... [08:53] magic_ninja_work: it could be, but 15.04 is no longer supported, there's no infra you can install packages from. [08:54] besides, understanding examples and adjusting them for newer/different environment makes the most out of learning effort. [08:57] Well, as long as there is a baseline there. Without a package manager, though, the tutorial is pretty useless. [08:59] I will see, I have launche installation of 18.04. I will see if the exercie work or not === imsurit_ofc is now known as imsurit [09:05] https://www.debian.org/News/2019/20190706 [09:06] katnip`: yeah, Buster was released yesterday. Not on topic here though ;) === imsurit_ofc is now known as imsurit [10:06] how do I get load average for the past n days uing sar? === gurmble is now known as grumble [10:59] i need an android emulator. there are several. which one would you recommend? [10:59] there is a snap version of android studio [11:00] and anbox [11:01] frad: i tested the snap anbox, but that didnt go too smooth, as alternate used androidx86 iso on a virtual machine, much smoother [11:02] tons of other options, https://www.ubuntupit.com/top-android-emulators-for-linux-to-enjoy-android-apps-in-linux/ [11:02] so I have to run a VM [11:02] frad: depends wich way you choose [11:03] I know there is a ton of options, but I was hoping you could help me reduce it to 1 or 2 [11:03] use the one you like best [11:06] oh, that ubuntupit url should be ignored [11:19] thanks to you two [11:29] i want to be notified on the desktop in 30 minutes is it possible with cron job? [11:49] chieta: if I'm not mistaken, yes but with user cronjob (crontab -e). you might need to explicitly export the DISPLAY env var in the crontab. [11:50] chieta: oh, yeah, then use notify-send to produce the notification [12:29] good afternoon ;) [12:30] is there any tools to calculate duration of a directory of mediafiles? to get some information like Amount of media length (3 days 4 hours) of content [12:31] blackflow cmiiw how to do it in one time rather than daily scheduled... is it possible in cronjob? [12:33] chieta: no, but for that you can use at(1) [12:33] raidghost: you can use tools like ffmpeg to get duration of media, awk or grep that out from the output for a list, then feed into bc to sum up. [12:35] blackflow: thanks for the info. Just gotta see if it only does files inside a folder. or multi folders [12:36] raidghost, exiftool -T -Duration * # gives a list, not total sum [12:36] OerHeks: Its the total sum im looking for. The list i dont need :) [12:36] raidghost: "it" won't traverse directories. You need to script that yourself [12:37] leftyfb: i found a script that does the job for 1 directory with files inside [12:37] raidghost: you can build a list using ls -1 | xargs -n1 ffmpeg .... (with proper arguments for ....) [12:37] but i guess i have to edit the script to make i traverse directories [12:38] raidghost: you can easily turn a list into a sum with bc(1) [12:39] find . -iname '*.mp3' -print0 | xargs --null exiftool -n -q -p '${Duration;our $sum;$_=ConvertDuration($sum+=$_)}' | tail -n1 [12:40] but this is mp3 only [12:40] ... | paste -s -d + - | bc [12:40] can i change the .mp3 with something else then? [12:40] all formats that exiftool supports, sure [12:40] mp4 [12:41] OerHeks: https://pastebin.com/k5zQBQpF does it perfect with files inside a directory [12:41] But i need to figure out how to traverse directories [12:41] OerHeks: -exec [12:53] how does one develop lernel drivers with just the linux-headers package installed in ubuntu? [12:53] *kernel [12:55] aiena: your question is too broad and abstract. can you give an example? [12:55] hmm I think I found it https://www.cyberciti.biz/tips/build-linux-kernel-module-against-installed-kernel-source-tree.html [12:56] lets say you have a driver module you want to build [12:56] foo.c in your home directory [12:56] my question was how to use the linux-headers to build that module with make [12:57] so that I dont need to build and maintain an unsupported kernel as well [12:57] aiena: linux-headers only installs /usr/src/... include files. You #include them in your C code [12:58] Hey all. I have an issue that I need some help. I'm trying to move a hard drive from my Debian system to my Ubuntu system. In Debian the drive works just fine. When I move it to Ubuntu the system can't see one of the partitions on the drive. When I run gparted on the Ubuntu system it tells me "the backup GPT partition table is corrupt, but the primary is OK". If I move the hard drive back to the Debian system and run gparted, everything looks OK. [12:59] thanks for the at command blackflow... it will do the job [12:59] blackflow: yes that dir structure is wrong [13:00] BlakesSeven: and your question is? [13:00] blackflow: i mena gcc will not compile the file unless it know where to find what you #include in the code [13:00] so what is the correct way to make the makefile for a module? [13:00] tomreyn, my question: how do I fix this? It is a problem on one system. It's not a problem on the other. [13:01] using ubuntu's supported kernel currently I built my own kernel but that is unsupported i just want to write modules [13:01] BlakesSeven: i'd compare the gparted and kernel versions on those two systems, and maybe come up with clues based on which are older / newer. [13:02] BlakesSeven: i'd also search the web for the error message you get to see on ubuntu, which may help understanding whether this message indicates and actual issue or is rather benign. [13:03] BlakesSeven: yet approaches you can take is to look for related bug reports on launchpad.net/ubuntu and to use a different partitioning utility to validate the gpt [13:04] want to use openvpn client. have a .ovpn file with certificate and key. openvpn file.ovpn connects. DNS is not updated. I've added up/down update-resolv-conf. nslookup manually with correct dns ip works. [13:04] *yet more [13:04] I was previously running openvpn via the gnome network manager, but this had many problems with certain vpn configurations. [13:05] chaosfisch: read the openvpn manual (or man page) on the --script option [13:05] ...and its security implications, and defaults [13:06] aiena: you instruct it with -I [13:06] * --script-security [13:06] I mean you add all the dir prefixes where it should look for relative includes. [13:06] hi guys, got a couple of problems. since my last update i get an error msg whenever i log in about "missing option size" in cryptsetup" and though i've tried to make sense of the "readme", it's over my head. [13:07] tomreyn: script-security-level is set to 2 [13:08] I can see in the log that the script is called, but my system wide DNS is not changed. [13:08] ah..., and it outputs an error, my bad [13:08] mikubuntu: provide the error message in context [13:09] tomreyn [13:09] mikubuntu [13:09] lol [13:10] highlight me when you have something to tell me [13:10] it only comes up when i'm starting up [13:11] sorry it was an accident tomreyn, this whole webchat gui has changed since last time i was on [13:11] mikubuntu: then it'll be on your systemd journal, i guess [13:11] tomreyn how can i pull that [13:11] you can use a proper irc client and thus choose yourself what it looks like and when it'll (not) change [13:12] tomreyn, I appreciate the suggestions. However that takes me down a multi-day road of research. Was hoping for a quicker solution. The ubuntu system is much older. However, I just moved it over to a raspberry pi system with a kernel that's slightly newer than my debian system. It too reports the same problem. I might just recover from backup. [13:12] journalctl -b | nc termbin.com 9999 would (attempt to, it could be cut off if too long) post the full systemd journal since your last boot (which is obviously shorter if you booted recently) to a web page, for easy sharing. [13:13] mikubuntu: ^ [13:13] tomreyn i logged in the way i've logged in for years, so i didn't change any view settings on this end [13:14] tomreyn this whole string? journalctl -b | nc termbin.com 9999 [13:14] BlakesSeven: the warning you quoted is about a *backup* of the partition table being corrupt, it is not about the main partition table being corrupt. you should be able to fix it by just writing it again using the newer software. [13:16] mikubuntu: if you're run this extremely long string you'll get a url which you can post here. [13:16] * you'll [13:16] https://termbin.com/uw7k tomreyn [13:17] mikubuntu: there's this message on your log - not the one you talked about here, but maybe that's what you mean? kernel: Could not find key with description: [830a8bf753856fa2] [13:18] BlackDex: can you give an example makefile? [13:18] * blackflow ^^ [13:18] tomreyn, are you suggestion I re-write the backup partition table? [13:19] *suggesting [13:19] tomreyn that's not exactly the one that shows on startup -- the phrase says that i haven't input "option size" in cryptsetup [13:20] BlakesSeven: after backing up your data, of course. yes. [13:20] aiena: you don't need a whole makefile for example. -I is the param for gcc. so you set up CFLAGS [13:20] aiena: "for an example" [13:20] ah [13:20] but then for each rebuild I need to manually type it in [13:21] or dump it in a shell script [13:21] mikubuntu: okay, i guerss it occurs before logging is possible, then. take a photo and upload it if you can. i couldn't find anything on the web for the error message (or warning , or notice) you provided. [13:21] there's a couple other problem s with my display since i upgraded to 19.04, one of which is that screen doesn't look just right, so i wonder if it has comething to do with that cryptsetup [13:21] mikubuntu: you can also show what you have in /etc/crypttab [13:22] aiena: no you can set up CFLAGS in the Makefile. CFLAGS = .... [13:22] tomreyn, the problem is a little more complex. The drive is encrypted. The other systems I have can't open that drive. The Debian system can. I assume this has something to do with their problems with the partition table, not the encryption. In the past I've been able to move this drive back and forth between systems, no problems. [13:22] mikubuntu: the encryption option and the screen issue are unlikely to be related. [13:22] ok lemme see if i saved a phonepic of it in google [13:23] blackflow: ok I am reading the makefile documentation I know some of it but many of the features are unclear [13:23] so the CFLAGS usage isn't clear to me atm [13:23] aiena: maybe there are better examples and ways to instruct gcc for -I via Makefile, I don't know. It's been a while since I wrote those. Maybe a gcc development specific chan would be more helpful [13:23] gcc or automake [13:23] BlakesSeven: maybe the encrpytion you use there is known to be weak so newer versions have decided to drop support for it. [13:23] is make a gcc project? [13:23] no [13:24] it's a GNU project (GNU/Make is), but so is GCC, so they have the common parent [13:24] BlakesSeven: this is obviously just a theory. backup your data where you can back it up, do a fresh install on a new system, restore your data. [13:25] Debian kernel 4.9.0-8, Pi kernel 4.9.35-v7, Ubuntu 4.4.9-151 - although you highlight a concept I was not aware of, I don't believe that's the case here. [13:25] BlakesSeven: alternatively, spend (possibly a lot) more time on understanding what the root cause is, and how you (maybe!) can fix it without reinstalling and restoring backups. [13:25] tomreyn, I whole heartedly agree. [13:26] BlakesSeven: wich ubuntu version are you on currently with that kernel? [13:26] That system is 16.04 [13:27] BlakesSeven: that's not a kernel available on 16.04, though [13:27] anybody able to tell me the url for photobin? [13:27] imgur.com works [13:27] k [13:29] BlakesSeven: we reccomend to test ubuntu issues, on the kernel that comes with it, for your 16.04 currently Version 4.4.0.154.162 (xenial) [13:29] https://imgur.com/55yA76Z tomreyn [13:30] BlakesSeven: or !hwe [13:30] brb tomreyn [13:31] tomreyn, I can take a screenshot if you like, but I'm looking at the results of uname -a and lsb_release -a 4.4.0-151, 16.04 respectively. But it's tangential to the problem as the problem seems to have resolved itself when I moved the drive (USB) from debian back to ubuntu. Now ubuntu is allowing the drive to be opened and is not reporting a partition issue. I'm going to chalk this up to incoming drive failure. [13:31] BlakesSeven: i agree with lotuspsychje - see what happens with a standard ubuntu kernel (and standard ubuntu userspace / installation). if it still happens there, and you can show the partition table as parsed by (ideally) two applications, including the error message you quoted, we can talk more. [13:32] BlakesSeven: it may also be an issue with physically deteriorating storage media. check !smart [13:33] mikubuntu: so did you do as the message says, and did this provide any new insight? [13:34] tomreyn as i said i looked at the readme and it's way over my head [13:35] kept hoping it would resolve in a software update, but it hasn't [13:35] mikubuntu: you didn't say that, no. [13:36] let's concentrate on finding a solution, though [13:37] !smart | BlakesSeven: oops i forgot to hand you the 'smart' 'factoid': [13:37] BlakesSeven: oops i forgot to hand you the 'smart' 'factoid':: smart is Self-Monitoring, Analysis and Reporting Technology, a monitoring system for hard drives. See https://help.ubuntu.com/community/Smartmontools [13:37] mikubuntu: can you show /etc/crypttab ? [13:38] tomreyn i can if you tell me how .. lol [13:38] i'm definitely willing, and i have the best intentions [13:38] mikubuntu: sure: sudo apt update && sudo apt install pastebinit && pastebinit /etc/crypttab [13:39] k gimme sec [13:39] i have ubuntu 18.04.2 i am not getting login screen windows before login screen screen is flicking with some message [13:40] samba35: what kind of message do you get? [13:40] mikubuntu: i'm happy to help, please just ask when something is unclear, since (not actually knowing you) it's not easy to tell what you know and what you do not yet know. [13:40] i am able to boot to rescue mode but bot nornal mode how to diagnode this [13:40] after cloud-init some message screen is fast blinking [13:41] is it possile to check from log ? [13:41] !server | samba35 [13:41] samba35: 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 [13:41] is this what you want? http://paste.ubuntu.com/p/jbxMDKxykS/ tomreyn [13:42] ok [13:42] mikubuntu: this is what i was hoping to get to see, yes. [13:42] mikubuntu: so you really only have encrypted swap, the rest is plain, right? [13:43] no clue tomreyn [13:44] okay. let me read some docs, i'll get back to you in a few minutes. [13:45] okey dokes, thx tomreyn [13:45] brb in 8 min [13:47] mikubuntu: please also show this when you're back: cat /proc/swaps | pastebinit [13:51] tomreyn, the smart test shows the drive passes. So, IDK. [13:54] BlakesSeven: me neither, it's good you checked, though. [13:54] The drive is +4 years old, but it is an offline backup of a drive that is online 24/7. So, old, but not used often. It gets placed online a few hours a month. IDK. Maybe I'm just crazy and imagined all this. [13:54] i back whenever you free tomreyn [13:57] mikubuntu: so i *think* (I had no easy time finding documentation on this, and did not read source code), the "size" option you are indeed missing in your /etc/crypttab is about the encryption key size. it probably defaults to 256 bits, though should (ideally) be 512 bits for aes-xts-plain64. [13:58] ok if you say so .. lol tomreyn [13:58] mikubuntu: so you should edit /etc/crypttab and append, without adding extra blank spaces, to the end, this: ,size=512 [13:58] tomreyn, I appreciate your help with this, btw. Thank you very much. [13:59] BlakesSeven: you're welcome ;) [13:59] And lotuspsychje, thank you too. [13:59] so lemme see if i can do that -- is that using geddit or similar? or in the term? [14:00] do i include the comma? ,size=512 ? tomreyn [14:01] mikubuntu: you can use gedit if that's easiest for you. type this in a terminal: gedit admin:///etc/crypttab [14:01] mikubuntu: yes, you include the comma, also anything behind the comma. [14:01] ok lemme try tomreyn [14:02] mikubuntu: when you're done, pastebinit /etc/crypttab [14:02] that's after saving and closing gedit [14:03] hmmmm, could not open the file, unable to handle "admin" locations tomreyn [14:04] mikubuntu: which ubuntu version do you run again? [14:04] 1904, is it possible i needed to do sudo geddit? [14:05] mikubuntu: should not be, no. are you using xorg or xwayland? [14:06] oh, it's lubuntu 1904 so whatever it uses i guess tomreyn [14:06] oh *l*ubuntu, i see. [14:06] mikubuntu: are you comfortable with any CLI editors? [14:07] whoooOOO000OOOooops [14:07] ? [14:07] ummm, not familiar with CLI tomreyn [14:08] okay, let's use nano: sudo nano /etc/crypttab [14:08] ok gimme sec tomreyn [14:08] then edit the file as discussed, then press ctrl-x and save it under the suggested file name [14:08] I have a doubt. If you copy a file into a folder which is a symbolic link. Where does the file actually go? To the realpath of the directory or it ignores the fact that the dest dir is a symb link? [14:09] mikubuntu: and finally pastebinit /etc/crypttab [14:09] * tomreyn back in 5 minutes [14:10] aiena: symbolic links are just sign-posts to somewhere else; they take you there [14:11] e.g. '/lib/modules/5.0.0-aiena/kernel/drivers/usb/' is a symbolic link to '/usr/lib/modules/5.0.0-aiena/kernel/drivers/usb`. If I copy a file into '/lib/modules/5.0.0-aiena/kernel/drivers/usb/' is it stored in "/lib/..." or "/use/lib/..."? [14:11] tomreyn can't figure out how to enter edit mode in nano [14:11] */usr [14:13] aiena: Ubuntu doesn't install kernel modules to /usr/lib/, only /lib/modules/$VERSION/... [14:13] but lib/modules is a symlink [14:13] aiena: almost sounds like Arch [14:14] it currently reads: ryptswap1 UUID=abd1a15c-8906-464c-9713-2d9fbb2101fa /dev/urandom swap,offset=1024,cipher=aes-xts-plain64 and you just want me to add the ,size=512 with no space after plain64 tomreyn [14:14] aiena: not on Ubuntu: "drwxr-xr-x 19 root root 4096 Jul 1 06:59 /lib/modules" [14:16] TJ-: are you sure? see https://paste.ubuntu.com/p/VRPSpsfZsM/ [14:17] TJ-: sorry https://paste.ubuntu.com/p/H9NXCN2Ww2/ [14:17] the last line output was missing [14:18] tomreyn at any rate i can't seem to figure out how to append to the file [14:18] my openvpn server does not send a complete list of routes, thus dns is failing (the dns server is in a subset which is not routed by the vpn link). how can I add client side routes to the .ovpn config file? [14:18] build points to where the linux-headers package installs stuff and the other dirs point to other places [14:19] I am guessing the correct way is to use /lib/modules [14:19] but I cannot find official docs on it [14:22] mikubuntu: okay, if editing the file is difficult, i will instead provide a command which will do it for you. just quit the editor using ctrl-x, choosing *not* to save. [14:22] aiena: you're pointing to the *header* files, not the kernel modules [14:22] aiena: all kernel headers and DKMS packages are in /usr/src/* [14:23] aiena: each /lib/modules/$VERSION/build is a symlink to the matching headers under /usr/src/ [14:23] Hello [14:23] nothing happens when i do control x tomreyn [14:23] mikubuntu: what are oyu seeing there now? [14:24] are you in the nano editor? [14:24] yes in the nano editor, just that string ending in plain64 [14:25] Hello, I use ubuntu 18, I had my battery level in the xfce bar, now it is diseabled I cannot found the way to make it avaible again. Any idea? [14:25] mikubuntu: press ctrl, hold it down, then tap x, then release ctrl. [14:25] (burning the planet should bee too long) [14:25] mikubuntu: what happens when you do this? [14:25] TJ-: the second one is modules [14:25] lemme try tomreyn [14:25] I think I understood readlink -f wrong though === msalvatore_ is now known as msalvatore [14:26] actually no because the second line say that the linix drivers are installed in /usr/lib/modules/ TJ- if I understood correctly? [14:26] aiena: *BUT* you built a custom kernel, so it's up to you where the modules get written to, this isn't an Ubuntu kernel image or headers package [14:27] TJ-: this one is the standard ubuntu kernel [14:27] my custom kernel is called 5.0.00-aiena [14:27] note the 5.0.0.20-generic in the name [14:27] nothing happens when i hold ctrl down, tap x, and release ctrl tomreyn [14:27] *5.0.0-aiena [14:28] mikubuntu: interesting, you must have some unusual keyboard configurations. [14:28] *5.0.0-20-generic [14:29] nothing i've ever changed tomreyn [14:29] TJ-: so this is an ubuntu kernel [14:29] under official package management from the canonical repo [14:29] (and I see you are talking about kernel, ubuntu does not supports wifi cards installed on actual hp laptops, such as rtl8723de. You must download it and compile it using dkms, but for that you need internet...) :) [14:29] aiena: ahh sorry, I missed that... not sure how I got confused! [14:29] mikubuntu: open another terminal window and enter this: sudo pgrep nano | xarg sudo ps | pastebinit [14:30] hello [14:31] cGIfl300: you could try in #xubuntu perhaps [14:31] lol, why not, nothing to loose [14:31] TJ-: I think for /lib/modules/drivers/* is the correct place though if I want to automate driver installation in my makefile. But I wanted to understand why those hierarchies are there. [14:32] How can i download a package with all its dependencies from a specific repo? [14:34] mikubuntu: are you working on it, yet? [14:34] tomreyn https://pastebin.ubuntu.com/p/59C4hCF5ZF/ [14:34] aiena: what does this report? "apt-cache policy linux-modules-5.0.0-20-generic" [14:35] mikubuntu: sorry, my bad, i had a typo there. run this: sudo pgrep nano | xargs sudo ps | pastebinit [14:35] * Indo365 [14:35] k lemme try [14:35] TJ-: https://paste.ubuntu.com/p/VkfTNd52N5/ [14:36] dcc send aiena virtex38.txt [14:36] Indo365: you missed the / [14:37] something went wrong there i think tomreyn :: sudo pgrep nano | xargs sudo ps | pastebinit[sudo] password for mikubuntu: /usr/bin/pastebinit:42: DeprecationWarning: dist() and linux_distribution() functions are deprecated in Python 3.5 release = platform.linux_distribution()[0].lower() [14:37] didn't really prompt me for password tomreyn [14:39] mikubuntu: If you have entered your sudo password within a recent amount of time, the session will not re-request the password [14:40] pragmaticenigma that must be what happened then -- so is that the expected output tomreyn? [14:40] mikubuntu: okay. just reboot, after reboot, run this: sudo sed -i 's/$/,size=512/' /etc/crypttab && sudo update-initramfs [14:41] TJ-: thanks for teaching me the apt-cache policy command [14:41] mikubuntu: then reboot again, then the message on the boot screen should be gone. [14:42] ok tomreyn i'm going to email that to my inbox so i won't lose it .. lol [14:42] whatever helps! [14:43] that were just a power managment service crash, nothing to do with x y or z buntu ;) [14:46] aiena: I've a 19.04 system here with 5.0.0-20-generic and those are NOT symlinks, they are directories [14:47] hi [14:47] TJ-: did you try with the "readlink -f" command [14:47] what does readlink -f say on your system? [14:48] TJ-: what does `readlink -f /lib/modules/$(uname -r)/modules/build` say on your system? [14:49] actually scrap that wrong command wait [14:50] TJ-: try this `readlink -f /lib/modules/$(uname -r)/build` what does it say on your system? [14:50] tomreyn https://pastebin.ubuntu.com/p/qDg9F5HmTM/ [14:51] Hello. Where can i find Ubuntu 18.04.2 LTS packages repo? [14:52] TJ-: ah its a Linus thing [14:52] mikubuntu: okay, now: pastebinit /etc/crypttab [14:52] omega_doom: what are you looking for [14:54] tomreyn, but i didn't execute any option -- no matter? [14:55] mikubuntu: yes, ignore the output. i noticed there was an issue. [14:56] (i had provided another imperfect command line, but we'll rectify this now.) [14:56] http://paste.ubuntu.com/p/fjs2CcBgFZ/ this what you're looking for tomreyn [14:58] mikubuntu: right. now: sudo update-initramfs -k all -u [14:58] oh, look tomreyn, the size=512 automagically appeared .. lol [15:00] mikubuntu: not entirely automatically. please tell me whether sudo update-initramfs -k all -u returned any wrnings or errors. you can copy and paste its output to the !pastebin if needed [15:00] !pastebin | mikubuntu [15:00] mikubuntu: 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. [15:01] tomreyn, still generating output, but so far: update-initramfs: Generating /boot/initrd.img-5.0.0-20-genericcryptsetup: WARNING: Resume target cryptswap1 uses a key file [15:02] whoops sorry [15:03] tomreyn https://pastebin.ubuntu.com/p/gWgydssmgT/ [15:04] aiena: ./build/ is always a sym-link to the *headers* as in => /usr/src/linux-headers-$VERSION [15:04] mikubuntu: reboot now, the warning message during boot should now be gone. [15:05] k thx lemme try tomreyn [15:05] yes it seems link ./linux is also a symlink I was wondering why absolute paths aren't used [15:06] I guess this is to provide a common interface while letting the distro choose wherever it wants to place the stuff [15:08] aiena: ha, I've solved it! It seems in 19.04 /lib became a symlink to /usr/lib which in previous versions it wasn't [15:09] interesting so previously ubuntu built kernels slightly differently [15:10] now it seems to follow the mainline kernel way more closely [15:10] or maybe it got changed in the mainline kernel [15:11] ji [15:11] ja [15:11] jao [15:12] u0_a135: can we help you? [15:17] TJ-: anyway now that I've figured out how to build custom modules without a custom kernel I'll just remove my kernel. [15:18] aiena: I've not found a changelog entry describing when/how that change was added [15:19] are you sure in older distros it was not a symlink? [15:19] I actually have an ubuntu 15 vm let me boot it and check [15:19] I am curious now [15:19] its a lubuntu one but for this it shouldn't matter I think [15:20] aiena: on 18.04 here, "ls -ld /lib [15:20] drwxr-xr-x 27 root root 4096 Apr 15 15:11 /l [15:21] aiena: hmmph, incomplete copy but you get the idea [15:21] TJ-: yes [15:21] but does -ld display symlinks? [15:21] never used the d flag [15:22] TJ-: the -ld is confusing [15:22] aiena: it's -l -d [15:23] yes still its confusing let me show you why [15:23] TJ-: see https://paste.ubuntu.com/p/ymywPCjprH/ [15:23] I think -l -d isn't a good command for symlinks [15:24] TJ-: yep `man ls` say -d stands for "directory" [15:24] but it behaves oddly sometimes resolving symlinks [15:25] its ls being funny or something [15:25] TJ-: technically readlink and the ls -l -d command should have given the same output [15:26] I think ls is a linux utility but readlink is for coreutils so Linux has masked this symlink out cleverly [15:26] aiena: no, -d means it doesn't list the *content* of the path you give, it reports *that* path. On 19.04 I see "ls -ld /lib" => 'lrwxrwxrwx ... /lib -> usr/lib" [15:27] TJ-: did you look carefully at my pastebin [15:27] also `man ls` says `-d, --directory` [15:27] aiena: what are you expecting me to see? [15:27] and `-l use a long listing format` [15:28] TJ-: the ls command does not show /lib/modules as being a symlink but readlink does [15:29] in both commands I used /lib/modules [15:29] if your /lib indicated a symlink with ls [15:29] why didnt /lib/modules? [15:30] Isn't there -f for symlimks? [15:30] raver hmm -f is there but because we want the canonical path [15:30] aiena: that's because "/lib/modules" is NOT a symlink! [15:31] TJ-: but readlink -f confirms it is [15:31] aiena: aiena "/lib" is a symlink, [15:31] aiena: no, it does not [15:31] Then use basename [15:31] see hte pastebin carefully [15:31] Or dirname [15:31] Command [15:31] aiena: no, read the man-page [15:31] whic [15:31] aiena: "readlink -f" *follows* all symlinks [15:31] which of ls or readlink? [15:31] ... Or find [15:32] TJ-: yes so try using "readlink -f" on a file in tyour home directory [15:32] it will follow it to the same path because those areusually not symlinks [15:32] how can anyone tell me how to take ownership of a drive. its an internal secondary drive that I can see but cannot create new files or add anything to but I can read from it [15:32] ln command is rarely used in the home directory TJ- [15:33] aiena: 'ls -ld /lib/modules" follows the symlink /lib -> /usr/lib/ and shows "/lib/modules" , "readlink -f reads /lib -> /usr/lib ->/ /usr/lib/modules [15:33] don't know if anyone can tell what i'm talking about, but my display seems to be off -- can you see how my bottom panel looks in this pic -- https://imgur.com/A6qO7SU [15:34] TJ-: you arent making sense one sec [15:34] and see how the resolution of my tabs don't look right either? https://imgur.com/a/xuJVOQA [15:34] TJ-: see https://paste.ubuntu.com/p/9JJTcjbmx3/ and contrast it with https://paste.ubuntu.com/p/ymywPCjprH/ [15:35] in the first one ls and readlink give the same output [15:35] remember /lib and /lib/modules are totally different dirs [15:35] in /lib's case both readlink -f and ls give the same o/p but why not for /lib/modules? [15:36] aiena: I don't see a prooblem there [15:36] mikubuntu: so i assume the boot screen warning is gone? [15:36] aiena: I already explained! [15:37] ok now I understood you [15:38] aiena: "/lib" is a sym-link, so whenever accessing something under that symlink the path can appear to be under /lib/ ... but readlink is there specifically to determine what the real path is, after resolving all symlinks [15:38] hi [15:38] TJ-: so ls -ld wont resolve all symlinks [15:39] tomreyn yes i thought i had told you but of course i was logged out after the last reboot -- i was hoping that whatever we did would fix my screen resolution/display problem but i guess totally unrelated [15:41] aiena: it depends on whether you ask it to look at "/lib" or "/lib/" - there is a subtle but important difference [15:42] mikubuntu: yes, totally unrelated. how long have you been using ubuntu on a regular basis, if i may ask? [15:42] how can anyone tell me how to take ownership of a drive. its an internal secondary drive that I can see but cannot create new files or add anything to but I can read from it [15:43] TJ-: Cannot find the subtle difference https://paste.ubuntu.com/p/HjPk6mbZtf/ [15:43] what am I missing [15:43] 7.04 tomreyn [15:43] aiena: you're not looking at the entry I mentioned "/lib" or "/lib/" not "/lib/modules" [15:44] I never knew ls could show symlinks [15:44] TJ-: hmm got you [15:44] mikubuntu: hmm, then i highly recommend you familiarize yourself a bit more with the !terminal and common commands there (such as the simple editors) - this will make it a lot easier for you and anyone assisting you in getting faster and easier results. [15:44] !terminal | mikubuntu [15:44] mikubuntu: The linux terminal or command-line interface is very powerful. In Unity or GNOME, search the dash for "terminal" and press ENTER. Other desktops: Applications -> System Tools -> Terminal (MATE), K-menu -> System -> Konsole (KDE), or Menu -> Accessories -> LXTerminal (LXDE). Guide: https://help.ubuntu.com/community/UsingTheTerminal [15:44] aiena: once you look *below* /lib/ at some child entry that's just the same as doing either "ls -l /lib/modules /usr/lib/modules" [15:44] nods [15:45] mikubuntu: i know it's a steep learning curve initially, but you also get fast and great results. [15:46] TJ-: so ls wont follow symlinks like readlink would [15:46] so you would never know something was a symlink unless you specifically pointed ls at it [15:47] aiena: yes, it follows them else it wouldn't work, but it doesn't report entries as being at the resolved target, it reports them as *under* the symlink [15:47] ah that is a good explanation [15:47] aiena: the entire point of *symbolic* links is to be able to give an alternate name to something else [15:48] nods [15:48] thanks [15:48] aiena: most of the devtmps (/dev/) is made up of symlinks, see e.g. "ls -l /dev/disk/by-*/*" [15:49] TJ-: but those symlinks are special in the sense the files are all virtual there is nothing stored on disk for those [15:49] aiena: also many of the nodes in sysfs are sym-links too, e.g. "ls -l /sys/class/input/" [15:49] aiena: they're all file-systems [15:51] TJ-: but /sys and /dev are created dynamically by the kernel or do they occupy disk space? [15:51] tomreyn i'm afraid it's hard to teach an old dog new tricks -- usually when i need help it's because something has gone wrong with an update or similar, and it's always something different, and usually i can go very long periods without needing any support at all -- so by the time i do have to come back, i've unfortunately forgotten most of what i [15:51] learned the year before. i only wish that computers would have been so ubiquitous in my youth that i would have learned all the stuff under the hood.a [15:51] so what happens when you put ubuntu to sleep. I used like 13% battery over-night [15:52] aiena: it makes no difference; they're all file-systems [15:52] Is there something that can hibernate the machine or such after a certain time? [15:52] ok [15:53] magic_ninja_work: most desktop enviroments have power-management settings that control suspend/hibernate timeouts etc [15:56] aiena: if you want to understand the VFS see http://www.tldp.org/LDP/khg/HyperNews/get/fs/vfstour.html [15:57] TJ-: interesting so there is a filesystem for even section in an elf linux binary [15:59] TJ-: is there a userspace app to tell which files are open on the system [15:59] because there is file_table.c VFSg Dynamically-extensible list of open files on the system. [16:00] ah lsof without args [16:00] so lsof uses file_table? [16:01] Hi. === Sven_vB_ is now known as Sven_vB [16:02] I have some important questions about the Bible here for you here today. Is it true that Jesus was resurrected on a Sunday? [16:03] TJ-, thanks I'll look into it [16:03] I heard I can check whether a disk is flash memory/SSD using /sys/block/sd*/queue/rotational . in my case it shows "1" for sdb, which is the USB thumb drive from which I booted the bionic live session. why? I sure hope it doesn't rotate. [16:03] how can anyone tell me how to take ownership of a drive. its an internal secondary drive that I can see but cannot create new files or add anything to but I can read from it [16:03] I never read about it much, I was too busy ripping pages out to roll joints with. Joints are better if they're written in the blood of Christ. === beaver is now known as evilnewbie [16:05] Ubuntu is not doing, Allah is doing. [16:06] Anastasius, try #bible [16:07] Sven_vB: Well I'm not sure about #bible, but I know I have a friend in #jesus. [16:07] lol do you have an Ububtu question? [16:07] Ubuntu [16:08] I actually do. How does it still exist when the IRC help channels are full of fascists? [16:08] !ops | Anastasius [16:08] Anastasius: 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 [16:08] exell, I assume you managed to mount the drive, right? How did you do that? [16:10] exell: you most likely mounted the drive as root and never gave your user permission to use the files [16:10] exell, could you paste the (hopefully just one) line of "mount"'s output that describes the drive? [16:11] @sven_vb it was automatically mounted by the os [16:11] Sven_vB: double-check /dev/sdb is the USB device :) "ls -l /sys/block/sdb" and the sym-linked path includes USB device nodes [16:11] you have 2 options 1) write as root -dangerous 2) change ownership of all files to an unpreviledged user 3) I think factl's would work too but not tested [16:12] @Sven_vB /dev/sda2 on /media/exell/D21232041231EDDB type fuseblk (ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2) [16:13] exell, the "ro" in (…) means it's mounted read-only. [16:13] I wonder about the fuseblk [16:13] also the user_id=0 means as root [16:13] exell: is that an NTFS ? [16:13] exell: is this on a thumb drive or external hard drive? [16:13] I've tried chown -R [16:13] Its in internal seconard ssd drive [16:14] exell: you need to remount the drive [16:14] exell, when the entire file system is write-protected, you can't even change owner or modes. [16:14] exell: try this [16:15] `umount /dev/sda && mount /dev/sda /mnt` [16:15] this will remount the drive in the mnt directory [16:15] then tell us the output of ount for /dev/sda2 again [16:15] @Tj- yes ntfs [16:15] exell: the /media/$USER/ path tells us it is automounted by udisks, and it uses a user-space file-system driver via FUSE, so I'm guessing its NTFS and the NTFS fuse driver has refused to mount it read-write, or the FS's unclean bit is set [16:16] TJ-: that is a good guess [16:16] exell: was windows running on this ssd before? [16:16] exell: you could try "sudo mount -o remount,rw /dev/sda2" [16:16] usually ntfs file systems are in a dirty state when windows wasnt shutdown properly [16:17] umount /dev/sda && mount /dev/sda /mnt [16:17] exell: oops [16:17] umount: /dev/sda: not mounted. [16:17] that will give an error [16:17] meant to draw an arrow there [16:17] TJ-, double-checked. "cat /sys/block/sdb/device/model" -> "USB DISK Pro" and "mount | grep cdrom" -> "/dev/sdb3 on /cdrom type vfat …" [16:18] Sven_vB, https://unix.stackexchange.com/questions/439109/set-usb-flash-drive-as-non-rotational-drive [16:18] exell: the command is 'umount /dev/sda2 && mount /dev/sda2 /mnt` [16:18] then do an ls /mnt [16:18] to confirm that the drive mounted right to /mnt [16:18] @aiena no, windows wasnt running but it was originally mounted from windows [16:18] if it mounted right we proceed [16:18] ioria, thanks! [16:18] ok [16:19] @arena umount: /dev/sda2: not mounted. [16:19] strange [16:19] exell: can you please pastebin the output of lsblk? [16:20] !paste [16:20] For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [16:21] aiena https://pastebin.com/twTg9d3A [16:22] hmm ok so technically /dev/nvme0n1p4 is your ssd not sda2 like I originally thought [16:22] exell: are you on a live linux distro? [16:23] aiena... my primary is the nvme ssd with multiple partitions. my secondary is an ssd with 1x partition (and a wierd 500mb) I am running a fully installed linux [16:24] but not ubuntu? [16:24] exell: can you paste the output of lsblk -f [16:25] it should show the fstype for all mounted drives [16:25] exell@exell-MS-7A63:/mnt$ uname -a [16:25] Linux exell-MS-7A63 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux [16:26] exell: also the 500MB weird partition is most likely an efi partition the /dev/sda1 one [16:26] dcc chat aiena [16:26] aiena https://pastebin.com/6SsYYusc [16:26] !pm | MRD365 [16:26] MRD365: Please ask your questions in the channel so that other people can help you, benefit from your questions and answers, and ensure that you're not getting bad advice. [16:27] MRD365: why are you DCCng me? [16:28] aiena.. was that anymore useful? [16:28] it was very useful just give me a sec [16:29] lets check the ntfs fs for that it should be unmounted so `umount /dev/nvme0n1p4` [16:29] would it be easier if I just wipe it and convert it to ext4? [16:29] lsblk should show that it's now unounted [16:30] exell: do you need the data? [16:30] ext4 is a better fs for linux but if you need the data backup and then wipe [16:30] ntfs is pretty stable on linux too at least I have hads no issue with it [16:30] I use ntfs as a fs to share windows and linux files [16:31] dump anything I want on it which I want accesible by both side of my dual boot [16:31] I use it for sharing between windows and linux partition but I very very rarely use windows [16:31] then you could shrink it if you want and keep it [16:31] anyway lets get back to what we wanted to do earlier [16:32] it is full, I can store to external drive and wipe to ext4 [16:32] yes that is an option too [16:32] did you unmount it? [16:33] umount /dev/nvme0n1p4 [16:33] aiena... partition 4 is my windows mount its the ssd └─sda2 ntfs D21232041231EDDB thats the issue [16:33] exell: I got an idea [16:33] is this a dual boot system [16:34] yeah. from nvme [16:34] that defintely explain the 500mb partition [16:34] that 500mb partition is the efi partition of your windows bootloader [16:35] your BIOS must be a UEFI bios and your most likely runnig win7 or 10 [16:35] exell: you should do an file-system check of /dev/sda2 [16:36] TJ-: lets confirm if the ntfs partition is dirty on the nvme in the first place [16:36] exell: see "man ntfsfix" [16:36] exell: did you unmount /dev/nvme0n1p4? [16:36] aiena: why are you on about the nvme? exell's issue is with /dev/sda2 [16:37] TJ-: aj I am sorry good catch [16:37] exell: just run 'ntfsck /dev/sda2' [16:37] what is the output? [16:37] if its not installed ubuntu will tell you what to install to get the command [16:38] the disk contains an unclena file system (0,0). refused to mount - FAILED [16:38] but its mounted, and I can see all the files and open them. I just cant write to the disc [16:38] wait [16:39] your lsblk output shows that /dev/sda2 is unmounted [16:39] so is the nvme ntfs partition the one you are having issues with? [16:39] is sda2 also complaining about being dirty? [16:40] I'm on a cli only vSphere VM and I am getting `kernel panic-not syncing: VFS: unable to mount root fs on unknown block(0,0)` [16:40] I tried to access grub menu by holding shift but did not work [16:40] aiena: from earlier ... "/media/exell/D21232041231EDDB" [16:41] TJ-: https://pastebin.com/6SsYYusc is from later and he says its still mounted [16:41] robertparkerx: to get to GRUB try *tapping* Esc key ... especially if its a UEFI boot because shift key doesn't work with UEFI [16:41] so I have to confirm as I am unclear myself [16:41] i'll be right back.. going to reboot the system === kostkon_ is now known as kostkon [16:41] aiena: no, that's not it, look at the pseudo-UUID, the problem read-only mount is D21232041231EDDB [16:42] TJ-: Yes there it was /dev/sda2 [16:42] from earlier: 17:12 @Sven_vB /dev/sda2 on /media/exell/D21232041231EDDB type fuseblk (ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2) [16:42] but later on post lsblk output he said 'but its mounted, and I can see all the files and open them. I just cant write to the disc' [16:42] TJ-, I wasn't able to get ESC to work either [16:42] TJ-, it's still on the same screen [16:42] in that lsblk output /dev/sda2 is not mounted [16:43] so he should see nothing TJ- [16:43] he never mentioned remounting it again TJ- [16:44] so the D21232041231EDDB doesnt exist inthe lsblk output so thats why I had my doubts [16:44] robertparkerx: hmmm, without gaining access to GRUB menu there's not a lot you can do since diagnosis will require forcing a drop to the initramfs shell [16:44] will removing a kernel module for a device cause the device to power down? [16:45] magic_ninja_work: usually no. How did you remove it and what is the module? [16:45] I got it! [16:46] actually magic_ninja_work removing a driver may cause a device to stop being understood by the system e.g. a wifi dongle may stop working if its driver is removed [16:46] aiena, well, powertop is reporting it using 5-6W of power, but I'm not using the interface. [16:47] I unloaded the module, and was just wondering if that would stop whatever is going on there. [16:48] hmm the device must be still drawing power from the system [16:48] I'm in emergency mode now, I was able to access grub and boot from an ealier kernel. How would I restart or complete the do-dist-upgrade process ? [16:48] Right, but I've nothing plugged into that port. I mean, I can manually load the module. I hardly ever use it. [16:49] robertparkerx, you shouldn't be doing dist-upgrade from emergency mode. You need to get your errors repaired first. Why are you in emergency mode? [16:49] magic_ninja_work, I didn [16:49] magic_ninja_work, I didn't realize I was going into emergency mode. I just chose an earlier kernel to boot. [16:49] robertparkerx: check "mount | grep '/ ' " check if / is mounted rw or ro (read-write or read-only) [16:50] robertparkerx: I'm presuming you selected one of the "Recovery" options in the Advanced sub-menu [16:50] magic_ninja_work: what is the it here? [16:50] aiena, my ethernet port (RJ-45) [16:51] for an ethernet port unloading/loading the driver will most likely make no difference [16:51] magic_ninja_work: is it connected via USB or on PCI? [16:51] unloading the driver may make the networking stack fail to read the internet packets from the card [16:51] but the card will still draw power [16:52] It is a laptop [16:52] so this port is inside the laptop right [16:52] so PCI [16:52] then it will draw power irrespective [16:53] it may be directly builtin to the motherboard too [16:53] magic_ninja_work: does it have a cable connected to a switch? [16:54] no [16:54] It isn't connected [16:54] aiena, no it is a card. [16:54] wait, the ethernet port is SoC [16:54] Sorry :( [16:56] magic_ninja_work: whar make/model of device is that, RasPi ? [16:56] this isn't on a pi [16:56] its an inspiron 7559 [16:58] hi [16:58] magic_ninja_work: 7559 is a System on Chip? [16:58] i am getting this error make: *** No rule to make target 'config'. Stop. [16:58] 7559 ethernet port is built into the motherboard, yes [16:58] when i type make config [16:58] The NIC isn't separate. [16:58] what could be the reason? [16:59] Blankspace, your soure code doesn't require make config to be run [16:59] magic_ninja_work: it'll be on PCI, do "lspci -nn -d ::0200" to list it [16:59] magic_ninja_work: in almost all laptops i've opened the enthernet port is on the mobo, only the wifi card is a PCI card [16:59] ethernet [17:00] aiena: they're all on PCI/PICe [17:00] TJ-: hmm true [17:00] aiena: the only difference is whether there are connectors for removable devices or soldered on [17:01] yes correct [17:01] if they are removable you can prevent them drawing power I think [17:02] can you preven them if their integrated into the motherboard? [17:03] there seems to be some confusion here. The ethernet port is built in and wifi is a card. [17:03] and this make: *** No rule to make target 'install'. Stop. [17:03] how do i install then [17:04] magic_ninja_work: makes no difference as to which bus the devices are on; on a PC they'll be on the PCI bus / PCIe complex [17:06] Blankspace: you'd have to ask the people that provided that source package [17:06] I don't know why I am going into emergency mode. I have selected an earlier kernel because of my error. [17:06] kernel panic-not syncing: VFS: unable to mount root fs on unknown block(0,0) [17:06] Blankspace: if you let us know what you are trying to compile maybe we can help [17:07] i downloaded irc bot [17:07] am i trying to install [17:07] I am* [17:07] Then you need to consult whoever made the bot as to why it won't compile. [17:07] ok which irc bot does it have a github page? [17:07] but don't know how to do. [17:08] eggdrop irc bot tar file. [17:08] Blankspace: sisnce this is not an Ubuntu question maybe you can PM me but I need atleast the link to the tar file [17:11] Anyone know how I can recover from trying to upgrade to 16.04 from 14.04 and it was interupted. Now I am getting a kernel panic. I am able to access grub menu now after powering down the VM. [17:11] robertparkerx: this message states that the root file system this boot configuration is set to boot from could not be found / used. [17:13] tomreyn, can I roll back what I did earlier in the week and try again? [17:14] i don't know your roll back / recovery / backup restoration options. by default, there are none, until you created them. [17:14] !part [17:14] sarcastico: it's: /part [17:15] robertparkerx: the best way is to boot into a live distro recover your files and reinstall the OS [17:15] are rules for apparmor packaged with apparmor or packaged with individual applications? [17:15] mdemo: both, but for what you must mean asking this question, the latter. [17:16] hrmm, ok [17:16] thanks [17:16] tomreyn, can I repair what was not finished? [17:17] robertparkerx: i don't know, lack details. normally the best time to recover a failed release upgrade is *before* you reboot. you may be able to chroot into the existing on-disk installation from a 16.04 live iso and complete the upgrade from there. the much easier option is a reinstall, though. [17:18] that is, unless oyu did it before [17:18] Well, I'll leave the power thing for now. I'm still getting okay battery life. [17:18] I'll move on to the suspend issue and start looking for a solution to that. Then on to hybrid graphics. Gotta get this figured out by monday. Need my laptop. [17:19] Gotta say though, for getting drenched with 50-60 gallons of water when a 6" main water line burst, it is still going strong. [17:20] mikubuntu: i see how this makes is feel a lot harder to 'dig under the hood'. i don't think it really is, if you have a bit of determination. but without motivation, it's certainly hard (and i understand the lack for motivation if you're not convinced you can gather something that lasts).. [17:22] /join #BRLINK [17:23] sarcastico: do you need any assistence there? [17:24] robertparkerx: you say this is a vmware vsphere VM you did the upgrade on. i'm not very much into vmware but i suspect it provides a snapshotting feature and you probably created a snapshot before you started the upgrade? [17:25] I didn't have access to it before :( [17:25] They're on vacation so it cannot be restored yet [17:25] I was told to try and do it myself [17:26] hmm, i guess we can summarize it as: you tried, it failed. ;-) [17:26] you can access the data is needed, but if there's a chance to restore a snapshot or backups easily, that's probably the right time to do so. [17:26] Well it was interupted is why it failed [17:27] *iF needed [17:27] They were doing hardware upgrades [17:27] It happened to go down [17:27] oh so you actually have a good explanation, cool. [17:27] i mean it'll be easy to explain why things failed then. [17:27] I don't know why I cannot get it to boot into normal mode with the older kernel [17:28] robertparkerx: lots of things can go wrong during a dist upgrade [17:28] I had dist upgraded before my ubuntu was broken in som many subtle ways I just started fresh again [17:29] *so [17:30] robertparkerx: because some userspace packages haven't upgraded that are relied on [17:36] robertparkerx: the most common reason release upgrades fail is really packages (or, worse, different package versions for packages also available in ubuntu) from 3rd party repositories, since this means an untested upgrade path. (second most often is maybe very uncommon but invasive configurations, i'd say.) [17:44] robertparkerx: either way usually dist-upgrades are never clean its usually better to do a fresh install because you tend to inevitably run it problems somewhere in the middle [17:48] aiena agreed [17:49] d-r-u's are fine as long as you prepare and don't treat it like "apt upgrade" [17:50] yes, they almost always work fine if you clean up beforehand. [17:50] unfortunately there's not enough guidance on that. [17:52] tomreyn: I wasn't think so much about beforehand, but more about handling config file changes/diffs as they are reported, and taking time to investigate each thoroughly [17:53] let's move to #ubuntu-discuss [17:53] tomreyn: I would always suggest taking a file-system snapshot before starting too [17:56] can someone ping me [17:56] I want to try new theme [17:56] magic_ninja_work: [17:56] magic_ninja_work: [17:56] kk, loosk good, thanks guys [17:56] no [17:56] np [17:56] Why anyone would put dark blue and deep maroon on black I'll never know. [17:57] Okay, last thing I need to deal with is graphics switching. [17:57] I run some intensive apps in a VM and need it to use the dedicated GPU. [17:57] magic_ninja_work: please focus on ubuntu issues here [17:57] I don't game or anything on this computer, so integrated graphics should be fine for most use-case. [17:57] !discuss | magic_ninja_work if you like [17:57] magic_ninja_work if you like: 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! [17:58] lotuspsychje, is GPU switching not a part of ubuntu? [17:58] does that not concern the OS? [17:58] magic_ninja_work: lets discuss it in #ubuntu-discuss [18:08] Can I complete do-dist-upgrade from emergency mode? [18:08] tomreyn: I think my hung Ubuntu 19.04 live iso session that was holding my badblocks operation up was because of out of memory situation when I had loaded anydesk on gui along with a lot of tabs on Firefox (irc chat windows + pi-hole query logs) [18:08] I was able to do dpkg and it successfully repaired all packages except mysql-5.7 [18:09] tomreyn: though I did get to the logon prompt on tty3 it timed out within 60 seconds after entering the username. I couldn't send the blank password to login within 60 seconds [18:10] So I had to kill the session and hope for no data loss === LabMonkey is now known as Mechanismus [18:18] cyberpolice: live iso generally consumes a good amount of ram, since anything that's written to disk (e.g. apt installations, updates) is actually stored in ram. and once ram runs full, there's no storage left, and allt he kernel can then do is to try to re-stabilize - which is difficult, if there are any new write requests (and there will be, if just logs). [18:19] This is why I was having that mega lag switching tty's then isn't it [18:19] tomreyn, I'm showing 16.04 was installed completely. [18:19] I couldn't get to a tty to kill off Firefox [18:21] cyberpolice: most likely, yes [18:21] robertparkerx: congratulations. [18:22] tomreyn, I'm just having the problem with the kernel and it not booting into emergency mode [18:22] Next time I'll be mindful of this! [18:23] just like yama! [18:28] robertparkerx: i'm not certain you did, but in case you completed the installation from emergency mode (against what was stated here should be done), there's a high chance that this made things worse, effectively unrecoverable now. [18:29] I didn't [18:29] booted from a liveUSB. can't seem to get LVM to do its thing. and i've no idea how to proceed. any advice? [18:29] phew :) [18:29] i installed mdadm, started my raid, unlocked my LUKS container... usually all the LV's just populate after that [18:30] robertparkerx: so it booted up fully and then you ran dpkg --configure -a or something? [18:30] I was in emergency mode and ran that [18:30] only error was mysql server === BrianG61UK_ is now known as BrianG61UK [18:30] I am trying to fix that now [18:30] also a liveUSB with no irc client to come in here seems silly. but i guess saves on space [18:32] robertparkerx: well running dpkg --configure -a in recovery while not all file systems are mounted in the right places basically would have caused problems :-/ [18:32] Gallomimia: https://mibbit.com/ [18:33] also https://webchat.freenode.net [18:33] true. and i guess if i'm connecting to the internet to get on IRC, i can download whatever irc client i want [18:33] not important... how do i get LVM to start doing its thing? it usually does it with no prompting from me [18:34] What do you mean "get lvm to do its thing" [18:34] lvchange -a y VGNAME [18:35] i mean, as soon as i unlock the luks container it's in, it usually populates with all the LV's and lets me mount them manually from Disks [18:35] but not today. and i don't know why [18:35] maybe also lvmdiskscan / pvscan [18:36] volume group not found.... [18:36] does pvs show the PV(s), yet? [18:36] empty output [18:36] lvmdiskscan does show a pv where i expect it [18:37] pvs still empty? [18:37] its at /dev/mapper/hydra FYI [18:37] but pvs gives no output [18:37] hmm, i had this before, but forgot what it was [18:37] udev or something [18:37] i can probably say the same [18:37] oh... yeah that seems familiar [18:37] Oh, what was it? vgchange? [18:38] at this point i'd like to mention that this setup runs extremely well, encrypted and raided. it just fails very very badly [18:38] udev sounds right. it's been years [18:38] I went through this once. I didn't have luks, though. You may have to manually expose the lvms. [18:39] any encrypted system can fail pretty badly and lvm on multiple disks can be a real challenge when one drive goes down [18:39] someone from this channel suggested this setup. i've learned a lot by doing this, but spent a fortune in headache medicine [18:39] It was like "apt install lvm2" , then vgchange to actually expose the lvm. [18:39] that command gives "already latest version" [18:39] Gallomimia: I avoid lvm but some people love it [18:39] to each his own [18:40] LVM is actually really useful. but usually much later when you start to run into issues [18:40] ubuntu server likes to default to LVM [18:40] Gallomimia: how so? [18:40] as an example, when i upgraded from 14.04 to 16.04mate all i did was create a new LV called xerus and install there [18:40] kept all my old stuff set up the same [18:41] ahso its not an upgrade per se [18:41] doing things like backups, reinstalls, yeah [18:41] its a fresh install so you got a triple boot [18:41] right [18:41] or dual boot [18:42] previous experience has steered me away from doing a release upgrade [18:42] haha [18:42] I've given up on it [18:42] can you guys focus on actual support now [18:42] the amount I mod my distro during its lifetime a fresh install is good [18:43] lotuspsychje: there isnt a support question so we are not troubling anyone [18:43] yeah. the discussion police are here to stop us from bonding. [18:43] yes there are support questions [18:43] Gallomimia, I was on an ubuntu live cd yesterday and I had to install the lvm2 package on the live cd. I suspect this may be a part of your problem. Just something to keep in mind. So you install the lvm2 package, do vgscan, then vgchange -ay and that should expose the volumes for you. [18:44] i did try that. it said it was installed. i figured it would be missing as well. mdadm was missing [18:44] And you did the vgscan and vgchange -ay ? [18:44] vgchange -ay gives no output [18:45] did you run as sudo? [18:45] vgscan then vgchange -ay similar no results [18:45] yes of course [18:45] Now try fdisk -l and see if they show up [18:45] no :/ [18:46] Well, sorry, I tried :( [18:46] yes thanks [18:46] strange this === nshire is now known as r0za [18:46] Disks app and gparted both see the PV and report it is a PV for LVM2 [18:46] Probably has to do with luks [18:47] like i said, usually when i unlock the luks drive it just magically works === r0za is now known as nshire [18:47] But you are on live so it doesn't work for some reason? [18:47] my standard setup has the luks drive unlocked during boot [18:48] but for now i have ubuntu 19.04 installed on a separate, bare metal drive, and unlock it after logging in [18:48] this is what i'm trying to fix. put the root fs on a new LV. put the home folder in the home LV. put the /boot folder on an unencrypted section of the main drive [18:49] figured i would need to do it from a liveUSB or risk the wrath. even copying my home dir caused weird errors because files, like hexchat logs, were open [18:50] magic_ninja_work it usually opens fine on a liveUSB. i've managed to mount my steam LV and play games while booted from a USB [18:50] i wonder... if i install ubuntu on another USB stick. an actual install, not the live image [18:50] I thought the purpose of LVM was to avoid having a ton of partitions. [18:50] I'm just going to say, that if you are going to have that many separate LVM's, you should probably just use normal partitions. [18:51] eventually i want to use dm-cache to map in some SSD's and make it go hyperspeed [18:51] That makes sense. [18:52] that notion has gotten really complicated since i first had the idea given to me. LVM has implemented it, some kernel module as well, and device-mapper [18:52] what can I do to fix the emergency mode error from an earlier kernel and the kernel panic error from the newwer kernel from emergency mode? [18:52] The purpose of LVM is to enabled many, flexible, block devices [18:53] I was upgrading from 14.04 to 16.04 and the upgrade was interuppted [18:53] oh no! [18:53] robertparkerx: did you see my earlier question as to whether, in old kernel/emergency mode, the root file-system is read-only or read-write ? [18:53] Oh no [18:53] I didn't [18:54] How do I check ? [18:54] robertparkerx: well, the reason for checking is, if the root file-system is read-write you should be able to use tools to recover the situation [18:54] robertparkerx: "mount | grep '/ ' " [18:54] give me a second this system is swedish layout and I don't have that keyboard [18:55] robertparkerx: eeek! [18:55] what would a local user be called in ubuntu? i.e. when there are failed login attempts coming from the keyboard, not coming in over ssh [18:55] nshire: console? tty? [18:58] ill just try it right now and look at auth.log [18:59] TJ-, I cannot find | kkey :s [18:59] pam_unix(gdm-password:auth): authentication failure [19:03] robertparkerx: hmmm, ok, use your eyes to find the / dir in "mount" output then [19:05] Hey, so i got this Acer laptop up all day, and now when i checked it, the Wifi was disconnected and wouldn't display any network to connect on, i tried turnning wifi off/on, no changes, so i had to reboot and it's back to normal, this is Ubuntu 18.04 and Wifi is 02:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31) - could it be some bugged powersaving settings or something? [19:06] how to determine the proper device type for smartctl, or how can I get health data otherwise? using bionic. "smartctl 6.6 2016-05-31 r4324 […] /dev/mmcblk1: Unable to detect device type¶ Please specify device type with the -d option." [19:07] akem__: system up to date? [19:07] I tried device types "ata" and "scsi", both were incompatible. [19:08] Sven_vB: most MMC devices don't support SMART [19:08] akem__: I've seen that and usually unloading/reloading the kernel module works around it... not sure if it is a power-management issue or something else though [19:09] then how can I get a health report for /dev/mmcblk1? [19:09] Sven_vB: possibly you cannot. What is attached to it, an SD/MMC flash device? [19:10] lotuspsychje, freshly installed. [19:10] TJ-, it should be a SSD [19:10] TJ-, I see, i'll try that next time, thanks. [19:10] Sven_vB: that doesn't sound right to me... do you mean an EMMC device? [19:11] TJ-, I'm not sure. I'll see if udisks can tell me the manufacturer and model [19:12] Sven_vB: should be able to get that from sysfs too with "grep . /sys/block/mmcblk*/device/{vendor,model}" [19:13] TJ-, "No such file or directory" for both [19:13] udisks doesn't know either [19:13] Sven_vB: hmmmph, not helping us is it? [19:13] I could boot windows and ask it [19:13] Sven_vB: I *think* one of the 9 laptops here has a real MMC let me search [19:14] TJ-, that's strange though because that chip is contained into some dells' Ubuntu certified systems. [19:14] TJ-, /dev/sda1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered) [19:15] robertparkerx: so it is read-write ("rw") so you might be able to make progress. Try "apt -f install" [19:15] akem__: never a total guarantee, could be a side effect of - for example - laptop pwoer-saving measures [19:16] ls /sys/block/ [19:16] oops! [19:16] TJ-, I see. [19:16] TJ-, /sys/block/mmcblk1/device/name says "CWBC3R", and Samsung has an SSD with that product name. [19:16] TJ-, there were error [19:20] TJ-, https://d.pr/i/ev0yav [19:21] Sven_vB: that sounds about correct then... but I don't know how you'll get health data on that [19:22] robertparkerx: ok, that makes sense, mysql upgrade got interrupted I'd guess. Let me see if I can figure out how to safely fix that [19:23] TJ-, I tried to backup all my.cnf [19:24] if you have backups, you can purge and reinstall [19:24] I tried to purge from apt I think [19:24] robertparkerx: the ".../etc/my.cnf ...already managed by .." suggests the update-alternatives for that has been moved [19:24] and ? [19:25] TJ- I backed up those [19:26] ioria, It didn't seem to makke a difference [19:26] robertparkerx: you changed/added an update-alternatives entry "my.cnf.bak" ? [19:26] Yes [19:27] robertparkerx: OK, so you'd have to undo that then because that is preventing mysql's replacement being completed [19:27] I backed up the my.cnf [19:28] Ah okay [19:30] TJ-, try again now? [19:30] I changed it back [19:31] Found label on /dev/mapper/hydra, sector 1, type=LVM2 001 [19:31] Found text metadata area: offset=4096, size=1044480 [19:32] .... what does that even mean? [19:36] TJ-, I got this now https://d.pr/i/oV2V4J [19:38] robertparkerx, we go the hard way ? sudo mv /var/lib/dpkg/info/mysql* /tmp [19:39] uh, don't you want to add a trailing slash to that command? [19:40] robertparkerx, then apt purge mysql-server mysql-server-5.7 [19:40] robertparkerx: you can narrow it down by checking the script that is being executed by dpkg [19:40] robertparkerx: or you can delete the packages and reinstall... but if there's an existing mysql config there make sure its backed up somewhere safe [19:44] I backed up all my.cnf [19:44] WHOA. what did i do? suddenly the magic of LVM is happening [19:44] the "activate" command in gparted made everything light up [19:45] Gallomimia: thats the same as what on boot "vgchange -ay" does [19:45] Gallomimia: activates all LVs in discovered VGs [19:45] yeah and i either didn't see it before or it wasn't available [19:46] Gallomimia: if you're working with encrypted devices and they weren't unlocked before gparted started, I could imagine it not adding the activate option to menus [19:46] ioria, I purged them [19:47] hafta go do some RL stuff. hopefully nothing blows up by the time i get back [19:47] robertparkerx, and ? what about --fix nw ? [19:47] *now [19:47] ? [19:47] I am installing Ubuntu 18.04 lts on Windows 8.1 Toshiba with i3, model from 2012, from USB through USB 3.0 port. How long will the installation take? === im0nde_ is now known as im0nde [19:48] robertparkerx, apt -f install [19:48] ioria, https://d.pr/i/3ZZdSJ [19:48] memoserv [19:49] robertparkerx, it'ok (apart some ppa in /etc/sources.list.d) [19:49] sorry was supposed to put the second msg in status tab [19:49] I need mysql server back though [19:50] robertparkerx, i suggest you remove that [19:50] robertparkerx, reinstall [19:50] sudo apt install mysql-server ? [19:50] Blue0Tech: are you going to dualboot? [19:50] robertparkerx, yes, please read above [19:51] yes, I am [19:51] !dualboot | Blue0Tech [19:51] Blue0Tech: Dual boot instructions: x86/AMD64: https://help.ubuntu.com/community/DualBoot/Windows - Macs: https://help.ubuntu.com/community/MacBookPro https://help.ubuntu.com/community/YabootConfigurationForMacintoshPowerPCsDualBoot [19:51] ioria, I still get error https://d.pr/i/QeNKjT [19:52] robertparkerx, no idea then, sy [19:52] thank you for instructions, [19:52] robertparkerx: collect some helpful info: "export DEBIAN_SCRIPT_DEBUG=1; dpkg --configure mysql-server-5.7" [19:54] Blue0Tech: the install speed depends on several things, like harddisk/ssd and partition preparation, etc [19:54] OK [19:56] TJ-, https://d.pr/i/x135CD [19:56] robertparkerx: you recall what kind of ppa's you added to system? [19:57] robertparkerx: grrr, you got caught by the same issue with my.cnf.bak again! [19:57] I didn't add any. tomreyn helped me upgrade the sourcelist [19:57] I think they were from the default list [19:57] sources.list.d gives invalid filename there [19:57] Yes its the backup [19:58] lotuspsychje: that's irrelevant; it's just reporting the ignored file [20:05] TJ-, I removed the my.cnf.bak -- https://d.pr/i/BcT5fX [20:05] Anyone here able to use OpenCL on their AMD GPU/APU ? [20:06] thanks lotuspsychje [20:07] Blue0Tech: did you work it out? [20:07] i am finding the model and specs online [20:09] lotuspsychje: any insight on that ? [20:10] I know that it has a 1TB HDD, 8GB RAM, 8 cores and an i3 processor, it is x64 [20:10] WoC: patient a bit, volunteers might have ideas, im off for today [20:10] A toshiba that came with Windows 8 (now 8.1) [20:11] k thnx [20:13] is it strange that the hibernate package was not included in my install? [20:15] robertparkerx: so, there's some updates to tables being attempted, and they're failing in the run_init_sql() function of /var/lib/dpkg/info/mysql-server-5.7.postinst shell script [20:16] robertparkerx: this is the script: https://git.launchpad.net/ubuntu/+source/mysql-5.7/tree/debian/mysql-server-5.7.postinst?h=ubuntu/xenial [20:17] robertparkerx: and that is being called from line 273 [20:20] Will be back later [20:20] Will be back later [20:20] robertparkerx: and, from the comments in the code leading up to line 273, it seems to be caused by a 'pugin' already installed [20:23] robertparkerx: what does "dpkg -S /usr/lib/mysql/plugin/auth_socket.so" report ? [20:25] TJ-, https://d.pr/i/vHeepj [20:27] robertparkerx: From the code comments I think the installed database files already have that plugin listed as installed, so when it tries to " INSTALL PLUGIN auth_socket SONAME 'auth_socket.so'; " it fails [20:29] TJ-, can I clear it? [20:29] Not the database but maybe those tables? [20:30] robertparkerx: I'm working on a ...workaround [20:35] robertparkerx: try this to uninstall the plugin before it is installed again. sed -i '/auth_socket.so/i\\techo "UNINSTALL PLUGIN auth_socket;" >> "$initfile" ' /var/lib/dpkg/info/mysql-server-5.7.postinst [20:36] robertparkerx: make sure you've cleared that my.cnf.bak issue again, then rerun "export DEBIAN_SCRIPT_DEBUG=1; dpkg --configure mysql-server-5.7" [20:37] I'm trying to find single quotes on this swedish server [20:37] lol [20:37] heh [20:41] robertparkerx: press and hold Ctrl + Shift + U, release U (keep holding Ctrl + Shift) then press 1 then B then release keys (this is how to enter UTF-8 hex codes) [20:42] robertparkerx: 0x1B = 27 = apostrophe ' [20:52] I'm sorry. I found the single quote but cannot find forward slash. This VM doesn't allow me to copy&paste and doesn't seem like I can use hex codes. [20:53] [20:53] robertparkerx: you certainly seem to be hobbled! [20:53] robertparkerx: strange that you cannot copy/paste though [20:54] robertparkerx: what kind of interface are you using to get to the VM console? [20:54] web brrowser, vSphere [20:54] oh... not touched that but seems weird if it cannot paste [20:55] robertparkerx: according to this it is possible to enable copy/paste https://pubs.vmware.com/vsphere-4-esx-vcenter/index.jsp?topic=/com.vmware.vsphere.server_configclassic.doc_41/esx_server_config/security_deployments_and_recommendations/t_enable_copy_and_paste_operations_between_the_guest_operating_system_and_remote_console.html [20:55] I tried to configurate it but I don't see where I enable or set [20:55] wait I'll show you [20:56] https://d.pr/i/qphJMI [20:56] It says you CAN modify or add but I don't see where [20:57] robertparkerx: have you tried to get the network up manually so you can ssh in? [20:58] I will have to remove mysql like I did before [20:58] I think [20:58] I think it will boot in default mode if I remove it [20:58] Right now emergency is all I can get into [21:01] robertparkerx: you can use the ip tools to manually add an IP address, so if the ssh server is working, you can access it from the host or elsewhere [21:01] Like the IP its assigned? [21:04] robertparkerx: yes, if you know the subnet it is supposed to be in, or the usual IPv4 address it gets, you possibly can do "DEV=eth0; IP4=192.168.3.5; ip link set $DEV up; ip add add $IP4/24 dev $DEV" where you set those variables appropriately for your network [21:08] TJ-, even with MySQL purge it still boots into emergency mode [21:08] robertparkerx: mysql isn't causing the boot issue [21:08] robertparkerx: those are both symptoms of an incomplete distribution-upgrade [21:08] robertparkerx: sorry, release-upgrade [21:09] How can I fix it? [21:09] robertparkerx: work through each issue. If you've removed/purged mysql-server-5.7 then redo the "apt -f install" to fix further issues [21:10] robertparkerx: repeat, fixing each issue you find, until that command returns without reporting problems [21:10] It seems like there is nothing more to upgrade [21:10] TJ-, https://d.pr/i/NKs353 [21:13] robertparkerx: so now you would ensure that the latest kernel is configured fully with "update-initramfs -u -k all" and "update-grub" [21:14] I did that. [21:16] robertparkerx: in which case, there's a good chance it should boot correctly [21:18] This time it boot from the newest kernel but still in `emergency mode` [21:19] robertparkerx: have you set it to boot in that mode? check "cat /proc/cmdline" [21:21] BOOT_IMAGE=?boot?vmlinuz-4.4.0-154-generic root=UUID=427d8165-124f-42b0-bcc5-8d95dea0d302 ro [21:21] BOOT_IMAGE=/boot/vmlinuz-4.4.0-154-generic root=UUID=427d8165-124f-42b0-bcc5-8d95dea0d302 ro [21:22] robertparkerx: so nothing there, so some systemd service must be failing causing it to drop to emergency mode. It should report why it is dropping into emergency mode [21:23] TJ-, this is all that failed https://d.pr/i/xrt5MB [21:24] robertparkerx: errr, that's a pretty major 'all' "/var/log/" failed to mount [21:24] robertparkerx: use the command it suggests to check the status and last meesages from it [21:25] robertparkerx: "systemctl status var-log.mount" [21:27] TJ-, https://d.pr/i/ZnthAr [21:27] BTW thank you [21:29] Hello [21:29] https://d.pr/i/Xk9Anh [21:31] [Eli], Drone [21:33] robertparkerx: so there is your error. /var/log is a sym-link, which is not allowed [21:34] robertparkerx: so I'm assuming 2 problems there 1) there's a separate file-system for logs that is set to mount at /var/log/ and yet /var/log/ itself is a symlink not a directory [21:34] robertparkerx: I cannot begin to imagine what is going on there for that to be a symlink *and* there is a separate file-system [21:43] TJ-, is there an easy way to restore it? [21:44] robertparkerx: not knowing why it is like that, I cannot say [21:44] robertparkerx: check where the sym-link points to [21:44] . /mnt/sdb1/log [21:45] robertparkerx: that's such a weird configuration, not clear what it is trying to achieve [21:46] robertparkerx: but, that's the core of your problems so if you solve that the emergency console shouldn't be triggered [21:48] What can I do after to fix the mysql issue? SSH into the console and issue those commands you told me arlier? [21:48] -- to remove the plugin [21:48] sed -i '/auth_socket.so/i\\techo "UNINSTALL PLUGIN auth_socket;" >> "$initfile" ' /var/lib/dpkg/info/mysql-server-5.7.postinst [21:53] robertparkerx: yes [21:56] Thank you so much TJ- [22:12] TJ-, should I do this before I install mysql-server ? [22:21] I can't seem to mount my smart phone like I use to be able to. [22:22] Hi [22:23] robertparkerx: that depends! the file won't exist if mysql-server-5.7 has been purged/removed. The other workaround I forgot to mention is, that code only kicks in if there is currently no password set for the mysql root user, so if you set one, that code won't be run [22:37] i am back [22:39] Hi Blue0Tech [22:40] Are you looking for help? [22:43] yes [22:44] I am installing ubuntu 18.04 lts [22:44] on x64 [22:44] toshiba, originally running windows 8.1 [22:45] Okay. How is the install? [22:45] sorry, windows 8 updated to 8.1 [22:45] the install, how long will it take? [22:46] 8GB RAM, 1TB HDD [22:46] 8GB RAM, 1TB HDD [22:46] i3 processor [22:46] i3 processor [22:46] Depends on your disk size. And also on your Internet speed, if you're not using an install dvd. [22:47] For it it was less than half an hour, but I have a slow Internet link. [22:47] i am installing with disk image on 1TB USB connected with USB 3.0 [22:47] How is it going so far? And what does it say? [22:47] OK, the slow speed must be bcos of old PC [22:48] i will see [22:48] I have this error that is causing ubuntu 16.04 to boot into emergency mode https://d.pr/i/driC4f . I am wondering how I can remove the symlink and restore it back to normal. [22:50] it still shows beaver background like it has for past 3 hrs, but is responsive [22:51] i selected install ubuntu, and i wish to select dual boot, but that option hasn't come yet [22:58] Blue0Tech, does it tell you what it is doing? [23:00] no [23:11] I have this error that is causing ubuntu 16.04 to boot into emergency mode https://d.pr/i/driC4f . I am wondering how I can remove the symlink and restore /var/log back to default. [23:15] robertparkerx: do you know what caused this? [23:29] sveta, I was upgrading ubuntu from 14.04 to 16.04. It was interuppted. I've since been trying to fix my way back. This is one of the last error on the list. [23:31] Sveta ^ [23:31] robertparkerx: where does it link to? [23:32] . /mnt/sdb1/log [23:33] robertparkerx: /var/log -> /mnt/sdb1/log ? [23:34] I think yes [23:34] can you please check? take a look at 'ls -la /var/log' [23:34] or 'ls -lad /var/log' [23:35] That's right [23:35] if it is indeed a symlink, I guess the correct command for removing the symlink is "unlink /var/log" [23:35] and it will go back to default/normal ? [23:36] after you unlink it, /var/log will no longer exist, but /mnt/sdb1/log will [23:36] robertparkerx, I think you'd be better off keeping the symlink and removing the /var/log entry from /etc/fstab. [23:37] rfm_, how do I do that? [23:39] robertparkerx, I'm speculating that since one of the things that changed between 14.04 and 16.04 was systemd, what was happening before was the mount was failing but it didn't stop the boot. So not doing the mount will get you closest to what whas happening before. [23:40] robertparkerx, edit /etc/fstab (sith sudo and your favorite text editor) find the line for /var/log, delete it. [23:41] robertparkerx, it is possible you won't need sudo since "emergency mode" is probably a root shwll (single user mode) [23:42] Okkay it was a long line but I removed it [23:44] Okay that is fixed but it still boots into emergency mode [23:44] The only error is this https://d.pr/i/W5zohx [23:46] Sup gang [23:46] This is the output of command it says : https://d.pr/i/Glgwho === rfm_ is now known as rfm [23:47] Is it normal for upgrading distro version for it to not update the initramfs and cause kernel panics? first time ever doing it and couldnt figure it out for a while lol. had to reboot in a different kernel version and then update it [23:48] Biessie, I had too also [23:48] to* [23:48] i am afraid i don't know, because i never upgrade a distro. clean install only [23:48] robertparkerx : wonder what causes that [23:50] i do get this now though -https://pastebin.com/jpr52wzt [23:52] robertparkerx, so it probably renamed the network interfaces (to the new location-dependent names.) Use command "ip link" which will list the (new) interface names. (ignore the "lo" line, that's loopback.) It will be something like "eno1" or "enp8s2" (the numbers might differ) Edit /etc/network/interfaces and change "eth1" to the new name. (it will probably appear twice) [23:52] hello [23:52] I just bought a memory card reader [23:53] cool [23:53] when I plug it in...I hear a sound but I can't seem to find it (it has a card in there) [23:53] maybe you could see it in the Disks app? [23:53] anyone else have the same problem or know what to do? [23:53] Gallomimia, I'll check [23:53] should i just run sudo apt-get remove cryptsetup-initramfs ? [23:53] it should mount on its own inside /media/yourusername/ [23:54] rfm, I got this https://d.pr/i/QF78Sy [23:54] so eth0 [23:54] biessie that's a mostly useless warning [23:54] it's really meant to alert you incase you installed crypto and thought you were using it, but something's not set up right [23:55] ahh okay [23:55] you don't NEED to remove the package. you probably can, unless you're using an encyrpted root fs [23:56] as an example i see it quite a lot, but that's because i need to get it set up right [23:56] which i'm trying to do right now [23:56] rfm, this is what I find in /etc/network/interfaces https://d.pr/i/gCIRDN [23:57] rfm, do I just remove eth1 ? [23:57] robertparkerx, is this a virtual machine? It looks like it used to have a second network interface which has disappeared. [23:57] Yes [23:59] filifunky, where did you go? [23:59] robertparkerx, so how did the second network interface disappear? a ubuntu upgrade wouldn't (couldn't) do that. [23:59] I don't kknow. I didn't do anything else but that.