[00:41] <pycurious> I've two machines behind firewalls. One creates a html report that I need to get on the other machine. Any ideas?
[00:42] <Kel> pycurious: if port 22 is open on either end you could probably scp it from one to the other? Very unsophisticated but would do in a pinch.
[00:52] <pycurious> Kel: the only thing these machines have is access to the internet. no public ips or things like that.
[00:53] <Kel> pycurious: oh, poopsie... hmm.
[00:55] <oerheks> tons of public paste sites, if you limit yourself by not opening a port for safe transfer, you would have no other option.
[01:31] <Gallomimia> is there any way i can keep the number of monitors, displays on my system static?  without allowing any changes in connectedness or powered on status affect my desktop layout? all the black blinking whenever i power one on or off is super annoying
[01:32] <Gallomimia> pycurious, scp is one of your best options for securly transfering files. you can open a listen server on a port that is not 22 and avoid having those machines exposed to the myriad of botnets that try to penetrate the SSH port every day. you can also limit what's available on that listen server. i recommend using RSA or similar keys to give access to the sending machine, allowing passwordless unattended results.
[01:33] <Kel> oerheks: sneakernet! :P
[01:53] <Hash> aarch64 on ubuntu has lacking ports
[01:54] <Hash> I wonder when that arch will take off.
[01:54] <Hash> Ampere amd arm cpus
[01:56] <sarnold> step one: have a website with a "buy button" on a computer that can have more than 4gigs of memory
[01:58] <leftyfb> https://thepihut.com/products/raspberry-pi-4-model-b?variant=31994565689406
[01:59] <sarnold> finally, they can take over the world! look out supermicro and dell and lenovo!
[02:25] <Guest68> i changed my bios setting from ahci to ide and then booted linux by mistake. Does that cause problems? If I change it back to ahci will linux mess up?
[02:25] <mybalzitch> if you're using uuids no. at worst linux just don't boot
[02:28] <Guest68> i did a default install and there's only one ssd, so if that uses uuids then i am using uuids
[02:30] <Guest68> is there anything I could check from a live usb before attempting to boot the real one with ahci again?
[02:47] <jhutchins> Guest68: cat /etc/fstab
[02:48] <jhutchins> Guest68: That will show how the system's mounting devices.
[02:58] <jhutchins> We love our ghosts.
[02:59] <Guest68> oh, yeah fstab shows it using uuid
[04:21] <Rockwood> o/
[04:22] <Rockwood> i wanna move all files with hidden with dot folder1 to folder2
[04:22] <Rockwood> what is the correct way for to do this in ubuntu
[04:22] <Rockwood> i am using ubuntu 20 LTS
[04:23] <oerheks> ctrl + h shows them
[04:23] <leaftype> Rockwood: show the hidden files, and then drag and drop them
[04:23] <oerheks> then select them all, cvoila
[04:23] <Rockwood> cvoila??
[04:23] <Rockwood> is it any command?
[04:24] <Rockwood> mv ~/var/www/api.rockwood.test/s-cart/* ~/var/www/api.rockwood.test < i have done like this
[04:24] <leaftype> nope, it's mis-spelled "voila", not to be confused with viola
[04:25] <Rockwood> mv: cannot stat '/home/rockwood/var/www/api.rockwood.test/s-cart/*': No such file or directory
[04:25] <Rockwood> i am getting this
[04:25] <Rockwood> by above mention command
[04:26] <Rockwood> mv source_path/* destination_path/ i used this way
[04:26] <swalladge> Rockwood: does /home/rockwood/var/www/api.rockwood.test/s-cart/* exist?
[04:26] <Rockwood> no
[04:26] <Rockwood> only /var/www/
[04:26] <swalladge> well don't use that path then :P
[04:27] <Rockwood> what should be there?
[04:27] <swalladge> drop the tildes from `mv ~/var/www/api.rockwood.test/s-cart/* ~/var/www/api.rockwood.test`
[04:27] <Rockwood> means?
[04:27] <swalladge> (~ is expanded to /home/rockwood by your shell)
[04:28] <Rockwood> so i should be start directly with /var/www/
[04:28] <swalladge> yep
[04:28] <leaftype> the tilde is a shorthand for "start in my hope directory"
[04:29] <leaftype> so ~/Video would, to the computer, look like /home/leaftype/Video
[04:29] <swalladge> and be careful with using `mv` and glob expansion.  I think your current command will ignore any hidden files
[04:30] <swalladge> don't want to miss any toplevel .htaccess files
[04:31] <Rockwood> i don't want to miss any kind of file
[04:32] <Rockwood> i am getting rockwood@cyberia:/var/www/api.rockwood.test/s-cart$ drop the tildes from `mv ~/var/www/api.rockwood.test/s-cart/* ~/var/www/api.rockwood.test
[04:32] <Rockwood> >
[04:32] <swalladge> um
[04:33] <swalladge> you'll want to run something like:
[04:33] <swalladge> mv /var/www/api.rockwood.test/s-cart/* /var/www/api.rockwood.test
[04:37] <oerheks> cp -r /bla.bla/{.,}* /target  ## includes all files and directories (also starting with a dot)
[04:37] <Rockwood> oops
[04:38] <Rockwood> now i am getting 500 error
[04:38] <Rockwood> files are moved there
[04:39] <oerheks> amazing
[04:39] <Rockwood> drwxrwxr-x  3 rockwood rockwood    4096 Nov  5 04:34 s-cart i think still something there
[04:39] <swalladge> run `ls -a /var/www/api.rockwood.test/s-cart/`
[04:40] <Rockwood> its behaving like rockwood@cyberia:/var/www/api.rockwood.test$ run `ls -a /var/www/api.rockwood.test/s-cart/
[04:40] <Rockwood> >
[04:40] <swalladge> don't literally paste in the whole chat message :P
[04:40] <swalladge> the command is what I put in `backtickts`
[04:41] <Rockwood> oh okay
[04:41] <Rockwood> Command 'run' not found, did you mean:
[04:43] <swalladge> try to understand what commands you're running before pasting them in
[04:43] <swalladge> I suggested using the `ls` command to check if any files were missed
[04:43] <swalladge> you'll need the `-a` argument too, to show hidden files
[04:44] <Rockwood> run `ls -a /var/www/api.rockwood.test/s-cart/` isn't correct?
[04:44] <Rockwood> run `ls` `-a` /var/www/api.rockwood.test/s-cart/ should be like this?
[04:44] <swalladge> no no no
[04:44] <KBar> no
[04:44] <Rockwood> then
[04:45] <KBar> Rockwood: please, refer to this beautiful tutorial: https://ubuntu.com/tutorials/command-line-for-beginners#1-overview
[04:45] <KBar> To get familiar with the command line.
[04:46] <KBar> Rockwood it will take 20 minutes at most.
[04:46] <Rockwood> https://kopy.io/sDb87
[04:46] <Rockwood> sorry for blindly paste :(
[04:46] <Rockwood> you said run this comman d
[04:46] <Rockwood> command and i pasted that is too :D
[04:47] <Rockwood> anyway still few files remain ther e
[04:47] <Rockwood> i wanna copy that those too
[04:47] <KBar> Rockwood don't just paste commands into shell. Read and understand them first.
[04:48] <Rockwood> sure i will keep it in my mind this too
[04:48] <swalladge> ok cool, so you can repeat your `mv` command, but like this:
[04:48] <swalladge> mv /var/www/api.rockwood.test/s-cart/.* /var/www/api.rockwood.test
[04:48] <swalladge> note the period before the * to glob the dotfiles
[04:49] <KBar> Rockwood some commands may ruin your whole system and render it completely unusable. Especially the ones starting with `sudo`.
[04:49] <Rockwood> mv: cannot move '/var/www/api.rockwood.test/s-cart/.' to '/var/www/api.rockwood.test/.': Device or resource busy
[04:49] <Rockwood> ok
[04:49] <Rockwood> sudo need here i think now
[04:49] <swalladge> oooh no wait
[04:49] <Rockwood> ok
[04:50] <swalladge> what command did you run?
[04:51] <Rockwood> mv /var/www/api.rockwood.test/s-cart/.* /var/www/api.rockwood.test
[04:51] <Rockwood> this one
[04:52] <swalladge> huh it should work.  Maybe avoid the globbing and move each file individually
[04:52] <Rockwood> okay
[04:52] <oerheks> one would be member of the www-data group, to do so
[04:52] <swalladge> mv /var/www/api.rockwood.test/s-cart/.env /var/www/api.rockwood.test/
[04:52] <swalladge> etc.
[04:53] <swalladge> that's true, it could be file permissions, rather than missing files that's causing the 500 errors
[04:53] <Rockwood> still error
[04:53] <Rockwood> mv: cannot stat '/var/www/api.rockwood.test/s-cart/.env': No such file or directory
[04:53] <oerheks> if you could copy before, then something else is going on. maybe files are in use
[04:53] <swalladge> ok they've been moved then
[04:53] <swalladge> you can `ls -a` the /var/www/api.rockwood.test/ directory to check
[04:54] <Rockwood> swalladge, https://kopy.io/2CFh4
[04:55] <Rockwood> https://kopy.io/p4JfT
[04:56] <swalladge> I highly recommend going through the tutorial that KBar linked to.  I'm not sure you're understanding what's going on in the terminal, and I'm worried that you'll accidentally nuke the server by pasting something unexpected
[04:56] <KBar> +1
[04:56] <swalladge> but yep that second screenshot looks good.  I reckon your files are now where they should be
[04:56] <Rockwood> but i am facing still HTTP ERROR 500
[04:56] <Rockwood> i need to see the log
[04:57] <KBar> Rockwood 1) https://ubuntu.com/tutorials/command-line-for-beginners#1-overview 2) http://linuxcommand.org/tlcl.php
[04:57] <Rockwood> KBar, thanks
[05:01] <Rockwood> oops nothing like error log there
[05:01] <Rockwood> in /var/log/
[05:06] <oerheks> HTTP ERROR 500 means something has changed, you moved files he cannot find anymore?
[05:06] <Rockwood> why
[05:07] <Rockwood> from where i can chk the logs now
[05:07] <oerheks> err, why did you want to move those files as a start?
[05:07] <oerheks> and tell us what gives that error 500 exactly?
[05:07] <Rockwood> from where i can see the logs
[05:07] <Rockwood> ?
[05:08] <Rockwood> i wanna download this project https://github.com/s-cart/s-cart
[05:09] <Rockwood> in my currently working folder
[05:09] <Rockwood> just that is
[05:12] <Samian>  I made a python program and a cpp program that are supposed to be different versions of the same program.  I want to make unit tests that check for identical outputs given identical inputs.  What's the technical name for such a test?
[05:15] <Rockwood> oerheks, thanks
[05:15] <Rockwood> problem solved
[05:15] <Rockwood> permission was the cuase for that
[05:15] <Rockwood> cause
[06:15] <Firefishe> How does one use a file such as:  filename.deb.blob ??
[06:18] <tomreyn> Firefishe: that's not a common file extension. maybe run "file" against it to get an idea what this might be. ortell us where you got it from, and what it's supposed to do.
[06:19] <tomreyn> .deb would be a debian package (also used by ubuntu)
[06:25] <Firefishe> thanks tomreyn, checking something
[06:26] <Firefishe> I know what .deb files are.  I may have been looking in the wrong file hierarchy.
[06:26] <Firefishe> it's for linux-surface
[06:27] <Firefishe> I'm also in that room.  My question here was more generic.
[06:29] <KBar> Firefishe, what do you mean "use"?
[06:29] <KBar> Firefishe, a .deb file is essentially an ar archive.
[06:31] <KBar> You can try viewing it with `ar tv /path/to/deb-file` and extracting it with `ar x /path/to/deb-file`
[06:33] <leptone> hello
[06:34] <leptone> Ubuntu taught me about IRC. I've been freaked out bc i couldn't get on Freenode for like a year. Glad there is still IRC. Hoping Libra is similar to what Freenode was.
[06:37] <Firefishe> KBar: Thanks for that information.  A new way to view something for me.
[06:37] <KBar> leptone, it's Libera. Welcome!
[06:37] <leptone38> hello
[06:37] <leptone38> can anyone see my messages??
[06:38] <Firefishe> I'm trying to build a .deb package from source.  Using the command:  "dpkg -b" what would I place after the "-b" ??
[06:38] <tomreyn> leptone38: we can read you
[06:38] <Firefishe> leptone38: I can see you just fine.
[06:38] <leptone> test
[06:38] <leptone38> thx
[06:38] <Firefishe> leptone38: yw
[06:38] <tomreyn> leptone: for testing your irc client, please /join #tests
[06:40] <leptone> tomreyn: Will do. Thx. How about a channel for discussing / learning what happened to Freenode?
[06:40] <tomreyn> !alis | leptone
[06:41] <slingamn> lately i get prompts from apt/dpkg asking whether i want to restart services
[06:41] <slingamn> what's the current way to suppress that?
[06:42] <ezakimak> can't get X11 forwarding to work on a 20.04.2 install
[06:42] <ezakimak> ssh -Y -v shows "Requesting X11 forwarding with authentication spoofing."
[06:42] <ezakimak> xauth list shows entries
[06:43] <ezakimak> DISPLAY is set to :0.0
[06:43] <ezakimak> but every attempt to run any x app results in "Error: Can't open display: :0.0"
[06:49] <tomreyn> slingamn: same as during the past 20 (?) years ;-)   DEBIAN_FRONTEND=noninteractive
[06:50] <slingamn> neat
[06:51] <slingamn> i saw some chatter on stackexchange about that not working anymore and `debconf-set-selections` being needed instead
[06:54] <slingamn> in this noninteractive case, how do i control whether services are restarted or not?
[07:04] <tomreyn> slingamn: "non-interactive" suppresses the prompts and forces debconf to go with the default setting. i assume the default will be not to restart services most of the time, but it really depends on their defaults.
[07:04] <slingamn> it's a per-library default?
[07:06] <slingamn> i'm currently using 20.04 for all my servers, and i like the current behavior where nginx only restarts on nginx upgrades --- i wouldn't want it to restart unannounced for anything else
[07:07] <slingamn> but i'm not clear on how to control that
[07:23] <tomreyn> slingamn: i don't see why else nginx would restart if not for package upgrades (of nginx itself of libraries it depends on)
[07:23] <slingamn> right, that's what i mean, i want it to restart on upgrades of the nginx package, but not for upgrades of any of the library dependencies
[07:24] <slingamn> it pulls in a lot of weird stuff like libtiff
[07:27] <tomreyn> i don't expect that you can handle those cases seperately.
[07:27] <tomreyn> also, either would likely put it at risk if these are security updates, and restarts are fast, so personally i'd just do it.
[07:32] <b247_eu> Hi there
[07:34] <b247_eu> Im looking for an advice regarding a HP laptop (HP ProBook 440 G7 - https://ubuntu.com/certified/202005-27901)
[07:34] <ezakimak> looks like /etc/profile.d/var-env.sh is clobbering DISPLAY
[07:35] <slingamn> well, one of the reasons i want that behavior is that it's at parity with the behavior of 20.04 with unattended-upgrades
[07:36] <slingamn> i'm using nginx to proxy long-running TCP connections that can be fairly disruptive to tear down
[07:36] <tomreyn> b247_eu: what kind of advice specifically?
[07:37] <tomreyn> slingamn: i see. how long runningis this? like minutes, hours, days?
[07:38] <b247_eu> It looks that is "certified ... with a custom Ubuntu image" but "standard ubuntu images may not work well ..."; Is there a way where or how to download this "custom Ubuntu image", my problem is that with standard Ubuntu20.04LTS there is no driver for the fingerprint
[07:39] <slingamn> it's IRC actually, it can be weeks
[07:39] <tomreyn> ezakimak: https://packages.ubuntu.com is not aware of this file location.
[07:40] <slingamn> i'm not planning on upgrading until 22.04.1 so that's almost a year out...just wanted to get a handle on my options
[07:40] <tomreyn> b247_eu: if there is, then it'll be available from HP
[07:43] <tomreyn> slingamn: i guess what i'd do in this scenario is load balancing and then slowly moving connections off of one server, and finally install the updates there, and put it back into the pool.
[07:43] <b247_eu> tomreyn, I've looked on the HP site, they have a lot of "recovery options" but only Windows images, nothing about Ubuntu; shall I contact (via email/other official ways) HP or Ubuntu for that?
[07:44] <slingamn> hmm
[07:44] <slingamn> i can deal with killing everything at once, i'd just like to have control over the scheduling, the way i do now
[07:46] <b247_eu> to be honest, only the fingerprint driver is missing (from any kernel out-there) and thought that "a certified Ubuntu custom image and software" may have this driver
[07:49] <oerheks> check your FP device against https://fprint.freedesktop.org/supported-devices.html
[07:50] <tomreyn> b247_eu: HP most likely provides a recovery iso. or you could try installing the "oem" kernel variant on the ubuntu release HP supports for this model.
[07:52] <tomreyn> slingamn: unless those are snap packages, you should already have full control on when you run unattended-upgrades.
[07:53] <slingamn> as in, i can set specific hours?
[07:53] <tomreyn> yes, or change the schedule on when it runs
[07:54] <b247_eu> thank you tomreyn, will try to contact HP then for the recovery iso; already tried standard oem and there is no fingerprint driver for the hp fingerprint; thank you all, wish you well
[07:55] <tomreyn> good luck
[08:03] <tomreyn> b247_eu: https://support.hp.com/emea_middle_east-en/document/buh07143 might be of relevance
[08:57] <cornel> hello, is there a way to verify the operating system integrity in Ubuntu 16.04? I'm looking after something similar to rpm -Va , from rpm-world.
[09:03] <alkisg> (install it if you don't have it)
[09:03] <alkisg> Check: sudo debsums -s
[09:06] <cornel> thank you alkisg
[09:06] <cornel> check is in progress
[09:20] <cornel> alkisg, no output from debsums
[09:20] <cornel> this means there's no problem, righ?
[09:20] <cornel> ok
[09:20] <cornel> i need --all too
[09:20] <alkisg> Right
[09:26] <cornel> thank you. Some config files were changed, but none looks like the reason for our error: fetch-pack: unexpected disconnect while reading sideband packet fatal: protocol error: bad pack header
[09:26] <cornel> i gues i have to reach the network guys, maybe soething is wrong in some equipment port
[09:58] <cornel> hello again
[09:58] <cornel> how can i downgrade git in my ubuntu system?
[10:29] <shuje71> french serveur please
[10:30] <shuje71> i need help for my wifi
[10:38] <tosaraja> Is this a security issue or not? I have a Ubuntu host in which I run LXD containers. I opened a shell in one of those containers with 'lxc exec foobar bash' and ran tmux there. Now for some reason I got "Error: websocket: close 1006 (abnormal closure): unexpected EOF" whichafter I was thrown out of the lxc container. But the strange thing is, that i'm still inside the same tmux window. Which was launched inside the container. Normally I can't do this,
[10:38] <tosaraja> because running just simply exit to exit the lxd, it actually just exists the tmux. Might not be anything, but this seems so strange so I decided to ask here just in case.
[10:51] <TJ-> tosaraja: "websocket" infers you were using some network client from within the LXD/tmux session
[10:53] <tosaraja> I was running on "onedb purge" command that purges old data from our database within that container. Even if that command catastrophically fails, I still don't get why it threw me out of the container
[11:02] <TJ-> tosaraja: is the tmux process still running then? check with "ps -efly | grep tmux" for example
[11:03] <tosaraja> well i do see the borders of tmux in my putty view
[11:03] <tosaraja> hah..but THAT was a visual bug
[11:03] <tosaraja> it isn't actually running. Rescaling the putty window took the borders away and also the tmux shortcuts don't work
[11:18] <engblom> I have a Ubuntu installation running xmonad. For some strange reason Ubuntu keeps changing my keyboard layout. I have manually set it with setxkbdmap, but the settings are not staying during the whole session. What is wrong?
[11:19] <TJ-> tosaraja: aha!
[12:12] <KBar> engblom, join #xmonad.
[12:13] <engblom> KBar: I am 100% sure xmonad is not chaning my keymap. It is a Ubuntu problem. I have been using xmonad for more than a decade in different distros and never had this problem
[12:13] <engblom> KBar: It is something in Ubuntu overriding my own settings (which are set by setxkbmap)
[12:18] <netpipe> https://github.com/netpipe/PulseAudioEQ
[12:18] <netpipe> new equalizer in qt
[12:19] <Fatal_Sushi> netpipe: wrong channel
[12:20] <netpipe> needs to go into the repos somehow
[12:20] <netpipe> after a quick fix
[12:20] <Fatal_Sushi> still, wrong channel netpipe
[12:21] <Fatal_Sushi> this channel is for support with Ubuntu
[12:22] <netpipe> put it with pulseaudio already
[12:22] <netpipe> not sure if it goes into their repo yet though
[12:24] <Fatal_Sushi> netpipe: if you don't have a ubuntu support question please take it to #ubuntu-discuss or offtopic
[12:46] <BluesKaj> Hi all
[13:14] <netpipe> fixed
[13:51] <mekhami> quick question, what's a good straight forward pdf editing tool available on ubuntu
[13:51] <lotuspsychje> mekhami: a lot of users like inkscape to edit pdf's
[13:51] <tarzeau> pdftotext the.pdf | $EDITOR
[13:56] <zenof> on 20.04 with gnome, how can I switch to my ttys when I have a multimonitor setup (laptop+external monitor)?  pressing ctrl-alt-{f1,f3,f4,f5,f6} brings me to my my latop showing a blank black but switched on screen, and my external display is off. ctrl-alt-f2 brings me back to my x11-session, ctrl-alt-f7 shows me a gdm-login screen.
[13:57] <Tumulte> Hey !
[13:57] <Tumulte> Do you know how to make Ubuntu recognise my screen as a valid charging source (thunderbolt) ? Got the image. But not the charge
[13:57] <lotuspsychje> !tty | zenof
[13:59] <zenof> ubottu: so, it might be due to a resolution set to unmatching values?
[14:01] <zenof> I mean, when I  for example gnome press ctrl-alt-f3, my external display becomes dark black (as if switched off) and my laptop an illuminated black, but without any content.
[14:10] <zenof> and, no, https://help.ubuntu.com/community/ChangeTTYResolution doesn't help, as in grub I have already set up my proper resolution (1280x800 on a thinkpad), and on while booting the first tty works as expected.
[14:20] <zenof> also, my /etc/systemd/logind.conf is vanilla, but I simply can't access the ttys
[14:41] <Renevant> Good morning! Netplan question for any networking experts out there...using Ubuntu 20.04, and netplan apply returns "/lib/netplan/generate: symbol lookup error: /lib/netplan/generate: undefined symbol: get_global_network" and fails to apply the settings. Where am I going wrong here? Thanks in advance for your help :)
[14:42] <leftyfb> Renevant: pastebin your yaml
[14:42] <BinarySavior> if i'm running openvpn server, do i need to allow via iptables (ufw is not active)
[14:44] <leftyfb> BinarySavior: if you have iptables rules blocking all non-allowed traffic, then yes
[14:44] <leftyfb> BinarySavior: also port forwarding if you're doing any sort of NAT on your network
[14:45] <BinarySavior> leftyb thanks
[14:46] <BinarySavior> for some reason even after allowing udp on 1194 in iptables and also on my router forwarding 1194 to the openvpn I still am getting connection refused when trying to connect
[14:46] <Renevant> leftyfb: https://pastebin.com/y3HqXXR0
[14:52] <BinarySavior> weird, must have been my router, after disabling port forwarding, then re-enabling, now it's working
[15:03] <RiFo> hello, i installed ubuntu server onto a new disc and after the restart i got the error "connot find required map" any idea what went wrong? - it also shows "ubuntu" in the boot menu of the bios
[15:04] <Daulity> hey
[15:05] <Daulity> question how do i set a metric on interfaces with systemd-networkd? If i try the manual says that it can be under multiple labels but any i try it says unknown key
[15:26] <tomreyn> Daulity: http://manpages.ubuntu.com/manpages/focal/man5/systemd.network.5.html says that the "Metric=" value is only defined in the "[ROUTE]" section (i assume that's what you refer to by "labels")
[15:28] <tomreyn> (there is also "RouteMetric=" in the "DHCPv4" section (for when the DHCP client receives route metrics from the DHCP server))
[15:30] <tomreyn> RiFo: "Cannot find required map" is not a message I've ever heard of - could this be a firmware issued error message?
[15:30] <tomreyn> a web searc suggests this is an efi shell error message
[15:36] <RiFo> its comming from the bios probably, it can't seam to find the os
[15:36] <tomreyn> "Map: cannot find required map name." would be the very error message then, indicating that the UEFI firmware was unable to access some configured storage media path. which probably means it could not resolve a Boot record found in the NVRAM (as reported by efibootmgr -v)
[15:37] <RiFo> i tried booting again from the dvd and it keept cycling my monitor on and off somehow
[15:37] <tomreyn> is this hardware generally reliable?
[15:38] <RiFo> it worked since this week when the old hdd kept showing errors (after years of running)
[15:40] <tomreyn> RiFo: so you're saying the computer worked fine for years, but it had a broken HDD, which you replaced by some new storage a week ago, and it has been running fine from this new storage for a week now? but you reinstalled (?) today, and now it does not seem to boot off this new storage?
[15:41] <RiFo> it had been running fine until the hdd broke, i ordered a new one which arrived today, i installed ubuntu server without problems, but it didn't boot after the installtion
[15:42] <tomreyn> is this server hardware?
[15:42] <RiFo> yes
[15:42] <tomreyn> with just a single disk?
[15:43] <tomreyn> which ubuntu release did you install today, whihc one were you running previously?
[15:43] <tomreyn> is secure boot enabled?
[15:44] <tomreyn> is this a different type of storage media than you used to have (HDD) now (such as an NVME)? is the bios up to date?
[15:44] <RiFo> i don't think the server has secure boot, and i installed ubuntu-21.10-live-server-amd64
[15:45] <tomreyn> i see, most people would probably stick to LTS releases for servers.
[15:46] <tomreyn> (but that doesn't mean it's wrong to use 21.10, just unusual)
[15:46] <leftyfb> some people must enjoy upgrading their production servers every 9 months with non-LTS :)
[15:47] <ioria> RiFo, have you tried to change the sata port ? or reset bios to defaults ?
[15:47] <RiFo> ill try changing the port
[15:54] <RiFo> resetting bios seams kind of radical  ^^' ill try to avoid that
[16:08] <RiFo> i changed some configs in the bios then it showed up in the efi console
[16:08] <RiFo> i then could manuelly boat the kernel
[16:12] <Renevant> Good morning! Netplan question for any networking experts out there...using Ubuntu 20.04, and netplan apply returns "/lib/netplan/generate: symbol lookup error: /lib/netplan/generate: undefined symbol: get_global_network" and fails to apply the settings. Where am I going wrong here? Thanks in advance for your help :)  [YAML file here:
[16:12] <Renevant> https://pastebin.com/y3HqXXR0]
[16:12] <RiFo> ((server boards takes ages to reboot xD))
[16:20] <leftyfb> Renevant: why are you specifying NM as your renderer? Are you using NM?
[16:23] <Renevant> @leftyb Yes sir. Every primer I've read has directed me to specify NetworkManager or networkd as my renderer, and I've probably upgraded/deployed 4 dozen servers and this is the first time I've encountered this error. I suppose I could change the renderer; I don't think I tried that yet
[16:24] <leftyfb> Renevant: does this "server" run a GUI desktop?
[16:24] <Renevant> @leftyb: It does. ubuntu-desktop on ubuntu 20.04 server
[16:26] <leftyfb> Renevant: then don't edit/create netplan files. Use network manager to edit your network settings
[16:27] <TJ-> Renevant: looks like a possible problem with the netplan package. Does this report that symbol: " strings /lib/x86_64-linux-gnu/libnetplan.so.0.0  | grep  get_global_network "
[16:27] <Renevant> @leftyb - Herein lies the problem - I don't have direct access to the machine. I use Microsoft Azure, so I don't have access to the GUI, just a CLI
[16:27] <leftyfb> Renevant: then why is there a desktop installed and running?
[16:27] <Renevant> @leftyb I will check that now; thank you
[16:28] <Renevant> @leftyb During initial setup and QA, gui is installed. Does it need to be? That could be argued for and against....
[16:28] <RiFo> got it working btw, thanks for the ideas
[16:28] <leftyfb> Renevant: if it's not used, then don't install it
[16:29] <TJ-> pointy-clicky == larger attack surface for malicious code
[16:29] <Renevant> NOted, thank you
[16:30] <TJ-> Renevant: did you check for that symbol?
[16:30] <Renevant> @TJ- I will do so as soon as possible and report back
[16:31] <TJ-> Renevant: if it does, then next do "ldd /lib/netplan/generate" and make sure all libraries have been resolved correctly
[16:31] <TJ-> Renevant: helps to compare outputs of those commands against a known-good system
[16:32] <Renevant> Thank you both. Apologies if the question is juvenile; still getting familiar...
[17:33] <Gallomimia> how can i modify what appears on the side-bar of the file browser? Ubuntu 21.10
[17:48] <jhutchins> Gallomimia: Load a different page.
[17:49] <jhutchins> Gallomimia: Which browser?  What does your "side bar" look like?  Does it persist across pages?
[17:52] <Gallomimia> there's no pages. it's a view of my home directory
[17:53] <Gallomimia> and yes it persists. and i can't change it. i also can't set any button to view root dir
[17:58] <leftyfb> Gallomimia: you drag folders from the main pane on the right over to the side bar on the left, you sould see "new bookmark" appear. Drop it onto that
[17:59] <Gallomimia> ..... i tried that
[17:59] <leftyfb> Gallomimia: and what happened exactly?
[17:59] <Gallomimia> nothing
[18:00] <Gallomimia> i can't drag root onto it, and i can't drag stuff i don't want off of it
[18:01] <leftyfb> Gallomimia: you can modify the favorites you add by right-clicking them
[18:01] <Gallomimia> the option to remove is greyed out
[18:01] <leftyfb> Gallomimia: can you take a screenshot?
[18:02] <Gallomimia> urg, i have to cut off the other two monitors
[18:04] <Gallomimia> brain fart.. where do i post an image to share?
[18:04] <leftyfb> !paste
[18:04] <Gallomimia> https://imgur.com/a/xz7eKkF
[18:05] <Gallomimia> thx
[18:05] <leftyfb> ok, what I said still stands
[18:05] <Gallomimia> and what i said still stands
[18:05] <leftyfb> [14:01:05] <leftyfb> Gallomimia: you can modify the favorites you add by right-clicking them
[18:05] <Gallomimia> none of the things you said to do are working. and i tried them already.. it's rather intuitive
[18:06] <leftyfb> Gallomimia: you can't modify the defaults the same way. I said the ones you "you add"
[18:06] <Gallomimia> well then how do i modify the defaults
[18:07] <leftyfb> here's a hacky way to do it, let me see if there's a cleaner way https://ubuntuforums.org/showthread.php?t=2375449&s=3a14daae2d4aca4c6c2b0a3821fbee97&p=13718365#post13718365
[18:08] <Gallomimia> that's not a hacky way, that's an elbows deep way
[18:08] <leftyfb> in ~/.config/user-dirs.dirs
[18:08] <leftyfb> there is no way in the default GUI options built into the Gnome desktop
[18:09] <Gallomimia> no this is perfect
[18:09] <Gallomimia> i guess you can't change the first three, starred, recent, home. that's ok tho
[18:10] <Gallomimia> uh, how does it load?
[18:10] <leftyfb> you might want to set enabled=False in /etc/xdg/user-dirs.conf. Otherwise you might get those bookmarks back when you login again
[18:11] <Gallomimia> i have as yet not had the changes take effect
[18:11] <leftyfb> they won't until you log out and back in
[18:12] <Gallomimia> ok
[18:12] <Gallomimia> and that true/false switch you mentioned.... rewrites the config in my home dir each login?
[18:12] <leftyfb> Gallomimia: you might also look at ~/.config/gtk-3.0/bookmarks
[18:12] <leftyfb> Gallomimia: try them all, see which one works for your needs
[18:15] <Gallomimia> hmmmmm i edited the files in both xdg
[18:16] <Gallomimia> it had an effect. but the ones i deleted are now.... favorites? or. they're in a separate pane, and show a directory icon instead of their old one
[18:16] <Gallomimia> and i tried to add ROOT to the pane. which was unsuccessful
[18:18] <leftyfb> Gallomimia: can I ask, why do you need / as a favorite on the left? You really shouldn't(and can't by default) be doing anything in the root directory from the file manager
[18:18] <Gallomimia> i do it all the time
[18:18] <leftyfb> do what ecacty?
[18:18] <Gallomimia> look for things in my root dir
[18:18] <leftyfb> like?
[18:18] <Gallomimia> things in my root dir
[18:19] <Gallomimia> i prefer to mount several partitions there
[18:19] <leftyfb> ok, then bookmark the mounts
[18:19] <Gallomimia> still a work in progress on this particular install
[18:20] <leftyfb> Gallomimia: you're saying you need root because you need to find directories in root. Add the directories you're looking for, not root
[18:20] <Gallomimia> there'll be more than a few when i'm done. so, no.
[18:20] <leftyfb> Gallomimia: ok, then add all the mounts in /mnt/ and bookmark that
[18:22] <Ronalds_Mazitis_> hey where do ubuntu stores qt5-qmake
[18:22] <Gallomimia> and undesirable solution to just one of the examples i gave. i dig in my root dir lots of times per day. at least one reason for every file there
[18:22] <Ronalds_Mazitis_> ?
[18:22] <Ronalds_Mazitis_> I am on ubuntu 21.04
[18:23] <leftyfb> Gallomimia: there should be no reason for you to ever store files in the root directory
[18:23] <Gallomimia> not files, but there's a swap file there if you must know. each dir
[18:23] <leftyfb> Gallomimia: what on earth are you doing mesing with a swap file?
[18:24] <Gallomimia> ...... messing with a swap file. examining its size? who knows
[18:24] <Ronalds_Mazitis_> qt version not available in qtcreator
[18:24] <Gallomimia> look. you use your computer how you want to use it, and i'll use mine in the way i want to use it. you've been very helpful thus far. i want a way to pick my root directory. i used it 40 times per day on my previous install of ubuntu.
[18:25] <Gallomimia> i really can't answer your inquiries about why i want it besides to say "because i want it."
[18:25] <leftyfb> Ronalds_Mazitis_: sudo apt install qt5-qmake. qt5-qmake-bin if you need the binary
[18:26] <Ronalds_Mazitis_> I have those
[18:26] <Ronalds_Mazitis_> they don't appear in project settings when choosing kit
[18:26] <Gallomimia> Ronalds_Mazitis_, can you be more specific about what file you're looking for? you can find the binary by typing which <binary>
[18:27] <Ronalds_Mazitis_> it shows none in qt versions
[18:27] <Ronalds_Mazitis_> when I open qtcreator
[18:27] <Gallomimia> i'm chomping at the bit here to go to the gym. going to have to continue this modification later... got a good start thanks leftyfb
[18:28] <Ronalds_Mazitis_> ok added qmake from /bin
[18:28] <Gallomimia> added?
[18:29] <Ronalds_Mazitis_> btw my idea is to create widget like video editor
[18:29] <Gallomimia> oh into your project
[18:29] <leftyfb> Ronalds_Mazitis_: you might try #qt
[18:29] <Gallomimia> cool
[18:29] <Ronalds_Mazitis_> it will use c++ to collect files from one folder and then render using ffmpeg by sort I choosed
[18:29] <Gallomimia> let me know how it goes
[18:30] <Ronalds_Mazitis_> kinda used c++ in my job and that feature of file systems is way too cool nowadays
[18:30] <Ronalds_Mazitis_> I mean, past already
[18:30] <Ronalds_Mazitis_> but I hate video editors nowadays
[18:30] <Ronalds_Mazitis_> mine will just trim and leave raw sequence :>
[18:36] <CarlFK> I added a grub menuentry in /etc/grub.d/40_custom and ran update-grub, rebooted.. and I don't get a grub menu.  how do I get the grub menu?
[18:37] <sarnold> try holding left shift while booting
[18:38] <CarlFK> no luck
[18:40] <CarlFK> # GRUB_TIMEOUT_STYLE=hidden
[18:41] <Gallomimia> yeah there's a few options to determine if the menu shows, for how long, and what to do if the timer reaches zero
[18:47] <TJ-> For GRUB you need to tap Esc key repeatedly (UEFI cannot report state of modifier keys)
[18:48] <TJ-> GRUB_TIMEOUT_STYLE=menu is a better choice than 'hidden' along with giving a decent timeout so you have chance to actually respond before it starts the default boot entry
[18:49] <CarlFK> #ing the 2 lines out worked too
[18:49] <Gallomimia> pretty sure that just makes it read the option in question from a different file. defaults or something
[18:52] <Gallomimia> the deeper i get into manuals and documentation for xdg-user-dir the more confused and frustrated i become. that stuff is developed by the freedesktop.org project? where should i go for more support on that?
[18:59]  * alkisg prefers the windows approach for user dirs, where the dirs themselves are not translated, and the file managers are responsible for showing their localized names...
[19:00] <Gallomimia> i can somewhat agree with that. i come from the world of mac and feel the same. and in mac, a link to the root directory was not only possible, it was selectable as the default for new windows
[19:01] <Gallomimia> i can also understand what leftyfb was saying in that i should probably keep my fingers out of that cookie jar. but i've got several years of terminal use under my belt, dabbled with many config files, and if i'm smart enough to figure out how to get it to show up in this difficult config, then i'm smart enough to either refrain from doing something stupid or assume responsibility if i do.
[19:02] <leftyfb> Gallomimia: kinda going against yourself there. If that is all true, then you should be doing most things regarding the root directory from the CLI, not a file manager :)
[19:02] <Gallomimia> there seems to be a lot of effort put in to prevent me from doing this. that's a shame really. effort that could be spent fixing actual real bugs.
[19:03] <Gallomimia> i mix'n'match. depends what i'm doing, if i want to GUI view a config file, or whatever
[19:03] <alkisg> Gallomimia: can you sum-up what you're trying to do? I don't see it in the recent backlog...
[19:03] <Gallomimia> on mac there was a handy command to make the GUI show you the current working directory. i find it difficult on ubuntu
[19:04] <Gallomimia> alkisg, all i want, is for one of the quick dirs on the left of each file viewer window to be root.
[19:04] <Gallomimia> i already took some of the superfluous ones out thanks to some hints from leftyfb
[19:04] <alkisg> Ah, you mean gtk bookmarks?
[19:04] <alkisg> That's a different thing
[19:04] <Gallomimia> not bookmarks. the user dirs would be better
[19:05] <Gallomimia> i can't get it to show up in either
[19:05] <Ronalds_Mazitis_> find: ‘libMagic.so’: No such file or directory
[19:05] <Ronalds_Mazitis_> ubuntu
[19:05] <alkisg> To set e.g. that your documents are in / instead of in ~/documents? And you modified the config and it won't accept it?
[19:05] <Gallomimia> i'd like it to say... recent, starred, root, home, desktop.... and maybe documents and downloads
[19:06] <leftyfb> Gallomimia: the CWD is always at the top of the file manager. You can hit CTRL+L to see it typed out or even edit it
[19:06] <Gallomimia> i think you misunderstood what i was trying to say. i meant if i'm hacking around on the command line and want to open the dir in GUI
[19:06] <gneeriiloeepdeer> hi
[19:06] <gneeriiloeepdeer> im using pdftk to aes128 encrypt a pdf
[19:06] <gneeriiloeepdeer> file
[19:06] <leftyfb> Gallomimia: type: nautilus
[19:06] <alkisg> Ah, that's about customizing the gnome file manager, it's not related to xdg-user-dirs then
[19:07] <leftyfb> Gallomimia: or: nautilus .
[19:07] <gneeriiloeepdeer> I tried pdftk estrangement.pdf output 1.128.pdf user_pw alice
[19:07] <gneeriiloeepdeer> but I get
[19:07] <alkisg> !enter
[19:08] <gneeriiloeepdeer> Warning: Using a password on the command line interface can be insecure. Use the keyword PROMPT to supply a password via standard input instead. Except that I don't know how to do that> I have written <PROMPT> at the end of the command, but it is identified as an unexpected token. So, how do I do this right?
[19:08] <Gallomimia> nautlius . works ok. it's a bit unweildy compared to open .
[19:09] <leftyfb> Gallomimia: huh?
[19:09] <Gallomimia> is guud
[19:09] <Gallomimia> not great, but guud
[19:09] <leftyfb> Gallomimia: why is it not sufficient?
[19:10] <Gallomimia> i'll get used to it
[19:10] <Gallomimia> i'm just used to using open. nautilus... well i always type naulitus :P
[19:10] <Ronalds_Mazitis_> how to symlink libmagic.so.1 to libmagic.so
[19:10] <Ronalds_Mazitis_> ?
[19:11] <Gallomimia> ln -s source dest
[19:11] <Gallomimia> more info read man ln
[19:17] <leftyfb> Ronalds_Mazitis_: I really think you need to be asking these questions in #qt. It sounds like you are going to make a mess of things trying to shoehorn your system into acting the way you think it should act when in fact it's working fine, but there's some missing pieces you do not yet have a full understanding of
[19:22] <Gallomimia> Ronalds_Mazitis_ i agree but i think you should go to a support channel for whatever program you're using to create this project. is qt just one of the things you're including in the project?
[19:22] <Ronalds_Mazitis_> at this point I got to point where I did that
[19:22] <Ronalds_Mazitis_> as my error really leads to nowhere
[19:23] <Ronalds_Mazitis_> :-1: error: [Makefile:105: install] Error 1
[19:23] <Gallomimia> yeah i should have said something earlier. making symlinks in your libraries folder is probably a bad plan
[19:23] <Gallomimia> to explain this error, you should read the makefile at line 105
[19:24] <Ronalds_Mazitis_> so how do I dislink
[19:24] <Gallomimia> remove the symlink by deleting it
[19:24] <Gallomimia> carefully!
[19:25] <Ronalds_Mazitis_> ln -s libmagic.so.1 libmagic.so
[19:25] <Ronalds_Mazitis_> so which I delete
[19:25] <Gallomimia> the second one. but first, do a ls -l and you can see which one is the link
[19:25] <Ronalds_Mazitis_> lrwxrwxrwx  1 ronalds ronalds   13 nov  5 21:14 libmagic.so -> libmagic.so.1
[19:26] <Gallomimia> right
[19:26] <Ronalds_Mazitis_> what I do now
[19:26] <Gallomimia> so file libmagic.so is pointing at libmagic.so.1
[19:26] <Gallomimia> the .1 is the real file, leave that alone
[19:26] <Gallomimia> the other is the link. nuke it
[19:26] <Ronalds_Mazitis_> libmagic.so.1
[19:26] <Gallomimia> NO
[19:27] <Ronalds_Mazitis_> where is it stored even
[19:27] <Gallomimia> the one with no one
[19:27] <Gallomimia> i should ask you
[19:27] <Gallomimia> where is it stored?
[19:27] <Ronalds_Mazitis_> idnk
[19:27] <Ronalds_Mazitis_> I did
[19:27] <Gallomimia> where did you go to find it? where did you go to link it
[19:27] <Ronalds_Mazitis_> ln -s libmagic.so.1 libmagic.so
[19:27] <Ronalds_Mazitis_> that's it
[19:27] <Gallomimia> just... in your home directory?
[19:27] <Gallomimia> no wonder it didn't do anything
[19:27] <Ronalds_Mazitis_> ok so
[19:28] <Gallomimia> yeah i'm gonna suggest you take your hands off your keyboard and read a bit about the command line before you use it again.
[19:28] <tstirrat> i'm getting root filesystem close to full warnings. i run `du -xsh * | sort -rh` and it shows 27gb in /home, but /home is pointing at a different filesystem: `/dev/mapper/ubuntu--vg-home--lv on /home type btrfs (rw,relatime,ssd,space_cache,subvolid=5,subvol=/)`
[19:28] <tstirrat> is there something i'm missing here?
[19:28] <tstirrat> like why is `du -x` showing somethign that should be on a different filesystem?
[19:29] <Ronalds_Mazitis_> Gallomimia sorry, I'm just multitasking
[19:29] <Ronalds_Mazitis_> I deleted symlink
[19:29] <leftyfb> tstirrat: use ncdu
[19:29] <tstirrat> that's also more than i've allocated in total for the root VG
[19:29] <tstirrat> what's ncdu?
[19:30] <Gallomimia> Ronalds_Mazitis_, that symlink didn't point at anything. your home directory is not the place where library files are found
[19:30] <leftyfb> tstirrat: sudo ncdu /   # this will show you what's taking up space and where. It's a nice ncurses interface for du basically
[19:30] <tstirrat> ah kk
[19:30] <Ronalds_Mazitis_> yeah, I get that my error is makelists file right now
[19:30] <tstirrat> it looks like it stays within the filesystem by default
[19:30] <tstirrat> and it looks like there's 6gb of syslog
[19:30] <leftyfb> Ronalds_Mazitis_: ok, I would suggest asking for further help with your qt project and the IDE in #qt
[19:31] <tstirrat> is that something that i can safely delete if i'm not currently using it for debugging?
[19:31] <Gallomimia> Ronalds_Mazitis_, i also suggest you put your project on hold and spend an hour or two learning about the files you're trying to muck with unsuccessfully
[19:31] <leftyfb> tstirrat: how big is your drive? 6G isn't a lot of space
[19:31] <tstirrat> it's not, but i've got things set up with LVM
[19:32] <tstirrat> so i've got 20gb allocated for root and more for other things (docker, home, etc)
[19:32] <Gallomimia> it's a partition. if using LVM 15 gigs is plenty for an install
[19:32] <Gallomimia> but yeah. you got syslogs swollen up. sounds like you need to configure how much is kept, or put them in a new location
[19:34] <tstirrat> yeah this is related to some weird hibernate instabilities that have been happening since i upgraded to the most recent distro
[19:34] <tstirrat> i'll figure it out eventualy
[19:34] <tstirrat> but it looks like i can just truncate/empty syslog in the meantime
[19:36] <VMGuy23> xfce the theme is weirdly dark even though its a light theme
[19:36] <VMGuy23> theres white on white and black on black
[19:37] <leftyfb> VMGuy23: pick a different theme that best suits you
[19:37] <VMGuy23> leftyfb: this is the theme i want, it works fine on another account
[20:20] <imi> is there a linux command to zoom/shrink a pdf file? I have a pdf file with a single 55x55mm page. I'd like to scale it down to 45x45mm with the contents scaled/zoomed/shrinked accordingly as well
[20:20] <Ronalds_Mazitis_> hey
[20:21] <Ronalds_Mazitis_> why #qt seems to not responde
[20:21] <Ronalds_Mazitis_> at all
[20:21] <imi> Ronalds_Mazitis_: people might be away
[20:21] <Ronalds_Mazitis_> qtcreator does not provide working CMakeLists.txt after installation
[20:22] <Ronalds_Mazitis_> there project is broken in basic
[20:22] <imi> I've never seen this issue yet
[20:22] <Ronalds_Mazitis_> sudo apt install qt5-default
[20:22] <Ronalds_Mazitis_> sudo apt-get -y install qtcreator
[20:22] <Ronalds_Mazitis_> sudo apt install qt5-qmake
[20:22] <Ronalds_Mazitis_> after that
[20:22] <Ronalds_Mazitis_> created project
[20:22] <leftyfb> Ronalds_Mazitis_: try https://forum.qt.io/
[20:22] <leftyfb> Ronalds_Mazitis_: your issues are around qt development, not ubuntu
[20:23] <Ronalds_Mazitis_> yall waste people time
[20:24] <Ronalds_Mazitis_> I've been programming like 6 years and these people like to fuck people time like it is a bussiness
[20:24] <Ronalds_Mazitis_> expecially on startup
[20:24] <leftyfb> Ronalds_Mazitis_: please stop
[20:24] <Ronalds_Mazitis_> maybe more
[20:24] <Ronalds_Mazitis_> sorry
[20:24] <Ronalds_Mazitis_> I can't get why computers can't work in future
[20:25] <sarnold> because those jerks in the future that invented time travel haven't come back to us to share how it's done. so we're stuck with computers that only work in the present :(
[20:26] <Ronalds_Mazitis_> no it's all done but the working basics You build up everything still are delivered by jerks
[20:26] <Ronalds_Mazitis_> learn to respect humanity
[20:26] <leftyfb> Ronalds_Mazitis_: good luck with your project
[21:17] <BinarySavior> something weird just happened, i restarted my computer, then it asked me for smartcard pin upon login
[21:18] <BinarySavior> the only way i could log in was crtl+alt+f2, log in at terminal, then do startx
[21:18] <BinarySavior> but x is different, what's the desktop environment native to ubuntu 21.04?
[21:18] <coconut> gnome
[21:19] <jhutchins> Possibly Wayland?
[21:19] <oerheks> startx .. that is old
[21:19] <jhutchins> BinarySavior: What did you do BEFORE you restarted?
[21:19] <BinarySavior> jhutchins, nothing that I can recall
[21:20] <BinarySavior> would starting ssh server change it?
[21:20] <jhutchins> Hm.  Automatic/unattended upgrade?
[21:20] <jhutchins> BinarySavior: Shouldn't.
[21:21] <Gallomimia> alright i have a question about this issue.. what in the heck is a "smartcard pin"
[21:21] <edlou> Whobuntu
[21:22] <edlou> Gallomimia: pin sounds like the credentials and smartcard sounds like the physical?
[21:22] <edlou> or w/e the term is
[21:22] <oerheks> Gallomimia, one could use a smartcard, but i am sure he knows how he set that up
[21:22] <BinarySavior> yea it's asking for pin
[21:22] <BinarySavior> and smartcard
[21:22] <edlou> so smartcard+pin
[21:22] <BinarySavior> i dont know my pin or smartcard
[21:22] <Gallomimia> yes i understand english but... where is it from? what does it do? i've never heard of it for computers or anything that ubuntu can run on
[21:23] <Gallomimia> what even is a smartcard?
[21:23] <BinarySavior> oh, i did set up a domain
[21:23] <BinarySavior> before restarting
[21:23] <BinarySavior> on my LAN
[21:23] <Gallomimia> the only thing i know about a smart card is that thing that opens the door to work, or a hotel room.
[21:23] <edlou> spam 0's and scream until someone worries
[21:23] <Gallomimia> and they don't have pin's
[21:24] <BinarySavior> so how can i pass this screen without crtl+alt+f2
[21:26] <BinarySavior> would establishing a domain on my LAN trigger ubuntu to start asking for smart cards?
[21:27] <blahboybaz> On ubuntu 20.04 I'm experienceing a problem like what is seen in this thread: https://askubuntu.com/questions/1191035/pcie-bus-error-type-transaction-layer-severity-uncorrected-on-shutdown-on-acer-s   I see that the person found a soln to their problem involving change the driver to use in Additional Drivers, however, I am unsure which of the options (among several) I should switch to. What I see in my
[21:27] <oerheks_> BinarySavior, yes, i think such event can trigger that smartcard issue. other machines on that lan should have the same issue
[21:27] <blahboybaz> Additional Drivers window gives multiple options. How can I discover which one I should switch to in attempt to solve my problem?
[21:28] <blahboybaz> https://pasteboard.co/r4LUF0WfKUVP.png
[21:28] <oerheks_> blahboybaz, choose the highest, 470 ?
[21:29] <oerheks_> they are all closed source, 'proprietary'
[21:31] <blahboybaz> oerheks: ok, now, considering that this is the only computer I have (and only way to get on this channel to chat) what is a basic strategy to use if the shtf and I lose display or some wierd thing like that?
[21:32] <blahboybaz> Is there some command I can use and boot into recovery mode or something to switch back so I could get back here?
[21:32] <oerheks> blahboybaz, yes, hold shift or esc on boot
[21:32] <oerheks> !recovery
[21:32] <blahboybaz> ok
[21:32] <oerheks> :-)
[21:33] <blahboybaz> Isn't recovery mode command line only?
[21:34] <BinarySavior> oerheks, i also have a yubikey plugged into my computer
[21:34] <BinarySavior> i dont know if that would have caused it
[21:35] <Gallomimia> uh, i think it is, but even so there's ways to view a webpage or visit an IRC channel
[21:36] <oerheks> yes, recovery is comandline, one could fix an update/reverse package, sudo ubuntu-drivers list / sudo ubuntu-drivers install nvidia450   as example
[21:37] <oerheks> BinarySavior, that could be, there is a yubikey wiki, but i wonder how this is related to your added domain?
[21:37] <BinarySavior> oerheks, i dont know probbly unrelated
[21:37] <BinarySavior> i can still access the internet / login with crtl+alt+f2, and i've had the yubikey for along time
[21:37] <BinarySavior> i've rebooted many times with the yubikey in my computer and never saw smart card / pin
[21:38] <BinarySavior> but this it the first time rebooting since establishing domain on the lan
[21:38] <blahboybaz> oerheks: ok, so how can I find the specific command to enter to set it back to the driver option I currently have? I would like to be armed with the correct command before making a change since I may not have the ability to find it if things go wrong after the change
[21:39] <oerheks> see https://linuxconfig.org/how-to-install-the-nvidia-drivers-on-ubuntu-18-04-bionic-beaver-linux
[21:39] <Gallomimia> if you're fixing stuff in your system, i advise you use a notepad and write down what you do. generally removing the stuff you added can get you back to a bootable point
[21:40] <blahboybaz> cool thanks
[21:40] <oerheks> but i don't think you would get issues on forehand
[21:40] <Gallomimia> i'm glad you would take the precautions. it's less than ideal to be seeking support using the device you're fixing when the issue involves reboots
[21:41] <Gallomimia> perhaps... print the page on recovery mode?
[21:41] <ztane> how do I force a certain version of pkg to be installed from ppa, looking at the apt-cache policy x for example, I can see that it has default version number of 0.8.10~develop-2021-10-12-5911fdf6-0ubuntu1~focal and then when I try to install x with apt install "x=0.8.10~develop-2021-10-12-5911fdf6-0ubuntu1~focal" I get "version not found"
[21:41] <oerheks> BinarySavior, oke you found out these 2 are related, the yubikey, in use or not before, now is acting as a OTP token.
[21:43] <ztane> aha it should be *"1:0.8.10-blablablabla", whatever that
[21:43] <oerheks> ztane, apt-cache <name> would give available versions, apt-get install package=version -V # would be the right syntax
[21:49] <rloehning> Hi. I just created an account on https://login.launchpad.net/ to report a CVE in 20.04, but I can't verify my email address because the page keeps telling me: "Bad bot, go away!" Not exactly friendly. Anyone have an idea what might be wrong?
[21:49] <jeremy31> rloehning: Do you get to an Ubuntu One sign on page?
[21:50] <rloehning> jeremy31: Hi. Yes, I do.
[21:50] <jeremy31> rloehning: Does is automatically fill in the info
[21:53] <cbreak> when can kernel 5.13.0.20 be expected in 21.10?
[21:53] <rloehning> jeremy31: I might not have been precise: I'm logged in already with email and password. When I click on the link in the verification mail, I get directly to the "verify ...@..." page where I click on "Yes I'm sure".
[21:54] <rloehning> jeremy31: I check "I'm not a robot" which gets accepted immediately without showing me a captcha first.
[21:54] <cbreak> because of https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1906476
[21:55] <BinarySavior> the yubikey is not working for smart card
[21:56] <rloehning> jeremy31: After clicking "Yes I'm sure" (or however the button is labelled in English), the page tells me to go away.
[21:57] <jeremy31> rloehning: It might be caused by a Firefox update
[21:57] <blahboybaz> Ok, so I have a 4k screen on this thing. When I enter into recovery mode (even from the time the menu to enter that mode comes up) the font is pinpoint small so that I have to use a magnifying glass to try and read what is there. Additinoally, I see information on switching from the xorg nouveau drivers to the proprietary driver but that is not what I need a command for. What I need a command for is to
[21:57] <blahboybaz> switch TO the nouveau driver (as in switching back from the proprietary driver if it effs up on me when I try it)
[21:57] <rloehning> jeremy31: Running FF 94.0 from Ubuntu 20.04's repos.
[21:57] <jeremy31> rloehning: https://bugs.launchpad.net/canonical-identity-provider/+bug/1949766
[21:58] <blahboybaz> I googled to find the command but still I'm seeing the wrong answers
[21:59] <blahboybaz> I'm currently using the xorg nouveau driver, want to try the proprietary driver, but need a way back if something goes sideways.  Currently: https://pasteboard.co/r4LUF0WfKUVP.png
[22:00] <rloehning> jeremy31: Looks similar indeed, but that is about logging in, isn't it? I think I am logged in, can browse my "Personal Data", "Account Activity" etc. in the account.
[22:01] <jeremy31> rloehning: try going to https://bugs.launchpad.net/ubuntu/?orderby=-id&start=0 and see if it shows you are logged in on the top right hand corner of the page
[22:01] <rloehning> jeremy31: Just the email verification doesn't work. And that doesn't seem "solved" as is the report's status.
[22:01] <blahboybaz> I may have just found the info. Sorry for the disturbance
[22:01] <rloehning> jeremy31: Negative. Top right reads "Log in / Register"
[22:02] <rloehning> So I'm _not_ logged in. :-/
[22:02] <rloehning> jeremy31: Anything I can do?
[22:03] <jeremy31> rloehning: you will likely have to contact the team running the Ubuntu One SSO
[22:04] <rloehning> jeremy31: You know who that is or how I can reach'em?
[22:05] <jeremy31> rloehning: I do not
[22:06] <blahboybaz> I thought this: https://askubuntu.com/questions/1032357/how-to-switch-from-nvidia-to-nouveau-drivers-on-ubuntu-18-04  was telling how to set the nouveau driver from the command line but after looking at it I think it may be addressing a different situation. In that thread it seems to be having you install the driver but I'm currently using it (so it must already be installed right?). Then if I switch
[22:06] <blahboybaz> to the proprietary driver; but, for some reason find I need to switch back, do I then have to install the nouveau driver again or just configure it to be used?
[22:07] <cbreak> jeremy31: https://wiki.ubuntu.com/SecurityTeam/FAQ#Contact ? Maybe a direct mail is less  hassle
[22:08] <tomreyn> rloehning: try #canonical-sysadmin - that's more likely to be correct than the security team
[22:09] <cbreak> blahboybaz: https://askubuntu.com/questions/1032357/how-to-switch-from-nvidia-to-nouveau-drivers-on-ubuntu-18-04 looks like exactly what you want. It seems you can use ubuntu-drivers to list devices / drivers, and then apt to install them
[22:14] <blahboybaz> cbreak: Ok, that is the same article I was referencing when asking my question.. specifically, they are saying to use the command  $ sudo apt install <driver to be used>   but is "install" the right command for my situation when I'm using that driver as I speak? Does the driver somehow become uninstalled when I switch away from it to the proprietary driver? Or is "install" meaning something different
[22:14] <blahboybaz> than installing the driver as if it were not on the system?
[22:14] <cbreak> I don't think it gets removed
[22:15] <rloehning> jeremy31: tomreyn: OK, I'll ask there. Thank you for your help!
[22:15] <blahboybaz> hope this works
[22:16] <blahboybaz> the possibility of losing the display device on your only computer (and way onto irc) is pretty scary
[22:19] <cbreak> blahboybaz: well. You can install irssi or similar
[22:20] <cbreak> let's see if irssi still works
[22:20] <blahboybaz> on what?
[22:20] <blahboybaz> this is my only computer
[22:20] <cbreak> on that computer
[22:20] <blahboybaz> without a display?
[22:20] <cbreak> it's a shell IRC client
[22:20] <cbreak> seems it works :)
[22:20] <blahboybaz> suppose the damn display is black
[22:21] <cbreak> it just needs a TTY
[22:21] <blahboybaz> then can I install and use irssi?
[22:21] <blahboybaz> no, I can't in that sitch
[22:21] <cbreak> even without X you should still be able to get a tty
[22:22] <cbreak> (those you get to with ctrl-alt-F4 and similar)
[22:22] <tomreyn> chances are that the resolution will be bad there, too, though
[22:22] <tomreyn> but it's worth a try.
[22:22] <blahboybaz> maybe it isn't worth trying to fix
[22:22] <cbreak> (if you try out that combo, you can go back with ctrl-alt-f1 I think... is that ubuntu's primary tty? it is here on kubuntu)
[22:22] <blahboybaz>  the damn thing is putting me through too much shit I don't know. Now it's asking to enter a password for secure boot
[22:23] <blahboybaz> I'm not into doing shit I don't understand when it comes to my computer
[22:23] <blahboybaz> eff it
[22:23] <tomreyn> i'd use a smartphone or tab or any other computer to communicate here while i am trying to solve a problem on some computer which has a potential of breaking screen output or keyboard / mouse input.
[22:24] <tomreyn> !language | blahboybaz
[22:25] <cbreak> I have multiple boot environments
[22:25] <blahboybaz> I'm just trying to get back to where I was at this point. You have to understand I'm not into this depth of dealing with shit on the computer. I get overwhelmed easy and i just don't want the stress of all the unknown. It isn't fun anymore. Maybe it never was
[22:25] <cbreak> if I break something, I can roll back to an earlier ZFS snapshot
[22:25] <cbreak> if I screw up something major, I have to zfs send a backup of the boot pool from my mac
[22:26] <cbreak> blahboybaz: there are a lot of unknown things in the depths of modern operating systems. And linux doesn't hide them as well as MacOS or even windows
[22:28] <yukiup> sssss
[22:28] <blahboybaz> Just want it to be over with at this piont
[22:28] <blahboybaz> point
[22:29] <blahboybaz> can't get it to go back to the nouveau driver now
[22:29] <cbreak> why do you not like the nvidia drivers?
[22:30] <blahboybaz> I explained it all earlier but hang on I'll type it up again
[22:32] <cbreak> I've never made any good experience with nouveau
[22:32] <cbreak> at work I always install the nvidia cuda packages, which bundle their own drivers from nvidia
[22:32] <cbreak> at home here I have the ubuntu nvidia driver package
[22:38] <blahboybaz> I'm getting this error:  https://askubuntu.com/questions/1191035/pcie-bus-error-type-transaction-layer-severity-uncorrected-on-shutdown-on-acer-s  the guy in that thread solved his problem by switching to the proprietary driver. I am aware that when changing drivers it is possible for sever problems to occur (such as losing the display entirely). If that should happen I wanted to be prepared (armed)
[22:38] <blahboybaz> with the correct sequence of events (and commands) to return to the xorg driver - even if that meant entering recovery mode to do so. Additionally, while chatting just now, I attempted to switch to the proprietary driver throught the Additional Drivers window (graphically). I was presented with a window to enter a password to be used for secure boot. I am not comfortable doing such a thing because (1)
[22:38] <blahboybaz> I don't know what result that will cause and I don't want to have to enter an additional password when I boot OR I do not want to have to remember a password to make change in bios in the future if I have to. AND (2) I though secure boot was disable in my bios settings anyway. Finally, I tried to return to the xorg driver at that point (without entering a secure boot password nor completing the
[22:39] <blahboybaz> process). It won't let me swtich back to the xorg driver now because it says something about a lock and unable to access something something. I just want to go back to the xorg driver and put an end to this nightmare so I can enjoy my computer again. I don't care anymore if it screws up when I resume from hibernation sometimes. I just want to be stop having to deal with this but I have to at least put
[22:39] <blahboybaz> things back the way they were
[22:40] <blahboybaz> I have considered simply rebooting the system but the nightmare I face, the thing that simply can-not happen, is that I either lose my display after the reboot or the letter become too pinpoint small to read anything again. I don't want to find things out the hard way - it's too painful
[22:51] <blahboybaz> That's kinda the reason I ask help on these channnels. Is cause I'm not interested in geeking out on this stuff that deeply - I just want to use it and enjoy it. I know problems happen (that is inevitable); but, when they do, I come ask for help with it. I don't try to solve it on my own because it was NEVER about that for me. I use linux cause I know it is more secure - overall just plain better. Not
[22:51] <blahboybaz> cause I want to dig down into all kind of problem solving skills and knowledge. Heh, I just wanna watch videos and play (that's what makes me happy). I usually just ignore little issues that come up figuring someone will fix it and it'll get pulled in with an upgrade sooner or later. I only even address a problem (like the one I had when I can here today) when it interferes with normal operation to the
[22:51] <blahboybaz> point I have to or really should (for convenience sake) do something about it
[22:51] <blahboybaz> Oh well, time to face the bease I guess
[22:51] <blahboybaz> $ sudo shutdonw now
[23:26] <five623468263> Hey everyone. I am facing a very odd issue with chroot. I prepare Ubuntu Raspberry Pi images (arm64) on my Ubuntu 21.04 amd64 host via chroot and qemu. It has always worked great, but since I updated my host to 21.10, inside the chroot, I can't invoke any command with arguments. For example, trying to mv goes like this:
[23:26] <five623468263> root@ubuntu:/# mv etc/resolv.conf etc/resolv.conf.bak
[23:26] <five623468263> mv: missing destination file operand after 'etc/resolv.conf.bak'
[23:26] <five623468263> Try 'mv --help' for more information.
[23:26] <five623468263> Trying to nano resolv.conf just opens a blank editor.
[23:26] <five623468263> This issue exists for absolutely every command arguments. Does anybody have any idea? Thanks
[23:27] <sarnold> wow that's crazy
[23:27] <five623468263> It's literally the most bizarre issue I've ever seen
[23:27] <M0rydon> hello
[23:28] <sarnold> five623468263: the usual convention when execution programs on unix is for the argv array to include the command name as the very first argument; so when you exec mv, it looks like: execve(mv, [mv, foo, bar, 0]);
[23:28] <sarnold> five623468263: so it feels a lot like whatever shell you're executing has forgotten this convention entirely :)
[23:28] <five623468263> my host shell is bash, and so is my chroot
[23:28] <jhutchins> five623468263: resolve.conf is in /etc
[23:28] <five623468263> the exact same chroot works wonders with Ubuntu 20.04 and before on the host... just not since 21.10
[23:29] <five623468263> I am in / when I execute that command
[23:29] <jhutchins> five623468263: Hm, no, that's not it if you're in /.
[23:30] <five623468263> The issue is that the shell fails to parse my commands, and I have never seen that happen before
[23:30] <five623468263> Could it be something to do with locales?
[23:30] <sarnold> probably not
[23:30] <rfm> five623468263, the only thing I can think of that causes that is getting $IFS set to something odd
[23:31] <sarnold> I suggest trying dash or tcsh or zsh or ksh or something and see if it's common to all the shells or if it's specific to the one shell
[23:32] <five623468263> Another strange issue is that whenever I run `chroot /mnt/chroot`, nothing happens until I Ctrl+C, then the chroot shell starts working
[23:32] <five623468263> I don't know if this means anything
[23:33] <five623468263> I just tried with plain old `/bin/sh` and the same behavior exists there
[23:33] <rfm> five623468263, that also sounds like there's something odd in the chroot profiles (like /etc/profile, or one of the per-user ones)
[23:34] <five623468263> Also, the craziest part, I can "work around the bug by doing this:
[23:34] <five623468263> cp SOME_UNUSED_WORD resolv.conf resolv.conf.bak
[23:34] <sarnold> cp cp resolv.conf resolv.conf.bak would be much more reliable
[23:35] <five623468263> Yeah, I was just visualizing the idea... but this is either way not a solution
[23:35] <sarnold> maybe it's less common these days but once upon a time it was commong for one executable to be used for multiple 'programs' and it would decide what to do by looking at argv[0]
[23:35] <five623468263> rfm: /etc/profile is standard for Ubuntu 21.10
[23:36] <five623468263> I should have probably mentioned, this is a completely unmodified Raspberry Pi Ubuntu 21.10 official image that I am mounting and chrooting into
[23:36] <five623468263> And yeah, it worked just fine on Ubuntu 21.04 and before on the host... The only thing that changed is the host Linux, so I don't think the problem is inside the chroot
[23:38] <tmus> Annoying issue with my laptop since upgrading to 21.10, after standby/resume the screen will blank after 30 seconds (not lock, just blank) (same issue across multiple thinkpads, intel and amd). This is causing me all sorts of grief... Can somebody tell be why this happens and how to fix it?
[23:41] <jhutchins> five623468263: Have you mounted /dev, /proc, and /sys?
[23:42] <five623468263> Yup!
[23:42] <rfm> five623468263, try running "\cp foo bar", the backslash will stop any function or alias substitution (which could cause this)
[23:42] <jhutchins> five623468263: Possibly $PATH?
[23:42] <sarnold> oh interesting idea
[23:43] <jhutchins> Wouldn't that be /bin/cp?
[23:43] <five623468263> root@ubuntu:/# \mv /etc/resolv.conf /etc/resolv.conf.bak
[23:43] <five623468263> mv: missing destination file operand after '/etc/resolv.conf.bak'
[23:43] <five623468263> Try 'mv --help' for more information.
[23:43] <five623468263> jhutchins: root@ubuntu:/# echo $PATH
[23:43] <five623468263>  /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
[23:44] <rfm> so, nothing there.   what does "type mv" say?
[23:44] <five623468263> root@ubuntu:/# type mv
[23:44] <five623468263> mv is hashed (/usr/bin/mv)
[23:45] <rfm> that looks normal.  definitely running out of ideas here
[23:45] <five623468263> I spent a solid 3-4 hours Googling this... not a single related issue
[23:45] <five623468263> Definitely out of ideas myself ^^
[23:46]  * jhutchins wonders what effect snap might have had on the environment...
[23:47] <rfm> is it just mv?   what does "echo a b c" say?  (also maybe "/bin/echo a b c" in case the builtin is different)
[23:48] <five623468263> Nope, it's everything. The first argument is always swollowed
[23:48] <five623468263> root@ubuntu:/# /bin/echo a b c
[23:48] <five623468263> b c
[23:58] <five623468263> I also just tried a few other Ubuntu 21.10 distros to make sure the issue is not there.. Same with both xubuntu and lubuntu
[23:59] <oerheks> my guess; your image is read only..