/srv/irclogs.ubuntu.com/2022/10/05/#ubuntu.txt

monty_hallwould 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:23
sarnoldI'd be surprised if btrfs rewrites existing contents00:25
sarnoldyou probably have to have the directory or subvolume or whatever it is marked for compression before writing anything into it00:25
monty_hallmy plan is to format a drive for BTRFS - mount it uncompressed - and just do a "chattr +c mycompressedfolder"00:26
=== Discombobulated is now known as Disconsented
monty_hallor are you saying this is a bad idea and I just should mount the entire drive compressed.00:26
sarnoldwith zfs the advice is usually to have *some* compression enabled as a default everywhere, though different datasets may benefit from changing the algorithm..00:28
DarkenedGentIs 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:33
sarnoldDarkenedGent: I don't think I've ever seen a way to ask for that, no.. it really could save some time, yeah, hehe00:42
=== Guest1698 is now known as jbayardo
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.socket03: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:13
arraybolt3[m]Hold on, scratch that, lemme try again.03:14
arraybolt3[m]systemctl --user stop pulseaudio.socket03:14
arraybolt3[m]systemctl --user stop pulseaudio.service03:14
arraybolt3[m]Then to restart:03:14
arraybolt3[m]systemctl --user start pulseaudio.socket03:14
ForeverNoob[m]I already tried that (see the superuser post) and it still restarts.03:14
arraybolt3[m]ForeverNoob: That's weird, it works on my machine.03:15
ForeverNoob[m]`/usr/bin/pulseaudio --start --log-target=syslog` still running03:16
ForeverNoob[m]PulseAudio... the immortal.03:16
ForeverNoob[m]Would stuff just break if I rename `/usr/bin/pulseaudio` to something else temporarily?03:22
arraybolt3[m]ForeverNoob: Uh... yeah possibly.03:27
arraybolt3[m](You might confuse the package manager pretty badly doing that.)03:27
ForeverNoob[m]Immortal PulseAudio it is, then.03:28
ForeverNoob[m]When is Ubuntu going to switch to PipeWire by default?03:30
lagunaForeverNoob...not really just do sudo chmod -x /usr/bin/pulseaudio....then kill the pulseaudio daemon...no more problem03:31
arraybolt3ForeverNoob[m]: In about 16 days.03:31
enigma9o7I think it happens on a thursday?03:31
arraybolt3Not a joke. PipeWire is the default in Ubuntu Kinetic, which releases 16 days from today.03:31
bougymanUgh.03:32
arraybolt3(If all goes as planned that is.)03:32
bougymanI was just about to switch back to Ubuntu (from Pop!) to get around my pipewire problems.03:32
bougymanGuess I can't avoid it, now.03:32
lagunaForeverNoob..but make a note of it in case you want to use it again by reactivating it with sudo chmod +x /usr/bin/pulseaudio03:32
bougymang-d it.03:32
enigma9o7You can still use 22.04 LTS for a few more years.03:32
bougymanI know.03:32
bougymanBut I stay up-to-date.03:32
enigma9o7So you can avoid it now.03:32
bougymanI normally run voidlinux (rolling distro), but have to run an Ubuntu compatible distro on my $dayjob machine.03:33
enigma9o7Great.  Ubuntu LTS is good for that.03:34
bougymanframe.work only offered factory FDE with Pop!, so I gave it a shot. It's been a less than pleasant experience.03:34
bougymanEh, I'll deal with it (pipewire in Kinetic). Someone has to get through the bugs.03:35
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
lagunaForeverNoob..nope it can't respawn once you use -x on it03:37
bougymanbut you also can't call pulseaudio --kill after using -x on it, is what he's saying.03:38
lagunaForeverNoob..but make a note in case you ever want to use it again by using +x on it03:38
ForeverNoob[m]Right, but once I do -x, how do I kill it using `pulseaudio --kill` ?03:38
ice9how to take a screenshot for a popup menu?03:38
bougymanForeverNoob[m]: just -x the binary, then kill $(pidof pulseaudio)03:38
bougymanice9: use a screenshot program with a delay.03:39
lagunaForeverNoob...of course you can kill it after you use -x on it because it is already running03:39
ice9bougyman, can you suggest a name please?03:39
bougymanGive yourself 5 seconds or so to outline the popup.03:39
bougymanice9: the one in Pop! is just called "screenshot"03:39
bougymanI've used gm and im for the same, though, there's a -delay option to both.03:39
bougyman(ImageMagick and GraphicsMagick)03:39
lagunaForeverNoob...and after you kill it by using ps -ef to identify it...it won't respawn03:40
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
lagunaForeverNoob yes either way03:41
lagunaForeverNoob...but keep a note with nano in your documents folder in case you might want to use it again someday03:42
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:46
arraybolt3I'm interested in why PulseAudio is being so reluctant to die. What flavor of Ubuntu are you using?03:47
ice9suddenly 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/IYJ4F03:50
ForeverNoob[m]@arraybolt3: Ubuntu 18.0403:56
kitshey04:18
matsamanheyo04:22
lagunai 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 games04:25
lagunaafter all it is the same program04:25
matsamanwhat makes you think it's the same program04:27
matsamanlaguna: this is Windows booted from the same hardware?04:27
lagunamatsaman...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 sufficient04:27
lagunayes same hardware with triple boot04:28
matsamanlaguna: maybe you're not using the graphics driver you think you are04:28
matsamancheck lspci -k04:28
matsamansystems with big discrete gaming graphics hardware frequently have onboard simpler graphics hardware also04:29
lagunamatsaman...well i use the same driver plugin for both the windows program and the ubuntu program04:29
matsamanyour OS could be using either one04:29
matsamandriver plugin?04:29
lagunamatsaman...yes they are selectable in the config of the program04:30
matsamanpcsx2 is not likely to have control over what graphics driver your system is using or is able to use04:30
matsamancheck lspci -k04:30
matsamanlspci -k | grep -i vga -B 5 -A 5 or something04:32
lagunait is using the i915 x driver...but i use the gsdx sse2 opengl plugin for pcsx2 in either os04:36
lagunaand 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 insufficient04:37
matsamancould be it wasn't compiled with support for some of those things, sse2, etc04:42
matsamanor it could have whole different chunks of operating code & qualifications for each OS04:43
lagunamatsaman...well ubuntu only has binaries so i never know what compile options were set with them...but this doesn't work with my hardware04:43
wez_hnlaguna: Ubuntu doesn't have src debs?04:46
lagunawez_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 options04:47
wez_hnah04:48
wez_hnSounds like you have some work to do.04:48
lagunawez_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 code04:53
wez_hn:(04:53
wez_hnSounds like you need to write up some bug tickets too04:54
lagunai miss gcc 2.96 which was very leniant with code04:54
lagunabut those were the old days04:55
morgan-usb22.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 drive04:56
lagunamorgan-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 stick04:57
morgan-usblooking 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
lagunayou would use cp -R /home /dev/sdb1 or whatever partition is on your usbstick04:59
lagunaif there is no corruption in your /home data05:00
lagunaafter you mount -t ext4 (whateverfs) /dev/sda1(whatever / is) directory name05:01
lagunathen cp -R directoryname/home topartition on usb stick05:01
lagunamorgan-usb ok i think you will get it...just keep after it05:03
morgan-usbI 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 folder05:03
lagunamorgan-usb yes use sudo05:04
morgan-usbso I want to make sure I am doing it right. I dont know how to address drives and folders in bash.05:04
lagunamorgan-usb...in posix...everything is a file....any device...any file....any directory...so just remember that05:04
lagunamorgan-usb...bash makes everything very easy so you don't need gui stuff...and you will have more control with bash05:05
lagunamorgan-usb but be careful about typos...check your line before you hit enter05:06
morgan-usbthe "volume" with the data is /dev/sda505:06
morgan-usbI dont know how to refer to the pocket drive.05:07
lagunamorgan-usb...i don't know what a pocket drive is...is it a usb drive05:07
morgan-usbplease tell me what to do first.05:07
morgan-usblaguna I dont know what "in posix" means05:08
lagunamorgan-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 dmesg05:09
morgan-usbso if I can see the files that means that everything is mountedl. correct?05:09
lagunamorgan-usb..yes if you see the files the mount command has already been taken care of05:09
morgan-usbso I need to know  the correct pathname for the folder I want to move/copy and the target folder05:10
lagunamorgan-usb...posix is an alternative to unix so noone steals unix ideas05:10
lagunamorgan-usb...the linux kernel is posix certified05:11
morgan-usbok05:11
lagunamorgan-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 money05:13
morgan-usbI 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:13
lagunamorgan-usb...because unix is a propietary operating system...and you would owe the creators a lot of money if you used their ideas05:14
morgan-usbgnu history stallman all the things in ubuntu that are not the kernel. I should like to read more about that.05:14
lagunamorgan-usb yes well use sudo cp -R mountdirectory/home usbstickpartition05:14
morgan-usbI did read just for fun. I even bought the book.05:15
lagunamorgan-usb..it will take a while but it will copy all files since everything is a file in posix05:15
lagunamorgan-usb it was the only way to avoid stealing the propietary unix  ideas05:16
morgan-usbI 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
lagunamorgan-usb...well how are you seeing the files...what program05:17
morgan-usblaguna, 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-usbSEEING them with the gui.05:18
morgan-usbit eassured me. Things got all messed up lanst night so I rebooted and it was fine.05:19
morgan-usbbooting from the stick05:19
lagunamorgan-usb...what gui program....nautilus...dolphin...files....caja...thunar..?05:20
morgan-usbThe one called FILES that is on the 22.04 install media05:20
lagunamorgan-usb...because each program has different ways of trying to identify the directory you are looking at05:21
morgan-usbI am in TRY UBUNTU05:21
lagunamorgan-usb ok..files is the gnome program05:21
lagunamorgan-usb in files for gnome go to other locations...and see what /dev/sd? has the files you want to see05:22
lagunamorgan-usb it is to the far-right of the window05:22
morgan-usbalready said that the computer files I can see are on /drv/sda5 do Ijust say /dev/sda5/home  ??05:24
lagunamorgan-usb then after you do that look for your home directory ...in whatever /dev/sd? is appropriate05:24
lagunamorgan-usb then look at a file and go to properties and look for the preceding directories for where it is mounted05:25
morgan-usbah ha05:25
lagunano not /dev/sda5/home..you have to see where it is mounted05:25
lagunamorgan-usb...probably media/something/something05:26
lagunamorgan-usb look for that in the properties window05:26
morgan-usbparent folder  /media/ubuntu05:27
morgan-usbbut I dont know what to call it "My Passport"  is that how to ?05:28
lagunamorgan-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 stick05:28
morgan-usbgolly 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
lagunamorgan-usb...well it is not hard...things have not changed in 25 years.....but people just forget how we used to have to do things05:29
morgan-usbnonono I dont wan to copy FROM the my passport, I want to copy FROM the hard drive TO  the pocket drive05:30
lagunamorgan-usb...ok identify the pocket drive with dmesg05:30
morgan-usbIn 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
lagunamorgan-usb use sudo dmesg | less and scroll through it looking for /dev/sd? associated with your pocket drive05:31
morgan-usbWhat is the dmsg command?05:31
lagunawith piping to less you can scroll up and down with the arrow keys...not dmsg...dmesg05:31
morgan-usbI need a short course afre I get this accomplished.05:31
lagunamorgan-usb...learn by doing05:32
morgan-usbbtw there is plenty of room on the pocket drive.05:32
morgan-usbI am doing babe, doing is me.05:32
morgan-usbthank you for taking your time.05:32
lagunamorgan-usb...as i said pipe dmesg to less ...piping is a posix concept so no one steals any ideas from unix05:32
lagunamorgan-usb so no one will be sued out of all their money05:33
morgan-usbi understand pipe |05:34
lagunaso 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 it05:34
morgan-usbwhat is this called?   >05:34
lagunamorgan-usb when you are done type q to exit05:34
morgan-usbok05:34
lagunamorgan-usb...you learn best by doing...you have to learn sometime05:35
morgan-usbit is a bunch of dashes starting blank lines05:36
lagunamorgan-usb did you use sudo dmesg | less...it should have lots of lines of data05:36
morgan-usbmessage   dmesg: read kernel buffer failed: opeation not permitted05:36
morgan-usboh sudo05:36
lagunamorgan-usb did you use sudo05:37
lagunamorgan-usb you can also use journalctl -k if you are using systemd so you don't steal any unix ideas05:39
lagunamorgan-usb...but dmesg piped to less lets you scroll up and down with the arrow keys while you look for stuff05:39
morgan-usbit 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:41
morgan-usbI saw the sda1 and sda5 which are my hard drive  volumes. (I have no idea what a volume is)05:42
lagunamorgan-usb well keep looking until you find your pocket drive device05:42
lagunamorgan-usb the kernel should report about it05:43
lagunavolumes in that context should be called partitions on the device05:43
morgan-usb  this is a typical line:  [   24.991328] audit: type=1400 audit(1664922006.946:20): apparmor="STATUS" oper05:44
morgan-usbation="profile_replace" profile="unconfined" name="snap.snapd-desktop-integratio05:44
morgan-usbn.snapd-desktop-integration" pid=1827 comm="apparmor_parser"05:44
lagunamorgan-usb..keep going with the down arrow key until you get to your hard drives section...it is probably near there05:44
morgan-usbok I have no clue why I have 2 partitions on my hard drive, unless I did it and forgot.05:44
morgan-usbOIC  dmesg - print or control the kernel ring buffer05:45
lagunamorgan-usb..well some installers create more than one partition depending on whose version of linux you use05:45
morgan-usbOK df -h shows me05:46
lagunamorgan-usb keep looking...it will be there somewhere05:46
morgan-usbI did df -h and it showed me: /dev/sda1                    511M  4.0K  511M   1% /media/ubuntu/172C-2AA205:47
morgan-usbshowed me /dev/sdb1 is /media/ubuntu/My Passport05:48
morgan-usbwill that do?05:48
lagunamorgan-usb keep looking in dmesg for your pocket drive lable to get the right device05:49
lagunasince i don't know what "My Passport" is05:49
=== hammies is now known as hams
morgan-usbMy Passport *IS* the pocket drive.05:57
lagunamorgan-usb...ok then..use mkdir somename to create a subdirectory after "My Passport'05:58
lagunamorgan-usb use sudo mkdir /media/ubuntu/"My Passport"/somenameyoulike05:59
lagunamorgan-usb be sure to use the quotes05:59
lagunamorgan-usb because of the space in the directory name06:00
lagunamorgan-usb what subdirectory name did you choose06:01
morgan-usbI already had made a target folder called    OCT2022-home06:02
morgan-laptoplaguna you are so peppy, I am at 11 pm but time is calling me.06:06
morgan-laptopwhat time is it there?06:07
lagunamorgan-usb ok great...now do sudo cp -R /media/whateversource/home /media/ubuntu/"My Passport"/OCT2022-home/06:07
lagunamorgan-usb and you will be done06:08
lagunamorgan-usb...i forgot the whatever source but recall it from properties when you were looking at the files in your home directory06:08
morgan-usbso my hard dirve is called /media/ too06:08
lagunamorgan-usb..use the properties of files to identify the full path length of your home directory06:09
lagunamorgan-usb you just have one command to finish everything06:12
lagunamorgan-usb but be sure to use sudo with cp -R06:13
lagunamorgan-usb so you don't miss any files that you might not have permission to copy06:15
lagunamorgan-usb...and use cp -R to get all the subdirectories and their files....so you don't steal any unix ideas06:18
lagunamorgan-usb with sudo06:19
morgan-usbsudo cp -R /media/sda5/home  /media/ubuntu/sdb1/OCT2022-home06:22
lagunamorgan-usb...no06:22
lagunano not sda5...look at your home directory again and use the properties section of files to get the preceding path to home06:23
lagunaand not sdb106:23
lagunafor the destination it is just /media/ubuntu/"My Passport"/OCT2022-home06:24
lagunawith the quotes06:24
lagunafor the source get the /media/whateverstuff/home06:25
lagunafrom the properties info of files06:25
lagunawhen you look at your home directory06:26
morgan-usbsudo cp -R /media/ubuntu/-- avery ver long number with dashes and .. and the end of it.    (UH OH)   /media/ubuntu/"My Passport"/OCT2022-home06:27
lagunasudo cp -r /media/ubuntu/what is the exact number06:28
lagunamorgan-usb do ls /media/ubuntu to see the full number06:28
morgan-usbit tails off and is longer than I can see - hence the  ..06:28
lagunamorgan-usb...do ls /media/ubuntu06:28
lagunamorgan-usb and identify the full number06:29
morgan-usbthe 500 GB volume is /media/ubuntu and the NAME is  d5186da3-402a-408b-9435-f5db5167658806:30
lagunamorgan-usb ok great06:30
morgan-usbbefore I was looking at the properties of the /home folder not the volume06:30
morgan-usbso it is /media/ubuntu/d5186da3-402a-408b-9435-f5db51676588/home06:30
morgan-usbis that right?06:31
morgan-usbdo is ???06:32
lagunamorgan-usb..so sudo cp -R /media/ubuntu/d5186da3-402a-408b09435-f5db516756588/home /media/ubuntu/"My Passport"/OCT2022-home06:32
lagunamorgan-usb and be sure to check it for any typos before you hit the enter key06:32
lagunaand be sure there is  a space between the source directory and the destination directory06:33
morgan-usbI can copy paste from here which is why I am here and dont have to type it.06:34
lagunamorgan-usb ok but check what i typed to make sure there are no typos06:34
lagunamorgan-usb before you hit the enter key06:35
lagunamorgan-usb then let it run till it finishes and gives you back the prompt06:35
lagunamorgan-usb...then use the files program to see if the files are in the "My Passport" folder06:36
morgan-usbcp: cannot stat '/media/ubuntu/d5186da3-402a-408b09435-f5db516756588/home': No such file or directory06:37
lagunamorgan-usb...do ls /media/ubuntu again and make sure there is no typo in that long number06:37
morgan-usb  /dev/sda5                    457G  146G  288G  34% /media/ubuntu/d5186da3-402a-408b-9435-f5db5167658806:38
lagunamorgan-usb ok there is a typo after 408b06:39
lagunamorgan-usb it needs a hyphen06:39
lagunamorgan-usb just insert the hyphen in the right place before you hit enter06:40
morgan-usbfound it. dont know how a - became an 89 when I copied it.06:40
lagunamorgan-usb well forget copying...just type it very carefully06:41
lagunamorgan-usb let me try to get it right for you06:41
morgan-usbd5186da3-402a-408b-9435-f5db516765806:42
morgan-usbnope06:42
lagunasudo cp -R /media/ubuntu/d5186da3-402a-408b-9435-f5db51676588/home  /media/ubuntu/"My Passport"/OCT2022-home06:43
lagunamorgan-usb there try to copy and paste that06:43
morgan-usbsudo cp -R /media/ubuntu/d5186da3-402a-408b-9435-f5db51676588/home /media/ubuntu/"My Passport"/OCT2022-home06:44
lagunamorgan-usb ok let it run until it returns a prompt06:45
morgan-usboh 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:45
morgan-usbThank you so much. being tired makes errors.06:46
morgan-usbI will let it run06:46
lagunamorgan-usb ok don't worry about the trash stuff06:46
lagunamorgan-usb it should be done06:46
lagunamorgan-usb you should be able to see your files in the "My Passport" directory with the files program in gnome06:47
morgan-usbYou 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:47
lagunamorgan-usb...yes flaky monitors can be a real hassle06:48
morgan-usbright .. about tomorrow I will see stuff. and may learn why it keeps saying cannot create logs or other things.06:48
lagunamorgan-usb ok see you tomorrow06:48
lagunamorgan-usb sudo should have taken care of that06:49
lagunamorgan-usb there should not be any problem with a few log files06:49
morgan-usbI had the choice to be annoyed or amused.  I've got nothing to say but it's ok,06:50
lagunamorgan-usb...well files should show your home directory stuff on your pocket drive now06:50
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:51
morgan-usbThey gave me one jcl command to start it up and I stopped learning right there.06:52
lagunamorgan-usb well i can't imagine why logs would be a problem to copy06:52
morgan-usbOh I did ask, what's your time zone?06:52
lagunamorgan-usb yes i remember jcl it wasn't much fun06:52
morgan-usbI am Pacific time. Cali06:52
lagunamorgan-usb ...i am texas time06:52
lagunait is almost 2 in the morning here06:53
lagunamorgan-usb...so we can try to work on the straggler files tomorrow06:53
morgan-usbWell 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 happen06:54
morgan-usbok good night...06:54
morgan-usbluckily I have a laptop.06:54
lagunamorgan-usb well some files may be binary or something that might have trouble copying06:54
lagunamorgan-usb we will try more tomorrow06:55
vd1rhi07:38
oskiehey, 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 lost07:48
bparkercool story bro07:49
oskieyeah. it's awesome07:49
mrkubax10very deep and interesting07:50
mncheckhow 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 time08:09
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:27
ForeverNoob[m]So for the next person trying to disable PulseAudio: Don't.08:28
ForeverNoob[m]PulseAudio is the all-encompassing everything. PulseAudio is eternal.08:29
ForeverNoob[m]Let's see if a reboot helps...08:31
linux33hi08:37
bob_x1what 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 knows09:03
alkisgbob_x1: https://unix.stackexchange.com/questions/139513/how-to-clear-journalctl09:12
bob_x1ah it's journalctl. will read now it's docs09:12
=== xenial is now known as Guest9471
bob_x1read and moved logs to /run/var folder (into ram?) and removed old files written on disk09:23
bob_x1the machine has small hdd09:23
=== boxrick_ is now known as boxrick
Mystified1234running plasma, can you guys recommend a voice2text app. It's on my android .wav recorded with voice recorder. Thanks in advance09:38
murmelMystified1234: maybe something like this, but I never tried it https://github.com/mozilla/DeepSpeech09:41
Mystified1234murmel:) thanks09:45
dreamerhi 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 needed10:24
dreamermy default alsa device should be card 0 and as said it works fine with other software10:25
=== LanDi1 is now known as LanDi
=== Guest4424 is now known as Beck
=== Beck is now known as Becko
=== workdrone43 is now known as workdrone42
=== Bencraft1419562 is now known as Bencraft141956
dreamerok seems the bug is with snap11:00
dreamergoogle-chrome does work, but chromium and firefox are now installed with snap, which breaks audio playback11:01
mikm2603test11:22
lotuspsychjeit works, we see you mikm260311:22
mikm2603oke thanks11:22
pickanick Is there a way to update firefox snap without closing all firefox windows?11:49
N3vYnHi! Is there a roadmap for when https://launchpad.net/ubuntu/+source/aad-auth/ will be published to LTS?11:55
pickanickAre snaps architecturally impossible to update while in use, or is it something about firefox in particular?11:56
SteelRosepickanick: 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 snap12:03
pickanickSteelRose: 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:08
SteelRosepickanick: 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:10
rgallaispouHi 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 closes12:13
ograpickanick, 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:15
ograpickanick, 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:16
ograpickanick, 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 history12:17
ograi.e. updating while the browser is running would make you silently lose all history from the moment n the update has appened12:18
ograthe 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 refresh12:19
ogra(and thanks to the fact that snapps are all "rolling release apps" you will receive that fix even on old installs)12:20
=== Starmina87958514 is now known as Starmina8795851
Matt|homejust 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" method12:54
Matt|homeor would i really need to do a full OS reinstall12:54
SteelRoseMatt|home: I'd suggest you to take a backup of the sensitive info you might have, if any, and do a fresh install12:56
SteelRoseunless you have something that creates snapshots...12:56
Matt|homebacked up already, main issue is i have no way to boot from anything except my harddrive right now12:56
Matt|homeworst case scenario can i delete all packages except the main ones and just reinstall gnome or whatever?12:57
=== w4v3|tx is now known as w4v3_
SteelRoseMatt|home: you may want to try something like this https://www.cyberciti.biz/howto/debian-linux/ubuntu-linux-rollback-an-apt-get-upgrade/12:57
Matt|homebah..12:59
Matt|homei have an idea.. i need my hammer..12:59
SteelRoseLOL13:20
BluesKajHi all13:22
murmelis 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:26
leftyfbmurmel: it's likely the package in the PPA is only available for certain versions of ubuntu13:32
leftyfbmurmel: that said, you'll need to contact the PPA maintainer for support with the PPA and the packages it provides13:33
=== diskin is now known as Guest6437
=== diskin_ is now known as diskin
murmelleftyfb: well I am the maintainer ;)13:34
murmeland it's definitely for jammy13:34
rgallaispouIs my question better suitted for gnome channel ? :)13:46
murmelrgallaispou: it would be better if you would also describe what you want to achieve13:48
rgallaispoumurmel: 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:57
rgallaispoumurmel, sorry if it was confused before13:58
murmelrgallaispou: /etc/systemd/logind.conf14:00
murmelexternal monitor is something which happens on a different layer14:00
murmelxorg/wayland14:00
murmelahh, I misunderstood. yes, still that conf file14:01
murmelwhere you can edit what happens14:01
=== pickanick is now known as CMOS
=== CMOS is now known as pickanick
DiogoConstantinohi all14:06
rgallaispoumurmel: I thought logind was for power management14:08
murmelrgallaispou: well, it _is_ pwer management, which also handles that stuff (well even on windows)14:09
rgallaispouOkay 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:12
rgallaispouwould this mean xrandr is also based on logind*14:13
ograthere might be other bits involved14:13
murmelwasn't xrandr just adjusting where displays are? can't remember now14:13
ogra(i.e. "upower" )14:13
murmeland turning on/off14:14
rgallaispouxrandr can turn on and off monitors, yes14:14
ogranot sure if gnome uses it though ... it might be talking directly to the HW instead of shellig out to someting like xrandr14:15
=== pascalm1 is now known as pascalm
rgallaispouoh, okay, that is what I wanted to understand14:17
rgallaispouIf Gnome/Ubuntu was passing through an interface or not to control this14:18
murmelrgallaispou: very likely that they interact directly14:19
=== LanDi1 is now known as LanDi
rgallaispouOkay, I think I am going to ask directly on Gnome channel14:21
rgallaispouMany thanks guys :)14:21
=== LanDi1 is now known as LanDi
misuhello14:41
misuhello14:41
arraybolt3[m]misu: 👋14:43
murmeland he is gone ;)14:44
arraybolt3[m]Welcome to The Matrix. I wonder how many other stale entries there are in here.14:48
adacWhat might be the issue if /var/log/syslog is empty?15:08
adacafter restarting rsyslog it again works and there is output on the file15:11
=== blackest_mamba_ is now known as blackest_mamba
=== cecilio is now known as ivva
lagunalorreis there a fix for the snes9x source code that won't compile with gcc-1115:48
ograprobably something you should ask in an snes9x channel or in a gcc channel ?15:48
=== dionysus70 is now known as dionysus69
lagunalorreogra ok let me see if i can find a snes9x channel devoted to source code compilations on the newer gcc15:49
ogra(this simply does not sound like a particular ubuntu support question)15:49
lagunalorreogra 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 code15:51
=== scoobydoo_ is now known as scoobydoo
ograyeah, or find another place where snes9x usually discussed their issues15:53
shivayahi 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 that16:19
leftyfbshivaya: you might ask in #ubuntu-server16:19
shivayathanks leftyfb16:29
amikropHello, 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:30
amikropi.e. icons for mp3 files on desktop/nautilus appear as the default icon, not as their own cover/embeded image16:31
lotuspsychjeamikrop: that seems to be the case on my 22.04 aswell, the mp3 icon16:43
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
lotuspsychjeamikrop: this is the one i see; https://imgur.com/a/4J02aDW16:44
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 44s16:45
lotuspsychjelain_: you might wanna ask the #ubuntu-mirror crew about known issues for your country/repo16:45
lotuspsychjelain_: #ubuntu-mirrors sorry16:46
radix0Been 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:47
radix0I hate how picky yaml is with spacing......16:58
radix0!next16:58
ubottuKinetic Kudu is the codename for Ubuntu 22.10. For technical support, see #ubuntu-next. For testing and QA feedback and help, see #ubuntu-quality.16:58
lain_lotuspsychje: can i switch mirrors ?16:58
=== LanDi1 is now known as LanDi
amikroplotuspsychje 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
amikropor a "lack of feature" even17:02
lotuspsychjeamikrop: on focal it had miniatures of the album if i can recall?17:04
amikroplotuspsychje my previous version was 16.04 actually, which it did have the correct thumbnails (album miniatures I guess, yes)17:05
lotuspsychjeamikrop: you said it was an upgrade earlier?17:05
amikropit was not literal :)17:06
lotuspsychjeclean install then?17:06
amikropyep17:06
lotuspsychjekk17:06
amikropshould I report that somewhere as a bug / feature request? weird thing is I can't find anything about that on google17:06
=== diskin is now known as Guest92
=== diskin_ is now known as diskin
lotuspsychjeamikrop: well im not sure if its on purpose or a bug yet, as i dont find existing bugs related right away17:07
amikropif it was on purpose, they at least should give you the option to toggle17:08
amikropanyway i am reporting, and whatever happens, happens :)17:09
lain_not getting any speed on US mirrors also17:13
lain_bytes per second17:13
lagunalorreok with sam's help at #gcc now snes9x is working on ubuntu as a compiled program17:23
lagunalorrein case anyone wants the binary17:24
lagunalorre64 biy17:24
lagunalorre64 bit17:24
arraybolt3I'm good, thanks. You might could put it on GitHub.17:24
lagunalorrearraybolt3 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-1117:25
tomreynlagunalorre: as a reminder, the topic of this very channel is ubuntu support, but there are several other ubuntu related channels.17:28
=== bongfrog_ is now known as bongfrog
lagunalorretomreyn yes this is about ubuntu support since snes9x is not in the ubuntu repositories but i can make a binary available for it17:28
tomreynlagunalorre: i consider this a development topic, but also don't want to discourage you from working on it.17:30
ravageit is not available in ubuntu. so it is not an Ubuntu support topic17:30
lagunalorretomreyn 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 it17:31
tomreynlagunalorre: 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:33
lagunalorretomreyn oh ok i did not know about ubuntu-devel...i will try to check in there17:34
lain_I asked #ubuntu-mirrors about my slow dist-upgrade issue, they said its not a mirror problem. Could be an apt issue probably.17:53
=== LanDi1 is now known as LanDi
murmelanybody 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 :S18:02
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:06
tomreynlain_: those mirrors resolve to multiple ipv4 and ipv6 addresses. can you identify which mirror is slow for you?18:07
tomreynlain_: 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; done18:07
murmelarraybolt3[m]: this is a fresh boot :(18:07
murmelwelp, will reboot18:07
tomreynlain_: 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; done18:10
murmelarraybolt3[m]: well, now ff and chromium work, but their icons are missing oO18:10
morgan-usb22.04 I copied /home to a pocket drive and these "cannot create" messages - in this paste.  https://pastebin.com/WjZPx54E18:12
tomreynlain_: 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:12
tomreynactually that's mega*bytes*/second, so x818:13
BontaKunolá19:05
murmelhi BontaKun19:06
tomreynmurmel: you probably have a different file system on the target19:09
murmeltomreyn: on which target are you talking about?19:11
murmelabout*19:12
tomreynoops, sorry, that was meant to go to morgan-usb19:12
murmelk19:12
tomreynmorgan-usb: you probably have a different file system on the target (or different mount options)19:12
RRPDhola19:25
morgan-usbI 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/WjZPx54E20:25
morgan-usbI would like to understand what that means.'20:25
raphahi all20:27
sarnoldmorgan-usb: that's weird alright.. maybe namei -l '/media/ubuntu/My Passport/OCT2022-home/home/human/.local/share/gvfs-metadata/trash:'  ?20:28
raphain the history of Ubuntu, have people ever managed to crossgrade from Debian over to Ubuntu? like, with a working system in the end...?20:28
murmelrapha: very very unlikely, especially nowadays where ubuntu differs quite abit20:29
oerheksrapha, some tried, but i would not recommend it.20:29
sarnoldrapha: I bet it's happened, but I don't know off-hand anyone who says they've done it :) heh20:29
oerheksfrankestein-ubuntu :-D20:29
raphaokay, so it'd likely fail beginning with different libc's and so on?20:29
murmelrapha: 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
murmelbut never tried it honestly20:31
sarnoldmurmel: oh yeah :/20:31
murmelsarnold: that's what I quite don't like, yeah they use both apt and debs, but they are basically 2 completely different things nowadays20:32
raphaoh, _that's_ how far they diverge, wow20:32
raphathanks ... TIL!20:32
sarnoldheh 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:33
=== scoobydoo_ is now known as scoobydoo
murmelsarnold: such is live, when you live in the past ;)20:40
murmellife*20:40
sarnoldmurmel: *nod*20:41
murmelhopefully, they won't change it in the near future20:42
sarnoldmurmel: 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, heh20:42
murmelalways nice to be surprised with what was not prepared in advance :)20:43
sarnoldit was nice it was just in the other room rather than in a datacenter :)20:44
murmelsounds like a testsystem20:44
=== Bencraft1419566 is now known as Bencraft141956
=== justache is now known as justHaunted
morgan-usbtomreyn 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:15
lagunalorremorgan-usb i was thinking since last night and i can't figure out why logs are in your home directory21:16
lagunalorremorgan-usb it doesn't make sense that it would not copy jpegs in your pictures folder21:17
oerheksonly when the host filesystem is defective..21:19
oerheksbad blocks?21:19
lagunalorreoerheks well it is possible that he has a corrupted home folder with some ruined files21: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 for21:19
morgan-usbwhich I had to follow some instructions to go into that area and change things because reformatting didnt work.)21:19
oerheksso, bad sectors, plausible.21:20
oerhekssorry to tell you that those files are gone.21:20
lagunalorremorgan-usb you can get low-level formatting tools from the manufacturer which will lock out any bad tracks...so your data doesn't get corrupted21:20
oerheksformatting without geting corrupted?21:21
lagunalorremorgan-usb..western digital and seagate has some low level formatting tools21:21
oerheksinteresting..21:21
oerhekslow level means *forced* format to 021:21
lagunalorremorgan-usb..my guess is you got all that you could get off of your corrupted home folder21:21
xx_zz21:22
EriC^^morgan-usb: it's because the file name doesnt work on the destination filesystem, notice they mostly have ":"s in them21:22
oerhekserr filenames with : ???21:23
oerheksweird21:23
lagunalorremorgan-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:23
oerheksnot ntfs..21:24
lagunalorremorgan-usb i use ext4 for data storage and i haven't had any naming problems occur with rockridge names21:24
EriC^^seems to not like any sort of special chars, : " ? etc in the filenames21:25
lagunalorremorgan-usb who formatted your source drive before you put the strange names in your home folder21:26
lagunalorremorgan-usb and what filesystem did they use21:26
lagunalorremorgan-usb and what is the filesystem for your destination folder21:27
morgan-usboerheks 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:27
oerhekssee EriC^^ mostly have ":"s in them21:28
oerhekswhich is weird.21:28
oerheksmight be due to corrupt sectors.21:28
EriC^^morgan-usb: if you only literally copied '/home' then you cant know unfortunately21:29
morgan-usbEriC^^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:29
lagunalorremorgan-usb well reformat your destination drive to ext4 before you copy the ext4 source to it21:30
lagunalorremorgan-usb then try to copy it again21:30
EriC^^e@e:/boot/efi/efi# cp bla "bla?"cp: cannot create regular file 'bla?': Invalid argument21:31
morgan-usbDiscks 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 filenames21:31
lagunalorremorgan-usb use fdisk /dev/sda to make sure your home directory on your source drive is et421:31
lagunalorreext421:31
lagunalorremorgan-usb...just look at it with fdisk don't write anything21:32
morgan-usblagunalorre 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 too21:32
lagunalorremorgan-usb well if ubuntu formatted it ..likely it will be ext4...although you have choices on that when you install21:32
morgan-usbI cant reformat it (or wont) because it is one of my AB backup drives. It is a 2T drive.21:33
lagunalorremorgan-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 exit21:33
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 are21:34
morgan-usbNext 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 know21:34
lagunalorremorgan-usb dell probably doesn't know what low-level is...get the manufacturer of the hard drive's tools21:34
lagunalorremorgan-usb dell is just a stupid assembler not a core manufacturer of parts21: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 also21:35
lagunalorremorgan-usb western digital and seagate have low-level tools21:36
lagunalorremorgan-usb don't ever bother with assembler idiots for advice21:36
lagunalorremorgan-usb some of those assemblers don't even make their own memory contollers for the cpu21:37
lagunalorremorgan-usb never ask idiots for advice21:38
lagunalorremorgan-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 ingredients21:40
morgan-usblagunalorre makes me smile. Likes "never ask idiots for advice."21:43
morgan-usbYes 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:44
oerheks"low level means *forced* format to 0", your problem would not go away.21:45
oerhekseven worse..21:45
oerheksbad sectors grow.21:45
imissh client question: what is the default value for ServerAliveInterval?21:46
lagunalorreoerheks 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 sectors21:46
oerheksimi, none, you need to add that option and value?21:48
imiok thanks :)21:49
lagunalorreoerheks and then use SMART monitoring tools to try to maintain a rough idea on how his drive is doint21:50
lagunalorredoing21:51
oerheksi hope morgan-usb is not taking that advise.21:51
lagunalorreoerheks really you want him to risk data corruption21:52
oerhekslagunalorre, you claim such tool can repair a disk. i say it cannot. so you put him to risk data corruption.21:53
lagunalorreoerheks...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 useable21:55
oerheksiirc he bought that machine with these badblocks, could be the reason it is sold21:55
lagunalorreoerheks...well sometimes you get what you pay for21:56
lagunalorreoerheks 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 time21:57
morgan-usbI 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 that21:59
morgan-usbwont take too long.21:59
lagunalorremorgan-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 manufacturer22:00
AavarI 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:00
Aavarwhile the system is runnind that is... or should I boot of a usb?22:01
lagunalorreAavar...don't use dd on a live partition22:01
Aavarlagunalorre: ok :D22:01
ravageAavar, if you want to clone the system you can use something like clonezilla22:02
lagunalorreAavar 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 labels22:03
lagunalorreAavar yes clonezilla has a live cd22:03
oerheksafter cloning UUIDs have changed of the new drive.22:03
oerheksstep 4 https://help.ubuntu.com/community/MovingLinuxPartition22:04
lagunalorreAavar but don't try to use the clonezilla app on the ubuntu system with apt install clonezilla...use a live clonezilla cd instead22:05
AavarI'll use the live cd. THank you :)22:06
lagunalorreAavar so your devices won't be mounted22:07
lagunalorrethen you just dd /dev/whateverunmounted source drive /dev/whateverunmountedusbstick with reasonable block sizes and verbose settings22:10
lagunalorreAavar it is very simple22:12
lagunalorreAavar but make sure the size of your usb stick is at least as large as your source hard drive22:13
lagunalorreAavar 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 dd22:14
lagunalorreAavar dd is the most direct and easiest to remember..just make sure your usb stick is large enough22:15
morgan-laptophello 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:15
lagunalorremorgan-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 inodes22:17
lagunalorremorgan-laptop from data corruption some of which can be fixed22:18
carbonfiberI 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
carbonfiberMy 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:18
oerheksKSysGuard is depreciated, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=100597322:19
ubottuDebian bug 1005973 in ftp.debian.org "RM: ksysguard -- ROM; Replaced upstream by plasma-systemmonitor / ksystemstats" [Normal, Open]22:19
oerheksit s abandonware, no more maintenance22:19
oerhekscarbonfiber, so on what linux is this? it is not in our repos for some time22:20
carbonfiberAs 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:22
oerheksright, focal is supported, and the last ubuntu with that package. https://launchpad.net/ubuntu/+source/ksysguard/4:5.18.4.1-0ubuntu122:25
oerheksagin, there is a reason why it is deleted.22:26
Aavarlagunalorre: Do you think I should use dd instead of the clonezilla wizard?22:29
carbonfiberbut is the reason it is deprecated related to my question? or is it deprecated for other reasons?22:30
oerhekscarbonfiber, no, long before that. i would not rely on ksysguard anymore.22:31
lagunalorreAavar...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 partition22:32
lagunalorrebackup....dd does not compress by itself22:32
oerheksmaybe it is the confinement of firefox, or something else22:32
lagunalorreAavar dd is a pure copy backup22:32
Aavarlagunalorre: I just found out I am actually going from a 250GB drive to a 240GB drive. What are my options?22:34
lagunalorreAavar 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 setup22:34
lagunalorreAavar then remember all i have already said with regard to compressed backups22:36
Pasgagnanyone know how to cancel this commande for FILE in $(dpkg-divert --list | grep nvidia-340 | awk '{print $3}'); do dpkg-divert --remove $FILE; done22:37
Aavarlagunalorre: I dont understand what you mean. Should I copy to a file instead from disk to disk?22:40
lagunalorreAavar...yes you make a compressed file backup for your smaller destination drive which needs to be mounted even though you don't mount the source22:41
lagunalorreAavar...you lose the simplicity and purity of dd because you did not get an adequate size backup drive22:42
lagunalorreAavar...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 drive22:43
morgan-usbNew wrinkle: I booted from live media. Can I get permission to write on my hard drive?22:49
morgan-usbI know the PW oc.22:50
Aavarlagunalorre: 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:51
lagunalorreAavar...you need to look  at the settings options very carefully and make a note of which options you check off....22:52
lagunalorreAavar...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 issues22:53
Aavarok, I'll try that :)22:54
lagunalorreAavar..but i suggest you defrag your partition several times before you try to shrink it so you don't lose outlying data22:54
lagunalorreAavar..if you are using ext4...then you can use e2defrag on it several times22:55
lagunalorreAavar before you shrink it..the goal is to get all your data inside the range of the shrinked partition22:56
lagunalorreAavar on ubuntu it might be called e4defrag these days22:58
=== scoobydoo_ is now known as scoobydoo
Pasgagnan idea  pls to cancel this command for FILE in $(dpkg-divert --list | grep nvidia-340 | awk '{print $3}'); do dpkg-divert --remove $FILE; done22:59
oerheksPasgagn, meanwhile that command has finished by now.23:01
Aavarlagunalorre: How long will that take for a 250GB sata sdd you think?23:02
lagunalorreAavar..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 fact23:03
Aavarlagunalorre: tnx :)23:03
oerheksone 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
Pasgagnoerheks My system only works with nvidia-340 and I can't reinstall due to the diversion. old computer23:04
AavarI have time, was just wondering if I should go to bed :D23:04
lagunalorreAavar 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 simplicity23:04
oerheksPasgagn, please explain why you remove it?23:04
Imacathi23:05
=== scoobydoo_ is now known as scoobydoo
Aavarlagunalorre: 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
Aavareven if the drive was smaller?23:07
Aavar(I am not planning to do this, just wondering)23:07
lagunalorreAavar..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 is23:08
lagunalorredefrag it first23:08
lagunalorreAavar or you can use the clonezilla compression schemes onto a live partition23:09
lagunalorreAavar and risk compression errors23:10
Pasgagnit'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 error23:11
Pasgagnlibnvidia depends on libnvidia-compute 515 so I made the diversion23:11
oerheksour 340 driver is a transit to nouveau. and higher numbers from libnvidia might not work with 340?23:13
Aavarlagunalorre: Thank you. Good night :)23:14
lagunalorreAavar ok just let it defrag a couple of times before you try to shrink it23:14
Pasgagnoerheks nvidia 340 est le dernier pilote pour une gt 335 m23:16
Pasgagnoerheks nvidia 340 is the latest driver for a gt 335 m23:17
oerheksPasgagn, yes, but is in reality nouveau.23:17
oerhekshttps://launchpad.net/ubuntu/+source/nvidia-graphics-drivers-34023:17
oerheksso i wonder how did your cuda work?23:18
ravish99Hey 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 script23:25
ravish99can't work out what caused it and how to free up the space23:25
ravish99had a look at logs and tried removing somethings but no luck23:25
oerhekstry #ansible ?23:27
ravish99hmm im not sure if ansible is the root cause, its just the last thing i ran23:27
sysRPLi just installed and formatted this drive, but it looks like it's using 12gb ... why?? $df -h ... /dev/nvme0n1p1  234G   28K  222G   1% /media/storage23:27
ravish99but why not23:27
sysRPLwhere did 5% of my disk space go?23:28
oerhekssysRPL, reserved by ext4 i guess.23:29
Bashing-omsysRPL: 5% is taken for drive housekeeping.23:29
sysRPLBashing-om, would ext3 reclaim that?23:30
oerhekswith disk problems it wants some clean unused space to copy23: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
oerheksext3 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:30
sysRPLi used the graphical "disks" utility and selected ext423:31
oerheks12/250 is plausible23:31
sysRPLthis fixed it ... $ sudo tune2fs -m 1 /dev/nvme0n1p123:36
sysRPLthank you23:36
sysRPLnow only 2.6GB is reserved23:37
morgan-usbHuzzah, 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 a23:38
morgan-usblongstanding question of mine.)23:38
Pasgagnoerheks i  delete all the file with diversion i am sick ;)  )  nvidia 340 is on the way23:40
sarnoldmorgan-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 disk23:42
=== BrianG61UK_ is now known as BrianG61UK

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