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

noarbseems like a fulls cups is needed even to be a client: https://lists.cups.org/pipermail/cups/2015-October/027229.html00:09
BinarySaviorwhen i use apt remove libqt5gui5, apt automatically installs libqt5gui5-gles at the same time, why does that happen?00:45
tomreynBinarySavior: most likely to satisfy a dependency which was previously provided by libqt5gui500:50
=== genii is now known as genii-core
BinarySaviorwhere can i find the full thread trace for a segfault?01:13
BinarySaviori see the segfault in dmesg but it's lacking the details i'm looking for01:13
tomreynin /var/crash if it was handled by apport01:15
tomreynsee apport-unpack01:16
=== M4he is now known as mahe
BinarySaviorthank you tomreyn01:31
BinarySaviorapport-unpack crashed lol01:36
BinarySaviorValueError: ['separator'] has no binary content01:36
BinarySaviorbut it looks like it got most of the info unpacked already01:36
tomreynmaybe it's incomplete, or your systems' python installation is broken01:37
luizfrdsso i have these .img files that were partitioned on 32GB Sd cards. But i'm aware that they actually hold like 1GB of data03:23
luizfrdswhat is the right procedure to reduce its size?03:23
luizfrdscan it be done in the .img itself?03:23
clarkIs anyone there?03:26
toddcclark: post your question and someone will answer03:27
toddcluizfrds: I think the .img is compressed so no. any changes must be made to the installed image03:29
luizfrdsi don't think so. why would it have the full partition size?03:30
luizfrdslike 32GB03:30
toddcluizfrds: I used the raspbeery pi image often. I write it the disk the expand the partition  to the disk size03:32
luizfrdsyeah.. i might want to do the oposite03:32
luizfrdsif possible doing on the .img files would be awesom03:33
luizfrdsbut this isn't an issue to be fair03:33
toddchttps://itstillworks.com/drive-not-mounting-mac-terminal-12058343.html03:34
forgotmynickIn hosts.deny I can do `sshd: all except /some/file`. Can that /some/file contain comments?04:37
=== RonnieDobbs is now known as Ronnie
=== Ronnie is now known as RonnieDobbs
=== saribro is now known as swinnenb
varanHello, I have duplicate icons on the desktop after upgrating to ubuntu 21.0407:08
varanThe duplicates cannot be removed07:11
varanWhere is the problem?07:11
JordanBerlynvaran: Do you have multiple versions of the desktop icons extension added? You can check with the Gnome Extensions app.07:46
=== JordanBerlyn is now known as Berlyn
ipatrolHm, it looks like the only way I'm going to be able to move my setup to my new laptop is with an HDD transplant via expansion bay, because the new device's built-in SDD isn't even big enough to hold my /home directory!08:04
BerlynHey all. How straight forward is it to dual boot Windows 10 and Ubuntu on two separate drives?08:10
EriC^^Berlyn: pretty easy08:10
EriC^^if you're using uefi, i'd use an efi partition for each one on its drive so they're stand-alone installs08:11
BerlynYeah, running UEFI. Would that just mean when I want to swap between operating systems, I just select the boot priority during boot.08:12
ipatrolBerlyn: Not as easy as it used to be. In particular, some computer models require reconfiguration first08:12
ipatrolI can say this because I just spent the last ~5 hours on that project08:13
alkisgWhat kind of reconfiguration?08:13
ipatrolalkisg: Some machines now by default are set to use a proprietary device driver for their hard drive, which is not available for Linux.08:14
alkisgipatrol: and how is this related to dual boot? Wouldn't that be an issue in single boot too?08:15
ipatrolThe BIOS can be configured to use the open standard instead, but on such computers the Windows install doesn't by default include those drivers, so making that change without fixing the driver issue on Windows will cause it to fail to boot.08:16
BerlynI'm still trying to solve a performance issue on Ubuntu, hence wanting to dual boot for the interim.08:17
ipatrolAlso, on most UEFI systems, you have to enter the boot order systems from within the Windows OS, just FYI.08:19
ipatrol(I think GRUB can also do that once it's configured)08:19
EriC^^Berlyn: just set ubuntu up as the boot priority, and in its grub you'll have windows and be able to boot that from there, if you ever remove the ubuntu hdd windows will still have its efi partition on its own drive08:20
ipatrolEriC^^: If the AHCI setting isn't configured, Ubuntu will be unable to recognize the hard disk.08:22
BerlynI'm having a really strange issue on Ubuntu with my GTX1070. I have the proprietary drivers installed but whenever I watch a video on Firefox, everything starts to run really slow.08:23
BerlynWindows moving around, resizing, etc.08:23
BerlynAnd my CPU will sit at like 30-40%.08:23
BerlynDoing the same thing on Windows, get like 2-3% CPu usage. It's almost as if Firefox isn't utilising my GPU to play the videos.08:23
ipatrolIs that an Ubuntu issue or a Firefox issue?08:23
BerlynI am not experiencing the same issue on Firefox on my laptop which also uses an NVIDIA dGPU.08:24
alkisgGo to about:support and search for differences between these systems08:26
alkisg(that's a url in firefox address bar)08:26
ayrusHi, please let me know if there is any  opensource REST client, which I can install on Ubuntu Server?08:27
ipatrolI'm sure there is, though "REST client" is a fairly broad term08:28
ayrusipatrol: I'm looking for postman kind of software which can run on ubuntu server and members can use after login.08:29
ipatrolNot familiar enough with that to help on the matter08:32
ayrusipatrol: ok, thanks!08:32
Berlynalkisg, Compositing is set to WebRender (Software).08:32
ipatrolGod  *08:32
ayruswhat's happening ? so many people terminated at once?08:33
ipatrolNetsplit!08:33
ayrusare they bots?08:33
ayrusipatrol: oh!08:34
ipatrolApparently IRC still hasn't fixed the netsplit problem08:34
varaindemiantried to install python on 32 bits on an ubuntu x64 and failed08:38
varaindemian`sudo apt python3:i386 `08:38
varaindemianany idea how I can accomplish this?08:38
ayrusvaraindemian: what is the error message?08:38
varaindemianayrus: installation successfully, restarted the machine and I had no gui08:39
ayrusI think you need `ia32-libs`08:40
ayrusvaraindemian: dpkg -l ia32-libs  if that is present in your system then the output should be like this (ii   ia32-libs ...)08:41
=== denningsrogue9 is now known as denningsrogue
ayrusvaraindemian: python2.7 -c 'import struct;print( 8 * struct.calcsize("P"))'08:42
varaindemianayrus: I restored the setup08:43
ayrusok08:43
varaindemiannow I have a clean install and I am looking for a way to have python3 32-bit on ubuntu 20.04 x6408:43
ayrusvaraindemian: you can have a virtual box of ubuntu 32 bit and install python on that one.08:44
hajonnesis there a log of all the responses that is printed in the term. i.e. like 'history' but for responses.08:44
ayrushajonnes: what kind of responses, I didn't get that?08:45
varaindemianayrus: I know but my current CAPEv2 sandbox setup requires python3 on 32 bits but most of the things I'd like to detonated in that sandbox are on 64 bits so they won't work08:45
ayrusvaraindemian: oh!08:46
varaindemianayrus: hajonnes probably refers to commands output08:47
hajonnesayrus, I tried to install with 'apt' and got response in termial that some of the things were already added to certain files. I would like to review that message again. is it possible?08:47
hajonnesvaraindemian, yes that is  it08:47
ayrushajonnes: oh, yes you can log. but by default I don't think so ubuntu logs the output of the command.08:48
ayrushajonnes: you can use `script` to log08:48
ayrushajonnes: or you can use https://asciinema.org/ to log all output input and play it later using this.08:48
hajonnesayrus, thank you! that looks good. otherwise 'script' you mean I should build a script that does it?08:49
ayrushajonnes: no, there is command named as script, which you can record the output to a txt file08:50
ayrushajonnes: script terminal.log08:50
ayrushajonnes: like this, it will log all the output to that file.08:51
geirhahajonnes: And don't cross-post. I just gave the same answer (script(1) or ascineema) in #linux08:51
geirha*asciinema08:51
hajonnesayrus, nice. Thanks again. do you by any chance know where to put the command if I want to auto load it at startup?08:52
hajonnesgeirha, ok. but sometimes you do not get an answer in one channel, then you try an other.08:53
ayrushajonnes: you can put it on ~.bash_profile and ~.bash_logout and save the output to the dynamic current timestamp and file path.08:58
hajonnesayrus, I do not really understand dynamic current timestamp and file path, what do you mean?09:18
ayrushajonnes: it's basically shell scripting. you need to create a variable to store the current timestamp, so that when you log on to terminal it will start script and store the output the different file every time.09:21
ayrushajonnes: like variable TIMESTAMP=$(date +%Y-%m-%d-%H.%M.%S), then use it as "script $TIMESTAMP.terminal_log.txt" in your bash profile.09:22
hajonnesayrus, ok I will have to look in to and learn som shell scripting, it is good to know anyway.09:23
ayrushajonnes: yes, it's good to learn shell scripting if you are working in linux for automation.09:24
hajonnesayrus, on that note. I would like to run 'setxkbmap eu' every time gnome has started. do you have a suggestion on how to do that. why I would like to do that is because I can not select my keymap in gnome.09:25
ayrushajonnes: you can use crontab to run it at the time of restart. It will run after the server start, but not when the gnome start.09:27
alkisgcron doesn't have access to the current session nor to DISPLAY, it won't work09:28
ayrushajonnes: or you can run the shell script to start the gnome and after that put a line for this command also.09:28
alkisgYou can run setxkbmap from /etc/xdg/autostart; but as I said a couple of days ago, it would be better to run `sudo dpkg-reconfigure keyboard-configuration` instead09:28
ayrushajonnes: then run that shell script09:28
ayrusalkisg: oh, thanks for the information.09:29
ice9how can I make nvidia primary GPU in wayland?09:30
ayrusalkisg: will that not run by the cron by `@reboot any_command` ?09:31
alkisgayrus: the setxkbmap command needs access to xorg, like running e.g. xterm09:32
alkisgRunning xterm at reboot from cron won't work either09:32
alkisgAs there's no DISPLAY to draw to09:32
oldgalileoDoes anyone here have a good solution for building `systemd` in a docker image?09:32
ayrusalkisg: ok, I got it. he got different scenario.09:33
hajonnesalkisg, I tried your suggestion, will try to reboot and see if it worked.09:34
=== Starmina_ is now known as Starmina
ayrusoldgalileo: https://medium.com/swlh/docker-and-systemd-381dfd7e462809:35
oldgalileoayrus: Thanks for the link. I'm talking about building `systemd` itself, rather than a unit file09:39
ayrusoldgalileo: ok09:39
oldgalileoayrus: Was having a bit of trouble getting it built on a not-so-fresh machine :/09:40
hajonnesalkisg, It did not work. I tried it when you suggested it a couple of days ago also but it did not work then either. only 'setxkbmap eu' works. the problem is that I can not find my keyboard layout when running dpkg-reconfigure. and when I run 'setkbmap eu' and then dpkg-reconfigure and choose keep keyboard map the setting is not persistent between boots.09:40
hajonnesdo you know what is wrong?09:41
hajonnesalkisg, I think one of the problems is that I do not know where the 'eu' settings is. the settings are ordered by country. the eu keymap is a us keymap with european special symbols under altGr combinations.09:43
hajonnesso to use your suggestion I first have to know under what country the eu keymap is registered if it at all exists. Do you know how to see that?09:45
ledenihajonnes, you looking for '£'?09:49
hajonnesledeni, I'm using åäö since I'm swedish.09:50
ledenihajonnes,did you try English uk09:56
hajonnesledeni, Haha... perhaps you solved it....I will try. I thought there were a difference between us and uk english keyboard and since I think eurkey uses us layout I must have missed it.10:01
ledenihajonnes, 👍10:02
BerlynHow stable are non-LTS versions for every day use on a desktop machine?10:02
hajonnesledeni, the eurkey does not exist in dpkg-reconfigure under uk. but I found it in gnome setting when I scrolled under uk...10:02
hajonnesledeni, sometimes you need to have someone point out stuff to you because you have spent to much time struggling with a problem that you can not think outside your own circle of thoughts. I will try to reboot and see if the settings persists.10:05
hajonnesthanks.10:05
oldgalileoBerlyn: blaze forward on the righteous path of non-LTS releases and pave the way for the next generation10:05
Berlynoldgalileo, Almost all of my servers are always running the LTS, I've only just recently started experimenting with Linux on the desktop10:06
BerlynRunning 20.04 on this laptop, just because it's what I know10:06
oldgalileoBerlyn: Haha just giving you a hard time10:12
Berlynoldgalileo, You're the only one convincing me right now. 1 vote to me upgrading to 21.04, 0 votes against haha10:12
hajonnesledeni, it worked! Thank you. :D10:16
ledenihajonnes, great 👍10:16
hajonnesalkisg, sorry for 'frustrating' and thanks for your input, it is people knowledgeable as you that makes this irc channel truly marvelous! :D10:18
alkisghajonnes: sorry I was afk, did you find the solution?10:19
alkisgWhat's the keyboard layout name for swedish?10:19
alkisgFrom what I can see, `setxkbmap se` should allow you to type the euro key with right alt + e10:20
hajonnesalkisg, 'se' I think but it was a long time since I used it, I have a us layout kinesis keyboard and I touch type us and for special signs I use altGr combinations.10:21
hajonnesalkisg, it is not the euro sign eurkey manages but it is a us layout with a lot of, if not all the speical characters you find in european languages reached by altGr combinations. If you want to take a look: https://eurkey.steffen.bruentjen.eu/layout.html10:23
alkisgThe us(euro) layout has the euro key in right alt + 510:24
alkisgI think you're looking for that one? Let me upload a screenshot...10:24
hajonnesayrus, thanks for your help as well :)10:24
ayrushajonnes: your welcome :)10:25
hajonnesayrus :)10:25
oldgalileoThis feels extraordinarily stupid, but how do I install a package from the source found here: https://launchpad.net/ubuntu/+source/systemd/234-2ubuntu1310:25
oldgalileoI've grabbed the 1debian.tar.xz110:25
oldgalileo*`debian.tar.xz`10:26
hajonnesalkisg ok10:26
oldgalileoIn that tarball, there isn't a make file, autoconf, or anything like that10:26
oldgalileo:/10:26
* alkisg uploaded an image: (56KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/JJSKIRVTVmenjDQyplsJCpGf/us-euro.png >10:26
alkisghajonnes: did matrix sent a picture link above? ^10:26
alkisg(I'm not using an IRC client, I'm using matrix to irc bridge)10:26
oldgalileoalkisg: That's sick.10:26
alkisgThese are the keys of `setxkbmap us(euro)`10:27
oldgalileoalkisg: That worked really seamlessly.10:27
hajonnesalkisg, yes it worked.10:27
alkisgoldgalileo: nah, it's actually a very modern and slick way to use IRC10:27
alkisgGreat, drag'n'drop, no more imgur :D10:27
oldgalileoDamn maybe I'll have to set that up.10:28
oldgalileoJust hopped onto a new M1 mac and haven't gotten around to configuring `wechat`10:28
hajonnesalkisg, how did you do that with the picture, I'm on hexchat can I do the same or do I need matrix?10:28
oldgalileoWas looking around for a better IRC client and the pickings are slim on `macOS`10:28
alkisghajonnes: I don't see a description of a "eu" layout in `man xkeyboard-config`10:28
* alkisg uploaded an image: (76KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/UwzGWAiUJdxwYlLCvyeqXtfx/eu.png >10:30
alkisgThat's the `setxkbmap eu` layout ^10:30
hajonnesalkisg, the eu layout is preinstalled in ubuntu. according to the eurkey homepage it is shipped with xkeyboard-config 2.12 and newer it if it is applicable.10:30
hajonnesalkisg, that is the one I wanted but could not find in dpkg-reconfigure keyboard-configuration10:31
alkisgMaybe it's not there yet, in which case you'd need to put it manually in /etc/default/keyboard-configuration10:32
alkisgThen xorg will pick it up and use it in the login screen and in all the desktop environments10:32
alkisgdpkg -L xkb-data | grep -w eu10:32
alkisg/usr/share/X11/xkb/symbols/eu10:32
alkisgLet me see if it's available in keyboard-configuration...10:33
hajonnesalkisg, ok10:34
oldgalileoOkay I seriously feel stupid10:35
oldgalileoI do not understand how to build this: https://launchpad.net/ubuntu/+source/systemd/234-2ubuntu1310:35
alkisghajonnes: no it's not; a bug report should be filed; in the mean time you can put it in /etc/default/keyboard manually10:39
hajonnesalkisg,could you file the bug report? I do not really know how.10:40
dimkWHO #channel10:41
dimkWHO #ubuntu10:41
alkisghajonnes: no, sorry, but I'm sure there are many tutorials for reporting bugs10:41
EriC^^!bug | hajonnes10:42
ubottuhajonnes: If you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug <package> » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs.10:42
hajonnesalkisg, ok I do it. should I file it to ubuntu? or some package maintainer?10:42
hajonnesalkisg, sorry for my ignorance but what package is it?10:43
lotuspsychjehajonnes: first you need a launchpad account, then pinpoin the right package to bug against10:44
lotuspsychjehajonnes: after that you can ubuntu-bug your-package from a terminal10:44
hajonneslotuspsychje,ok I will try to make it...10:44
hajonnesalkisg, so I would make a text file in /etc/default/ with the name keyboard-configuration and in the text file I should give the path to the eu keyboard layout?10:46
alkisghajonnes: the file /etc/default/keyboard should already be there; you should be able to edit it10:49
alkisgAnd yes, ubuntu-bug keyboard-configuration10:50
hajonnesalkisg, do you know how to set the same keyboard configuration in 'tty mode'10:50
ice99how can I make nvidia primary GPU in wayland?10:50
alkisghajonnes: from the same file, it should also affect console10:51
hajonnesalkisg, the settings are: BLAYOUT=eurkey10:54
hajonnes   2 BACKSPACE=guess in /etc/default/keyboard. Is it already correct?10:54
hajonnessorry should be: BLAYOUT=eurkey10:54
hajonnes  BACKSPACE=guess10:54
alkisgThe settings are reported if you run `setxkbmap -query`10:54
alkisgYou can then put the same settings in the configuration file10:54
alkisgAlso, when you say "BLAYOUT" I guess you mean "XKBLAYOUT"...10:56
hajonnesalkisg, yes. that is true. my keyboard file looks like this now https://pastebin.com/56H1qPE411:00
hajonnesI commented out the previous settings.11:00
hajonnesdoes it look ok?11:01
hajonnesI changed pc105 to kinesis since I use a kinesis keyboard.11:01
hajonnesalkisg, ^11:02
oldgalileoFWIW: Learned how to build that stuff I linked earlier.11:03
oldgalileoThe `.dsc` instructs `dpkg` on how to patch and build11:03
oldgalileoNow I'm in dependency downgrade hell, but that's a whole 'nother can of worms11:04
hajonnesalkisg,brb I will try to reboot.11:06
alkisghajonnes: if I understood you correctly, you were looking for layout: eu, not eurkey,us11:24
alkisgBut, whatever works for you :)11:24
hajonnesalkisg, I think they are one and the same 'setxkbmap eu' is the command to get eurkey via setxkbmap. then in gnome I can set 'eurkey' under UK keyboards. but eurkey does not work under tty...I know there are two different systems in xwindows and tty. I'll look in to it.11:40
jaggzwhere's /etc/default/locale come from?11:40
jaggzlooks like update-locale will create it.. hrm11:43
alkisghajonnes: no, eurkey is one key, while eu is a whole keyboard layout with many keys11:44
hajonnesalkisg, With all the settings I have done I'm not totally sure that I'm right. but in gnome settings>region & launguage > Input Sources, I can select UK>EurKEY and get the same layout as if I would use the command 'setxkbmap eu'. The homepage of the layout calls it EurKEY as well. https://eurkey.steffen.bruentjen.eu/12:00
alkisghajonnes: you can set whatever you want in gnome (I don't have gnome); then, type `setxkbmap -query` and see the result12:02
alkisgBut in general, you don't need to set anything in gnome; it should respect whatever you have set in xorg12:03
alkisg(which is the same as in the console, so one file for everything is enough)12:04
hajonnesalkisg, ok. then the layout is: 'eurkey,us'. have you looked at the pastebin I sent you. is the format correct? https://pastebin.com/56H1qPE412:04
alkisgsetxkbmap eurkey12:05
alkisgError loading new keyboard description12:05
alkisgIt's not a valid layout12:05
alkisgSo it won't work in the config file either12:05
hajonnesI just pasted the return from "setxkbmap -query"12:06
hajonnesin the /etc/default/keyboard12:07
hajonnesand commented out the previous settings.12:07
PizzaBurgerHello! Can't boot to login screen on my Ubuntu 20.10 laptop, drive encrypted with ZFS.  After I unlock the drive I get taken to Emergency Mode with the following message: https://paste.ubuntu.com/p/tZX6yMJ2P6/. After pressing Ctrl+D I get this message: https://paste.ubuntu.com/p/KRFnnYJkCS/. Does anyone know how to troubleshoot this? Thanks!12:08
hajonnesalkisg, try setxkbmap eurkey,us it works for me.12:08
BluesKajHi all12:17
alkisghajonnes, $ setxkbmap eurkey,us12:17
alkisgError loading new keyboard description12:17
alkisghajonnes: i'm on ubuntu 20.04, what are you using?12:17
hajonnesalkisg, strange. I do not get any errors.12:18
alkisgOn 20.04?12:18
hajonnesyes. ubuntu default flavour 20.0412:19
alkisgOn xorg or on wayland?12:19
hajonnesif you run 'setxkbmap eu' and then do 'setxkbmap -query'. I do not know I just installed it and do not know how to check.12:20
alkisgPastebin the output of `xrandr` to see if it says XWAYLAND or not12:21
alkisgsetxkbmap eu works properly12:21
oldgalileoHas anyone gotten `systemd >237` running on 18.04.05 LTS?12:22
hajonnesalkisg, what does setxkbmap -query return?12:23
hajonnesalkisg, I think I'm on Xorg. https://pastebin.com/ybpRmnMw12:25
hajonnesI did test from https://newbedev.com/how-can-i-tell-if-i-am-running-wayland, Im on Xorg.12:27
hajonnesalkisg, ^12:27
hajonnesalkisg, you know, it does not matter so much to me. now all is well and all works. so if you are satisfied with it I'm as well and thanks for your help :)12:40
=== go4godvin is now known as frytaped
alkisg$ setxkbmap -query12:45
alkisgrules:      evdev model:      pc105 layout:     eu12:45
alkisghajonnes: sure!12:45
hajonnesalkisg, :)12:45
hajonnesI should install 'gcc make perl' for my distribution to get virutalbox to work. I 'sudo apt-get install build-essentials'. I know I get gcc then. but how do I find the other things?12:46
hajonneswell I need pearl. I have make12:47
hajonnesI use 'which make' to see if I have make, and so on, is that correct.12:48
hajonnes?12:48
ioriahajonnes, i prefer 'type -a perl'12:49
hajonnesioria, what is the pros of type -a?12:53
ioriahajonnes,  type --help12:54
EriC^^hajonnes: for one type also shows if it's an alias or not12:55
hajonnesEriC^^, ioria, nice! thanks for the tip :)12:56
ioriaok12:57
arizalwhat is this?12:57
=== frodo_ is now known as frodo
frodoHi, I have an old, old PC that I'd like to connect to my network, but the only way to do that with stuff I have would be over a serial null modem. Is there a simple way in Ubuntu to share a connection over a serial null modem?13:18
hajonnesIf I want to install e.g. perl language to program in perl. is there an easy way to determine what packages to install without searching the net? I have tried 'apt search perl' and 'aptitude search perl' and get flooded with packages.13:28
leftyfbhajonnes: perl-base should already be installed by default. No need to install anything else to use perl13:33
hajonnesleftyfb, you are probably right. I just wanted to have a general idea of how to use search functions. Like is there a hierarchy among packages. i.e. to use perl all packages need some fundamental perl to work. then how do I decipher which packages are the fundamental ones?13:36
leftyfbhajonnes: fundamental is relative13:37
leftyfbhajonnes: in the case of just "perl" , I looked up where perl exists on my machine using "which perl", which gave "/usr/bin/perl" and then used apt-file to search for which packages that binary could come from; "apt-file search /usr/bin/perl". Looking through the list of packages I determined that perl-base made the most sense and checked to make sure it's installed by default by looking at a fresh ubuntu 21.04 lxd container13:39
alkisgNo need for apt-file: $ dpkg -S /usr/bin/perl13:40
alkisgperl-base: /usr/bin/perl13:40
leftyfbhajonnes: "perl" is a very bad example since anyone who is familiar with perl should know that perl is made up of hundreds of perl libraries, utilities, IDE's, etc.13:40
leftyfbhajonnes: searching apt for the term "perl" is like searching google for "a"13:41
jabberwockHi all. I have miraculously enabled all 3 displays (including an external GPU). The one thing that didn't seem to be honored from /etc/X11/xorg.conf is the layout. I had to do that with whatever ubuntu uses (I think xrandr). My question is: Where is xrandr's config?13:52
jabberwockI want to get this into an article and hopefully save days of peoples' lives13:53
leftyfbjabberwock: it doesn't http://www.ubuntugeek.com/how-change-display-resolution-settings-using-xrandr.html13:55
jabberwockleftyfb, Thanks. That leaves my question as "Where is my layout saved?"13:56
leftyfbjabberwock: maybe check ~/.config/monitors.xml13:56
jabberwockThat looks golden! Thank you :) Is this a ubuntu-specific config?13:57
leftyfbjabberwock: probably gnome-specific13:58
jabberwockEr, right. I tend to collapse them into one as I use the default install. I appreciate you being specific13:58
jabberwockbecause by that logic we should all be in #linux lol13:59
SnoopJyou can configure XRandR from xorg.conf I believe, but I've always just talked to the command-line tool from wm initialization when needed13:59
jabberwock\o SnoopJ13:59
* SnoopJ bewares jabberwock13:59
jabberwockSnoopJ, I've gone from kubuntu to manjaro+xfce, to manjaro+sway, to ubuntu/gnome. kubuntu seems like a vast expanse of dominoes; when they fall... it's impractical to find the origin14:00
jabberwocklol, SON!14:00
jabberwockSo far I love kubutnu/kde/plasma visually, but I can't deal with the bugs. I've also submitted fixes. for e.g. icloud sync in korganizer, but no movement on it14:01
jabberwockso... back to good ol' faithful14:01
=== glider_ is now known as glider
SnoopJI go between GNOME/i3 these days, but not so much i3 at the moment.14:03
jabberwockI really love the simplicity and speed of i3 and sway. I was going to burst a blood vessel if I spent any more time trying to get this display arrangement working14:04
SnoopJMore than a few dalliances with Lubuntu, but thankfully wms are a little less variable these days14:05
jabberwockand that was my first experience with wayland so it's probably pure ignorance on my part14:05
* jabberwock nods14:05
SnoopJI used to be a "fluxbox and only fluxbox" sort, but now I'm not14:05
jabberwockhehe. That was me and Enlightenment14:05
hajonnesleftyfb, ok. apt-file is good to know, thanks for the information. Yes you are right, a lot of hits. but it would be interesting if you had a search term and then got the results and  inside the resluts you could compare what packages in the search result are most used as dependencies for the other packages int the search result. Then you could make a qualified guess of what packages are the most important. is there a function like that?14:09
jabberwockhajonnes, can you present something as if it has just been released?14:11
jabberwocks/something/this idea14:11
hajonnesjabberwock ?? I do not understand what you mean?14:24
hajonnesjabberwock s /apt search / apt search | histogram over # of times a file is listed as dependencies14:28
hajonnes^e.g.14:29
bruchi14:29
=== genii-core is now known as genii
user217_!ping15:49
ubottupong!15:49
=== huzursuz is now known as toad-x
magoHello, do you know how to stitch multiple jsons into one?16:39
alkisgUsing what tool? You can just replace the last } with a comma in an editor...16:53
pk__i installed openvpn , put config as /etc/openvpn/client.conf    and uncommented AUTOSTART="all" line in /etc/default/openvpn16:54
pk__but still the config is not loaded automatically when i start service16:55
pk__please help me :(16:55
diskinpk__, I'm not an expert in openvpn, but you mentioned service (server), and your config is for client?17:00
pk__on server side also openvpn serverice runs in server mode   and on client side openvpn service runs as client mode17:01
pk__ok i had forgotten to do systemctl daemon-reload after uncommenting AUTOSTART="all"  in /etc/default/openvpn17:07
pk__now it works17:07
Safiyyahhi all, need help mounting an external hdd via usb, it isn't loading17:09
leftyfbSafiyyah: what have you tried? What error are you getting? What format is it? What version of ubuntu are you running?17:16
matsamanSafiyyah: what does lsblk -f say?17:16
leftyfbmatsaman: I'm a fan of lsblk -o +type -e7 -o +FSTYPE17:18
matsamanleftyfb: hahaha17:19
Safiyyahleftyfb, I am on ubuntu mate 20.04, nothing is coming up17:19
Safiyyahthe drives lights are on but nothing17:19
matsamanSafiyyah: coming up from what?17:19
leftyfbmatsaman: open a terminal and type:    lsblk -o +type -e7 -o +FSTYPE | nc termbin.com 9999  # and share the URL here17:20
matsamanSafiyyah: can you run 'lsblk -f' and pastebin the output somewhere?17:20
Safiyyahmatsaman, https://pastebin.ubuntu.com/p/3K6tjzKsvs/17:23
matsamanholy snappocalypse17:23
leftyfb-o +type e7 :)17:24
matsamanSafiyyah: this output does suggest that your drive is not detected17:24
leftyfbSafiyyah: try unplugging the usb, then open a terminal and run "dmesg -Tw"   then plug the flash drive in.17:24
matsamanSafiyyah: are you expecting there to be data on it already?17:24
leftyfbSafiyyah: then anything that changes in the dmesg window, pastebin here17:24
Safiyyahmatsaman yes there is data17:25
matsamanSafiyyah: data put on there from what OS?17:28
ioriaSafiyyah, as said above, unplug the device, plug in again and run  'dmesg | tail -20 | nc termbin.com 9999'17:28
Safiyyahhttps://pastebin.ubuntu.com/p/p7jvrcyHkg/17:28
Safiyyahit is just hanging17:28
Safiyyahfrom ubuntu mate 20.04 and the previous LTS mate17:29
Safiyyahthe data is from ubuntu mate lts current and previous one17:29
matsamanthis is from an Ubuntu you have installed and are running, not from a live OS?17:30
leftyfbSafiyyah: the only thing that has been plugged in is a usb mouse17:30
Safiyyahhttps://termbin.com/jszw17:31
leftyfbSafiyyah: is this what you are plugging in? https://media.accobrands.com/media/560-560/368572.jpg?width=680px&height=449px17:31
SafiyyahleftB thats for the mouse17:32
SafiyyahI can take it out17:32
leftyfbSafiyyah: right, that is the only thing that is being unplugged and plugged in according to your kernel17:32
matsamanSafiyyah: try a different USB port17:32
ioriathat ^17:32
Safiyyahhttps://termbin.com/qvzw17:32
Safiyyahhttps://termbin.com/qvzv17:33
Safiyyahhttps://termbin.com/wb1317:33
matsamanSafiyyah: did you try a different USB port yet?17:34
matsamanSafiyyah: did you try every USB port you have?17:34
SafiyyahI did but I will do it again17:34
matsamannot looking for dmesg output so much as looking for the drive to show up normally17:35
matsamanbut you can check dmesg if you want17:35
leftyfbmatsaman: dmesg is step #117:35
Safiyyahhttps://termbin.com/pdfx17:35
matsamanso far it's been like steps 1-817:35
leftyfbSafiyyah: there are zero mass storage devices being plugged in.17:36
leftyfbSafiyyah: or if so, you have a hardware issue17:36
SafiyyahI don't know how to prove to you that the drive is plugged in17:36
matsamanif you try every usb port and it works on none of them, you very well could have a hardware issue17:36
matsamantry every port, put your hand on the drive and feel if it's spinning each time17:37
leftyfbSafiyyah: your kernel is not picking up anything being plugged in at all. You have a hardware issue. Cables or the devices itself.17:37
ioriaor a power issue17:37
leftyfbor ^17:37
leftyfboh17:37
SafiyyahI don't know how to prove to you that the drive is plugged in17:37
leftyfbSafiyyah: what model device is this?17:37
matsamanSafiyyah: you don't need to17:37
Safiyyahits a Western Digital17:38
leftyfbmodel# please17:38
ioriaSafiyyah, you know, the only way is to take it out and connect it irectly to the MB (unless it's a laptop, and i guess it is); or find another pc or try to change the cable (sometimes a double-usb cable might solve the issue)17:40
matsamanbut you should try every USB port first17:40
SafiyyahWD elements SE 14198 CbAdCa17:40
ioriathe common problem is the autosuspend thing17:41
leftyfbmy guess is, this is a USB3 drive that requires a bit more power and we're plugging it into a usb2 drive17:42
leftyfbdrive/port17:42
ioriayeah17:42
leftyfbSafiyyah: what color is the usb port you are plugging into?17:42
leftyfbon the inside17:42
matsamanit doesn't matter what color =P17:43
matsamanit either works on one of the ports out of all the ports or it doesn't17:43
Safiyyahblack?17:43
SafiyyahI am trying on the other laptop17:43
Safiyyahalso on mate17:43
leftyfbmatsaman: black is not a good indication of being a usb3 port17:43
matsamanit's literally irrelevant17:43
matsamanif you want to look for something, look for 'SS'17:43
leftyfbSafiyyah: what model laptop were you trying originally?17:43
matsamanbut it's still irrelevant17:43
matsamanbecause we have no idea if he's tried the other ports yet17:44
matsaman'cause we're talking about colors17:44
matsaman=P17:44
leftyfbmatsaman: it's not irrelevant, if none of the ports are usb3 and the drive is, it's probably not getting enough power to spin up17:44
matsamanhence trying other ports17:44
leftyfbmatsaman: we do know: https://pastebin.ubuntu.com/p/dddvzTbc6g/17:45
Safiyyahhttps://termbin.com/pa3117:45
leftyfbSafiyyah: what model laptop were you trying originally?17:45
Safiyyahhttps://termbin.com/pa3l17:45
matsamanleftyfb: yeah but he said that after I asked two different questions =P17:46
Safiyyahfirst machine is old acer laptop17:46
Safiyyahsecond machine is a dell insspiron 14 500017:47
SafiyyahI just got that today17:47
matsamanSafiyyah: what computer have you used this drive with before?17:47
Safiyyahthe acer17:47
matsamanSafiyyah: what OS is on the acer?17:47
leftyfbSafiyyah: what model is the acer laptop?17:47
=== erica is now known as birb
Safiyyaha very old acer17:49
leftyfbSafiyyah: ok, since you can't give the model#, we're going to assume it's so old it doesn't support usb3 power specs and will not work with that drive. Unless you can give the model# and we can confirm17:50
matsamanSafiyyah: can you confirm that for the dell you tried each USB port?17:50
leftyfbSafiyyah: the Dell you have has 2x usb3.2 ports on the left side (the right side is usb2)17:50
leftyfbSafiyyah: lets continue troubleshooting with the Dell.17:51
matsamananyway your options are: you haven't used the right USB port, the drive has a weird FS, the drive is broken, your kernel is messed up in a super rare way, some or all of your USB ports are broken somehow, or some mixture of those17:52
leftyfbSafiyyah: plug the usb drive into a port on the left side of the dell and watch dmesg -Tw17:52
leftyfbmatsaman: the filesystem of the usb drive is completely irrelevant to the device being detected by the kernel. It can have any or no OS and it will still show up in dmesg if all is well17:53
leftyfbOS/filesystem17:53
matsamanthat's false, but I admit it's very unlikely17:53
matsamanmost likely all the USB ports haven't been tried yet =P17:53
leftyfbmatsaman: name one filesystem that will prevent a usb mass storage device from being detected by the kernel and showing up in dmesg17:54
matsamanI was replying to 'It can have any or no OS and it will still show up'17:54
leftyfbit will17:54
matsamanthe FS is pretty irrelevant, not to Safiyyah's problems but to our little discussion17:55
leftyfbmatsaman: any mass storage device, regardless of filesystem will show up in dmesg as it is detected and drivers loaded, THEN it attempts to detect and mount the filesystem if there is one17:56
matsamandrivers, I'm sure the kernel has something to do with that17:56
matsamanbut again it's very unlikely to be relevant17:57
safiyyah_https://pastebin.ubuntu.com/p/YHJqMKmr23/17:57
safiyyah_sorry I went to get hexchat on the new laptop17:58
leftyfbsafiyyah_:  plug the usb drive into a port on the left side of the dell and watch dmesg -Tw17:58
safiyyah_I can't see it picked up here either17:58
=== lupi- is now known as lupi
matsamanSafiyyah: what's this paste?17:58
leftyfbnothing we asked for17:58
safiyyah_fdisk -l17:59
leftyfband doesn't help17:59
TJ-safiyyah_: has this device ever worked on any PC?17:59
leftyfbsafiyyah_:  plug the usb drive into a port on the left side of the dell and watch dmesg -Tw17:59
matsamanTJ-: he claimed it did on an "old" acer he also has17:59
=== reverbtank7 is now known as reverbtank
TJ-matsaman: thanks, I asked since the WD docs, in small print has "Disclosures: 1. Internet activation required"18:00
leftyfbwe're not going to worry about the acer because we have no way of knowing if it's got usb3 ports on it which I think might be why the storage device isn't being detected by the kernel (not enough power)18:00
TJ-leftyfb: I tend to agree but we would still see a USB device appear and then fail18:01
leftyfbTJ-: that will be for their Windows software which isn't needed to be used as a normal mass storage device18:01
TJ-leftyfb: indeed :)18:01
TJ-safiyyah_: what cable are you using?18:01
JanCprobably best to waitt for dmesg output first18:03
JanCotherwise we can keep speculating18:03
safiyyah_https://pastebin.ubuntu.com/p/8QSV3MxchR/18:03
safiyyah_thatis dmesg18:03
safiyyah_I moved the drive18:03
leftyfbsafiyyah_: that is not the output I asked for18:03
leftyfbsafiyyah_:  plug the usb drive into a port on the left side of the dell and watch dmesg -Tw18:03
leftyfbsafiyyah_: I'm asking for -T so we can human readable timestamps so we can get a better idea of timeline of events18:04
leftyfbsafiyyah_: leave dmesg -Tw running, then plug and unplug the drive into a port on the left side multiple times, then give us the dmesg output18:05
safiyyah_right I am sending my son to plug it on the main windows desktop18:05
JanCwell, assuming that was after the USB drive got plugged in, it looks like the USB chip in that external drive is toast18:05
leftyfbwait a few seconds between each18:05
safiyyah_I think this is a last try18:06
JanCor the cable is broken18:06
leftyfbsafiyyah_: ok, good luck. Let us know when you are ready for us to help you troubleshoot by following our steps as suggested18:06
safiyyah_what a useless HDD18:06
safiyyah_after it took £70 from me!18:06
JanCyou're not using one of those power-only USB cables, right?  :)18:06
TJ-JanC: yes :)18:07
matsamansafiyyah_: well if it works on one of the other computers, it's probably fine18:07
leftyfbJanC: the cable should look like this https://www.technologygalaxy.com/images/productimages/309976x1x250.jpg18:07
leftyfbthat's the connector on that drive18:08
leftyfb(on the right)18:08
leftyfbsafiyyah_: feel free to confirm18:08
safiyyah_no they sold it with a connector that goes inot half of it18:08
leftyfb:/18:08
leftyfbWTF18:08
leftyfbTJ-: nailed it then18:09
JanCright, so that would not be a power-only cable18:09
leftyfbsafiyyah_: get the right cable, then it will work18:09
safiyyah_but it worked fine until now...18:09
TJ-hang on hang on, that's not necessarily the case. Those USB 3 microconnectors have USB2 on the standard micro-USB and the USB 3 additional data lines on the extended connector. I know since I have them.18:09
leftyfbnever would I have guessed someone would plug a usb micro into that port and expect it to work18:10
JanCif it looks like the one in the photo I mean, if it's only "half that", then the problem is obvious18:10
leftyfbsafiyyah_: unlikely18:10
safiyyah_I am so pissed about this18:10
TJ-if you plug in just a standard micro-USB you get USB2 speeds18:10
JanChm18:10
safiyyah_well that is what they sold it with... I have had no problems until now18:11
leftyfbTJ-: usb2 speeds and power, which is more than likely not enough18:11
leftyfbsafiyyah_: where did you buy it? Was it new in a sealed Western Digital box?18:11
safiyyah_i need to get a USB hub and see18:11
TJ-leftyfb: you still get connect/disconnect messages on the bus as the controller firmware starts first, then it dies when the drive spins up18:11
safiyyah_yeah new and sealed18:11
leftyfbsafiyyah_: you should get the correct cable18:12
webchat24hey all, I removed full /etc/X11 dir, I reinstalled xserver-xorg but the dir is not coming back18:12
webchat24any idea what do i do?18:12
safiyyah_from staples18:12
JanCthere are lots of packages that install files in there18:12
JanCwebchat24: the fastest is probably to re-install the system18:13
webchat24ugh thats my problem, this is a cloned system and it only works in recovery mode18:13
webchat24I am lazy to setup the whole thing all over so, but I may have to18:13
JanCyou could also try re-installing all packages that are somehow Xorg-related, and maybe other GUI-related stuff...18:14
webchat24my problem is that I dont know which packages are those :D18:14
leftyfbsafiyyah_: I have several of those drives and other models of the same form factor and brand, every single one of them comes with the proper cable. I've never heard of it coming with a usb micro cable18:15
JanCwebchat24: you could try looking at stuff that depends on X11, then maybe stuff that depends on that, etc.; at some point it most start working again...18:18
JanCobviously re-installing the OS would be faster...18:18
love_is there an easy way to enable screensavers on ubuntu linux?18:18
webchat24yea I will do that JanC18:18
lotuspsychjelove_: xscreensaver works great18:21
JanClove_: you still have a CRT monitor?   :P18:21
jjjanCan someone past a url? I'm testing some stuff :)18:25
lotuspsychjejjjan: click something from the topic18:25
jjjanNope, it has to be pasted18:26
lotuspsychjejjjan: https://ubuntu.com/18:26
jjjanThanks18:26
jjjan:*18:26
jjjanCheers!18:27
=== diskin is now known as Guest1903
=== diskin_ is now known as diskin
WalexJanC: many LCDs do have image persistence, even if some have a tool to cycle it away...19:07
=== TheHoliestRoger is now known as SergeiCokzov
=== SergeiCokzov is now known as TheHoliestRoger
oldgalileoOkay19:47
oldgalileoThis is a comical-to-describe issue19:47
oldgalileoBut I'm trying to setup a script from a script from a script, and the middle script needs to have $1, $2, etc. in it19:47
oldgalileoI cannot get the outermost script to print those variables in plaintext19:47
oldgalileoIf I escape the dollar sign, it prints the dollar sign without the number19:48
leftyfboldgalileo: you might be better off asking in #bash, since this is a bash issue19:49
sarnoldoldgalileo: gah I've read scripts like that. *hated* it.19:49
sarnoldI didn't know you could even do dependency injection in bash, but they did it..19:50
sarnoldI begged htem to rewrite the code in a real language, any language.19:50
oldgalileosarnold: Read or written?19:51
sarnoldoldgalileo: read19:51
oldgalileoHahaha19:51
sarnoldyeah, I'm not brave enough to try it myself, hehe19:51
oldgalileoYeah. Might rewrite this in C since it's so small and I want it to just work.19:51
oldgalileoReally annoying though. Like, I'm SURE there's a solution here.19:52
sarawaraHello (ifor info 'm a simple ubuntu and pi user, not a fullblown programmer, i use codeblocks for my course to solve dif equations)19:54
sarnoldoldgalileo: yeah, you can probably make something work, but the time spent making it work, and then the time spent trying to maintain it in the future, might just swamp the time it'd take to rewrite it in python or C or golang or rust or whatever19:54
sarawaraI have tried to download codeblocks on my pi (i'm new to it) but i think it has not fully loaded19:54
sarawarashould i remove it then and re install? thank!19:55
sarawarathe world has changed, i remember when this chat was like a highway, has ubuntu changed that much, or is the communication elsewhere?20:01
sarawaraha! it works, i was just talking to myself, goodevening all :) (yeah i'm the funny one)20:06
alkisgThere's a forum, discourse, and askubuntu and other areas of support20:06
alkisgAlso, people have moved on to vscode from codeblocks :D20:06
sarawarayeah, always has been (i'm on ubuntu since feisty fawn ;) ) i need it for my exams, no choice20:07
alkisg👍️20:07
sarawarai guess ubuntu has become too good for people to need support :) bye20:09
SnoopJthat's pretty hasty20:09
SnoopJnot really sure what problem you're seeing, but if you are encountering an error message of some sort, you should share it with the channel. Probably you can't hurt anything by reinstalling it.20:10
sarawaraok i've reinstalled it and it works20:14
sarawaranever had that before so didn't think of reinstalling right away20:14
sarawaraso if i'd have a codeblocks question (might occur haha) i should search for a vscode channel?20:15
oldgalileosarnold: Lol base64 encoded the child script and then decode at write time.20:16
oldgalileoNo C or Go rewrite for me :sunglasses:20:16
oldgalileo8)20:16
SnoopJwhy a vscode channel? It seems weird to ask for help with editor A in a channel for editor B20:16
sarnoldoldgalileo: https://www.trendmicro.com/en_us/research/21/f/bash-ransomware-darkradiation-targets-red-hat--and-debian-based-linux-distributions.html ? :)20:16
oldgalileoLmfao honestly it would make me feel LESS dirty if this was for malware20:17
oldgalileoNope. Production server.20:17
oldgalileoWhere we're going, not even god can save us20:18
SnoopJevery day we compute farther from god's light20:21
TJ-oldgalileo: are you perhaps looking for \\\$1 ?20:31
magoHello, how do  i rename all files in folder to this pattern: 1x.mp3, 2x.mp3, 3x.mp3 ...?20:36
sarnoldmago: what pattern do they have now?20:41
mago19 Aug, 22.01.mp3   by the minute time, and if its the same minute 19 Aug, 22.03(3).mp320:41
sarnoldoh man, that's a bit of a jump..20:43
Guest3081why I can't download ubuntu server version from site?20:43
magosarnold what you mean?20:43
TJ-mago: is thw 1x, 2x the minute ?20:43
magono, i just want to rename to 1x.mp3, 2x.mpr becaus its easier to feed a mylist.txt to another command then..20:44
TJ-mago: what would you rename "22.03(3).mp3" to ?20:44
magoThath should be 2x.mp320:44
sarnoldGuest3081: what error message do you get when you try?20:44
Guest3081I can't find a link to that20:44
magoSorry, that one would be 3.mp320:44
sarnoldmago: normally people rename things to change extensions or remove spaces or swap multiple parts around .. but if there's no simple piece of the input file names that carries over directly to the output file names it's a much harder problem20:45
TJ-mago: so the 'x' is a literal 'x' character, not a placeholder?20:45
Guest3081I can't find a link to that20:45
magoTJ- yes literal20:45
magoIt could be x, y, z but its not a variable.. Is becaus im going to combine them with other files that are already named 1.mp3, 2.mp3, 3.mp320:46
sarnoldGuest3081: hmm, dang, irc works best with error messages, but if you don't have any, that complicates things. what have you tried? where did it stop?20:46
magoSo i will combine 1x.mp3 wth 1.mp3 with 2x.mp3 with 2.mp320:46
TJ-mago: OK I'm just trying to get a clear pictue in my head of the before and after!20:46
magoI can do it by hand, but if i can batch process with a command is much better..20:46
sarnoldmago: the two usual tools I use are rename.pl and mmv -- I don't immediately know which one would work better, and I'm not sure if either one is really going to work :(20:47
TJ-mago: can you show us a directory listing as an example? "pastebinit <( ls -1 ) "20:47
magoWith the quotes or without the quotes?20:47
=== birb is now known as erica
Guest3081sarnold on the site20:48
TJ-mago: I use the quotes to show where the command starts and ends20:48
magohttps://paste.ubuntu.com/p/vGXRKDDzYr/20:49
magoThe 1x.mp3, 2x.mp3 at the end are becaus i have started to rename manually..20:49
TJ-mago: right... so  22.03(3).mp3 = 3.x.mp3,  22.03(6).mp3 = 4x.mp3 and so on?20:50
magoIt be easier if the naming convention tracked the seconds too right?20:50
deliverIt makes a fck20:50
sarnoldis that sort order exactly correct?20:50
magoTJ- yes20:50
magoYes20:50
deliverCheck all filesytems20:50
deliverDo yo hace inci?20:51
magoIs that question for me?20:51
sarnoldmago: you could do something like: for f in * ; do echo mv $f $((i = i + 1)).mp3 ; done   .... though, running it a *second* time, i see that it kept the value of $i from one run to the next. it's not perfect.20:52
magoWhat does that mean?20:52
TJ-mago: that should be easy then. We really shouldn't abuse 'ls' output in scripts, but... "count=3; while read infile; do echo mv "$infile" "${count}x.mp3"; let count=$((count + 1)); done < <(ls -1)"20:52
TJ-mago: this'll echo the commands it could execute so won't actually change anything until we're happy it is correct20:53
deliver(ALT-F2) termminal: man inxi20:54
deliver{°]20:55
deliverEntschuldigung, ich trolle20:56
deliver*https://www.youtube.com/watch?v=imcb2obRIe420:58
magoTJ- Command works but only the first time, then i need to reopen the terminal..20:58
magoTJ- How do i run it for real now?20:58
TJ-mago: that seems weird - it should repeat without any problems - are you ensuring the initialisation "count=3;" is done on the repeat?20:59
TJ-mago: to make it do the rename for real, remove the "echo" in front of the "mv" so it is just "... do mv ..."21:00
magoOk.. Thanks21:00
magoTJ- I get that >21:02
magoLol, one " too much..21:03
TJ-mago: right the >" is the next-line indicator from 'readline' (the thing that reads your commands) and it is telling you there's a continuation until you close a quote mark, bracket, or some other block-type container21:04
magoOk, it worked thanks a lot..21:08
ash_worksiso my laptop (20.04) just overheated21:09
ash_worksiis there a way I can derive, perhaps through journald what process caused that?21:09
magoIs for my radio show Pumpkin Pie tonight, you can listen to it, it starts at 10 UTC: https://anonradio.net/21:09
ash_worksi(the ambient temp is actually pretty low right now, so I am kinda shocked)21:09
TJ-mago: just in time then!21:10
magoYea, thanks for the help. :)21:11
shimblesdo-release-upgrade from bionic to focal did not work, because the upgrade could not be calculated21:48
shimbleshowever, this left the active version of the OS as focal, even though the upgrade was not applied21:48
shimblesso, I ran sudo apt upgrade, which is installing21:48
shimbleshow, after that, do I finish the release upgrade?21:48
shimbleshello?21:50
almostdvsThat's what I would do21:51
almostdvsYou will probably have some errors you will need to resolve21:51
HashThat usually happens when you have third party packages21:51
Hashout out of repo packages21:51
Hashor*21:51
Hashmake sure to follow all do-release-upgrade tips and requirements21:52
shimbleswell, see, that's just not cool21:52
HashWhat is not cool?21:53
=== Ricardus_ is now known as Ricardus
almostdvsreading, obviously21:54
Hashhttps://ubuntu.com/blog/how-to-upgrade-from-ubuntu-18-04-lts-to-20-04-lts-today21:55
HashAdvanced options & third-party software21:55
Hashread this part too21:56
Hashit's probably due to third party packages and their dependencies causing you issues. disable them all, then update, then apply do relesae upgrade, then reinstall third party repos21:58
HashI upgraded my server using this method from 18 to 20 and it went fine21:59
=== huzursuz is now known as toad-x
shimbleswhen the kernel updated i was offered to modify two files; i declined the first and accepted the second; the second was grub; what was the first? (I thought it was 'rinit' but can't find any matches)22:05
almostdvsI'm having trouble setting up a simple networking bond22:15
almostdvsIs netplan the way to go?  I keep getting addresses that aren't defined in my yaml file22:16
almostdvshttps://www.hastebin.com/aguvopibah.yaml22:19
shimbles[4:05:52 PM] <shimbles> when the kernel updated i was offered to modify two files; i declined the first and accepted the second; the second was grub; what was the first? (I thought it was 'rinit' but can't find any matches)22:21
shimbles[4:06:55 PM] → ur5us has joined22:21
leftyfbshimbles: why would you decline something when you don't know what it is or what it does?22:22
almostdvsIt would be a file you had modified22:22
leftyfbalmostdvs: not always22:22
almostdvssomething else has to be messing with my network configuration22:24
shimblesapologies, it was removing a line indicating a past kernel entry. IIRC it was linux*generic, in favor of linux-aws. my file system is acting very badly now, so i'd like to try removing this line, but i tried apt install --reinstall linux-aws but it did not attempt this same reconfigure step22:25
shimblesleftyfb because i am in the cloud :/22:25
shimblesi had a bad kernel upgrade possibly because i declined to accept the maintainers new version of a file; now my file system is _insanely_ slow. which file might this have been?22:36
shimblesit had something to do with the kernel; and my kernel upgrade was related to disk, so that part is to be expected, if a configuration is wrong22:37
almostdvsWhy is my ubuntu-20.04 not respecting my netplan config?22:42
leftyfbalmostdvs: (ls -l /etc/netplan/* ; cat /etc/netplan/* ; cat /etc/os-release ; ip a ) | nc termbin.com 999922:43
almostdvshttps://termbin.com/5pk3l22:44
leftyfbalmostdvs: are you running a desktop environment?22:47
almostdvsI'm pretty sure I am not22:47
leftyfbalmostdvs: you have 2 netplan files22:47
almostdvsya, one wasn't working so I simplified it22:47
almostdvsthe desired one has a .yaml~ extension22:48
leftyfbalmostdvs: they are both specifying the same interfaces. That is ungood. Delete one of them22:48
almostdvsbut the simple one isn't setting the nameservers correctly; i'm getting other addresses22:48
leftyfbalmostdvs: step #1, delete 1 of the netplan files. Stick with 222:48
leftyfbsorry, stick with 122:48
almostdvsthe .yaml~ shouldn't be picked up22:48
almostdvsanyways I just moved it to my home dir for now22:49
leftyfbalmostdvs: ( sudo netplan apply ; cat /etc/netplan/* ; ip a ) | nc termbin.com 999922:50
almostdvsjust did another sudo netplan apply and I still have this .193 address on eno1 and it is using the router for dns instead of 8.8.8.8 or 1.1.1.122:50
leftyfbalmostdvs: ( sudo ip link set eno1 down ; sudo netplan apply ; cat /etc/netplan/* ; ip a ) | nc termbin.com 999922:52
almostdvshttps://termbin.com/nt6o22:53
leftyfbalmostdvs: so a couple things. You don't need a route on eno1? Also, if you don't want eno2 pulling an ip via dhcp, set it up with dhcp4: false22:55
leftyfbalmostdvs: networkctl | nc termbin.com 999922:56
almostdvsleftyfb: I figured the gateway4 set the route22:58
almostdvsone moment22:58
leftyfboh, damn, I missed that22:58
almostdvshttps://termbin.com/oonk22:59
=== genii is now known as genii-core
sarnoldinteresting22:59
leftyfbalmostdvs:  sudo journalctl -u systemd-networkd.service23:00
almostdvsadded dhcp4: false and eno1 still has this .193 and nameserver is still 10.10.5.123:02
almostdvshttps://www.hastebin.com/wolivibeci.apache23:02
sarnoldAug 19 22:59:29 cms systemd-networkd[5097]: eno1: Could not set route: Nexthop has invalid gateway. Network is unreachable23:03
=== martums9 is now known as martums
almostdvsseems like netplan is not the only thing configuring my network23:03
sarnoldnetplan only translates yamls into systemd-network configs23:03
almostdvsi saw that sarnold23:03
almostdvsnot sure why it thinks it is invalid23:04
almostdvsso far, I am not a fan.  me and /etc/network/interfaces never had any issues23:04
almostdvsJun 11 18:30:51 cms systemd-networkd[804]: eno1: Link is not managed by us23:09
almostdvsoops, that's real old23:11
leftyfbalmostdvs: ( ls -l /etc/systemd/network/* ; cat /etc/systemd/network/* ) | nc termbin.com 999923:12
almostdvsthere is nothing in that folder leftyfb23:13
leftyfbok, that's good23:14
leftyfbalmostdvs: what customization's have you done to this machine?23:15
leftyfbalmostdvs: anything with grub/udev settings to change interface nams?23:15
almostdvsI have two docker containers, an app and pihole set up23:15
almostdvsleftyfb: only think I could think of is upgrading from 18.0423:16
almostdvsI haven't manually messed with grub/udev23:16
leftyfbah23:16
leftyfbhold on23:16
leftyfbalmostdvs: sudo apt remove --purge ifupdown23:16
almostdvsnot installed23:17
leftyfbsudo systemctl disable networking.service23:17
almostdvsdoes not exist23:18
leftyfbalmostdvs: ( for i in /sys/class/net/* ; do echo $i $(cat $i/operstate);done ) | nc termbin.com 999923:20
leftyfbalmostdvs: do you have an ethernet cable plugged into eno1 and is the link light on?23:21
almostdvshttps://termbin.com/9esx leftyfb23:21
leftyfbhm, looks like maybe yes23:21
almostdvsyes23:21
almostdvsI had these two interfaces bonded on 10.10.5.10 when the server was 18.0423:22
almostdvsbut ever since the upgrade has been a struggle23:22
leftyfbalmostdvs: did you enough LLDP on your switch?23:22
leftyfbenough/enabl23:22
leftyfbenough*23:22
almostdvsno, its a dumb switch23:23
almostdvsactive-backup is the goal23:24
plarkeHow do I make update-grub find my new kernel?23:27
plarkeI copied vmlinuz and System.map to /boot23:28
plarkealso did $sudo make modules_install23:30
plarkemodules_install23:30
merpnderpI'm checking for updates on a fresh install and I'm getting "Unable to download updates from "ours.gnome.rog" the ssl handshake failed.23:30
merpnderpAnyone know what that's about?23:31
almostdvsmerpnderp: should it be ours.gnome.org ?23:31
merpnderpYeah, that was my typo23:31
=== popey0 is now known as popey
merpnderpI'm on 21.0423:31
almostdvsI can't resolve that domain merpnderp23:32
merpnderpIt's odrs.gnome.org23:32
merpnderpI'm typing this on a Mac and it is autocorrecting everythign :(23:32
sarnoldmerpnderp: there's nsec records proving that hostname doesn't exist https://dnsviz.net/d/ours.gnome.org/dnssec/ -- what set up that address in the first place?23:33
sarnoldoh23:33
sarnoldmerpnderp: please copy-and-paste error messages exactly :)23:33
sarnoldanything else leads to wasted time23:33
merpnderpIt's in the Ubuntu Software tool and it is a popup and I can't select the error text23:34
sarnoldew. that's worth a bug report.23:34
merpnderpI'm on the Ubuntu machine now.23:34
merpnderpI hit the refresh button in the upper left corner and that error pops up23:35
almostdvsleftyfb: netplan --debug apply     https://www.hastebin.com/abozolaqid.yaml23:35
merpnderpNow it is saying "Unable to download updates from "fwupd": failed to download https://cdn.fwupd.org/downloads/-firmware.xml.gz.jcat: SSL handshake failed"23:36
tomreynplarke: can you run    sudo file /boot/vmlinuz*   and how the output? also, what's this kernel image you are trying to boot - did you build it yourself?23:38
merpnderpCan anyone else check for updates?23:38
tomreynplarke: also share    ls -l /boot    output and this:   echo -n 'This system booted via: '; [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS23:38
tomreynpacmann: since you share the same username and ip address as plarke, did you just connect because you lost access to the chat as "plarke"?23:40
tomreynmerpnderp: the location you posted returns a 404 for me, but i can access that fine, no SSL/TLS warnings.23:41
merpnderpThat's weird. I can't search for software either.23:42
merpnderpWith the software app23:42
pacmanntomreyn: just wanted to change nick23:42
tomreyni don't have this software installed, can't test23:42
merpnderpUbuntu Software is the name of the app23:42
merpnderpBut I closed it and retried and now I can search23:42
sarnoldmerpnderp: I was able to apply fwupdmgr updates fine23:42
tomreynpacmann: okay, so you read what i wrote? you can change nicknames using /nick newnick23:42
pacmanntomreyn: here's the output from those commands https://paste.ubuntu.com/p/J5YPmyrZNH/23:43
merpnderpsarnold: this is weird because now it is searching for updates without issue and is saying I'm up to date.23:44
merpnderpMaybe there was a hiccup with the CDN's.23:44
pacmanntomreyn: Its kernel version 5.12.14, I compiled it myself but didn't change anything. Just want to test compiling and installing a kernel.23:44
sarnoldmerpnderp: possibly, yeah :/ I hate not knowing what's up23:45
pacmanntomreyn: Thanks, also new to irc23:47
tomreynpacmann: hmm, there's just one thing that sticks out: vmlinuz file ownership - it's -rw-r--r-- while it's -rw------- normally23:49
merpnderpIn the terminal app, what's the hot key for a new window?23:49
merpnderpAnd does it support tabs?23:49
pacmanntomreyn: Ok ill change it.23:49
tomreynpacmann: i think you should also try renaming it to vmlinuz-5.12.14-custom or similar23:50
merpnderpWhat do you all use for your password manager?23:50
tomreynvmlinuz-5.12.14-1-custom rather23:50
merpnderpn/m shift-ctrl-t :D23:51
merpnderpIs there a canonical password manager that everyone uses?23:53
merpnderpLike something everyone trusts?23:53
sarnoldmerpnderp: I hear good things about https://www.passwordstore.org/23:55
toddcmerpnderp: keepassXC23:56
sarnoldmerpnderp: I also hear good things about https://bitwarden.com/open-source/ but it's vastly bigger23:56
BerlynI use Bitwarden, absolutely love it. Although I don't run a copy of it myself, I use their regular cloud offering.23:58

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