[01:58] <pycurious> any ideas what I can do to fix this: https://www.imgpaste.net/image/S7SHKY (I'm trying to run ubuntu 22.04 desktop on a new MSI laptop) GE 68HX. So far I've just disabled secure boot.
[02:07] <Bashing-om> pycurious: Could be a lot of different things - any hints ' loginctl session-status ' ?
[02:37] <pycurious> @Bashing-om It did not happen again - let me see if i can recreate it first. Thanks.
[02:38] <Bashing-om> pycurious: :D
[02:51] <pycurious> @Bashing-om I just shrunk my windows partition, installed ubuntu from usb with default properties. I dont see the grub menu or the entry in bios to boot from ubuntu. Any ideas what i am doing wrong?
[02:52] <Bashing-om> pycurious: Shrinking the partition also changes the UUID - update /etc/fstab file with that new UUID.
[02:53] <Bashing-om> pycurious: pycurious: wait !~ fresh install 0f ubuntu ?
[02:54] <pycurious> I shrunk the c: volume, then i clicked try/install ubuntu -> install ubuntu when i booted from the flash drive
[02:55] <pycurious> Now I'm back to step 1- I can boot to the flash drive, select install ubuntu, but then not sure where that goes into the machine, and it doesnt show up when i boot. I cant get grub to show at boot
[02:56] <Bashing-om> pycurious: A thought - Windows is UEFI system - and ubuntu also must be installed in same mode (UEFI) to be seen in the boot partition.
[02:57] <pycurious> I did not change the uefi settings in bios, just disabled secure boot.
[02:57] <Bashing-om> pycurious: Make sure you boot the installer in UEFI mode.
[02:57] <pycurious> when i try to get into install for the flash drive again, it does say you have windows boot manager and ubuntu 22.04.3 on it. Do you want me to erase ubuntu…
[02:59] <pycurious> in bios, Boot mode select : UEFI - and its greyed out - so i cant change it
[03:00] <pycurious> it did have uefi hard drive priorities, where i could select ubuntu - and it did boot into it :) @Bashing-om thanks
[03:02] <Bashing-om> pycurious: Booted into Ubuntu now ? Be a good idea to ' update-grub ' at this point - cheap insurance.
[03:02] <Jakov> folks, what is default Ubuntu's Clipboard?
[03:17] <pragmaticenigma> Jakov: "clipboard" is part of the shell, for Ubuntu that'd be Gnome-Shell or Gnome Desktop. There are some apps (not installed by default) that can sometimes help you view what is stored in the clipboard. As well as other programs that extend the abilities of clipboard.
[03:17] <Jakov> I'm looking for more native way
[03:17] <pragmaticenigma> Jakov: You'll have to be more specific what you are trying to do
[03:18] <Jakov> I want to get clipboard to text at least using c/c++ or terminal commnad
[03:18] <Jakov> if 3rd party lib can do that "command fetchclipboard > text.txt" it is fine
[03:20] <pragmaticenigma> Jakov: In a terminal window 'Ctrl' + 'Insert' will copy to the clip board, and 'Shift' + 'Insert' will paste
[03:21] <Jakov> I need all clipboard :)
[03:23] <pragmaticenigma> Jakov: You'll have to be more specific about what you are trying to do. "clipboard" is a term for referring to a memory space allocated by a program to temporarily store data.
[03:28] <hleneto> Jakov, in Debian there are two relevant packages, wl-clipboard (Wayland) and the old xsel. With xsel you can control primary, secondary and clipboard selections.
[03:28] <Jakov> can wl-clipboard manage clipboard history?
[03:29] <hleneto> that I don't know...
[03:30] <pragmaticenigma> Jakov: There is no "history" clipboard holds one thing at a time. There are extensions that offer the ability to store multiple things, but you need to describe what you are trying to do so I can better understand what to recommend.
[03:30] <Jakov> pragmaticenigma, I need to manage clipboard history with command (no graphic) command > current_clipboard_history > 1.txt
[03:31] <pragmaticenigma> Jakov: to the best of my knowledge, no such tool exists for a command line only solution.
[03:32] <hleneto> Jakov, maybe command | xsel -b; xsel -b >1.txt
[03:37] <pragmaticenigma> xsel is a X11 dependent feature, only works if you're already in a windowed session
[04:06] <Zed`> p
[07:04] <kerosene> hello
[07:15] <Your_Dog> Jakov: Afaik, clipboards are a GUI concept
[07:16] <Your_Dog> without using x11 or wayland, you would have to rely on either  a device or an application
[07:17] <Your_Dog> for device, there is gpm (general purpose mouse) for application there is screen and tmux
[07:21] <webchat75> I installed ubuntu on my asus rog flow x16, the speaker volume is very low and crackling but the speakers work fine in windows 11
[07:22] <matsaman> webchat75: first run alsamixer and check that pcm isn't too high, for crackling
[07:22] <matsaman> webchat75: then check other channels for quietness
[07:24] <webchat75> i've tried everything on alsamixer nothing seems to work
[07:28] <matsaman> webchat75: is it intel audio? You might want to specify a/different option/configuration
[07:29] <webchat75> the default card is pipewire in ubuntu, but in windows it is realtek
[07:29] <matsaman> mmmm
[07:30] <webchat75> matsaman I tried changing the alsa-base.conf added this line options snd-hda-intel model=asus-zenbook
[07:30] <webchat75> also tried options snd-hda-intel model=gpio1
[07:31] <webchat75> ran all these commands
[07:31] <webchat75> hda-verb /dev/snd/hwC1D0 0x20 0x500 0xf
[07:31] <webchat75> hda-verb /dev/snd/hwC1D0 0x20 0x400 0x7774
[07:31] <webchat75> hda-verb /dev/snd/hwC1D0 0x20 0x500 0x45
[07:31] <webchat75> hda-verb /dev/snd/hwC1D0 0x20 0x400 0x5289
[07:31] <webchat75> nothing seems to work
[07:32] <matsaman> what does lspci say the audio device is?
[07:34] <webchat75> matsaman there are 2 audio devices:  Intel Corporation Raptor Lake-P/U/H cAVS (rev 01) and  NVIDIA Corporation Device 22bd (rev a1)
[07:35] <matsaman> oh interesting
[07:35] <matsaman> can you switch between those in alsamixer? It's an F# key, IIRC
[07:35] <matsaman> the nvidia one might be just for hdmi out, though, or something like that
[07:36] <matsaman> webchat75: what's the line from lspci -n?
[07:37] <webchat75> matsaman what is the comman to check lspci -n (i'm new to linux
[07:38] <matsaman> 'lspci -n', or 'sudo lspci -n'
[07:38] <matsaman> sudo will likely run it as root, which for lspci -n is fine
[07:39] <webchat75> 0000:00:00.0 0600: 8086:a706
[07:39] <webchat75> 0000:00:01.0 0604: 8086:a70d
[07:39] <webchat75> 0000:00:02.0 0300: 8086:a7a0 (rev 04)
[07:39] <webchat75> 0000:00:04.0 1180: 8086:a71d
[07:39] <webchat75> 0000:00:06.0 0880: 8086:09ab
[07:39] <webchat75> 0000:00:07.0 0604: 8086:a76e
[07:41] <matsaman> Drone: so useful, now all the other people talking can carry on
[07:41] <matsaman> -> /s
[07:42] <webchat75> matsaman drone is muting me. so the command gave me a bunch of lines
[07:43] <matsaman> yeah I know
[07:43] <Disconsented> Its muting you because you're flooding the channel,  use a pastebin like the one linked in the topic for anything thats more than like 2 lines (https://dpaste.com/)
[07:43] <matsaman> webchat75: sorry do lspci -nn (two n's), and grep for the audio device
[07:44] <matsaman> it's muting you, for a really long time, because it's a dumb bot
[07:44] <webchat75> matsaman 0000:00:1f.3 Audio device [0403]: Intel Corporation Raptor Lake-P/U/H cAVS [8086:51ca] (rev 01)
[07:45] <matsaman> webchat75: thanks
[07:48] <webchat75> matsaman what to do now?
[07:48] <matsaman> webchat75: you might double check you have all the firmware installed
[07:49] <webchat75> where can i check for firmwares matsaman
[07:49] <matsaman> firmware-sof-signed, alsa-firmware-loaders, linux-firmware
[07:51] <webchat75> i'm still unable to understand how to check firmwares (sorry for being a noob) matsaman
[07:53] <webchat75> i think it is more of a driver issue
[07:57] <webchat75> matsaman i found these 2 folders in root irmware-sof-signed, linux-firmware but didn't find the alsa-firmware-loaders folder
[08:04] <webchat75> matsaman i installed the alsa-firmware-loaders
[09:07] <yakov> I 've tried to change Ubuntu username, then copied home to new user home, now in New user can't open browse and change any settings, pls guide me hot fix it
[09:08] <tomreyn> the home directory needs to be owned by its user
[09:09] <yakov> I bet you 're right
[09:09] <yakov> What should I do?)
[09:10] <tomreyn> chmod -R correctuser:correctusersgroup /home/correctuser
[09:10] <tomreyn> with sudo
[09:12] <yakov> How to get usergroup
[09:13] <tomreyn> (i'm only guessing this might be the issue, though, it should not do harm as long as you hit the right user, though)
[09:13] <tomreyn> getent passwd |grep ^correctuser
[09:14] <tomreyn> field 3 is the users' user id, field 4 is the users' primary group id
[09:15] <tomreyn> you can specify the group id instead of the named group for the chown command
[09:17] <EriC^> tomreyn: dont you mean chown -R ?
[09:18] <yakov> https://ibb.co/7yVvBd9
[09:18] <tomreyn> sheesh, yes, thanks EriC^
[09:19] <tomreyn> sudo chown -R 1001:1001 /home/j
[09:21] <yakov> im I expecting any changes?
[09:21] <tomreyn> the next time j logs in, they should be able to access their files
[09:23] <yakov> Still can't open browser and change settings
[09:24] <tomreyn> what happens when you try?
[09:24] <yakov> I copied my profile to d with mv and changed smh in visual and other usr related file, second login is fine which is j
[09:24] <yakov> Visual is visudo
[09:25] <tomreyn> hmm i dont understand.
[09:25] <yakov> I see icon loading and Mozilla browser description it does nothing
[09:25] <tomreyn> i'm typing with a single hand while eating breakfast, so can't be too verbose right now
[09:26] <EriC^> yakov: what happens if you try to launch it from the terminal using "firefox" command?
[09:26] <yakov> Permission denied
[09:28] <tomreyn> oh i notice now that i had only seen the upper half of the screenshot
[09:29] <tomreyn> so there are supposed to be two users, "d" and "j". i assume "d" was the original user, and "j" is the newly created user. there are actually two users' named "d" though, one with uid 1000 and another with uid 1002. you'll need to remove one of them.
[09:30] <tomreyn> or rename one of them
[09:31] <yakov52> https://ibb.co/3CJVqsG
[09:35] <tomreyn> you moved your home directory to /home/d, but your firefox profile still points to your former home directory /home/supernova
[09:35] <yakov52> Right
[09:36] <tomreyn> maybe it will be easier to just discuss what the final situation should be once all is fixed, can you do so? which users should exist, which ones should be removed?
[09:36] <yakov52> I need supernova to be replaced with d
[09:37] <tomreyn> okay then you should remove the first line starting with "d:" off /etc/passwd
[09:38] <tomreyn> and also remove any duplicate groups off /etc/group, if any
[09:39] <tomreyn> and then edit the application configuration files of user 'd', such as the firefox profiles.ini file, to point to the correct (updated) home directory ( / home/d ).
[09:39] <yakov52> Could not locate any
[09:39] <tomreyn> and i guess you can then remove user j and its files, as well as any remaining files of user supernova
[09:39] <tomreyn> got more details?
[09:39] <yakov52> can I rollback to supernova?
[09:40] <yakov52> May it be easier?
[09:43] <tomreyn> maybe, maybe not. you can logout of user 'd', then login as a different user and  move /home/supernova (if it exists) out of the way. then sudo usermod --home /home/supernova d && sudo usermod --login supernova d && sudo mv /home/d /home/supernova
[09:44] <tomreyn> do this only AFTER you removed the duplicate user 'd'
[09:47] <yakov52> Oh
[09:48] <yakov52> Thanks tomreyn
[09:49] <tomreyn> you're welcome - i recommend asking here in the future, or looking it up online, before you try to move around home directories and/or rename users. it's a somewhat delicate process.
[09:50] <yakov52> yes, it's weather issues, my bad
[09:50] <tomreyn> you should never need to edit passwd and groups and the other related files manually, there are tools for it, which ensure it is done safely.
[09:52] <tomreyn> (it can also be wise to take note of the steps you took, so it will be easier to describe / understand what the current situation is, and how to undo changes (where possible9 or which approach to take to try to fix things.
[09:52] <tomreyn> )
[09:53] <yakov52> Can I access to bash history?
[09:53] <tomreyn> type "history"
[09:53] <yakov52> Just one line history
[09:54] <tomreyn> "history" is a command, which, like most commands, provide a help output when asked for it
[10:03] <tomreyn> yakov52: you can filter the output (pipe into)    tail -n3     to see just the latest three commands
[10:04] <tomreyn> i.e.    history | tail -n3
[10:05] <kotgc> test
[10:05] <yakov52> It's empty
[10:06] <tomreyn> hmm only if you started a new shell or cleared the history
[10:08] <Yakov> I happened to rollback to supernova, manually changed /etc/passwd /etc/shadow as you advised
[10:09] <Yakov> if I just create new account and login there, all applications be common (shared) /
[10:09] <kotgc> I've been testing the remote desktop and it seems port forward is not needed as I am running a VPN/Tunnel.
[10:10] <kotgc> However, the phone connection attempt times out, when trying to reach this ubuntu desktop.
[10:10] <kotgc> In this Ubuntu Desktop, I've enabled Desktop Sharing. The TailScale VPN/Tunnel says connected to this Ubuntu Desktop's virutal router.
[10:11] <kotgc> The phone uses realVNC to connect to the IP address as per TailScale's VPN/Tunnel to this Ubuntu Desktop.
[10:11] <kotgc> I'm not sure what's missing, perhaps the tunnel to the KVM router rather than this Ubuntu desktop?
[10:19] <tomreyn> kotgc: have you tried whether realvnc actually works with gnome desktop sharing?
[10:21] <kotgc> tomreyn, well, realvnc and remmina were my main viewers on LinuxMint. This is my first time trying on Ubuntu.
[10:22] <kotgc> tomreyn, also, I was able to remote view via the NoMachine software, so it seems possible.
[10:22] <kotgc> However, after a reboot, I cannot remote view again.
[10:23] <tomreyn> different vnc implementations don't necessarily work with another, unfortunately.
[10:23] <tomreyn> the same may apply to rdp
[10:24] <kotgc> tomreyn, yes, I'll go back to NoMachine then, which is proven to work with Ubuntu; then once the configuration is sorted out, I'll try RealVNC on the phone.
[10:24] <tomreyn> i would test this locally with the freerdp CLI first of all, to make sure handshake and authentication works.
[10:25] <tomreyn> does realvnc actually support rdp?
[10:25] <kotgc> tomreyn, I thought rdp was for microsoft.
[10:26] <kotgc> I have an allergic reaction to microsoft stuff.
[10:26] <tomreyn> it is an application protocol, a fork of vnc. it is not limited to ms windows.
[10:27] <kotgc> tomreyn, how would I test locally? I only have this desktop and phone at the moment, as the laptop isn't with me.
[10:27] <tomreyn> then testing it locally will be difficult, unless the desktop you have also runs gnome-shell on ubuntu
[10:27] <kotgc> this desktop runs Ubuntu 22.04.3.
[10:28] <tomreyn> so you could enable desktop sharing there as well and then use an rdp client to try to connect to it.
[10:29] <kotgc> yes, I have enabled this Ubuntu desktop with desktop sharing.
 i would test this locally with the freerdp CLI first of all, to make sure handshake and authentication works.
[10:29] <kotgc> ok, so I'll put some rdp app on my phone.
[10:29] <tomreyn> you can test on the same computer.
[10:29] <tomreyn> to rule out networking as an issue
[10:30] <tomreyn> but certainly a client which only speak vnc won't be able to connect to a server which only speaks rdp
[10:30] <kotgc> ok, should I search for: ubuntu rdp cli, or something to figure that out?
[10:31] <tomreyn> if you choose to not use freerdp, then there is one other client, i think, rdesktop
[10:31] <kotgc> oh, it's actual software, I thought that was a generic term https://www.freerdp.com/
[10:33] <tomreyn> this website says "FreeRDP: A Remote Desktop Protocol Implementation". an implemnetation of a network protocol such as rdp is a client or server (or both) speaking this protocol.
[10:33] <tomreyn> (could be a library, too)
[10:34] <kotgc> Ok, I'll research FreeRDP a bit.
[10:48] <tomreyn> kotgc: i run gnome-shell on wayland (should be the default unless you use nvidia graphics, then i don't know what it uses now, either wayland or still Xorg, for which a freerdp client also exists), and installed freerdp2-wayland, and ran   wlfreerdp /v:127.0.0.1:3389
[10:49] <kotgc> tomreyn, ok, most of that's all new to me.
[10:49] <tomreyn> this did get me connected, asked for username, domain, and password. i kept domain empty, username and password were what i had configured on the gnome settings desktop sharing GUI
[10:49] <kotgc> ok, I'm trying to download freerdp now, something about flatpak...I think that's some new Linux thingy.
[10:50] <tomreyn> sudo apt update && sudo apt install freerdp2-wayland
[10:52] <kotgc> I think I use nvidia as I'm not familiar with wayland.
[10:53] <tomreyn> echo $XDG_SESSION_TYPE
[10:54] <tomreyn> ...should tell you what you're using
[11:02] <kotgc> tomreyn, x11
[11:05] <tomreyn> kotgc: so you'll install freerdp2-x11
[11:05] <tomreyn> you can also try your luck with any other rdp client, or frontend using an rdp library (such as remmina)
[11:06] <tomreyn> i just like CLI clients for debugging
[11:09] <kotgc> As per FreeRDP, I'm about to run this code: flatpak install com.freerdp.FreeRDP
[11:10] <tomreyn> you can use the flatpak, or just the apt package i pointed you to
[11:10] <kotgc> I don't see the option you mention, freerdp2-x11
[11:10] <tomreyn> are you not on 22.04?
[11:10] <kotgc> ok, I'll try the flatpak thingy
[11:11] <tomreyn> https://packages.ubuntu.com/search?keywords=freerdp2-x11
[11:11] <tomreyn> maybe you have universe disabled
[11:28] <kotgc> tomreyn, ok, I think FreeRDP is installed?I see possibly a new app called Remote Viewer? No details when I open it though.
[11:33] <tomreyn> kotgc: /usr/bin/xfreerdp if you have freerdp2-x11 installed
[11:33] <tomreyn> i dont know which commands the flatpak provides
[11:50] <kotgc> tomreyn, no, nothing in /usr/bin/ called xfreerdp
[11:51] <kotgc> the flatpak thingy must have failed.
[11:51] <kotgc> Also I checked the FreeRPD Wiki for a user manual on how to use it and the page doesn't load.
[11:54] <kotgc> tomreyn, sorry, I can't use it?
[11:57] <tomreyn> kotgc: so when you run   sudo apt update && sudo apt install freerdp2-x11    you get which error message?
[12:11] <Yakov> tomreyn I'm back, do you have spare minute or two?
[12:12] <tomreyn> Yakov: i don't guarantee availability, but i'll likely be available here for a couple more minutes at least
[12:14] <tomreyn> the best approach you can take is to just ask your questions, though, and wait until someone answers.
[12:15] <Yakov> tomreyn, ty, I could rollback to current user name, but there no inputrc file, bashrc and history that I used before, and all set to default included themes and all shorcuts 1) if I just create new user and copy home and other cfg files, can I expect that all installed apps on supernova would be available in newUser?
[12:17] <tomreyn> i don't see why your inputrc file, bashrc and bash history would have been lost by renaming the user and copying the files.
[12:20] <tomreyn> to (1): no. as you had seen previously, applications may store full paths in their configuration files, such as firefox soting the full path to its profiles in profiles.ini. so if you change the home directory from /home/a to /home/b and copy all configurations then these configuration files will still point to /home/a, i.e. you will need to manually edit these configuration files (where that's possible)
[12:21] <tomreyn> some applications recommend specific means for migrating configuration options between computers (and different users on the same computer), which are not just copying configuration files. for example, with firefox, you could possibly also use their cloud synchronization to carry configurations from user a to user b
[12:22] <tomreyn> (personally, though, i'd prefer just editing profiles.ini)
[12:25] <Yakov> its not related to profiles.ini
[12:25] <Yakov> if I understand it right profiles.ini its mozilla file
[12:27] <tomreyn> yes, i think you may have fully qualified paths in the mozilla configuration file profiles.ini, if that's the case and the home directory is moved, these profiles would no longer be found. i was assuming this may have been the issue you ran into earlier. but it was merely a guess, i did not have enough information.
[12:28] <tomreyn> even if there are no fully qualified (i.e. not just relative) paths in firefox's configuration files, this issue will still apply to other applications
[12:28] <JanC> when you say you copied files, did you also copy the hidden files?
[12:29] <Yakov> I created new user, copied old user to new user, edited etc shadows/passw changed old to new, never realised there were any hidden files lol
[12:29] <tomreyn> so that's why i'm saying: don't just expect to copy the users' entire home directory and expect applications to still find their configurations.
[12:29] <JanC> oh, wait, and how did you copy these files?  does this new user have a new UID?
[12:30] <JanC> in that case you might have to chown those files...
[12:30] <Yakov> i created new user with cmd, granted rights and mv /home old new
[12:30] <tomreyn> mv? you said "copied" earlier
[12:30] <Yakov> it was mv, sorry
[12:31] <JanC> looks like they renamed the old directory, but then it probably still has files owned by the old UID (user)
[12:31] <JanC> ?
[12:31] <Yakov> supernova@supernova-BOHB-WAX9:/home$ source ~/.bashrc
[12:31] <Yakov> bash: /home/supernova/.bashrc: No such file or directory how can it be?
[12:31] <tomreyn> we went through chown -R earlier
[12:31] <JanC> ah
[12:32] <Yakov> how should I copy bashrc file?
[12:32] <tomreyn> copy or move?
[12:32] <tomreyn> if you moved the entire home directory then .bashrc would have been moved with it
[12:32] <Yakov> well its not
[12:32] <tomreyn> so what did you move exactly?
[12:33] <tomreyn> and how
[12:33] <Yakov> home with its contents
[12:33] <Yakov> using mv
[12:33] <Yakov> then reboot
[12:33] <Yakov> and faced this nightmare
[12:33] <tomreyn> do you have the exact command you used?
[12:35] <tomreyn> based on what you described i would have guessed that you ran: sudo mv /home/d /home/supernova
[12:35] <tomreyn> if you used this very command, then any files would have moved
[12:35] <Yakov> w8
[12:38] <tomreyn> you would also have had to make sure the "supernova" user and group exists, and that that it either has the same user id (uid) and group id (gid), or that you     sudo chown -R supernova:supernova /home/supernova
[12:38] <Yakov> https://justpaste.it/98czn
[12:38] <tomreyn> because we previously changed those files to belonf to the 'd' user
[12:39] <tomreyn> ah, good, -m would have done the move and chown
[12:41] <tomreyn> is "newusername" intentionally spelled differently from "new_username" there?
[12:41] <kotgc> tomreyn, I just ran as per FreeRDP instructions: flatpak install com.freerdp.FreeRDP. It didn't work after this download and reboot. No instructions on the gitwiki too.
[12:42] <Yakov> tomreyn no, its sample, real values were different
[12:42] <tomreyn> kotgc: i see. i won't be able to support the flatpak. i did provide instructions how to install freerdp2-x11 using apt multiple times.
[12:43] <tomreyn> Yakov: this does not seem to answer the question i asked.
[12:43] <kotgc> tomreyn, thanks, yes tried that but error: https://dpaste.org/SXcgs
[12:44] <tomreyn> Yakov: 4 different usernames are given in your paste. is this intentional?
[12:44] <kotgc> I'm investigating whether rdp installed, but this anydesk won't uninstall even after I've uninstalled it.
[12:44] <Yakov> no, real values where supernova and j
[12:45] <tomreyn> kotgc: the error you have there is that you are using a third party (anydesk) apt repository and have not installed its apt signing key so this repository cannot be trusted, and apt is currently partially broken as a result.
[12:46] <BluesKaj> Hi all
[12:47] <tomreyn> kotgc: you should probably re-read the (ubuntu) apt installation instructions (hopefully) provided by anydesk, i.e. the documentation you read initially when you set up this third party apt repository and installed this package.
[12:47] <kotgc> tomreyn, anydesk is the worst...it's so stubborn, I really try to avoid it and use Free RDP or something else.
[12:48] <kotgc> tomreyn, yes, I ran this command to remove anydesk: Terminal -> sudo apt remove <programName> -> Enter.
[12:48] <tomreyn> Yakov: so, with this clarified, do you have a question about the paste?
[12:50] <kotgc> tomreyn, I didn't ready any anydesk repository stuff, I just installed anydesk and it's destroyed ubuntu.
[12:50] <tomreyn> kotgc: apt installs software from so-called "apt repositories". if you look at your error message "Err:5 http://deb.anydesk.com all InRelease - The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 18DF3741CDFFDE29" then you'll see that there is an apt repository "deb.anydesk.com" which is configured for apt. your apt repository configuration is located at /etc/apt/sources.list*
[12:51] <tomreyn> there is both a sources.list file, which contains the main ubuntu apt repositories, as well as a sources.list.d/ directory, which can contain additional apt respoitory configurations.
[12:52] <tomreyn> i assume that you have something like /etc/apt/sources.list/anydesk.list which tells apt to retrieve information about this apt repository.
[12:52] <tomreyn> if you do not wish to use anydesk, then you can just delete this file and the error message should be gone the next time you run    sudo apt update
[12:53] <kotgc> tomreyn, https://dpaste.org/psJew
[12:54] <kotgc> tomreyn, yes, I really, really don't want or like anydesk. I tried to remove it with Terminal -> sudo apt remove <programName> -> Enter.
[12:55] <Yakov> tomreyn no yet, gonna take little break
[12:56] <tomreyn> kotgc: your paste shows the main apt repository configuration file, /etc/apt/sources.list - which contains the default ubuntu apt repositories, as explained above. but, as also explained above, i assume that the (leftover) apt repository configuration for anydesk is located somewhere in the /etc/apt/sources.list.d/ *directory*
[12:56] <tomreyn> okay Yakov
[12:58] <kotgc> tomreyn, ah, yes, thank you. Can I just delete this anydesk bit to get rid of it forever? https://dpaste.org/XqDFd
[12:58] <tomreyn> kotgc: you may want to   sudo apt purge anydesk    (or whatever it was called -     dpkg -l | grep -i anydesk      may hint on the package name) - this would ensure any remainders (*other than* the apt repository configuration) of anydesk should be removed (that's if they packaged their software properly).
[13:00] <Yakov> no I dont have permissions to my usb device
[13:00] <kotgc> tomreyn, ok, purge must be stronger than remove. Just ran purge but anydesk is still there...unbelievable.
[13:01] <kotgc> https://dpaste.org/Ys5Ex
[13:01] <tomreyn> kotgc: what 'apt purge' does is to remove leftover configuration files of a package, but *not* its apt repository configuration, you need to do this seperately: sudo rm /etc/apt/sources.list.d/anydesk-stable.list
[13:03] <tomreyn> Yakov: the files on your usb device's file system will likely be owned by the UID/GID of the user which created it. if your current user has a different UID/GID then you will also need to    chown -R uid:gid    the files on the usb stick (or change its mount options to allow anyone access).
[13:04] <tomreyn> kotgc: when you deleted the anydesk apt repository (using the command given above), i suggest you run apt update again, to see whether it still fails:   sudo apt update
[13:05] <kotgc> tomreyn, thanks, worked, but I don't see FreeRDP in the Ubuntu apps? https://dpaste.org/nk7qm
[13:06] <kotgc> rebooting
[13:10] <tomreyn> kotgc: freerdp-x11 may not show in the list of installed applications on your GUI because it just provides a command line interface (CLI) application. the list of applications on the graphical user interface (GUI) usually only lists applications which tehmselves provide a GUI. freerdp2-x11 provides the executable file /usr/bin/xfreerdp
[13:11] <tomreyn> you can see which files a given package provides using    dpkg -L freerdp2-x11
[13:12] <tomreyn> those in /usr/bin or /bin are usually CLI executables
[13:13] <kotgc> tomreyn, yes, I see /usr/bin/xfreerdp
[13:14] <kotgc> https://dpaste.org/TqzGk
[13:14] <tomreyn> right, you have it, so run it, as indicated earlier
[13:15] <tomreyn> xfreerdp /v:127.0.0.1:3389
[13:16] <tomreyn> this will make xfreerdp connect to the rdp server at 127.0.0.1 (the same computer) on port 3389 (the default rdp port)
[13:19] <kotgc> tomreyn, thank you, that ran. What would the domain be please? 127.0.0.1? https://dpaste.org/W0w6N
[13:20] <tomreyn> leave it empty. this is "domain" as in (windows) 'active directory'.
[13:20] <tomreyn> or realm, as kerberos would call it
[13:22] <kotgc> tomreyn, I think it failed? I entered my computer password for password. https://dpaste.org/d1ZAv
[13:23] <tomreyn> you need to enter the credentials you configured on the "sharing" -> "remote desktop" GUI in "Settings"
[13:23] <tomreyn> those can and should be different to those of your ubuntu user account
[13:24] <tomreyn> see these screenshots for how to configure sharing (an example): https://i.imgur.com/CattCIW.png https://i.imgur.com/xsa7DT3.png
[13:25] <kotgc> tomreyn, wow, I think that worked, the screens went crazy. https://dpaste.org/3woFz
[13:26] <tomreyn> interesting, it does not ask for your username. in my case it prompted for the username
[13:26] <kotgc> yes, the Ubuntu sharing is clear. I set that up in an attempt for remote viewing via the tunnel.
[13:26] <tomreyn> but yes, seem to have worked.
[13:28] <kotgc> tomreyn, xfreerdp may have sourced my computer's username ubuntu which is the same as the Remote Desktop Share User Name.
[13:28] <tomreyn> right, one of those INFO lines points this out
[13:29] <kotgc> ah yes, the 2nd line shows that.
[13:29] <tomreyn> so now that you've provien you can connect to THIS computer using freerdp, you should be able to do the same with the other computer
[13:29] <tomreyn> that's if the other computer has a similar sharing setup
[13:29] <kotgc> well I only have a phone with me. The other computer is at another location, outside this LAN.
[13:30] <kotgc> ...if that matters. The tunnel shows connected.
[13:30] <tomreyn> i thought you had this desktop and could use it to access your remote computer, too?
[13:31] <tomreyn> is this an android or iphone?
 tomreyn, how would I test locally? I only have this desktop and phone at the moment, as the laptop isn't with me.
[13:33] <tomreyn> this sounded like you had two computers available for testing, one of them being an ubuntu desktop computer.
[13:33] <tomreyn> maybe you have not set it up for wireguard, though
[13:33] <kotgc> I used to use a laptop to connect, but the laptop broke. I have an iPhone with me and a 2nd computer at another location.
[13:34] <kotgc> I couldn't use OpenVPN and wasn't sure about WireGuard, so I setup
[13:34] <kotgc> TailScale VPN/Tunnel.
[13:34] <kotgc> This desktop is Ubuntu, I have an iPhone and Desktop2 is LinuxMint in another location.
[13:35] <kotgc> Actually, I do have access to a MacMini with me now if that helps?
[13:36] <tomreyn> tailscale is a management / administration frontend for wireguard.
[13:37] <tomreyn> i guess you just need to find a configurable and standards compliant / interoperable rdp client for whichever client device (ios?) you want to use now.
[13:37] <kotgc> ok
[13:37] <tomreyn> the freerdp project does not seem to provide ios builds, but you can probably use any other rdp client.
[13:38] <ravage> the microsoft client is actually decent :)
[13:40] <tomreyn> probably because they looked into how a client which complies with the protocol specification they published actually works and cared about making it work with theirs: https://github.com/microsoft/FreeRDP-mirror
[13:47] <kotgc> Downloaded Microsoft Remote Desktop, added a PC IP address (TailScale's Tunnel address to this Ubuntu Desktop) and connection fails.
[13:48] <tomreyn> you'll need to connect to the tailscale/wireguard LAN ip address of the remote ubuntu system you are meaning to connect to
[13:49] <kotgc> So this Ubuntu desktop is 192.168.1.120. If I enter 192.168.1.120 in the iPhone Microsoft Remote Desktop app, I don't understand how the app will find this computer?
[13:51] <tomreyn> i.e. if the ios phone's tailscale vpn ip address is 172.16.16.5 and the remote ubuntu's tailscale vpn ip address is 172.16.16.8 then you need to connect to .8
[13:52] <kotgc> tomreyn, yes, I entered 172.16.16.8 into the app.
[13:52] <tomreyn> these were example values
[13:52] <tomreyn> you need to have both systems added to your tailscale vpn, in case you haven't done so yet
[13:52] <kotgc> tomreyn, yes. Maybe I need to connect the phone to the tunnel too.
[13:52] <tomreyn> umm yes, of course you need to do that
[13:54] <tomreyn> that's unless you want to make the remote desktop port available on the internet, but that's not a really good idea
[14:00] <kotgc> Ok, working with this desktop and the phone connected to the tunnel and the viewer app connecting to this desktop's LAN 192.168.1.120 with username and share password.
[14:03] <kotgc> Fails with RealVNC viewer app. I prefer VNC and Remmina, but guess I'll have to use Microsoft Remote Viewer on the phone and other LinuxMint computer.
[14:03] <kotgc> tomreyn, thanks!
[14:05] <tomreyn> kotgc: you also wont be able to connect to a rdp service using an ftp, rdp and vnc (while sharing a common history) are just different protocols.
[14:05] <tomreyn> and realvnc, for all i know, only support vnc, not rdp
[14:05] <tomreyn> *an ftp client
[14:07] <tomreyn> it's correct that you can optionally choose to enable 'legacy vnc' support on the gnome settings / sharing / desktop sharing end, but rdp is actually the less cumbersome protocol, i would say.
[14:08] <tomreyn> kotgc: remmina does support both vnc and rdp, i think, but i assume you won't find an ios build of it.
[14:09] <kotgc> tomreyn, ok, surprised Ubuntu supports RDP more than VNC. LinuxMint was good on VNC, but I use Ubuntu these days for more powerful networking features.
[14:09] <tomreyn> kotgc: i should also point out that we really only support ubuntu here, not any derivatives.
[14:09] <tomreyn> it's more of a Gnome choice, less one of Ubuntu
[14:09] <kotgc> tomreyn, yes, the ubuntu support making the server worked helped.
[14:09] <tomreyn> you can configure ubuntu with either.
[14:10] <tomreyn> so you can now view and control the remote computer from your mobile phone?
[14:10] <kotgc> ? configure ubuntu with either? rdp or vnc you mean? Yes view and control works :-)
[14:11] <tomreyn> ubuntu provides multiple rdp and vnc server implementations. the least cumbersome to use with gnome is likely what you are using now, though.
[14:11] <tomreyn> glad you worked it out today.
[14:12] <kotgc> tomreyn, thanks for your ubuntu help, I couldn't have figured that out without you.
[14:12] <kotgc> just the networking alone, new with a tunnel had all sorts of configuration combinations confusing my setup.
[14:13] <kotgc> ubuntu offers a default vnc sharing though, so I'm unclear why rdp works and vnc doesn't.
[14:13] <kotgc> oh, that's where I tick Enable Legacy VNC Protocol
[14:13] <tomreyn> you're welcome. i think you mostly needed two things: a better understanding of which protocol this remote desktop thing in gnome actually uses (it's not well documented, or explained on the GUI, sadly) and understanding of how to setup the mesh VPN between all your nodes / fully understanding the network architecture.
[14:15] <kotgc> Yes, I can see the Ubuntu networking better, now that it's working. I might play around with VNC.
[14:19] <tomreyn> good luck. vnc will use port 5900/tcp by default. unfortunately, the vinagre vnc server the gnome 'legacy vnc protocol' setting provides and several vnc client implementations have interoperability issues (some of which can be overcome by disablng encryption on the vinagre side using gsettings). so... this can involve a lot of fiddling.
[14:21] <tomreyn> i assume that's also one of the reasons why gnome moved away from that as a default desktop sharing server. the main reason is likely that the rdp server implementation supports wayland.
[14:25] <kotgc> tomreyn, ok, thanks, might be a bit much for me.
[14:39] <Yakov> I'm back, pls help me to revive usb and I just reinstall OS
[15:06] <lotuspsychje> !usb | Yakov
[15:51] <teletubby> hi i need help with libusb-1.0.0-dev
[15:51] <teletubby> it wont install
[15:51] <teletubby> The following packages have unmet dependencies:
[15:51] <teletubby>  libusb-1.0-0-dev
[15:53] <CosmicDJ> teletubby: which ubuntu version?
[15:53] <teletubby> 22.04
[15:53] <teletubby> jammy
[15:53] <teletubby> CosmicDJ
[15:54] <CosmicDJ> teletubby: the only dep seems to be libusb-1.0.0 https://packages.ubuntu.com/jammy/libusb-1.0-0-dev
[15:54] <teletubby> still getting error even when sent to ubuntu software app
[15:56] <teletubby> the software i want is
[15:56] <teletubby> 2:1.0.25-1ubuntu2
[15:56] <teletubby> CosmicDJ
[15:58] <teletubby> i have 1ubuntu2???
[15:58] <teletubby> why does the software still want it
[16:02] <arraybolt3> teletubby: Is this an app from a PPA or third-party repo?
[16:02] <teletubby> from github
[16:02] <arraybolt3> Is it specifically designed for Ubuntu 22.04?
[16:03] <arraybolt3> It sounds like the app developer is requiring an older version of libusb than the one you have and explicitly stating in the installer that it is incompatible with the newer version you have.
[16:03] <arraybolt3> If it is designed for 22.04, report the issue as a bug to the developer of the application. If not, you may need to install Ubuntu 20.04 (or whatever version your app does support) instead.
[16:04] <teletubby> only says "linux"
[16:04] <teletubby> no specific os
[16:04] <arraybolt3> hmm. I'd report it as a bug anyway.
[16:04] <teletubby> i give up
[16:04] <teletubby> for ham radio using ubuntu is impossible
[16:04] <arraybolt3> Probably the software is meant for Ubuntu 20.04 or Debian 11.
[16:05] <arraybolt3> It needs 1.0.0? One sec...
[16:05] <teletubby> https://github.com/AlexandreRouma/SDRPlusPlus
[16:05] <teletubby> https://github.com/AlexandreRouma/SDRPlusPlus#debian-based-ubuntu-mint-etc
[16:05] <teletubby> here it is but that gives me an error too
[16:05] <arraybolt3> teletubby: Ubuntu 20.04 has libusb-1.0.0-dev in its repos.
[16:06] <teletubby> so id have to go to 1.0.0??
[16:06] <arraybolt3> You may need to install the older version of Ubuntu to get it going.
[16:06] <teletubby> jesus
[16:06] <arraybolt3> And still report this to the developer of the application.
[16:06] <teletubby> i reported it
[16:06] <arraybolt3> ah.
[16:06] <teletubby> ill wait for his response before making any changes
[16:06] <teletubby> what about debian? is that any better?
[16:06] <teletubby> would that work?
[16:06] <arraybolt3> dunno, maybe?
[16:06] <teletubby> risky
[16:06] <arraybolt3> I can check.
[16:07] <teletubby> okay
[16:07] <arraybolt3> You would have to use Debian 11, which is not the latest version.
[16:08] <arraybolt3> Debian 12 has a newer version that isn't compatible with the app you're trying to use.
[16:09] <teletubby> i have a usb that had ubuntu flashed on it with Etcher software
[16:09] <teletubby> is it ok if i reflash it?
[16:09] <teletubby> with another iso?
[16:09] <arraybolt3> oh wait a sec
[16:09] <arraybolt3> I may be wrong, hold on...
[16:10] <arraybolt3> hah, guess what, I'm wrong.
[16:10] <arraybolt3> libusb-1.0.0 is in Jammy, but the -dev package and the -doc package is out of sync.
[16:10] <arraybolt3> er, the -dev package and the actual library are out of sync.
[16:10] <arraybolt3> not the -doc
[16:10] <arraybolt3> that's an Ubuntu bug.
[16:10] <arraybolt3> And that should be fixable on our end.
[16:10] <teletubby> so, is there a solution?
[16:10] <teletubby> is that the solutino
[16:11] <arraybolt3> Yeah. Gimme a sec and I think I can make it work for you, and try to make it work for others too.
[16:11] <teletubby> okay
[16:12] <arraybolt3> This may take a bit - Debian packaging isn't very fast or easy, but it's something I'm skilled at.
[16:12] <teletubby> oh
[16:12] <teletubby> well id have to go back to windows?
[16:12] <teletubby> sdr softwares are a minority in linux world
[16:12] <arraybolt3> I think I can make it work if you just give me a sec.
[16:13] <teletubby> okay
[16:13] <arraybolt3> I can upload a fixed libusb-1.0 package to a PPA, then you can use that right away while I handle getting the package fixed in the Ubuntu archives.
[16:13] <mcc> Hello, I have a VPS which at some point hit its maximum inodes. `df -i` shows IUse%  100%.  This seems to have meant at some point apt-get upgrade failed because it couldn't create new files, so any apt operation tells me to run apt --fix-broken install .
[16:13] <mcc> It also says I have 48 (!) linux-hwe-5.4-headers-5.4.0- packages which are eligible for autoremove. I assume that would free up many inodes. However, I cannot apt autoremove because it wants me to --fix-broken install first. And --fix-broken install fails because there is no space left on device (false, the problem is inodes…)
[16:14] <tomreyn> mcc: try to    dpkg -P somepackage
[16:14] <mcc> So I cannot run --fix-broken install without running autoremove first and I cannot autoremove without running --fix-broken install first. How do I proceed? This is on 18.04, which is end-of-lifed, but of course I can't upgrade without this
[16:14] <arraybolt3> teletubby: Actually, I have an even faster solution for you. `sudo apt install libusb-1.0.0-dev=2:1.0.25-1ubuntu2 && sudo apt-mark hold libusb-1.0.0-dev`
[16:15] <arraybolt3> that will install the slightly older version and keep it from being updated.
[16:15] <arraybolt3> wait, no
[16:15] <arraybolt3> gah, typo
[16:15] <arraybolt3> `sudo apt install libusb-1.0.0-dev=2:1.0.25-1ubuntu1 && sudo apt-mark hold libusb-1.0.0-dev`
[16:15] <mcc> @tomreyn This seems to be fixing it. THank you
[16:15] <arraybolt3> ^ that one should work
[16:15] <tomreyn> mcc: next i'd do:  sudo apt-get autoclean
[16:15] <teletubby> E: Unable to locate package libusb-1.0.0-dev
[16:15] <teletubby> E: Couldn't find any package by glob 'libusb-1.0.0-dev'
[16:15] <teletubby> ri
[16:15] <teletubby> rip
[16:16] <tomreyn> mcc: and only then i would do the autoremove --purge
[16:16] <arraybolt3> eh? must have typed something wrong
[16:16] <mcc> oh really. well, i'd already started the autoremove but i'll do autoclean after that
[16:16] <teletubby> u needed
[16:16] <teletubby> sudo apt get install
[16:16] <teletubby> Note, selecting 'libusb-1.0-0-dev' for regex 'libusb-1.0.0-dev'
[16:16] <teletubby> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[16:16] <teletubby> libusb-1.0-0-dev set on hold.
[16:16] <arraybolt3> ah, I see what I did wrong
[16:16] <tomreyn> mcc: thats fine as long as it works
[16:16] <mcc> i think it worked, thank you
[16:16] <arraybolt3> I typed a . rather than a -
[16:16] <tomreyn> !paste | teletubby
[16:17] <teletubby> okay
[16:17] <teletubby> gotit
[16:17] <arraybolt3> teletubby: sudo apt install libusb-1.0-0-dev=2:1.0.25-1ubuntu1 && sudo apt-mark hold libusb-1.0.0-dev
[16:17] <arraybolt3> that might end up erroring out the same way though
[16:17] <teletubby> yep it did
[16:17] <arraybolt3> gah, and libusb itself seems important
[16:18] <teletubby> libusb is a curse
[16:18] <arraybolt3> sigh... what on earth
[16:18] <arraybolt3> teletubby: I am able to force a downgrade to the older version on my machine, but it will undo a bugfix.
[16:18] <arraybolt3> which could be, er, less than ideal.
[16:18] <teletubby> u dont have to
[16:19] <arraybolt3> I meant it might be less than ideal for you.
[16:19] <teletubby> linux only has : gqrx for sdr supporte
[16:19] <mcc> apt-get upgrade on my 18.04 is saying:
[16:19] <mcc> The following packages have been kept back:
[16:19] <mcc>   grub-common grub-pc grub-pc-bin grub2-common linux-image-generic-hwe-18.04 ubuntu-advantage-tools
[16:19] <mcc> Should I worry about this? SHould I try to do something about this before I do-release-upgrade?
[16:19] <teletubby> even then, alot of stuff are missing from it
[16:19] <arraybolt3> teletubby: sudo apt-mark unhold libusb-1.0-0-dev
[16:19] <arraybolt3> (to undo the accidental version lock we did earlier)
[16:20] <teletubby> it cancelled
[16:20] <arraybolt3> trying to think, what's the best way to do this...
[16:20] <teletubby> the hodl
[16:20] <teletubby> hold
[16:20] <arraybolt3> teletubby: I *think* I can make an updated, fixed package and put it in a PPA, with a version number that will eventually be overridden once a new libusb goes into the archive.
[16:21] <tomreyn> mcc: you should worry about 18.04, but apparently you are doing so already. and you should     sudo apt update && sudo apt full-upgrade     before you do the release upgrade
[16:21] <mcc> what is the difference between upgrade and full-upgrade?
[16:21] <arraybolt3> I have to get the version number perfect for that to work, and that's a bit tricky, so lemme verify the bug, and if it's there I'll ask another dev for help.
[16:22] <tomreyn> mcc: and maybe reboot, too, if you ran out of inodes on /
[16:22] <mcc> oh, that's an interesting idea
[16:22] <teletubby> so complicated
[16:22] <mcc> at the moment is to make sure my system is in a state which will maximize chances of a correct, healthy do-release-upgrade
[16:22] <tomreyn> mcc: the difference is that full-upgrade also installs new and removes packages if this seems to make sense.
[16:22] <mcc> ok
[16:23] <tomreyn> do you have third party repositories?
[16:23] <tomreyn> or packages, or package versions?
[16:24] <arraybolt3> teletubby: this is weird, I actually can install libusb-1.0-0-dev over here.
[16:24] <teletubby> what the?
[16:24] <teletubby> what did u type
[16:24] <arraybolt3> Somehow... your system is trying to grab the older version
[16:24] <teletubby> what do i do now
[16:24] <arraybolt3> sudo apt install libusb-1.0-0-dev
[16:24] <arraybolt3> which I thought is what you typed
[16:24] <teletubby> i did but it cant find the package
[16:24] <teletubby> what if i restart my pc?
[16:24] <arraybolt3> sudo apt update
[16:24] <arraybolt3> maybe your package cache is out-of-date or somehow weird
[16:24] <tomreyn> mcc: those usually reduce your chances of a 'correct, healthy do-release-upgrade', often a lot.
[16:25] <arraybolt3> teletubby: to be clear, you are running Ubuntu 22.04 right?
[16:25] <teletubby> https://pastebin.com/Fd6mSUZx
[16:25] <teletubby> yes
[16:25] <arraybolt3> Real Ubuntu? Not a derivative like Pop!_OS?
[16:25] <teletubby> no
[16:25] <teletubby> i went to the ubuntu site
[16:25] <mcc> Is this message during a full-upgrade alarming? It doesn't look alarming but just checking: "dpkg: warning: unable to delete old directory '/var/cache/ubuntu-advantage-tools': Directory not empty"
[16:25] <arraybolt3> hmm, that pastebin looks worrying
[16:25] <teletubby> why
[16:26] <teletubby> ig ill just go to windows
[16:26] <arraybolt3> apt is refusing to update the software database because you have a bad repo in your list of repositories.
[16:26] <teletubby> what other choice have i got
[16:26] <teletubby> bad repo?
[16:26] <tomreyn> teletubby: it's a debian mirror
[16:26] <arraybolt3> teletubby: ls /etc/apt/sources.list.d
[16:26] <teletubby> azlux.list  kismet.list  obsproject-ubuntu-obs-studio-jammy.list
[16:27] <teletubby> could it be qbittorent
[16:27] <arraybolt3> no, it's azlux
[16:27] <teletubby> whats azlux
[16:27] <arraybolt3> A repo you added at some point.
[16:27] <arraybolt3> or that someone else added for you perhaps
[16:27] <teletubby> dont remember
[16:27] <teletubby> so how do i get rid of it
[16:27] <arraybolt3> It says "This is an extra repository providing up-to-date archives for open-source projects."
[16:27] <tomreyn> ah no, not a debian mirror, sorry
[16:28] <teletubby> should i get rid of it
[16:28] <arraybolt3> teletubby: it might help
[16:28] <teletubby> how do i do that
[16:28] <arraybolt3> one sec
[16:28] <arraybolt3> I'd use ppa-purge but it needs to be called in a very particular way in order to work here.
[16:29] <arraybolt3> teletubby: sudo apt install ppa-purge
[16:29] <teletubby> done
[16:29] <tomreyn> mcc: no, i would not think that's much of an issue.
[16:30] <teletubby> now what arraybolt3
[16:30] <arraybolt3> sigh, now that I look at it, this repo can't be easily ppa-purged after all.
[16:30] <teletubby> wtf?
[16:30] <teletubby> is it a virus or what
[16:30] <arraybolt3> no, it's a weird URL format limitation in ppa-purge
[16:30] <arraybolt3> it looks like you installed your system, followed random guides to get newer stuff, and now it's causing issues.
[16:31] <teletubby> shit
[16:31] <teletubby> now what ?
[16:31] <teletubby> my bad for saying that
[16:31] <arraybolt3> At this point, I'd reinstall Ubuntu from scratch since there's no telling what all has been broken or otherwise made to work incorrectly. Then only use software from the official repos unless you can't get it any other way or absolutely need a newer version of something.
[16:31] <arraybolt3> Then you should be able to isntall libusb-1.0-0-dev and the SDR software you're trying to use.
[16:32] <arraybolt3> And stay away from random "how to install XYZ" guides on the Internet, those are wrong all too often.
[16:32] <teletubby> i need obs studio, hexchat and sdr software
[16:32] <teletubby> thats enough
[16:32] <teletubby> well ill be back
[16:33] <arraybolt3> ppa-purge *really* needs support for more than just PPAs. The fact that you can hack it into working with other things, but not if it doesn't like the URL, is severely frustrating.
[16:34] <tomreyn> it also doesn't handle the situation where a signing key is missing or expired
[16:35] <teletubby> im on phone now
[16:35] <tomreyn> or where the repository no longer exists
[16:35] <teletubby> im reinstalling
[16:35] <teletubby> obs studio, hexchat, sdr software
[16:35] <teletubby> thats all i need
[16:36] <tomreyn> teletubby: if you need a log of what you and others said previously, there's https://irclogs.ubuntu.com (it can take half an hour to update)
[16:36] <teletubby> no need i saved it here
[16:36] <teletubby> Just 3 software
[16:36] <teletubby> thats all I need
[16:45] <arraybolt3> teletubby: Hexchat and OBS Studio are both in the Ubuntu repos.
[16:45] <arraybolt3> So just `sudo apt install hexchat obs-studio`
[16:46] <arraybolt3> teletubby: Then follow the directions for your SDR software and they should work now that you don't have third-party repos in the way.
[16:47] <teletubby> okay will do
[16:47] <teletubby> its halfway done with reinstallation for OS
[17:01] <teletubby> it installed arraybolt3
[17:02] <tomreyn> teletubby: i don't think it's strictly necessary to keep us posted about your installation progress - you are welcome to ask questions when you have any.
[17:06] <teletubby> sudo apt update
[17:06] <teletubby> E: could not get lock /var/lib/lock
[17:06] <teletubby> what is this now
[17:06] <teletubby> it is held by process 3069?
[17:07] <tomreyn> you often have this on a fresh installation.    ps 3069    will probably show this is aptdaemon
[17:08] <teletubby> oh
[17:08] <tomreyn> it happens because the background process which runs to check for available updates (and would later trigger the GUI update prompt to be shown) runs at the same time as your manual apt commands
[17:09] <tomreyn> it will probably be done in a minute or two
[17:14] <teletubby> still locked by 3069
[17:14] <teletubby> cant install any apps
[17:14] <teletubby> goddamn it
[17:15] <teletubby> ill wait
[17:15] <leftyfb> teletubby: let it finish. Be patient
[17:15] <leftyfb> teletubby: sudo tail -f /var/log/dpkg.log    # run this and you can watch it doing updates
[17:21] <teletubby2> 123
[17:21] <teletubby2> testing irc on ubuntu
[17:21] <teletubby> good
[17:24] <teletubby2> can't get on my phone now, SDR now works
[17:24] <teletubby2> arraybolt3
[17:24] <arraybolt3> teletubby2: o/
[17:24] <arraybolt3> Woot!
[17:24] <teletubby2> sdr works after OS reinstall
[17:27] <teletubby2> thanks for helping
[17:27] <teletubby2> i can now make a portable station
[17:52] <devslash> I wrote a cron job that looks like this: 0 3 * * * /root/startRsync > /root/rsynclogs but it is not executing ever. I meant for it to run daily at 3 AM every day . Is this syntax correct ?
[17:56] <leftyfb> devslash: journalctl -u cron |grep startRsync
[17:56] <leftyfb> devslash: also, I would recommend using a systemd service and timer as opposed to cron. You have more control and recovery options
[17:58] <pragmaticenigma> devslash: You will want to make sure that startRsync is executable, and I think you need to run it as /root/./startRsync
[17:58] <leftyfb> it does need to be executable but specifying the latter isn't necessary
[17:58] <pragmaticenigma> or else put the script executer in front of it such as /bin/bash /root/startRsync. Cron does not have the same environment variables set as it does in the interactive terminal
[18:03] <devslash> leftyb i cant do that. I have no idea how
[18:04] <devslash> the script is executable
[18:04] <pragmaticenigma> does it have the #! defined at the top, pointing to the correct interpreter?
[18:04] <devslash> yea
[18:05] <devslash> #!/bin/bash
[18:06] <leftyfb> devslash: https://medium.com/@benmorel/creating-a-linux-service-with-systemd-611b5c8b91d6
[18:06] <leftyfb> devslash: https://linuxhandbook.com/create-systemd-services/
[18:06] <leftyfb> it's not that hard
[18:07] <leftyfb> once you get the .service file created, running and tested, then you can make it run with a timer
[18:07] <leftyfb> devslash: https://opensource.com/article/20/7/systemd-timers
[18:22] <derek-shnosh> Ubuntu 23.10 Gnome/Wayland session... I'm having to right-click to paste copied text to any terminal app (gnome-terminal, tilix). To clarify, if I copy text from a .txt|.md file and use CTRL+V to paste it into any other app it works. In the terminals I'm accustomed to using SHIFT+INS to paste, but the copied text doesn't paste.
[18:22] <derek-shnosh> It seems the terminals are maintaining a different clipboard for pasting with hotkeys. If I right-click > paste, it works fine.
[18:23] <pragmaticenigma> derek-shnosh: I'm not sure what terminal emulator is available in 23.10, but you should be able to use 'ctrl' + 'shift' + 'v' for pasting into the terminal
[18:24] <derek-shnosh> Thing is the CTRL+INS works for paste, but its pasting "different?" clipboard data... like something that I may have previously copied from the terminal.
[18:25] <leftyfb> shift+ins works for me in both gnome-terminal and terminator on ubuntu 22.04. Though I wasn't even aware that that was a thing. I've always used CTRL+SHIFT+V
[18:25] <derek-shnosh> Yeah CTRL/SHIFT+INS is what I'm accustomed to using because most of the stuff I work with as a network engineer is unix shell based.
[18:26] <pragmaticenigma> derek-shnosh: Do you have some sort of clipboard manager/history extension installed?
[18:26] <derek-shnosh> No.
[18:36] <ice9> is this output of the 'w' command correct for only 1 logged in user? and why the second line is showing 57days IDLE if this session is few minutes only? https://pastebin.mozilla.org/4idhXqPs
[18:39] <leftyfb> ice9: 1 is for your desktop, the other is for your tty session
[18:44] <ice9> leftyfb, right but i'm only logged into a gnome-shell session and no other terminals, even if I ran the command 'tty' in the terminal emulator, I get a name like "/dev/pts/0", not tty3
[18:45] <leftyfb> ice9: CTRL+ALT+F3
[18:46] <ice9> leftyfb, ok, so CTRL+ALT+F1 is the GDM and CTRL+ALT-F3 is the current session; thanks; but why is it showing IDLE for 57days?
[18:46] <ice9> and why GDM has name "seat" not tty1?
[18:56] <BGZT> Hi all, may I ask a technical question?
[18:56] <pragmaticenigma> ice9: "seat" is a feature of systemd-logind, which manages the tty instances. seat puts itself where traditionall tty1 would be, and for each user that logs in, assigns to the next available tty instance.
[18:59] <pragmaticenigma> ice9: if I understand it correctly, it's part of a virtualization technique. If you wanted you could have multi-seat setup where one machine supports multiple sets of Keyboards, Mice, and Monitors and allocates other resources accordingly. Similar to a VM
[18:59] <derek-shnosh> BGZT: fire away.
[19:02] <BGZT> When updating my RPi Ubuntu 20.04 (ARM) distro, I encounter a "No space left on device error" but I think somehow that is not the real problem, since there are over 52 GB of space left on the device.
[19:03] <BGZT> update-initramfs: Generating /boot/initrd.img-5.4.0-1047-raspi
[19:03] <BGZT> cp: error writing '/var/tmp/mkinitramfs_sTcKuH//usr/lib/aarch64-linux-gnu/libmount.so.1.1.0': No space left on device
[19:03] <BGZT> cp: error writing '/var/tmp/mkinitramfs_sTcKuH//usr/sbin/logsave': No space left on device
[19:03] <BGZT> cp: error writing '/var/tmp/mkinitramfs_sTcKuH//usr/sbin/e2fsck': No space left on device
[19:03] <BGZT> E: /usr/share/initramfs-tools/hooks/fsck failed with return 1.
[19:03] <BGZT> update-initramfs: failed for /boot/initrd.img-5.4.0-1047-raspi with 1.
[19:05] <leftyfb> !paste | BGZT
[19:06] <BGZT> OK. Sorry. I didn't mean to bother anyone. I'll do so next time. My apologies...
[19:06] <leftyfb> BGZT: also, /var/tmp is a ram disk/mount. You ran out of memory. To be honest, I don't know that I've ever heard of ubuntu being upgraded in-place on a pi. Personally I just get another sd card and set it up again
[19:07] <BGZT> Well, the disk is almost empty and working with no errors so I don't get the point on changing the card...
[19:07] <leftyfb> BGZT: because it's cheap and easy
[19:08] <ioria> BGZT, df -i
[19:09] <leftyfb> ioria: that ran out of memory on the /var/tmp ramdisk
[19:09] <leftyfb> that/they
[19:09] <BGZT> Yes but if it really is not the issue, maybe with a 1 TB card might crash either
[19:09] <leftyfb> BGZT: again, it's a memory issue, nothing to do with storage
[19:10] <BGZT> Aha. So is there any trick or something I could do?
[19:10] <ioria> have we checked the ram usage ?
[19:10] <BGZT> https://dpaste.com/EGLQJ3D6F
[19:11] <BGZT> No I didn't check the ram usage
[19:11] <BGZT> How can I do that?
[19:11] <leftyfb> BGZT: there's probably several things you can do, but it's going to take a lot more work and a lot more time to do this in-place upgrade that will have cruft than it will to just start with a new sd card
[19:12] <ioria> BGZT, free -m
[19:12] <leftyfb> ioria: I'm pretty sure the installer cleans up after itself when it's done so the current usage won't reflect the issue
[19:12] <BGZT> You mean a new ROM install?
[19:12] <leftyfb> BGZT: no, sd card
[19:12] <ioria> i see
[19:12] <Eickmeyer> The only way I've been able to do an in-place upgrade on a pi is by mounting a swapfile, at least temporarily.
[19:13] <leftyfb> BGZT: get a new sd card, flash ubuntu 22.04 onto it, put it in pi, boot and reinstall your applications and restore from your backup
[19:13] <BGZT> https://dpaste.com/8VEMT54LH
[19:13] <leftyfb> Eickmeyer: right, putting a pretty decent strain on the sd card in the process
[19:13] <Eickmeyer> sd cards are cheap.
[19:14] <leftyfb> BGZT: this is more than likely a pi3, y point above is even more valid now
[19:14] <Eickmeyer> If necessary, connect an external drive via USB and mount a swap partition there or a swapfile there. :P
[19:15] <leftyfb> BGZT: it's not going to be worth the time and effort to do an in-place upgrade over just getting a new card card and starting over and restoring from backup. Or just wipe the card you have and start over and restore from backup
[19:15] <BGZT> Indeed, it is a RPi 3B+ and right now I cannot access physically it because I would have to walk for a while or take my car...
[19:16] <pragmaticenigma> pretty sure nearly all official documentation from anyone releasing a Raspberry Pi version, all say: Do not upgrade the OS version, re-flash a new image to the card
[19:17] <BGZT> So I got a point on doing an in-place upgrade, but should it be impossible or hard, I will do as you say...
[19:18] <leftyfb> it's possible, but not worth it
[19:18] <leftyfb> and you probably won't be happy with the result
[19:18] <BGZT> Aha...
[19:18] <Eickmeyer> Let's make sure we're consulting official Ubuntu documentation on this before other sources per !guidelines, if it exists.
[19:18] <BGZT> I understand
[19:19] <Eickmeyer> BGZT: That wasn't necessarily directed at you.
[19:20] <BGZT> Haha sorry, I was referring at you all in general, and thank you anyway
[19:21] <BGZT> I am using webchat and I still don't understand very well the interface
[19:25] <BGZT> So once I typed and went throughout this procedure, is there any way I can revert the process, or how may I now about the current situation?
[19:25] <BGZT> https://dpaste.com/9XBRV733C
[19:26] <pragmaticenigma> Eickmeyer: If it matters, I'm drawing the documentation from the hardware manufacturer, which in each release have advised against in place os upgrades on their hardware. So it is documented, at the hardware manufacturer level. Pardon me for not having a quick link at the ready to back up that claim. As I'm sure trying to google the word "Ubuntu" "upgrade" and "Raspberry PI" nets a large number of results to parse through on a moments
[19:26] <pragmaticenigma> notice to satisfy your statement.
[19:27] <BGZT> Interesting...
[19:27] <leftyfb> BGZT: hold on, it looks like you're just doing normal updates and not and upgrade to a new release
[19:27] <leftyfb> BGZT: unless you modified /etc/apt/sources.list first
[19:28] <BGZT> I don't think I modified sources, but I must confess yesterday I did type an apt-get update and after that apt-get upgrade
[19:28] <BGZT> And I got to this point
[19:29] <leftyfb> BGZT: reboot and run your commands again
[19:29] <BGZT> I've already done that
[19:29] <BGZT> And still the same
[19:30] <pragmaticenigma> How long since your last run of package updates? (aka apt-get upgrade)
[19:30] <BGZT> Maybe one year
[19:30] <BGZT> Or even more
[19:30] <pragmaticenigma> ouch
[19:31] <BGZT> In fact I think I have never upgraded it before
[19:35] <pragmaticenigma> BGZT: To answer your question: Is it possible to rescue this install? Yes... But it's going to take a lot of time and honestly, I'd go get the device backup what's important from it, and then I'd flash a fresh image on it and restore your configurations and data.
[19:37] <BGZT> I understand. So from now on, what 64 bit distribution would you guys recommend for a device like a RPi 3B+ ?
[19:37] <leftyfb> it looks like the install isn't currently broken
[19:37] <BGZT> (May you pardon for the question)
[19:37] <leftyfb> just the kernel apt update
[19:38] <BGZT> Yeah that is what I believe
[19:38] <leftyfb> the problem is, maybe you are running too many things taking up memory that is preventing you from doing the update
[19:38] <leftyfb> BGZT: is this running a desktop?
[19:38] <BGZT> No
[19:38] <BGZT> I think in principle I have nothing installed
[19:39] <leftyfb> you have nothing installed?
[19:39] <BGZT> I mean nothing that I did on purpose
[19:39] <leftyfb> BGZT: wipe it and start over
[19:39] <BGZT> How can I do that without breaking the OS?
[19:39] <BGZT> I mean the home folder is empty
[19:39] <leftyfb> you have nothing installed so there's nothing to worry about breaking
[19:39] <leftyfb> just start over
[19:40] <BGZT> You mean a new disk flash
[19:40] <leftyfb> yes
[19:41] <leftyfb> all this effort over losing nothing of importance
[19:41] <BGZT> Yes, you definitely convinced me, so my question is should I install a ubuntu distro or would you recommend something else?
[19:42] <leftyfb> BGZT: it wouldn't make a whole lot of sense or anyone in #ubuntu to recommend anything other than ubuntu
[19:43] <BGZT> Haha yes I understand but we are talking about an embedded machine, not exactly a laptop, server or PC
[19:43] <BGZT> But anyway, I understand your point
[19:43] <leftyfb> BGZT: I run ubuntu on bunch of pi's
[19:43] <telestation> should i install git?
[19:43] <telestation> sounds stupid but bcz of that one repository im curious
[19:44] <leftyfb> telestation: only you can answer that
[19:44] <telestation> https://github.com/antirez/dump1090
[19:44] <telestation> i need to install this
[19:44] <telestation> to track airplanes
[19:45] <leftyfb> telestation: sorry, but we cannot support 3rd party applications that aren't from the official ubuntu repositories
[19:46] <telestation> "Since Git lacks authentication and verification measures, that makes both Git and the hosting platform GitHub unsafe"
[19:46] <telestation> according to google
[19:46] <leftyfb> telestation: feel free to discuss that in #security
[19:47] <leftyfb> or #git
[19:49] <BGZT> OK, thank you all for your answers. You were very helpful and probably saved me from hours of useless effort
[19:49] <BGZT> Bye
[20:08] <lubuntu> omg
[20:08] <lubuntu> this is painful
[20:08] <lubuntu> WHY DOESNT IT WORK ON A 1GB RAM
[21:21] <derek-shnosh> Oh, what a fun day... I rebooted Ubuntu 22.04 while connected to a VPN (palo alto global protect client) which obviously killed the connection... but now after reboot I get no DNS.
[21:21] <derek-shnosh> I removed a couple lines that were specific to the VPN connection from /etc/resolve.conf and restarted systemd.resolved, but still nothing.
[21:22] <derek-shnosh> This is what I get when I try `dig google.com`... https://dpaste.com/3RZ8LV82L
[21:23] <derek-shnosh> This is what my current `resolvectl status` looks like... https://dpaste.com/GEQ6A2TCR
[21:23] <leftyfb> derek-shnosh: you shouldn't be modifying /etc/resolv.conf
[21:24] <derek-shnosh> leftyfb: agree, but those entries were added by the VPN client software, so I removed them in hopes that it would fix the issue.
[21:24] <leftyfb> derek-shnosh: if you have no DNS, you either have some custom configs that are causing issues or there is something wrong with your network
[21:24] <leftyfb> derek-shnosh: ls -l /etc/resolv.conf    # what does this give you?
[21:26] <derek-shnosh> Figured it out... grabbed the default configs from /etc/resolv.conf from a cloned VM and put them back into this one.
[21:27] <derek-shnosh> Broken state I had `options edns0 trust-ad` only... needed two more lines defining nameserver and search domains.. `nameserver 127.0.0.53 ; search .`
[21:27] <leftyfb> derek-shnosh: ls -l /etc/resolv.conf    # what does this give you?
[21:27] <derek-shnosh> The issue is resolved... but "-rw-r--r-- 1 root root 920 Dec 21 14:58 /etc/resolv.conf"
[21:28] <leftyfb> derek-shnosh: then that means you have customized your system and are not using the built-in network stack
[21:29] <derek-shnosh> Unless the VPN client customized it, I have not. This is a default Ubuntu 22.04.3 LTS install.
[21:29] <leftyfb> derek-shnosh: if I were you, I would run:   sudo mv /etc/resolv.conf /etc/resolv.conf.broken && sudo ln -s /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
[21:30] <derek-shnosh> I will consider it... however, while not symlinked, the end result is the same, the file contents matches.
[21:31] <leftyfb> derek-shnosh: except your DNS will probably not work in some cases
[21:31] <leftyfb> put it back to the default which is a stub resolver from systemd-resolved
[21:45] <derek-shnosh> leftyfb: sorry, stepped away. Thank you, will do.
[22:05] <derek-shnosh> leftyfb: interesting, just rebuilt a 22.04.3 VM from scratch, ran updates, installed the VPN client, the whole process... this one does have the symlink. I'm unsure how these VMs ended up without it, but I'm comfortable reverting.
[22:18] <dzwdz> hi
[22:18] <dzwdz> are there any recommended tools for building ubuntu packages on non-ubuntu systems?
[23:36] <wildo> facing the same issue: https://askubuntu.com/questions/1448596/text-is-blurry-ubuntu-22-04
[23:37] <wildo> why is ubuntu so rubbish?
[23:37] <wildo> it's not 2009 anymore
[23:37] <wildo> and it's not like their hiring process is any easy either
[23:37] <wildo> so how come these can't do multi monitor right
[23:37] <wildo> smh :|