/srv/irclogs.ubuntu.com/2020/11/09/#ubuntu.txt

KaiserHello, I just rebooted my computer and the boot process right after decryption is hanging on "bluetooth: hci0: Failed to send firmware data (-110)00:41
KaiserIt hangs on this, and refuses to continue booting, of course I can still open a different tty and login through that00:41
=== johuck3 is now known as johuck
=== Xard7 is now known as Xard
=== denningsrogue9 is now known as denningsrogue
=== denningsrogue7 is now known as denningsrogue
kinghatare any of you guys using the chromium snap? for some reason im not seeing newly created website shortcuts or installed PWAs show up as "apps".02:20
=== PowerTower_121 is now known as PowerTower_120
=== zbenjamin_ is now known as zbenjamin
=== jeddo- is now known as jeddo
=== jeddo- is now known as jeddo
shachafI upgraded Ubuntu from 20.04 to 20.10 and all audio playback stopped working. Is this something other people have seen?03:43
shachafSpecifically I can see my laptop's built-in audio in pavucontrol (after I run `alsa force-reload`, which was necessary after reboot even before the upgrade), but nothing seems to be able to actually play sound.03:49
shachafOh, hmm. No, some things do play audio. Maybe it's just Firefox.03:50
shachafOK, it looks like it was a Firefox issue. Audio is maybe only as broken as it was before the update.03:51
boredguyLack of support for now I guess. I switched back to 20.04 because some repos don't support 20.10 yet.03:51
shachafOh, is downgrading even supported?03:53
Bashing-omshachaf: No - there is no go-back button - a clean fresh install of 20.04 is then in order - remember to back up your data :D03:57
=== jeddo- is now known as jeddo
kaiseris it possible to install 32 bit compatibility libraries for nvidia on ubuntu 20.04?05:24
=== veegee_ is now known as veegee
maiandroshello07:41
maiandrosis it acceptable to ask for help in here07:41
EriC^^sure maiandros07:44
maiandroscool. i'm fairly new to linux, but i've been trying to configure my machine to fix some quality of life issues with ubuntu07:47
maiandrosi'm using a surface pro tablet, and one of those issues is that whenever i disconnect my keyboard and reconnect it, i have to reconfigure my trackpad settings07:48
maiandrosi've tried implementing a number of fixes online and i think i'm pretty close, but i'm having issues with a bash command i've put in ~/.bashrc. i want .bashrc to execute a script a certain way but it's not working07:49
maiandrosthe command i'm trying to run in .bashrc is07:50
maiandrosnohup bash -c 'while true; do ./touchpad-settings-refresher &>dev/null & sleep 5; done &' &>/dev/null07:50
maiandroswhich is meant to run another looping script that changes my trackpad settings, sleeps for 5 seconds, and loops infinitely07:51
maiandrosthe problem seems to be with the above script, perhaps my syntax is wrong.07:51
maiandrosi know that was kind of verbose, sorry about that, but can anyone help me with this? i've been searching for hours.07:52
ducassemaiandros: a better approach is this - whenever the keyboard reconnects, it probably fires a udev event. you can lock on to that event and have it fire the script07:58
ducassehaving a script fire every five seconds is a pretty dirty hack, especially running it from .bashrc08:00
EriC^^maiandros: in case you missed it, ducasse> maiandros: a better approach is this - whenever the keyboard reconnects, it probably fires a udev event. you can lock on to that event and have it fire the script, having a script fire every five seconds is a pretty dirty hack, especially running it from .bashrc08:32
maiandrosthank you for that, i will give it a shot08:34
ducassemaiandros: take a look at the arch wiki entry for udev, then see if 'udevadm monitor' shows you the reconnect event08:35
maiandrosindeed it does! hopefully now i'll get somewhere with this08:36
DarkTrick**Q**: When I try to use debootstrap I get the error, that the dependency "libc6" cannot be resolved. Any idea what the cause could be? Here's the log file: https://pastebin.com/rTzagVNc08:37
ducassemaiandros: udevadm should give you all the details you need to create a udev rule08:37
ducassemaiandros: does the script take long to run?08:37
maiandrosi haven't checked how long it takes to execute, but it just changes a few xinput settings08:38
maiandrosit seems to happen more or less instantaneously though08:39
DarkTrickThe console says "Failure trying to run: chroot "/media/my_user/USB_HDD/__chroot_test2" dpkg --force-depends --install /var/cache/apt/archives/libc6_2.32-0ubuntu3_amd64.deb"08:39
ducassemaiandros: good, a script run from udev must finish within 10 secs08:41
TJ-DarkTrick: that looks like something fundamental is failing; what exact debootstrap command line are using to create the OS install?08:42
DarkTrickTJ-: sudo debootstrap --variant=buildd --include=libc6,apt --arch=amd64 groovy /media/my_user/USB_HDD/__chroot_test2/  http://archive.ubuntu.com/ubuntu/08:43
TJ-DarkTrick: why are you adding libc,apt ? "libc" isn't a package as such08:50
TJ-DarkTrick: also, 'apt' should be installed as part of the base-files anyway08:51
DarkTrickTJ-, I did it without first; failed with the same error08:53
DarkTrickI interpreted some online information as "if you don't specify libc, it will not be installed"08:54
TJ-DarkTrick: are you trying to run debootstrap against an existing installation?08:54
TJ-DarkTrick: many of the errors reports suggests there are bad, existing, files. e.g. dpkg: warning: parsing file '/var/lib/dpkg/status' near line 59 package 'dpkg':  missing 'Architecture' field08:55
DarkTrickTJ-: I'm not sure what "agains" means. I'm trying to install a chroot environment with it08:55
TJ-DarkTrick: /var/lib/dpkg/status is the database 'dpkg' uses to track packages08:55
TJ-DarkTrick: as in, is the target an empty directory or does it contain a pre-existing OS install?08:56
TJ-DarkTrick: I'm wondering if the USB device is failing - try the same command but set the target to a directory on the host storage device, e.g. " sudo debootstrap --variant=buildd --include=libc6,apt --arch=amd64 groovy $HOME/chroot_test2  http://archive.ubuntu.com/ubuntu/ "08:58
DarkTrickTJ-: maybe I messed up with the log. I ran the command twice (once again after the failure). the second time it was rust "validating". I thought it had no effect on the log file.08:59
DarkTrickTJ-, I just cleaned the dir and retry08:59
DarkTrickI will also try a different device09:00
ice9why ubuntu doesn't encrypt the /boot partition when using the full disk encryption in the installer?09:40
ice9grub supports full disk encryption including the /boot09:41
DarkTrickTJ-, Perhaps you where right about the HDD09:48
DarkTrickTJ-, It went through on my local drive09:49
dan101Does Ubuntu 20.10 still use Xorg?10:09
ducassedan101: yes10:14
dan101thanks10:14
=== Mrokii_ is now known as Mrokii
ice9udev rule exists but it's not triggered when the device is inserted; the workaround is to unplug the device then reinsert it, now it works fine; any idea? I don't see errors in the journal12:03
TJ-ice9: you mean the rule is in place, then you need to plug the device in twice before the kernel reports it? I'd suspect a flakey connector12:16
ice9TJ-, your description is right;  but I tried in different ports and still having the same issue12:17
TJ-ice9: on the first insertion does the kernel log show anything? (I assume this is USB) ?12:18
TJ-ice9: "journalctl -f -k "12:18
ice9TJ-, in the first insertion it's logged in journal and the device works partially but there are some features that doesn't work until re-inserted12:19
TJ-ice9: what device is this? it sounds like something that requires a USB modeswitch operation12:19
ice9TJ-, it's a hardware token (yubikey)12:20
TJ-ice9: I use yubikeys; what specifically are you missing?12:20
ice9TJ-, great, so in the first insertion, I can login with yubikey+PAM fine but after login, some apps cannot detect the key such as KeePassXC, also the Yubikey personalization tool cannot detect it's serial number and it's features until I re-insert12:21
TJ-ice9: does the kernel show the yubikey with different device IDs on each insertion?12:23
ice9TJ-, where I can find that info?12:25
KurozenHello12:26
KurozenI understand moving linux from machine to machine is fine as it is very flexible with HW changes, but I was wondering if there's anything extra I could do before I move, or to check12:26
KurozenLike any HW depencendies, stuff like that, it's a fresh install relatively, not really seriously used yet12:27
lotuspsychjeKurozen: nothing can beat a clean install, but ubuntu adapt pretty well on new hardware too12:29
mgedminmaybe check that your new machine supports the boot method that's currently used (UEFI vs legacy)12:29
TJ-ice9: in the kernel log, when the device is detected, and it shows the vendor:device ID12:30
* mgedmin discovered that the new motherboard didn't support legacy boot after moving his (really old) ubuntu install there; it was very educational and ended happily12:30
Kurozenmgedmin: what kind of mobo would that be lol, only for windows?12:32
mgedminwhy? ubuntu supports uefi just fine12:33
KurozenAh okay so UEFI minus SecureBoot/GPT12:33
mgedminubuntu supports all of these things12:33
KurozenYeah, I wasn't following any of this for a long long time12:33
KurozenI guess I had another reason to install to MBR?12:34
KurozenBecause I did 19 and 20 in a span of a few months12:34
mgedminthe system that I mover was originally installed in 200712:34
KurozenRight, but if the Ubuntu installer offer GPT installation, perhaps GPT requires SecureBoot?12:35
mgedminluckily I had a spare primary partition I could repurpose as ESP12:35
mgedminGPT is just a partition table format, it's orthogonal to secureboot12:35
mgedminI think booting from GPT requires UEFI, while MBR works with both legacy and UEFI boots12:36
mgedminand secureboot requires UEFI12:36
KurozenI guess I could use GPT since I have UEFI on both PCs, but I don't want to bother with SecureBoot12:36
ducasseyou can boot gpt in legacy mode, you just need a bios boot partition for grub12:37
mgedminoh, cool!12:38
Kurozenohh, I guess I didn't figured that out a bit before, I wasn't asking.12:38
ice9TJ-, I think it logs the same ID, except the hid-generic, it's different every insertion12:38
* mgedmin thinks life's too short to bother with partitioning too much and he usually lets the installer do its thing12:38
mgedmin(plus, when you install a machine in 2007 with separate /, /usr, /home, /var, and give each like 5 gigs, you end up regretting that ten years later)12:39
mgedminLVM is a lifesaver12:39
rocktopI have this ps comand results : https://bpa.st/AHQA   what is the difference between PID, PPID and LWP ?12:41
mgedminPID is the process ID; PPID is the _parent_ process ID12:45
BluesKajHi all12:45
mgedminLWP sounds like "lightweight process" and is actually the thread ID12:45
rocktopis this mean that my App using multiple CPU?12:46
rocktopor just single CPU ?12:46
mgedminrocktop: the manual page explains all the columns: http://manpages.ubuntu.com/manpages/focal/en/man1/ps.1.html#standard%20format%20specifiers12:47
mgedminsame PID, multiple LWP values?  yes, that's a multithreaded program12:47
mgedminto use multiple CPUS you need to use either multiple threads or multiple processes, so yes12:48
KurozenI find the find command very awkward12:50
KurozenI want to look for something in root but I put find / term* and doesn't work12:50
KurozenErr, I find the --help text of find very weird12:51
Kurozennot explained what -H means12:51
Kurozenprobably one of those things that wasn't updated in 15 years or more12:51
ogratry: find /path -name '*term*'12:52
Kurozenthat works but prints a ton of "permission denied" errors first12:53
Kurozenfind term* did work, but only for current directory12:54
Kurozenwhich is the default, yes12:54
ograto overcome premission denied errors use sudo or limit the path ...12:56
ogra(the denials are from trying to search paths only root can read usually)12:56
ograor simply install mlocate so you can use the locate comand again12:57
Kurozenright, I was thinking of just silencing them if FIND supports12:59
KurozenBut that's okay; I found what I needed now, thanks!12:59
TJ-ice9: the input/event the Yubikey is assigned doesn't matter; what I was referring to is the USB vendor:device ID, e.g. "idVendor=1050, idProduct=0407, bcdDevice= 5.24"13:00
TJ-ice9: so this makes me wonder what Udev rule you were referring to - is it one you've created yourself, or from some 3rd party package?13:02
rocktopmegoix: but I see about 80% CPU7 usage and other CPUs are idle13:02
ice9TJ-, I don't see the vendor:device ID in the kernel log (what command did you run?); and the rules are by 3rd party package13:09
TJ-ice9: "journalctl -f -k" and insert the device13:10
TJ-ice9: e.g: "kernel: usb 1-4: New USB device found, idVendor=1050, idProduct=0407, bcdDevice= 5.24"13:10
ice9TJ-, thanks for cmd; well it's reporting the same ID every time it's inserted13:10
TJ-ice9: that's good; so the question now is what this 3rd party package's udev rule is doing/expecting? What is the package, where can I see the udev rule it installs?13:14
ice9TJ-, that's the rule: ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0010|0110|0111|0114|0116|0401|0403|0405|0407|0410", ENV{ID_SECURITY_TOKEN}="1"13:23
lusrxi need to install php extension called dom. is this available in ubuntu?13:28
lusrxi find "php-odbc" if i tab complete "sudo apt-get install php-o"13:29
lusrxsorry, i mean "sudo apt-get install php-do"13:30
TJ-ice9: so all it does is set a environment variable? there must be some other rule being triggered to run some process if you're expecting something to happen as a result of it being plugged in13:32
ice9TJ-, btw if I ran "udevadm trigger", the key works fine without re-insertion13:42
ice9TJ-, there is also this one: KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0407", TAG+="uaccess", GROUP="plugdev", MODE="0660"13:44
TJ-ice9: I'm unclear as to what the problem you're trying to solve is now! is the rule not triggering causing some loss of functionality?13:46
ice9TJ-, yes there is some loss of functionality; and re-insertion or "udevadm trigger" solves the issue13:53
TJ-ice9: From what I can see of the systemd rules, they only set ENV vars or TAGs, or set file-system mode/group. What specifically fails to work when this happens?13:59
ice9TJ-, the key is not detectable by some apps like KeePassXC, and the Yubikey Personalization tool14:00
TJ-ice9: sorry, you did say. I'm trying to reproduce the issue here but failing!14:02
ice9TJ-, you have to logout the session or reboot to test the first insertion14:02
ice9TJ-, https://imgur.com/a/YY06VjJ14:03
ice9TJ-, see the unknown error on top right and the N/A under "Features Supported"14:04
=== Grldfrdom_ is now known as Grldfrdom
TJ-ice9: I've been plugging/unplugging and monitoring using "udevadm monitor -p | grep SECURITY " and I always see a bunch of "ID_SECURITY_TOKEN=1" reports each time14:05
=== Grldfrdom is now known as Grldfrdom_
TJ-ice9: ahhh, so "first insertion after user session starts" ?14:06
TJ-ice9: I use mine for unlocking GRUB14:07
=== halvors1 is now known as halvors
yutahi , asking.14:16
yutasorry , I should lerning a bit.14:17
Maik!ask | yuta14:21
ubottuyuta: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience14:21
Maikand if you just want to chat then join #ubuntu-offtopic :)14:22
yutatyty Maik14:25
yutaI set Firefox cache folder zram,It seems Firefox writes in cache folder but not reads. This is not correct .14:27
yutaHow to fix it?14:28
DarkTrickQ: You can't get libgnomeui in Ubuntu 20.10?14:29
ice9TJ-, yeah first session after the user session starts, so plug it to login and keep it inserted then launch the Yubikey Personalization tool -> Settings;  this is before you re-insert or run the trigger cmd14:29
TJ-ice9: do you use the Yubikey to log-in ?14:30
TJ-ice9: wondering if something in userspace has it exclusively open and doesn't release it14:31
mgedminDarkTrick: you can look up what packages are available on https://packages.ubuntu.com/14:32
DarkTrickmgedmin, yes, can't find it there14:32
DarkTrickmgedmin, only until 18.xx  ( https://packages.ubuntu.com/bionic/libgnomeui-dev )14:32
DarkTrickPerhaps I was overseeing something...14:32
yutaIt seems that this is firefox bug ,excuse me. :)14:34
ice9TJ-, yes I login with the key with PAM which works fine14:37
mgedminlooks like it was removed14:43
TJ-ice9: I'm wondering if the pam module is holding exclusive use of the device14:44
ice9TJ-, mmm14:45
TJ-ice9: it'd explain why, after log-in, other applications can only access the device after it has been disconnected14:45
ice9TJ-, what does "udevadm trigger" do? I think this is also important14:46
TJ-ice9: easy way to test that; see if anything has the device file open, with something like: "sudo lsof  $(ls -1 $( readlink -e $(find /dev/input/by-id  -name '*YubiKey*' ))) "14:53
TJ-ice9: it tells the kernel to replay events related to a device or deviecs14:54
ice9TJ-, Try 'readlink --help' for more information.14:55
ice9lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs14:55
TJ-ice9: that's expected and can be ignored14:55
ice9readlink: missing operand14:55
TJ-ice9: I see: "Xorg    1458 root   98u   CHR  13,80      0t0  726 /dev/input/event16"14:55
TJ-ice9: the yubikey is plugged in?15:01
rneesemorning15:02
rneeseany one here a budgie user/dev15:02
rneeseI need some input15:03
ice9TJ-, it's plugged in yes15:05
ice9TJ-, -iname returned it this time15:07
=== DerRaiden is now known as DerRaiRai
ice9TJ-, it's with small 'k' Yubikey15:07
TJ-ice9: strange - that suggests some differences in how YubiCo program the text IDs15:07
TJ-ice9: I have: "/dev/input/by-id/usb-Yubico_YubiKey_OTP+FIDO+CCID-event-kbd"15:08
dami0hello, can i have a fully unattended install and use preseed files with subiquity?15:14
ice9TJ-, that's the output:15:14
ice9systemd      1 root   33u   CHR  13,84      0t0  838 /dev/input/event2015:14
ice9systemd-l 1154 root   10u   CHR  13,84      0t0  838 /dev/input/event2015:14
ice9Xorg      1980 root   77u   CHR  13,84      0t0  838 /dev/input/event2015:14
mgedmindami0: check out https://discourse.ubuntu.com/t/please-test-autoinstalls-for-20-04/1525015:17
mgedmindami0: AFAIU you can't use the same kind of preseed file as for debian-installer, but there's a new yaml file format for unattended autoinstalls15:17
TJ-ice9: so, looks like systemd-logind may be hanging on to it. If you remove the Yubikey and reinsert and check again are the same processes holding it?15:19
dami0mgedmin: thanks15:19
=== acheronuk is now known as RikMills
gillzonesomeone using m.2 as a primary boot storage for ubuntu? working good?15:21
NotumHey all, I'm trying to configure NTP on a ubuntu machine so that it syncs with our orgs NTP server, as i understand it all is need is install ntp, add a 'server <fqdn or IP address to NTP server> prefer' to /etc/ntp.conf and then restart ntp service?15:24
NotumThat adds the NTP server to the list of servers but NTP doesn't seem to prefer that server, i'm still getting some offset..15:24
NotumAm i missing something? :)15:25
mgedminI think my laptop has an m.2 ssd (which is the only local storage here)15:26
ice9TJ-, I get the same output after re-insertion15:27
mgedminit's amazingly fast15:28
mgedminNotum: I get the impression that ntp itself is a bit deprecated if all you need is a client, and that you should use systemd-timesyncd or chrony instead15:28
NotumThanks mgedmin. Will take a look at that instead15:29
mgedminNotum: timesyncd is installed by default, btw; check out http://manpages.ubuntu.com/manpages/focal/en/man5/timesyncd.conf.5.html15:30
discopatrickHello! Can anyone recommend a terminal emulator for ubuntu that will save my shells between restarts, the way iTerm does on a mac?15:31
TJ-discopatrick: what do mean "save my shells" ?15:39
NotumThanks mgedmin, think i got it woring to our orgs NTP server :)15:39
TJ-ice9: did you confirm the device was created on /dev/input/event20, and that wasn't a left-over from the previous insertion?15:40
ice9TJ-, yes it's created on that because this is a fresh boot (session)15:46
discopatrick@TJ-  thanks for asking for clarification - I mean I want it to remember how many shells I had open, their layout, and which path they were open to. I don't need it to pickle the processes that were running.15:51
TJ-discopatrick: I use tmux to do that, rather than a terminal15:57
raubIf I have two directorires, moo and woo, should 'ln -s --force moo woo' overwrite woo?15:58
mgedminraub: no, it'll create or overwrite woo/moo15:59
mgedminraub: check out ln's -T option (--no-target-directory) if you want ln -sf foo woo to always try to overwrite woo16:00
TJ-ice9: I'm wondering if the device is losing the uaccess TAG somehow - that's what indicates to systemd-logind that it should allow the currently logged in user to access the device16:00
mgedmin(my gut feeling says it will fail, but I haven't tried it)16:00
Chakravantiwhy does ubuntu mute firefox almost every time i try to use it?16:28
Chakravantihow do i make it stop and to and leave the change i make without muting it AGAIN?16:29
vlmcan i remove filepaths from output of find ?16:31
leftyfbvlm: -exec basename {} \;16:32
vlmleftyfb: can i use printf also?16:33
leftyfbvlm: I guess16:33
KurozenHello16:36
KurozenDoesn't FIND have a --recursive option ???16:36
bindiKurozen: find is recursive16:36
bindiKurozen: you can however limit it with -maxdepth16:37
KurozenAh okay, I think I didn't had the syntax for name pattern right.16:38
mgedminhow do I change the monitor backlight level from the command line (in wayland)?16:39
Chakravantihow do i stop ubuntu from muting firefox and everything else in settings automatically?16:45
Chakravantii coucldn't believe it was actually firefox being broken with an automatic shutoff to the function.  what a ******* **** ETC.  found the solution though16:50
Chakravanti*** now scratch that it's still broken grrrr16:51
Chakravantinow it stopped doing it automatically and it's random as hell16:52
Chakravantiuseless16:55
lotuspsychjeChakravanti: please dont use this channel to describe every step you take, focus on your question16:56
Chakravantino one is helping me anyway16:57
lotuspsychjepatience Chakravanti if volunteers know, they surely will16:57
Chakravantii'm just jumping backinto the system to let people know i need help in case someone with w lcue decides to chip in16:57
Chakravantihttps://askubuntu.com/questions/908262/firefox-starts-in-mute-by-default  this guy has a solution which partly works but the guy replying has something i want to try but his instructions are useless despite including a pic he's refering to16:58
Chakravantii can't wai to ge tthe **** off ubuntu16:59
Chakravantiuseless17:02
ducassemgedmin: any controls in wayland need to be implemented in the compositor, it's not very friendly towards scripting or doing stuff from cli17:30
ducasseaiui, at least17:30
mgedminducasse: well, gnome-control-center can do it, so there must be some API somewhere (dbus?)17:32
mgedminoof https://wiki.archlinux.org/index.php/backlight#Using_DBus_with_Gnome17:34
ducassein the case of gnome, it is implemented in gnome, which is the compositor17:36
dami0hi, how do i set up an EFI boot partition using the installer? i can't see the fat32 filesystem option18:14
tomreyndami0: did you boot in uefi mode?18:19
mgedmindami0: are you doing manual partitioning?  is this ubiquity or subiquity?  do you see a vfat option?18:19
dami0that's a good question. how do i check?18:19
tomreynecho -n 'This system booted via: '; [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS18:19
dami0also yes, manual partitioning18:19
tomreynctrl-alt-t to spawn a terminal18:20
dami0i guess not, /sys/firmware/efi doesn't exist18:20
tomreyni guess you'll need to reboot then18:21
tomreyndami0: once booted in uefi mode, you'll be able to create an "EFI System Partition": https://i.imgur.com/euhPNUE.png18:28
dami0neat, thanks18:32
KurozenHello, one of the biggest thing I always wanted with grep is to find a partial string in a line that contains another partial string18:48
KurozenNever went around figuring it out, but now that I started using linux more, and programming, I'll need it!18:49
mgedmingrep partial1 file | grep partial2, if you just need the line itself18:49
mgedminif you want a line number it gets a bit more fun18:49
KurozenYeah, it'd need all lines which have string2 if string1 is also present (or vice versa, simply both)18:50
KurozenOh, line number as well ... because I need to edit them, and the quicker it goes the better18:50
shredsnot sure if my IRC client acted up or not since it seems to have sent the message before I even reconnected so here it is again:18:54
shredsHi, I'm currently on 20.10. Do I really need to upgrade to 20.04 LTS to be able to upgrade to 20.10? This is what I understand from the prompt when I do do-release-upgrade -c thx18:54
mgedminshreds: you're saying you're already on 20.10?  there's nothing to upgrade then18:55
shredsoh damn I meant 19.10 sorry18:56
rfmKurozen, this is well within the capabilities of egrep regular expressions  something like ((string1)+.*(string2)+)|(string1)+.*(string2)+) ought to do it18:57
mgedminshreds: yes, you can't skip releases while upgrading18:58
shredsok so I upgrade to LTS and then if I want to I upgrade to 20.10 got it thanks for confirming18:58
shredsSo I guess I can tweak /etc/update-manager/release-upgrades to LTS and do-release-upgrade? @mgedmin18:59
mgedminyou don't need to tweak /etc/update-manager/release-upgrades to upgrade to a LTS18:59
mgedminwell, unless it currently says 'never'18:59
shredsit's currently set to normal19:00
mgedminthen you don't need to change it19:00
mgedminespecially if you intend to upgrade to 20.10 next19:00
shredsgood I got it working thanks!19:01
shredsfingers crossed that the upgrade goes well :P19:01
rfmKurozen, actually the pluses are unneeded, what was I thnking?  just (string1.*string2)|(string2.*string1)19:04
disiis there a standard/conventional places for user logs (e.g. XDG_LOG_DIRS or something)?19:22
leftyfbdisi: user logs?19:25
=== kristure is now known as Kristure
disileftyfb: ya, like a non-privileged /var/log19:26
mgedminXorg used to put logs in ~/.cache/logs once upon a time19:27
mgedminthere's also a ~/.var/ on my machine (used by flatpak?)19:27
* mgedmin isn't entirely sure about the exact place inside ~/.cache/ for X logs19:28
leftyfbdisi: I would use journald now. system-cat can write to logs as an unprivileged user19:28
disihuh, interesting... neither of those exist on my machine19:28
leftyfbdisi: echo 'hello' | systemd-cat19:28
disileftyfb: cool, didn't know about that thanks... not sure it'll work for me tho, because i'm running a custom app that logs to a path specified in an env var19:29
cloaked1is anyone else having problems with `apt` updates working for 20.x Ubuntu? It worked earlier today and now updates are not working. I am getting GPG errors all of a sudden. `GPG error: http://security.ubuntu.com/ubuntu focal-security InRelease: At least one invalid signature was encountered.19:36
cloaked1`19:36
mgedminworks fine here on 20.1019:37
Deano59cloaked1: just ran "sudo apt update -y" and it's fine, 20.04.1....19:37
* disi is probably gonna go with "${XDG_CACHE_HOME:-"$HOME/.cache"}/appname/log"19:42
disithanks everyone19:42
mgedmindisi: occassional signature errors from apt update are expected, if you hit the time window during a mirror update and the various metadata files are not in sync19:45
mgedminthis should be rarer now with InRelease containing the signatures inline19:46
disicloaked1: think that's for you ^ :p19:46
mgedminoops19:46
mgedminyes19:46
dami0ok, thanks everyone who helped with the new system for automated installs. biggest complaint i have so far (other than hardcoded file name) is that the feature of the installer generating the autoinstall file from the interactive install isn't more prominent19:48
b1ack0phi19:57
b1ack0pi subscribed some mailing list from community ubuntu but i receive too much emails daily19:58
b1ack0phow can i unsubscribe?19:58
b1ack0phttps://lists.ubuntu.com/mailman/listinfo/19:59
b1ack0phow will i login and select mailing list?19:59
mgedminyou don't need to log in, just enter your email and you'll receive a confirmation code for unsubscribing20:05
mgedminthe bottommost form is for that20:06
EscimoWhy is Landscape server still not available for 20.04?20:07
leftyfbb1ack0p: when you click on the mailing list on that page you linked, it literally tells you exactly what you need to do in order to unsubscribe20:07
mgedminwell to be fair there's a _lot_ of text there20:09
The_LoudSpeakerI am using wayland on ubuntu 20.04 rn. everything works except the screensharing feature. I can only share firefox window and sharing entire screen shows a blank black screen with only my cursor on it. Is there any way to get screensharing work on wayland in ubuntu 20.04?20:10
The_LoudSpeakerIt works pretty seamlessly on wayland on fedora 33. They implemented piewire afaik. is there a simillar guide for ubuntu?20:11
cloaked1sorry, I stepped away for lunch20:16
cloaked1back now20:16
Kurozenrfm: syntax error near unexpected token `('20:16
cloaked1@mgedmin: thanks!20:17
mgedminThe_LoudSpeaker: this is delayed by some bureaucracy (pipewire Main Inclusion Report), but ought to be fixed by the time 21.04 is released20:17
mgedminpeople are working on it20:17
The_LoudSpeakermgedmin: that's good to know. Will be SRUed into focal?20:17
mgedminI don't know; I wouldn't hold my breath20:18
leftyfbmgedmin: not if you just search the page for "unsubscribe"20:19
mgedminThe_LoudSpeaker: see https://discourse.ubuntu.com/t/screensharing-in-wayland-groovy-gorilla-edition/1887020:20
The_LoudSpeakerHmm. I actually very much like the stability of LTS releases. Upgrading to 21.04 when it's released only for this doesn't apeal to me. And this is a very good feature. Worthy of SRU. Can be included in a point release maybe?20:21
The_LoudSpeakerI will check that thread.20:22
b1ack0pleftyfb: is there any member control panel to edit/select mailing list i subscribed?20:22
mgedminThe_LoudSpeaker: and this is the pipewire MIR bug: https://bugs.launchpad.net/ubuntu/+source/pipewire/+bug/180253320:22
ubottuLaunchpad bug 1802533 in pipewire (Ubuntu) "[MIR] pipewire" [Low,Triaged]20:22
b1ack0pit tells me to unsubscribe one by one20:22
leftyfbb1ack0p: there is not. Also, this isn't the place for supporting the mailing lists:  "If you are having trouble using the lists themselves, please contact mailman@lists.ubuntu.com"20:26
b1ack0pok thanks20:27
MrXaeocHi guys I'm having trouble installing Ubuntu in to a Toshiba Satellite I can't pick were to install the OS any help will be appreciated!!20:31
The_LoudSpeakermgedmin: thanks for the links. Looks like it might get in with the hippo release. I will subscribe to the bug so that I get notified. I will just go back to x11 for now for screensharing. Let me know if you need any help regarding this at some point (testing, debugging,etc)20:31
phox_Hi! I'm trying to connect a second screen via an multi port adapter that is connected thorugh usb-c. The screen works when connected via hdmi, and the adapter USB port works on the adapter. Could somebody help me understand why the hdmi part doesnt work? The adapter works for different windows and mac laptops..20:46
sarnoldphox_: what does xrandr report when the monitor is hooked up?20:47
phox_sarnold, https://pastebin.com/wRWjXLn220:50
sarnoldphox_: hrm :( when I tried using a usb-c video adapter, I thought the names were a lot more complicated, showing the device that was doing the port, too20:58
sarnoldthe dock I wound up using, has names like DP-1-320:59
phox_sarnold, oh, ok. What does that mean though..?20:59
phox_sarnold, thanks anyway for looking at it20:59
sarnoldphox_: I wonder, do you get full usb-3 speeds out of that port? I wonder if it's only offering old and slow usb? try plugging the adapter into other ports?20:59
phox_sarnold, its a laptop and it only has the one usb-c port21:01
cloaked1Still having problems with `apt update` but perhaps I should be a little more specific as this may not actually fully be an ubuntu problem. The problem I'm observing is happening strictly with `ubuntu` containers images so the following: `docker run -it ubuntu:latest /bin/bash` (interactive) then attempting `apt update -y` is failing. I've tried with the last few distros and am getting the same error. I wonder if anyone else can reproduce this as21:01
cloaked1this just started happening to me this morning. Looking at http://security.ubuntu.com/ubuntu/dists/focal-security/ also shows that the Release files were updated this morning so just wondering.21:01
sarnoldphox_: oh :( that drastically limits debugging options :( is there anything funny in dmesg?21:04
mgedmincloaked1: can't repro; docker run -it ubuntu:latest /bin/bash and then apt update succeeds21:04
sarnoldcloaked1: I thought the point of docker images is that you never updated them?21:05
mgedminsarnold: you have to run apt update in your Dockerfile so that you can install packages into the container you're building on top of ubuntu:latest21:06
cloaked1@mgedmin thank you for checking.21:06
mgedmincloaked1: docker pull?21:06
mgedminnot that I have any idea what could cause your problem21:07
cloaked1maybe. `docker run` is pulling a fresh image (I `rmi` all my images)21:07
mgedminmaybe you do have an adversary intercepting http requests and injectin malware ;)21:07
cloaked1yeah man, I don't either. I've never run into this kind of issue before.21:07
cloaked1Maybe a docker issue...I dunno. I am gonna start taking a hammer to images and docker to see what that does.21:08
tomreyndid you say how `apt update -y` is failing?21:08
cloaked1I did earlier but the error is:21:09
phox_sarnold, heres the log output from dmesg after ive took out and put back in the usb hub/multi port adapter thing. https://pastebin.com/dWhgarHW21:09
cloaked1`The repository 'http://security.ubuntu.com/ubuntu xenial-security InRelease' is not signed.`21:09
cloaked1same with focal21:09
cloaked1bionic21:09
cloaked1checking the InRelease files physically shows the file(s) is/are signed21:10
cloaked1so /shrug21:10
tomreyni notice now you posted this error message earlier: `GPG error: http://security.ubuntu.com/ubuntu focal-security InRelease: At least one invalid signature was encountered.` - which differs.21:10
mgedmincloaked1: no more specific gpg signature errors in addition to that 'is not signed' message?21:10
cloaked1yeah, so I  noticed that for one of the images, `gpg` wasn't installed...which was strange.21:10
cloaked1mgedmin: nope. :\21:11
cloaked1unfortunately, I'm running docker on macbook so the docker is using a VM. I mean, it seems like a stretch that docker is the problem but I could be wrong.21:12
mgedminapt depends on gpgv rather than gpg itself21:12
sarnoldphox_: hmm, nothing really stands out.. how about lsusb once it's attached? lspci? (I honestly haven't got a clue if we should expect the hdmi-over-usb3 in lspci output or not)21:12
cloaked1maybe there's a disk space problem on the vm...21:12
mgedminalthough you do need gpg to run apt-key list21:12
cloaked1yeah, that's what I was trying to do some testing with21:12
phox_sarnold, heres the output from lsusb with and without the adapter. https://pastebin.com/X4ZyijfW21:13
sarnoldphox_: so the VIA entries at least are new ... Via once upon a time made graphics chips, iirc, but .. "Product: USB 2.0 BILLBOARD" in the dmesg output near one of the VIA entries..21:14
sarnoldI'm not sure :(21:14
phox_sarnold, lspci is the same with and without adapter.21:15
phox_sarnold, no worries :) thanks anyway21:15
phox_sarnold, i'll make a post in one of the ubuntu forums or stackoverflow21:15
cloaked1@mgedmin yup. Freakin mac docker. Image space exhausted. No errors. That was the problem and the timing of the Release and my issue(s) was just coincidental.21:17
sarnoldphox_: sorry I'm not coming up with anything good :( post your link in here when you're done and I can give it some upvotes :)21:18
vladoskiHi guys I have some problems with my bluetooth dongle21:23
vladoskiI don't know why but it keeps displaying devices that are not there21:23
vladoskiand the connection is quite disrupted after a while21:24
vladoskiis it good to remove everything that's under /var/lib/bluetooth/<dongle address>21:24
AavarI have 3 home servers in my lan. Is there a simple command I can run to test witch has the fastest CPU?21:34
sarnoldAavar: dmesg | grep BogoMIPS21:36
sarnoldAavar: bogomips is a *terrible* measure of cpu performance but it's very fast to collect it :)21:37
Aavarsarnold: Thank you. The new server is definitely the fastest :D21:47
sarnoldAavar: woo :)21:48
sarnoldAavar: stress-ng isn't really a *benchmark* tool but it can report useful measures .. a pal tracked down a few hundred broken powersupplies in his fleet of servers when stress-ng had different malloc() results21:49
vladoskican anyone please help me with my bluetooth issues?21:54
vladoskiI don't understand why it keeps shutting down21:54
vladoskiand go up again21:54
vladoskialso it says that my mouse is connected when it's not21:55
jeremy31vladoski: It is likely that USB power management is on.  I don't remember how to disable it22:14
vladoskijeremy31: oh okay thanks I'll try22:14
rneesehey guys22:21
iseneFor some reason run-mailcap somefile.pptx does not work (command dialog opens and asks for device to open the file with - with no options to choose from). *.docx and *.xlsx do work. And xdg-open works on all of them. My entry in /etc/mailcap that should trigger the opening is this:22:38
iseneapplication/vnd.openxmlformats-officedocument.presentationml.presentation; soffice --nologo --impress '%s'; edit=soffice --nologo --impress '%s'; test=test -n "$DISPLAY"; description="Office Open XML Presentation"; nametemplate=%s.pptx22:38
iseneHow to debug?22:39
devslashdoes anyone here use ubuntu server 20.10 ?22:39
devslashI'm using 20.04LTS at the moment and I'm considering upgrading to 20.1022:40
blueeagle!anyone22:40
blueeagleNo longer a thing. :)22:40
tomreyndevslash: most folks running servers prefer stability, so LTS. but there can be different needs.22:47
devslashso which version of ubuntu would be the next LTS ? 21.04 ?22:48
tomreyn!lts22:48
ubottuLTS means Long Term Support. LTS versions are supported for 5 years on the desktop and server. The latest LTS version of Ubuntu is !Focal (Focal Fossa 20.04). Ubuntu !flavors may have different support durations, check their release notes for information.22:48
tomreyn!XX.YY22:48
tomreyn!YY.MM22:48
ubottuUbuntu version numbers are: YY.MM (YY=release year,MM=release month). Each year sees two releases, so just specifying YY is imprecise. See also https://www.ubuntu.com/about/release-cycle22:48
tomreynthis link should help22:48
devslashi know about the version naming convention22:49
tomreyni just pulled the factoid to get the url for you22:49
devslashyea thanks22:49
tomreynmost people don't want to, and even more don't manage to upgrade every 6-9 months22:50
devslashyea I think that I'm gonna hold off on updates22:52
devslashupdating22:52
Gh0staGood evening!23:01
Gh0sta2 quick questions!23:01
Gh0sta1. How can I disable my Bluetooth until I turn it back on manually?23:01
Gh0sta2. After disconnecting the Bluetooth headset, sound doesn't goes back to the Monitor output23:02
tomreyn1.: settings -> bluetooth -> off23:02
Gh0statomreyn: it comes back on when I restart my PC23:03
Gh0sta:(23:03
tomreynoh, that may be.23:03
tomreynno idea then, other than blacklisting modules23:03
tomreynor you could rfkill it with a script, i guess23:04
Gh0stahmm so there is no default option for it ? :/23:04
=== juniorrubyist_ is now known as juniorrubyist
tomreynsystemctl disable bluetooth.service    may work23:05
Gh0stahmm ok23:05
tomreynpersonally i'd say the setting in Settings should persist across reboots, and the fact that it does not is a bug.23:06
Gh0staseems like it was like that in the previous versions as well23:07
Gh0stasystemctl disable bluetooth23:11
Gh0stawhat about this command?23:11
Gh0stafound it on a forum23:11
tomreyn<tomreyn> systemctl disable bluetooth.service    may work23:11
tomreyn(appending ".service" is optional)23:11
Gh0staoh sorry lol23:11
Gh0stamy bad23:11
tomreyndo you have "tlp" installed?23:12
Gh0statlp?23:12
tomreynapt list --installed tlp23:12
jeremy31laptop power management tools23:13
Gh0statlp/focal,focal,now 1.3.1-2 all [installed]23:13
Gh0stait's a desktop PC btw23:13
tomreyntlp seems to be what causes the state not to be restored on reboot. you can configure it to    RESTORE_DEVICE_STATE_ON_STARTUP=1    in /etc/default/tlp23:14
tomreyn(or remove the package if you don't need it)23:14
Gh0staoh ok23:15
Gh0stadoes this package only controls the behaviour of BT?23:15
tomreynno23:15
Gh0staok23:15
Gh0stalet me try23:16
Gh0stabrb23:16
donofriowhen you do a graceful restart of apache does the pid change?23:32
foubarreHi everyone. Used to do that like 10 years ago, maybe not on ubuntu, but i need to do that again. I am in need to have a live ubuntu on my hard drive that i can persist when needed. Looked for some documentation in this but all found was pretty old. Any hint, please?23:33
blueeagleIs wubi still around?23:36
blueeagleOh. That was 7 years ago. :)23:37
tomreynthere's !WSL, and multi-boot23:37
WobblyWeavilhi23:44
WobblyWeavilUpgraded to 20.10 and now unable to adjust brightness. Grateful for any pointers (and apologies if I'm writing this in the wrong place)23:46
tomreynit's the right place (and i don't have an answer).23:47
WobblyWeavilI don't have any entries returning for ls /sys/class/backlight. Already tried modifying my /etc/default/grub file to read GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor"23:53
guivercWobblyWeavil, I do see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1893568 but can't help either23:54
ubottuLaunchpad bug 1893568 in linux (Ubuntu) "[Dell Inspiron 3793] Screen brightness missing" [Undecided,Confirmed]23:54
WobblyWeavilguiverc Thanks for the link, I'll check it out. Seems like a relatively common problem over the years but I'm 2 hours deep in troubleshooting and figured I'd turn to the pros (I'm a linux noob). Thanks again23:56
YWH_1Is there a way to have the Ubuntu company update a package?23:56
YWH_1To request that they do.23:56
sarnoldYWH_1: perhaps this? https://wiki.ubuntu.com/StableReleaseUpdates23:57
YWH_1TU23:57
tomreynterrific unicorn?23:58

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