[00:58] 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] 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] !ubuntu+1 | vortexx [01:31] vortexx: 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:34] ubottu: thanks === tomreyn_ is now known as tomreyn === Bencraft5 is now known as Bencraft === rvgate5 is now known as rvgate === M4he is now known as mahe [01:54] 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] MrMobius: https://www.howtogeek.com/687970/how-to-run-a-linux-program-at-startup-with-systemd/ [01:56] leftyfb, thanks. can i run sudo commands with this? [01:57] MrMobius: by default, a properly configured systemd service file runs as root. No need to call sudo at all. [01:59] whatever happened to crontab [01:59] that url is lengthy [01:59] yukiup: still works, but is outdated. systemd is a lot more powerful with more features === j2bv17 is now known as j2bv16 [03:34] Hi all. [03:37] 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] 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] I can always remove the other two languages from the list, for now, but I wonder why this is happening [06:04] 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] well... what might you use for that? I thought debtree... but it only takes 1 package name [06:57] guys please I need the md5sum of /boot/vmlinuz-5.11.0-37-generic urgently [07:08] ice9, you can find it in /var/lib/dpkg/info/linux-image-5.11.0-37-generic.md5sums [07:08] (I have 5.4 so I can't paste it for you) [07:08] There's also `debsums -s` if you want to check more files and packages against their md5sums [08:28] Hello, how can I suspend my pc (not hibernation)? [08:29] Ermine: 'systemctl suspend' [08:32] 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] plasma should have a gimmick for suspending, i assume [08:52] ducasse: its buttons do not work too === diskin_ is now known as diskin [09:00] 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] danlii: Is the settings file inside /etc/netplan/ properly configured? [09:05] suteri: It is. It looks exactly (except for the IP address) like it does on other machines, where it works. [09:06] Then I think you are able to run "sudo neplan apply", and the settings would go to what expected. [09:07] 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] danlii: You could try to explicitly configure the lo device: ethernets: \n lo: \n addresses: [127.0.0.1] [09:10] suteri: Thing is, that address is also present on lo... [09:10] Other than that, my netplan knowledge wears thin. See, if /etc/networks/interfaces is populated with something. [09:11] It's not. And I purged ifupdown and did a reboot. [09:11] maybe kernel parameters? :) [09:33] OK, the problem seems to have been that they installed a gui and with that network-manager, which clashed with netplan... [09:39] Well done. [09:40] Has the release candidate for 21.10 been released or is it still in beta? [09:41] Berlyn: we had this warning yesterday Builds: Ubuntu Desktop amd64 [Impish Final] (20211011.1) has been added [09:42] Is there a way to upgrade to that now or should I just wait a couple of days? [09:42] Berlyn: as usual, upgrade paths will open later [09:43] Berlyn: you are on 21.04? [09:43] Correct [09:43] Berlyn: ok, then you will get an upgrade prompt when its ready to go for sure [09:43] Okay, thank you :) === jose_ is now known as jlas9 [10:07] hello [10:20] gnu-linux vous parlé francais j'imagine [10:21] lancer vous === km_ is now known as Guest5129 [10:48] !fr [10:48] Nous 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. [11:01] Hey everyone, I was trying to install packages for the linux foundation training, [11:01] I came upon "Can't find packages in index:a", I'm using Ubuntu 20:04 How can I fix this? [11:02] Guest25: what does your sources look like? cat /etc/apt/sources.list [11:03] deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse [11:03] deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse [11:03] deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse [11:03] !paste | Guest25 for future reference [11:03] Guest25 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:04] Guest25: try 'sudo apt update' [11:04] oh, okay sorry. [11:04] I did that, didn't fix it. [11:04] Guest25: actually how are you trying to install these packages? [11:04] which packages are they? [11:05] The LFS201 packages from https://training.linuxfoundation.org/cm/prep/ready-for.sh?ver=1633368598, it's called ready-for.sh [11:06] 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] Guest25: can you run it with more verbosity/logs? [11:08] 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] #!/bin/bash -x [11:09] I just did, didn't give extra details, trying the -x thing now [11:13] https://zerobin.net/?0f8a5c6628529296#adDN7tbVmkeswE5wZfJe+G5urFxzzdbmQHO+zVYefLA= [11:15] Oh by the way, I misspoke, I'm using Xubuntu 20.04, though I doubt it matters [11:25] Guest25: did you try with extra debug? DEBUG=3 ./ready-for.sh ... [11:35] With that: https://zerobin.net/?a78733bf7efadd63#NNXKkKH0y5CVaDu/9ZZVep/XhdmC7PZaZmHRrEfFr0w= [11:46] Well, I guess there's a specific problem with my system doesn't allow me to run it properly [11:47] Thanks for trying to help Eric. [11:50] no problem Guest25 [12:09] How to update a program - cmake - from a command line? [12:09] is there a generic way for it? [12:15] apt install cmake (as root)( [12:15] That'll install it if it's not installed or update it if it's out of date. [12:17] Lumpio- it doesn't show the latest version [12:17] What do you consider "latest"? [12:17] The version in the Ubuntu repositories may not be the latest release of cmake itself. [12:18] Could maybe run "apt update" too [12:32] 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] 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] Junx, what's your video card ? do you know of 'nomodeset' ? what's that script ? [12:44] mgedmin: not sure it uses grub, cant seem to get it to pop up [12:45] ioria: it an old radeon card, gimmie a sec [12:45] https://wiki.archlinux.org/title/IMac_(21.5-inch,_Mid_2010)#Workaround_for_the_KMS_bug this [12:47] gpu is this: ATI Radeon HD 4670 [12:47] Junx, it's also suggested in that page the use of nomodeset : modprobe.blacklist=radeon [12:51] ioria: sure, but i dont know how to apply it. can i do it from live media? [12:51] Junx, you need to edit the kernel parameters from grub [12:52] !nomodeset [12:52] Systems 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:54] 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 === pi1 is now known as paparacci [13:15] testing and stuff [13:16] 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] ioria: neither works [13:34] i suspect it doesnt use grub, but idk [13:38] what is the best way to mount a samba share ? [13:39] !samba [13:39] Samba 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.html [13:39] thanks === mitesh is now known as mitag [13:39] the second link is broken [13:42] it is, tnx for notify ph88 [13:44] 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] 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] the man page for mount.cifs says there are uid= and gid= mount options you can use [13:53] is /media still the proper place in that case though ? [13:55] I don't see why not [13:57] ok i changed that in fstab and now they are under my name [13:58] How can i make it so that when i restart the OS the mount is created ? [13:58] right now i have to type sudo mount -a first to get that mount [13:58] mounts in fstab are automatically mounted at boot, but maybe that happens before you have networking available and the mount fails? [13:59] iirc there's some mount option you can add that asks systemd to wait until network is up before mounting [13:59] If so, add _netdev as a parameter [13:59] yeah, _netdev [14:00] oh cool [14:01] but afaiu systemd should automatically recognize network mounts from the fstype field, which is cifs [14:02] you don't have a 'noauto' among the mount options by any chance? [14:02] no, if you had that, mount -a would skip it too [14:03] 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] don't see any noauto [14:13] i think now with _netdev it works [14:13] 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] 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] I have googled and found how to disable, change position, but found no results for my problem, please help. [14:20] hhmmm i think i giving the positive news too soon ... _netdev didn't work afterall :(\ [14:37] I have no icons on git-cola... I tried to install breeze too but no results [14:37] just testing [14:47] 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] Why do you close the windows? [14:49] because apps don't always need to be running if I'm not using them [14:51] But having to start them again wastes time [14:51] TortillaSandwich: I'm running 18.04 and 20.04 and window positions and sizes are both saved for me [14:51] 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] leftyfb: this is the first gnome environment I've seen that doesn't [15:14] 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] I should probably test the USB port. [15:18] @Sven_vB: power capabilities of the usb ports you are plugging into. Especially if this is a spinner and not an SSD [15:18] 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] leftyfb, oh. you mean even with AC power that Notebook has too weak USB power? [15:19] Sven_vB: I mean the USB port on the notebooks isn't capable of powering an external hard drive [15:19] Sven_vB: especially if the port isn't usb 3 [15:19] oh wow, it only provides 4.8 V, eww. [15:20] the port is blue and marked "SS" [15:20] it's probably 5v but with a voltage drop due to trying to pull too much current [15:21] when I measured, the only device on the hub was my multimeter [15:21] ok, that's probably fine for most usb devices, but not enough to power an external spinner hard drive [15:21] yeah I see now. thanks! [15:27] Sven_vB, try a usb Y cable [15:29] ioria, I was going to, then I discovered my hub supports external power. [15:29] ok [15:34] 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] are you using bash as your shell? [15:38] mybalzitch: yes [15:42] 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 === genii-core is now known as genii [15:47] pabed, have you tried to use .bashrc instead ? [16:08] ioria: I have to do it this way "echo "http_proxy=http://proxy.example.com:3128/" >> ~/.bashrc" ? [16:09] pabed: that's why it isn't working for you. You aren't exporting it [16:09] "export http_proxy=http://proxy.example.com:3128/" [16:10] that's what you should have in your ~/.bashrc [16:10] leftyfb: I want to set it permanently [16:11] leftyfb: you mean I have to add this line "export http_proxy=http://proxy.example.com:3128/" in ~/.bashrc? [16:11] yes [16:13] leftyfb: reboot is needed? [16:14] pabed: sure, or maybe just log out and back in [16:16] leftyfb: thanks it works [16:22] 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] wrsuser: debootstrap [16:22] Which drags in a whole bunch of things that are frankly really presumptuous to think everyone needs [16:23] TJ-, I said from that awful ISO :) [16:23] wrsuser: possibly best asked in #ubuntu-server ... but I wouldn't touch subiquity with a bargepole [16:24] 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] Has anyone used katoolin3 on Ubuntu 20.04? [16:39] vershan, maybe someone did use those kali-tools installer, but we do not support that, find the kali channels for support [16:40] oerheks: thanks understandable. not asking for support, just wanted to know if anyone on the Ubuntu platform experienced any issues :) [16:41] that would be a support question, no? [16:41] oerheks: no issues [16:42] Has anyone got any success using OpenStack on Ubuntu? [16:45] wkoszek: yes, people have [16:46] wkoszek: https://ubuntu.com/openstack/install#get-in-touch i found this for you === ubuntu is now known as Guest7549 [17:03] how install xed notepad editor [17:04] #linuxmint-help [17:04] !mint | Guest7549 [17:04] Guest7549: 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:05] ok thanks but i want xed notepad editor on ubuntu [17:05] Guest7549: https://medium.com/@mangeshsdhulap/how-to-install-xed-text-editor-in-ubuntu-18-04-7e5c549b5c99 [17:05] ok thanks for help [17:05] Guest7549: looks like that PPA doesn't support 20.04 and newer though === jmiahjones1 is now known as jmiahjones === WireTark is now known as Tark [17:06] Guest7549: https://askubuntu.com/a/1288216/1151311 mind you, none of this is supported [17:23] anyone available to assist with a 21.04 freezing at login issue? [17:23] ubuntu 20.04 installed apps in blank. When installing .deb files it errors. Any ideas [17:23] using the snap store [17:25] Last change before freezing issue, removed a nvidia card [17:29] running ubuntu 21.04, kernel 5.11.0-37-generic [17:33] vershan, you should open a topic on forum.sapcraft.io ... the devs watch that [17:33] *forum.snapcraft.io [17:34] ogra: thank you, ive found a fix thanks. just uninstalled and re-installed === pong is now known as beaver [17:34] 👍 [17:34] tried "nomodeset" in grub, but still freezing after pressing enter at login [17:42] 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 === eggbean_ is now known as eggbean [17:59] tomyreyn: searched for "gdm" in journalctl -b -1 and nothing [18:04] 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] 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] maybe the ssd wasnt blank? [18:06] brand new out of the box [18:07] howudodat: type 'sudo parted -ls | nc termbin.com 9999' [18:08] 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] is there a grub option to prevent the live cd from using this phantom username? [18:10] howudodat: try ctrl+alt+f1 [18:11] howudodat: in grub do you get the 'try ubuntu' option as per usual? [18:14] none of the ctrl-alt-f{1-6} showed a console window [18:15] 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] 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] 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] curious howudodat what is HH? [18:23] Hairy Hippo [18:23] morganu: see what was logged before you rebooted: journalctl -b -1 -e [18:24] OK but this time I didnt reboot. I caught it early and killall chrome -9 [18:24] tomreyn, Data from the specified boot (-1) is not available: No such boot ID in journal [18:25] morganu: which ubuntu release are you running? [18:25] 20.04 [18:25] did you disable journald persistent journal then? [18:26] because that would be enabled by default there [18:26] is this actually ubuntu? [18:26] no. I am so vanilla. The only special thing I have done is Ubuntu tweaks and a dock change. [18:26] how did you install? [18:27] 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] Okay, I was able to get to the desktop, but when I click on terminal/app completely freezes. [18:28] 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] Ubuntu never recovers I then hard poweroff with power button. [18:29] dave1900, would you clarify that for me please. [18:29] oh wait, that is you. much apologies [18:29] morganu: if you don't remember how you installed, you can show the output from cat /var/log/installer/media-info [18:30] !backup | morganu [18:30] morganu: 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 !cloning [18:31] tomreyn, I remember how, it was iso. but here is the output of that command. -- cat /var/log/installer/media-info [18:31] -cat /var/log/installer/media-info [18:31] Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)human@human-OptiPlex-9020:~$ ^C [18:32] morganu: hmm, weird, i don't understand why the log would be missing then. well, be it. ;-) [18:34] 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] 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] 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] tomreyn, ^^^ [18:35] Installed Ubuntu from an ISO on a bootable USB [18:35] 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] commands to completely remove nvidia proprietary drivers? [18:37] trying this: apt-get remove --purge '^nvidia-.*' [18:38] 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] (which was the second link on a web search for "ubuntu completely remove nvidia proprietary drivers") [18:42] hello world [18:42] how are you guys? [18:46] tomreyn, when I lsmod and grep for video, I see i915, not nouveau [18:47] maybe that article is out of date? [18:47] i915 is tricky [18:47] nouveau is not always working [18:47] Hi Jason [18:47] actually i915 depends a lot on your kernel. [18:47] I pulled a nvidia card from my system, now freezing after login, at desktop [18:47] never recovers [18:47] 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] can I just reset to something less tricky :) [18:48] ubuntu is not made to be tweaked. helas [18:49] 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] 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] ok, so safe to remove xserver-xorg-video-nouveau and dependancies? [18:54] inspecting logs is probably what you should be doing [18:55] alternatively you can edit by hand : /etc/xorg.conf ! [18:55] ok, good idea [18:59] in var/log/gpu-manager.log, I see "Is intel loaded? yes" [19:00] nothing blacklisted [19:01] any other logs that I should be checking? [19:01] journalctl -b | nc termbin.com 9999 would upload your current system log, and leave you with a url you can post here [19:02] you need su - or sudo su before [19:02] no [19:04] 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] for some reason this works in command line but not in my sudo crontab -e [19:05] catalase: put all the shell code in a single script file and call that from cron [19:10] 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] I don't have hours to troubleshoot, so I will just reinstall and rebuild from backup. [19:12] Thanks for all of the help!! [19:13] 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] 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] 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] what is the best way to backup Ubuntu for restore to a new system? [19:41] Using Duplicity, but not sure it's the best for migration to another system [19:42] 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] !backup [19:42] 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 !cloning [19:49] Very good, I have some reading to do. Thanks [19:53] " [19:53] !cloning | morganu [19:53] morganu: Please see my private message [20:09] 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] (like order of the command?) [20:27] 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] !ubuntu+1 | boblamont [20:28] boblamont: 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:29] It wasn't a typo, it really is an old installation [20:29] pentium iMac sounds more like really 12.10 :D [20:29] ehehe [20:29] oh wait, 12.10!!! [20:29] boblamont: first of all: save what you can of the user data in /home [20:29] boblamont: no. Good luck with that. That went EOL over 8 year ago [20:30] boblamont: save the data off it and reinstall, preferably with an LTS release [20:30] boblamont: second step: re-install an up to date lubuntu [20:30] yes, exactly as leftyfb says [20:31] 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] 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] boblamont: it probably can be solve. But it's both not supported here nor worth the time or effort [20:32] 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] 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] it would be a funny hobby project, but not really worth any effort [20:34] why would you have to do things blind? [20:34] There is still http://old-releases.ubuntu.com/ [20:34] ah, cool [20:34] I can't look at specific settings and things to note them down to replicate them on a new installation [20:35] 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] 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] 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] boblamont: it's not worth it [20:38] boblamont: good luck [20:41] $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] 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] Yes. Thank you. === cacti is now known as madmax [20:49] 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] 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/). [20:53] then there's gconf and dconf for gnome, not sure if Lxde has something similar === oihan is now known as oih4n [20:53] 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 === oih4n is now known as o1h4n [20:55] I can reinstall and keep user files in /home? I really don't have space anywhere for all of it [20:55] 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] it's a streaming server, so it has a lot of little network connections and settings to worry about [20:56] boblamont: yeah, absolutely none of that is going to copy over successfully [20:57] 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] which is why my preference is simply to correct the dns errors, use old-releases and reinstall ldm [20:57] boblamont: next time, setup critical infrastructure on an LTS release and keep it updated [21:01] Yes, well, like I've said, not my machine. Incidentally, It's 17.10, not 12.10 [21:01] not much better. Good luck [21:02] Understood. [21:37] hey all [21:38] anyone here? [21:38] probably a few hundred [21:39] i've installed ubuntu 8 server over kvm and forgot the username and password [21:39] i dont get grub menu to rescue [21:39] and i'm dumb [21:39] and i have insomnia [21:39] can i rescue that install? [21:40] 'ubuntu 8', as in a 13-year old install? [21:40] no idea what Ubuntu 8 is. and my condolences [21:40] i want a minimalist server version .. any major distro will do [21:40] for testing purpose [21:41] 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] i'm not a ubuntu fella but does that version have a minimalist server iso? [21:43] https://ubuntu.com/download/server [21:46] 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] ravage: which veriosn will that be? [21:50] 20.04 [21:50] k tnx [22:01] I recently installed ubuntu 20.04. The default php is php8. I want to use php7.4 [22:01] not its not [22:01] *no [22:01] However, if I try 'apt-get purge php8.0', then the return indicates that it will also remove php7.4 [22:02] Ubuntu 20.04 comes with PHP 7.4 [22:02] ravage: somehow it is php8 on my system. [22:02] if you have 8.0 you installed it from external sources [22:02] oh drat [22:03] I installed ondrej's repo. Isn't that the standard one ? [22:03] it is popular. [22:03] bobdobbs: PPA's are not officially supported. Use them at your own risk [22:04] 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] thats a reasonable plan [22:05] ah, I think I fixed it. I just did 'apt-get remove php8.*'. That removed php8 and left php7.4 [22:25] 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] :D [22:27] whiskey76: how are you? [22:27] Well anal, how's the bleeding? [22:27] can we not? [22:28] this is a support channel. Feel free to take it to #ubuntu-offtopic [22:28] what do you mean? [22:28] analbleeding: do you have an ubuntu support question? [22:28] huh? [22:29] ubuntu? [22:29] analbleeding: /join #ubuntu-offtopic [22:29] and stop posting here [22:29] ok but why? [22:29] i just said hello [22:29] analbleeding: this is a support channel for ubuntu. Not a place for idle chat [22:29] Sorry lefty, will do. [23:10] 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 === LabMonkey is now known as Mechanismus [23:11] marcie: maybe try #myswl? [23:12] sorry, #mysql [23:12] it's a channel? [23:12] ah, OK [23:12] with 174 people in it, yes [23:13] yeah, they'll know mysql way better than the average person here [23:13] of course it depends what tool exactly gave you the syntax error message.. [23:14] it says marcie #mysql Cannot send to nick/channel [23:14] when I tried to send to it [23:14] !register | marcie [23:14] marcie: For information on registering your IRC nick, see https://libera.chat/guides/registration - For any further help, ask in #libera [23:14] OK. Thank you. [23:36] what are the limitations of the old-releases.ubuntu,com repos? [23:37] boblamont: it's not updated nor supported [23:37] leftyfb: but it should have everything in it? [23:37] don't know [23:38] Ok, thanks. I got the networking fixed, but I still need to get the gui back. [23:40] 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] server I run. [23:41] boblamont: I suggest skipping the gui and instead work on getting to a supported release [23:41] sarnold: is it possible to walk up updates without losing data and settings? [23:41] 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] boblamont: yes, that's usually how it works [23:42] boblamont: simpler installs tend to go better than complex installs, but most people can just upgrade for years.. [23:42] Sven_vB: sounds handy :) [23:43] 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] 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] leftyfb: system settings shouldn't be a problem [23:44] leftyfb: at least that's only one upgrade away from an LTS.. coming from one-after-an-lts would be bad news [23:44] boblamont: except your custom network settings. Those will not work just copying them to a new install [23:45] 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] leftyfb: I think I know all of what I need to about those from fixing that issue [23:45] actually why doesn't our desktop ISO ship with a "get help from a friend" icon by default? [23:46] they'd just have to enter the name of my server and a port [23:46] oh and my SSH key, yeah [23:46] Sven_vB: feel free to file a bug [23:47] I'll do a bit more search first. someone should have made a rescue ISO of sorts already. [23:48] Sven_vB: try #linux [23:48] oh good idea [23:51] Sven_vB: perhaps useful on your quest https://tmate.io/ [23:52] thanks! [23:52] love tmate [23:53] Sven_vB: this is vastly simpler but also pretty handy http://manpages.ubuntu.com/manpages/focal/man1/ssh-import-id.1.html [23:53] 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] 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] sarnold: ok, thanks [23:56] 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] 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] Sven_vB: that's basically what ssh-import-id does [23:57] Sven_vB: use tmate [23:57] leftyfb, then I seem to have misunderstood tmate. from what I read, the shell effectively runs on the server [23:58] Sven_vB: install tmate [23:58] Sven_vB: then run "tmate" and copy and paste me the ssh URL in a PM and I'll show you