/srv/irclogs.ubuntu.com/2021/12/08/#ubuntu.txt

BinarySaviori noticed pandas is taking forever to build wheel00:00
BinarySaviorcould it be because my gpu is not being used?00:01
BinarySaviori did lshw -C and it said my video card is unclaimed00:01
BinarySaviorit's using onboard card (on a laptop)00:01
BinarySaviorit's nvidia geforce gtx 1080 ti00:01
=== pizzaiolo is now known as pizza
ash_worksiin regards to getrlimit, what's a resource limit? like the number of users that can use a resource in parallel?00:16
ash_worksicontinuing to read the `man` it looks like the amount of memory a resource can consume00:18
ash_worksiI guess00:18
rfmash_worksi, it's the limit of how much of several resources a process may use.  The "ulimit -a" shell command will list them with names and current limits.00:43
DarkTrickAfter upgrade 21.04 -> 21.10 I can't update my system with error "systemd is not configured yet"01:14
DarkTrickhow can I "configure" systemd, then?01:14
sarnoldDarkTrick: try dpkg --configure -a   and see if that does the trick01:16
Bashing-omDarkTrick: Try ' sudo dpkg-reconfigure systemd ' .01:16
DarkTricksarnold, prints many errors01:17
DarkTrickBashing-om, systemd is broken or not fully installed01:17
DarkTrickFirst error with "-a" is installed systemd package post-installation script subprocess returned error exit status 12701:18
DarkTrickfull output of --configure -a: https://pastebin.com/AnVB5zJv01:18
Bashing-omsarnold: So next up is to show us in a pastebin the output of ' sudo apt update ; sudo apt upgrade '.01:18
Bashing-om!info systemd impish01:20
ubottusystemd (248.3-1ubuntu8, impish): system and service manager. In component main, is important. Built by systemd. Size 4,299 kB / 15,700 kB. (Only available for linux-any.)01:21
DarkTrickHm... apparently this is a problem: `systemd-machine-id-setup: error while loading shared libraries: libsystemd-shared-247.so`01:26
DarkTrickHow come it's not in the repos?01:26
sarnoldDarkTrick: because the ...-247 version comes from hirsute https://packages.ubuntu.com/hirsute/amd64/systemd/filelist -- impish will have a -248 version: https://packages.ubuntu.com/impish/amd64/systemd/filelist01:29
Bashing-omDarkTrick: Yukkie - it is ....248 that the kernel is looking for: https://packages.ubuntu.com/search?searchon=contents&keywords=libsystemd-shared&mode=filename&suite=impish&arch=any .01:29
DarkTrickso why would my system try to get 247?01:30
DarkTrickFrom what I see (almost no packages upgraded), it looks like the system hangs in a state between 21.04 and 10: some parts think they are 21.04 (systemd) and some parts think 21.1001:31
sarnoldhow did you start this upgrade?01:31
DarkTricksudo do-release-upgrade01:32
sarnoldokay, fear number one handled..01:32
DarkTrickbtw. `apt install libsystemd-shared` says "unable to locate"01:32
sarnoldyeah, that library is directly in the systemd package01:32
DarkTricksarnold, I tried GUI before, but that opened and then closed again without any information what was going on01:33
sarnoldas is the systemd-machine-id-setup command01:33
DarkTrickwhat's the best way to recover from this?01:33
Bashing-omDarkTrick: Might try ' sudo apt install --reinstall systemd ' ??01:34
DarkTrickBashing-om, "E: Internal Error, No file name for systemd:amd64"01:35
sarnoldow01:35
sarnoldDarkTrick: okay, how about ls -l /bin/systemd-machine-id-setup /usr/bin/systemd-machine-id-setup01:35
DarkTricksarnold, shows 2 files: /bin/systemd... and /usr/bin/systemd...01:35
sarnoldDarkTrick: are they exactly the same or are they different?01:36
sarnoldactually, ls -li would be better01:36
DarkTricksarnold, first number is size?01:36
DarkTrickthen they are diffferent01:36
DarkTrick /bin is 1709030, while /usr/bin is 87651301:37
DarkTrickalso... /usr/bin is from march this year, while /bin is from october01:37
DarkTrickmarch -> may01:38
sarnoldDarkTrick: I wonder if you're missing this symlink:01:38
sarnoldΒ± ls -ld /bin01:38
sarnoldlrwxrwxrwx 1 root root 7 Apr 10  2019 /bin -> usr/bin01:38
DarkTrick`ls -ld /bin` shows /bin as a directory, not symlink to usr/bin01:39
sarnoldman, this isn't going to be fun to untangle. I hate usrmerge so much.01:40
DarkTrickhow can this even happen?01:40
DarkTrickI can't remember manually playing around in that area :/01:40
sarnoldDarkTrick: so, I *think* the best route forward is going to be to edit /var/lib/dpkg/info/systemd.postinst by hand, find the line systemd-machine-id-setup, comment it out, and try the dpkg --configure -a  step again. there's a handful more systemd commands further on in that file :( it might still give trouble.. but this is a quick easy thing01:42
DarkTricksarnold, looks better01:44
DarkTricksarnold, still can't find libsystemd-shared, but other errors did not occur: https://pastebin.com/t2X4PgCh01:45
DarkTrickupgrade of packages starts now01:45
DarkTricksarnold, I guess in the long run, I should make /bin a symlink to /usr/bin ?01:46
=== conjo is now known as noj
sarnoldDarkTrick: here's a similar debian bug report .. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=945582  .. the advice there is a bit hard to convey..01:48
ubottuDebian bug 945582 in systemd "systemd: Upgrade fails due to missing library libsystemd-shared-241.so" [Important, Open]01:48
sarnold(And I don't know if the advice is valid for ubuntu, or still valid two years later!)01:49
nojhi all am having trouble getting a kindle to show up when connected via usb to a Ubuntu 21.10 desktop. tried different cords looking for trust settings on the kindle and different ports. Nothing show lsusb either01:50
sarnoldDarkTrick: can you file a bug on this, ubuntu-bug systemd -- I'm surprised this showed up like this..01:51
DarkTricksarnold, Could you take a look at this? https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1938065  Does it look like it's what's happened to me?01:59
ubottuLaunchpad bug 1938065 in systemd (Ubuntu) "systemd 248.3-1ubuntu2 fails to install (when upgrading 21.04->21.10)" [Undecided, Invalid]01:59
sarnoldDarkTrick: yeah, that looks pretty similar02:00
DarkTricksarnold, do you think the usrmerge command is save?02:00
sarnold"This was a byproduct of a incomplete usrmerge" indeed feels like my conclusion, or maybe "not started" or something similar..02:00
sarnoldDarkTrick: probably not, no02:00
DarkTricksarnold, what you said sounded like /bin should indeed be a symlink to /usr/bin (and according to the net, /lib -> /usr/lib as well). I.e. that was the problem in the first place? So I would guess this is going to hit me again at the next upgrade? So in the long run, I would have to run usrmerge at some point?02:05
sarnoldDarkTrick: I'm not sure -- I just don't know enough about all this. the advice in that debian bug is to hand-delete the 'wrong' executables, leftovers from the old systemd package, that weren't properly replaced by the upgrade02:08
sarnoldDarkTrick: but I don't know a fast way / good way / reliable way to do this. all I can think of is a very slow and frustrating manual check for all these things..02:08
DarkTricksarnold, At least my system seemed to have upgraded for now. Thank you very much for that!02:09
DarkTrickAlso, thank you Bashing-om for the involvement!02:10
sarnoldDarkTrick: oh! actually, the error output from your upgrade here gave us a few good candidates :)02:10
Bashing-omDarkTrick: Has my interest :D02:11
sarnoldDarkTrick: try ls -li /bin/journalctl /usr/bin/journalctl /bin/systemd-tmpfiles /usr/bin/systemd-tmpfiles  -- chances are good, all four files are different, and two of them are significantly older than the other two02:12
=== M4he is now known as mahe
DarkTricksarnold, older: yes, different: difficult to explain:: https://pastebin.com/0LEnURJN02:14
DarkTrickah.. the sign "月" means month02:15
sarnoldlucky that's easy enough to guess :) hehe02:15
sarnoldDarkTrick: I think, move /usr/bin/journalctl and /usr/bin/systemd-tmpfiles out of the way02:15
DarkTricksarnold, ie `rm`?02:15
sarnold(the advice in the debian bug is to just delete them, but that seems like a Big Step :)02:16
sarnoldhehe02:16
sarnoldI was thinking mv /usr/bin/journalctl /usr/bin/journalctl.deleteme and mv /usr/bin/systemd-tmpfiles /usr/bin/systemd-tmpfiles.deleteme02:16
DarkTricklol, exactly what I was thinking :D02:17
DarkTrick"deleteme"02:17
sarnold:D02:19
=== Orbit is now known as Guest7754
DarkTricksarnold, I don't understand the involvement of journalctl in all this. To me this looks like just one example out of many (?)02:21
DarkTrick(As the debian report says "search for duplicates and remove them"02:21
Kuleshovhttps://dchub.one Welcome to International Advanced Direct Connect Hub with Encryption Security and Unicode support.02:22
sarnoldDarkTrick: yeah, that's probably the right thing to do02:24
hard87hi02:25
DarkTricksarnold, is that what usrmerge is supposed to do as well?02:25
sarnoldDarkTrick: I"m not sure, but that command scares me. I don't know if it's the right thing to do, or not.02:26
DarkTrickk02:26
hard87how this work02:27
hard87someone from Brasil?02:29
DarkTricksarnold, judging from https://packages.debian.org/bullseye/usrmerge it seems exactly like that02:32
DarkTricksarnold, however one thing, you mentioned a symlink from /bin to /usr/bin (not single executables).02:32
DarkTrickDoes your system has that symlink?02:32
sarnoldDarkTrick: https://termbin.com/f5r2r02:33
DarkTricksarnold, thanks02:34
=== genii is now known as genii-core
tsujpso i can see information on how to change touchpad sensitivity with Synaptics, but I have ubuntu with libinput04:03
tsujpHow do I make my touchpad less sensitive to clicks? Right now it registers even the lightest touch as a click which is annoying to say the least04:04
sarnoldtsujp: try "xinput list" to get the list of your devices04:06
sarnoldtsujp: and then do something like: xinput list-props "Synaptics TM3289-021"04:08
sarnoldbut replace my device string with your device string04:08
sarnoldsadly I don't know where to find out what these properties *mean*04:08
tsujpBut that's if i use synaptics, which I don't04:08
sarnoldhopefully whatever device you do have will have properties that you can set04:08
tsujpsarnold that is if I use Synaptics. I use libinput04:08
sarnoldtsujp: yes, I also use libinput.04:09
sarnoldtsujp: please pretend I didn't copy-paste my device name :)04:09
tsujpsarnold http://ix.io/3Hk204:10
tsujpthats the output for xinput list-props 2504:12
sarnoldtsujp: nice nice.. promising. this next thing is a *guess*..04:12
sarnoldxinput set-prop 'Apple Inc. Magic Trackpad 2' 'libinput Click Method Enabled' '1, 0'04:13
sarnoldthat '1, 0' is my guess -- I think the '1, 1' on the libinput Click Methods Available line mean that there's two different methods that you can try, and currently "0, 1" is selecting the second one. So I'm hoping "1, 0" will select the first one, and I'm hoping it's more useful.04:14
tsujpthe command that worked is `xinput set-prop 'Apple Inc. Magic Trackpad 2' 327 1 0`04:15
tsujptime will tell if it was the correct thing to do04:15
sarnoldtsujp: sweet; I had bad luck with the numbers on my own system, they seemed to move around in ways I can't recall now :( that's how I got to use the long strings instead04:16
sarnoldtsujp: but you don't immediately hate it?04:16
tsujpwhy did you go for Click Method Enabled? Nah I don't immediately hate it04:16
tsujpim pressing pretty hard (wihtout clicking) and it's not thinking im clicking which is good04:16
tsujpand when I do click it doesn't think im click-dragging which is good04:17
sarnoldtsujp: ah that's a good question. I wasn't sure about click vs tapping either, but 'click' seemed a bit clsoer to what you were after04:17
tsujpcos I quickly snap my hand onto the touchpad which is closer than a mouse, but it thinking I am clicking or click-dragging in the past makes it.. yeah annoying af as mentioned hehe04:17
sarnold*nod*04:17
tsujpmany thanks for the help04:18
=== mkv is now known as m4v
fmkrshow should i fix Ubuntu's apt and dpkg to recognize that depends are already met, because since the ubuntu naming schemes are **different** from the real names and hence version checking Fails on certain packages, and gd forbid you install a package it thinks doesnt have the depends cause it locks all installing of any packages until you manually get dkpg to uninstall said package you needed...?05:20
fmkrsexample i am in an emergency where (Ubuntu) nemo decided to NOT unmount or unlock or whatever the patition i fetched a file from, then told it too unmount then waited 2 minutes to run clonezilla, and then it decided the partition  was doing something and then damaged that file system...so NOW i really need wxhexeditor or anything like HxD to fetch and fix the partition table **without** erasing the partion uuid on disk05:24
Bashing-om!pin | fmkrs This help ?05:25
ubottufmkrs This help ?: pinning is an advanced feature that APT can use to prefer particular packages over others. See https://help.ubuntu.com/community/PinningHowto05:25
fmkrsapt update, and all that and still it refuses to let me installing any usable hex editor i am so mad, this is the second time i needed a package that it refuses to understand the depends are already installed05:25
fmkrsle package is in sympaptget its from the ubuntu's own repo05:26
fmkrstry wxhexeditor Depends: libdisasm0 but it is not going to be installed Depends: libmhash2 (>=0.9.9.9) but it is not installable  Depends: libwxgtk3.0-gtk3-0v5 but it is not going to be installed05:28
fmkrsalso05:30
fmkrswxmedit05:30
fmkrsnow it wont even let me see it05:30
=== Kangie_ is now known as Kangie
fmkrswxmedit says dependaccy not satisfiable libcurl3-nss (>=7.23.1) if i look then i see that infact version 7.68.0-1ubuntu2.7   IS installed! ubunutu has lied to it self i am so mad. i have no idaea  how to fix this or  what to even look up. why does apt and or dpkg do this instanty??05:36
fmkrshere simple see i have proof05:36
fmkrs7.68.0 > 7.23.105:36
fmkrsand i am on 20 lts05:36
Bashing-om!info libcurl3-nss | focal05:40
ubottufocal: libcurl3-nss (7.74.0-1.3ubuntu2, impish): easy-to-use client-side URL transfer library (NSS flavour). In component main, is optional. Built by curl. Size 269 kB / 747 kB05:40
fmkrspinning Bashing-om does not seem to be the solution, the system is already set up to be lts 20,05:40
fmkrsle sigh how do i force it to do a name conversion from actuallibname-version-ubuntu to actuallibname-version to understand that depend already exists??05:42
fmkrsthere should be rationally speaking some system wide thing to do such a task yes???05:42
fmkrslinux people surly do not expect users to make fake packages for all this brokeness?05:43
Bashing-om!info wxmedit focal | fmkrs05:44
ubottufmkrs: Package wxmedit does not exist in focal05:44
Bashing-om!info libcurl3-nss focal05:44
ubottulibcurl3-nss (7.68.0-1ubuntu2.7, focal): easy-to-use client-side URL transfer library (NSS flavour). In component main, is optional. Built by curl. Size 234 kB / 697 kB05:44
United_Kingdumbbrits r so gay06:22
fmkrssays to use deb command but there is no deb command on my ubuntu, why am i being lied too https://packages.ubuntu.com/focal/amd64/libcurl3-nss/download06:24
United_Kingdumb!ops06:25
ubottuHelp! Channel emergency! (ONLY use this trigger in emergencies) - Pici, Myrtti, jrib, Amaranth, tonyyarusso, Nalioth, lamont, CarlK, elky, mneptok, Tm_T, jpds, ikonia, Flannel, wgrant, stdin, h00k, IdleOne, Jordan_U, popey, Corey, ocean, cprofitt, djones, Madpilot, gnomefreak, lhavelund, phunyguy, chu06:25
United_Kingdumb!ops !ops !ops06:26
United_Kingdumb!ops HELP06:26
shadow255fmkrs: that's not a command line thing - it's a line you need in /etc/apt/sources.list06:26
United_Kingdumb!ops06:26
United_Kingdumb!ops06:26
United_Kingdumbsnupples: WELCOME TO THE GAY BUTT BUDDIES CHANNEL OF ENGLAND06:26
fmkrsnvm i cat it the line into it..okay so is deb http://security.ubuntu.com/ubuntu focal-security main going to mess up since it  had deb http://security.ubuntu.com/ubuntu focal-security universe instead ?06:27
shadow255fmkrs: it's only adding another repo source, it will not affect the previously-existing one06:28
fmkrs=)  i wish ubuntu or X could render ttf fonts correctly, reading is strenuous..06:28
United_Kingdumbgay nigger detected06:31
United_Kingdumbfmkrs have you considered joining the GNAA?06:31
United_Kingdumbseeing as how you're so interested in my testicles?06:32
United_Kingdumbyou PMed me about testicles didn't you?06:32
Welcum2Africkafmkrs likes balls06:33
fmkrsonly the freshest.06:33
fmkrson a silver platter06:34
klausfiendthis, uh, seems a little unprofessional an exchange07:02
=== javaJake_ is now known as javaJake
fmkrsfinnally got it to work byt adding main repos additional to universe, god help me if it explodeds07:09
doofenshmirtzhi, I am new to Ubuntu. I was wondering why `su -` doesn't make me root.07:51
geirhadoofenshmirtz: because the root use does not have a password. Use sudo instead07:56
doofenshmirtzroot not having a password is ubuntu specific?07:58
doofenshmirtzthis is weird07:58
geirha!root | doofenshmirtz07:59
ubottudoofenshmirtz: Do not try to guess the root password, that is impossible. Instead, realise the truth... there is no root password. Then you will see that it is 'sudo' that grants you access and not the root password. Look at https://help.ubuntu.com/community/RootSudo07:59
doofenshmirtzyeah, `sudo su -` works. I understand, but I have not seen this in my other distro.08:01
doofenshmirtzalso, what will `sudo passwd root` do?08:02
geirhaNo point in using both sudo and su.   sudo -i  to get a root login shell08:02
tomreynit would set a root password08:03
doofenshmirtzand then `su -` will work?08:03
tomreynyes, but then you'll be working in a way that's no longer how ubuntu recommends it08:04
tomreynrestricted users, with passwords, some of which can gain root via sudo, is how ubuntu recommends it08:05
tomreynwell there are also restricted users without passwords, of course, specifically system users08:05
doofenshmirtzok then08:11
freemanhi08:15
EriC^^hello08:17
freemanwhere are you from?08:18
EriC^^lebanon08:20
EriC^^!offtopic | freeman08:20
ubottufreeman: #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!08:20
fmkrsyou can change the root password with the shadow file doofenshmirtz and this is a mysterious thing. I su instead of sudo, and there is away to clear the password so it's blank.08:23
fmkrseven IF you login as root, many ubuntu things expect you to be a user and they do the password popup bs such as the package manager, it will still try to gain root perms this way even if you are root logged in, and so the annoyance will still be a factor08:25
doofenshmirtzUbuntu works very different from other Linux distros.08:26
doofenshmirtzthe Ubuntu way is to avoid being the root and use sudo for everything.08:27
klausfiendno, not in this way.08:27
klausfiendthat's been the standard way for RHEL derivatives for some time as well08:27
fmkrsdoofenshmirtz, i suggest googleing/binging "ubuntu adding user to the wheel" and "remove password from /etc/shadow file"08:28
klausfiendusing the root account specifically vs. sudo is generally frowned upon these days as it muddies the audit trail and forces multiple admins to maintain a shared secret08:28
doofenshmirtzoh. now I see why.08:29
doofenshmirtznever used RHEL or it's childern.08:30
fmkrsit's frowned upon by globalist companies, and they intern supply collages with $$ to make their curriculum fit the humans as a robot in a cubical motif. not being root is being in a box.08:30
doofenshmirtzyeah, I agree.08:31
fmkrsthere are to many annoying things I have to do to get ubuntu to work that require simple file edits, a copy or paste here, etc. but like i said most programs aren't root aware so if u wanna login as root, u'll need to mess with the shawdow file...they will still nag u08:31
fmkrssu and the su app on android makes the most sense, you have a lsit of auto granted root perms no nag screens and u can see what has it and doesn't, full controls...08:33
doofenshmirtzwhat? you can `su -` in Android?08:33
fmkrsubuntu with systemMD doesn't have a true root user login fyi, its kinda a fake one.08:33
doofenshmirtzwait let me check08:33
fmkrsyes if u root your phone ha!08:34
p3rLhi08:34
fmkrsyes?08:34
p3rLufw is not blockingi p after deny still connected to port 8008:34
doofenshmirtzfmkrs, I just checked on my Galaxy. I cannot do be root.08:35
p3rLhow can i block a IP ?08:35
doofenshmirtzare there phones that allow you to be root. Samsung apparently doesn't. How can I find the root password on Android?08:36
fmkrsallow??? like i said about the walmart-esk, ma-bell, ibms of the world? not out of the box, search XDA forums.08:37
fmkrsto block an IP like from a browser? or with in a router? p3rL08:37
p3rLim tryin to block this ip08:38
p3rL[ 1] Anywhere                   DENY IN     202.46.1.8708:38
p3rLbut still its connected08:38
p3rLeven i have added my own ip and i can connect to SSH08:38
fmkrsi wold suggest a hosts file type of blocking that way the dns record will get denied or spoofed to a blackhole08:38
klausfiendhonestly you should use multiple approaches if you really need to keep a rogue client out08:39
klausfiendfail2ban is also helpful in situations like this08:39
doofenshmirtzthis is not good. I buy phone with my own money. device belongs to me. and I cannot root. doesn't make sense. if ASUS, DELL or HP did that, people will be up with pitchforks.08:40
klausfiendthe OS is not the device08:40
klausfiendsudo su -08:40
klausfiendif you really want to set a root password, just "passwd root" like always08:40
klausfiendand learn which files you need to modify to authorize direct root access via the console and/or SSH08:41
fmkrsdoofenshmirtz, i feel you, glad you awake. search XDA for an exploit to root, and or custom recovery like TWRP08:44
fmkrsgod help you if u have a unisoc soc cpu...08:44
fmkrsand then u can make use to ubuntu (on topic) to use the lastest adb and fastboot wooo!08:45
doofenshmirtzfmkrs, I don't think I have never needed to root on my Galaxy. Doesn't seem like useful feature.08:46
fmkrsp3rL, hate to say have you told the thing to reboot so that 202.46.1.87 is forced to reconnect so that where upon it will get denied?08:46
doofenshmirtzI just tried being root (in Termux) out of curiosity.08:46
p3rLfmkrs ufw insert 1 deny from x.x.x.x to any < and then ufw restart ... but im still able to connect from that ip08:47
fmkrsdoofenshmirtz, yes yes yes until your fave chat or app or game stops working cause you need updated ca certs and you refuse to put a pin in your phone, or perhaps you want to debloat everything, or worse case you need to recovery with a broken screen and digitzer leaving with adb via the custom recovery you installed...08:48
fmkrsp3rL,idk what thingy it is u are using....may i suggest if it is a router to use a MAC filter block08:49
p3rLits blocking the ip but not blocking the connected sessions08:50
fmkrsi block "ip"s via ubound dns running dietpi, a Debian spin08:50
fmkrsoh ssh doesnt use port 80? what about all the ports?08:51
doofenshmirtzfmkrs, yeah. you mentioned three cases and I fall into two of them. I don't put PIN on my phone. And I want get rid of some apps that I don't use but they are not uninstallable. I think I should root.08:51
fmkrsi got no idea p3rL sorry blind leading the bline08:51
fmkrsand if you are COOL doofenshmirtz Xpose frame work....08:52
doofenshmirtzdoes Samsung still provide upgrades if I root and what about warranty08:53
Guest55hi all "source code pro" font not in repo?08:53
fmkrsi dunna know. if u root it u can alway unroot it of u have to turn it in08:53
fmkrsota updates may clear off the SU binary, they may clear off magisk, but then u can put it on again08:55
fmkrscan some one explain why an program that lags in ubuntu will lag the entire OS?08:56
doofenshmirtzwhat Xpose, fmkrs ?09:00
Guest55hi all "source code pro" font not in repo?09:00
klausfiendit might not be in stable / testing if it's not GPL09:04
klausfiendyou may need to add universe to your apt sources09:04
KBarGuest55, hey. You can check that from here: packages.ubuntu.com09:04
klausfiendbut tbh i don't look at fonts much so that's only a suggestion09:05
KBarGuest55: what version of Ubuntu are you on?09:06
Guest55KBar impish09:07
KBarA quick apt search gives me this package: fonts-hack.09:07
KBarI don't know if it has that font, worth checking.09:07
KBarBut I'm on impish.09:08
KBarwhoops09:08
KBarI meant focal09:08
Guest55https://packages.ubuntu.com/impish/all/fonts-hack/filelist09:08
fmkrsdoofenshmirtz, you could after gaining root powers via sudo, edit /etc/shadow delete the hash of root's password, make it like this root::18410:0:99999:7:::09:10
Guest55thanks KBar hack fonts and source code pro fonts similar maybe i will use hack fonts09:11
KBarGuest55: it's actually available from Google: https://fonts.google.com/specimen/Source+Code+Pro#license09:12
KBarClick on Download family.09:12
KBarAnd follow the instructions.09:13
fmkrs=D i use lucida console that i merged with code2000 + tiberus cyberbit + CJK fonts to gain most of the possible glyps.09:14
=== diskin_ is now known as diskin
nikolamWhy Ubuntu ZFS implementation is not finding drive if it's device name gets changed? On other platforms using OpenZFS it seems it is not depending on device name at all?10:06
nikolamHow I could refresh zfs 'cache file' on zpool import so that it would recognize drive that has device name changed?10:07
nikolamAnd why I even have this problem, when ZFS is made to recognize it's drives wherever they are plugged in and whatever they are named... ?10:08
weedmicif i do "parted>select /dev/sda p" it will list every partition - correct?  even if some are not linux?  I'm trying to ensure I am using the entire HDD and that someone didn't leave some windoze partition on there.10:35
klausfiendeasier to do `parted /dev/sda print`10:39
klausfiendbut yes10:39
weedmicp is print10:42
weedmicty10:42
Abdullahhello12:05
VIAhi all i been through all xfce settings multiple times and i cand for the life of me where toset DPI12:23
VIAwhat am i missing/doing wrong?12:23
eva432Hot Chat12:26
eva432πŸ‘‡12:26
eva432https://rebrand.ly/privado_chat12:26
KBarVIA: Appearance > Fonts12:32
KBarDefault is 96.12:32
KBarVIA, or Settings Editor > xsettings channel > Xft/DPI property12:34
VIAcant find "appearance" where is it, KBar ẞ13:08
VIAk found it KBar. not in the settings id like it to be in but it works. thx!13:14
KBarVIA, are you on Xubuntu 20.04?13:20
=== pah is now known as pa
BluesKajHi folks13:38
farkaanWhat's a good "hardware information" _GUI_ utility for Ubuntu? A friend I helped switch to ubuntu recently wants something that'll show him all the information (including temperature sensors and such) like windows tools (probably) do13:48
=== farkaan99 is now known as farkaan
KBarfarkaan, lshw-gtk might be worth checking out.13:54
farkaanKBar: I'll take a look, thanks13:54
KBarfarkaan, for sensors, sensors-applet, but13:55
KBarI'm not sure how it works.13:55
farkaanI found this thing called hardinfo, I'm checking it out on my debian box right now13:55
farkaanKBar: lshw-gtk seems to work okay but the ux is a bit iffy, I can't change the width of the panes so I can't see what I'm actually clicking on (1440p monitor)13:58
KBarfarkaan, yeah, someone who's used to W-word probably wouldn't like it.14:03
farkaanYeah seems like this hardinfo tool is okay14:04
farkaanI mean I'd much rather use inxi myself but it's hard to make regular people learn command line tools14:04
KBarUs *nix folks just prefer to just type in a couple of commands and go on with out lives.14:04
KBarExactly.14:05
farkaanGNOME's about should show temperature imo but then again they probably want to keep things as /minimal/ as possible14:05
KBarfarkaan: there is also a clone of CPU-z. worth looking into https://ubunlog.com/en/cpu-x-conoce-hardware-equipo/14:06
KBarBonus points for being AppImage14:06
=== thegodsquirrel is now known as theSantasquirrel
=== phineasflynn is now known as doofenshmirtz
pycodehello everybody16:12
pycodewhat tool can i use to erase a disk completly?16:12
pycodei have an nvme and one ssd16:12
pycodei would like to wipe the drive completly16:13
KBarpycode GNOME Disks (called Disks), gparted, good old dd.16:14
pycodethanks KBar16:17
KBarfrom a security stand-point, overwriting data with zeros or garbage is preferred16:17
pycodeKBar, can i do that with gnome disk ?16:17
KBarwhat, overwrite with zeros/random noise?16:18
pycodeKBar, i basically would like to put the disk in the same conditions when i bought it :)16:19
pycodeis that possible or something close to it16:19
orange1gparted16:20
imihttps://ibb.co/PrGXWDc -- is there a way to toggle that switch from commandline (settings->privacy->screen locking->lock screen automatically (on/off))?16:22
pycodeorange1, ok but, can i then create a ext4 partition and...that's it ?16:22
orange1yes16:22
KBarimi, i dont use GNOME but it should be under gsettings's domain16:24
pycodeok16:24
KBarimi, `gsettings list-recursively | grep PATTERN`16:24
KBarPattern being your guess as to what it might be called16:25
KBartry with lock first16:26
KBarimi: after that, run 'gsettings set path.to.gschema PROPERTY true|false` if the PROPERTY is indeed a bool16:27
imiKBar: that helped a lot, thanks, I diffed gsettings list-recursively now I know it's org.gnome.desktop.screensaver lock-enabled true16:38
imiis it sufficient to just toggle it using gsettings? will changing this property take effect immediately?16:39
lotuspsychjeimi: yes, gsettings changes right away16:41
imiso it gets applied right away and I don't need to send a SIGHUP or anything?16:41
imior service reload or whatever16:42
lotuspsychjewell for the settings i tested on dconf-editor i never had to logout or reboot myself, not sure if all settings are16:42
imiok thanks I'll try and see then16:44
KBarimi: no. nothing extra is needed. you just issue it and the gschema gets updated automatically16:49
KBarimi: and it also survives reboots. in other words, the changes are immediate, persistent and permanent until you change them back again16:54
woenxHi. I'm using ubuntu 20.04, and now when I open gnome-terminal, instead of its logo, I see a blank logo in the panel. How could I fix that?16:58
woenxI think I caused that by creating a custom command that invoved gnome-terminal in a program and setting it by default for a file type16:59
woenxSo, when I search gnome-terminal in the app drawer, it appears with its correct logo, but once I run it, the logo changes and shows that while gear wheel/generic icon17:00
KBarwoenx, do you mean GNOME Terminal's logo?17:00
KBarA screenshot or two would help.17:00
woenxsure, wait a sec17:00
woenxhttps://i.imgur.com/lyxK3o5.png17:02
woenxSo the first circled icon is gnome-terminal as it appears in the panel and in the app drawer17:02
woenxand the second icon is the icon I see once gnome-termina is running17:02
woenxthey became dissociated17:02
basedovertimeoh yeah, i see that, that's weird17:03
KBarwoenx, care to share its desktop entry? Especially the Exec= field.17:03
woenxwhere can I find it?17:03
KBarwoenx: should be in /usr/share/applications/org.gnome.Terminal.desktop17:03
woenxOK17:04
KBardid you edit that file?17:04
woenxHere17:05
woenxno, not manually at least17:05
woenxhttps://pastebin.com/q5Su4hFL17:05
KBarwoenx: you said you created a custom command. How and where did you do that?17:05
woenxOk, so in another program, Digikam, which is a photo organizer, there's an option to open a picture with another program (right click, open with...)17:06
woenxin that option, you can either select an existing program from the list, or you can type the command17:06
KBarNah, that shouldn't be relevant.17:06
woenxso I wrote a command that started with gnome-terminal (and then called a simple sh script that I wrote)17:06
woenxand by accident, I set it by default to all jpg pictures17:07
woenxwhich was also set outside digikam17:07
woenxand that's when the problem appeared17:07
KBarwoenx: okay, try undoing that. Go to Settings > Default Applications17:07
woenx(I restored the jpg association with the default picture viewer, but the "generic"icon in gnome-terminal stayed)17:07
woenxin Default applications, I see that for Photos, the Image Viewer is set as default17:08
woenx(I don17:08
woenx(I don't know if that's the exact name, my gnome is in another language)17:09
KBarwoenx: hmm. that's strange17:13
KBarwoenx: what's the output of `xdg-mime query default image/jpeg`17:14
KBarand `xdg-mime query default image/jpg`17:14
woenxorg.gnome.eog.desktop17:14
woenx(for both)17:14
KBarwoenx: can you `chmod -x` that script?17:16
woenxit already has execution permissions17:16
KBarundo it17:17
woenxok17:17
KBarclose active Digikam and Terminal windows and launch Terminal (from Activities)17:18
woenxwhat's "Activities"?17:21
KBarwoenx: Super key.17:22
woenxOh, yeah, it's the same, it opens with that white icon17:22
woenxand if I remove the shortcut from the panel, and add it again, it's the same17:22
woenxthe shortcut has the correct icon, but once I click on it, it opens a separate "generic" icon17:22
ioriawoenx, probably a local settings (i'd check ls ~/.local/share/applications/; a test would be with another user but first check   your .local directory for a .desktop file17:24
woenxaaahaaa, there's another gnome-terminal.desktop in there!17:25
woenxYay, that was it17:25
woenxI renamed it, and now it recovered the right icon17:25
ioriawoenx, good17:25
woenxsomehow it created a .desktop called gnome-terminal that called that script17:25
woenxThanks!!17:25
ioriayep17:25
ioriano prblem17:25
KBarioria brilliantly done17:26
ioriaKBar, tx17:26
=== zer0bitz_ is now known as zer0bitz
=== phineasflynn is now known as ferbflynn
=== ferbflynn is now known as doofenshmirtz
=== genii-core is now known as genii
ttys000hey guys, i was doing an upgrade but now it's stuck. any suggestions on what to do next? https://i.imgur.com/3dY2Iu5.png18:26
ttys000i have tried to press enter but nothing happens.18:26
ttys000i can connect again from a new ssh session but this one seems locked up18:26
ttys000in the new session i see in htop that the updater is still running (/usr/bin/python3 -s /tmp/ubuntu-release-upgrader-xhh3hnt1/focal ..._18:27
alefirdelete the lock file it mentions18:27
ttys000`/var/lib/dpkg/lock` ?18:30
ttys000and then?18:31
ioriattys000, ps aux | grep -i apt18:33
ttys000http://ix.io/3HnR18:34
ioriastill running18:36
ioriattys000, you might sudo kill -9 that process, run sudo dpkg --configure -a and full-upgrade the system ( if you're lucky)18:37
ioriattys000,  sudo kill -9 95218:38
ttys000http://ix.io/3HnU18:38
ttys000sorry wrong paste18:38
ttys000http://ix.io/3HnU18:38
ttys000whoa, weird, it gave me the same ID, but this time the past is totally different18:39
ttys000man that paste site glitched i think18:39
ioriattys000,  is this an '18.04 to 20.04' upgarde ?18:40
ttys000so do i need to fix these dpkg errors? or just sudo do-release-upgrade again?18:40
ioria*upgrade18:40
ttys000yes, 18.04 -> 20.0418:40
ioriattys000,  sudo apt update18:41
ttys000http://ix.io/3HnV18:41
ioriattys000,  sudo apt full-upgrade18:42
ttys000it's mad: http://ix.io/3HnW18:43
ioriattys000,  sudo apt --fix-broken install18:43
ttys000k thanks. running that now...18:44
ttys000ok finished. now running full upgrade.18:45
ttys000ok thanks.18:48
ttys000seems to be sailing smoothly so far18:48
ioriaok18:48
ttys000cheers internet stranger, thanks for unf*cking my problem.18:48
ttys000is there anything that needs to be done after `sudo apt full-upgrade`18:53
ttys000and what is the difference between doing it that way and `sudo do-release-upgrade`18:53
ioriaa bit long to explain: do-release-upgrade has failed, but sources.list had been already  changed; so you pretend to be on a 20.04 system and perform a simble upgrade18:58
ioria*simple18:58
ttys000ok makes sense. thanks.19:02
ioriaok19:03
vershanhi im running ubuntu 20.04. I changed my wireless card from atheros to intel only getting 1MB speed19:33
vershando i need to  install correct drivers. after changing the network card the wifi connedted19:34
vershanhttps://paste.ubuntu.com/p/MJD3kHt3kf/19:38
=== sarnold_ is now known as sarnold
=== Parodper1 is now known as Parodper
merpnderpIf I need a script to append a bunch of configs to sshd_config, would I just `echo myconfig >> /etc/ssh/sshd_config` is that the best way?20:27
merpnderpmyconfig being a string.20:27
merpnderpWriting a giant script to get ubuntu to pass our security audit.20:27
merpnderpDoes such a script already exist somewhere? this is a standard audit.20:28
merpnderpSecScan20:28
sarnoldmerpnderp: normally people will use things like ansible or chef or puppet to manage all the machines in their fleet, or use something like http://augeas.net/ (packaged in debian and ubuntu) to modify config files programmatically20:30
sarnoldmerpnderp: just appending stuff to config files is a quick way to break things, or make them work in unexpected ways20:30
g3poandlslI have several laptops (all different models) with Ubuntu 18.04 that experience periodic connectivity (eth0) timeouts. I can't identify the pattern, but it occurs seemingly randomly after an hour, 35 min, or 10 minutes. Always on the same second according to logs.21:14
=== diskin_ is now known as diskin
sarnoldwell that's wild21:18
sarnoldI suggest using ethtool to disable powersaving features on your nics on the laptops, and using your switch's management interface to disable "port power saving" things there, too. adaptive power for wire length is probably fine, but some have "unused port power saving" things that I've heard cause problems21:19
g3poandlslsarnold: thanks for the tip about ethtool and powersaving settings.  I should mention that these laptops previously did not experience this issue, but did after being wiped and Ubuntu 18.04 (later point release) reinstalled21:24
BelgradHi, what is the best alternative for Lubuntu (I have issues with screen resolution, resume on both suspend and hibernate, not being able to save nomodeset option properly, hibernate just shutting off the PC instead of hibernating it)?21:24
BelgradFocal 20.04, but I ve upgraded it, so now the resolution screen appeared. I don t know what to do, this seems to be a hard problem.21:25
BelgradBest regards and thanks in advance.21:25
sarnoldg3poandlsl: oh interesting. I wonder if the newer HWE kernels busted something. You could try installing the original release kernel; we don't have any simple docs on that, I don't think, but a lot of the package names involved are on https://wiki.ubuntu.com/Kernel/LTSEnablementStack21:27
g3poandlslsarnold: thanks, I was considering the later kernel might have been an issue. Is the OEM kernel any more "stable"?21:29
sarnoldg3poandlsl: it might be better if it has drivers specifically for your system, yeah; I don't know any easy way to find out what extra it supports, though21:30
BelgradAh, I ll just delete Lubuntu, maybe Xubuntu will be better?21:30
g3poandlslsarnold: thanks for your help with this21:30
sarnoldBelgrad: probably not, they use the same kernel, X11, etc21:31
BelgradAh...Than which distro should I install? I am accustomed to Lubuntu, so I am looking Ubuntu distro minimal?21:32
BelgradI am literally writting from the weird screen resolution.21:32
BelgradWhatever command I give in Terminal, I get some dpkg blah blah, I have to manually do it, and I do not know what does that mean. I think I should try with the latest lubuntu image, maybe it will give a work?21:33
sarnoldBelgrad: it's hard to give concrete advice without knowing what issues you're facing. maybe it's just a matter of troubleshooting each problem, one at a time, until you've got a working system again. maybe it's a matter of filing a bunch of bug reports with what you've got, and then going back to an older system that worked fine. maybe it's a matter of installing something newer and hoping it's all fixed.21:35
sarnoldmaybe it's switching to a different distribution entirely that's either not yet got these problems, or already solved these problems, depending..21:35
=== wyre_ is now known as wyre
devslashwhen you do export DISPLAY=:0 what is :0 called ? is it a port that you are setting the value to What I asking is how you refer to the display you are binding to22:09
klausfiendin X11 lingo, :0 refers to the root display22:10
klausfiende.g., your local desktop22:11
klausfiendit's basically [hostname]:<display>[.screen]22:11
klausfiendlocalhost:0 and :0 essentially refer to the same display22:11
NeilRGhow do I use the bleeding edge gvim on ubuntu?22:38
klausfiendassuming someone has a PPA, i would add that, and install the gvim candidates from that repo instead of stable or testing22:44
deviosI just installed LTS on an old laptop, and updated/upgraded to latest packages.  then I installed plexserver, then i installed xrdp, found xrdp didn't do what I expected/wanted after connecting from another system, and then removed xrdp.  sometime during that process, the terminal application (in gnome) stopped opening - like it would try to start up then stop.  when I rebooted, I ended up at a black screen with a small cursor in top left23:07
devios(gnome(?) not starting, not getting to logon page).  if i do control+alt+2, I can get to and log into a terminal outside of gnome and log in.  any ideas what happened and how to fix whatever I broke?23:07
devioswondering if installing xrdp hijacked/broke some part of the gui startup?23:07
devioscontrol+alt+*f223:13
=== Guest51 is now known as foss-journey
=== cismee is now known as cisme_
=== Ashburry is now known as Ashbaudhi

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