[00:22] what is the best way to flip from gnome to xfce? [00:23] besides apt-get install xfce? [00:24] donofrio: "best" in my opinion when all is said and done: dual boot. [00:25] do you want to keep gnome around though? [00:25] I dunno am I getting more hardware accel with it ? https://paste.ubuntu.com/p/9Qf7NnYT7P/ [00:25] its a cr-48 ;) [00:26] first boot was like a doublerainbow lol but then I'm like I want xfce4 (I think) [00:28] it can happen that lots of packages which are needed by xfce are still marked as installed by gnome, then one day to save space you remove some important gnome stuff, then another time an innocent apt-get autoremove and all those important crossover packages can disappear [00:32] i do autoremove all the time [00:33] i think xfce will work better on that machine [00:34] the graphics driver and openGL will be the same [00:34] how do I fix this.....onboard wifi is junk or something - perhaps fw I don't think so, I've got usb nub that works great when not slowed down by these https://paste.ubuntu.com/p/cbG7FJn386/ [00:34] agreed [00:35] maybe there are some fancy transitions/actions/animations in gnome that you might miss [00:35] RTL8188CUS [00:35] think i had one of these on a usb nobble wifi, it was a pain but worked in the end [00:36] this I believe ? sudo apt install xubuntu-desktop [00:36] oh wait that is your external, sorry [00:36] the wifi works great [00:36] just need to disable builtin (somehow) [00:47] imma going with lightdm [00:48] got a feeling next command will be 'sudo apt remove gnome-desktop -y' ;) [00:48] or is it unity-desktop [00:56] how can i turn off the system in this situation? https://i.imgur.com/LBFYGuc.png [00:58] is there some way to send a SIGKILL to mariadb? [00:59] hans_: there's a chance ^C will end that wait.. it's been a while since I've seen it though, maybe i"m wrong [00:59] nope, sent a bunch of those, did nothing [00:59] ^Z didn't do anything either [01:00] dang :( [01:01] hans_: it looks like you can at least lower that timeout for maria using TimeoutSec in the unit file https://unix.stackexchange.com/a/328354/7064 [01:01] hans_: it won't help today, but hopefully you're already on the way back up [01:02] its still stuck but im going to pull the plug i think [01:04] there is no meta gnome-desktop? === zbenjamin_ is now known as zbenjamin [01:37] !flavors [01:37] Recognized Ubuntu flavors build on Ubuntu and provide a different user experience out of the box. They are supported both in #ubuntu and in their flavor channel. For a list, see https://www.ubuntu.com/download/ubuntu-flavours [01:37] ubuntu-desktop is gnome-desktop [01:38] !info ubuntu-unity-meta [01:38] Package ubuntu-unity-meta does not exist in bionic [01:38] !info ubuntu-unity-desktop [01:38] ubuntu-unity-desktop (source: ubuntu-unity-meta): The Ubuntu Unity desktop system. In component universe, is optional. Version 0.1 (bionic), package size 2 kB, installed size 8 kB (Only available for amd64; arm64; armhf; i386; ppc64el) [02:47] is there a simple gui way to disable hardware components in ubuntu? [02:51] I've got an internal wifi card that sometimes working and sometimes not. It is soldered in, so not so easy to remove. === mouses is now known as mouseleums === xeon is now known as bqq === bqq is now known as DigitalNomad === DigitalNomad is now known as xeon === xeon is now known as bqq === bqq is now known as DigitalNomad === DigitalNomad is now known as bqq === bqq is now known as DigitalNomad === DigitalNomad is now known as eipi10 === eipi10 is now known as eipip1e0 === eipip1e0 is now known as xeon === xeon is now known as eipip1e0 === eipip1e0 is now known as xeon === xeon is now known as eipip1e0 === eipip1e0 is now known as xeon [04:18] Hello all, recently pulseaudio has been making my window manager crash; I am using ubuntu 18.04 LTS. . .I've opened the pulseaudio volume control and I get a message in the window that reads "Establishin connection to PulseAudio. Please wait. . ." [04:19] and it just stays stuck like so. . . [04:19] Any ideas.. .is there a way to reset pulseAudio? [04:23] Hi everyone. I'm having problems with mysql and decided to reinstall it. I think I may have messed smth up. Here's what happens when I try apt-get update: https://pastebin.com/YPF2ihnX [04:24] !sound | slicktux [04:24] slicktux: If you're having problems with sound, click the Volume applet, then Sound Preferences, and check your Volume, Hardware, Input, and Output settings. If that fails, see https://help.ubuntu.com/community/Sound - https://help.ubuntu.com/community/SoundTroubleshooting - https://alsa.opensrc.org/DmixPlugin - For playing audio files, see !players and !mp3. [04:25] arakash: we dont support external ppa's here mate sorry, we advice to !ppapurge back to ubuntu's default sources.list and make apt healthy again first [04:26] I'm amazed how much trouble people are having with pulseaudio in this room. I have 18.04 LTS and pulseaudio is completely trouble free (since removing tsched=0 in /etc/pulse/default.pa though) [04:26] arakash: from a healthy apt as base, you can try again with mysql [04:27] lotuspsychje: Ah, I see. I can't remember, it's been a while since I logged into linux. What do I do to remove mariadb and go back to MySQL? [04:27] slicktux, `pulseaudio -k ; pulseaudio --start` [04:28] no sudo [04:28] lotuspsychje: actually, wait. I think I might require MariaDB for Laravel... [04:28] arakash: try first to fix your apt, with bringing back your sources to default again [04:28] !ppapurge | arakash [04:28] arakash: To disable a PPA from your sources and revert your packages back to default Ubuntu packages, install ppa-purge and use the command: « sudo ppa-purge ppa:/ » – For more information, see http://www.webupd8.org/2009/12/remove-ppa-repositories-via-command.html [04:29] arakash: after fixing apt, apt-cache search mysql, to see whats available from your ubuntu version [04:29] Alright [04:29] !lamp | arakash see also [04:29] arakash see also: LAMP is an acronym for Linux-Apache-MySQL-PHP. However, the term is often used for setups using alternative but different software, such as Perl or Python instead of PHP, and Postgres instead of MySQL. For help with setting up LAMP on Ubuntu, see https://help.ubuntu.com/community/ApacheMySQLPHP - See also the Server CD installation process. [04:30] slicktux, I suggest removing tsched=0 in your /etc/pulse/default.pa too [04:30] Where can I find the repo I'm getting MariaDB from? /etc/sources.list ? [04:30] thank you doug16k [04:31] and thank you lotuspsychje [04:31] o/ [04:31] !sources | arakash [04:31] arakash: The packages in Ubuntu are divided into several sections. More information at https://help.ubuntu.com/community/Repositories - See https://wiki.ubuntu.com/RecommendedSources for the recommended way to set up your repositories. [04:31] arakash: usually when adding a ppa, you need to remember the ppa format/name of the maintainer you added [04:38] I think I got this, thanks Lotus! === ltrager_ is now known as ltrager === anonimip_ is now known as anonymip === xeon is now known as bqq === bqq is now known as bq === bq is now known as Guest43804 [04:54] How is this explained? ufw status => Status: inactive, dmesg => [UFW BLOCK] IN=eth0 OUT= MAC=00:16:3e:74:34:32:44:e4:d9:c5:ae:4a:08:00 SRC=... [04:55] How can UFW still be blocking things when I've ran `sudo ufw disable`? [04:55] morning alkisg [04:55] Morning lotuspsychje, how are things? :) [04:55] alkisg: you could try the #netfilter channel too if you like mate [04:55] alkisg: always great on this side, tnx [04:55] Sure, ty [05:38] em so I partitioned my ubuntu 18.04 with LVM, I was perusing through the system rescue and noticed under === LVM state ==: "Physical Volumes: not ok (BAD)" ... what does this mean and do I need to do something about it? === tomreyn_ is now known as tomreyn === freedom_ is now known as freedom [07:38] If my laptop supports hybrid video (Intel integrated GPU + NVIDIA GeForce MX150), how do I tell which GPU is currently active? [07:41] And for some reason, before installing the nvidia proprietary drivers, nouveau would cause a kernel panic when I unplug the external monitor. [07:42] After installing the nvidia proprietary drivers, /sys/kernel/debug/vgaswitcheroo/ is simply gone. [07:45] k_sze: that's probably because vgaswitcheroo can only switch between graphics drivers using the intended APIs [07:47] obviously the kernel panic on nouveau unplug should not occur and would be good to examine further. but then nouveau is in a somewhat sorry state for lack of published hardware documentation (nvidia is maybe starting to get a little better there now, but just maybe) [07:48] * nouveau + monitor unplug [07:49] k_sze: from a usability point of view i assume your best option at this time will be to use the proprietary nvidia driver and use their software to switch between the GPUs [07:49] i think it's called nvidia-settings === jmcgnh_ is now known as jmcgnh [08:00] i am not getting notification audio bell/beep . xubuntu 18.04 [08:04] Hi everyone. I was about to go by a dual screen setup when I noticed my new laptop doesn't have a DVI input in addition to the one HDMI port I have. [08:04] I do have USB-c [08:05] If I have Ubuntu 18.04 with the hardware enablement pack, connecting a screen using HDMI -> USB-c adapter should work right? [08:05] Do I need to install something else? [08:10] Regor: not sure about xubuntu, maybe ask in #xubuntu. in default ubuntu (gnome-shell) you would configure it in settings -> sound -> sound effects -> alert volume [08:10] the_drow: you mean usb-c to hdmi? [08:11] i asked already in #xubuntu . [08:13] Regor: hold on [08:13] ok [08:13] need to remember how do i set it up... xubuntu, right? [08:13] yes [08:13] bionic [08:15] i think pcspkr was the wrong path to solve this, if your goal is to make it work on virtual terminals on the GUI. [08:16] Regor: a bit of patience please [08:16] sure :) [08:17] Regor + rud0lf: https://wiki.archlinux.org/index.php/Xfce#Sound_themes [08:18] i mean the certain beep sound file [08:18] ok [08:18] i know i modified/looked it up somewhere in /etc or /lib [08:18] pa-something startup script [08:18] ok i check details [08:20] Regor: oh i have it, you need your beep sound as "/usr/share/sounds/alert-sound.ogg" [08:20] ok [08:20] Ben64, I mean I connect to the screen with HDMI but to the computer with USB-c [08:22] mysql_upgrade: Got error: 1045: Access denied for user 'root'@'localhost' (using password: NO) while connecting to the MySQL server [08:22] what do to? [08:22] all google hits has with "using password: YES" [08:23] hey *waves hand* can anyone help me? *sniffles* i'd like someone to help me with a little problem *stares at ground* id like figure out which version of wkhtmltopdf gets installed via apt-get *smiles* uwu [08:23] zamba perhaps your password is incorrect [08:23] this is when upgrading mysql [08:23] duoi: it's not [08:23] # mysql [08:23] Welcome to the MySQL monitor. Commands end with ; or \g. [08:24] duoi: but maybe the upgrade script uses a different set of credentials? [08:24] zamba have you set a password for root? [08:25] duoi: yes [08:25] rud0lf: i see folders in /usr/share/sounds/ alsa freedesktop sound-icons speech-dispatcher [08:25] zamba try to enter mysql as root then [08:25] with like [08:25] mysql -u root [08:26] Regor: get a sound you like, convert it to ogg (you can google wav or mp3 to ogg online) [08:26] duoi: i just showed you the output of that [08:26] and copy/link to /usr/share/sounds/alert-sound.ogg [08:26] zamba you should me the output of mysql, not mysql -u root [08:26] duoi: same output [08:27] rud0lf thanks :) [08:27] duoi: i'm able to log in [08:27] duoi: `apt show wkhtmltopdf` [08:28] vlt the follow up issue here is that i dont have ubuntu installed so im hoping one of you beautiful people can check [08:28] Regor: that's my alert sound if you're too lazy or want to quickcheck: https://pub.leopard.ovh/alert-sound.ogg [08:28] :D [08:33] So I am booting 18.04 over iSCSI all fine. I have two ethernet adapters, one dedicated to iSCSI and one for other traffic.My problem is that NetworkManager reports both interfaces as "unmanaged device" even though the open-iscsi boot scripts only added the mac address of my iSCSI interface to the "unmanaged-devices" config key in /var/run/NetworkManager/conf.d/netplan.conf. Any ideas about leads to track down in order to get to the bottom of this? [08:34] duoi: LOL 16.04: Version: 0.12.2.4-1, 18.04: Version: 0.12.4-1, Debian 10: Version: 0.12.5-1 [08:35] vlt thanks homie :) [08:35] Ben64, ? [08:36] duoi: You're dwelcome. [08:37] the_drow: ? [08:37] " I mean I connect to the screen with HDMI but to the computer with USB-c" [08:37] Should be fine right? [08:37] ok, then maybe [08:38] So I should buy the monitor and the adapter and keep my fingers crossed? [08:38] maybe check reviews [08:38] see if they work in linux === rud0lf is now known as MC680000 === MC680000 is now known as MC68000 === MC68000 is now known as rud0lf [08:39] Yeh there's not much online besides that the patches for that were merged in 4.19 [08:50] hi [08:50] so it seems by looking at screens of ubuntu 18.04 that they have moved back the X button in the titlebar to the right from left (which was idiotic). But can you move the docking app bar to the bottom of the screen yet? [08:54] Hi Vooloo. You can move the dash-to-dock to the bottom with this command: 'gsettings set org.gnome.shell.extensions.dash-to-dock dock-position BOTTOM' [08:55] Set it left again with this command: 'gsettings set org.gnome.shell.extensions.dash-to-dock dock-position LEFT', if you regret it [09:29] So I used `crontab -e` and put the line `*/1 * * * * /usr/bin/mplayer /home/coffee/Scripts/casio-f-91w-hour-chime.wav` in it, which works if I run it myself, yet I do not hear a beep every minute. What gives? [09:30] crontab may run it in different context [09:30] i mean environment [09:30] i don't understand [09:31] shouldn't the absolute paths make it work still [09:31] oh you mean crontab itself may not even be running in current environment? [09:31] or something? [09:31] yes [09:31] not in your session [09:32] might be a pulseaudio thing - cron isn't running in the same session as PA [09:32] oooo [09:32] well fuck i wonder how to fix that [09:32] you can test this by running a script every seconds that just outputs 1.txt, 2.txt, ... [09:33] you should see those files being written [09:33] https://rudd-o.com/linux-and-free-software/how-to-make-pulseaudio-run-once-at-boot-for-all-your-users might be necessary, but there are pros and cons to doing that [09:34] (as an aside the /1 i your crontab entry is redundant) [09:42] whoopsies! [09:43] sorry internet choked [09:43] The Internet choked when it read the profanity. [09:43] heh [09:44] :-) [09:44] i wonder how i fix my problem with wanting to use crontab make a sound every 30 minutes is my goal; like on the 0th minute and 30th minute of eveyr hour [09:44] i'm trying to make it like a casio watch hehe [09:45] raspbian or ubuntu runs better on a raspberry pi 4? [09:46] also hilariously i have ac power pluggedin but to install some firmware updates Ubuntu Software demands i use ac power [09:46] i wonder if this has to do with the battery firmware haha === andrex is now known as anderx [09:47] ooh it installed after it charged enough interesting? [09:49] coffeecow: if you can figure out how to have cron make noise, "0,30 * * * *" [09:49] coffeecow: what was the last thing you saw in here before you disconnected? [09:49] ah yeah i just can't seem to get it to use the mplayer command im using because someone suggested it's probs environment for pulseaudio [09:50] me saying " well fuck i wonder how to fix that" mquin [09:50] *choke* [09:50] no swear zone? [09:51] No idea HAHA [09:51] 09:32Z < zmagii> you can test this by running a script every seconds that just outputs 1.txt, 2.txt, ... [09:51] 09:33Z < zmagii> you should see those files being written [09:51] 09:33Z < mquin> https://rudd-o.com/linux-and-free-software/how-to-make-pulseaudio-run-once-at-boot-for-all-your-users might be necessary, but there are pros and cons to doing that [09:51] 09:34Z < mquin> (as an aside the /1 i your crontab entry is redundant) [09:51] coffeecow: we try to keep this channel family friendly, see the !guidelines [10:00] okee [10:01] ah gosh nevermind i guess this is trickier than i thought [10:01] thanks tho [10:10] Hello, is there anything other than rambox for using skype + hangouts or just hangouts? [10:55] Howdy al [10:55] err, Howdy all [10:59] I ran this command to find all the libgtk+-3.0 libraries: `while read -d ' ' x; do echo "--- $x"; find /usr -name "lib${x#-l}.so*"; done < <(pkg-config --libs gtk+-3.0)` [11:00] every one of them is in the wrong directory, pkg-config gives the wrong -L options (library directory search path) [11:03] no -L options actually. so what use is the pkg-config if I hardcode the library path? === im0nde1 is now known as im0nde [11:11] why are you trying to hardcode library paths? [11:12] I'm not [11:12] when the libraries are in the standard locations you don't need -L options [11:12] not true [11:12] gcc isn't searching /usr/lib/x86_64-linux-gnu at all [11:13] doug16k: what are you trying to do exactly ? [11:14] trying to get pkg-config to give me output that I can use in a configure script, that makes gcc compile and link a gtk+-3.0 program [11:15] check the argument order, it matters: libraries must come after objects that use those libraries [11:16] https://wiki.ubuntu.com/ToolChain/CompilerFlags#A-Wl.2C--as-needed [11:16] mgedmin, how? reimplement pkg-config? [11:16] so you need to invoke gcc $(pkg-config --cflags) -o hello hello.c $(pkg-config --libs) [11:16] and not gcc $(pkg-config --cflags) $(pkg-config --libs) -o hello hello.c [11:17] which gtk3 program ? the software project should come with an autoconfigure/Makefile environment which automates all that jazz reliably [11:17] legreffier, one that I am going to write [11:18] you should definitely dig on that side, other you (+ your users/packagers) will have a really bad time. [11:19] would you like to ask #gcc ? [11:19] weird, it started working, I don't see what I changed though [11:19] thanks [11:20] * tomreyn thinks #ubuntu is not the right place for software development questions [11:20] it's a "why is ubuntu's stock gcc not searching /usr/lib/x86_64-linux-gnu" question. that's why I asked here [11:21] because I know ubuntu patches 99999 things in gcc and binutils :D [11:22] what is the best mail app. evolution,thunderbird or something else ? [11:22] for who coming from outlook [11:22] I use mutt, which would be terrible for somebody coming from outlook... [11:23] I have the impression that Evolution is the one most similar to Outlook in features and UI [11:23] please take the advice from tomreyn [11:24] i need to use app. for mail and got ability to search within attachment too (pdf, doc, excel ) and mail header , body too so what i should use ? [11:25] vasely: we dont take polls here, just ubuntu support questions [11:27] vasely: i'm not aware of a desktop mail application which can search through binary format attachments. [11:51] hello, ubutuers [11:51] questions related to Juju, should be posted here or in another channel? [11:58] ventura: try #juju [12:10] how do I move the app dotted button to the left side when I have my dock at the bottom? [12:17] Vooloo, gsettings set org.gnome.shell.extensions.dash-to-dock show-apps-at-top true [12:59] Hi guys, i have a problem. long story short. I had lost grub because i installed win10 dualbooted, then i booted into live usb and followed this answer to remove and reinstall grub with luks drive. https://askubuntu.com/questions/844132/how-to-repair-boot-on-luks-encrypted-harddrive After this i got grub back, went to boot into Ubuntu, and it doesnt even prompt for password. It says: Cryptsetup failed, bad password or options? /scripts/local-top/cry [12:59] ptroot: line 1: /lib/cryptsetup/askpass: not found sbin/cryptsetup: not found [12:59] please help, how to get prompt back? [13:01] hmm, apt purge grub-common seems very unnecessary in that answer [13:01] I've one machine with luks, let me check if its grub config has anything special [13:01] no [13:01] and i have checked for /lib/cryptsetup/askpass: not found sbin/cryptsetup: , they do exist when i am in live usb [13:01] hi guys... is it okay to add ubuntu-iligan.com and i will just use a frame to display ubuntu.com website. The purpose of this is to organize people from iligan philippines to join us here in the community... [13:02] hi guys... is it okay to add ubuntu-iligan.com and i will just use a frame to display ubuntu.com website. The purpose of this is to organize people from iligan philippines to join us here in the community... [13:02] mgedmin, yes i also checked another pc with luks, and dont see anything different in /boot [13:03] miu5: it needs to exist in the initramfs -- check lsinitramfs /mnt/initrd.img [13:03] hi guys... is it okay to add ubuntu-iligan.com and i will just use a frame to display ubuntu.com website. The purpose of this is to organize people from iligan philippines to join us here in the community... will this be okay? [13:03] ducasse: thx [13:04] miu5: can you check if cryptsetup-initramfs was installed in your system? e.g. ls /mnt/var/lib/dpkg/info/cryptsetup-initramfs.* [13:05] (or chroot and do the usual apt policy cryptsetup-initramfs) [13:05] should i do lsinitramfs /mnt/initrd.img on the live usb ? [13:08] hi guys i am new to linux, i was wondering if this video is good start to get my feets wet ? [13:08] https://www.youtube.com/watch?v=wBp0Rb-ZJak&t=5167s [13:08] mgedmin, should i do lsinitramfs /mnt/initrd.img on the live usb ? [13:08] mgedmin, right now im chrooted into /mnt [13:09] the important thing is to lsintramfs the /initrd.img in the chroot [13:12] mgedmin, i did lsinitramfs /mnt/initrd.img inside the chroot, and im getting /usr/bin/unmkinitramfs cannot open /mnt/initrd.img no such file [13:13] Hi guys, I am having some problems with dhcp on Hyper-V, OS Ubuntu 18.04 [13:13] Someone available? [13:15] mgedmin, why is it giving that error? anything else i can try? [13:15] miu5: because you didn't read what I said: the path is /initrd.img in the chroot (and /mnt/initrd.img outside the chroot) [13:16] and the other thing that I said was "can you check if cryptsetup-initramfs was installed in your system? e.g. ls /mnt/var/lib/dpkg/info/cryptsetup-initramfs.*" [13:16] which also assumed a shell outside the chroot, so remove /mnt from the path before you try it [13:16] (or chroot and do the usual apt policy cryptsetup-initramfs) [13:16] sorry mgedmin i did that now, and it listed a very long list [13:17] inside chroot [13:17] I'm sorry, I'm not being explicit enough [13:17] you had an error "/lib/cryptsetup/askpass: not found" [13:18] I suggested you check if that file existed inside the initramfs image with lsinitramfs [13:18] since the output is long and manually looking for it would be a pain [13:18] try lsinitramfs /initrd.img | grep askpass [13:18] ok let me try grepping for it [13:19] I'm expecting it will produce no output because the file isn't there, like the error said [13:19] but this allows us to be methodical and verify everything (grub might have used the wrong initramfs image maybe) [13:19] mgedmin, yes you're right, no output. file not there [13:19] right, so next question is: is the cryptsetup-initramfs package installed [13:19] ok one sec [13:21] (the askpass binary comes from the cryptsetup-run package, but cryptsetup-initramfs is responsible for copying it into the initramfs image) [13:26] ok mgedmin in chroot, i did ls /mnt/var/lib/dpkg/info/cryptsetup-initramfs.* and nothing. I also did ls /mnt/var/lib/dpkg/info/cryptsetup-* and only 3 packages were listed. cryptsetup-bin.list, cryptsetup-bin.md5sums and cryptsetup-bin.postinst [13:27] miu5: apt install cryptsetup-initramfs [13:29] mgedmin, says unable to locate package [13:30] miu5: what ubuntu version do you have? [13:31] doh, it was added in 18.10; how was the initramfs configured in 18.04??? [13:31] 18.04 but its xubuntu (not that it makes any difference) [13:31] the test system I have is 19.04 [13:31] i dont know how initramfs was configured in 18.04 ? [13:33] ok, I have an 18.04 system (which doesn't use LUKS, but has the cryptsetup packages installed) [13:33] /lib/cryptsetup/askpass is shipped by cryptsetup itself, and copied into the initramfs by ... [13:34] ... the script shipped by cryptsetup itself, once again [13:34] specifically, /usr/share/initramfs-tools/hooks/cryptroot [13:35] so, uh, weird [13:35] ok, if you do update-initramfs -u -k all (inside the chroot) [13:35] and then check lsinitramfs /initrd.img | grep askpass again [13:35] will you see that the askpass was correctly installed? [13:37] i have done that but it never made a difference, cause i rebooted and had the same issue previously. i did it now again and no, askpass still not there [13:37] mgedmin [13:37] do you have a /etc/cryptsetup-initramfs/conf-hook ? [13:37] does it have any uncommented lines in it? [13:38] oh, I should've asked before -- when you do the update-initramfs, you don't see any errors or messages mentioning cryptsetup? [13:38] mgedmin, yes all lines are uncommented in conf-hook [13:39] that is very strange, all lines are _commented_ in mine [13:39] mgedmin, i see errors about the live USB that is inserted only [13:39] sorry i meant all lines are COMMENTED out. [13:39] heh [13:39] what does your /etc/crypttab look like? [13:40] mgedmin, crypttab has only one line of the drive with its uuid none luks,discard [13:42] this is the point where I would start adding debug print statements into /usr/share/initramfs-tools/hooks/cryptroot to see why it decided cryptsetup was not needed in the initramfs [13:42] but in order to save time and maybe get the system to boot how about if you uncommented the #CRYPTSETUP= line in /etc/cryptsetup-initramfs/conf-hook [13:42] and set it to CRYPTSETUP=y [13:42] and then ran update-initramfs -u -k all [13:42] and then checked if initramfs has what it needs [13:45] mgedmin, ok that worked. askpass is there now. [13:45] try rebooting? [13:47] oh mgedmin thank you im back in. but i dont understand what we just did [13:48] did we basically force cryptsetup to run inside initramfs? [13:50] mgedmin, must i also revert the CRYPTSETUP=y back to what it was or leave it that way for good? [13:53] leave it, it won't hurt [13:53] as long as you use LUKS for your root partition, initramfs needs to have cryptsetup in it [13:53] for some reason the autodetection didn't work and I don't know why [13:53] maybe because you ran update-initramfs in the live session? [13:53] what is the discussion channel again for ubuntu? [13:53] #ubuntu-discussion? [13:54] !discuss [13:54] 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! [13:54] maybe you can comment it out and run update-initramfs in your main system and then it'll autodetect correctly? [13:54] but why risk it, if it works now [13:54] ty [13:56] mgedmin, do you mean if i did it in the live session as in the Live USB session before chrooting? [13:57] mgedmin, because i did. do you think that caused an issue? [13:57] mgedmin, if i do it in the main system now, how would i know it worked if askpass is already there?? [13:57] update-initramfs re-creates the initramfs image, so you could do the check with lsinitramfs|grep askpass again [13:58] (and if it's missing, you can restore the CRYPTSETUP=y workaround and update-initramfs again) [14:09] mgedmin, ok thats weird. In the main system now... I commented out CRYPTSETUP=y and then update-initramfs -u -k all, then lsinitramfs /initrd.img | grep askpass and it finds it. [14:10] so autodetection works if you run update-initramfs after booting the full system, but not when you do it from a live session [14:11] might be explained by the fact that / is not a crypt device in the live session, and the hook doesn't realize the crypt device on /mnt will be needed for the actual system boot? [14:11] otoh the hook parses /etc/fstab in the chroot, not /proc/mounts, so it should figure things out [14:12] I don't think I can reason this out from first principles [14:14] mgedmin, Seems like you would have to force it in a live session the way we did, dont know if anyone else has experienced the same thing though. [14:14] im going to save some time here and just blame the issue on the live session. lol [14:15] mgedmin, thank you so much!! appreciate your help. === dionysus70 is now known as dionysus69 === im0nde_ is now known as im0nde === saint__ is now known as saint_ === Grldfrdom_ is now known as Grldfrdom [15:18] hi, how often i must update ubuntu on personal pc? === Grldfrdom is now known as Grldfrdom_ [15:18] or i can off update? [15:22] fobo7: you should try to stay current with the latest LTS release which is every 2 years. Or at least every other. [15:22] fobo7: when updates are out= update [15:23] @leftyfb Thank you, what happens if you update and something breaks, how can you undo it? [15:24] Gusj: depends on what broken and how [15:24] Gusj: there is no "undoing" an install [15:24] install/upgrade of the OS/release [15:26] @leftyfb I understand.. I found somewhere this 'apt--simulate' and when you install another driver and it goes wrong, how can you uninstall a driver or app? [15:27] Odd, I'm trying to build tmux 2.9a from source but I can't find the `aclocal` command. [15:27] (which is required in tmux's autogen.sh script. [15:27] you can uninstall a debian package (deb), using apt (or dpkg, but apt is better): sudo apt remove packagename (alternatively, to also remove configuration files: sudo apt purge packagename) [15:27] Gusj: ^ [15:28] Gusj: if you prefer GUIs, you can do this using synaptic. [15:28] @tomreyn Thank you Tom, copied it and put it in my notes.. [15:28] Gusj: lets stick with problems you actually have. Not the infinite amount of problems you could possibly have [15:30] Hello, I'm reading the manual for the "find". I'm confused about the -regex option. Does it allow RegExp2 or RegExp3 regex version? And if so, I can use whatever regex I specify that also works on JavaScript Regexes (that's the only thing I'm familiar with.) [15:30] @leftyfb I am learning, been wrestling with a not recognized keyboard and trackpad on a laptop for 2 weeks now, this is about a problem I currently have, [15:30] Gusj: general documentation is available at https://help.ubuntu.com/ [15:30] Gusj: what exactly is the current problem you have? [15:30] k_sze, automake ; Gusj what's the laptop model ? [15:31] @ioria Toshiba Satellite C55-A5105 [15:31] ioria, odd, it's not listed: https://packages.ubuntu.com/search?searchon=contents&keywords=aclocal&mode=exactfilename&suite=bionic&arch=any [15:32] ioria, but indeed, installing automake gets me aclocal. [15:32] Gusj, and please state again the problem and if the kb works in a livecd [15:32] k_sze, ok [15:32] wedr: see the description of the -regextype option in the find(1) man page [15:32] @leftyfb keyboard and trackpad recognized but not activate in the kernel.. have tried many things, grub commands, etc.. many things no it does not work in live boot, not in ubuntustudio 19.04, ubuntustudio 18.04, ubuntu 16.04, and currently what it has is lubuntu 18.04 lts [15:33] tomreyn, Ah, thanks. Didn't know you need to specify regextype first [15:34] Gusj: How do you install without a keyboard? [15:34] ^ [15:35] @tomreyn Tom eysterday the user 'TJ-' was helping me and he found this: https://bugzilla.kernel.org/show_bug.cgi?id=195471 there is a patch there, so I installed generic Kernel with the help of 'TJ-' and @ioria and booted to it its 4.15 something and still same problem, I have the path that on this site says it should fix it but I do not know how to apply it, since it is sensitive I thought of waiting for TJ- but maybe you or @ioria can help me to tr [15:35] y it? [15:35] bugzilla.kernel.org bug 195471 in Input Devices "Keyboard not working after resume with kernel 4.10.5" [Normal,New] [15:35] @leftyfb with usb and mouse keyboard [15:36] Gusj: have you confirmed in the BIOS that the keyboard actually works at all? [15:37] wedr: you don't need to specify it, but it provides choice on the type / implementation of regular expressions you prefer. [15:37] @tomreyn currenyl the only thing I can do with these comms in the grub /default: atkbd.reset=1 i8042.kbdreset=1 i8042.dumbkbd=1 acpi_osi=! \"acpi_osi=Windows 2013\ is to change the brightness of the screen with the keyboard and also activate/deactivate wifi with FN special keys, that is it [15:37] tomreyn, Thanks. It's sad I can't use ECMAscript Regex. [15:37] @leftyfb Yes been over the bios before I started the installations I had to install windows in order to update the bios, the original was 1.10 and I went up in steps until 1.40 [15:39] @leftyfb really check the bios thoroughly, and did a reset of the machine as well, with power button press x amount of time, etc.. [15:39] Gusj, that toshiba is quite old ; odd that the kb does not work at all [15:40] wedr: i don't know which implementation ECMAscript uses. Does it actuall yhave its own, or does it just reuse one of the other ones? [15:40] @ioria yes it is.. but there seems to be a bug a tthe kernel level with the machine, becuase the machine recognizes them, it is after the problem, that is why we tried the generic kernel 4.15 yesterday as you helped me install it [15:41] wedr: i guess the most classic one would be perl's [15:41] Helo can someone help me with recovering encrypted home dir [15:41] @ioria there is a patch here, this is a link that @TJ- sent yesterday, can you show me how I can apply this patch? have never done this before and don't want to mess this up [15:42] Gusj: i don't have time to look into this currently, maybe in ~ 5 hours if you'll still be around [15:42] @ioria here is the link of the BUG and PATCH : https://bugzilla.kernel.org/show_bug.cgi?id=195471 [15:42] bugzilla.kernel.org bug 195471 in Input Devices "Keyboard not working after resume with kernel 4.10.5" [Normal,New] [15:42] @tomreyn Thank you Tom no prob, I really appreciate it :) [15:43] Gusj, have you read the last comment in that bug report ? [15:44] Gusj, and that looks like a suspend issue [15:44] @ioria yes I have, that is why we thought yesterday to install a generic kernel 4.15 since that is also suggested in the bug msgs, that a kernel pre 4.19 might work [15:45] Gusj, 'After resuming the laptop, the keyboard is not working anymore', it means it normally works [15:45] I am trying to recover an encrypted home dir but i think i have an issue with keyctl can someone help? [15:45] Gusj, i don't think it's your same problem [15:46] @ioria Ahh you think it is not related to this, I thought that maybe would be good to try? [15:46] Why am I seeing different results from du and right clicking on a directory? Results: https://imgur.com/a/k1wWkfH [15:46] Guest_8: i don't have time to guide you noe, but look into ecryptfs-recover-private [15:46] Gusj, sounds to me (apparentl) a bios issue [15:46] I have done that before. [15:47] @ioria inside the bios, the laptop keyboard and trackpad work PERFECTLY [15:47] I got to this point yesterday. there was a command to stop their being an issue with ecryptfs-recover-private not importing a key. [15:47] Guest_8: you may also need to do, prior to ecryptfs-recover-private, "sudo keyctl link @u @s" [15:47] Gusj, i read that, yes [15:47] Guest_8: make sure you take notes. [15:48] !ecryptfs | Guest_8 [15:48] Guest_8: EcryptFS is a file system encryption. It is deprecated since Ubuntu 18.04 LTS, see bug 1756840 for details. Use full disk encryption (dmcrypt-luks) instead. [15:48] success! thank you [15:49] @ioria yesterday while installing the generic Kernel 4.15 I had one error, this module? 'fnfxd.service' so after installationg, before I booted for first time, @TJ- suggested this: '"sudo systemctl mask fnfxd.service" to stop the service [15:49] @ioria which I did [15:50] @ioria ITs a Toshiba ACPI Daemon for Linux, [15:50] yeah [15:51] Gusj, can't you find a way to disable it in bios ? [15:51] @ioria but I did not reinstall the generic kernel after stopping the service is that something I could try? [15:51] Gusj, can't you find a way to disable it in bios ? [15:51] @ioria The Special keys and put the keyboard to just norlam f1-f12? === bipul is now known as _Rob_ === _Rob_ is now known as Method_man_ === Method_man_ is now known as Method_Man_ [15:52] @ioria there is a function inside the bios to turn of Special keys, should I try that and boot in the 4.15 kernel? [15:53] @ioria have tried that before to no effect, but with the current main kernel, not the generic one [15:53] Gusj, paste cat /proc/cmdline === Method_Man_ is now known as L30_ [15:53] @ioria BOOT_IMAGE=/boot/vmlinuz-5.0.0-29-generic root=/dev/mapper/lubuntu--vg-root ro atkbd.reset=1 i8042.kbdreset=1 i8042.dumbkbd=1 acpi_osi=! "acpi_osi=Windows 2013" [15:54] sy, brb [15:54] @ioria I have tried many many grub commands, with this combination ONLY: "The numlock does not stay permanently on on the keyboard, So the keyboard even though does not type it is not frozen, and I can change the brightness of the screen with special keys FN and turn wifi on/off THAT IS IT [15:55] @ioria have many lines commented out of all the grub commands and combinations I have tried, to keep track of what I have tried that does not work.. [15:56] @ioria one or more commands allow me to use the keyboard and do those 2 things, without them not even that, so I am a little bit closer at least to resolving this [15:57] @ioria will try to turn of special keys in bios now and boot into the 4.15 to see if there is a difference [16:04] @ioria same result... the kernel sees them, assigns them both IRQ's and then this happens: " kernel: atkbd serio0: keyboard reset failed on isa0060/serio0" === SimonNL is now known as SimonNL_Afk [16:19] @ioria Do you think to install that patch just to see if it has any effect on the situation? [16:21] hello, I have problem with the default apache2 in ubuntu18.04, I am adding Include /tmp/automatic-vhosts.d/*.conf to the conf file, but it seems it wont load anything [16:21] Gusj, try first to reset the bios to defaults [16:22] any hints? [16:22] @ioria already tried that to no effect :( [16:25] e01: two guesses, first I think those conf files need to end with .conf second check dmesg or auditd logs for apparmor denials [16:26] Gusj, did you install in efi mode ? [16:27] @ioria Yes I did in UEFI mode, there that other option CSM, but before it gave me an error botting it in CSM after the install in UEFI, should I try switching now and see? [16:28] @ioria I only see those two (2) options, UEFI and CSM [16:28] Gusj, go in bios and select CSM legacy , boot the installer media in Legacy mode; if the kb does not work , switch again to efi [16:29] Gusj, and disable Secure Boot, if any [16:30] @ioria thank you will try that right now, Secure boot has always been off [16:34] sarnold: no dmes info, but seems to be apparmor, because if I move the configuration to /usr/share/apache2 it works [16:35] sarnold: is there way to include my directory to the apparmor allowed paths? === led_dark_2 is now known as led_dark_1 [16:38] e01: sorry, that took me a lot longer to track down than I expected.. [16:39] e01: the /etc/apparmor.d/usr.sbin.apache2 profile has an #include line -- so you should be able to add thesee rules to /etc/apparmor.d/local/usr.sbin.apache2 /tmp/automatic-vhosts.d/ r, /tmp/automatic-vhosts.d/** r, [16:41] @ioria tried it to the same, kybd and trackpad do not work, had trouble getting back into bios but eventually made it, had before msgs that said: Intel PX@.2.1 PXE-M0F: Exiting PXE ROM no bootable device, switched it back to UEFI now and botted good [16:43] @ioria while booting in CSM I got the same 5 lines that keep repeating everytime I switch to any TTY ctrl+alt+fX these lines about Bios: https://paste.ubuntu.com/p/Rh2DSMrGhV/ [16:44] @ioria those lines keep repeating, being output on the ttys by themselves, but the showed up clearly and big type now when I tried CSM boot with livecd [16:45] @ioria ACPI BIOS Error (bug): Could not resolve [\_TZ.THRM]etc.... and kernel: ACPI Error: Method parse/execution faileetc.... [16:47] Gusj, honestly no idea [16:47] @ioria Can we try to apply that patch to see?? [16:47] Gusj, the patch you're talking about requires to recompile the kernel [16:48] @ioria can we do it on the generic one the 4.15xxxx so as not to do it on the main one? === SimonNL_Afk is now known as SimonNL [16:48] Is this the right channel to ask question about troubleshooting apt? [16:49] Gusj, no, you need the source [16:49] KoRRoS: quite possibly [16:49] have a strange issue with apt being unable to find packages on a disconnected mirror. [16:50] @ioria ahh I see.. I do not know how to do that :( [16:50] system is working fine for existing ubuntu 18.04 vm's but ones build from the 18.04.03 DVD don't seem to be able to find packages [16:51] sarnold: I don't have such file /etc/apparmor.d/usr.sbin.apache2 [16:52] e01: hmm. what does aa-status report? are you sure apache2 is confined by apparmor? [16:53] sarnold: not included in the list [16:53] Gusj, can i suggest the #linux channel ? [16:53] e01: ah [16:54] @ioria I thought it was a script that one ran.. [16:54] nope [16:55] @ioria thank you, could you later on if you are still here please guide me into applying this patch? [16:55] Gusj, i told you you need to recompile the kernel [16:56] @ioria yes I read that, but I do not know how to apply the patch the steps, I imagine that one applies it and then recompiles it? I have no idea how to do that it is obvious to you not to me [16:57] @ioria trying to learn and this bug has been quite a learning experience as a beginner challenge, someone coming back to Linux [16:58] Gusj, you can start here : https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel [17:04] any hints on troubleshooting apt and apt-get?? sudo apt-get -o Debug::pkgProblemResolver=true -o Debug::Acquire::http=true -f install isn't giving any info [17:05] KoRRoS: pastebinning the command you run and output you get is a good start [17:05] @ioria Thank you will check that out, have to run but will be back later to try and do this, apply this path, thank you for your help [17:06] Gusj, no problem [17:06] @sarnold will get it together [17:15] where has xorg.conf gone in 18.04? [17:16] apt troubleshooting help - https://pastebin.com/AWiVWUew [17:18] @Vooloo I only have the example in /usr/share/doc/xserver-xorg-video-intel-hwe-18.04/xorg.conf === led_dark_2 is now known as led_dark_1 [17:20] Hey, anyone using the chromium beta with hardware acceleration enabled from the ppa saiarcot895/chromium-beta? [17:26] Vooloo: there isn't an xorg.conf necessary for most setups any more, check xorg.conf(5) manpage for information on where you can put fragments or a config if you need one [17:27] Vooloo, ls ~/.local/share/xorg/ [17:30] KoRRoS: have you apt update on this machine yet? [17:30] sarnold yes [17:33] KoRRoS: is this an amd64 machine? if not, do you have the architecture on your mirror? [17:33] yes .. it's an amd64 machine, not using the i386 [17:34] and tried --allow-unauthenticated [17:34] but the weird part is older hosts ( deployed a month or so ago ) work fine [17:35] both working and broken are using the same /etc/apt/sources.list [17:35] KoRRoS: oh, I'm only now noticing that your apt policy output is for gnuchess but you've got the wget and apt install output for neovim [17:36] what's apt policy show for neovim on both the good machines and bad machines? [17:36] just showing I can pull the package from the repo [17:36] with wget === akem__ is now known as akem [17:40] also this is a fresh install from ubuntu-18.04.3-desktop-amd64.iso [17:44] sarnold the output of apt policy neovim on the working machine is as expected [17:45] sarnold the output on the broken machine is "N: Unable to locate package neovim" [17:45] KoRRoS: alright good good, how about grep neovim /var/lib/apt/lists/* ? [17:47] why does ubuntu ship libre office? it's so troll [17:48] I'm trying to replace the greek character alpha with literally the string "alpha" because I can't copy paste the unicode character for some reason [17:48] wat [17:48] and it's writing for me in greek [17:49] sarnold on the broken machine neovim doesn't exist and the working machine is exists in multiple files. [17:50] https://i.imgur.com/SwktUR6.png [17:50] the trolls from libreoffice team fulfilled their purpose I am mad lol [17:50] I would join #libre-office and ask about that. It probably thinks you are changing languages to greek. [17:54] KoRRoS: alright, so lets find out why .. ls -l on those files? maybe pastebin the apt update output, to see if there are errors there.. [17:55] any idea on why i cant copy paste unicode on bionic? https://i.imgur.com/SwktUR6.png [17:55] sarnold getting the info together, but see where your going. apt update is not downloading the repo data from the ubunturepo [17:56] installed gnome manually from cli [17:56] i have the unity bar but it's gnome [17:56] mendi: that just looks like whatever font that is doesn't have a glyph. try installing a bunch more fonts? [17:56] one particular that supports unicode? sarnold [17:57] most do. Liberation Serif is one. [17:57] how do I set it as a system font? [17:58] where did you copy the alpha character from? [17:58] mendi: fonts-noto maybe? [17:58] the libreoffice document that shows it fine tomreyn [18:00] that's a .docx file. maybe in a different character encoding? [18:00] https://i.imgur.com/jNO0BAO.png [18:00] works fine on my 18.04 [18:00] I'm bionic too but i installed stuff manually [18:01] 6.0.7.3 too [18:01] "installed stuff manually" may be the issue then [18:01] or the file you copy pasted from [18:02] does fonts-noto replace the system font by default? [18:02] there's the "Inster" -> "Special character" menu also [18:02] sarnold [18:02] there's the "Insert" -> "Special character" menu also [18:04] you can also press ctrl-u, then type 251 and space to insert the alpha character (as seen on the special characters menu) [18:04] thank you [18:04] mendi: no idea on 'system default' ends of questions. I'm just hoping that the libraries will try to use multiple fonts to satisfy missing glyphs [18:05] well rebooting to find out thanks [18:09] uhh guys [18:09] rebooted after installing fonts-noto and this is what firefox looks like now https://i.imgur.com/x1PgEjJ.png [18:10] hello, I broke python in ubuntu because I messed around with update-alternatives, I can't even access the terminal [18:10] sarnold all repo's are coming back Ign: .. https://pastebin.com/gLPDt0Fw [18:10] apt remove python* ? danielrc14 [18:10] I open x term, executed python, and it says that /usr/bin/python3 was not found [18:10] mendi: firefox does similar for me when I resize monitors, a quick fullscreen and back usually sorts it out [18:11] the python2 command is safe though [18:11] woooooooooooooow magic sarnold [18:11] KoRRoS: Ign:44 http://ubunturepo.scloud.net/ubuntu bionic-updates/multiverse i386 Packages [18:11] mendi are you sure that would work? [18:11] KoRRoS: note that there's about 50 instances of i386 on that page, are you SURE that it's an AMD64? [18:12] isn't purge better? === SIa_ is now known as SIa [18:12] will I break anything if I remove or uninstall python? [18:12] well uname -a tesll me x86_64 [18:12] sarnold uname -a tesll me x86_64 [18:13] KoRRoS: and does dpkg-architecture agree? [18:15] no luck with fonts-noto, https://i.imgur.com/2E7GVdL.png app is anki [18:15] sarnold that's in the dpkg-dev package [18:15] can I just do apt remove python and then install it again? [18:16] mendi: did you try the keyboard combo? [18:16] python3* [18:17] KoRRoS: aha, how about dpkg --print-architecture ? [18:17] danielrc14: removing python2 will break apt, don't do it [18:17] apt supports asterisk afaik [18:17] I just want to remove python3, that's the broken one [18:18] sarnold dpkg --print-architecture returns amd64 [18:18] KoRRoS: curious. I wonder why it's all i386 in the output. pastebin your sources? [18:18] sudo apt remove python3* returned "no matches found: python3*" [18:18] KoRRoS: sometimes an [arch ...] line of some sort can modify what arches are retrieved from mirrors [18:19] danielrc14: first make sure alternatives are set properly for python (pointing to python2), then use apt to purge '*python3*' === SIa_ is now known as SIa [18:19] the "python" command is pointing to python 3 [18:20] wtf tomreyn that worked [18:20] the alpha in the document is not really greek alpha [18:20] sarnold well that is weird.. cause I scp'd the /etc/apt/sources.list from a known good machine, working on the pastebin [18:20] when I write "python" it says "bad interpreter: /usr/bin/python3: no such file or directory [18:21] danielrc14: which ubuntu release is this? lsb_release -ds [18:21] that command fails too, it says /usr/bin/python3: no such file or directory [18:22] I'm in ubuntu 16.04 [18:22] danielrc14: here's what I've got on disco http://paste.ubuntu.com/p/vYp5mWNW3C/ and on bionic http://paste.ubuntu.com/p/HbXDhtvk4w/ [18:22] oh.. [18:22] wow, my 16.04 lts machine doesn't have python2 at all. funny. [18:22] danielrc14: grep ^PRETTY /etc/os-release [18:23] PRETTY_NAME="Ubuntu 16.04.5 LTS" [18:23] sarnold ok.. I added [arch=amd64] to all the sources line and it worked [18:24] danielrc14: ls -l /etc/alternatives/*python* 2>&1 | nc termbin.com 9999 [18:24] sarnold how can I automate this workaround [18:25] sarnold seems that an install is pinning to i386, I can blow this box away and see if I can recreate the issue [18:26] KoRRoS: strange; I'm not sure where else apt would have decided to use the wrong arch :/ [18:26] tomreyn it returned "https://termbin.com/tfeh" [18:27] danielrc14: so that'S the alternative option you added, i assume? === rymate1234 is now known as JSmate1234 [18:28] nope, let me get the commands I wrote [18:30] sudo update-alternatives --install /usr/bin/python3 python /usr/bin/python 10 [18:30] sudo update-alternatives --remove python /usr/bin/python [18:31] then again: sudo update-alternatives --install /usr/bin/python3 python /usr/bin/python 10 [18:31] sarnold let me try to recreate the problem to make sure it's not just something dump i did in testing. [18:31] and then: sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10 [18:32] sarnold will report back thank you for guiding me to the problem! [18:32] after that I couldn't even start the terminal [18:32] KoRRoS: cool, good luck, happy hunting :) [18:32] I thought I knew what I was doing, but I obviouslt wasn't :( [18:32] hi, when i do sudo update-grub or sudo update-grub2 on my main system the windows entry disappears, then i have to boot from live CD to redo update-grub or update-grub2 and then it reappears. can anyone tell me why this happens and how to make the Windows entry be persistent on the main system after running update-grub or update-grub2 [18:35] danielrc14: no you didn't. do not touch the system wide python on ubuntu. never. there's no need to do that. youz can co-install python3 but don't change those default paths. you can do what you need to do in virtualenvs and within a restricted users' scope, or in a (lxd?) container. [18:36] danielrc14: please post: for pypath in $(which python python2.7 python2 python3.6 python3); do echo $pypath: $(readlink -vf $pypath 2>&1); done 2>&1 | nc termbin.com 9999 === SIa___ is now known as SIa [18:38] tomyreyn: https://termbin.com/xqsq [18:38] that's all it returned [18:39] danielrc14: hmm either i missed to quote properly or you didn't paste proeprly. give me a minute [18:39] try this: for pypath in $(which python python2.7 python2 python3.6 python3); do echo "$pypath: $(readlink -vf $pypath 2>&1)"; done 2>&1 | nc termbin.com 9999 [18:40] oh wait you have aliases as well [18:40] yep [18:41] alias | grep python | nc termbin.com 999 [18:41] did i mention i also lose grub in the process when running update-grub from main system? yea that too [18:41] alias | grep python | nc termbin.com 9999 [18:41] danielrc14: the latter place [18:42] https://termbin.com/v0n1 [18:42] :( [18:42] danielrc14: can you unset the "python" alias for now? [18:43] how do I do that? [18:43] danielrc14: unalias python [18:44] done [18:44] then verify it's gone: alias | grep python [18:45] I had another alias, and I unaliased that too just in case [18:45] now alias | grep python doesn't return anything [18:46] danielrc14: so now: which python python2.7 python2 python3.6 python3 2>&1 | nc termbin.com 9999 [18:46] it still returns a termbin url, should I check other aliases? [18:47] danielrc14: no, please show the url [18:47] https:termbin.com/vbi0 [18:47] https://termbin.com/vbi0, sorry [18:48] I can't copy from x term [18:48] Hi! I need help installing Ubuntu. I already had a dual boot with Win 10 and now I wanted to do a new install. I have downloaded 18.04 LTS but on when booting I get error "Couldn't get UEFI db list". [18:49] super_koza, you may need to disable/change Secure Boot settings [18:49] danielrc14: in the future, try marking text in the terminal, then ctrl-shift-c to copy from the terminal (and ctrl-shift-v to paste there) [18:49] danielrc14: here's the expected output: https://termbin.com/13k5 [18:50] hi, when i do sudo update-grub or sudo update-grub2 on my main system the windows entry disappears, then i have to boot from live CD to redo update-grub or update-grub2 and then it reappears. can anyone tell me why this happens and how to make the Windows entry be persistent in grub on the main system after running update-grub or update-grub2? [18:50] lordcirth, I alredy had a dual boot setup, so the secure boot option is disabled. [18:50] super_koza, ok. Did you download the 18.04.3 ISO? [18:50] ctrl-shift-c doesn't work in my x term [18:50] danielrc14: so you're missing "python" and "python3" currently [18:50] I was googling a bit and people were writing that the kernel seems to be doing the key checks even though it shouldn't. [18:51] lordcirth, I think I did. I downloaded the current version available from the website. [18:51] super_koza, I did find this: https://bugzilla.redhat.com/show_bug.cgi?id=1497559 [18:51] bugzilla.redhat.com bug 1497559 in kernel ""MODSIGN: Couldn't get UEFI db list"" [Unspecified,Closed: currentrelease] [18:51] danielrc14: then just mark text to copy and middle mouse key to paste [18:51] Fixed in 4.15.10, apparently [18:52] super_koza, can you link me to the exact ISO you downloaded? [18:52] it worked [18:53] so what do I do now? [18:53] lordcirth, ubuntu-18.04.3-desktop-amd64.iso [18:54] I have seen that website, but I can't use the patch they suggested as I can't install ubuntu at all or live boot. [18:55] super_koza, I'm booting that ISO now to get the kernel version [18:56] so i dont know why grub2 detects the windows entry in live system but not in main. /etc/grub.d doesnt have windows in there at all on main system [18:57] lordcirth, I guess I could get a newer version of Ubuntu... :D [18:57] lordcirth, should be linux-image-5.0.0-23-generic [18:57] Unfortunately I have no idea what version I used to jave... [18:57] super_koza, ioria indeed it is [18:57] could anyone please help? thanks [18:58] So it's probably not this same bug. [18:59] danielrc14: you need to remove all python* alternatives. [18:59] super_koza, 19.04 has 5.0 as well, that probably wouldn't help. You could try installing 18.04.0 and not upgrading to the HWE kernel? [18:59] how do I do that? [19:00] danielrc14: ls -l /etc/alternatives/*python* should return nothing [19:00] super_koza, if that fixes it, then you should look into filing an Ubuntu bug. [19:00] danielrc14: you can use the update-alternatives utility. it has a man page. do you know what man pages are, yet? [19:01] !man | danielrc14 [19:01] danielrc14: The "man" command brings up the Linux manual pages for the command you're interested in. Try "man intro" at the command line, or see https://help.ubuntu.com/community/UsingTheTerminal | Manpages online: http://manpages.ubuntu.com/ [19:02] danielrc14: if you'r enot into man pages, yet, read up on iut later, and just run update-alternatives --help now. see which options you could run it with to remove all the python* alternatives [19:04] so, it would be "update-alternatives --remove-all python*", right? [19:05] I'm so sad because of this. Damn, I had a working and up-to-date system... [19:06] danielrc14: with sudo probably, and i'm not sure it will work like this, but do try it. [19:06] danielrc14: there's also --verbose [19:07] danielrc14: so i suggest you try: sudo update-alternatives --verbose --remove-all 'python*' [19:08] danielrc14: those ticks around ypthon* are important to prevent the shell from expanding it to pythin* files in your current working directory before it's passed to the update-alternatives command [19:08] tomreyn update-alternatives: error: no alternatives for python* [19:09] super_koza, 'MODSIGN: Couldn't get UEFI db list ' should not be fatal ('cause i get it too in my dmesg) [19:09] danielrc14: so this error message suggests that update-alternatives does not know how to interpret the asterisk. you will need to specify the targets individually [19:10] btw, the ls command you said returned this: lrwxrwxrwx 1 root root 15 oct 2 13:46 /etc/alternatives/python -> /usr/bin/python [19:11] danielrc14: so "python" is an alternative 'name' you want to remove [19:11] ... from the alternatives system [19:11] so it should be: sudo update-alternatives --verbose --remove 'python' '/usr/bin/python'? [19:14] danielrc14: you can try this, or you can remove the 'python' group from the alternatives system entirely. [19:15] tomreyn: update-alternatives: error: cannot stat file '/usr/bin/python': Too many levels of symbolic links [19:15] danielrc14: try this: sudo update-alternatives --verbose --remove-all 'python' [19:16] same response, too many levels of symbolic links [19:16] I have to say that it is probably a gigantic mistake to use update-alternatives for python; you shouldn't be fiddling with which interpreter gives you python or python2 or python3 or whatever. it's all insanely brittle and you don't need to go around deliberately provoking it :) [19:16] we're removing it. but it shouldn't have been done in the first place, yes. [19:17] yep, I know I messed it up [19:17] aha okay, so this is done in the effort of removing it, not fixing it. cool cool [19:17] can this be fixed with a big pile of rm -f /etc/alternatives/python and so on? [19:19] removing the symlink is just part of it, you'd also need to have update-alternatives unlearn the available 'python's [19:20] whic i think sudo update-alternatives --remove-all python will do [19:21] tomreyn it returns the same: update-alternatives: error: cannot stat file '/usr/bin/python': Too many levels of symbolic links [19:21] danielrc14: what's the output of ls -lah /usr/bin/python [19:22] lrwxrwxrwx 1 root root 24 oct 2 13:46 /usr/bin/python -> /etc/alternatives/python [19:22] danielrc14: what's the output of ls -lah /usr/bin/python2.7 [19:22] -rwxr-xr-x 1 root root 3,4M ago 22 15:43 /usr/bin/python2.7 [19:23] danielrc14: sudo rm /usr/bin/python; sudo ln -s python2.7 /usr/bin/python [19:23] ooh decimal comma [19:24] now if I do python it's python2 [19:24] and its working [19:25] danielrc14: sudo update-alternatives --remove-all python [19:25] update-alternatives: warning: alternative /usr/bin/python3 (part of link group python) doesn't exist; removing from list of alternatives [19:26] danielrc14: ls -lh /usr/bin/python* 2>&1 | nc termbin.com 9999 [19:26] https://termbin.com/m0x1 [19:27] where is this? Not on my installation https://i.stack.imgur.com/0LGWc.png [19:28] oh seems to be some kind of extension [19:28] danielrc14: okay, i guess you're good. [19:28] danielrc14: you still have leftover python3 binaries in place, though, you should reinstall those package, and purge them again [19:29] danielrc14: or you could remove the binaries which dpkg -S /usr/bin/python* cannot attribute [19:30] just leaving unpackaged executables in the path would be bad, since they'll get outdated and become vulnerabilities. [19:31] so, I should do: sudo apt-get install python3, and then: sudo apt-get purge python3? [19:32] danielrc14: start with dpkg -S /usr/bin/python* see if it prints a link "package: file" for every file [19:32] linE, not linK, sorry [19:33] python-minimal: /usr/bin/python2python2.7-minimal: /usr/bin/python2.7python2.7-dev: /usr/bin/python2.7-configpython-dev: /usr/bin/python2-configpython3.5-minimal: /usr/bin/python3.5python3.5-dev: /usr/bin/python3.5-configpython3.5-minimal: /usr/bin/python3.5mpython3.5-dev: /usr/bin/python3.5m-configpython3.6-minimal: [19:33] /usr/bin/python3.6python3.6-dev: /usr/bin/python3.6-configpython3.6-minimal: /usr/bin/python3.6mpython3.6-dev: /usr/bin/python3.6m-configpython3-dev: /usr/bin/python3-configpython3-minimal: /usr/bin/python3mpython3-dev: /usr/bin/python3m-configpython-dev: /usr/bin/python-config [19:33] !paste | danielrc14 [19:33] danielrc14: 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. [19:34] sorry https://paste.ubuntu.com/p/2PsBpwCZF4/ [19:34] learned to copy and paste from xterm then :D [19:35] danielrc14: okay these executable files are all tracked by dpkg, then you should be good. [19:36] cool [19:38] tomreyn so, what should I do now? [19:38] humpled: please save the energy for helping others. [19:39] danielrc14: up to you. enjoy your life, plant a tree, find new friends, something like this maybe. [19:40] danielrc14: is there something you wanted to make work which we did not achieve, yet? [19:40] yeah, I need python3 [19:40] thanks a lot btw [19:41] danielrc14: sudo apt install python3-minimal [19:42] tomreyn that didn't installed anything [19:42] danielrc14: purge and reinstall it [19:47] it returned this when I purged it https://paste.ubuntu.com/p/pX7PJ7xFCt/ [19:48] didn't paste the whole it [19:48] thing* [19:48] you missed the part the errors [19:48] danielrc14: oh my we need yet to fix apt, i guess [19:49] danielrc14: sudo apt -f install [19:49] danielrc14: and post all output, including errors / warnings, please [19:50] I'm trying to run fsck in recovery mode on my /dev/sda1 but I can't because it is mounted. When I try umount /dev/sda1 it says that wont work either. What do? [19:51] tomreyn https://paste.ubuntu.com/p/rrZB2RJpys/ [19:53] @tomreyn Hi Tom, do you think you could help me apply this patch? https://bugzilla.kernel.org/show_bug.cgi?id=195471 @ioria told me I would have to recompile the kernel but I don't know what steps to take to apply this patch, I downloaded yesterday the generic 4.15 one since on this bug report they say pre 4.19 kernels the problem was less, but I am out of ideas of what other things to try with my situation, no keyboard and trackpad laptop [19:53] bugzilla.kernel.org bug 195471 in Input Devices "Keyboard not working after resume with kernel 4.10.5" [Normal,New] [19:56] @tomreyn At the present moment, with some grub commands, I can turn the brightness up/down and wifi on/off with FN key, that is all that works on the keyboard, they both get their IRQ serio: "i8042 KBD port at 0x60,0x64 irq 1", "serio: i8042 AUX port at 0x60,0x64 irq 12" but then it says i8042: Can't write CTR while closing AUX port, i8042: Can't reactivate AUX port [19:57] danielrc14: so py3clean can't be found by the postinst / prerm scripts. is it where it should be? nc termbin.com 9999 < <(which py3clean 2>&1; ls -l /usr/bin/py3clean 2>&1;) [19:57] tomreyn it returned: https://termbin.com/rwb2 [19:58] Gusj: please post all of what you tried so far and information onyour ubuntu installation to the pastebin. but i'm not sure i can personally help anytime soon. [19:58] lordcirth, it turns out to be a problem with my nvidia GPU [19:58] super_koza, interesting [19:58] I have taken it out and was able to boot into the system [19:58] now the question is, how do I install the drivers? :D [19:59] can I do that without the GPU in the PC? [19:59] You can, yeah [19:59] I remember that there was something about nomodeset or something similar... [19:59] I am talking about Nvidia GPU [20:00] You won't be able to get ubuntu-drivers to do it for you, but you can just install nvidia-3xx [20:01] danielrc14: now i'm a little puzzled since py3clean is clearly where it should be, but the scripts still wont find it. if you run alias | grep py does this output anything? [20:02] nope [20:02] danielrc14: cat /var/lib/dpkg/info/python3-distupgrade.prerm | nc termbin.com 9999 [20:03] https://termbin.com/j8ou [20:04] danielrc14: ok, can you remove your python alias python=python3 if that's defined in your users' login scripts (dotfiles), then log out and log in again? [20:06] how do I check that? [20:06] danielrc14: also clean up anything about python* or py2* or py3* there and in /etc/environment. [20:08] danielrc14: you look at them, in a text viewer, such as 'less'. see ~/.*{profile,rc} [20:11] Hi guys. This may sounds ridiculous. But. I've got on old mp3 player. That doesn't sort mp3 files. It displays them in order that was written on FAT32 flash. I've found several FAT sorting utils, but they are not working. So far - can I sort mp3 files in my directory on ext3 partition? So that "ls -U" will shows them in sorted (by filename) order? So that I can write them in this order to FAT32 flash? [20:12] ArthurStrong, you shouldn't have to sort them on ext4, just copy them back in alphabetical order [20:13] lordcirth: how? "cp" doesn't sort them while copying. Nor rsync. [20:14] ArthurStrong, echo * | xargs -n1 -I{} cp ./{} /mp3 [20:14] tomreyn I checked those files I didn't found anything [20:14] er, with a sort in the middle [20:14] lordcirth: ah, OK. thanks for the idea [20:14] ArthurStrong, echo * | sort | xargs -n1 -I{} cp ./{} /mp3 [20:14] I'll log out and in now [20:14] ok [20:15] lordcirth: can I do so for many nested folders, with one-liner? [20:15] ArthurStrong, yeah, you can use 'find' instead [20:16] lordcirth: thanks again [20:16] I just installed ubuntu on my tablet (Linux on Dex) and now I don't have internet. ifconfig shows that I have a wifi IP [20:16] no problem [20:17] Syzygy, I don't believe Linux on Dex would be supported here. [20:17] It's still ubuntu :/ [20:18] There are a lot of Ubuntu-based distros, but they are not ubuntu [20:18] how can I get an on screen numpad? is there a numpad-only layout for the "onscreen" on-screen keyboard? [20:21] @tomreyn Here it is a tried to condense the situation as best as I can, it has been so many false attempts and trials.. https://paste.ubuntu.com/p/rTtFm6rs6v/ [20:23] danielrc14: i'm almost falling asleep here, you may need to continue this with someone elses' help. i suggest you "sudo -i", so that you can temporarily work as the root user, then ensure you can run "py3clean --version" and that it reports it is "py3clean 3.5.1-3" (or at least *some* python 3.x), and you apt install --reinstall python3-minimal then dpkg --configure -a then apt -f --install and share the outputs of these [20:23] commands here with the others. [20:23] oh sorry I totally misread. the OSK is called "onboard". I'll ask my search engine again. [20:26] Gusj: that's a nice summary. but i'm afraid i need to look into this the other day. i've been helping daniel with his broken python installation for a while now. [20:27] @tomreyn No problem Tom I understand, Hope that someone else can help me, if not until next time you are available thank you [20:27] Gusj: if you can't get help with it here now, try also in ##linux [20:28] lordcirth, I'm pretty sure this is still an ubuntu image though. It says so when I do cat /etc/os-release [20:28] Syzygy, respins usually do [20:28] @tomreyn No problem will do that, the crazy thing is that on that bugzilla post, I see some people that had the keyboard working and still had the msg "i8042: Can't reactivate AUX port" === stwalkerster is now known as Oresrian [20:33] still can't find any numpad-only layout for onboard. :( [20:41] Heyo can someone wqlk me through ghost-phisher use on ubuntu [20:42] For research purposes [20:42] when I run fsck it says 0.9% non-contiguous ... how do I fix that? === BrianG61UK_ is now known as BrianG61UK [20:44] Why cant apt-get get frontend lock (says may be in use elsewhere?) [20:46] hackatheos_: try "ps aux | grep dpkg" [20:46] Hey thanks that worked [20:47] I hame the pub key of my notebook in my vps autthorized keys, Yet I am getting permission denied when trying to ssh ... Strange is that it WAS working until yesterday [20:50] hackatheos_, usually this happens when a scheduled task from update-notifier scans for available updates [20:53] Authentication refused: bad ownership or modes for directory /home/username [20:54] fred1807: do you have another user you can ssh as? or some vnc or so [20:54] fred1807: ssh is very particular about permissions on home directory, .ssh directory, authorized_keys file. they must all be perfect. [20:54] OK, secure boot **MUST** be on for NVidia GPUs... [20:56] EriC^^: Yes, I can ssh via web terminal, from google cloud interface [20:56] fred1807: try "stat /home/yourusername" and paste the results [21:08] Access: (0600/drw-------) [21:09] fred1807: it's missing the +x [21:12] how do I add the +x ? [21:12] fred1807: chmod 700 /home/yourusername [21:13] EriC^^: won't he need sudo? [21:14] if he's not logged in as the user yeah [21:15] thank you [21:15] no problem [21:16] even strictmodes no on sshd_config, was enough [21:16] was not enough [21:16] I could not connect until chmod 700 [21:17] fred1807: sshd should be very strict in this case - even on a machine where you hope to be the only user [21:18] especially if you hope to be the only user ;) [21:18] yes, I was just trying to get back on it lol === BrianG61UK_ is now known as BrianG61UK [21:54] good afternoon I have an error in ubuntu I currently have Ubuntu 16.04 and I want to install one of the new versions, I put sudo do-release-upgrade (says that command does not exist) [21:59] PiOjitoh: maybe you don't have ubuntu? [22:00] PiOjitoh: follow https://www.cyberciti.biz/faq/how-to-upgrade-ubuntu-16-04-to-18-04-lts-using-terminal/ [22:00] that should get it done [22:00] Ben64 If I have Ubuntu ._. [22:00] maybe you have mint or another derivative [22:02] tonyt Thanks, I am already updating [22:02] k === mouses is now known as mouseolini === tucked is now known as disi [22:25] Hi [22:25] Nobody asking question?! Okay! I have one! [22:26] I need an extra support on askubuntu, Where can I have it? [22:28] what [22:31] is anyone from askubuntu here? [22:32] this is ubuntu support, not website support. if you have an ubuntu support question, ask it [22:32] askubuntu is a forum, this is irc support [22:34] OerHeks, Thank you for being 10y on IRC, did you celebrate it two weeks ago? [22:35] MasterPiece, yes, 2009 was a great year for ubuntu [22:35] but how can we help you with askubuntu? [22:36] OerHeks, I'm trying to find someone from askubuntu on IRC [22:37] just ask the question already [22:37] Ben64, Yours will be in 3 months, Don't forget to celebrate ;) [22:38] what's your deal [22:39] Ben64, after 9y and 40w! you are asking for meaning of strange yet?! [22:40] Hey, guys, Is anyone from askubuntu HERE?? [22:40] ask the question to find out [22:41] MasterPiece: maybe, why do you ask? [22:42] I want some help to recover my account, I just deleted my email address and cannot get recover instructions via email, but I can prove that I'm the owner of account [22:44] Its also possible to see there is no instruction on YaHoo to recover an deleted account for more than 90 days [22:44] a deleted* [22:44] https://askubuntu.com/contact [22:44] Ben64, are you from askubuntu?! [22:44] That's why it is a bad idea to have yahoo as an email [22:44] MasterPiece: yes [22:45] kadiro, YES! :D [22:46] Ben64, Oh dude! you are very cool! your patience is awful :D [22:46] You need to learn how to use irc to get help [22:46] I suggest this https://workaround.org/getting-help-on-irc/ [22:46] MasterPiece: this may help you http://rurounijones.github.io/blog/2009/03/17/how-to-ask-for-help-on-irc/ [22:51] I know that boring staffs, but the silence of #ubuntu is very very odd! I just want to find out is anybody acting here or not whom I find you guys :D Good to read your messages yet! === mouseolini is now known as mouseleums [22:54] MasterPiece: This channel is for Ubuntu support not askubuntu support [22:55] jeremyb, You have know idea of what I'm talking about :D, [22:55] his Q was valid, i guess [22:56] MasterPiece: Specifically, this is another support medium, like AskUbuntu, to answer questions about Ubuntu as an OS. Please read https://askubuntu.com/contact for how to contact AskUbuntu admins/mods. [22:56] OerHeks: But we're not really able to re-set his account or anything. We can just point him where he should go for that. [22:58] correct, Ben64 gave him a good answer to do so [22:58] but it's really not on topic here ¯\_(ツ)_/¯ [22:59] I'm very happy to hear your sounds, I think we should try to not be like a bot! OerHeks and Ben64 thank you guys for being a human kind alive :)