[00:58] <Diagon> Having lots of problems with mice: double clicks when they should be single, dropping when I'm trying to drag, failure when I try to select.  No prob with pointer movement.  Only clicking/selecting/dragging/dropping.  Yes, more than one machine & more than one mouse - standard laser mouse, trackball.  20.04.  Thoughts?
[01:27] <vortexx> Hi. I was wondering if wireguard will get support in NetworkManager in 21.10? I've tried compiling network-manager-wireguard-gnome but it doesn't build on 21.04 nor on 21.10 beta
[01:31] <leftyfb> !ubuntu+1 | vortexx
[01:34] <vortexx> ubottu: thanks
[01:54] <MrMobius> how should i add a script that runs at startup and needs sudo? im trying to use rc.local but read that it may not be the best way
[01:55] <leftyfb> MrMobius: https://www.howtogeek.com/687970/how-to-run-a-linux-program-at-startup-with-systemd/
[01:56] <MrMobius> leftyfb, thanks. can i run sudo commands with this?
[01:57] <leftyfb> MrMobius: by default, a properly configured systemd service file runs as root. No need to call sudo at all.
[01:59] <yukiup> whatever happened to crontab
[01:59] <yukiup> that url is lengthy
[01:59] <leftyfb> yukiup: still works, but is outdated. systemd is a lot more powerful with more features
[03:34] <SpeakerToMeat> Hi all.
[03:37] <SpeakerToMeat> Question, I've generated a new locale on my machine. in LANG I have set en_US.UTF8, in LANGUAGE (that I can't find where it's set) I have: LANGUAGE="en_US:es:ja" which is the same order showing on my language settings on KDE. yet, everything is in english BUT aptitude, and another program which insist on showing in japanese (which I'm not ready to daily drive).
[03:37] <SpeakerToMeat> Any idea why? if I manually set LANGUAGE to only en_US they all work in english... any idea why the order is not respected?
[03:37] <SpeakerToMeat> I can always remove the other two languages from the list, for now, but I wonder why this is happening
[06:04] <wrsuser> If you've got a list of 99 packages and want to see which of those depend on which others in a tree-like view... but *only* those 99 should appear on the tree.  Mostly so you can see what is at the top of that tree (i.e. the absolute smallest number of packages you'd have to apt-get... to result in all 99 being installed)
[06:05] <wrsuser> well... what might you use for that?  I thought debtree... but it only takes 1 package name
[06:57] <ice9> guys please I need the md5sum of /boot/vmlinuz-5.11.0-37-generic urgently
[07:08] <alkisg> ice9, you can find it in /var/lib/dpkg/info/linux-image-5.11.0-37-generic.md5sums
[07:08] <alkisg> (I have 5.4 so I can't paste it for you)
[07:08] <alkisg> There's also `debsums -s` if you want to check more files and packages against their md5sums
[08:28] <Ermine> Hello, how can I suspend my pc (not hibernation)?
[08:29] <ducasse> Ermine: 'systemctl suspend'
[08:32] <Ermine> ducasse: it doesn't work. Instead, my plasma session is closed and I'm returned to login screen. Journalctl contains entries of prohibited hibernation due to lockdown
[08:36] <ducasse> plasma should have a gimmick for suspending, i assume
[08:52] <Ermine> ducasse: its buttons do not work too
[09:00] <danlii> I have a machine running Ubuntu 18.04, which has been updated (perhaps in a strange way) by the system owner. It now has the same IP on both lo and eth0 interfaces, which is quite strange. I cannot find any reference to this in the system settings, it seems like Netplan.io sets it like this although it doesn't say so in any config files. I have tried googling, but this seems like a quite unique problem. Help..? :)
[09:04] <suteri> danlii: Is the settings file inside /etc/netplan/ properly configured?
[09:05] <danlii> suteri: It is. It looks exactly (except for the IP address) like it does on other machines, where it works.
[09:06] <suteri> Then I think you are able to run "sudo neplan apply", and the settings would go to what expected.
[09:07] <danlii> suteri: if I do 'ip addr del 10.0.8.35/24 dev lo' and then do 'netplan apply', the IP gets back on both lo and eth0.
[09:10] <suteri> danlii: You could try to explicitly configure the lo device: ethernets: \n  lo: \n    addresses: [127.0.0.1]
[09:10] <danlii> suteri: Thing is, that address is also present on lo...
[09:10] <suteri> Other than that, my netplan knowledge wears thin. See, if /etc/networks/interfaces is populated with something.
[09:11] <danlii> It's not. And I purged ifupdown and did a reboot.
[09:11] <suteri> maybe kernel parameters? :)
[09:33] <danlii> OK, the problem seems to have been that they installed a gui and with that network-manager, which clashed with netplan...
[09:39] <suteri> Well done.
[09:40] <Berlyn> Has the release candidate for 21.10 been released or is it still in beta?
[09:41] <lotuspsychje> Berlyn: we had this warning yesterday Builds: Ubuntu Desktop amd64 [Impish Final] (20211011.1) has been added
[09:42] <Berlyn> Is there a way to upgrade to that now or should I just wait a couple of days?
[09:42] <lotuspsychje> Berlyn: as usual, upgrade paths will open later
[09:43] <lotuspsychje> Berlyn: you are on 21.04?
[09:43] <Berlyn> Correct
[09:43] <lotuspsychje> Berlyn: ok, then you will get an upgrade prompt when its ready to go for sure
[09:43] <Berlyn> Okay, thank you :)
[10:07] <frederic_02> hello
[10:20] <frederic_02> gnu-linux vous parlé francais j'imagine
[10:21] <frederic_02> lancer vous
[10:48] <ogra> !fr
[11:01] <Guest25> Hey everyone, I was trying to install packages for the linux foundation training,
[11:01] <Guest25> I came upon "Can't find packages in index:a", I'm using Ubuntu 20:04 How can I fix this?
[11:02] <EriC^^> Guest25: what does your sources look like? cat /etc/apt/sources.list
[11:03] <Guest25> deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
[11:03] <Guest25> deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
[11:03] <Guest25> deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
[11:03] <EriC^^> !paste | Guest25 for future reference
[11:04] <EriC^^> Guest25: try 'sudo apt update'
[11:04] <Guest25> oh, okay sorry.
[11:04] <Guest25> I did that, didn't fix it.
[11:04] <EriC^^> Guest25: actually how are you trying to install these packages?
[11:04] <EriC^^> which packages are they?
[11:05] <Guest25> The LFS201 packages from https://training.linuxfoundation.org/cm/prep/ready-for.sh?ver=1633368598, it's called ready-for.sh
[11:06] <vershan> Does anyone have experience with katoolin3? cant login after installation of katoolin3 and rebooting of ubuntu. Have to use timeshift to restore system.
[11:07] <EriC^^> Guest25: can you run it with more verbosity/logs?
[11:08] <EriC^^> perhaps add "-x" to the shebang at the top of the file so it's more verbose, and look at the $PKGLIST variable
[11:08] <EriC^^> #!/bin/bash -x
[11:09] <Guest25> I just did, didn't give extra details, trying the -x thing now
[11:13] <Guest25> https://zerobin.net/?0f8a5c6628529296#adDN7tbVmkeswE5wZfJe+G5urFxzzdbmQHO+zVYefLA=
[11:15] <Guest25> Oh by the way, I misspoke, I'm using Xubuntu 20.04, though I doubt it matters
[11:25] <EriC^^> Guest25: did you try with extra debug? DEBUG=3 ./ready-for.sh ...
[11:35] <Guest25> With that: https://zerobin.net/?a78733bf7efadd63#NNXKkKH0y5CVaDu/9ZZVep/XhdmC7PZaZmHRrEfFr0w=
[11:46] <Guest25> Well, I guess there's a specific problem with my system doesn't allow me to run it properly
[11:47] <Guest25> Thanks for trying to help Eric.
[11:50] <EriC^^> no problem Guest25
[12:09] <rond_> How to update a program - cmake  - from a command line?
[12:09] <rond_> is there a generic way for it?
[12:15] <Lumpio-> apt install cmake (as root)(
[12:15] <Lumpio-> That'll install it if it's not installed or update it if it's out of date.
[12:17] <rond_> Lumpio- it doesn't show the latest version
[12:17] <Lumpio-> What do you consider "latest"?
[12:17] <Lumpio-> The version in the Ubuntu repositories may not be the latest release of cmake itself.
[12:18] <Lumpio-> Could maybe run "apt update" too
[12:32] <Junx> hello, trying to get ubuntu up and running on an imac 2010 but after safe install the screen turns black while booting. need to add a script i found on arch wiki but i cant access the computer really. can i boot it without graphics in any way or fix it via live usb? (ssh is disabled, already tried that. or can i start sshd vid live usb maybe?)
[12:34] <mgedmin> if you select rescue mode in the grub menu (is grub used on imacs?), you should be able to get a root shell in text mode
[12:36] <ioria> Junx, what's your video card ? do you know of 'nomodeset' ? what's that script ?
[12:44] <Junx> mgedmin: not sure it uses grub, cant seem to get it to pop up
[12:45] <Junx> ioria: it an old radeon card, gimmie a sec
[12:45] <Junx> https://wiki.archlinux.org/title/IMac_(21.5-inch,_Mid_2010)#Workaround_for_the_KMS_bug this
[12:47] <Junx> gpu is this: ATI Radeon HD 4670
[12:47] <ioria> Junx, it's also suggested in that page the use of nomodeset : modprobe.blacklist=radeon
[12:51] <Junx> ioria: sure, but i dont know how to apply it. can i do it from live media?
[12:51] <ioria> Junx, you need to edit the kernel parameters from grub
[12:52] <ioria> !nomodeset
[12:54] <ioria> Junx, press shift or esc at startup, when you get to then grub screen  press 'e' and add ' modprobe.blacklist=radeon' or 'nomodeset' to the kernel line
[13:15] <Bouncer> testing and stuff
[13:16] <leftyfb> Bouncer: there is an almost infinite amount of channels you can join/create to test your IRC client. This isn't one of them
[13:33] <Junx> ioria: neither works
[13:34] <Junx> i suspect it doesnt use grub, but idk
[13:38] <ph88> what is the best way to mount a samba share ?
[13:39] <lotuspsychje> !samba
[13:39] <ph88> thanks
[13:39] <ph88> the second link is broken
[13:42] <lotuspsychje> it is, tnx for notify ph88
[13:44] <Ermine> I've managed to solve a problem with suspension: there were symlinks /etc/systemd/system/systemd-suspen.service.requires/nvidia-{suspend,resume}.service. They were left after removal of nvidia driver and they made systemd-logind upset
[13:51] <ph88> i mounted the samba share .. but all the files and folders within it are assigned to root:root  what can i do so that my current user can work with it ? should i remount in a different way or chown everthing or something else ?
[13:52] <mgedmin> the man page for mount.cifs says there are uid= and gid= mount options you can use
[13:53] <ph88> is /media still the proper place in that case though ?
[13:55] <mgedmin> I don't see why not
[13:57] <ph88> ok i changed that in fstab and now they are under my name
[13:58] <ph88> How can i make it so that when i restart the OS the mount is created ?
[13:58] <ph88> right now i have to type   sudo mount -a   first to get that mount
[13:58] <mgedmin> mounts in fstab are automatically mounted at boot, but maybe that happens before you have networking available and the mount fails?
[13:59] <mgedmin> iirc there's some mount option you can add that asks systemd to wait until network is up before mounting
[13:59] <alkisg> If so, add _netdev as a parameter
[13:59] <mgedmin> yeah, _netdev
[14:00] <ph88> oh cool
[14:01] <mgedmin> but afaiu systemd should automatically recognize network mounts from the fstype field, which is cifs
[14:02] <mgedmin> you don't have a 'noauto' among the mount options by any chance?
[14:02] <mgedmin> no, if you had that, mount -a would skip it too
[14:03] <mgedmin> I don't know, some debugging (e.g. reading journalctl -b 0) may be necessary to figure out why automounting on boot doesn't happen
[14:12] <ph88> don't see any noauto
[14:13] <ph88> i think now with _netdev it works
[14:13] <ph88> Though i get something else strange ... when i boot the system i get a popup for my root password: Authentication is required to fresh the system repositories
[14:15] <nunya>  I'm having problems with volume osd not showing percentage. The upper part of the osd is working The line that shows volume percentage below isn't https://paste.ubuntu.com/p/v2bsjJpc5H/
[14:17] <nunya> I have googled and found how to disable, change position, but found no results for my problem, please help.
[14:20] <ph88> hhmmm i think i giving the positive news too soon ... _netdev didn't work afterall :(\
[14:37] <dob1> I have no icons on git-cola... I tried to install breeze too but no results
[14:37] <lericson> just testing
[14:47] <TortillaSandwich> why doesn't 21.04 have anything by way of remembering window sizes and placement? It's a bit frustrating to resize and drag firefox and terminal windows all over
[14:48] <Lumpio-> Why do you close the windows?
[14:49] <TortillaSandwich> because apps don't always need to be running if I'm not using them
[14:51] <Lumpio-> But having to start them again wastes time
[14:51] <leftyfb> TortillaSandwich: I'm running 18.04 and 20.04 and window positions and sizes are both saved for me
[14:51] <TortillaSandwich> anyway, rather than the solution being "Why ever close an app", does anyone know why sizes and positions aren't saved in 21.04?
[14:51] <TortillaSandwich> leftyfb: this is the first gnome environment I've seen that doesn't
[15:14] <Sven_vB> hi! I'm plugging the same external hard disk, using the same USB 3 cable, into two different Ubuntu focal netbooks. one detects it, the other doesn't: http://paste.debian.net/plainh/d268ffce both notebooks are powered from AC, internal battery full. the external hard disk is powered via USB cable, it does not support additional power supply. what could be wrong?
[15:15] <Sven_vB> I should probably test the USB port.
[15:18] <leftyfb> @Sven_vB: power capabilities of the usb ports you are plugging into. Especially if this is a spinner and not an SSD
[15:18] <Sven_vB> that's odd. the USB 3 hub I tested with (05e3:0610) is detected (and operable) as "Product: USB2.0 Hub", albeit the packaging claims it's USB 3
[15:18] <Sven_vB> leftyfb, oh. you mean even with AC power that Notebook has too weak USB power?
[15:19] <leftyfb> Sven_vB: I mean the USB port on the notebooks isn't capable of powering an external hard drive
[15:19] <leftyfb> Sven_vB: especially if the port isn't usb 3
[15:19] <Sven_vB> oh wow, it only provides 4.8 V, eww.
[15:20] <Sven_vB> the port is blue and marked "SS"
[15:20] <leftyfb> it's probably 5v but with a voltage drop due to trying to pull too much current
[15:21] <Sven_vB> when I measured, the only device on the hub was my multimeter
[15:21] <leftyfb> ok, that's probably fine for most usb devices, but not enough to power an external spinner hard drive
[15:21] <Sven_vB> yeah I see now. thanks!
[15:27] <ioria> Sven_vB, try a usb Y cable
[15:29] <Sven_vB> ioria, I was going to, then I discovered my hub supports external power.
[15:29] <ioria> ok
[15:34] <pabed> I set http_proxy in .bash_profile but I have to export it every shell I want to work , is there any other solution for setting permanently?
[15:37] <mybalzitch> are you using bash as your shell?
[15:38] <pabed> mybalzitch: yes
[15:42] <pabed> mybalzitch: I see the proxy in "cat ~/.bash_profile" and also in evey bash when echo $http_proxy I see the proxy but it doesn't work till export it again in the bash
[15:47] <ioria> pabed, have  you tried to use .bashrc  instead ?
[16:08] <pabed> ioria: I have to do it this way "echo "http_proxy=http://proxy.example.com:3128/" >> ~/.bashrc" ?
[16:09] <leftyfb> pabed: that's why it isn't working for you. You aren't exporting it
[16:09] <leftyfb> "export http_proxy=http://proxy.example.com:3128/"
[16:10] <leftyfb> that's what you should have in your ~/.bashrc
[16:10] <pabed> leftyfb: I want to set it permanently
[16:11] <pabed> leftyfb: you mean I have to add this line "export http_proxy=http://proxy.example.com:3128/" in ~/.bashrc?
[16:11] <leftyfb> yes
[16:13] <pabed> leftyfb: reboot is needed?
[16:14] <leftyfb> pabed: sure, or maybe just log out and back in
[16:16] <pabed> leftyfb: thanks it works
[16:22] <wrsuser> Is there a way of installing Ubuntu Server (from the new... and far more awful ISO that uses subiquity) without it installing the package 'ubuntu-server' ?
[16:22] <TJ-> wrsuser: debootstrap
[16:22] <wrsuser> Which drags in a whole bunch of things that are frankly really presumptuous to think everyone needs
[16:23] <wrsuser> TJ-, I said from that awful ISO :)
[16:23] <TJ-> wrsuser: possibly best asked in #ubuntu-server ... but I wouldn't touch subiquity with a bargepole
[16:24] <wrsuser> People keep asking on IRC and on the forums 'what is it about subiquity you think is missing!? oh but it's so lovely, tell us!' ... well that really... without the 'ubuntu-server' package... it at least has a better hope in hell of being closer to what mini.iso did
[16:37] <vershan> Has anyone used katoolin3 on Ubuntu 20.04?
[16:39] <oerheks> vershan, maybe someone did use those kali-tools installer, but we do not support that, find the kali channels for support
[16:40] <vershan> oerheks: thanks understandable. not asking for support, just wanted to know if anyone on the Ubuntu platform experienced any issues :)
[16:41] <oerheks> that would be a support question, no?
[16:41] <vershan> oerheks: no issues
[16:42] <wkoszek> Has anyone got any success using OpenStack on Ubuntu?
[16:45] <leftyfb> wkoszek: yes, people have
[16:46] <vershan> wkoszek: https://ubuntu.com/openstack/install#get-in-touch i found this for you
[17:03] <Guest7549> how install xed notepad editor
[17:04] <Guest7549> #linuxmint-help
[17:04] <leftyfb> !mint | Guest7549
[17:05] <Guest7549> ok thanks but i want xed notepad editor on ubuntu
[17:05] <leftyfb> Guest7549: https://medium.com/@mangeshsdhulap/how-to-install-xed-text-editor-in-ubuntu-18-04-7e5c549b5c99
[17:05] <Guest7549> ok thanks for help
[17:05] <leftyfb> Guest7549: looks like that PPA doesn't support 20.04 and newer though
[17:06] <leftyfb> Guest7549: https://askubuntu.com/a/1288216/1151311  mind you, none of this is supported
[17:23] <dave1900> anyone available to assist with a 21.04 freezing at login issue?
[17:23] <vershan> ubuntu 20.04 installed apps in blank. When installing .deb files it errors. Any ideas
[17:23] <vershan> using the snap store
[17:25] <dave1900> Last change before freezing issue, removed a nvidia card
[17:29] <dave1900> running ubuntu 21.04, kernel 5.11.0-37-generic
[17:33] <ogra> vershan, you should open a topic on forum.sapcraft.io ... the devs watch that
[17:33] <ogra> *forum.snapcraft.io
[17:34] <vershan> ogra: thank you, ive found a fix thanks. just uninstalled and re-installed
[17:34] <ogra> 👍
[17:34] <dave1900> tried "nomodeset" in grub, but still freezing after pressing enter at login
[17:42] <tomreyn> dave1900: you should inspect logs. journalctl -b -1    would show the logs from previous boot. the relevant logs will be somewhere around the lines containing "/usr/lib/gdm3/gdm-x-session" if this is a default ubuntu (gnome) desktop
[17:59] <dave1900> tomyreyn: searched for "gdm" in journalctl -b -1 and nothing
[18:04] <howudodat> downloaded 21.04 and burned to a usb using startup disk creator.  removed my old hard drive, put in a blank ssd and booted the usb.  the usb when booted takes me to gdm login with my old username
[18:05] <howudodat> I would expect it to just log straight in, or use the default ubuntu username.  It wont take my password, or a blank one.  Why is it using an old username on the freshly burned live cd?
[18:06] <EriC^^> maybe the ssd wasnt blank?
[18:06] <howudodat> brand new out of the box
[18:07] <EriC^^> howudodat: type 'sudo parted -ls | nc termbin.com 9999'
[18:08] <howudodat> EriC, cant get there.   it's sitting at the gdm login screen.  (let me 2x check that I cant get to a terminal window)
[18:10] <howudodat> is there a grub option to prevent the live cd from using this phantom username?
[18:10] <EriC^^> howudodat: try ctrl+alt+f1
[18:11] <EriC^^> howudodat: in grub do you get the 'try ubuntu' option as per usual?
[18:14] <howudodat> none of the ctrl-alt-f{1-6} showed a console window
[18:15] <EriC^^> howudodat: try to reboot, see if you get 'try ubuntu' , it sounds a lot like some hdd is at play, or the iso was compromised somehow or a spin off maybe of ubuntu?
[18:22] <morganu> Hello 20.04 Dell halfheight 2017 computer I smell a RAM problem. chrome with many tabls causes computer to effectively freeze. Continuing saga of what I have tried.
[18:22] <howudodat> this is the most bizarre thing I have ever seen.  1: insert old hard drive, but off of usb and it says try ubuntu and loads HH.  2: remove old hard drive, insert blank ssd, boot usb (uefi), it says ubuntu and loads gdm with an old username.   3: blank ssd, boot usb, boot legacy
[18:22] <morganu> curious howudodat what is HH?
[18:23] <howudodat> Hairy Hippo
[18:23] <tomreyn> morganu: see what was logged before you rebooted:  journalctl -b -1 -e
[18:24] <morganu> OK but this time I didnt reboot. I caught it early and killall chrome -9
[18:24] <morganu> tomreyn, Data from the specified boot (-1) is not available: No such boot ID in journal
[18:25] <tomreyn> morganu: which ubuntu release are you running?
[18:25] <morganu> 20.04
[18:25] <tomreyn> did you disable journald persistent journal then?
[18:26] <tomreyn> because that would be enabled by default there
[18:26] <tomreyn> is this actually ubuntu?
[18:26] <morganu> no. I am so vanilla. The only special thing I have done is Ubuntu tweaks and a dock change.
[18:26] <tomreyn> how did you install?
[18:27] <howudodat> EriC:  found the problem.  (remote support can be complicated) apparently there is a small nvme drive in this computer.  it was reading from that
[18:27] <dave1900> Okay, I was able to get to the desktop, but when I click on terminal/app completely freezes.
[18:28] <morganu> tomreyn, once I followed some directions from this channel and I did something that removed "Files" but I found something to substitute. (That was a big unknown for me.)  -- I am trying to learn how to back up in the most simple way for redoing the system and will reinstall ubuntu from the iso.
[18:28] <dave1900> Ubuntu never recovers I then hard poweroff with power button.
[18:29] <morganu> dave1900, would you clarify that for me please.
[18:29] <morganu> oh wait, that is you. much apologies
[18:29] <tomreyn> morganu: if you don't remember how you installed, you can show the output from    cat /var/log/installer/media-info
[18:30] <tomreyn> !backup | morganu
[18:31] <morganu> tomreyn, I remember how, it was iso. but here is the output of that command.    --   cat /var/log/installer/media-info
[18:31] <morganu> -cat /var/log/installer/media-info
[18:31] <morganu> Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)human@human-OptiPlex-9020:~$ ^C
[18:32] <tomreyn> morganu: hmm, weird, i don't understand why the log would be missing then. well, be it. ;-)
[18:34] <tomreyn> dave1900: you should probably boot to recovery, mount the root file system and uninstall any nvidia packages and ensure the proprietary drivers you had installed are fully removed (how to do that depends on how you had installed them).
[18:34] <dave1900> Freezing problem began, right after I pulled the nvidia card from the system.  using the embedded Intel graphics at the moment.  do I need to run any commands to clean up the nvidia proprietary driver?
[18:34] <morganu> In the meantime, maybe I should reboot. But I did take out the simms and clean them off. Meanwhile I read in the Dell manual that they ARE supposed to be in slots one and two so it is all good there.
[18:34] <morganu> tomreyn, ^^^
[18:35] <dave1900> Installed Ubuntu from an ISO on a bootable USB
[18:35] <tomreyn> morganu: if you assume that the ram can be physically broken then you should run a memtest, two full passes minimum, probably overnight.
[18:36] <dave1900> commands to completely remove nvidia proprietary drivers?
[18:37] <dave1900> trying this:  apt-get remove --purge '^nvidia-.*'
[18:38] <tomreyn> dave1900: i'm not very familiar with the nvidia proprietary driver, but this could be relevant https://linuxconfig.org/how-to-uninstall-the-nvidia-drivers-on-ubuntu-20-04-focal-fossa-linux
[18:38] <tomreyn> (which was the second link on a web search for "ubuntu completely remove nvidia proprietary drivers")
[18:42] <jason1234> hello world
[18:42] <jason1234> how are you guys?
[18:46] <dave1900> tomreyn, when I lsmod and grep for video, I see i915, not nouveau
[18:47] <dave1900> maybe that article is out of date?
[18:47] <jason1234> i915 is tricky
[18:47] <jason1234> nouveau is not always working
[18:47] <dave1900> Hi Jason
[18:47] <jason1234> actually i915 depends a lot on your kernel.
[18:47] <dave1900> I pulled a nvidia card from my system, now freezing after login, at desktop
[18:47] <dave1900> never recovers
[18:47] <jason1234> I get best i915 perfs on games like sauerbraten, quake and wolfenstein using Archlinux. it depends on two things X, kernel and rivers.
[18:48] <dave1900> can I just reset to something less tricky :)
[18:48] <jason1234> ubuntu is not made to be tweaked. helas
[18:49] <jason1234> archlinux is a rolling distro, where all it like modular. Ubuntu is like a big Suite where snap and all rest is working together.
[18:49] <tomreyn> dave1900: i915 usually just works, the system might have difficult initializing graphics if there are leftover configurations from the nvidia proprietary drivers, which would blacklist and i think also uninstall nouveau. and would also put a fixed xorg.conf file in place, which prevents the system from autogenerating it, which is normally does, for any sane graphics driver.
[18:53] <dave1900> ok, so safe to remove xserver-xorg-video-nouveau and dependancies?
[18:54] <tomreyn> inspecting logs is probably what you should be doing
[18:55] <jason1234> alternatively you can edit by hand  : /etc/xorg.conf !
[18:55] <dave1900> ok, good idea
[18:59] <dave1900> in var/log/gpu-manager.log, I see "Is intel loaded? yes"
[19:00] <dave1900> nothing blacklisted
[19:01] <dave1900> any other logs that I should be checking?
[19:01] <tomreyn> journalctl -b | nc termbin.com 9999    would upload your current system log, and leave you with a url you can post here
[19:02] <jason1234> you need su -  or sudo su before
[19:02] <tomreyn> no
[19:04] <catalase> anyone around who can help troubleshoot a cronjob: /home/ubuntu/update.sh | while read -r l; do echo "$(date "+%Y-%m-%d %H:%M:%S") $l"; done >> /home/ubuntu/update.log
[19:04] <catalase> for some reason this works in command line but not in my sudo crontab -e
[19:05] <TJ-> catalase: put all the shell code in a single script file and call that from cron
[19:10] <dave1900> This isn't the first time I have been unable to recover Ubuntu after simply removing a nvidia video card.  I guess I should have reconfigured before removing the card.
[19:12] <dave1900> I don't have hours to troubleshoot, so I will just reinstall and rebuild from backup.
[19:12] <dave1900> Thanks for all of the help!!
[19:13] <sarnold> catalase: you know, it might be better to just set up a systemd timer for that -- then you'd easily log through the journal and get timestamped lines for free
[19:14] <leftyfb> catalase: you've been told this twice. Make it all part of the same script. Don't try to use cron or system for scripting
[19:38] <dave1900> hey ib, somehow Ubuntu booted to different display resolution and now I can login without it freezing up.  I didn't change anything really! :)
[19:40] <dave1900> what is the best way to backup Ubuntu for restore to a new system?
[19:41] <dave1900> Using Duplicity, but not sure it's the best for migration to another system
[19:42] <tomreyn> rsync or tar can be fine. it's probably more a matter of deciding what to retain / persist, and what to (intentionally) loose.
[19:42] <tomreyn> !backup
[19:49] <dave1900> Very good, I have some reading to do.  Thanks
[19:53] <morganu> "
[19:53] <morganu> !cloning | morganu
[20:09] <morganu> tomreyn, i STARTED WITH " sudo apt-clone clone --with-dpkg-repack /backup  to include those packages in the clone file" So I tried this >  sudo apt-clone clone --with-dpkg-repack /backup  < but in barfed unknown information field. // did I do anything stupid obvious??
[20:10] <morganu> (like order of the command?)
[20:27] <boblamont> Pentium iMac running Lubuntu 12.10. Had problem that drive was full so it wouldn't boot. Somewhere along the way, the desktop manager, LDM, was removed so it gets stuck at fsck line on boot. It also can't connect to the network, seems to be DNS related. Otherwise still running cron jobs if left on. Not mine, trying to restore desktop and networking. What do I need to do?
[20:28] <leftyfb> !ubuntu+1 | boblamont
[20:29] <boblamont> It wasn't a typo, it really is an old installation
[20:29] <holgersson> pentium iMac sounds more like really 12.10 :D
[20:29] <holgersson> ehehe
[20:29] <leftyfb> oh wait, 12.10!!!
[20:29] <holgersson> boblamont: first of all: save what you can of the user data in /home
[20:29] <leftyfb> boblamont: no. Good luck with that. That went EOL over 8 year ago
[20:30] <leftyfb> boblamont: save the data off it and reinstall, preferably with an LTS release
[20:30] <holgersson> boblamont: second step: re-install an up to date lubuntu
[20:30] <holgersson> yes, exactly as leftyfb says
[20:31] <boblamont> So the problem can't be solved, or its just because its an old distro it isn't worth it. Those aren't the same thing.
[20:31] <holgersson> I'm not sure if you will have fun on such an old machine with a modern ubuntu (or lubuntu FWIW), but running ancient software will bring you unfixed bugs and security holes.
[20:31] <leftyfb> boblamont: it probably can be solve. But it's both not supported here nor worth the time or effort
[20:32] <boblamont> Well, considering that everything would have to be set up entirely from scratch, blindly, that's debatable. But I understand that I shouldn't expect any assistance.
[20:33] <holgersson> I expect that even the repo is down for such an old ubuntu version, so you can't even install packages which aren't already on that machine.
[20:33] <holgersson> it would be a funny hobby project, but not really worth any effort
[20:34] <holgersson> why would you have to do things blind?
[20:34] <boblamont> There is still http://old-releases.ubuntu.com/
[20:34] <holgersson> ah, cool
[20:34] <boblamont> I can't look at specific settings and things to note them down to replicate them on a new installation
[20:35] <holgersson> Do you have enough free space somewhere? If so, you could still keep a copy of that old system around lurking into config files when you need them.
[20:36] <boblamont> No, not really. It isn't my machine, and i already threw out stuff that they probably would have wanted to keep simply to give it enough space to potentially function.
[20:38] <leftyfb> boblamont: literally a $35 raspberry pi running Ubuntu Mate 20.4 will run better and be more supported than what they have now
[20:38] <leftyfb> boblamont: it's not worth it
[20:38] <leftyfb> boblamont: good luck
[20:41] <boblamont> $35, Mate 20.4 and all the time and hassle of having to start from scratch and configure all the settings over again. The first part makes it sound a lot simpler.
[20:42] <leftyfb> boblamont: you can't run an OS indefinitely and expect support. You either need to upgrade it every 9 months with non-LTS or every 2 or 5 years with LTS or you need to wipe and reinstall.
[20:43] <boblamont> Yes. Thank you.
[20:49] <boblamont> Everything saves its settings somewhere, or it wouldn't retain them through reboots. Would everything be in /home or might it be elsewhere? Maybe it won't all be human readable, but it should be around somewhere.
[20:52] <holgersson> Default and system-wide settings are typically in /etc or in /usr as package-defaults. Applications user start themselves, especially GUI applications, typically put a config into $HOME (which is /home/<username>).
[20:53] <leftyfb> then there's gconf and dconf for gnome, not sure if Lxde has something similar
[20:53] <boblamont> so if I have enough room to back up /etc, /usr and non-file storage stuff from /home, I should have everything, usable or not?, yes, there is dconf, I thing gonf, too
[20:55] <boblamont> I can reinstall and keep user files in /home? I really don't have space anywhere for all of it
[20:55] <leftyfb> boblamont: I can tell you just dumping config files and directories from 12.10 onto a modern OS isn't not going to play out the way you think. Again, you're going to spend more time trying to fix broken or missing configs that way then if you just set them yourself again. I can't imagine this machine has that much customization
[20:56] <boblamont> it's a streaming server, so it has a lot of little network connections and settings to worry about
[20:56] <leftyfb> boblamont: yeah, absolutely none of that is going to copy over successfully
[20:57] <boblamont> it was a lot of hassle to set up the first time around, and I can't do it off site, so I have to travel up there and spent hours, probably days, to reconfigure everything
[20:57] <boblamont> which is why my preference is simply to correct the dns errors, use old-releases and reinstall ldm
[20:57] <leftyfb> boblamont: next time, setup critical infrastructure on an LTS release and keep it updated
[21:01] <boblamont> Yes, well, like I've said, not my machine.  Incidentally, It's 17.10, not 12.10
[21:01] <leftyfb> not much better. Good luck
[21:02] <boblamont> Understood.
[21:37] <nocturnally> hey all
[21:38] <nocturnally> anyone here?
[21:38] <sarnold> probably a few hundred
[21:39] <nocturnally> i've installed ubuntu 8 server over kvm and forgot the username and password
[21:39] <nocturnally> i dont get grub menu to rescue
[21:39] <nocturnally> and i'm dumb
[21:39] <nocturnally> and i have insomnia
[21:39] <nocturnally> can i rescue that install?
[21:40] <sarnold> 'ubuntu 8', as in a 13-year old install?
[21:40] <ravage> no idea what Ubuntu 8 is. and my condolences
[21:40] <nocturnally> i want a minimalist server version .. any major distro will do
[21:40] <nocturnally> for testing purpose
[21:41] <sarnold> I think you'd be best served to re-install with 20.04 LTS instead. there's no point in putting effort into resurrecting something that hasn't had updates for half a decade
[21:42] <nocturnally> i'm not a ubuntu fella but does that version have a minimalist server iso?
[21:43] <ravage> https://ubuntu.com/download/server
[21:46] <ravage> if the iso needs to be small (for KVM mount?) you can use the mini iso: http://archive.ubuntu.com/ubuntu/dists/focal/main/installer-amd64/current/legacy-images/netboot/mini.iso
[21:49] <nocturnally> ravage: which veriosn will that be?
[21:50] <ravage> 20.04
[21:50] <nocturnally> k tnx
[22:01] <bobdobbs> I recently installed ubuntu 20.04. The default php is php8. I want to use php7.4
[22:01] <ravage> not its not
[22:01] <ravage> *no
[22:01] <bobdobbs> However, if I try 'apt-get purge php8.0', then the return indicates that it will also remove php7.4
[22:02] <ravage> Ubuntu 20.04 comes with PHP 7.4
[22:02] <bobdobbs> ravage: somehow it is php8 on my system.
[22:02] <ravage> if you have 8.0 you installed it from external sources
[22:02] <bobdobbs> oh drat
[22:03] <bobdobbs> I installed ondrej's repo. Isn't that the standard one ?
[22:03] <ravage> it is popular.
[22:03] <leftyfb> bobdobbs: PPA's are not officially supported. Use them at your own risk
[22:04] <bobdobbs> I guess I'll just to a full purge, try and remove the repo and try and install php7.4 from an official repo
[22:04] <ravage> thats a reasonable plan
[22:05] <bobdobbs> ah, I think I fixed it. I just did 'apt-get remove php8.*'. That removed php8 and left php7.4
[22:25] <whiskey76> bobdobbs, I thank Jehovah 1 for the chance to see you in the wild. May the Slack be with you.
[22:26]  * bobdobbs sends whiskey76 mail coupons for additional slack
[22:27] <whiskey76> :D
[22:27] <analbleeding> whiskey76: how are you?
[22:27] <whiskey76> Well anal, how's the bleeding?
[22:27] <leftyfb> can we not?
[22:28] <leftyfb> this is a support channel. Feel free to take it to #ubuntu-offtopic
[22:28] <analbleeding> what do you mean?
[22:28] <leftyfb> analbleeding: do you have an ubuntu support question?
[22:28] <analbleeding> huh?
[22:29] <analbleeding> ubuntu?
[22:29] <leftyfb> analbleeding: /join #ubuntu-offtopic
[22:29] <leftyfb> and stop posting here
[22:29] <analbleeding> ok but why?
[22:29] <analbleeding> i just said hello
[22:29] <leftyfb> analbleeding: this is a support channel for ubuntu. Not a place for idle chat
[22:29] <whiskey76> Sorry lefty, will do.
[23:10] <marcie> Hello.  I'm having some problems with mysql and following the guide.  I was hoping someone here could help.  It's some type of syntax error
[23:11] <leftyfb> marcie: maybe try #myswl?
[23:12] <leftyfb> sorry, #mysql
[23:12] <marcie> it's a channel?
[23:12] <marcie> ah, OK
[23:12] <leftyfb> with 174 people in it, yes
[23:13] <sarnold> yeah, they'll know mysql way better than the average person here
[23:13] <sarnold> of course it depends what tool exactly gave you the syntax error message..
[23:14] <marcie> it says marcie #mysql Cannot send to nick/channel
[23:14] <marcie> when I tried to send to it
[23:14] <leftyfb> !register | marcie
[23:14] <marcie> OK.  Thank you.
[23:36] <boblamont> what are the limitations of the old-releases.ubuntu,com repos?
[23:37] <leftyfb> boblamont: it's not updated nor supported
[23:37] <boblamont> leftyfb: but it should have everything in it?
[23:37] <leftyfb> don't know
[23:38] <boblamont> Ok, thanks. I got the networking fixed, but I still need to get the gui back.
[23:40] <Sven_vB> hi :) do we have tools to help newbies debug their early boot problems (GPT/ GRUB/ initrd) remotely? My current idea of an ideal solution would be an ISO image that they can copy onto a USB thumb drive, un- and re-plug it to make some FAT partition of the image visible, save my SSH public key to it, boot that thumb drive on a broken Ubuntu machine with, hope for DHCP wired networking and have a desktop icon that reverse-connects SSH to some kind of
[23:40] <Sven_vB> server I run.
[23:41] <sarnold> boblamont: I suggest skipping the gui and instead work on getting to a supported release
[23:41] <boblamont> sarnold: is it possible to walk up updates without losing data and settings?
[23:41] <Sven_vB> I could probably make such an ISO image based on the cloud image, but if there is a wheel already, wha reinvent it.
[23:42] <sarnold> boblamont: yes, that's usually how it works
[23:42] <sarnold> boblamont: simpler installs tend to go better than complex installs, but most people can just upgrade for years..
[23:42] <sarnold> Sven_vB: sounds handy :)
[23:43] <leftyfb> sarnold: they're running 17.10. Any setting files that dump to a new install have a good chance of not working and causing other issues
[23:43] <boblamont> leftyfb: they don't have to work, if I can see them, I can write them down, then I don't care what happens to them
[23:44] <boblamont> leftyfb: system settings shouldn't be a problem
[23:44] <sarnold> leftyfb: at least that's only one upgrade away from an LTS.. coming from one-after-an-lts would be bad news
[23:44] <leftyfb> boblamont: except your custom network settings. Those will not work just copying them to a new install
[23:45] <Sven_vB> I wonder if metasploit might have ready-made stuff for the reverse SSH parts. that way I'd only need to somehow put that and a desktop icon for it onto our desktop ISO.
[23:45] <boblamont> leftyfb: I think I know all of what I need to about those from fixing that issue
[23:45] <Sven_vB> actually why doesn't our desktop ISO ship with a "get help from a friend" icon by default?
[23:46] <Sven_vB> they'd just have to enter the name of my server and a port
[23:46] <Sven_vB> oh and my SSH key, yeah
[23:46] <leftyfb> Sven_vB: feel free to file a bug
[23:47] <Sven_vB> I'll do a bit more search first. someone should have made a rescue ISO of sorts already.
[23:48] <leftyfb> Sven_vB: try #linux
[23:48] <Sven_vB> oh good idea
[23:51] <sarnold> Sven_vB: perhaps useful on your quest https://tmate.io/
[23:52] <Sven_vB> thanks!
[23:52] <leftyfb> love tmate
[23:53] <sarnold> Sven_vB: this is vastly simpler but also pretty handy http://manpages.ubuntu.com/manpages/focal/man1/ssh-import-id.1.html
[23:53] <boblamont> I can't think of any system settings I might need that I'd lose with either an update or even just a backup and fresh install now. I have the static ip, the gateway server and the dns server addresses. I'll need to back up cron, icecast, nginx and butt. Is there any way I can double check everything installed in case I 'm overlooking something?
[23:54] <sarnold> maybe systemctl list-units or ps auxw or lsof  to try to spot things that are running or files that are in use that ought to be noted
[23:56] <boblamont> sarnold: ok, thanks
[23:56] <Sven_vB> I figured since they have to somehow enter at least a hostname anyway, I can have them enter a website domain and fetch all the SSH details from there via HTTPS.
[23:57] <Sven_vB> so most important step now is how to make a reverse SSH connection. unfortunately the word "reverse" in context of SSH is loaded to mean reverse tunnel
[23:57] <leftyfb> Sven_vB: that's basically what ssh-import-id does
[23:57] <leftyfb> Sven_vB: use tmate
[23:57] <Sven_vB> leftyfb, then I seem to have misunderstood tmate. from what I read, the shell effectively runs on the server
[23:58] <leftyfb> Sven_vB: install tmate
[23:58] <leftyfb> Sven_vB: then run "tmate"  and copy and paste me the ssh URL in a PM and I'll show you