[00:23] <monty_hall> would like to convert a fs to BTRFS so I can do compression.  Can I mount uncompressed and just chattr +c on a directory - to get a compressed directory?
[00:25] <sarnold> I'd be surprised if btrfs rewrites existing contents
[00:25] <sarnold> you probably have to have the directory or subvolume or whatever it is marked for compression before writing anything into it
[00:26] <monty_hall> my plan is to format a drive for BTRFS - mount it uncompressed - and just do a "chattr +c mycompressedfolder"
[00:26] <monty_hall> or are you saying this is a bad idea and I just should mount the entire drive compressed.
[00:28] <sarnold> with zfs the advice is usually to have *some* compression enabled as a default everywhere, though different datasets may benefit from changing the algorithm..
[00:33] <DarkenedGent> Is there a switch or something i can pass to apt so that if i pass it a list of packages I want it to install and it can't find one it will at least continue with the rest rather than error out?
[00:42] <sarnold> DarkenedGent: I don't think I've ever seen a way to ask for that, no.. it really could save some time, yeah, hehe
[03:13] <ForeverNoob[m]> Hello, how do I actually, really, finally, decidedly... kill pulseaudio? I tried `pulseaudio --kill` and this advice: https://superuser.com/a/1170435 - but the darn thing just... keeps... respawning like it's some kind of an immortal zombie.
[03:13] <arraybolt3[m]> systemctl --user stop --now pulseaudio.socket
[03:13] <arraybolt3[m]> Er, I think it's disable --now.
[03:13] <ForeverNoob[m]> (though I need to start it again, so preferably I'd like to know a way that doesn't completely break it)
[03:14] <arraybolt3[m]> Hold on, scratch that, lemme try again.
[03:14] <arraybolt3[m]> systemctl --user stop pulseaudio.socket
[03:14] <arraybolt3[m]> systemctl --user stop pulseaudio.service
[03:14] <arraybolt3[m]> Then to restart:
[03:14] <arraybolt3[m]> systemctl --user start pulseaudio.socket
[03:14] <ForeverNoob[m]> I already tried that (see the superuser post) and it still restarts.
[03:15] <arraybolt3[m]> ForeverNoob: That's weird, it works on my machine.
[03:16] <ForeverNoob[m]> `/usr/bin/pulseaudio --start --log-target=syslog` still running
[03:16] <ForeverNoob[m]> PulseAudio... the immortal.
[03:22] <ForeverNoob[m]> Would stuff just break if I rename `/usr/bin/pulseaudio` to something else temporarily?
[03:27] <arraybolt3[m]> ForeverNoob: Uh... yeah possibly.
[03:27] <arraybolt3[m]> (You might confuse the package manager pretty badly doing that.)
[03:28] <ForeverNoob[m]> Immortal PulseAudio it is, then.
[03:30] <ForeverNoob[m]> When is Ubuntu going to switch to PipeWire by default?
[03:31] <laguna> ForeverNoob...not really just do sudo chmod -x /usr/bin/pulseaudio....then kill the pulseaudio daemon...no more problem
[03:31] <arraybolt3> ForeverNoob[m]: In about 16 days.
[03:31] <enigma9o7> I think it happens on a thursday?
[03:31] <arraybolt3> Not a joke. PipeWire is the default in Ubuntu Kinetic, which releases 16 days from today.
[03:32] <bougyman> Ugh.
[03:32] <arraybolt3> (If all goes as planned that is.)
[03:32] <bougyman> I was just about to switch back to Ubuntu (from Pop!) to get around my pipewire problems.
[03:32] <bougyman> Guess I can't avoid it, now.
[03:32] <laguna> ForeverNoob..but make a note of it in case you want to use it again by reactivating it with sudo chmod +x /usr/bin/pulseaudio
[03:32] <bougyman> g-d it.
[03:32] <enigma9o7> You can still use 22.04 LTS for a few more years.
[03:32] <bougyman> I know.
[03:32] <bougyman> But I stay up-to-date.
[03:32] <enigma9o7> So you can avoid it now.
[03:33] <bougyman> I normally run voidlinux (rolling distro), but have to run an Ubuntu compatible distro on my $dayjob machine.
[03:34] <enigma9o7> Great.  Ubuntu LTS is good for that.
[03:34] <bougyman> frame.work only offered factory FDE with Pop!, so I gave it a shot. It's been a less than pleasant experience.
[03:35] <bougyman> Eh, I'll deal with it (pipewire in Kinetic). Someone has to get through the bugs.
[03:37] <ForeverNoob[m]> laguna: But how do I run that executable again after I strip it from its exec perms? I need to `pulseaudio --kill` but it respawns immediately after that.
[03:37] <laguna> ForeverNoob..nope it can't respawn once you use -x on it
[03:38] <bougyman> but you also can't call pulseaudio --kill after using -x on it, is what he's saying.
[03:38] <laguna> ForeverNoob..but make a note in case you ever want to use it again by using +x on it
[03:38] <ForeverNoob[m]> Right, but once I do -x, how do I kill it using `pulseaudio --kill` ?
[03:38] <ice9> how to take a screenshot for a popup menu?
[03:38] <bougyman> ForeverNoob[m]: just -x the binary, then kill $(pidof pulseaudio)
[03:39] <bougyman> ice9: use a screenshot program with a delay.
[03:39] <laguna> ForeverNoob...of course you can kill it after you use -x on it because it is already running
[03:39] <ice9> bougyman, can you suggest a name please?
[03:39] <bougyman> Give yourself 5 seconds or so to outline the popup.
[03:39] <bougyman> ice9: the one in Pop! is just called "screenshot"
[03:39] <bougyman> I've used gm and im for the same, though, there's a -delay option to both.
[03:39] <bougyman> (ImageMagick and GraphicsMagick)
[03:40] <laguna> ForeverNoob...and after you kill it by using ps -ef to identify it...it won't respawn
[03:41] <ForeverNoob[m]> laguna: So you're saying I should just kill it using `kill` instead of the `pulseaudio --kill` method after I -x it?
[03:41] <laguna> ForeverNoob yes either way
[03:42] <laguna> ForeverNoob...but keep a note with nano in your documents folder in case you might want to use it again someday
[03:46] <ForeverNoob[m]> Yeah I maintain a "global system changes" text file to keep mental notes on what I changed. Probably less ideal than keeping an Ansible playbook or something but it'll do for now.
[03:47] <arraybolt3> I'm interested in why PulseAudio is being so reluctant to die. What flavor of Ubuntu are you using?
[03:50] <ice9> suddenly all time labels are showing spaces between numbers an colons everywhere in side the desktop environment and gdm screen: https://paste.pics/IYJ43    https://paste.pics/IYJ4F
[03:56] <ForeverNoob[m]> @arraybolt3: Ubuntu 18.04
[04:18] <kits> hey
[04:22] <matsaman> heyo
[04:25] <laguna> i can't understand why my graphics chip works on windows with pcsx2 but pcsx2 on ubuntu says my graphics chip is not sufficient to play any games
[04:25] <laguna> after all it is the same program
[04:27] <matsaman> what makes you think it's the same program
[04:27] <matsaman> laguna: this is Windows booted from the same hardware?
[04:27] <laguna> matsaman...it has the same gui interface in either windows or ubuntu...but when i try to load final fantasy x on it ...the ubuntu version says my graphics hardware is not sufficient
[04:28] <laguna> yes same hardware with triple boot
[04:28] <matsaman> laguna: maybe you're not using the graphics driver you think you are
[04:28] <matsaman> check lspci -k
[04:29] <matsaman> systems with big discrete gaming graphics hardware frequently have onboard simpler graphics hardware also
[04:29] <laguna> matsaman...well i use the same driver plugin for both the windows program and the ubuntu program
[04:29] <matsaman> your OS could be using either one
[04:29] <matsaman> driver plugin?
[04:30] <laguna> matsaman...yes they are selectable in the config of the program
[04:30] <matsaman> pcsx2 is not likely to have control over what graphics driver your system is using or is able to use
[04:30] <matsaman> check lspci -k
[04:32] <matsaman> lspci -k | grep -i vga -B 5 -A 5 or something
[04:36] <laguna> it is using the i915 x driver...but i use the gsdx sse2 opengl plugin for pcsx2 in either os
[04:37] <laguna> and windows has no problem with the game except it is a little slow....but ubuntu won't play it at all...it just says graphics hardware is insufficient
[04:42] <matsaman> could be it wasn't compiled with support for some of those things, sse2, etc
[04:43] <matsaman> or it could have whole different chunks of operating code & qualifications for each OS
[04:43] <laguna> matsaman...well ubuntu only has binaries so i never know what compile options were set with them...but this doesn't work with my hardware
[04:46] <wez_hn> laguna: Ubuntu doesn't have src debs?
[04:47] <laguna> wez_hn....they do...at least debian has them...but i have to reinstall the lib-dev versions of all the dependencies to compile it myself and get control over the compile options
[04:48] <wez_hn> ah
[04:48] <wez_hn> Sounds like you have some work to do.
[04:53] <laguna> wez_hn and then sometimes the compiler breaks the source code....i tried to compile snes9x with gcc-11 on ubuntu and the new compiler restrictions won't compile the older code
[04:53] <wez_hn> :(
[04:54] <wez_hn> Sounds like you need to write up some bug tickets too
[04:54] <laguna> i miss gcc 2.96 which was very leniant with code
[04:55] <laguna> but those were the old days
[04:56] <morgan-usb> 22.04 installation media - the hard drive 22.04 boots to black. . How can I look at the hard drive to copy /home to a pocket drive
[04:57] <laguna> morgan-usb...use a live cd....and mount your drive to a directory...then peruse what is salvageable on the drive and copy it to a usb stick
[04:59] <morgan-usb> looking at files I see a 532MB voume sda1 and a 500 GB volume sda5. duh I clicked on one and see files. Let me see if I can figure this out myself.
[04:59] <laguna> you would use cp -R /home /dev/sdb1 or whatever partition is on your usbstick
[05:00] <laguna> if there is no corruption in your /home data
[05:01] <laguna> after you mount -t ext4 (whateverfs) /dev/sda1(whatever / is) directory name
[05:01] <laguna> then cp -R directoryname/home topartition on usb stick
[05:03] <laguna> morgan-usb ok i think you will get it...just keep after it
[05:03] <morgan-usb> I meant 532 GB.  I tried to move it over with GUI and got Error while copying. The folder gvfs-metadata  cannot be handled because you do not have the permission to read it.   Willit work if I skip or skip all?   ---||---  I am copying it to a pocket drive. -- I dont know how to mount. What I did  was move the folder
[05:04] <laguna> morgan-usb yes use sudo
[05:04] <morgan-usb> so I want to make sure I am doing it right. I dont know how to address drives and folders in bash.
[05:04] <laguna> morgan-usb...in posix...everything is a file....any device...any file....any directory...so just remember that
[05:05] <laguna> morgan-usb...bash makes everything very easy so you don't need gui stuff...and you will have more control with bash
[05:06] <laguna> morgan-usb but be careful about typos...check your line before you hit enter
[05:06] <morgan-usb> the "volume" with the data is /dev/sda5
[05:07] <morgan-usb> I dont know how to refer to the pocket drive.
[05:07] <laguna> morgan-usb...i don't know what a pocket drive is...is it a usb drive
[05:07] <morgan-usb> please tell me what to do first.
[05:08] <morgan-usb> laguna I dont know what "in posix" means
[05:09] <laguna> morgan-usb...use sudo dmesg | tail when you connect it to see what it identifies as either /dev/sdb with a partition as  /dev/sdb1 or something or it could be /dev/sdc or whatever ...look at dmesg
[05:09] <morgan-usb> so if I can see the files that means that everything is mountedl. correct?
[05:09] <laguna> morgan-usb..yes if you see the files the mount command has already been taken care of
[05:10] <morgan-usb> so I need to know  the correct pathname for the folder I want to move/copy and the target folder
[05:10] <laguna> morgan-usb...posix is an alternative to unix so noone steals unix ideas
[05:11] <laguna> morgan-usb...the linux kernel is posix certified
[05:11] <morgan-usb> ok
[05:13] <laguna> morgan-usb...gnu had to choose to use linux because it was posix oriented instead of a unix fork....so the unix people could not sue them for all of their money
[05:13] <morgan-usb> I expect to copy the entire home folder and the write it to the new installation. (I am going to reformat the hard drive and reinstall ubuntu. because I cant figure out the boot to black.
[05:14] <laguna> morgan-usb...because unix is a propietary operating system...and you would owe the creators a lot of money if you used their ideas
[05:14] <morgan-usb> gnu history stallman all the things in ubuntu that are not the kernel. I should like to read more about that.
[05:14] <laguna> morgan-usb yes well use sudo cp -R mountdirectory/home usbstickpartition
[05:15] <morgan-usb> I did read just for fun. I even bought the book.
[05:15] <laguna> morgan-usb..it will take a while but it will copy all files since everything is a file in posix
[05:16] <laguna> morgan-usb it was the only way to avoid stealing the propietary unix  ideas
[05:17] <morgan-usb> I dont know how to do that . I dont know how to specify the pathname that goes into mountdirectory. ditto for the pathname to the pocketdrive.  -- I have always been terribly fuzzy about this kind of thing.
[05:17] <laguna> morgan-usb...well how are you seeing the files...what program
[05:18] <morgan-usb> laguna, I am a fan of open source.  Long ago I had that Ted Nelson book... the big one (like the size of the whole earth catalog) that had two fronts. It started from both sides.
[05:18] <morgan-usb> SEEING them with the gui.
[05:19] <morgan-usb> it eassured me. Things got all messed up lanst night so I rebooted and it was fine.
[05:19] <morgan-usb> booting from the stick
[05:20] <laguna> morgan-usb...what gui program....nautilus...dolphin...files....caja...thunar..?
[05:20] <morgan-usb> The one called FILES that is on the 22.04 install media
[05:21] <laguna> morgan-usb...because each program has different ways of trying to identify the directory you are looking at
[05:21] <morgan-usb> I am in TRY UBUNTU
[05:21] <laguna> morgan-usb ok..files is the gnome program
[05:22] <laguna> morgan-usb in files for gnome go to other locations...and see what /dev/sd? has the files you want to see
[05:22] <laguna> morgan-usb it is to the far-right of the window
[05:24] <morgan-usb> already said that the computer files I can see are on /drv/sda5 do Ijust say /dev/sda5/home  ??
[05:24] <laguna> morgan-usb then after you do that look for your home directory ...in whatever /dev/sd? is appropriate
[05:25] <laguna> morgan-usb then look at a file and go to properties and look for the preceding directories for where it is mounted
[05:25] <morgan-usb> ah ha
[05:25] <laguna> no not /dev/sda5/home..you have to see where it is mounted
[05:26] <laguna> morgan-usb...probably media/something/something
[05:26] <laguna> morgan-usb look for that in the properties window
[05:27] <morgan-usb> parent folder  /media/ubuntu
[05:28] <morgan-usb> but I dont know what to call it "My Passport"  is that how to ?
[05:28] <laguna> morgan-usb ok then /media/ubuntu/home is the directory you want to copy with sudo cp -R and then you have to find the destination directory with dmesg | tail when you plug in a usb stick
[05:29] <morgan-usb> golly I am just dense here. IThere must be some place this is all explained but I have been using ubuntu and bash for a few things since 2006 and I never "got it'.
[05:29] <laguna> morgan-usb...well it is not hard...things have not changed in 25 years.....but people just forget how we used to have to do things
[05:30] <morgan-usb> nonono I dont wan to copy FROM the my passport, I want to copy FROM the hard drive TO  the pocket drive
[05:30] <laguna> morgan-usb...ok identify the pocket drive with dmesg
[05:31] <morgan-usb> In the bash I did pwd and I got /home/ubuntu  but that must be on the flash drive. How do I refer to the hard drive?
[05:31] <laguna> morgan-usb use sudo dmesg | less and scroll through it looking for /dev/sd? associated with your pocket drive
[05:31] <morgan-usb> What is the dmsg command?
[05:31] <laguna> with piping to less you can scroll up and down with the arrow keys...not dmsg...dmesg
[05:31] <morgan-usb> I need a short course afre I get this accomplished.
[05:32] <laguna> morgan-usb...learn by doing
[05:32] <morgan-usb> btw there is plenty of room on the pocket drive.
[05:32] <morgan-usb> I am doing babe, doing is me.
[05:32] <morgan-usb> thank you for taking your time.
[05:32] <laguna> morgan-usb...as i said pipe dmesg to less ...piping is a posix concept so no one steals any ideas from unix
[05:33] <laguna> morgan-usb so no one will be sued out of all their money
[05:34] <morgan-usb> i understand pipe |
[05:34] <laguna> so sudo dmesg | less...and scroll up and down with the arrow keys...to find your pocket drive as /dev/sd? also with a number if it has a partition on it
[05:34] <morgan-usb> what is this called?   >
[05:34] <laguna> morgan-usb when you are done type q to exit
[05:34] <morgan-usb> ok
[05:35] <laguna> morgan-usb...you learn best by doing...you have to learn sometime
[05:36] <morgan-usb> it is a bunch of dashes starting blank lines
[05:36] <laguna> morgan-usb did you use sudo dmesg | less...it should have lots of lines of data
[05:36] <morgan-usb> message   dmesg: read kernel buffer failed: opeation not permitted
[05:36] <morgan-usb> oh sudo
[05:37] <laguna> morgan-usb did you use sudo
[05:39] <laguna> morgan-usb you can also use journalctl -k if you are using systemd so you don't steal any unix ideas
[05:39] <laguna> morgan-usb...but dmesg piped to less lets you scroll up and down with the arrow keys while you look for stuff
[05:41] <morgan-usb> it is a long log of "doing things and I see nothing that looks useful. lots of things happened and failed and it is really really long.
[05:42] <morgan-usb> I saw the sda1 and sda5 which are my hard drive  volumes. (I have no idea what a volume is)
[05:42] <laguna> morgan-usb well keep looking until you find your pocket drive device
[05:43] <laguna> morgan-usb the kernel should report about it
[05:43] <laguna> volumes in that context should be called partitions on the device
[05:44] <morgan-usb>   this is a typical line:  [   24.991328] audit: type=1400 audit(1664922006.946:20): apparmor="STATUS" oper
[05:44] <morgan-usb> ation="profile_replace" profile="unconfined" name="snap.snapd-desktop-integratio
[05:44] <morgan-usb> n.snapd-desktop-integration" pid=1827 comm="apparmor_parser"
[05:44] <laguna> morgan-usb..keep going with the down arrow key until you get to your hard drives section...it is probably near there
[05:44] <morgan-usb> ok I have no clue why I have 2 partitions on my hard drive, unless I did it and forgot.
[05:45] <morgan-usb> OIC  dmesg - print or control the kernel ring buffer
[05:45] <laguna> morgan-usb..well some installers create more than one partition depending on whose version of linux you use
[05:46] <morgan-usb> OK df -h shows me
[05:46] <laguna> morgan-usb keep looking...it will be there somewhere
[05:47] <morgan-usb> I did df -h and it showed me: /dev/sda1                    511M  4.0K  511M   1% /media/ubuntu/172C-2AA2
[05:48] <morgan-usb> showed me /dev/sdb1 is /media/ubuntu/My Passport
[05:48] <morgan-usb> will that do?
[05:49] <laguna> morgan-usb keep looking in dmesg for your pocket drive lable to get the right device
[05:49] <laguna> since i don't know what "My Passport" is
[05:57] <morgan-usb> My Passport *IS* the pocket drive.
[05:58] <laguna> morgan-usb...ok then..use mkdir somename to create a subdirectory after "My Passport'
[05:59] <laguna> morgan-usb use sudo mkdir /media/ubuntu/"My Passport"/somenameyoulike
[05:59] <laguna> morgan-usb be sure to use the quotes
[06:00] <laguna> morgan-usb because of the space in the directory name
[06:01] <laguna> morgan-usb what subdirectory name did you choose
[06:02] <morgan-usb> I already had made a target folder called    OCT2022-home
[06:06] <morgan-laptop> laguna you are so peppy, I am at 11 pm but time is calling me.
[06:07] <morgan-laptop> what time is it there?
[06:07] <laguna> morgan-usb ok great...now do sudo cp -R /media/whateversource/home /media/ubuntu/"My Passport"/OCT2022-home/
[06:08] <laguna> morgan-usb and you will be done
[06:08] <laguna> morgan-usb...i forgot the whatever source but recall it from properties when you were looking at the files in your home directory
[06:08] <morgan-usb> so my hard dirve is called /media/ too
[06:09] <laguna> morgan-usb..use the properties of files to identify the full path length of your home directory
[06:12] <laguna> morgan-usb you just have one command to finish everything
[06:13] <laguna> morgan-usb but be sure to use sudo with cp -R
[06:15] <laguna> morgan-usb so you don't miss any files that you might not have permission to copy
[06:18] <laguna> morgan-usb...and use cp -R to get all the subdirectories and their files....so you don't steal any unix ideas
[06:19] <laguna> morgan-usb with sudo
[06:22] <morgan-usb> sudo cp -R /media/sda5/home  /media/ubuntu/sdb1/OCT2022-home
[06:22] <laguna> morgan-usb...no
[06:23] <laguna> no not sda5...look at your home directory again and use the properties section of files to get the preceding path to home
[06:23] <laguna> and not sdb1
[06:24] <laguna> for the destination it is just /media/ubuntu/"My Passport"/OCT2022-home
[06:24] <laguna> with the quotes
[06:25] <laguna> for the source get the /media/whateverstuff/home
[06:25] <laguna> from the properties info of files
[06:26] <laguna> when you look at your home directory
[06:27] <morgan-usb> sudo cp -R /media/ubuntu/-- avery ver long number with dashes and .. and the end of it.    (UH OH)   /media/ubuntu/"My Passport"/OCT2022-home
[06:28] <laguna> sudo cp -r /media/ubuntu/what is the exact number
[06:28] <laguna> morgan-usb do ls /media/ubuntu to see the full number
[06:28] <morgan-usb> it tails off and is longer than I can see - hence the  ..
[06:28] <laguna> morgan-usb...do ls /media/ubuntu
[06:29] <laguna> morgan-usb and identify the full number
[06:30] <morgan-usb> the 500 GB volume is /media/ubuntu and the NAME is  d5186da3-402a-408b-9435-f5db51676588
[06:30] <laguna> morgan-usb ok great
[06:30] <morgan-usb> before I was looking at the properties of the /home folder not the volume
[06:30] <morgan-usb> so it is /media/ubuntu/d5186da3-402a-408b-9435-f5db51676588/home
[06:31] <morgan-usb> is that right?
[06:32] <morgan-usb> do is ???
[06:32] <laguna> morgan-usb..so sudo cp -R /media/ubuntu/d5186da3-402a-408b09435-f5db516756588/home /media/ubuntu/"My Passport"/OCT2022-home
[06:32] <laguna> morgan-usb and be sure to check it for any typos before you hit the enter key
[06:33] <laguna> and be sure there is  a space between the source directory and the destination directory
[06:34] <morgan-usb> I can copy paste from here which is why I am here and dont have to type it.
[06:34] <laguna> morgan-usb ok but check what i typed to make sure there are no typos
[06:35] <laguna> morgan-usb before you hit the enter key
[06:35] <laguna> morgan-usb then let it run till it finishes and gives you back the prompt
[06:36] <laguna> morgan-usb...then use the files program to see if the files are in the "My Passport" folder
[06:37] <morgan-usb> cp: cannot stat '/media/ubuntu/d5186da3-402a-408b09435-f5db516756588/home': No such file or directory
[06:37] <laguna> morgan-usb...do ls /media/ubuntu again and make sure there is no typo in that long number
[06:38] <morgan-usb>   /dev/sda5                    457G  146G  288G  34% /media/ubuntu/d5186da3-402a-408b-9435-f5db51676588
[06:39] <laguna> morgan-usb ok there is a typo after 408b
[06:39] <laguna> morgan-usb it needs a hyphen
[06:40] <laguna> morgan-usb just insert the hyphen in the right place before you hit enter
[06:40] <morgan-usb> found it. dont know how a - became an 89 when I copied it.
[06:41] <laguna> morgan-usb well forget copying...just type it very carefully
[06:41] <laguna> morgan-usb let me try to get it right for you
[06:42] <morgan-usb> d5186da3-402a-408b-9435-f5db5167658
[06:42] <morgan-usb> nope
[06:43] <laguna> sudo cp -R /media/ubuntu/d5186da3-402a-408b-9435-f5db51676588/home  /media/ubuntu/"My Passport"/OCT2022-home
[06:43] <laguna> morgan-usb there try to copy and paste that
[06:44] <morgan-usb> sudo cp -R /media/ubuntu/d5186da3-402a-408b-9435-f5db51676588/home /media/ubuntu/"My Passport"/OCT2022-home
[06:45] <laguna> morgan-usb ok let it run until it returns a prompt
[06:45] <morgan-usb> oh now it is complaining about cannot create regular file invalid arguement. for some things ending in trash.  ---- and I am going to quit tonight and resume tomorrow.
[06:46] <morgan-usb> Thank you so much. being tired makes errors.
[06:46] <morgan-usb> I will let it run
[06:46] <laguna> morgan-usb ok don't worry about the trash stuff
[06:46] <laguna> morgan-usb it should be done
[06:47] <laguna> morgan-usb you should be able to see your files in the "My Passport" directory with the files program in gnome
[06:47] <morgan-usb> You dont know the stess of having the monitor go to black and then the image come back, randomly. Thee is some issue with the power cord but it NEVE did this before.
[06:48] <laguna> morgan-usb...yes flaky monitors can be a real hassle
[06:48] <morgan-usb> right .. about tomorrow I will see stuff. and may learn why it keeps saying cannot create logs or other things.
[06:48] <laguna> morgan-usb ok see you tomorrow
[06:49] <laguna> morgan-usb sudo should have taken care of that
[06:49] <laguna> morgan-usb there should not be any problem with a few log files
[06:50] <morgan-usb> I had the choice to be annoyed or amused.  I've got nothing to say but it's ok,
[06:50] <laguna> morgan-usb...well files should show your home directory stuff on your pocket drive now
[06:51] <morgan-usb> "should have" the most amusing phrase in programming. In the wayback, I was a fortran programmer who basically completely ignored the system. I knew every blessed thing about fortran though.
[06:52] <morgan-usb> They gave me one jcl command to start it up and I stopped learning right there.
[06:52] <laguna> morgan-usb well i can't imagine why logs would be a problem to copy
[06:52] <morgan-usb> Oh I did ask, what's your time zone?
[06:52] <laguna> morgan-usb yes i remember jcl it wasn't much fun
[06:52] <morgan-usb> I am Pacific time. Cali
[06:52] <laguna> morgan-usb ...i am texas time
[06:53] <laguna> it is almost 2 in the morning here
[06:53] <laguna> morgan-usb...so we can try to work on the straggler files tomorrow
[06:54] <morgan-usb> Well thankks for caring that I learn things. I appreciate being reminded. I still dont see how I copied that and it changed but your were familiar with that being something that can happen
[06:54] <morgan-usb> ok good night...
[06:54] <morgan-usb> luckily I have a laptop.
[06:54] <laguna> morgan-usb well some files may be binary or something that might have trouble copying
[06:55] <laguna> morgan-usb we will try more tomorrow
[07:38] <vd1r> hi
[07:48] <oskie> hey, I upgraded to 22.04 LTS from 20.04 LTS yesterday, and got kernel 5.15.0-48-generic. But seeing packet loss, like every other ping I do, the first packet is lost
[07:49] <bparker> cool story bro
[07:49] <oskie> yeah. it's awesome
[07:50] <mrkubax10> very deep and interesting
[08:09] <mncheck> how do you show the keyboard input-source indicator even when there is only one layout? I want login screen to show the current layout no matter what to help get the password right the first time
[08:27] <ForeverNoob[m]> Hi again, so uh... remember when I wanted to kill pulseaudio? Well, now qjackctl won't start :(
[08:27] <ForeverNoob[m]> ...despite PA running.
[08:28] <ForeverNoob[m]> So for the next person trying to disable PulseAudio: Don't.
[08:29] <ForeverNoob[m]> PulseAudio is the all-encompassing everything. PulseAudio is eternal.
[08:31] <ForeverNoob[m]> Let's see if a reboot helps...
[08:37] <linux33> hi
[09:03] <bob_x1> what are in /var/log/journal/ files ? how can I reduce its size ? i do not want so many logs as it is in the folder. maybe somebody knows
[09:12] <alkisg> bob_x1: https://unix.stackexchange.com/questions/139513/how-to-clear-journalctl
[09:12] <bob_x1> ah it's journalctl. will read now it's docs
[09:23] <bob_x1> read and moved logs to /run/var folder (into ram?) and removed old files written on disk
[09:23] <bob_x1> the machine has small hdd
[09:38] <Mystified1234> running plasma, can you guys recommend a voice2text app. It's on my android .wav recorded with voice recorder. Thanks in advance
[09:41] <murmel> Mystified1234: maybe something like this, but I never tried it https://github.com/mozilla/DeepSpeech
[09:45] <Mystified1234> murmel:) thanks
[10:24] <dreamer> hi all, I'm having some issues with audio playback. I have a system with just alsa (no pulse) and mpd and mpv can play audio just fine. however my browsers (chromium, chrome, firefox) are unable to play anything. for firefox I always use `apulse` (that pretends to provide a pulse api), for chromium based browsers this was never needed
[10:25] <dreamer> my default alsa device should be card 0 and as said it works fine with other software
[11:00] <dreamer> ok seems the bug is with snap
[11:01] <dreamer> google-chrome does work, but chromium and firefox are now installed with snap, which breaks audio playback
[11:22] <mikm2603> test
[11:22] <lotuspsychje> it works, we see you mikm2603
[11:22] <mikm2603> oke thanks
[11:49] <pickanick>  Is there a way to update firefox snap without closing all firefox windows?
[11:55] <N3vYn> Hi! Is there a roadmap for when https://launchpad.net/ubuntu/+source/aad-auth/ will be published to LTS?
[11:56] <pickanick> Are snaps architecturally impossible to update while in use, or is it something about firefox in particular?
[12:03] <SteelRose> pickanick: usually Firefox asks you to click on the "refresh Firefox" option to apply new changes if has been updated to a newer version ... so I guess that's application-related and has nothing to do with snap
[12:08] <pickanick> SteelRose: where do you see that option? I get a popup that tells me "Pending update of firefox snap / Close the app to avoid disruptions (N days left)." Now "snap refresh" says "all apps up to date" ... unless I killall firefox first, after which an update is downloaded.
[12:10] <SteelRose> pickanick: ah, I saw a similar message for the Telegram desktop client. The only way I could get rid of that was by closing Telegram and running "snap refresh"
[12:13] <rgallaispou> Hi guys, is there any way to know how Ubuntu and/or Gnome handles the display configuration ? Like how/what script handles the configuration when there is an external display or not and get the event when the lid closes
[12:15] <ogra> pickanick, it is not specific to browsers that you suld cloase the app but it is most harmful there to not close them when updating (which was the initial reason this feature was implemented at all)
[12:16] <ogra> pickanick, snaps have versioned data dirs and use confinement ... if you update a snap the access to the old dir is completely blocked, the content is copied forward to the new versioned dir and your browser can nly access this partitiular dir now ...
[12:17] <ogra> pickanick, if that happens while the browser is open at that time, it only knows about the old dir that was used when the binary was launched ... but since that dir has been blocked by confinement the browser will not be able to update its history
[12:18] <ogra> i.e. updating while the browser is running would make you silently lose all history from the moment n the update has appened
[12:19] <ogra> the user experience of that feature is still awful though, but it is a prio #1 item that is being worked on by the desktop team so you will be able to have it automatically update when closing without hving to call snap refresh
[12:20] <ogra> (and thanks to the fact that snapps are all "rolling release apps" you will receive that fix even on old installs)
[12:54] <Matt|home> just curious, is there some sort of system reset where i can go back to the original default install of the OS without needing to make a startup disk? e.g. "remove all packages and files that weren't with the original install" method
[12:54] <Matt|home> or would i really need to do a full OS reinstall
[12:56] <SteelRose> Matt|home: I'd suggest you to take a backup of the sensitive info you might have, if any, and do a fresh install
[12:56] <SteelRose> unless you have something that creates snapshots...
[12:56] <Matt|home> backed up already, main issue is i have no way to boot from anything except my harddrive right now
[12:57] <Matt|home> worst case scenario can i delete all packages except the main ones and just reinstall gnome or whatever?
[12:57] <SteelRose> Matt|home: you may want to try something like this https://www.cyberciti.biz/howto/debian-linux/ubuntu-linux-rollback-an-apt-get-upgrade/
[12:59] <Matt|home> bah..
[12:59] <Matt|home> i have an idea.. i need my hammer..
[13:20] <SteelRose> LOL
[13:22] <BluesKaj> Hi all
[13:26] <murmel> is there a list of errors/bugs why certain packages don't show up in apt? (i have a ppa, where all packages show up except 1)
[13:32] <leftyfb> murmel: it's likely the package in the PPA is only available for certain versions of ubuntu
[13:33] <leftyfb> murmel: that said, you'll need to contact the PPA maintainer for support with the PPA and the packages it provides
[13:34] <murmel> leftyfb: well I am the maintainer ;)
[13:34] <murmel> and it's definitely for jammy
[13:46] <rgallaispou> Is my question better suitted for gnome channel ? :)
[13:48] <murmel> rgallaispou: it would be better if you would also describe what you want to achieve
[13:57] <rgallaispou> murmel: I actually just want to understand how its works (I did not find any udev rule to manage this). For instance how automatically when the lid is closed with an external monitor, the display config is set to used only the external monitor, while as soon as the lid opens, the config changes to use both the built-in panel and the external one (if the setting is set like this).
[13:58] <rgallaispou> murmel, sorry if it was confused before
[14:00] <murmel> rgallaispou: /etc/systemd/logind.conf
[14:00] <murmel> external monitor is something which happens on a different layer
[14:00] <murmel> xorg/wayland
[14:01] <murmel> ahh, I misunderstood. yes, still that conf file
[14:01] <murmel> where you can edit what happens
[14:06] <DiogoConstantino> hi all
[14:08] <rgallaispou> murmel: I thought logind was for power management
[14:09] <murmel> rgallaispou: well, it _is_ pwer management, which also handles that stuff (well even on windows)
[14:12] <rgallaispou> Okay so if I understand correctly, this is a mix between Xorg (in my case) and logind. I knew xrandr (and variations) were used for handling the display config, so would this mean it is also based on logind ?
[14:13] <rgallaispou> would this mean xrandr is also based on logind*
[14:13] <ogra> there might be other bits involved
[14:13] <murmel> wasn't xrandr just adjusting where displays are? can't remember now
[14:13] <ogra> (i.e. "upower" )
[14:14] <murmel> and turning on/off
[14:14] <rgallaispou> xrandr can turn on and off monitors, yes
[14:15] <ogra> not sure if gnome uses it though ... it might be talking directly to the HW instead of shellig out to someting like xrandr
[14:17] <rgallaispou> oh, okay, that is what I wanted to understand
[14:18] <rgallaispou> If Gnome/Ubuntu was passing through an interface or not to control this
[14:19] <murmel> rgallaispou: very likely that they interact directly
[14:21] <rgallaispou> Okay, I think I am going to ask directly on Gnome channel
[14:21] <rgallaispou> Many thanks guys :)
[14:41] <misu> hello
[14:41] <misu> hello
[14:43] <arraybolt3[m]> misu: 👋
[14:44] <murmel> and he is gone ;)
[14:48] <arraybolt3[m]> Welcome to The Matrix. I wonder how many other stale entries there are in here.
[15:08] <adac> What might be the issue if /var/log/syslog is empty?
[15:11] <adac> after restarting rsyslog it again works and there is output on the file
[15:48] <lagunalorre> is there a fix for the snes9x source code that won't compile with gcc-11
[15:48] <ogra> probably something you should ask in an snes9x channel or in a gcc channel ?
[15:49] <lagunalorre> ogra ok let me see if i can find a snes9x channel devoted to source code compilations on the newer gcc
[15:49] <ogra> (this simply does not sound like a particular ubuntu support question)
[15:51] <lagunalorre> ogra there is no snes9x support channel on this irc server...maybe i should look for gcc support to see if there is a setting that will allow it to compile older code
[15:53] <ogra> yeah, or find another place where snes9x usually discussed their issues
[16:19] <shivaya> hi folks, is there a way to have cloud-init (user-data) create raid 1 disk? i was going through the docs and was unable to find any info on that
[16:19] <leftyfb> shivaya: you might ask in #ubuntu-server
[16:29] <shivaya> thanks leftyfb
[16:30] <amikrop> Hello, after upgrading to 22.04 I can't see mp3 icons as their thumbnails on nautilus/desktop (just the standard mp3 default icon). Couldn't find a solution online. Any help please?
[16:31] <amikrop> i.e. icons for mp3 files on desktop/nautilus appear as the default icon, not as their own cover/embeded image
[16:43] <lotuspsychje> amikrop: that seems to be the case on my 22.04 aswell, the mp3 icon
[16:44] <lain_> When I run apt dist-upgrade to jammy I am getting very slow speed for the download, only a few kb per seconds.
[16:44] <lotuspsychje> amikrop: this is the one i see; https://imgur.com/a/4J02aDW
[16:45] <lain_> Get:1 http://in.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-kernel-common-515 amd64 515.65.01-0ubuntu0.22.04.1 [25.2 MB]
[16:45] <lain_> 1% [1 nvidia-kernel-common-515 31.4 kB/25.2 MB 0%]                                                                                                                          663 B/s 25d 1h 50min 44s
[16:45] <lotuspsychje> lain_: you might wanna ask the #ubuntu-mirror crew about known issues for your country/repo
[16:46] <lotuspsychje> lain_: #ubuntu-mirrors sorry
[16:47] <radix0> Been a hot minute since I've been in the ubuntu cli. I created a new netplan file in /etc/netplan/. I used screen to copy and paste from the examples section of the netplan manpage and then pasted into the new file with nano, then adjusted as needed cross-referencing the docs. When I run `sudo netplan -debug try` I get an unhelpful 'Error while loading /path/to/new-file.yaml, aborting.'. How do I continue to troubleshoot this?
[16:58] <radix0> I hate how picky yaml is with spacing......
[16:58] <radix0> !next
[16:58] <lain_> lotuspsychje: can i switch mirrors ?
[17:02] <amikrop> lotuspsychje yeah that's the one i see too, i was hoping there was a fix to that, it seems like a bug in fact (rather than a dev decision)
[17:02] <amikrop> or a "lack of feature" even
[17:04] <lotuspsychje> amikrop: on focal it had miniatures of the album if i can recall?
[17:05] <amikrop> lotuspsychje my previous version was 16.04 actually, which it did have the correct thumbnails (album miniatures I guess, yes)
[17:05] <lotuspsychje> amikrop: you said it was an upgrade earlier?
[17:06] <amikrop> it was not literal :)
[17:06] <lotuspsychje> clean install then?
[17:06] <amikrop> yep
[17:06] <lotuspsychje> kk
[17:06] <amikrop> should I report that somewhere as a bug / feature request? weird thing is I can't find anything about that on google
[17:07] <lotuspsychje> amikrop: well im not sure if its on purpose or a bug yet, as i dont find existing bugs related right away
[17:08] <amikrop> if it was on purpose, they at least should give you the option to toggle
[17:09] <amikrop> anyway i am reporting, and whatever happens, happens :)
[17:13] <lain_> not getting any speed on US mirrors also
[17:13] <lain_> bytes per second
[17:23] <lagunalorre> ok with sam's help at #gcc now snes9x is working on ubuntu as a compiled program
[17:24] <lagunalorre> in case anyone wants the binary
[17:24] <lagunalorre> 64 biy
[17:24] <lagunalorre> 64 bit
[17:24] <arraybolt3> I'm good, thanks. You might could put it on GitHub.
[17:25] <lagunalorre> arraybolt3 i am not sure where it is located on github to try to post the patches to the code necessary for it to compile with gcc-11
[17:28] <tomreyn> lagunalorre: as a reminder, the topic of this very channel is ubuntu support, but there are several other ubuntu related channels.
[17:28] <lagunalorre> tomreyn yes this is about ubuntu support since snes9x is not in the ubuntu repositories but i can make a binary available for it
[17:30] <tomreyn> lagunalorre: i consider this a development topic, but also don't want to discourage you from working on it.
[17:30] <ravage> it is not available in ubuntu. so it is not an Ubuntu support topic
[17:31] <lagunalorre> tomreyn ok well i just need to learn how to make a deb file out of it with triggers hooks and all that jazz so it will be easier to uninstall if someone doesn't like it
[17:33] <tomreyn> lagunalorre: there are channels for debian packaging on OFTC, and there is #ubuntu-devel (but indeed that's not a place for getting packaging support). # ubuntu's primary purpose is around getting help with *using* ubuntu (not so much development). Consider also using !alis to find more channels.
[17:34] <lagunalorre> tomreyn oh ok i did not know about ubuntu-devel...i will try to check in there
[17:53] <lain_> I asked #ubuntu-mirrors about my slow dist-upgrade issue, they said its not a mirror problem. Could be an apt issue probably.
[18:02] <murmel> anybody got issues with chromium of firefox snaps? I can't get them to run and the only output I get is Segmentation fault (core dumped). idk where it's dumping its data :S
[18:06] <arraybolt3[m]> murmel: Currently Chromium is working for me. You may need to save whatever work you can and reboot.
[18:06] <arraybolt3[m]> (One time my system just started segfaulting everything and it was a mess, but a reboot fixed it.)
[18:07] <tomreyn> lain_: those mirrors resolve to multiple ipv4 and ipv6 addresses. can you identify which mirror is slow for you?
[18:07] <tomreyn> lain_: for ipv4 in 91.189.91.38 185.125.190.36 91.189.91.39 185.125.190.39; do echo "[ $ipv4 ]"; curl --output /dev/null --resolve in.archive.ubuntu.com:80:$ipv4 http://in.archive.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515/nvidia-kernel-common-515_515.65.01-0ubuntu0.22.04.1_amd64.deb; echo; done
[18:07] <murmel> arraybolt3[m]: this is a fresh boot :(
[18:07] <murmel> welp, will reboot
[18:10] <tomreyn> lain_: for ipv6 in 2001:67c:1562::15 2001:67c:1562::18 2620:2d:4000:1::16 2620:2d:4000:1::19; do echo "[ $ipv6 ]"; curl --output /dev/null --resolve in.archive.ubuntu.com:80:[$ipv6] http://in.archive.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515/nvidia-kernel-common-515_515.65.01-0ubuntu0.22.04.1_amd64.deb; echo; done
[18:10] <murmel> arraybolt3[m]: well, now ff and chromium work, but their icons are missing oO
[18:12] <morgan-usb> 22.04 I copied /home to a pocket drive and these "cannot create" messages - in this paste.  https://pastebin.com/WjZPx54E
[18:12] <tomreyn> lain_: from here (an isp in germany) i'm seeing reliable high enough (~25 Mbps) download rates from these mirror servers over both ipv4 and ipv6, but this can be very different from a different location, of course.
[18:13] <tomreyn> actually that's mega*bytes*/second, so x8
[19:05] <BontaKun> olá
[19:06] <murmel> hi BontaKun
[19:09] <tomreyn> murmel: you probably have a different file system on the target
[19:11] <murmel> tomreyn: on which target are you talking about?
[19:12] <murmel> about*
[19:12] <tomreyn> oops, sorry, that was meant to go to morgan-usb
[19:12] <murmel> k
[19:12] <tomreyn> morgan-usb: you probably have a different file system on the target (or different mount options)
[19:25] <RRPD> hola
[20:25] <morgan-usb> I woud like to understand why these things created these error messages. 22.04 I copied /home to a pocket drive and these "cannot create" messages - in this paste.  https://pastebin.com/WjZPx54E
[20:25] <morgan-usb> I would like to understand what that means.'
[20:27] <rapha> hi all
[20:28] <sarnold> morgan-usb: that's weird alright.. maybe namei -l '/media/ubuntu/My Passport/OCT2022-home/home/human/.local/share/gvfs-metadata/trash:'  ?
[20:28] <rapha> in the history of Ubuntu, have people ever managed to crossgrade from Debian over to Ubuntu? like, with a working system in the end...?
[20:29] <murmel> rapha: very very unlikely, especially nowadays where ubuntu differs quite abit
[20:29] <oerheks> rapha, some tried, but i would not recommend it.
[20:29] <sarnold> rapha: I bet it's happened, but I don't know off-hand anyone who says they've done it :) heh
[20:29] <oerheks> frankestein-ubuntu :-D
[20:29] <rapha> okay, so it'd likely fail beginning with different libc's and so on?
[20:31] <murmel> rapha: it would even fail earlier afair, as debians apt can't read packages from ubuntu (if I remember debians apt doesn't include the compression patches ubuntu adds)
[20:31] <murmel> but never tried it honestly
[20:31] <sarnold> murmel: oh yeah :/
[20:32] <murmel> sarnold: that's what I quite don't like, yeah they use both apt and debs, but they are basically 2 completely different things nowadays
[20:32] <rapha> oh, _that's_ how far they diverge, wow
[20:32] <rapha> thanks ... TIL!
[20:33] <sarnold> heh it even caused problems for me trying to unpack all the ubuntu sources on an 18.04 machine.. it couldn't understand the newer packages, so my unpacks failed :(
[20:40] <murmel> sarnold: such is live, when you live in the past ;)
[20:40] <murmel> life*
[20:41] <sarnold> murmel: *nod*
[20:42] <murmel> hopefully, they won't change it in the near future
[20:42] <sarnold> murmel: upgrading that machine to 22.04 was great fun, on the final reboot, it didn't get networking .. I thought we had something in place to convert /etc/network/interfaces to netplan, but guess not, heh
[20:43] <murmel> always nice to be surprised with what was not prepared in advance :)
[20:44] <sarnold> it was nice it was just in the other room rather than in a datacenter :)
[20:44] <murmel> sounds like a testsystem
[21:15] <morgan-usb> tomreyn I have a pocket drive, Western Digital, as purchased. some things it would not copy were jpegs.  some were logs some were .png and I just wanted to understand.
[21:16] <lagunalorre> morgan-usb i was thinking since last night and i can't figure out why logs are in your home directory
[21:17] <lagunalorre> morgan-usb it doesn't make sense that it would not copy jpegs in your pictures folder
[21:19] <oerheks> only when the host filesystem is defective..
[21:19] <oerheks> bad blocks?
[21:19] <lagunalorre> oerheks well it is possible that he has a corrupted home folder with some ruined files
[21:19] <morgan-usb>  it found soemthing bad - "Disk is OK, 16 bad sectors. I am planning to reformat the hard drive. Will that automatically mark the bad sectors and not use them? Is there something I can do so that it rewrites the master boot record (or whatever has taken its place "nowadays"0 Please pleas give me new terminology. (I remember a virus lon ago for
[21:19] <morgan-usb> which I had to follow some instructions to go into that area and change things because reformatting didnt work.)
[21:20] <oerheks> so, bad sectors, plausible.
[21:20] <oerheks> sorry to tell you that those files are gone.
[21:20] <lagunalorre> morgan-usb you can get low-level formatting tools from the manufacturer which will lock out any bad tracks...so your data doesn't get corrupted
[21:21] <oerheks> formatting without geting corrupted?
[21:21] <lagunalorre> morgan-usb..western digital and seagate has some low level formatting tools
[21:21] <oerheks> interesting..
[21:21] <oerheks> low level means *forced* format to 0
[21:21] <lagunalorre> morgan-usb..my guess is you got all that you could get off of your corrupted home folder
[21:22] <xx_> zz
[21:22] <EriC^^> morgan-usb: it's because the file name doesnt work on the destination filesystem, notice they mostly have ":"s in them
[21:23] <oerheks> err filenames with : ???
[21:23] <oerheks> weird
[21:23] <lagunalorre> morgan-usb that is an idea ...go through your files and make sensible names of the strange names that include all kinds of stuff like :
[21:23] <EriC^^> whihch filesystem does it use morgan-usb ?
[21:24] <oerheks> not ntfs..
[21:24] <lagunalorre> morgan-usb i use ext4 for data storage and i haven't had any naming problems occur with rockridge names
[21:25] <EriC^^> seems to not like any sort of special chars, : " ? etc in the filenames
[21:26] <lagunalorre> morgan-usb who formatted your source drive before you put the strange names in your home folder
[21:26] <lagunalorre> morgan-usb and what filesystem did they use
[21:27] <lagunalorre> morgan-usb and what is the filesystem for your destination folder
[21:27] <morgan-usb> oerheks The home system boots to black. I copied home as a backup to recover. (but now that I have it, would it be interesting to try and find out what went wrong or a waste of my time and  #ubuntu-friends' time?)
[21:28] <oerheks> see EriC^^ mostly have ":"s in them
[21:28] <oerheks> which is weird.
[21:28] <oerheks> might be due to corrupt sectors.
[21:29] <EriC^^> morgan-usb: if you only literally copied '/home' then you cant know unfortunately
[21:29] <morgan-usb> EriC^^I use whatever filesystem ubuntu 20.04 put on the hard drive. On the pocketdrive, I use whatever Western Digital had o it. (ext4 and NTFS I presume.
[21:30] <lagunalorre> morgan-usb well reformat your destination drive to ext4 before you copy the ext4 source to it
[21:30] <lagunalorre> morgan-usb then try to copy it again
[21:31] <EriC^^> e@e:/boot/efi/efi# cp bla "bla?"cp: cannot create regular file 'bla?': Invalid argument
[21:31] <morgan-usb> Discks just told me I am correct about the files systems.
[21:31] <EriC^^> i think it just might be using fat32, i tried "?" and ":" and it rejected both in filenames
[21:31] <lagunalorre> morgan-usb use fdisk /dev/sda to make sure your home directory on your source drive is et4
[21:31] <lagunalorre> ext4
[21:32] <lagunalorre> morgan-usb...just look at it with fdisk don't write anything
[21:32] <morgan-usb> lagunalorre ubuntu 20,04 installation media formatted my file system.
[21:32] <EriC^^> morgan-usb: if you format your usb to use something like ext4 you should have no problem copying your files completely, or possibly ntfs too
[21:32] <lagunalorre> morgan-usb well if ubuntu formatted it ..likely it will be ext4...although you have choices on that when you install
[21:33] <morgan-usb> I cant reformat it (or wont) because it is one of my AB backup drives. It is a 2T drive.
[21:33] <lagunalorre> morgan-usb...use fdisk /dev/sda to check if you can see your partitions with p and at the right check that your root partition is ext4 but dont' write anything then exit
[21:34] <EriC^^> morgan-usb: aha, well you could do something else, you could create a filesystem in it, mount that as a loop device and copy the stuff there, if you really want to copy the stuff as they are
[21:34] <morgan-usb> Next time I buy a drive. Meanwhile I will look up low level reformatting tools for the Dell.
[21:34] <EriC^^> morgan-usb: if you need help on the above suggestion let me know
[21:34] <lagunalorre> morgan-usb dell probably doesn't know what low-level is...get the manufacturer of the hard drive's tools
[21:35] <lagunalorre> morgan-usb dell is just a stupid assembler not a core manufacturer of parts
[21:35] <EriC^^> morgan-usb: or another idea would be to tar the stuff up in your main install, and send it over as a .tar also
[21:36] <lagunalorre> morgan-usb western digital and seagate have low-level tools
[21:36] <lagunalorre> morgan-usb don't ever bother with assembler idiots for advice
[21:37] <lagunalorre> morgan-usb some of those assemblers don't even make their own memory contollers for the cpu
[21:38] <lagunalorre> morgan-usb never ask idiots for advice
[21:40] <lagunalorre> morgan-usb in this world there are  people that design and know about the actual ingredients..and there are slimy idiots that try to create witches' brew by mixing all kinds of ingredients
[21:43] <morgan-usb> lagunalorre makes me smile. Likes "never ask idiots for advice."
[21:44] <morgan-usb> Yes to whoever warned me. desll only suggests windows tools. and some random says, dont ever do a low loevel format unless you need to. (@^@ but, of course I sawy)
[21:45] <oerheks> "low level means *forced* format to 0", your problem would not go away.
[21:45] <oerheks> even worse..
[21:45] <oerheks> bad sectors grow.
[21:46] <imi> ssh client question: what is the default value for ServerAliveInterval?
[21:46] <lagunalorre> oerheks no with low level tools he can thoroughly check the platter for defective areas that need to be permanently blocked out so he doesn't suffer from data corruption on bad sectors
[21:48] <oerheks> imi, none, you need to add that option and value?
[21:49] <imi> ok thanks :)
[21:50] <lagunalorre> oerheks and then use SMART monitoring tools to try to maintain a rough idea on how his drive is doint
[21:51] <lagunalorre> doing
[21:51] <oerheks> i hope morgan-usb is not taking that advise.
[21:52] <lagunalorre> oerheks really you want him to risk data corruption
[21:53] <oerheks> lagunalorre, you claim such tool can repair a disk. i say it cannot. so you put him to risk data corruption.
[21:55] <lagunalorre> oerheks...in worst cases a drive can't be repaired...but for bad areas on the platter tools are available to lock them out...in fact some new drives come with some areas locked out but overall still useable
[21:55] <oerheks> iirc he bought that machine with these badblocks, could be the reason it is sold
[21:56] <lagunalorre> oerheks...well sometimes you get what you pay for
[21:57] <lagunalorre> oerheks but most component manufacturers stand behind their products and are usually more than happy to supply tools to help keep their components running well for a reasonable amount of time
[21:59] <morgan-usb> I got this machine from a friend. I have no idea about the bad blocks but it is old enough to have some. -- NOW I am going to examine the files that wont copy. -- Then will want to wash and dry the drive to make it look clean and new, err reformat it  ext4 making sure to block off bad partitions. -- There arent too many rejected files and so that
[21:59] <morgan-usb> wont take too long.
[22:00] <lagunalorre> morgan-usb no don't block off bad partitions your ext4 filesystem will need one...block off bad sectors with good reliable tools from the hard drive manufacturer
[22:00] <Aavar> I am replacing the boot sdd on one of my servers. Do you think it will be OK to attach the new drive via USB, stop most of the services and DD the drive?
[22:01] <Aavar> while the system is runnind that is... or should I boot of a usb?
[22:01] <lagunalorre> Aavar...don't use dd on a live partition
[22:01] <Aavar> lagunalorre: ok :D
[22:02] <ravage> Aavar, if you want to clone the system you can use something like clonezilla
[22:03] <lagunalorre> Aavar use a live cd...so you can keep your boot partition unmounted...and unmount the usbstick you insert after the system tries to mount it...then use dd from source to destination device labels
[22:03] <lagunalorre> Aavar yes clonezilla has a live cd
[22:03] <oerheks> after cloning UUIDs have changed of the new drive.
[22:04] <oerheks> step 4 https://help.ubuntu.com/community/MovingLinuxPartition
[22:05] <lagunalorre> Aavar but don't try to use the clonezilla app on the ubuntu system with apt install clonezilla...use a live clonezilla cd instead
[22:06] <Aavar> I'll use the live cd. THank you :)
[22:07] <lagunalorre> Aavar so your devices won't be mounted
[22:10] <lagunalorre> then you just dd /dev/whateverunmounted source drive /dev/whateverunmountedusbstick with reasonable block sizes and verbose settings
[22:12] <lagunalorre> Aavar it is very simple
[22:13] <lagunalorre> Aavar but make sure the size of your usb stick is at least as large as your source hard drive
[22:14] <lagunalorre> Aavar you can use a little smaller usbstick if you make it mounted and store a compressed backup file on it...but that is another story..different from dd
[22:15] <lagunalorre> Aavar dd is the most direct and easiest to remember..just make sure your usb stick is large enough
[22:15] <morgan-laptop> hello again, I read this sentence on a webpage. any danger in trying it? --  I've just booted into a live USB and run fsck /dev/sda1 -c and it fixed a load of bad sectors,
[22:17] <lagunalorre> morgan-laptop...yes fsck can detect and fix errors and you might want to run it a couple of times to be sure...it doesn't fix bad sectors...that is a low-level issue...it fixes bad inodes
[22:18] <lagunalorre> morgan-laptop from data corruption some of which can be fixed
[22:18] <carbonfiber> I have an old laptop from 2012 with 2 cores (and 4 threads in total because of hyperthreading) running Kubuntu 20.04. I just tried playing an 1080p video in Firefox. The video is decoded in software which results in a high amount of CPU usage. Which is fine, I am only mentioning it in order to provide context.
[22:18] <carbonfiber> My question is. When looking at the "System load" tab of KSysGuard then it states that there are 4 cores all with 80 percent usage. But in the "Process Table" tab of KSysGuard then it only shows Firefox as using 30 percent CPU. There are no other applications running. What is the reason for the info in the "Process Table" tab not matching the info in the "System load" tab?
[22:19] <oerheks> KSysGuard is depreciated, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005973
[22:19] <oerheks> it s abandonware, no more maintenance
[22:20] <oerheks> carbonfiber, so on what linux is this? it is not in our repos for some time
[22:22] <carbonfiber> As I wrote in my question, then It is Kubuntu 20.04 (which is just Ubuntu with KDE as the default desktop) and last I checked then that is not EOL yet.
[22:25] <oerheks> right, focal is supported, and the last ubuntu with that package. https://launchpad.net/ubuntu/+source/ksysguard/4:5.18.4.1-0ubuntu1
[22:26] <oerheks> agin, there is a reason why it is deleted.
[22:29] <Aavar> lagunalorre: Do you think I should use dd instead of the clonezilla wizard?
[22:30] <carbonfiber> but is the reason it is deprecated related to my question? or is it deprecated for other reasons?
[22:31] <oerheks> carbonfiber, no, long before that. i would not rely on ksysguard anymore.
[22:32] <lagunalorre> Aavar...well i never had a problem with dd...it just works...now you can use a live usb and the clonezilla compressed file which should not be a problem and will let you get by with a smaller usb stick...but you need to remember your settings for the clonezilla partition backup options and you need to keep a copy of that version of clonezilla in case you want to reverse install your compressed partition
[22:32] <lagunalorre> backup....dd does not compress by itself
[22:32] <oerheks> maybe it is the confinement of firefox, or something else
[22:32] <lagunalorre> Aavar dd is a pure copy backup
[22:34] <Aavar> lagunalorre: I just found out I am actually going from a 250GB drive to a 240GB drive. What are my options?
[22:34] <lagunalorre> Aavar in that case you must use a compressed file written to a mounted partition from an unmounted source partition...don't try to use dd with that setup
[22:36] <lagunalorre> Aavar then remember all i have already said with regard to compressed backups
[22:37] <Pasgagn> anyone know how to cancel this commande for FILE in $(dpkg-divert --list | grep nvidia-340 | awk '{print $3}'); do dpkg-divert --remove $FILE; done
[22:40] <Aavar> lagunalorre: I dont understand what you mean. Should I copy to a file instead from disk to disk?
[22:41] <lagunalorre> Aavar...yes you make a compressed file backup for your smaller destination drive which needs to be mounted even though you don't mount the source
[22:42] <lagunalorre> Aavar...you lose the simplicity and purity of dd because you did not get an adequate size backup drive
[22:43] <lagunalorre> Aavar...now with partitioning tools you can try to decrease the size of your source partition but sometimes that becomes a disaster and it is not as simple as dd drive to drive
[22:49] <morgan-usb> New wrinkle: I booted from live media. Can I get permission to write on my hard drive?
[22:50] <morgan-usb> I know the PW oc.
[22:51] <Aavar> lagunalorre: I still don't understand, but if I reduce the size of my souce-partition I should be able to clone it via clonezilla with the default settings, right?
[22:52] <lagunalorre> Aavar...you need to look  at the settings options very carefully and make a note of which options you check off....
[22:53] <lagunalorre> Aavar...if you choose to risk everything you can try to reduce the size of your source partition.....with partitioning tools..not clonezilla...then your usbstick will be large enough for a direct partition to partition copy...not a drive to drive copy and you can avoid compression issues
[22:54] <Aavar> ok, I'll try that :)
[22:54] <lagunalorre> Aavar..but i suggest you defrag your partition several times before you try to shrink it so you don't lose outlying data
[22:55] <lagunalorre> Aavar..if you are using ext4...then you can use e2defrag on it several times
[22:56] <lagunalorre> Aavar before you shrink it..the goal is to get all your data inside the range of the shrinked partition
[22:58] <lagunalorre> Aavar on ubuntu it might be called e4defrag these days
[22:59] <Pasgagn> an idea  pls to cancel this command for FILE in $(dpkg-divert --list | grep nvidia-340 | awk '{print $3}'); do dpkg-divert --remove $FILE; done
[23:01] <oerheks> Pasgagn, meanwhile that command has finished by now.
[23:02] <Aavar> lagunalorre: How long will that take for a 250GB sata sdd you think?
[23:03] <lagunalorre> Aavar..it is going to take a lot of time to defrag it 3 or 4 times...but you chose to buy a small usbstick...so that is your best option...saving some money up front cost you time after the fact
[23:03] <Aavar> lagunalorre: tnx :)
[23:04] <oerheks> one could get the PID; ps aux | grep -i “name of process, likely FILE"  and stop it with; kill -9 PID . but this should be done in microseconds....
[23:04] <Pasgagn> oerheks My system only works with nvidia-340 and I can't reinstall due to the diversion. old computer
[23:04] <Aavar> I have time, was just wondering if I should go to bed :D
[23:04] <lagunalorre> Aavar you can do it but it will take time...if you had gotten a larger usb stick you could have dd drive to drive with no compression issues and extreme simplicity
[23:04] <oerheks> Pasgagn, please explain why you remove it?
[23:05] <Imacat> hi
[23:07] <Aavar> lagunalorre: Can I ask a question just because I am curious? If I where to resize the partition to fit on the new drive with blank space afte the partiton. What would happen if I used dd to copy the drive? Would it not copy the partitions and leave the blank space blank afterwards?
[23:07] <Aavar> even if the drive was smaller?
[23:07] <Aavar> (I am not planning to do this, just wondering)
[23:08] <lagunalorre> Aavar..no you cannot use dd drive to drive because you did not buy an adequate size usbstick...all you can do now is dd partition to partition...after you shrink the source after you defrag is
[23:08] <lagunalorre> defrag it first
[23:09] <lagunalorre> Aavar or you can use the clonezilla compression schemes onto a live partition
[23:10] <lagunalorre> Aavar and risk compression errors
[23:11] <Pasgagn> it's complicated I lost the desktop of ubuntu mate suite update (libgtk-pixbuf2.0-0 depends on libgtk-xlib2.0 ) blocks me for the package install then I switch to xfce reinstall nvidia 340 which worked but while trying to correct the dependencies for cuda and the rest of the system I uninstalled nvidia340 for libnvidia-compute495 but error
[23:11] <Pasgagn> libnvidia depends on libnvidia-compute 515 so I made the diversion
[23:13] <oerheks> our 340 driver is a transit to nouveau. and higher numbers from libnvidia might not work with 340?
[23:14] <Aavar> lagunalorre: Thank you. Good night :)
[23:14] <lagunalorre> Aavar ok just let it defrag a couple of times before you try to shrink it
[23:16] <Pasgagn> oerheks nvidia 340 est le dernier pilote pour une gt 335 m
[23:17] <Pasgagn> oerheks nvidia 340 is the latest driver for a gt 335 m
[23:17] <oerheks> Pasgagn, yes, but is in reality nouveau.
[23:17] <oerheks> https://launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340
[23:18] <oerheks> so i wonder how did your cuda work?
[23:25] <ravish99> Hey guys, looking for some tech support pls. I'm working on a device with limited space and somehow it all filled up after I think it was an ansible script
[23:25] <ravish99> can't work out what caused it and how to free up the space
[23:25] <ravish99> had a look at logs and tried removing somethings but no luck
[23:27] <oerheks> try #ansible ?
[23:27] <ravish99> hmm im not sure if ansible is the root cause, its just the last thing i ran
[23:27] <sysRPL> i just installed and formatted this drive, but it looks like it's using 12gb ... why?? $df -h ... /dev/nvme0n1p1  234G   28K  222G   1% /media/storage
[23:27] <ravish99> but why not
[23:28] <sysRPL> where did 5% of my disk space go?
[23:29] <oerheks> sysRPL, reserved by ext4 i guess.
[23:29] <Bashing-om> sysRPL: 5% is taken for drive housekeeping.
[23:30] <sysRPL> Bashing-om, would ext3 reclaim that?
[23:30] <oerheks> with disk problems it wants some clean unused space to copy
[23:30] <arraybolt3[m]> sysRPL: Some of your storage space is needed in order to store the filesystem metadata (so that Linux can find your files), and also reserved blocks in the lost+found directory used for file recovery and possibly other uses.
[23:30] <oerheks> ext3 the same?
[23:30] <arraybolt3[m]> I'm not sure if 12 GB is right though, that seems a bit much.
[23:30] <arraybolt3[m]> How did you format the drive?
[23:31] <sysRPL> i used the graphical "disks" utility and selected ext4
[23:31] <oerheks> 12/250 is plausible
[23:36] <sysRPL> this fixed it ... $ sudo tune2fs -m 1 /dev/nvme0n1p1
[23:36] <sysRPL> thank you
[23:37] <sysRPL> now only 2.6GB is reserved
[23:38] <morgan-usb> Huzzah, resaved all the files I wanted with good names. (Yes, I have patience. (rolling eyes gif) --- what next? first, **Is it worth my time to try and find out why the hard drive boots to black or do I just reformat it? --- AND -- is there a way to get permission to write on my hard drive even tho I booted up on another volume. (This is a
[23:38] <morgan-usb> longstanding question of mine.)
[23:40] <Pasgagn> oerheks i  delete all the file with diversion i am sick ;)  )  nvidia 340 is on the way
[23:42] <sarnold> morgan-usb: your currently running kernel is in charge of enforcing permissions -- if you can get root on the currently running kernel, you can do what you want to the filesystem on the disk