User1: what is the best way to flip from gnome to xfce?
User1: besides apt-get install xfce?
User2: do you want to keep gnome around though?
User1: I dunno am I getting more hardware accel with it ? https://paste.ubuntu.com/p/9Qf7NnYT7P/
User1: its a cr-48 ;)
User1: first boot was like a doublerainbow lol but then I'm like I want xfce4 (I think)
User2: 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
User1: i do autoremove all the time
User2: i think xfce will work better on that machine
User2: the graphics driver and openGL will be the same
User1: 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/
User1: agreed
User2: maybe there are some fancy transitions/actions/animations in gnome that you might miss
User2: RTL8188CUS
User2: think i had one of these on a usb nobble wifi, it was a pain but worked in the end
User1: this I believe ? sudo apt install xubuntu-desktop
User2: oh wait that is your external, sorry
User1: the wifi works great
User1: just need to disable builtin (somehow)
User1: imma going with lightdm
User1: got a feeling next command will be 'sudo apt remove gnome-desktop -y' ;)
User1: or is it unity-desktop
User3: how can i turn off the system in this situation? https://i.imgur.com/LBFYGuc.png
User3: is there some way to send a SIGKILL to mariadb?
User4: User3 there's a chance ^C will end that wait.. it's been a while since I've seen it though, maybe i"m wrong
User3: nope, sent a bunch of those, did nothing
User3: ^Z didn't do anything either
User4: dang :(
User4: User3 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
User4: User3 it won't help today, but hopefully you're already on the way back up
User3: its still stuck but im going to pull the plug i think
User1: there is no meta gnome-desktop?
User5: !flavors
User6: 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
User5: ubuntu-desktop is gnome-desktop
User5: !info ubuntu-unity-meta
User6: Package ubuntu-unity-meta does not exist in bionic
User5: !info ubuntu-unity-desktop
User6: 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)
User7: is there a simple gui way to disable hardware components in ubuntu?
User7: I've got an internal wifi card that sometimes working and sometimes not.  It is soldered in, so not so easy to remove.
User8: 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. . ."
User8: and it just stays stuck like so. . .
User8: Any ideas.. .is there a way to reset pulseAudio?
User9: 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
User10: !sound | slicktux
User6: User8 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.
User10: User9 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
User11: 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)
User10: User9 from a healthy apt as base, you can try again with mysql
User9: User10 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?
User11: slicktux, `pulseaudio -k ; pulseaudio --start`
User11: no sudo
User9: User10 actually, wait. I think I might require MariaDB for Laravel...
User10: User9 try first to fix your apt, with bringing back your sources to default again
User10: !ppapurge | arakash
User6: User9 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:<repository-name>/<subdirectory> Â» â For more information, see http://www.webupd8.org/2009/12/remove-ppa-repositories-via-command.html
User10: User9 after fixing apt, apt-cache search mysql, to see whats available from your ubuntu version
User9: Alright
User10: !lamp | arakash see also
User6: 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.
User11: slicktux, I suggest removing tsched=0 in your /etc/pulse/default.pa too
User9: Where can I find the repo I'm getting MariaDB from? /etc/sources.list ?
User8: thank you doug16k
User8: and thank you lotuspsychje
User8: o/
User10: !sources | arakash
User6: User9 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.
User10: User9 usually when adding a ppa, you need to remember the ppa format/name of the maintainer you added
User9: I think I got this, thanks Lotus!
User12: How is this explained? ufw status => Status: inactive, dmesg => [UFW BLOCK] IN=eth0 OUT= MAC=bd6c:f4c4:4f6:c742:59d8:35db:68f6:4d5f:d9:c5:ae:4a:08:00 SRC=...
User12: How can UFW still be blocking things when I've ran `sudo ufw disable`?
User10: morning alkisg
User12: Morning lotuspsychje, how are things? :)
User10: User12 you could try the #netfilter channel too if you like mate
User10: User12 always great on this side, tnx
User12: Sure, ty
User13: 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?
User14: If my laptop supports hybrid video (Intel integrated GPU + NVIDIA GeForce MX150), how do I tell which GPU is currently active?
User14: And for some reason, before installing the nvidia proprietary drivers, nouveau would cause a kernel panic when I unplug the external monitor.
User14: After installing the nvidia proprietary drivers, /sys/kernel/debug/vgaswitcheroo/ is simply gone.
User15: User14 that's probably because vgaswitcheroo can only switch between graphics drivers using the intended APIs
User15: 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)
User15: * nouveau + monitor unplug
User15: User14 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
User15: i think it's called nvidia-settings
User16: i am not getting notification audio bell/beep .  xubuntu 18.04
User17: 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.
User17: I do have USB-c
User17: If I have Ubuntu 18.04 with the hardware enablement pack, connecting a screen using HDMI -> USB-c adapter should work right?
User17: Do I need to install something else?
User15: User16 not sure about xubuntu, maybe ask in #xubuntu. in default ubuntu (gnome-shell) you would configure it in settings -> sound -> sound effects -> alert volume
User18: User17 you mean usb-c to hdmi?
User16: i asked already in #xubuntu .
User19: User16 hold on
User16: ok
User19: need to remember how do i set it up... xubuntu, right?
User16: yes
User16: bionic
User15: i think pcspkr was the wrong path to solve this, if your goal is to make it work on virtual terminals on the GUI.
User19: User16 a bit of patience please
User16: sure :)
User15: Regor + User19 https://wiki.archlinux.org/index.php/Xfce#Sound_themes
User19: i mean the certain beep sound file
User16: ok
User19: i know i modified/looked it up somewhere in /etc or /lib
User19: pa-something startup script
User16: ok i check details
User19: User16 oh i have it, you need your beep sound as "/usr/share/sounds/alert-sound.ogg"
User16: ok
User17: Ben64, I mean I connect to the screen with HDMI but to the computer with USB-c
User20: mysql_upgrade: Got error: 1045: Access denied for user 'root'@'localhost' (using password: NO) while connecting to the MySQL server
User20: what do to?
User20: all google hits has with "using password: YES"
User21: 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
User21: zamba perhaps your password is incorrect
User20: this is when upgrading mysql
User20: User21 it's not
User20: # mysql
User20: Welcome to the MySQL monitor.  Commands end with ; or \g.
User20: User21 but maybe the upgrade script uses a different set of credentials?
User21: zamba have you set a password for root?
User20: User21 yes
User16: User19 i see folders in /usr/share/sounds/  alsa  freedesktop  sound-icons  speech-dispatcher
User21: zamba try to enter mysql as root then
User21: with like
User21: mysql -u root
User19: User16 get a sound you like, convert it to ogg (you can google wav or mp3 to ogg online)
User20: User21 i just showed you the output of that
User19: and copy/link to /usr/share/sounds/alert-sound.ogg
User21: zamba you should me the output of mysql, not mysql -u root
User20: User21 same output
User16: rud0lf thanks :)
User20: User21 i'm able to log in
User22: User21 `apt show wkhtmltopdf`
User21: vlt the follow up issue here is that i dont have ubuntu installed so im hoping one of you beautiful people can check
User19: User16 that's my alert sound if you're too lazy or want to quickcheck: https://pub.leopard.ovh/alert-sound.ogg
User16: :D
User23: 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?
User22: User21 LOL 16.04: Version: 91.69.162.6-1, 18.04: Version: 0.12.4-1, Debian 10: Version: 0.12.5-1
User21: vlt thanks homie :)
User17: Ben64, ?
User22: User21 You're dwelcome.
User18: User17 ?
User17: " I mean I connect to the screen with HDMI but to the computer with USB-c"
User17: Should be fine right?
User18: ok, then maybe
User17: So I should buy the monitor and the adapter and keep my fingers crossed?
User18: maybe check reviews
User18: see if they work in linux
User17: Yeh there's not much online besides that the patches for that were merged in 4.19
User24: hi
User25: 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?
User26: 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'
User26: Set it left again with this command: 'gsettings set org.gnome.shell.extensions.dash-to-dock dock-position LEFT', if you regret it
User27: 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?
User19: crontab may run it in different context
User19: i mean environment
User27: i don't understand
User27: shouldn't the absolute paths make it work still
User27: oh you mean crontab itself may not even be running in current environment?
User27: or something?
User19: yes
User19: not in your session
User28: might be a pulseaudio thing - cron isn't running in the same session as PA
User27: oooo
User27: well fuck i wonder how to fix that
User29: you can test this by running a script every seconds that just outputs 1.txt, 2.txt, ...
User29: you should see those files being written
User28: 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
User28: (as an aside the /1 i your crontab entry is redundant)
User27: whoopsies!
User27: sorry internet choked
User30: The Internet choked when it read the profanity.
User27: heh
User30: :-)
User27: 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
User27: i'm trying to make it like a casio watch hehe
User31: raspbian or ubuntu runs better on a raspberry pi 4?
User27: also hilariously i have ac power pluggedin but to install some firmware updates Ubuntu Software demands i use ac power
User27: i wonder if this has to do with the battery firmware haha
User27: ooh it installed after it charged enough interesting?
User28: User27 if you can figure out how to have cron make noise, "0,30 * * * *"
User28: User27 what was the last thing you saw in here before you disconnected?
User27: 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
User27: me saying " well fuck i wonder how to fix that" mquin
User30: *choke*
User27: no swear zone?
User30: No idea HAHA
User28: 09:32Z < zmagii> you can test this by running a script every seconds that just outputs 1.txt, 2.txt, ...
User28: 09:33Z < zmagii> you should see those files being written
User28: 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
User28: 09:34Z < mquin> (as an aside the /1 i your crontab entry is redundant)
User32: User27 we try to keep this channel family friendly, see the !guidelines
User27: okee
User27: ah gosh nevermind i guess this is trickier than i thought
User27: thanks tho
User33: Hello, is there anything other than rambox for using skype + hangouts or just hangouts?
User34: Howdy al
User34: err, Howdy all
User11: 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)`
User11: every one of them is in the wrong directory, pkg-config gives the wrong -L options (library directory search path)
User11: no -L options actually. so what use is the pkg-config if I hardcode the library path?
User35: why are you trying to hardcode library paths?
User11: I'm not
User35: when the libraries are in the standard locations you don't need -L options
User11: not true
User11: gcc isn't searching /usr/lib/x86_64-linux-gnu at all
User36: User11 what are you trying to do exactly ?
User11: 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
User35: check the argument order, it matters: libraries must come after objects that use those libraries
User35: https://wiki.ubuntu.com/ToolChain/CompilerFlags#A-Wl.2C--as-needed
User11: mgedmin, how? reimplement pkg-config?
User35: so you need to invoke gcc $(pkg-config --cflags) -o hello hello.c $(pkg-config --libs)
User35: and not gcc $(pkg-config --cflags) $(pkg-config --libs) -o hello hello.c
User36: which gtk3 program ? the software project should come with an autoconfigure/Makefile environment which automates all that jazz reliably
User11: legreffier, one that I am going to write
User36: you should definitely dig on that side, other you (+ your users/packagers) will have a really bad time.
User37: would you like to ask #gcc ?
User11: weird, it started working, I don't see what I changed though
User11: thanks
 * tomreyn thinks #ubuntu is not the right place for software development questions
User11: it's a "why is ubuntu's stock gcc not searching /usr/lib/x86_64-linux-gnu" question. that's why I asked here
User11: because I know ubuntu patches 99999 things in gcc and binutils :D
User38: what is the best mail app. evolution,thunderbird or something else ?
User38: for who coming from outlook
User35: I use mutt, which would be terrible for somebody coming from outlook...
User35: I have the impression that Evolution is the one most similar to Outlook in features and UI
User10: please take the advice from tomreyn
User38: 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 ?
User10: User38 we dont take polls here, just ubuntu support questions
User15: User38 i'm not aware of a desktop mail application which can search through binary format attachments.
User39: hello, ubutuers
User39: questions related to Juju, should be posted here or in another channel?
User32: User39 try #juju
User25: how do I move the app dotted button to the left side when I have my dock at the bottom?
User40: Vooloo, gsettings set org.gnome.shell.extensions.dash-to-dock show-apps-at-top true
User41: 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
User41: ptroot: line 1: /lib/cryptsetup/askpass: not found sbin/cryptsetup: not found
User41: please help, how to get prompt back?
User35: hmm, apt purge grub-common seems very unnecessary in that answer
User35: I've one machine with luks, let me check if its grub config has anything special
User35: no
User41: and i have checked for  /lib/cryptsetup/askpass: not found sbin/cryptsetup:   , they do exist when i am in live usb
User42: 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...
User42: 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...
User41: mgedmin, yes i also checked another pc with luks, and dont see anything different in /boot
User35: User41 it needs to exist in the initramfs -- check lsinitramfs /mnt/initrd.img
User42: 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?
User39: User32 thx
User35: User41 can you check if cryptsetup-initramfs was installed in your system?  e.g. ls /mnt/var/lib/dpkg/info/cryptsetup-initramfs.*
User35: (or chroot and do the usual apt policy cryptsetup-initramfs)
User41: should i do lsinitramfs /mnt/initrd.img  on the live usb ?
User43: hi guys i am new to linux, i was wondering if this video is good start to get my feets wet ?
User43: https://www.youtube.com/watch?v=wBp0Rb-ZJak&t=5167s
User41: mgedmin, should i do lsinitramfs /mnt/initrd.img  on the live usb ?
User41: mgedmin, right now im chrooted into /mnt
User35: the important thing is to lsintramfs the /initrd.img in the chroot
User41: mgedmin, i did lsinitramfs /mnt/initrd.img inside the chroot,  and im getting /usr/bin/unmkinitramfs cannot open /mnt/initrd.img no such file
User41: mgedmin, why is it giving that error? anything else i can try?
User35: User41 because you didn't read what I said: the path is /initrd.img in the chroot (and /mnt/initrd.img outside the chroot)
User35: 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.*"
User35: which also assumed a shell outside the chroot, so remove /mnt from the path before you try it
User35: (or chroot and do the usual apt policy cryptsetup-initramfs)
User41: sorry mgedmin i did that now, and it listed a very long list
User41: inside chroot
User35: I'm sorry, I'm not being explicit enough
User35: you had an error "/lib/cryptsetup/askpass: not found"
User35: I suggested you check if that file existed inside the initramfs image with lsinitramfs
User35: since the output is long and manually looking for it would be a pain
User35: try lsinitramfs /initrd.img | grep askpass
User41: ok let me try grepping for it
User35: I'm expecting it will produce no output because the file isn't there, like the error said
User35: but this allows us to be methodical and verify everything (grub might have used the wrong initramfs image maybe)
User41: mgedmin, yes you're right, no output. file not there
User35: right, so next question is: is the cryptsetup-initramfs package installed
User41: ok one sec
User35: (the askpass binary comes from the cryptsetup-run package, but cryptsetup-initramfs is responsible for copying it into the initramfs image)
User41: 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
User35: User41 apt install cryptsetup-initramfs
User41: mgedmin, says unable to locate package
User35: User41 what ubuntu version do you have?
User35: doh, it was added in 18.10; how was the initramfs configured in 18.04???
User41: 18.04 but its xubuntu (not that it makes any difference)
User35: the test system I have is 19.04
User41: i dont know how initramfs was configured in 18.04 ?
User35: ok, I have an 18.04 system (which doesn't use LUKS, but has the cryptsetup packages installed)
User35: /lib/cryptsetup/askpass is shipped by cryptsetup itself, and copied into the initramfs by ...
User35: ... the script shipped by cryptsetup itself, once again
User35: specifically, /usr/share/initramfs-tools/hooks/cryptroot
User35: so, uh, weird
User35: ok, if you do update-initramfs -u -k all (inside the chroot)
User35: and then check lsinitramfs /initrd.img | grep askpass again
User35: will you see that the askpass was correctly installed?
User41: 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
User41: mgedmin
User35: do you have a /etc/cryptsetup-initramfs/conf-hook ?
User35: does it have any uncommented lines in it?
User35: oh, I should've asked before -- when you do the update-initramfs, you don't see any errors or messages mentioning cryptsetup?
User41: mgedmin, yes all lines are uncommented in conf-hook
User35: that is very strange, all lines are _commented_ in mine
User41: mgedmin, i see errors about the live USB that is inserted only
User41: sorry i meant all lines are COMMENTED out.
User35: heh
User35: what does your /etc/crypttab look like?
User41: mgedmin, crypttab has only one line of the drive with its uuid none luks,discard
User35: 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
User35: 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
User35: and set it to CRYPTSETUP=y
User35: and then ran update-initramfs -u -k all
User35: and then checked if initramfs has what it needs
User41: mgedmin, ok that worked. askpass is there now.
User35: try rebooting?
User41: oh mgedmin thank you im back in. but i dont understand what we just did
User41: did we basically force cryptsetup to run inside initramfs?
User41: mgedmin, must i also revert the CRYPTSETUP=y back to what it was or leave it that way for good?
User35: leave it, it won't hurt
User35: as long as you use LUKS for your root partition, initramfs needs to have cryptsetup in it
User35: for some reason the autodetection didn't work and I don't know why
User35: maybe because you ran update-initramfs in the live session?
User44: what is the discussion channel again for ubuntu?
User44: #ubuntu-discussion?
User10: !discuss
User6: 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!
User35: maybe you can comment it out and run update-initramfs in your main system and then it'll autodetect correctly?
User35: but why risk it, if it works now
User44: ty
User41: mgedmin, do you mean if i did it in the live session as in the Live USB session before chrooting?
User41: mgedmin, because i did. do you think that caused an issue?
User41: mgedmin, if i do it in the main system now, how would i know it worked if askpass is already there??
User35: update-initramfs re-creates the initramfs image, so you could do the check with lsinitramfs|grep askpass again
User35: (and if it's missing, you can restore the CRYPTSETUP=y workaround and update-initramfs again)
User41: 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.
User35: so autodetection works if you run update-initramfs after booting the full system, but not when you do it from a live session
User35: 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?
User35: otoh the hook parses /etc/fstab in the chroot, not /proc/mounts, so it should figure things out
User35: I don't think I can reason this out from first principles
User41: 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.
User41: im going to save some time here and just blame the issue on the live session. lol
User41: mgedmin, thank you so much!! appreciate your help.
User45: hi, how often i must update ubuntu on personal pc?
User45: or i can off update?
User46: User45 you should try to stay current with the latest LTS release which is every 2 years. Or at least every other.
User10: User45 when updates are out= update
User47: @leftyfb Thank you, what happens if you update and something breaks, how can you undo it?
User46: User47 depends on what broken and how
User46: User47 there is no "undoing" an install
User46: install/upgrade of the OS/release
User47: @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?
User14: Odd, I'm trying to build tmux 2.9a from source but I can't find the `aclocal` command.
User14: (which is required in tmux's autogen.sh script.
User15: 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)
User15: User47 ^
User15: User47 if you prefer GUIs, you can do this using synaptic.
User47: @tomreyn Thank you Tom, copied it and put it in my notes..
User46: User47 lets stick with problems you actually have. Not the infinite amount of problems you could possibly have
User48: 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.)
User47: @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,
User15: User47 general documentation is available at https://help.ubuntu.com/
User46: User47 what exactly is the current problem you have?
User40: k_sze, automake ; Gusj what's the laptop model ?
User47: @ioria Toshiba Satellite C55-A5105
User14: ioria, odd, it's not listed: https://packages.ubuntu.com/search?searchon=contents&keywords=aclocal&mode=exactfilename&suite=bionic&arch=any
User14: ioria, but indeed, installing automake gets me aclocal.
User40: Gusj, and please state again the problem and if the kb works in a livecd
User40: k_sze, ok
User15: User48 see the description of the -regextype option in the find(1) man page
User47: @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
User48: tomreyn, Ah, thanks. Didn't know you need to specify regextype first
User46: User47 How do you install without a keyboard?
User40: ^
User47: @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
User47: y it?
User6: bugzilla.kernel.org bug 195471 in Input Devices "Keyboard not working after resume with kernel 4.10.5" [Normal,New]
User47: @leftyfb with usb and mouse keyboard
User46: User47 have you confirmed in the BIOS that the keyboard actually works at all?
User15: User48 you don't need to specify it, but it provides choice on the type / implementation of regular expressions you prefer.
User47: @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
User48: tomreyn, Thanks. It's sad I can't use ECMAscript Regex.
User47: @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
User47: @leftyfb really check the bios thoroughly, and did a reset of the machine as well, with power button press x amount of time, etc..
User40: Gusj, that toshiba is quite  old ; odd that the kb does not work at all
User15: User48 i don't know which implementation ECMAscript uses. Does it actuall yhave its own, or does it just reuse one of the other ones?
User47: @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
User15: User48 i guess the most classic one would be perl's
User49: Helo can someone help me with recovering encrypted home dir
User47: @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
User15: User47 i don't have time to look into this currently, maybe in ~ 5 hours if you'll still be around
User47: @ioria here is the link of the BUG and PATCH  :    https://bugzilla.kernel.org/show_bug.cgi?id=195471
User6: bugzilla.kernel.org bug 195471 in Input Devices "Keyboard not working after resume with kernel 4.10.5" [Normal,New]
User47: @tomreyn Thank you Tom no prob, I really appreciate it :)
User40: Gusj, have you read the last comment in that bug report ?
User40: Gusj, and that looks like a suspend issue
User47: @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
User40: Gusj, 'After resuming the laptop, the keyboard is not working anymore', it means it normally works
User49: I am trying to recover an encrypted home dir but i think i have an issue with keyctl can someone help?
User40: Gusj, i don't think it's your same problem
User47: @ioria Ahh you think it is not related to this, I thought that maybe would be good to try?
User50: Why am I seeing different results from du and right clicking on a directory? Results: https://imgur.com/a/k1wWkfH
User15: User49 i don't have time to guide you noe, but look into ecryptfs-recover-private
User40: Gusj, sounds to me (apparentl) a bios issue
User49: I have done that before.
User47: @ioria inside the bios, the laptop keyboard and trackpad work PERFECTLY
User49: I got to this point yesterday. there was a command to stop their being an issue with ecryptfs-recover-private not importing a key.
User15: <TJ-> User49 you may also need to do, prior to ecryptfs-recover-private, "sudo keyctl link @u @s"
User40: Gusj, i read that, yes
User15: User49 make sure you take notes.
User15: !ecryptfs | Guest_8
User6: User49 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.
User49: success! thank you
User47: @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
User47: @ioria which I did
User47: @ioria ITs a Toshiba ACPI Daemon for Linux,
User40: yeah
User40: Gusj, can't you find a way to disable it in bios ?
User47: @ioria but I did not reinstall the generic kernel after stopping the service is that something I could try?
User40: Gusj, can't you find a way to disable it in bios ?
User47: @ioria The Special keys and put the keyboard to just norlam f1-f12?
User47: @ioria there is a function inside the bios to turn of Special keys, should I try that and boot in the 4.15 kernel?
User47: @ioria have tried that before to no effect, but with the current main kernel, not the generic one
User40: Gusj, paste cat /proc/cmdline
User47: @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"
User40: sy, brb
User47: @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
User47: @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..
User47: @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
User47: @ioria will try to turn of special keys in bios now and boot into the 4.15 to see if there is a difference
User47: @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"
User47: @ioria Do you think to install that patch just to see if it has any effect on the situation?
User51: 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
User40: Gusj, try first to reset the bios to defaults
User51: any hints?
User47: @ioria already tried that to no effect :(
User4: User51 two guesses, first I think those conf files need to end with .conf second check dmesg or auditd logs for apparmor denials
User40: Gusj, did you install in efi mode ?
User47: @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?
User47: @ioria I only see those two (2) options, UEFI and CSM
User40: 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
User40: Gusj, and disable Secure Boot, if any
User47: @ioria thank you will try that right now, Secure boot has always been off
User51: User4 no dmes info, but seems to be apparmor, because if I move the configuration to /usr/share/apache2 it works
User51: User4 is there way to include my directory to the apparmor allowed paths?
User4: User51 sorry, that took me a lot longer to track down than I expected..
User4: User51 the /etc/apparmor.d/usr.sbin.apache2 profile has an #include <local/usr.sbin.apache2> 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,
User47: @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
User47: @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/
User47: @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
User47: @ioria  ACPI BIOS Error (bug): Could not resolve [\_TZ.THRM]etc.... and kernel: ACPI Error: Method parse/execution faileetc....
User40: Gusj, honestly no idea
User47: @ioria Can we try to apply that patch to see??
User40: Gusj, the patch you're talking about requires to recompile the kernel
User47: @ioria can we do it on the generic one the 4.15xxxx so as not to do it on the main one?
User52: Is this the right channel to ask question about troubleshooting apt?
User40: Gusj, no, you need the source
User4: User52 quite possibly
User52: have a strange issue with apt being unable to find packages on a disconnected mirror.
User47: @ioria ahh I see.. I do not know how to do that :(
User52: 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
User51: User4 I don't have such file /etc/apparmor.d/usr.sbin.apache2
User4: User51 hmm. what does aa-status report? are you sure apache2 is confined by apparmor?
User51: User4 not included in the list
User40: Gusj, can i suggest the #linux channel ?
User4: User51 ah
User47: @ioria I thought it was a script that one ran..
User40: nope
User47: @ioria thank you, could you later on if you are still here please guide me into applying this patch?
User40: Gusj, i told you you need to recompile the kernel
User47: @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
User47: @ioria trying to learn and this bug has been quite a learning experience as a beginner challenge, someone coming back to Linux
User40: Gusj, you can start here : https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel
User52: any hints on troubleshooting apt and apt-get??  sudo apt-get -o Debugbd6c:f4c4:4f6:c742:59d8:35db:68f6:4d5fpkgProblemResolver=true -o Debugbd6c:f4c4:4f6:c742:59d8:35db:68f6:4d5fquirbd6c:f4c4:4f6:c742:59d8:35db:68f6:4d5fhttp=true -f install isn't giving any info
User4: User52 pastebinning the command you run and output you get is a good start
User47: @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
User40: Gusj,  no problem
User52: @sarnold will get it together
User25: where has xorg.conf gone in 18.04?
User52: apt troubleshooting help - https://pastebin.com/AWiVWUew
User52: @Vooloo I only have the example in /usr/share/doc/xserver-xorg-video-intel-hwe-18.04/xorg.conf
User53: Hey, anyone using the chromium beta with hardware acceleration enabled from the ppa saiarcot895/chromium-beta?
User4: User25 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
User40: Vooloo, ls ~/.local/share/xorg/
User4: User52 have you apt update on this machine yet?
User52: sarnold yes
User4: User52 is this an amd64 machine? if not, do you have the architecture on your mirror?
User52: yes .. it's an amd64 machine, not using the i386
User52: and tried --allow-unauthenticated
User52: but the weird part is older hosts ( deployed a month or so ago ) work fine
User52: both working and broken are using the same /etc/apt/sources.list
User4: User52 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
User4: what's apt policy show for neovim on both the good machines and bad machines?
User52: just showing I can pull the package from the repo
User52: with wget
User52: also this is a fresh install from ubuntu-18.04.3-desktop-amd64.iso
User52: sarnold the output of apt policy neovim on the working machine is as expected
User52: sarnold the output on the broken machine is "N: Unable to locate package neovim"
User4: User52 alright good good, how about grep neovim /var/lib/apt/lists/* ?
User54: why does ubuntu ship libre office? it's so troll
User54: 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
User54: and it's writing for me in greek
User52: sarnold on the broken machine neovim doesn't exist and the working machine is exists in multiple files.
User54: https://i.imgur.com/SwktUR6.png
User54: the trolls from libreoffice team fulfilled their purpose I am mad lol
User55: I would join #libre-office and ask about that. It probably thinks you are changing languages to greek.
User4: User52 alright, so lets find out why .. ls -l on those files? maybe pastebin the apt update output, to see if there are errors there..
User54: any idea on why i cant copy paste unicode on bionic? https://i.imgur.com/SwktUR6.png
User52: sarnold getting the info together, but see where your going.  apt update is not downloading the repo data from the ubunturepo
User54: installed gnome manually from cli
User54: i have the unity bar but it's gnome
User4: User54 that just looks like whatever font that is doesn't have a glyph. try installing a bunch more fonts?
User54: one particular that supports unicode? sarnold
User15: most do. Liberation Serif is one.
User54: how do I set it as a system font?
User15: where did you copy the alpha character from?
User4: User54 fonts-noto maybe?
User54: the libreoffice document that shows it fine tomreyn
User15: that's a .docx file. maybe in a different character encoding?
User15: https://i.imgur.com/jNO0BAO.png
User15: works fine on my 18.04
User54: I'm bionic too but i installed stuff manually
User54: 91.69.162.6 too
User15: "installed stuff manually" may be the issue then
User15: or the file you copy pasted from
User54: does fonts-noto replace the system font by default?
User15: there's the "Inster" -> "Special character" menu also
User54: sarnold
User15: there's the "Insert" -> "Special character" menu also
User15: you can also press ctrl-u, then type 251 and space to insert the alpha character (as seen on the special characters menu)
User54: thank you
User4: User54 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
User54: well rebooting to find out thanks
User54: uhh guys
User54: rebooted after installing fonts-noto and this is what firefox looks like now https://i.imgur.com/x1PgEjJ.png
User56: hello, I broke python in ubuntu because I messed around with update-alternatives, I can't even access the terminal
User52: sarnold all repo's are coming back Ign: .. https://pastebin.com/gLPDt0Fw
User54: apt remove python* ? danielrc14
User56: I open x term, executed python, and it says that /usr/bin/python3 was not found
User4: User54 firefox does similar for me when I resize monitors, a quick fullscreen and back usually sorts it out
User56: the python2 command is safe though
User54: woooooooooooooow magic sarnold
User4: User52 Ign:44 http://ubunturepo.scloud.net/ubuntu bionic-updates/multiverse i386 Packages
User56: mendi are you sure that would work?
User4: User52 note that there's about 50 instances of i386 on that page, are you SURE that it's an AMD64?
User56: isn't purge better?
User56: will I break anything if I remove or uninstall python?
User52: well uname -a tesll me x86_64
User52: sarnold uname -a tesll me x86_64
User4: User52 and does dpkg-architecture agree?
User54: no luck with fonts-noto, https://i.imgur.com/2E7GVdL.png app is anki
User52: sarnold that's in the dpkg-dev package
User56: can I just do apt remove python and then install it again?
User15: User54 did you try the keyboard combo?
User54: python3*
User4: User52 aha, how about dpkg --print-architecture ?
User15: User56 removing python2 will break apt, don't do it
User54: apt supports asterisk afaik
User56: I just want to remove python3, that's the broken one
User52: sarnold dpkg --print-architecture returns amd64
User4: User52 curious. I wonder why it's all i386 in the output. pastebin your sources?
User56: sudo apt remove python3* returned "no matches found: python3*"
User4: User52 sometimes an [arch ...] line of some sort can modify what arches are retrieved from mirrors
User15: User56 first make sure alternatives are set properly for python (pointing to python2), then use apt to purge '*python3*'
User56: the "python" command is pointing to python 3
User54: wtf tomreyn that worked
User54: the alpha in the document is not really greek alpha
User52: sarnold well that is weird.. cause I scp'd the /etc/apt/sources.list from a known good machine, working on the pastebin
User56: when I write "python" it says "bad interpreter: /usr/bin/python3: no such file or directory
User15: User56 which ubuntu release is this? lsb_release -ds
User56: that command fails too, it says /usr/bin/python3: no such file or directory
User56: I'm in ubuntu 16.04
User4: User56 here's what I've got on disco http://paste.ubuntu.com/p/vYp5mWNW3C/ and on bionic http://paste.ubuntu.com/p/HbXDhtvk4w/
User4: oh..
User4: wow, my 16.04 lts machine doesn't have bellcharles@example.org. funny.
User15: User56 grep ^PRETTY /etc/os-release
User56: PRETTY_NAME="Ubuntu 16.04.5 LTS"
User52: sarnold ok.. I added [arch=amd64] to all the sources line and it worked
User15: User56 ls -l /etc/alternatives/*python* 2>&1 | nc termbin.com 9999
User52: sarnold how can I automate this workaround
User52: sarnold seems that an install is pinning to i386, I can blow this box away and see if I can recreate the issue
User4: User52 strange; I'm not sure where else apt would have decided to use the wrong arch :/
User56: tomreyn it returned "https://termbin.com/tfeh"
User15: User56 so that'S the alternative option you added, i assume?
User56: nope, let me get the commands I wrote
User56: sudo update-alternatives --install /usr/bin/python3 python /usr/bin/python 10
User56: sudo update-alternatives --remove python /usr/bin/python
User56: then again: sudo update-alternatives --install /usr/bin/python3 python /usr/bin/python 10
User52: sarnold let me try to recreate the problem to make sure it's not just something dump i did in testing.
User56: and then: sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10
User52: sarnold  will report back thank you for guiding me to the problem!
User56: after that I couldn't even start the terminal
User4: User52 cool, good luck, happy hunting :)
User56: I thought I knew what I was doing, but I obviouslt wasn't :(
User41: 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
User15: User56 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.
User15: User56 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
User56: tomyreyn: https://termbin.com/xqsq
User56: that's all it returned
User15: User56 hmm either i missed to quote properly or you didn't paste proeprly.  give me a minute
User15: 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
User15: oh wait you have aliases as well
User56: yep
User15: alias | grep python | nc termbin.com 999
User41: did i mention i also lose grub in the process when running update-grub from main system? yea that too
User15: alias | grep python | nc termbin.com 9999
User15: User56 the latter place
User56: https://termbin.com/v0n1
User56: :(
User15: User56 can you unset the "python" alias for now?
User56: how do I do that?
User15: User56 unalias python
User56: done
User15: then verify it's gone:  alias | grep python
User56: I had another alias, and I unaliased that too just in case
User56: now alias | grep python doesn't return anything
User15: User56 so now:  which python python2.7 python2 python3.6 python3 2>&1 | nc termbin.com 9999
User56: it still returns a termbin url, should I check other aliases?
User15: User56 no, please show the url
User56: https:termbin.com/vbi0
User56: https://termbin.com/vbi0, sorry
User56: I can't copy from x term
User57: 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".
User58: super_koza, you may need to disable/change Secure Boot settings
User15: User56 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)
User15: User56 here's the expected output: https://termbin.com/13k5
User41: 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?
User57: lordcirth, I alredy had a dual boot setup, so the secure boot option is disabled.
User58: super_koza, ok. Did you download the 18.04.3 ISO?
User56: ctrl-shift-c doesn't work in my x term
User15: User56 so you're missing "python" and "python3" currently
User57: I was googling a bit and people were writing that the kernel seems to be doing the key checks even though it shouldn't.
User57: lordcirth, I think I did. I downloaded the current version available from the website.
User58: super_koza, I did find this: https://bugzilla.redhat.com/show_bug.cgi?id=1497559
User6: bugzilla.redhat.com bug 1497559 in kernel ""MODSIGN: Couldn't get UEFI db list"" [Unspecified,Closed: currentrelease]
User15: User56 then just mark text to copy and middle mouse key to paste
User58: Fixed in 4.15.10, apparently
User58: super_koza, can you link me to the exact ISO you downloaded?
User56: it worked
User56: so what do I do now?
User57: lordcirth, ubuntu-18.04.3-desktop-amd64.iso
User57: 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.
User58: super_koza, I'm booting that ISO now to get the kernel version
User41: 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
User57: lordcirth, I guess I could get a newer version of Ubuntu... :D
User40: lordcirth, should be linux-image-5.0.0-23-generic
User57: Unfortunately I have no idea what version I used to jave...
User58: super_koza, ioria indeed it is
User41: could anyone please help? thanks
User58: So it's probably not this same bug.
User15: User56 you need to remove all python* alternatives.
User58: 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?
User56: how do I do that?
User15: User56      ls -l /etc/alternatives/*python*     should return nothing
User58: super_koza, if that fixes it, then you should look into filing an Ubuntu bug.
User15: User56 you can use the update-alternatives utility. it has a man page. do you know what man pages are, yet?
User15: !man | danielrc14
User6: User56 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/
User15: User56 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
User56: so, it would be "update-alternatives --remove-all python*", right?
User57: I'm so sad because of this. Damn, I had a working and up-to-date system...
User15: User56 with sudo probably, and i'm not sure it will work like this, but do try it.
User15: User56 there's also --verbose
User15: User56 so i suggest you try:   sudo update-alternatives --verbose --remove-all 'python*'
User15: User56 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
User56: tomreyn update-alternatives: error: no alternatives for python*
User40: super_koza, 'MODSIGN: Couldn't get UEFI db list ' should not be fatal ('cause i get it too in my dmesg)
User15: User56 so this error message suggests that update-alternatives does not know how to interpret the asterisk. you will need to specify the targets individually
User56: btw, the ls command you said returned this: lrwxrwxrwx 1 root root 15 oct  2 13:46 /etc/alternatives/python -> /usr/bin/python
User15: User56 so "python" is an alternative 'name' you want to remove
User15: ... from the alternatives system
User56: so it should be: sudo update-alternatives --verbose --remove 'python' '/usr/bin/python'?
User15: User56 you can try this, or you can remove the 'python' group from the alternatives system entirely.
User56: User15 update-alternatives: error: cannot stat file '/usr/bin/python': Too many levels of symbolic links
User15: User56 try this: sudo update-alternatives --verbose --remove-all 'python'
User56: same response, too many levels of symbolic links
User4: 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 :)
User15: we're removing it. but it shouldn't have been done in the first place, yes.
User56: yep, I know I messed it up
User4: aha okay, so this is done in the effort of removing it, not fixing it. cool cool
User4: can this be fixed with a big pile of rm -f /etc/alternatives/python and so on?
User15: removing the symlink is just part of it, you'd also need to have update-alternatives unlearn the available 'python's
User15: whic i think     sudo update-alternatives --remove-all python    will do
User56: tomreyn it returns the same: update-alternatives: error: cannot stat file '/usr/bin/python': Too many levels of symbolic links
User15: User56 what's the output of    ls -lah /usr/bin/python
User56: lrwxrwxrwx 1 root root 24 oct  2 13:46 /usr/bin/python -> /etc/alternatives/python
User15: User56 what's the output of    ls -lah /usr/bin/python2.7
User56: -rwxr-xr-x 1 root root 3,4M ago 22 15:43 /usr/bin/python2.7
User15: User56 sudo rm /usr/bin/python; sudo ln -s python2.7 /usr/bin/python
User59: ooh decimal comma
User56: now if I do python it's python2
User56: and its working
User15: User56 sudo update-alternatives --remove-all python
User56: update-alternatives: warning: alternative /usr/bin/python3 (part of link group python) doesn't exist; removing from list of alternatives
User15: User56   ls -lh /usr/bin/python* 2>&1 | nc termbin.com 9999
User56: https://termbin.com/m0x1
User25: where is this? Not on my installation https://i.stack.imgur.com/0LGWc.png
User25: oh seems to be some kind of extension
User15: User56 okay, i guess you're good.
User15: User56 you still have leftover python3 binaries in place, though, you should reinstall those package, and purge them again
User15: User56 or you could remove the binaries which     dpkg -S /usr/bin/python*     cannot attribute
User15: just leaving unpackaged executables in the path would be bad, since they'll get outdated and become vulnerabilities.
User56: so, I should do: sudo apt-get install python3, and then: sudo apt-get purge python3?
User15: User56 start with   dpkg -S /usr/bin/python*   see if it prints a link   "package: file" for every file
User15: linE, not linK, sorry
User56: 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:
User56: /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
User15: !paste | danielrc14
User6: User56 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.
User56: sorry https://paste.ubuntu.com/p/2PsBpwCZF4/
User59: learned to copy and paste from xterm then  :D
User15: User56 okay these executable files are all tracked by dpkg, then you should be good.
User56: cool
User56: tomreyn so, what should I do now?
User15: User59 please save the energy for helping others.
User15: User56 up to you. enjoy your life, plant a tree, find new friends, something like this maybe.
User15: User56 is there something you wanted to make work which we did not achieve, yet?
User56: yeah, I need python3
User56: thanks a lot btw
User15: User56 sudo apt install python3-minimal
User56: tomreyn that didn't installed anything
User15: User56 purge and reinstall it
User56: it returned this when I purged it https://paste.ubuntu.com/p/pX7PJ7xFCt/
User56: didn't paste the whole it
User56: thing*
User4: you missed the part the errors
User15: User56 oh my we need yet to fix apt, i guess
User15: User56 sudo apt -f install
User15: User56 and post all output, including errors / warnings, please
User25: 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?
User56: tomreyn https://paste.ubuntu.com/p/rrZB2RJpys/
User47: @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
User6: bugzilla.kernel.org bug 195471 in Input Devices "Keyboard not working after resume with kernel 4.10.5" [Normal,New]
User47: @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
User15: User56 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;)
User56: tomreyn it returned: https://termbin.com/rwb2
User15: User47 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.
User57: lordcirth, it turns out to be a problem with my nvidia GPU
User58: super_koza, interesting
User57: I have taken it out and was able to boot into the system
User57: now the question is, how do I install the drivers? :D
User57: can I do that without the GPU in the PC?
User58: You can, yeah
User57: I remember that there was something about nomodeset or something similar...
User57: I am talking about Nvidia GPU
User58: You won't be able to get ubuntu-drivers to do it for you, but you can just install nvidia-3xx
User15: User56 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?
User56: nope
User15: User56 cat /var/lib/dpkg/info/python3-distupgrade.prerm | nc termbin.com 9999
User56: https://termbin.com/j8ou
User15: User56 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?
User56: how do I check that?
User15: User56 also clean up anything about python* or py2* or py3* there and in /etc/environment.
User15: User56 you look at them, in a text viewer, such as 'less'. see ~/.*{profile,rc}
User60: 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?
User58: ArthurStrong, you shouldn't have to sort them on ext4, just copy them back in alphabetical order
User60: User58 how? "cp" doesn't sort them while copying. Nor rsync.
User58: ArthurStrong, echo * | xargs -n1 -I{} cp ./{} /mp3
User56: tomreyn I checked those files I didn't found anything
User58: er, with a sort in the middle
User60: User58 ah, OK. thanks for the idea
User58: ArthurStrong, echo * | sort | xargs -n1 -I{} cp ./{} /mp3
User56: I'll log out and in now
User15: ok
User60: User58 can I do so for many nested folders, with one-liner?
User58: ArthurStrong, yeah, you can use 'find' instead
User60: User58 thanks again
User61: 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
User58: no problem
User58: Syzygy, I don't believe Linux on Dex would be supported here.
User61: It's still ubuntu :/
User58: There are a lot of Ubuntu-based distros, but they are not ubuntu
User62: how can I get an on screen numpad? is there a numpad-only layout for the "onscreen" on-screen keyboard?
User47: @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/
User15: User56 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
User15: commands here with the others.
User62: oh sorry I totally misread. the OSK is called "onboard". I'll ask my search engine again.
User15: User47 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.
User47: @tomreyn No problem Tom I understand, Hope that someone else can help me, if not until next time you are available thank you
User15: User47 if you can't get help with it here now, try also in ##linux
User61: lordcirth, I'm pretty sure this is still an ubuntu image though. It says so when I do cat /etc/os-release
User58: Syzygy, respins usually do
User47: @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"
User62: still can't find any numpad-only layout for onboard. :(
User63: Heyo can someone wqlk me through ghost-phisher use on ubuntu
User63: For research purposes
User25: when I run fsck it says 0.9% non-contiguous ... how do I fix that?
User63: Why cant apt-get get frontend lock (says may be in use elsewhere?)
User63: Hey thanks that worked
User64: 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
User62: hackatheos_, usually this happens when a scheduled task from update-notifier scans for available updates
User64: Authentication refused: bad ownership or modes for directory /home/username
User4: User64 ssh is very particular about permissions on home directory, .ssh directory, authorized_keys file. they must all be perfect.
User57: OK, secure boot **MUST** be on for NVidia GPUs...
User64: EriC^^: Yes, I can ssh via web terminal, from google cloud interface
User64: Access: (0600/drw-------)
User64: how do I add the +x ?
User65: EriC^^: won't he need   sudo?
User64: thank you
User64: even strictmodes no   on sshd_config, was enough
User64: was not enough
User64: I could not connect until chmod 700
User65: User64 sshd should be very strict in this case - even on a machine where you hope to be the only user
User64: yes, I was just trying to get back on it lol
User66: 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)
User18: User66 maybe you don't have ubuntu?
User67: User66 follow https://www.cyberciti.biz/faq/how-to-upgrade-ubuntu-16-04-to-18-04-lts-using-terminal/
User67: that should get it done
User66: Ben64 If I have Ubuntu ._.
User18: maybe you have mint or another derivative
User66: tonyt Thanks, I am already updating
User67: k
User68: Hi
User68: Nobody asking question?! Okay! I have one!
User68: I need an extra support on askubuntu, Where can I have it?
User18: what
User68: is anyone from askubuntu here?
User18: this is ubuntu support, not website support. if you have an ubuntu support question, ask it
User5: askubuntu is a forum, this is irc support
User68: OerHeks, Thank you for being 10y on IRC, did you celebrate it two weeks ago?
User5: MasterPiece, yes, 2009 was a great year for ubuntu
User5: but how can we help you with askubuntu?
User68: OerHeks, I'm trying to find someone from askubuntu on IRC
User18: just ask the question already
User68: Ben64, Yours will be in 3 months, Don't forget to celebrate ;)
User18: what's your deal
User68: Ben64, after 9y and 40w! you are asking for meaning of strange yet?!
User68: Hey, guys, Is anyone from askubuntu HERE??
User18: ask the question to find out
User37: User68 maybe, why do you ask?
User68: 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
User68: Its also possible to see there is no instruction on YaHoo to recover an deleted account for more than 90 days
User68: a deleted*
User18: https://askubuntu.com/contact
User68: Ben64, are you from askubuntu?!
User69: That's why it is a bad idea to have yahoo as an email
User18: User68 yes
User68: kadiro, YES! :D
User68: Ben64, Oh dude! you are very cool! your patience is awful :D
User18: You need to learn how to use irc to get help
User18: I suggest this https://workaround.org/getting-help-on-irc/
User4: User68 this may help you http://rurounijones.github.io/blog/2009/03/17/how-to-ask-for-help-on-irc/
User68: 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!
User70: User68 This channel is for Ubuntu support not askubuntu support
User68: jeremyb, You have know idea of what I'm talking about :D,
User5: his Q was valid, i guess
User71: User68 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.
User71: User5 But we're not really able to re-set his account or anything.  We can just point him where he should go for that.
User5: correct, Ben64 gave him a good answer to do so
User18: but it's really not on topic here Â¯\_(ã)_/Â¯
User68: 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 :)
ubuntu
Ubuntu IRC