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

=== Ricardus_ is now known as Ricardus
=== j2bv17 is now known as j2bv16
=== M4he is now known as mahe
linsuxhttps://imgur.com/a/PYlHEcy01:51
linsuxlooks like system is dead01:52
linsuxcannot update anymore01:52
linsuxany help?01:59
Bashing-omlinsux: lvm2...socket is masked - maybe try and unmask it ? >> "A "mask" makes the service un-startable until you "unmask" it:".01:59
linsuxi don't even use lvm202:02
CloudUseris this official02:07
Bashing-om!support | CloudUser02:08
ubottuCloudUser: The official ubuntu support channel is #ubuntu. Also see http://ubuntu.com/support and http://ubuntuforums.org and http://askubuntu.com02:08
CloudUsercan the default ubuntu arm64 install do IPv6 Router Solicit02:11
CloudUserpretty much without NetworkMananger maybe nm-cli02:12
CloudUserhi DarkKnight000702:15
DarkKnight0007hi02:16
CloudUserhi gregl are you intercepting all networks and converting it to graphics02:16
CloudUserDarkKnight0007: what brings you here? I as usual the only with legitimate conscerns02:18
CloudUserand then a bunch of clowns follow me everywhere to look for exploits02:18
CloudUserjust look at the channel 1009 members with no legitimate support requeats but I will get accused in a moment for simply doing what is expected02:19
=== genii is now known as genii-core
CloudUserit's like a killer chicken-coop02:20
krytarikCloudUser: I'd appreciate if you cut it out.02:20
DarkKnight0007CloudUser: i am an ubuntu user, just wandering around02:20
CloudUsersee there krytarik strutting his beak02:24
CloudUserhe is a manager!02:24
CloudUseran official biznizz manager "dis be a biznizz" we call police02:25
CloudUserkrytarik: gobble gobble02:25
boblamontHow much hard drive space do I have to alott to install Lubuntu 20.04?04:29
boblamontThe only additional programs I'd be installing are nginx, icecast and butt (broadcast using this tool) (all of which take up a relatively small amount of space).04:30
vaginaldischargeboblamont: how are you?04:31
tomreynboblamont: probably around 10 GB. but if you'll be broadcasting this data will probably need to be stored somehwere, too - i assume you thought about that?04:31
boblamonttomreyn: What data do you mean?04:32
tomreynboblamont: icecast and (i don't know it, but based on what you write) butt are steaming tools. to stream content / media, that will need to come from somewhere, unless you'll produce it all live.04:33
vaginaldischargeis boblamont still mad?04:34
boblamonttomreyn: ok, that's what I thought you meant. No, it is sourced live through the sound input.04:35
boblamonttomreyn: But it does archive to file, which is why I want to make the system partition as small as needed, so I can have those store to a separate partition.04:35
boblamontThey ran into trouble before of not paying attention and letting the files fill the drive to the point it wouldn't boot.04:36
boblamontvaginaldischarge: still mad?04:36
tomreynboblamont: oh okay well then it you will probably be fine with 10 GB, maybe a bit less even. if you put everything on LVM, you will be able to resize file systems easier later on.04:36
vaginaldischargewell, you were quite furious yesterday04:38
tomreynvaginaldischarge: please keep it on topic here, ubuntu support. there's #ubuntu-offtopic also (the guidelines linked in /topic apply there as well)04:39
vaginaldischargetomreyn: i understand that but i need to get my money back04:40
boblamonttomreyn: Thanks, I appreciate it. I have around 15-20 GB free, so looks like I'll be able to install soon without having to toss anything.04:43
=== denningsrogue8 is now known as denningsrogue
=== Hash is now known as LordOfThePings
=== LordOfThePings is now known as EnchanterTim
=== denningsrogue5 is now known as denningsrogue
=== gacuxz1 is now known as gacuxz
russell--ohai, i'm having trouble with ubuntu 20.04.3 lts install on a lenovo yoga 2 pro, where the backlight is fluctuating by itself. watching /sys/class/backlight/intel_backlight/brightness it fluctuates without me doing anything.05:42
russell--176, then 278, then 176 again, wtf?05:44
=== kudan_ is now known as kudan
zappa35May i ask a question?06:35
=== xenial is now known as Guest1725
EriC^^sure zappa3506:41
zappa35I have noticed a new app on my ubuntu 21.04 desktop. it is called Software and does the same thing as the Ubuntu Software app. Is there some error or perhaps malware?06:44
zappa35i had upgraded from 20.04 about a week ago and just see this new app today06:45
EriC^^zappa35: you mean it's on your desktop?06:54
zappa35it is in the app menu and the icon is a blue breifcase with a menu icon in the center06:55
EriC^^sounds right zappa3507:07
EriC^^i've the same one, on 20.04 though07:07
zappa35ok, thank you.07:09
EriC^^no problem\07:09
zappa35is it normal to have both the software app and ubuntu software app?07:09
=== oihan is now known as o1h4n
zappa35perhaps a result of upgrading and one didnt auto remove?07:10
suteriIs there a method nowadays to reset X (gdm) config? ON Ubuntu-20.07:20
=== robert_ is now known as Daulity
Daulityhey all07:26
Daulitygot another question07:26
Daulitynetwork related07:26
zappa35suteri, in a terminal type this to reset: dconf reset -f /org/gnome/07:26
Daulitywe have been noticing that on our embedded linux which runs ubuntu setting up network is slow that is at boot it takes a fair while for network interfaces to come up07:27
Daulityany suggestions?07:27
Daulitywe use networkd to setup the network interfaces07:29
Daulitywe have three interfaces eth0 eth1 and can0 could it be that networkd initializes each interface one at a time?07:30
=== xenial is now known as Guest7809
=== dtomato6 is now known as dtomato
=== terrorjack4 is now known as terrorjack
=== subfj__ is now known as subfj_
=== shokohsc88 is now known as shokohsc8
=== steam_ is now known as steam
=== akaWolf1_ is now known as akaWolf
=== stanglavine3 is now known as stanglavine
=== Sayona_ is now known as Sayona
=== echelon is now known as ops
=== PowaBanga_ is now known as PowaBanga
=== polve2 is now known as polve
=== redstarcomrade_ is now known as redstarcomrade
=== jmiahjones9 is now known as jmiahjones
=== stevenxl_ is now known as stevenxl
=== kiska1 is now known as kiska
=== kantlive- is now known as kantlivelong
=== mauved_ is now known as mauved
=== RaGE_Syria1 is now known as RaGE_Syria
arnavhi07:32
arnavis wine performance at per with native code07:32
arnavor slower07:32
=== anderson_ is now known as anderson
arnav?07:32
=== coetzeer_ is now known as coetzeer
Daulityarnav: mostely slower sometimes but not often faster or equal07:35
ducassesuteri: the x config is generated on each startup of an x sesion07:38
=== xenial is now known as Guest2054
suterizappa35, ducasse: thanks07:45
suteriducasse: Do you know if there is a way to "reset" gdm somehow, due to not starting while it previously has?07:46
ducassenot really, try purging and reinstalling the package or try another dm07:47
suteriducasse: Ok, thanks.07:57
=== diskin_ is now known as diskin
=== mynick2 is now known as yuta
=== tabakhase__ is now known as tabakhase
=== hjeldin1 is now known as hjeldin
=== waveform_ is now known as waveform
=== kenzie0 is now known as kenzie
=== mybalzit1h is now known as mybalzitch
=== lotuspsychje_ is now known as lotuspsychje
clarkkCould someone please tell me how to completely disable kcompactd0?  It's causing my vmware guest to run at 100% to 300%.  I've already added "@reboot echo never > /sys/kernel/mm/transparent_hugepage/defrag" to the root's crontab09:46
TJ-clarkk: use sysctl for setting such nodes, not cron (add a file in /etc/sysctl.d/ )10:02
clarkkTJ-, thanks - I'll try it10:35
clarkkTJ-, I have done that now (created a systemd service).  It has the same effect as adding the command to the crontab, which is "always defer defer+madvise madvise [never]" contained in /sys/kernel/mm/transparent_hugepage/defrag, but I'll see if it makes a difference.  Just to confirm, This _is_ the correct way to disable kcompactd0, isn't it?10:51
clarkkit still seems to be running. ps reveals,   root          66       2  0 11:45 ?        00:00:00 [kcompactd0]10:52
TJ-clarkk: why did you create a systemd service? there is no need, just a file in /etc/sysctl.d/ which is applied on start by systemd-sysctl.service. As to [kcompact0] that's a kernel thread. Are you sure its prescence isn't expected regardless of the setting - doesn't mean it is actually doing anything10:54
clarkkTJ-, I'm pretty sure that it's causing the problem because it's compacting large vmware files10:55
Testing/join11:01
Testing/join wildcult11:03
Testinghello11:03
nunya I'm having problems with volume osd not showing percentage. The upper part of the osd is working The line that shows volume percentage below isn't https://paste.ubuntu.com/p/v2bsjJpc5H/ I have googled and found how to disable, change position, but found no results for my problem, please help11:05
TJ-clarkk: according to source-code comments if you need to set "never" there's a big problem and the kernel dev's would like to know about it. However, looks like there's two ways to set degrag, one via sysfs and the other via sysctl. Wondering if there's some difference in which you trigger11:07
clarkkmine is just a default installation. The issue has been reported before11:09
TJ-clarkk: ahh, my mistake, the kernel code confusing refers to /proc/sys/ as SYSFS !11:10
=== EnchanterTim is now known as Hash
clarkkTJ-, "a file in /etc/sysctl.d/ which is applied on start by systemd-sysctl.service."   Could you point me to some instructions. I could only find some about making it a service11:14
clarkkalso, can the option be set using this method, rather than using echo?   https://www.systutorials.com/docs/linux/man/5-sysctl.d/11:15
clarkkif so, what would the parameter be for /sys/kernel/mm/transparent_hugepage/defrag  ?11:16
TJ-clarkk: actually, ignore me! I totally misread your original report and for some reason imagined the target path was /proc/sys/kernel DOH!. In which case obviously sysctl is not going to help!11:17
clarkkwould the key for sys.kernel.mm.transparent_hugepage.defrag  be  defrag.transparent_hugepage.mm.kernel.sys ?11:17
clarkkok so the above won't work?11:18
clarkkso have I done it correctly?11:18
clarkkby creating a systemd service?11:18
TJ-clarkk: it's one way. My brain is obviously misfiring today but I do recall there is a 'standardised' way to write to the sysfs nodes at boot-time. I /think/ it may be via a udev rule11:22
TJ-clarkk: aha! got it11:25
TJ-!info sysfsutils | clarkk11:25
ubottuclarkk: sysfsutils (2.1.0+repack-7build1, hirsute): sysfs query tool and boot-time setup. In component main, is extra. Built by sysfsutils. Size 14 kB / 57 kB11:25
TJ-clarkk: in summary, that reads its /etc/sysfsutils.conf and applies settings from that11:26
TJ-clarkk: OK, so it creates a parts directory /etc/sysfs.d/ where you can drop a file which is read on startup by /etc/init.d/sysfsutils (which is activated by systemd - see "systemctl status sysfsutils")11:29
TJ-clarkk: examples are in the comments in /etc/sysfs.conf11:29
=== tebruno998 is now known as tebruno99
clarkkTJ-, When I run systemctl status sysfsutils, I get the error,  Unit sysfsutils.service could not be found.12:08
clarkkthere's no sysfs.conf file12:08
clarkkI'm on Ubuntu 20.04, btw12:08
TJ-clarkk: you need to /install/ the package!12:09
TJ-!info sysfsutils | clarkk12:09
ubottuclarkk: sysfsutils (2.1.0+repack-7build1, hirsute): sysfs query tool and boot-time setup. In component main, is extra. Built by sysfsutils. Size 14 kB / 57 kB12:09
clarkkTJ-, this is interesting, but is this necessary?  Will what I've done work as it is?  I'm really pushed for time12:11
TJ-clarkk: well, it is designed for the job12:11
TJ-clarkk: as it is you've got a one off; with sysfsutils you've a service that can be replicated to any systems in the future12:12
clarkkrealistically, I'm not going to roll out any other systems12:12
clarkkkcompactd0 does still seem to be running, tho, despite having never in that file12:13
TJ-clarkk: it's a kernel thread, it will12:13
TJ-clarkk: are you seeing it showing load though?12:14
clarkknot at the moment12:16
clarkkThanks for your hep TJ- I'll keep an eye on it12:20
=== blackest_mamba_ is now known as blackest_mamba
=== saribro is now known as swinnenb
=== genii-core is now known as genii
thelounge3212Can someone help? https://i.imgur.com/Pg9FdWJ.png - this is on a VPS, I have no physical server access. There is a rescue mode though on the control panel (SolusVM).15:26
thelounge3212I can't remotely SSH to my server anymore. Only VNC access works. But that's all it shows. I am lost.15:27
TJ-thelounge3212: as I said in #debian.OFTC it looks like there is no boot storage device attached to the guest15:27
thelounge3212Is this able to be fixed via rescue mode?15:28
TJ-thelounge3212: I doubt it since it is something controlled by the hypervisor configuration tooling15:28
thelounge3212Best bet is to just ticket the host then?15:29
TJ-thelounge3212: well that, or investigate how to reconnect storage to the guest profile15:29
thelounge3212hmm i see.15:30
=== px_ is now known as px
russell--ohai, i'm having trouble with ubuntu 20.04.3 lts install on a lenovo yoga 2 pro, where the backlight is fluctuating by itself. watching /sys/class/backlight/intel_backlight/brightness it fluctuates without me doing anything.16:02
lotuspsychjeis that on 5.11 kernel russell-- ?16:04
lotuspsychjerussell--: share your dmesg in a pastebin if you like, volunteers will have a deeper look into it for you16:05
Ronalds_Mazitis_how do I set default shotcut template to use 100% quality settings16:15
Ronalds_Mazitis_this software is obviously made with flaws by design16:15
=== Marbug3 is now known as Marbug
=== Poster` is now known as Poster
=== M4he is now known as mahe
lotuspsychjeRonalds_Mazitis_: are you using snap or apt version?16:17
Ronalds_Mazitis_apt16:19
Ronalds_Mazitis_I have to change settings every time I want to render16:19
Ronalds_Mazitis_it takes too much time16:19
russell--lotuspsychje: http://sprunge.us/4eaiep16:20
leftyfbRonalds_Mazitis_: isn't this a question for the shotcut documentation? It's very application usage specific16:20
Ronalds_Mazitis_there is no settings16:20
Ronalds_Mazitis_this is crap16:20
Ronalds_Mazitis_flaw16:20
Ronalds_Mazitis_a design mistake16:20
lotuspsychjerussell--: any reason you are using 5.14? did you test this on 20.04 default kernel or its HWE?16:21
russell--yes16:21
leftyfbRonalds_Mazitis_: https://forum.shotcut.org/c/bug/616:22
TheGuestMovieHi. I'd like to list the files that can be found in the packages of a PPA, because I'm looking for something specific and I'm not sure which package it's in (if it's there at all). apt-file only seems to show the contents of official Ubuntu packages, not PPAs. Is there a convenient way to achieve this?16:22
lotuspsychjerussell--: fluctuates on all kernels?16:22
russell--yep16:22
Ronalds_Mazitis_video editing software creators are mentally ill16:23
Ronalds_Mazitis_so does yall16:23
leftyfbRonalds_Mazitis_: feel free to rant in #ubunut-offtopic16:23
leftyfbsorry, #ubuntu-offtopic16:23
lotuspsychjerussell--: ideapad_acpi VPC2004:00: Keyboard backlight control not available in your dmesg16:24
lotuspsychjerussell--: https://askubuntu.com/questions/1336224/lenovo-legion-7-16achg6-2021-backlight-brightness-control-problem16:27
lotuspsychjecheck that second answer, see if you can reproduce16:27
russell--i can control it from keyboard fine16:29
russell--http://sprunge.us/Qr1aQu for the ubuntu hwe kernel16:29
lotuspsychjerussell--: i915 0000:00:02.0: [drm] Panel advertises DPCD backlight support, but VBT disagrees. If your backlight controls don't work try booting with i915.enable_dpcd_backlight=1. If your machine needs this, please file a _new_ bug report on drm/i915, see https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs for details.16:32
russell--the backlight controls *do* work. but something is auto-adjusting the backlight in an annoying way16:33
lotuspsychjerussell--: can you describe it, is it constant flickering or what happens exactly?16:34
russell--every few seconds the brightness adjusts in a ~10% setup up, then a few seconds later, back down16:35
russell--seems worse when there is lots of white on the screen16:35
lotuspsychjethats a weird one16:35
russell--watching the brightness value in sysfs, i can see it changing16:36
lotuspsychjerussell--: could you try a hibernate and back to desktop, see if it influences?16:37
rfmkind of sounds like some ambient-light adaptation "feature" triggering off the screen light itself.  russell-- , have you looked in the bios for some way to disable adaptive brightness?16:38
lotuspsychjerussell--: seems like this user also has it, https://github.com/jrandiny/yoga-slim7-ubuntu/issues/116:38
ubottuIssue 1 in jrandiny/yoga-slim7-ubuntu "20.04.1 with kernel 5.8: brightness not persistent" [Closed]16:38
=== Apachez- is now known as Apachez
russell--fwiw, i was, prior to 20.04 running 16.04 on this box with the same BIOS and not seeing this problem16:47
russell--where *is* the auto-brightness setting?16:48
ravagerussell--: tried the HWE kernel?16:49
ravageoh sorry. i didnt get the full conversation. was already mentioned16:50
russell--ravage: yes16:50
russell--it does seem better after a suspend/resume16:54
lotuspsychjerussell--: i think this would deserve a new/existing bug if it was once working on earlier kernel16:55
russell--going to try from a cold boot again16:55
* russell-- has been unable to locate a setting for auto-adjustment, not sure even what might be responsible16:56
lotuspsychjerussell--: try dconf-editor and type brightness for keyword16:58
rfmrussell--, I found a web post that suggests its in Settings>Power:  https://itsfoss.com/automatic-brightness-ubuntu/16:59
rfmrussell--, I don't see it there, but then I'm not running on a laptop..17:00
russell--rfm: yes, found it there17:02
GrandPa-GIf a person wants to give me ssh access via passphrase/certficate and I use PUTTY, what do I have to do to login?17:18
TortillaSandwichGrandPa-G: I don't use putty much but in the settings theres an authentication section somewhere, where you pass off the certificate/pem key17:20
TortillaSandwichGrandPa-G: https://devops.ionos.com/tutorials/use-ssh-keys-with-putty-on-windows/17:21
GrandPa-GTortillaSandwich, Ok, I know how to do that, but what makes server know my pem key is ok?17:22
TortillaSandwichiirc you use puttygen to convert it to a ppk, which that site seems to cover, then you attach the ppk to auth on the session and it'll pass it off at connect similar to how using rsa keys from a terminal will17:23
TortillaSandwichGrandPa-G: the server needs a list of authorized keys, to answer that second question17:24
GrandPa-GTortillaSandwich, so I have to give my public key to the server admin for them to do some magic?17:25
TortillaSandwichGrandPa-G: generally yes, if you're making a new RSA key you need to provide the admin with the public key so it can be added to teh authorized_keys file17:25
TortillaSandwichyou can remote upload one if the machine takes password authentication17:26
TortillaSandwichif it does not, then provide the key to the admin17:26
GrandPa-GTortillaSandwich, that is what I thought. I don't think they understand, but I will educate them. Also, is a TortillaSandwich a tortillay between 2 slices of white bread?17:26
TortillaSandwichI feel any food container that consists of bread is a sandwich. Whether you fold it, roll it, or place items between it. It's the delivery mechanism, not the content.17:27
Eickmeyer!ot17:28
ubottu#ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks!17:28
=== JanC_ is now known as JanC
EtuaHello, I'am using Ubuntu Focal and would like to use Golang 1.17. AFAIK there is no Golang package in focal-backports. Is there a smarter way to install it than to manually retrieve tar.gz from golang.org?18:04
leftyfbEtua: is 1.17 critical for you over the 1.16 that is available?18:06
syphyrEtua, I would suggest just d/l the tar.gz and setup proper ENV variables18:09
syphyrgolang updates way too often to mess with packages18:09
Etualeftyfb: I have it listed in the dependencies which were created with debian-backports in mind so it can either be that this specific version and not 1.16 is available there and the author chose to be consistent in downloading all the dependencies from backports or it really is important. Frankly I would need to test whether 1.16 would break but is it that easier to download it in comparison to 1.17?18:10
leftyfbEtua: 1.16 is available in ubuntu 20.04. 1.17 is not18:11
leftyfbEtua: 1.16 is part of the universe repo, not in ubuntu-backports18:12
Etualeftylib syphyr: Thank you, for now I will test the setup with 1.16 and will need to experiment with ENV variables if that fails. Frankly I never had a need to do that, do you have any recommended source on how to do it right?18:15
ograEtua, snap install go ... gets you 1.17.2 (maintainer is the same as for the deb in the archive)18:15
Etuaogra: Thank you, although I am not a fan of Snap I will check this option first.18:16
ograwell, in fact "snap install go --classic" given irt is a compiler 🙂18:16
syphyrEtua, look at this: https://github.com/syphyr/dnscrypt-proxy/commit/8651725ed592d5fc697b191f563ad6d6d35c5fce18:19
ubottuCommit 8651725 in syphyr/dnscrypt-proxy "debian: Build with external go package"18:19
syphyrgolang does not need to be "installed", just extracted anywhere and put into the PATH18:20
syphyrso you dont really need any packages for it18:20
leftyfbsyphyr: some people like their packages managed18:21
syphyryah so do i18:21
syphyrbut this is not messy18:21
leftyfbsyphyr: having a package installed is messy?18:21
syphyrno, packages are the best way of course18:22
syphyrbut if something just needs to be extracted to any directory, its pretty easy to cleanup18:22
leftyfbsyphyr: tarballs are messy18:22
syphyrthey can be18:23
EtuaI will take the other options into account. For now I have installed a Snap and unfortunately I will need to log off for a while. Thank you all for your help.18:25
syphyrthe biggest issue with using a tarbal with golang is missing the debhelper dependency18:28
syphyrthere are ways to just remove that dependency, but better if you dont need to18:28
=== ubuntu is now known as Guest5785
SergeyITtest18:48
adziseyes18:49
=== TheMaster is now known as Unit193
leftyfbSergeyIT: this is not the place to test your IRC client18:52
SergeyITI understand... but can't write to #ubuntu-ru - "Cannot send to nick/channel" ((18:57
leftyfbSergeyIT: there is an almost unlimited amount of channels you can join or create to do your IRC client testing. Please not here19:00
SergeyITanderx, why I can't write to #ubuntu-ru ? "Cannot send to nick/channel"19:13
summonnertry joining first19:15
sarnoldSergeyIT: you probably need to register your nickname with nickserv first19:15
sarnoldheh it's even in the channel topic ) "Зарегистрируйте свой никнейм для того чтобы общаться на канале: /msg ubuntuhelp !nick "  )19:18
HornetAllo - any idea what would prevent me from formatting a harddrive? Gparted is unable to, and 'disks' gives a nonsense message about 'mac'19:18
Hornet"don't know how to create partitions this partition table of type 'mac' (udisks-error-quark, 0)" and yes that IS what it says19:19
summonnerHornet, you likely need to change the partition type first19:20
summonnerdelete all existing partitions on the disk, apply/confirm and then try creating a new disk. typically ext419:21
summonneryou will lose all data on the disk19:21
SergeyITsarnold, нет ubuntuhelp ни там, ни на этом канале19:21
Hornetthereis no data, it's all free/unallocated19:21
Hornetaltough gparted sees a tiny 3.5kb partition that it can't resize or do anything with.19:22
Hornetif I delete it I can't make more19:22
Hornet'it is not possible to create more than 0 primary partitions'19:22
Hornet@summ19:22
Hornetsummonner19:23
Hornet(browser irc is tricky)19:23
ravageHornet: try wipefs -a /dev/sdx19:24
ravagethat should remove anything from that drive19:24
Hornet@/dev/sdf: 2 bytes were erased at offset 0x00000000 (mac): 45 52@19:25
Hornetno idea what that was but it cleaned it, thanks.19:25
Hornetsecondary issue, and why I'm trying to do this .... my main PC has 'broken', cannot see hard drive at all.19:26
sarnoldravage: oh that's handy19:26
Hornetis there a better MO than ddrescue ?19:26
Hornetno idea what happened, last time it did this it ate the FAT and I had to scavenge everything manually19:26
Hornetgetting a new drive this time, but there were no failure signs, so I suspect software19:27
summonnerHornet,   this is a very good document running through using gparted in different scenarios   https://www.dedoimedo.com/computers/gparted.html19:27
Hornetthanks, I know how to use it mostly, I just couldn't get it to actually start doing so :)19:28
Hornetas soon as the mac tag was purged it was fine19:28
Hornetso, yes, main drive is an SSD. I'm going to back up with ddrescue first but is there anything magic that might 'just fix' it? or scans I should run to find out?19:29
ravagehow can you do ddrescue on a drive thats not recognized anymore?19:32
leftyfbravage: you don't19:32
Hornetwindows can't see it, linux probably can19:33
ravageok. that's what i thought. off-topic land :)19:33
Hornetnot if recovery is via linux19:33
Hornetit's a dual boot system19:33
ravageyou can probaly check the health status of your SSD with a tool from your vendor19:34
Hornetnow that I've made a batch of usb sticks I'll fiddle around and see shortly, was getting an external drive usable first19:35
tomreynonly if the device is detected in the first place19:35
ravagein general SSDs work fine or fail completely.19:35
Hornetlast time the FAT was 'gone' for some reason19:36
HornetI assumed write failure due to software19:36
Hornetthis time I'm just replacing it19:36
ravagegodo luck :)19:36
ravage*good19:36
Hornetthanks. far too tired & stressed for this tbh19:36
Hornetbut need PC up again asap19:37
Hornetback in a while probably, need to switch rooms with this usb stick so that means going from here (live environment on different pc)19:39
Hornetwill let you know what it can see, or not19:39
=== Nitrousoxide_ is now known as Nitrousoxide
=== Marbug3 is now known as Marbug
Hornetas expected, it's seen by linux. but it can't mount it19:45
Hornetwait what, it can't mount the two physical drives either19:47
tomreynlinux detects storage media on a bus, interprets a partition table, if any, and if instructed to do so, will try to mount a file system. but those are really separate things. which of them seems to be failing?19:49
Hornetimmediately, trying to just use the 'computer' to browse the disks as normal, one of the SSDs in here is fine19:51
Hornetthe other one, which is the main boot and the one that failed, won't do that. But nor will two other drives in here19:51
Hornetand they are usually fine19:51
Hornetreally really worried19:51
Hornetterrabytes of data of those19:51
Hornetone of them IS the back up drive for some of the other19:52
Hornetin gparted, right-clicking the 'ntfs' partition on one of those has the 'mount' option greyed out19:53
Hornetthe main SSD is showing as 'unknown partition',which might mean the FAT died again somehow19:54
tomreyni'd rather try to examine this on a terminal, if that's an option for you.   dmesg   should list which storage devices were detected.19:54
Hornetmaybe the others can't mount as it wasn't a clean shutdown?19:54
tomreynunclean shutdown would possibly cause file systems to not get unmounted, which could mean they're now in need of file system recovery19:55
Hornetthat's probably/hopefully what that is yes.19:56
tomreynare those sata or pci ssds? does   lsblk   list all of the partitons?19:57
Hornetsata, and looks it, fdisk too19:58
HornetDisk model: KINGSTON SA400S320:00
Hornet /dev/sdb1        2048 468858879 468856832 223.6G  7 HPFS/NTFS/exFAT20:01
Hornetthat's the errant one20:01
tomreynthat's a partition, not a disk20:02
tomreynfdisk -l /dev/sdb     should tell how it's partitioned / which partition table is in use20:02
Hornetit's the only partition on Disk /dev/sdb: 223.58 GiB, 240057409536 bytes, 468862128 sectors20:02
Hornethttps://termbin.com/f8on20:03
tomreyna more reliable / safe way to work with disks is to refer to them by-id, as in one of those:   ls /dev/disk/by-id/ata-* | grep -v 'part[0-9]*$'20:05
tomreyn"Disklabel type: dos", this is a classic dos/mbr partition table20:05
Hornet /dev/disk/by-id/ata-KINGSTON_SA400S37240G_50026B76822E1A3A in that case20:06
Hornetis there a way to mount / check the ntfs drives anyway? obviously I can't use windows, and I need to get access to those drives to recover stuff20:06
tomreynwhich file system is on its first partition? sudo file -s /dev/disk/by-id/ata-KINGSTON_SA400S37240G_50026B76822E1A3A-part120:07
Hornetsymbolic link to ../../sdb120:07
tomreynwhich file system is on its first partition?    sudo file -Ls /dev/disk/by-id/ata-KINGSTON_SA400S37240G_50026B76822E1A3A-part120:08
tomreynoops sorry forgot that L20:08
Hornet'data'20:08
tomreynif it's ntfs, then there's only partial support for integrity checks on linux so far. there is "ntfsfix" for this purpose.20:08
tomreynwhat does this print?   sudo mount /dev/disk/by-id/ata-KINGSTON_SA400S37240G_50026B76822E1A3A-part1 /mnt20:09
tomreynit attempts to access the file system and to make it available at /mnt20:10
Hornetmount: /mnt: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.20:11
tomreynso the file system can't be detected, which suggests it's probably not NTFS, or not anymore.20:11
tomreynwhich ubuntu release are you running? lsb_release -ds20:11
Hornetmint 20.220:12
tomreynwrong chat, bye20:12
Hornetit's what I had to hand, I can use actual ubuntu if it helps?20:13
Hornetbut I thought for this it'd be the same20:13
Hornetis there a difference then?20:13
tomreynusing ubuntu would not help us, but would help you get help here.20:13
HornetI could understand that if the issue were related to high level stuff in linux, I thought they were the same for this though20:15
tomreynthat is, any supported ubuntu version (as listed on the topic of this channel, called #ubuntu)20:15
HornetI just used what I had to hand, my system is pooched remember20:15
Hornetif you need me to go and make an ubuntu usb stick just to tick a box I can but I don't see how it's remotely efficient or useful20:16
tomreynyou do what you like to, this channel supports ubuntu.20:16
tomreynthere are other channels, elsewhere20:16
Hornetsigh. that's pretty pedantic but if you insist then I will20:17
HornetI would understand if it actually changed anything20:17
tomreynit certainly does20:18
Hornetfor mounting drives? fedora would probably operate in the same way for this purpose20:20
Hornetanyway, back in a while20:20
SergeyITq20:36
ztanesnap </320:45
ztanewas wondering why a script using jq does not work... says permission denied when the file has perfectly good permissions.20:45
ztaneturns out jq was installed from... ..snap...20:45
ztane... and I wonder why it worked before :'D20:47
leftyfb"turns out jq was installed incorrectly from... ..snap..."   there, fixed it for you20:47
ztaneleftyfb: yes...20:47
ztanethank you for the correction20:47
ztaneI now know what snap stands for, it is the 2nd word in the interjection "oh snap"20:48
leftyfbztane: snaps being limited to what they can access is by design as a security feature. You can give it more access if you need to20:48
ztaneyes, it kind of does not make sense to install a random small command line utility that does not have access to what it needs to have access to20:49
leftyfbztane: Do you have an ubuntu support issue you need help with?20:50
ztaneyes I in fact have - how would I make the snap be allowed to access files in my home directory?20:51
leftyfbztane: sudo apt remove jq && sudo install --classic jq20:51
leftyfbug, sorry20:52
ztaneand if not classic?20:52
leftyfbztane: sudo snap remove jq && sudo snap install --classic jq20:52
ztaneya got that :P20:52
ravageis something wrong with jq from the ubuntu archives?20:52
leftyfbztane: I don't know off the top of my head, but someone in #snappy should be able to help you with it20:52
ztaneravage: I'm using the deb version now20:54
klausfiendi'm honestly not sure why someone would use a snap of jq instead of the traditional debian package.21:16
klausfiendi'm still waiting to be convinced of the benefits of snapd and friends vs. a competent configuration management system21:17
leftyfbklausfiend: feel free to discuss in #ubuntu-offtopic21:19
klausfiendleftyfb: nah, it's fine, i don't care about it _that_ much :-)21:20
ograklausfiend, Ubuntu Core, the embedded/IoT/robotics/industrial/automotive/medical Ubuntu only allows snaps to be installed ... some developers like to use their tools there as well 😉 (and the Non Ubuntu Core users get a distro independent package for free 😉 )21:25
Sven_vBhi :)21:35
Sven_vBIs there an easier way to check which commands are available in the "try ubuntu" focal live session, than booting it in a VM and trying?21:36
raubIn the Mac browser, safari, if you run it in incognito mode each tab does not seem to know of each other. For instance I can run 5 different slack instances with different accounts.21:36
raubIs there a Linux browser that does that?21:36
ograSven_vB, are yu looking for a particular command ? the Live session is essentially carrying a full default Ubuntu install21:37
Sven_vBraub, I prefer the Slack desktop client on linux. maybe firefox in private mode can do that as well. or you could just start several instances of firefox, albeit that might be a bit tricky to do.21:38
ograyeah, any browser that has an incognit👋private mode should be able to do that ...21:38
Sven_vBogra, I'm looking for something that can copy data between huge block devices and file, with progress bar and estimated time, so maybe gddrescue or pv21:39
raubWell, that means I can only have at best 2, to use the example I had, slack sessions21:39
raubIn Safari I usually run 5 and they do not try to use the user from the other one21:40
Sven_vBnot sure whether firefox private mode tabs can talk to each other21:40
raubThey can21:40
ograSven_vB, ah, well, you can install packages in live mode ... so just apt install gddrescue and you should be good21:40
raubI can close a tab that I had loggedinto a site and thenopen it again and then it still remembers the account21:40
ograraub, that would be a gross bug you should report !21:40
Sven_vBogra, do we have persistence back? or do you mean install them again each boot?21:41
ograprivat mode should surely not stre any cookies or allow tabs to spy on each other21:41
ograSven_vB, the latter 🙂21:41
ograi didnt understand you want this as a permanent solution ...21:42
raubogra, if you kill the entire window, it forgets. But not a tab21:42
Sven_vByeah sorry, I didn't mention that.21:42
ograthe shipped dd has a progress bar nowadays21:42
Sven_vBoh nice21:42
Sven_vBthanks :)21:42
ogradd if=/dev/urandom of=/dev/null status=progress21:43
ogralike that ...21:43
jwisbell35msg nickserv identify nupejem421:44
sarnoldoops21:44
leftyfbif they close the window real quick nobody will see their password ;)21:45
ogramsg nickserv identify ***********21:46
ograjust pick a clever password and nobody will see it 😉21:46
klausfiendogra: how extensive is that installation footprint vs. the millions of systems running Ubuntu server, though … shades of "systemd will solve every problem" "will it solve a sane way to hot-patch a kernel so i don't _have_ to restart my physical hardware?" "no, but just use it anyway"21:47
klausfiendin my field i have a very different set of problems that snapd does very little to help so the fact that i don't see any of its benefits should not be a surprise21:48
leftyfb"<klausfiend> leftyfb: nah, it's fine, i don't care about it _that_ much :-)"21:48
ograheh21:49
leftyfband actually, yes, "canonical-livepatch" is in fact a snap21:49
ograas is firefox with tomorrows Ubuntu release21:49
leftyfbugh, another non-LTS :)21:49
ograanyway ... we should better go to #ubuntu-discuss 🙂21:50
Sven_vBon my installed Ubuntu focal, the status=progress in dd only shows how much it has done and current speed, not relative progress or estimated time of arrival or estimated remaining time, even if the input device has a known size. do we have something with indication of remaining effort?21:50
Sven_vB(something that also ships on the live DVD)21:50
leftyfbSven_vB: look at pv21:51
leftyfbSven_vB: https://www.cyberciti.biz/faq/linux-unix-dd-command-show-progress-while-coping/21:51
Sven_vBleftyfb, pv would be ideal. does it ship on the live DVD?21:51
leftyfbSven_vB: no idea, I have no need to run anything off a live DVD21:52
geniiSven_vB: Before status=progress was added to dd I used a method which piped through pv21:52
geniiBut for the remaining etc you also have to plug into the the total bytes of the thing being copied21:53
Sven_vBI think the live DVD has some casper file that lists the name of all installed packages. I'll try and search that21:53
ograi dont think pv is preinstalled21:53
ograogra@acheron:~$ apt-cache show pv|grep tasks21:54
ograogra@acheron:~$21:54
ogranope ... ot in any task21:54
ogra*not21:54
geniiogra: Yeah, it's not part of base or such21:54
leftyfbSven_vB: why do you need this whole live environment again?21:54
Sven_vBleftyfb, I'm looking for a live DVD that I can recommend for disk imaging21:55
leftyfbSven_vB: define disk imaging21:56
Sven_vBleftyfb, raw copy block devices to files and files to block devices, with estimate about remaining time21:56
leftyfbSven_vB: for what purpose? What does the disk image come from?21:57
Sven_vBleftyfb, backup/restore of windows and its boot loader21:58
leftyfbSven_vB: for your own personal use? Pretty sure there are already made solutions for this sort of thing21:58
klausfiendleftyfb: ¯\_(ツ)_/¯22:00
Sven_vBback again22:01
leftyfbSven_vB: for your own personal use? Pretty sure there are already made solutions for this sort of thing22:01
Sven_vBI'm trying to guide a friend like "burn this DVD, boot from it, attach your external harddisk", then have them use gparted to set partition names to something not easily mistyped, and run commands using /dev/disk/by-partlabel.22:01
Sven_vBmy hope is that once we managed the gparted part, it will be easy enough for them to do on their own every month22:02
ograSven_vB, so you have to install gparted too ...22:02
leftyfbSven_vB: this can all be put into a single script, without the need for gparted or anything22:02
Sven_vBogra, does it no longer ship? I thought I had used it on the live DVD22:02
leftyfbogra: gparted is installed on the live image22:02
ograah, k22:02
* ogra hasnt had to use a live image in years 🙂22:03
leftyfbSven_vB: every month????22:03
leftyfbSven_vB: what in the world is this machine for?22:03
Sven_vBleftyfb, I have no idea what their partition table looks like, so I need a GUI tool that my friend can understand22:03
=== MickOfRivia is now known as mick
ogra$ apt-cache show gparted|grep Task22:03
ograTask: ubuntu-live, xubuntu-live, ubuntustudio-dvd-live, ubuntukylin-live, ubuntu-mate-live, ubuntu-budgie-live22:03
ograah, yeah22:03
Sven_vBleftyfb, it's a gaming PC. what backup intervals would you recommend instead, for Win 10?22:04
leftyfboh, to create an image22:04
Sven_vByeah22:05
leftyfbSven_vB: did you look at clonezilla?22:05
leftyfbSven_vB: again, I know for a fact there are multiple commercial and open solutions for this sort of thing22:05
Sven_vBhaven't checked, will do. :)22:06
ograwell, if you instruct them to use gparted you can as well add two lines to install gddrescue to the instructions22:06
Sven_vBogra, that would require setting up their wifi each time22:06
ogra"press ctrl+al+T type: sudo apt install gddrescue"22:07
ogra*alt22:07
ograyeah, indeed22:07
BerfiHi, I can't run GNU Solfege. If I start in terminal this is what I get: https://pastebin.com/raw/JkfTWmjQ22:22
=== genii is now known as genii-core
leftyfbBerfi: ( cat /etc/os-release ; apt-cache policy solfege ) | nc termbin.com 999922:24
Berfileftyfb, https://pastebin.com/raw/tZcxmBcD22:25
Berfihttps://pastebin.com/raw/66ttvsPv22:27
Berfileftyfb, https://termbin.com/98zk22:31
oerheksWhy running solfege as root?22:35
Berfioerheks, I've just tried it. Nothing special22:36
BerfiSorry about it.. Not connected to the issue22:36
oerheksyes, i think it is, and why starting from terminal?22:37
BerfiBecause if I click on the shortcut it doesn't do anything, so I had to see somthing22:38
oerhekshit f5? https://wiki.ubuntuusers.de/GNU_Solfege/22:40
oerheksnot sure it is properly ported to python322:41
oerhekslast version 3.22 is from 2013 ..22:43
=== ice is now known as madax
=== madax is now known as madmax
yolo_trying to get ethernet working on server, what's the relationship between network-manager and netplan on server with ubuntu-desktop added, who has higher priority22:54
yolo_i can manaully dhclient -i enp3s0, but lshw -class network showed enp3s0 is disabled by default22:54
Berfioerheks, Not even a Windows opens up22:56
ograyolo_, if you have NM installed you should use nmtui or nmcli to configure it ... IIRC N installs an override file into /etc/netplan to make itself the default renderer for network configs22:56
ogras/N/NM/22:57
leftyfbyolo_: why do you have a desktop added to a server?22:57
ogra"on server with ubuntu-desktop" ...22:57
ogra(so i was assuming "yes" 🙂 )22:58
leftyfbI didn't ask if, I asked why22:58
ograoops22:58
oerheksdisable systemd-networkd.service that uses on netplan.yaml22:58
ograme blind today ...22:58
darcksamayes, i use it for first time22:59
leftyfbmost of the time people do this for silly reasons like using gedit or file manager. It makes such a mess of a properly running server and adds overhead and complication22:59
darcksamathis group is about ubuntu?22:59
leftyfbdarcksama: this is an ubuntu support channel. If you have a support issue, feel free to ask for help. If you're just looking to chat, try #ubuntu-offtopic23:00
yolo_leftyfb: want to autoinstall ubuntu, hard to do with desktop, so I autoinstall the server then add ubuntu-desktop.23:00
darcksamathanks =) i use Hexchat for first time and i get an little lost, well now i can find me =)23:00
leftyfbyolo_: autoinstall?23:01
leftyfbdarcksama: type:   /join #ubuntu-offtopic23:01
yolo_as a test in virtualbox, ubuntu 20.04 server(or desktop) failed to install 99 out of 100, I made it installed by turning off network(still, most of the time it will fail to install)23:02
yolo_it's a long story, fair to say ubuntu 20.04 never liked virtualbox on ubuntu 20.0423:02
yolo_leftyfb: yes the goal is to let PXE to autoinstall server then add ubuntu-desktop, for like 100 of them, so auto-install is important23:03
leftyfbyolo_: Ubuntu 20.04 works fine as a guest within Virtualbox running on Ubuntu 2.04. Maybe you should be asking for help with a fresh install of ubuntu 20.04 desktop as a guest in Virtualbox instead of installing server and then the desktop packages and trying to fiddle your way through network settings23:03
yolo_leftyfb: agreed, 20.04 is the first time canonical doing autoinstall(cloud-init) on the server, desktop is not there yet, and ubuntu is moving away from preseeding, so it's a bit mess23:04
yolo_i have asked virtualbox+ubuntu20.04 and tried many times in the past, always aborted, except once out of like 2023:05
yolo_google says i'm not alone, but, no fix23:05
sarnoldwhat bug number?23:05
=== pjs_ is now known as pjs

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