/srv/irclogs.ubuntu.com/2021/10/12/#ubuntu.txt

DiagonHaving 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?00:58
vortexxHi. 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 beta01:27
leftyfb!ubuntu+1 | vortexx01:31
ubottuvortexx: Impish Indri is the codename for Ubuntu 21.10. For technical support, see #ubuntu-next. For testing and QA feedback and help, see #ubuntu-quality.01:31
vortexxubottu: thanks01:34
=== tomreyn_ is now known as tomreyn
=== Bencraft5 is now known as Bencraft
=== rvgate5 is now known as rvgate
=== M4he is now known as mahe
MrMobiushow 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 way01:54
leftyfbMrMobius: https://www.howtogeek.com/687970/how-to-run-a-linux-program-at-startup-with-systemd/01:55
MrMobiusleftyfb, thanks. can i run sudo commands with this?01:56
leftyfbMrMobius: by default, a properly configured systemd service file runs as root. No need to call sudo at all.01:57
yukiupwhatever happened to crontab01:59
yukiupthat url is lengthy01:59
leftyfbyukiup: still works, but is outdated. systemd is a lot more powerful with more features01:59
=== j2bv17 is now known as j2bv16
SpeakerToMeatHi all.03:34
SpeakerToMeatQuestion, 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
SpeakerToMeatAny 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
SpeakerToMeatI can always remove the other two languages from the list, for now, but I wonder why this is happening03:37
wrsuserIf 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:04
wrsuserwell... what might you use for that?  I thought debtree... but it only takes 1 package name06:05
ice9guys please I need the md5sum of /boot/vmlinuz-5.11.0-37-generic urgently06:57
alkisgice9, you can find it in /var/lib/dpkg/info/linux-image-5.11.0-37-generic.md5sums07:08
alkisg(I have 5.4 so I can't paste it for you)07:08
alkisgThere's also `debsums -s` if you want to check more files and packages against their md5sums07:08
ErmineHello, how can I suspend my pc (not hibernation)?08:28
ducasseErmine: 'systemctl suspend'08:29
Ermineducasse: 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 lockdown08:32
ducasseplasma should have a gimmick for suspending, i assume08:36
Ermineducasse: its buttons do not work too08:52
=== diskin_ is now known as diskin
danliiI 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:00
suteridanlii: Is the settings file inside /etc/netplan/ properly configured?09:04
danliisuteri: It is. It looks exactly (except for the IP address) like it does on other machines, where it works.09:05
suteriThen I think you are able to run "sudo neplan apply", and the settings would go to what expected.09:06
danliisuteri: 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:07
suteridanlii: You could try to explicitly configure the lo device: ethernets: \n  lo: \n    addresses: [127.0.0.1]09:10
danliisuteri: Thing is, that address is also present on lo...09:10
suteriOther than that, my netplan knowledge wears thin. See, if /etc/networks/interfaces is populated with something.09:10
danliiIt's not. And I purged ifupdown and did a reboot.09:11
suterimaybe kernel parameters? :)09:11
danliiOK, the problem seems to have been that they installed a gui and with that network-manager, which clashed with netplan...09:33
suteriWell done.09:39
BerlynHas the release candidate for 21.10 been released or is it still in beta?09:40
lotuspsychjeBerlyn: we had this warning yesterday Builds: Ubuntu Desktop amd64 [Impish Final] (20211011.1) has been added09:41
BerlynIs there a way to upgrade to that now or should I just wait a couple of days?09:42
lotuspsychjeBerlyn: as usual, upgrade paths will open later09:42
lotuspsychjeBerlyn: you are on 21.04?09:43
BerlynCorrect09:43
lotuspsychjeBerlyn: ok, then you will get an upgrade prompt when its ready to go for sure09:43
BerlynOkay, thank you :)09:43
=== jose_ is now known as jlas9
frederic_02hello10:07
frederic_02gnu-linux vous parlé francais j'imagine10:20
frederic_02lancer vous10:21
=== km_ is now known as Guest5129
ogra!fr10:48
ubottuNous sommes desoles mais ce canal est en anglais uniquement. Si vous avez besoin d'aide ou voulez discuter en français, veuillez taper /join #ubuntu-fr ou /join #ubuntu-qc. Merci.10:48
Guest25Hey everyone, I was trying to install packages for the linux foundation training,11:01
Guest25I came upon "Can't find packages in index:a", I'm using Ubuntu 20:04 How can I fix this?11:01
EriC^^Guest25: what does your sources look like? cat /etc/apt/sources.list11:02
Guest25deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse11:03
Guest25deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse11:03
Guest25deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse11:03
EriC^^!paste | Guest25 for future reference11:03
ubottuGuest25 for future reference: 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.11:03
EriC^^Guest25: try 'sudo apt update'11:04
Guest25oh, okay sorry.11:04
Guest25I 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:04
Guest25The LFS201 packages from https://training.linuxfoundation.org/cm/prep/ready-for.sh?ver=1633368598, it's called ready-for.sh11:05
vershanDoes anyone have experience with katoolin3? cant login after installation of katoolin3 and rebooting of ubuntu. Have to use timeshift to restore system.11:06
EriC^^Guest25: can you run it with more verbosity/logs?11:07
EriC^^perhaps add "-x" to the shebang at the top of the file so it's more verbose, and look at the $PKGLIST variable11:08
EriC^^#!/bin/bash -x11:08
Guest25I just did, didn't give extra details, trying the -x thing now11:09
Guest25https://zerobin.net/?0f8a5c6628529296#adDN7tbVmkeswE5wZfJe+G5urFxzzdbmQHO+zVYefLA=11:13
Guest25Oh by the way, I misspoke, I'm using Xubuntu 20.04, though I doubt it matters11:15
EriC^^Guest25: did you try with extra debug? DEBUG=3 ./ready-for.sh ...11:25
Guest25With that: https://zerobin.net/?a78733bf7efadd63#NNXKkKH0y5CVaDu/9ZZVep/XhdmC7PZaZmHRrEfFr0w=11:35
Guest25Well, I guess there's a specific problem with my system doesn't allow me to run it properly11:46
Guest25Thanks for trying to help Eric.11:47
EriC^^no problem Guest2511:50
rond_How to update a program - cmake  - from a command line?12:09
rond_is there a generic way for it?12:09
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:15
rond_Lumpio- it doesn't show the latest version12: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:17
Lumpio-Could maybe run "apt update" too12:18
Junxhello, 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:32
mgedminif you select rescue mode in the grub menu (is grub used on imacs?), you should be able to get a root shell in text mode12:34
ioriaJunx, what's your video card ? do you know of 'nomodeset' ? what's that script ?12:36
Junxmgedmin: not sure it uses grub, cant seem to get it to pop up12:44
Junxioria: it an old radeon card, gimmie a sec12:45
Junxhttps://wiki.archlinux.org/title/IMac_(21.5-inch,_Mid_2010)#Workaround_for_the_KMS_bug this12:45
Junxgpu is this: ATI Radeon HD 467012:47
ioriaJunx, it's also suggested in that page the use of nomodeset : modprobe.blacklist=radeon12:47
Junxioria: sure, but i dont know how to apply it. can i do it from live media?12:51
ioriaJunx, you need to edit the kernel parameters from grub12:51
ioria!nomodeset12:52
ubottuSystems with certain graphics chipsets may not boot properly out of the box. "Temporarily Add a Kernel Boot Parameter for Testing" as discussed at https://wiki.ubuntu.com/Kernel/KernelBootParameters to add the "nomodeset" parameter there.12:52
ioriaJunx, 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 line12:54
=== pi1 is now known as paparacci
Bouncertesting and stuff13:15
leftyfbBouncer: there is an almost infinite amount of channels you can join/create to test your IRC client. This isn't one of them13:16
Junxioria: neither works13:33
Junxi suspect it doesnt use grub, but idk13:34
ph88what is the best way to mount a samba share ?13:38
lotuspsychje!samba13:39
ubottuSamba is the way to cooperate with Windows environments. Links with more info: https://wiki.ubuntu.com/MountWindowsSharesPermanently and https://help.ubuntu.com/lts/serverguide/samba.html13:39
ph88thanks13:39
=== mitesh is now known as mitag
ph88the second link is broken13:39
lotuspsychjeit is, tnx for notify ph8813:42
ErmineI'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 upset13:44
ph88i 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:51
mgedminthe man page for mount.cifs says there are uid= and gid= mount options you can use13:52
ph88is /media still the proper place in that case though ?13:53
mgedminI don't see why not13:55
ph88ok i changed that in fstab and now they are under my name13:57
ph88How can i make it so that when i restart the OS the mount is created ?13:58
ph88right now i have to type   sudo mount -a   first to get that mount13:58
mgedminmounts in fstab are automatically mounted at boot, but maybe that happens before you have networking available and the mount fails?13:58
mgedminiirc there's some mount option you can add that asks systemd to wait until network is up before mounting13:59
alkisgIf so, add _netdev as a parameter13:59
mgedminyeah, _netdev13:59
ph88oh cool14:00
mgedminbut afaiu systemd should automatically recognize network mounts from the fstype field, which is cifs14:01
mgedminyou don't have a 'noauto' among the mount options by any chance?14:02
mgedminno, if you had that, mount -a would skip it too14:02
mgedminI don't know, some debugging (e.g. reading journalctl -b 0) may be necessary to figure out why automounting on boot doesn't happen14:03
ph88don't see any noauto14:12
ph88i think now with _netdev it works14:13
ph88Though 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 repositories14:13
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:15
nunyaI have googled and found how to disable, change position, but found no results for my problem, please help.14:17
ph88hhmmm i think i giving the positive news too soon ... _netdev didn't work afterall :(\14:20
dob1I have no icons on git-cola... I tried to install breeze too but no results14:37
lericsonjust testing14:37
TortillaSandwichwhy 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 over14:47
Lumpio-Why do you close the windows?14:48
TortillaSandwichbecause apps don't always need to be running if I'm not using them14:49
Lumpio-But having to start them again wastes time14:51
leftyfbTortillaSandwich: I'm running 18.04 and 20.04 and window positions and sizes are both saved for me14:51
TortillaSandwichanyway, 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
TortillaSandwichleftyfb: this is the first gnome environment I've seen that doesn't14:51
Sven_vBhi! 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:14
Sven_vBI should probably test the USB port.15:15
leftyfb@Sven_vB: power capabilities of the usb ports you are plugging into. Especially if this is a spinner and not an SSD15:18
Sven_vBthat'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 315:18
Sven_vBleftyfb, oh. you mean even with AC power that Notebook has too weak USB power?15:18
leftyfbSven_vB: I mean the USB port on the notebooks isn't capable of powering an external hard drive15:19
leftyfbSven_vB: especially if the port isn't usb 315:19
Sven_vBoh wow, it only provides 4.8 V, eww.15:19
Sven_vBthe port is blue and marked "SS"15:20
leftyfbit's probably 5v but with a voltage drop due to trying to pull too much current15:20
Sven_vBwhen I measured, the only device on the hub was my multimeter15:21
leftyfbok, that's probably fine for most usb devices, but not enough to power an external spinner hard drive15:21
Sven_vByeah I see now. thanks!15:21
ioriaSven_vB, try a usb Y cable15:27
Sven_vBioria, I was going to, then I discovered my hub supports external power.15:29
ioriaok15:29
pabedI 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:34
mybalzitchare you using bash as your shell?15:37
pabedmybalzitch: yes15:38
pabedmybalzitch: 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 bash15:42
=== genii-core is now known as genii
ioriapabed, have  you tried to use .bashrc  instead ?15:47
pabedioria: I have to do it this way "echo "http_proxy=http://proxy.example.com:3128/" >> ~/.bashrc" ?16:08
leftyfbpabed: that's why it isn't working for you. You aren't exporting it16:09
leftyfb"export http_proxy=http://proxy.example.com:3128/"16:09
leftyfbthat's what you should have in your ~/.bashrc16:10
pabedleftyfb: I want to set it permanently16:10
pabedleftyfb: you mean I have to add this line "export http_proxy=http://proxy.example.com:3128/" in ~/.bashrc?16:11
leftyfbyes16:11
pabedleftyfb: reboot is needed?16:13
leftyfbpabed: sure, or maybe just log out and back in16:14
pabedleftyfb: thanks it works16:16
wrsuserIs 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: debootstrap16:22
wrsuserWhich drags in a whole bunch of things that are frankly really presumptuous to think everyone needs16:22
wrsuserTJ-, I said from that awful ISO :)16:23
TJ-wrsuser: possibly best asked in #ubuntu-server ... but I wouldn't touch subiquity with a bargepole16:23
wrsuserPeople 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 did16:24
vershanHas anyone used katoolin3 on Ubuntu 20.04?16:37
oerheksvershan, maybe someone did use those kali-tools installer, but we do not support that, find the kali channels for support16:39
vershanoerheks: thanks understandable. not asking for support, just wanted to know if anyone on the Ubuntu platform experienced any issues :)16:40
oerheksthat would be a support question, no?16:41
vershanoerheks: no issues16:41
wkoszekHas anyone got any success using OpenStack on Ubuntu?16:42
leftyfbwkoszek: yes, people have16:45
vershanwkoszek: https://ubuntu.com/openstack/install#get-in-touch i found this for you16:46
=== ubuntu is now known as Guest7549
Guest7549how install xed notepad editor17:03
Guest7549#linuxmint-help17:04
leftyfb!mint | Guest754917:04
ubottuGuest7549: The Ubuntu channels can only provide support for Ubuntu and its official flavors, since other distributions and derivatives have repository and software changes. So please use their dedicated support venues, for example: Linux Mint (#linuxmint-help on irc.spotchat.org), Kali Linux (#kali-linux), and LXLE (#lxle)17:04
Guest7549ok thanks but i want xed notepad editor on ubuntu17:05
leftyfbGuest7549: https://medium.com/@mangeshsdhulap/how-to-install-xed-text-editor-in-ubuntu-18-04-7e5c549b5c9917:05
Guest7549ok thanks for help17:05
leftyfbGuest7549: looks like that PPA doesn't support 20.04 and newer though17:05
=== jmiahjones1 is now known as jmiahjones
=== WireTark is now known as Tark
leftyfbGuest7549: https://askubuntu.com/a/1288216/1151311  mind you, none of this is supported17:06
dave1900anyone available to assist with a 21.04 freezing at login issue?17:23
vershanubuntu 20.04 installed apps in blank. When installing .deb files it errors. Any ideas17:23
vershanusing the snap store17:23
dave1900Last change before freezing issue, removed a nvidia card17:25
dave1900running ubuntu 21.04, kernel 5.11.0-37-generic17:29
ogravershan, you should open a topic on forum.sapcraft.io ... the devs watch that17:33
ogra*forum.snapcraft.io17:33
vershanogra: thank you, ive found a fix thanks. just uninstalled and re-installed17:34
=== pong is now known as beaver
ogra👍17:34
dave1900tried "nomodeset" in grub, but still freezing after pressing enter at login17:34
tomreyndave1900: 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) desktop17:42
=== eggbean_ is now known as eggbean
dave1900tomyreyn: searched for "gdm" in journalctl -b -1 and nothing17:59
howudodatdownloaded 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 username18:04
howudodatI 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:05
EriC^^maybe the ssd wasnt blank?18:06
howudodatbrand new out of the box18:06
EriC^^howudodat: type 'sudo parted -ls | nc termbin.com 9999'18:07
howudodatEriC, cant get there.   it's sitting at the gdm login screen.  (let me 2x check that I cant get to a terminal window)18:08
howudodatis there a grub option to prevent the live cd from using this phantom username?18:10
EriC^^howudodat: try ctrl+alt+f118:10
EriC^^howudodat: in grub do you get the 'try ubuntu' option as per usual?18:11
howudodatnone of the ctrl-alt-f{1-6} showed a console window18:14
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:15
morganuHello 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
howudodatthis 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 legacy18:22
morganucurious howudodat what is HH?18:22
howudodatHairy Hippo18:23
tomreynmorganu: see what was logged before you rebooted:  journalctl -b -1 -e18:23
morganuOK but this time I didnt reboot. I caught it early and killall chrome -918:24
morganutomreyn, Data from the specified boot (-1) is not available: No such boot ID in journal18:24
tomreynmorganu: which ubuntu release are you running?18:25
morganu20.0418:25
tomreyndid you disable journald persistent journal then?18:25
tomreynbecause that would be enabled by default there18:26
tomreynis this actually ubuntu?18:26
morganuno. I am so vanilla. The only special thing I have done is Ubuntu tweaks and a dock change.18:26
tomreynhow did you install?18:26
howudodatEriC:  found the problem.  (remote support can be complicated) apparently there is a small nvme drive in this computer.  it was reading from that18:27
dave1900Okay, I was able to get to the desktop, but when I click on terminal/app completely freezes.18:27
morganutomreyn, 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
dave1900Ubuntu never recovers I then hard poweroff with power button.18:28
morganudave1900, would you clarify that for me please.18:29
morganuoh wait, that is you. much apologies18:29
tomreynmorganu: if you don't remember how you installed, you can show the output from    cat /var/log/installer/media-info18:29
tomreyn!backup | morganu18:30
ubottumorganu: There are many ways to back your system up. Here's a few: https://help.ubuntu.com/community/BackupYourSystem , https://help.ubuntu.com/community/DuplicityBackupHowto , https://wiki.ubuntu.com/HomeUserBackup , https://help.ubuntu.com/community/MondoMindi - See also !sbackup, !borg, and !cloning18:30
morganutomreyn, I remember how, it was iso. but here is the output of that command.    --   cat /var/log/installer/media-info18:31
morganu-cat /var/log/installer/media-info18:31
morganuUbuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)human@human-OptiPlex-9020:~$ ^C18:31
tomreynmorganu: hmm, weird, i don't understand why the log would be missing then. well, be it. ;-)18:32
tomreyndave1900: 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
dave1900Freezing 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
morganuIn 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
morganutomreyn, ^^^18:34
dave1900Installed Ubuntu from an ISO on a bootable USB18:35
tomreynmorganu: if you assume that the ram can be physically broken then you should run a memtest, two full passes minimum, probably overnight.18:35
dave1900commands to completely remove nvidia proprietary drivers?18:36
dave1900trying this:  apt-get remove --purge '^nvidia-.*'18:37
tomreyndave1900: 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-linux18:38
tomreyn(which was the second link on a web search for "ubuntu completely remove nvidia proprietary drivers")18:38
jason1234hello world18:42
jason1234how are you guys?18:42
dave1900tomreyn, when I lsmod and grep for video, I see i915, not nouveau18:46
dave1900maybe that article is out of date?18:47
jason1234i915 is tricky18:47
jason1234nouveau is not always working18:47
dave1900Hi Jason18:47
jason1234actually i915 depends a lot on your kernel.18:47
dave1900I pulled a nvidia card from my system, now freezing after login, at desktop18:47
dave1900never recovers18:47
jason1234I get best i915 perfs on games like sauerbraten, quake and wolfenstein using Archlinux. it depends on two things X, kernel and rivers.18:47
dave1900can I just reset to something less tricky :)18:48
jason1234ubuntu is not made to be tweaked. helas18:48
jason1234archlinux 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
tomreyndave1900: 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:49
dave1900ok, so safe to remove xserver-xorg-video-nouveau and dependancies?18:53
tomreyninspecting logs is probably what you should be doing18:54
jason1234alternatively you can edit by hand  : /etc/xorg.conf !18:55
dave1900ok, good idea18:55
dave1900in var/log/gpu-manager.log, I see "Is intel loaded? yes"18:59
dave1900nothing blacklisted19:00
dave1900any other logs that I should be checking?19:01
tomreynjournalctl -b | nc termbin.com 9999    would upload your current system log, and leave you with a url you can post here19:01
jason1234you need su -  or sudo su before19:02
tomreynno19:02
catalaseanyone 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.log19:04
catalasefor some reason this works in command line but not in my sudo crontab -e19:04
TJ-catalase: put all the shell code in a single script file and call that from cron19:05
dave1900This 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:10
dave1900I don't have hours to troubleshoot, so I will just reinstall and rebuild from backup.19:12
dave1900Thanks for all of the help!!19:12
sarnoldcatalase: 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 free19:13
leftyfbcatalase: you've been told this twice. Make it all part of the same script. Don't try to use cron or system for scripting19:14
dave1900hey ib, somehow Ubuntu booted to different display resolution and now I can login without it freezing up.  I didn't change anything really! :)19:38
dave1900what is the best way to backup Ubuntu for restore to a new system?19:40
dave1900Using Duplicity, but not sure it's the best for migration to another system19:41
tomreynrsync 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!backup19:42
ubottuThere are many ways to back your system up. Here's a few: https://help.ubuntu.com/community/BackupYourSystem , https://help.ubuntu.com/community/DuplicityBackupHowto , https://wiki.ubuntu.com/HomeUserBackup , https://help.ubuntu.com/community/MondoMindi - See also !sbackup, !borg, and !cloning19:42
dave1900Very good, I have some reading to do.  Thanks19:49
morganu"19:53
morganu!cloning | morganu19:53
ubottumorganu: Please see my private message19:53
morganutomreyn, 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:09
morganu(like order of the command?)20:10
boblamontPentium 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:27
leftyfb!ubuntu+1 | boblamont20:28
ubottuboblamont: Impish Indri is the codename for Ubuntu 21.10. For technical support, see #ubuntu-next. For testing and QA feedback and help, see #ubuntu-quality.20:28
boblamontIt wasn't a typo, it really is an old installation20:29
holgerssonpentium iMac sounds more like really 12.10 :D20:29
holgerssonehehe20:29
leftyfboh wait, 12.10!!!20:29
holgerssonboblamont: first of all: save what you can of the user data in /home20:29
leftyfbboblamont: no. Good luck with that. That went EOL over 8 year ago20:29
leftyfbboblamont: save the data off it and reinstall, preferably with an LTS release20:30
holgerssonboblamont: second step: re-install an up to date lubuntu20:30
holgerssonyes, exactly as leftyfb says20:30
boblamontSo 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
holgerssonI'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
leftyfbboblamont: it probably can be solve. But it's both not supported here nor worth the time or effort20:31
boblamontWell, 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:32
holgerssonI 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
holgerssonit would be a funny hobby project, but not really worth any effort20:33
holgerssonwhy would you have to do things blind?20:34
boblamontThere is still http://old-releases.ubuntu.com/20:34
holgerssonah, cool20:34
boblamontI can't look at specific settings and things to note them down to replicate them on a new installation20:34
holgerssonDo 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:35
boblamontNo, 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:36
leftyfbboblamont: literally a $35 raspberry pi running Ubuntu Mate 20.4 will run better and be more supported than what they have now20:38
leftyfbboblamont: it's not worth it20:38
leftyfbboblamont: good luck20:38
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:41
leftyfbboblamont: 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:42
boblamontYes. Thank you.20:43
=== cacti is now known as madmax
boblamontEverything 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:49
holgerssonDefault 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:52
leftyfbthen there's gconf and dconf for gnome, not sure if Lxde has something similar20:53
=== oihan is now known as oih4n
boblamontso 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, too20:53
=== oih4n is now known as o1h4n
boblamontI can reinstall and keep user files in /home? I really don't have space anywhere for all of it20:55
leftyfbboblamont: 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 customization20:55
boblamontit's a streaming server, so it has a lot of little network connections and settings to worry about20:56
leftyfbboblamont: yeah, absolutely none of that is going to copy over successfully20:56
boblamontit 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 everything20:57
boblamontwhich is why my preference is simply to correct the dns errors, use old-releases and reinstall ldm20:57
leftyfbboblamont: next time, setup critical infrastructure on an LTS release and keep it updated20:57
boblamontYes, well, like I've said, not my machine.  Incidentally, It's 17.10, not 12.1021:01
leftyfbnot much better. Good luck21:01
boblamontUnderstood.21:02
nocturnallyhey all21:37
nocturnallyanyone here?21:38
sarnoldprobably a few hundred21:38
nocturnallyi've installed ubuntu 8 server over kvm and forgot the username and password21:39
nocturnallyi dont get grub menu to rescue21:39
nocturnallyand i'm dumb21:39
nocturnallyand i have insomnia21:39
nocturnallycan i rescue that install?21:39
sarnold'ubuntu 8', as in a 13-year old install?21:40
ravageno idea what Ubuntu 8 is. and my condolences21:40
nocturnallyi want a minimalist server version .. any major distro will do21:40
nocturnallyfor testing purpose21:40
sarnoldI 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 decade21:41
nocturnallyi'm not a ubuntu fella but does that version have a minimalist server iso?21:42
ravagehttps://ubuntu.com/download/server21:43
ravageif 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.iso21:46
nocturnallyravage: which veriosn will that be?21:49
ravage20.0421:50
nocturnallyk tnx21:50
bobdobbsI recently installed ubuntu 20.04. The default php is php8. I want to use php7.422:01
ravagenot its not22:01
ravage*no22:01
bobdobbsHowever, if I try 'apt-get purge php8.0', then the return indicates that it will also remove php7.422:01
ravageUbuntu 20.04 comes with PHP 7.422:02
bobdobbsravage: somehow it is php8 on my system.22:02
ravageif you have 8.0 you installed it from external sources22:02
bobdobbsoh drat22:02
bobdobbsI installed ondrej's repo. Isn't that the standard one ?22:03
ravageit is popular.22:03
leftyfbbobdobbs: PPA's are not officially supported. Use them at your own risk22:03
bobdobbsI guess I'll just to a full purge, try and remove the repo and try and install php7.4 from an official repo22:04
ravagethats a reasonable plan22:04
bobdobbsah, I think I fixed it. I just did 'apt-get remove php8.*'. That removed php8 and left php7.422:05
whiskey76bobdobbs, I thank Jehovah 1 for the chance to see you in the wild. May the Slack be with you.22:25
* bobdobbs sends whiskey76 mail coupons for additional slack22:26
whiskey76:D22:27
analbleedingwhiskey76: how are you?22:27
whiskey76Well anal, how's the bleeding?22:27
leftyfbcan we not?22:27
leftyfbthis is a support channel. Feel free to take it to #ubuntu-offtopic22:28
analbleedingwhat do you mean?22:28
leftyfbanalbleeding: do you have an ubuntu support question?22:28
analbleedinghuh?22:28
analbleedingubuntu?22:29
leftyfbanalbleeding: /join #ubuntu-offtopic22:29
leftyfband stop posting here22:29
analbleedingok but why?22:29
analbleedingi just said hello22:29
leftyfbanalbleeding: this is a support channel for ubuntu. Not a place for idle chat22:29
whiskey76Sorry lefty, will do.22:29
marcieHello.  I'm having some problems with mysql and following the guide.  I was hoping someone here could help.  It's some type of syntax error23:10
=== LabMonkey is now known as Mechanismus
leftyfbmarcie: maybe try #myswl?23:11
leftyfbsorry, #mysql23:12
marcieit's a channel?23:12
marcieah, OK23:12
leftyfbwith 174 people in it, yes23:12
sarnoldyeah, they'll know mysql way better than the average person here23:13
sarnoldof course it depends what tool exactly gave you the syntax error message..23:13
marcieit says marcie #mysql Cannot send to nick/channel23:14
marciewhen I tried to send to it23:14
leftyfb!register | marcie23:14
ubottumarcie: For information on registering your IRC nick, see https://libera.chat/guides/registration - For any further help, ask in #libera23:14
marcieOK.  Thank you.23:14
boblamontwhat are the limitations of the old-releases.ubuntu,com repos?23:36
leftyfbboblamont: it's not updated nor supported23:37
boblamontleftyfb: but it should have everything in it?23:37
leftyfbdon't know23:37
boblamontOk, thanks. I got the networking fixed, but I still need to get the gui back.23:38
Sven_vBhi :) 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 of23:40
Sven_vBserver I run.23:40
sarnoldboblamont: I suggest skipping the gui and instead work on getting to a supported release23:41
boblamontsarnold: is it possible to walk up updates without losing data and settings?23:41
Sven_vBI could probably make such an ISO image based on the cloud image, but if there is a wheel already, wha reinvent it.23:41
sarnoldboblamont: yes, that's usually how it works23:42
sarnoldboblamont: simpler installs tend to go better than complex installs, but most people can just upgrade for years..23:42
sarnoldSven_vB: sounds handy :)23:42
leftyfbsarnold: they're running 17.10. Any setting files that dump to a new install have a good chance of not working and causing other issues23:43
boblamontleftyfb: they don't have to work, if I can see them, I can write them down, then I don't care what happens to them23:43
boblamontleftyfb: system settings shouldn't be a problem23:44
sarnoldleftyfb: at least that's only one upgrade away from an LTS.. coming from one-after-an-lts would be bad news23:44
leftyfbboblamont: except your custom network settings. Those will not work just copying them to a new install23:44
Sven_vBI 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
boblamontleftyfb: I think I know all of what I need to about those from fixing that issue23:45
Sven_vBactually why doesn't our desktop ISO ship with a "get help from a friend" icon by default?23:45
Sven_vBthey'd just have to enter the name of my server and a port23:46
Sven_vBoh and my SSH key, yeah23:46
leftyfbSven_vB: feel free to file a bug23:46
Sven_vBI'll do a bit more search first. someone should have made a rescue ISO of sorts already.23:47
leftyfbSven_vB: try #linux23:48
Sven_vBoh good idea23:48
sarnoldSven_vB: perhaps useful on your quest https://tmate.io/23:51
Sven_vBthanks!23:52
leftyfblove tmate23:52
sarnoldSven_vB: this is vastly simpler but also pretty handy http://manpages.ubuntu.com/manpages/focal/man1/ssh-import-id.1.html23:53
boblamontI 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:53
sarnoldmaybe 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 noted23:54
boblamontsarnold: ok, thanks23:56
Sven_vBI 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:56
Sven_vBso 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 tunnel23:57
leftyfbSven_vB: that's basically what ssh-import-id does23:57
leftyfbSven_vB: use tmate23:57
Sven_vBleftyfb, then I seem to have misunderstood tmate. from what I read, the shell effectively runs on the server23:57
leftyfbSven_vB: install tmate23:58
leftyfbSven_vB: then run "tmate"  and copy and paste me the ssh URL in a PM and I'll show you23:58

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!