clarkk | ravage, thanks for your reply. I just ran "bluetoothctl info" (no mac address), and it showed the device as trusted (maybe because it was connected at the time?). I switched the device off and on, and the problem stopped, after all evening of it not working. I'm sure it will stop working at some point, but has "bluetoothctl info" solved this for now? | 00:00 |
---|---|---|
ravage | i dont think that command solves anything. but if it works thats great :) | 00:01 |
tannera | Am I meant to have linux-generic-hwe-20.04 and 22.04? https://i.imgur.com/i6N8MXs_d.webp | 00:39 |
konrados | Hey, I have a stupid question (as always:)). btw, hmmm tannera - it's hardly readable (the screenshot) | 00:43 |
konrados | Anyway, I've just installed ufw on my server. In theory, if it is *not* configured to allow port 22, and I will logout, then I will never ever be able to ssh again? | 00:44 |
ravage | yes you can lock yourself out with a firewall | 00:45 |
ravage | i wouldnt say "never ever" but it can be painful | 00:45 |
konrados | ravage, wow, that was just my thought a second before hitting 'enter' :) Now I first allowed and then 'ufw enable'. Do you remember if port 22 is enabled by default, just upon installation? | 00:47 |
oerheks | sudo ufw allow ssh 22 | 00:47 |
konrados | oerheks, yeah, did just that, so if I first enabled the firewall, that would be "painful" :) | 00:48 |
konrados | good to know :) | 00:48 |
oerheks | sudo ufw app list | 00:48 |
oerheks | ehm, existing connections are dropped then? | 00:49 |
konrados | oerheks, well, after installing I wanted to `sudo ufw enable`, but I got 'Command may disrupt existing ssh connections. Proceed with operation (y|n)?' and then I thought - hey, what if this blocks 22? :) | 00:50 |
deego | i've never seen ufw disrupt an /existing/ connection. icbw | 00:52 |
oerheks | me neither, but that warning is new to me too | 00:53 |
konrados | And this one indeed did not. Was just scaring me :) | 00:53 |
deego | yeah :) | 00:54 |
=== Hash is now known as stoned | ||
=== ootput7 is now known as ootput | ||
jhutchins | It's not too hard to set up a job that will run at reboot and if not manually stopped, will revert the latest changes to a firewall. | 02:39 |
jhutchins | Make your change, engage the job, reboot. If everything is cool, you log back in and stop the job. If it's not, the job reverts the changes and you can log in again. | 02:40 |
=== ingsock964 is now known as ingsock96 | ||
proxy | why is everything open but no switch boards found | 03:56 |
lotuspsychje | proxy: is your question related to ubuntu? | 04:00 |
opuntia | i'm running off a usb and I want to reset the time zone. How do I do that. It thinkis it is 4:11 July 12 | 04:12 |
opuntia | Hey there is a search in settings. How cool. Got it done. | 04:14 |
proxy | yes, i have accessed a door way that i dont think many others would have the necessary background to formulate the possibilities of what im speaking on, of, right now, the entire planet is saturated in these switches and only a few hats know where to acknowledge, now ubuntu is seed to sender for clarification of one port that needs to be basic native like a mirror and key blogger, then kali will take it up to the ether to switch | 04:20 |
proxy | the possibilities from AI to QAI, these is the synthetics we are all witnessing with the cloning and doubling going on, so i just give them and anyone watching a show to watch sorry to blast the ears however clever they( the simulation/system) gets it lacks in on personality is why unique individual key nodes breaks the codeX all and every time | 04:20 |
lotuspsychje | proxy: thats not related to ubuntu, please choose another channel for this discussion | 04:21 |
descent | you lost me at ubuntu is a seed | 04:22 |
=== diskin is now known as Guest4123 | ||
=== manfromafar7 is now known as manfromafar | ||
=== codingkoopa3 is now known as codingkoopa | ||
=== jimmyb2 is now known as jimmyb | ||
=== RaimondR- is now known as RaimondRaj | ||
=== Rhvs is now known as Rhys | ||
=== caverton7 is now known as caverton | ||
=== thosch666 is now known as thosch66 | ||
=== B1773rm4n0 is now known as B1773rm4n | ||
=== DArqueBish0p is now known as DArqueBishop | ||
=== djhankb6 is now known as djhankb | ||
=== kinghat5 is now known as kinghat | ||
=== henco7 is now known as henco | ||
=== Craighton_ is now known as Craighton | ||
=== not_phunyguy is now known as phunyguy | ||
=== ChunkzZ is now known as Chunkyz | ||
=== Furor is now known as Colere | ||
=== TheAppleNerd is now known as TheAppleFox | ||
=== TheAppleFox is now known as AppleFox | ||
=== AppleFox is now known as TheAppleFox | ||
=== TheAppleFox is now known as TheAppleNerd | ||
=== TheAppleNerd is now known as TheAppleFox | ||
=== TheAppleFox is now known as Woz | ||
=== Woz is now known as TheAppleFox | ||
vikram | hi | 07:40 |
vikram | is this a help channel? | 07:41 |
lotuspsychje | !support | vikram yes | 07:41 |
ubottu | vikram yes: The official ubuntu support channel is #ubuntu. Also see http://ubuntu.com/support and http://ubuntuforums.org and http://askubuntu.com | 07:41 |
=== TheAppleFox is now known as TheAppleNerd | ||
=== TheAppleNerd is now known as TheAppleFox | ||
lotuspsychje | TheAppleFox: stop fooling around with nick changes please | 07:43 |
TheAppleFox | lotuspsychje: sorry, I forgot I should have parted before messing with NickServ | 07:44 |
=== ootput5 is now known as ootput | ||
clarkk | I'm still having big problems with my ubuntu 20.04 system and a bluetooth headset (or just the bluetooth subsystem generally). Currently if I run systemctl status bluetooth.service, it shows numerous errors "bluetoothd[nnnnnn]: Can't accept connection: Too many open files". If I run cat /proc/sys/fs/file-max, it returns 9223372036854775807 | 08:33 |
clarkk | Does anyone have any suggestions at all? How do I see what files are open, and close them? | 08:33 |
Fravialis | Hi all. Did anybody notice ssh connections being dropped and subsequently a host becoming unavailable/unresponsive after a dist-upgrade involving, among others, systemd? | 08:40 |
Fravialis | I was in the middle of a d-u over ssh and suddenly I was kicked off, and couldn't ssh in again. I had to forcibly reboot the VM. Running Jammy. | 08:41 |
Fravialis | It happened right after systemd was configuring. | 08:41 |
=== Kholuendara90 is now known as Kholuendara9 | ||
Guest56 | hi | 10:20 |
Guest56 | I hv added DRI_PRIME=1 to /etc/environment file. Is it enough to use discrete graphics card on laptop or do I need to set setprovideroffloadsink also? | 10:20 |
Guest56 | My laptop have intel and amd graphics card | 10:21 |
arkanoid | I was running qgis launched from gnome terminal emuator inside a tmux session. Suddenly, qgis closed, gnome-terminal-emulator closed and also tmux session is gone. I had another gnome-terminal-emulator window running and that survived. Who's responsible for the event? qgis? tmux? gnome-terminal-emulator? | 10:32 |
clarkk | Is there a way to know when a certain package was last updated, and from what to what version? | 10:35 |
=== Mentos is now known as Jojo | ||
=== esv__ is now known as esv | ||
clarkk | To troubleshoot an issue I've got with bluetooth, to see if it occurred in a previous kernel version, I installed 5.13.0.48. When I booted into it, the system ran very slow. I don't think the network was working. I could see windows painting. Does anyone know why? | 12:13 |
clarkk | According to the apt log, I was using this kernel in June, so why doesn't it work properly now? | 12:13 |
gverrilla | Hello guys! Is there a quicker way to swap between output or input audio on ubuntu, instead of clicking sound > settings > scrolling down > changing from dropdown menu??? | 12:19 |
leftyfb | gverrilla: https://extensions.gnome.org/extension/751/audio-output-switcher/ | 12:26 |
=== loller_ is now known as loller | ||
=== loller is now known as loller_ | ||
=== Bencraft14197 is now known as Bencraft1419 | ||
gverrilla | leftyfb: thanks mate will take a look at it! | 12:50 |
Fxmuhrwawz | hi | 13:10 |
Jojo | an henlo | 13:12 |
BluesKaj | Hi all | 13:17 |
=== BinarySavior_ is now known as BinarySavior | ||
=== halvors1 is now known as halvors | ||
=== ootput9 is now known as ootput | ||
=== coco_ is now known as cacty | ||
=== _SteelRose_ is now known as SteelRose | ||
clarkk | I'm using Ubuntu 20.04 with Gnome 3.36.8. To troubleshoot an issue I've got with bluetooth that has started in the last few weeks out of nowhere, to see if it occurred in a previous kernel version, I installed 5.13.0.48. When I booted into it, the system ran very slow. I don't think the network was working. I could see windows painting. According to the apt log, I was using this kernel in June, so why doesn't it work | 14:38 |
clarkk | properly now? | 14:38 |
ioria | clarkk, how did you install 5.13.0.48 ? | 14:51 |
clarkk | ioria, using aptitude | 14:51 |
clarkk | sorry, not aptitude - synnaptic | 14:51 |
ioria | clarkk, are modules and modules-extra installed ? | 14:52 |
ioria | for 48, i mean | 14:52 |
clarkk | ioria, no, only linux-image-5.13.0-48-generic and linux-modules-5.13.0-48-generic | 14:52 |
ioria | clarkk, install extra | 14:53 |
clarkk | ok, thanks | 14:53 |
clarkk | ioria, if an update caused my problem with connecting a bluetooth headset, that has worked fine for about 2 years, what packages do you think could have caused it? the kernel, the nvidia drivers, bluez, or is there something else? | 14:54 |
clarkk | Like, what should I be trying to resolve my issue? | 14:54 |
clarkk | spent 2 days on this, and have not moved forward :/ | 14:55 |
ioria | clarkk, i'd start with a livecd | 14:56 |
clarkk | ioria, ok, but could you just suggest the packages that would be involved? | 14:56 |
mguy | in 20.04 why does wget complain about self-signed certs but curl does not? accessing a company intranet site with a wildcard cert | 14:57 |
ioria | clarkk, i don't want to mislead you... no idea, really | 14:57 |
clarkk | ioria, could you explain the approach with the livecd? | 14:57 |
ioria | clarkk, have you checked the logs about bluetooth ? | 15:02 |
clarkk | ioria, there are no files with the name '*blue*' in /var/log. Do you mean syslog? | 15:03 |
ioria | clarkk, better journalctl | 15:04 |
clarkk | ioria, I notice "Starting SDP server". What's that? | 15:05 |
ioria | clarkk, i suggest to check journalctl -r -u bluetooth | 15:06 |
moha | Hey there | 15:14 |
Jojo | hey here | 15:16 |
clarkk | ioria, I've noticed that the nvidia drivers are out of date. If I install them for the latest kernel, will I have to install them again after I boot to the older kernel? | 15:17 |
moha | I have installed microstack within a VM (nested feature enabled) with the IP of 172.16.250.10 and I can access the openstack console on this IP from outside of the VM; When I create a machine in openstack, it generate an IP in the range of 10.20.x.x for this machine. How can I access to this machine (ex: 10.20.20.5) from outside of the VM (=172.17.250.10)? I was thinking of having a router within the VM alongside the microstack, | 15:18 |
moha | right? | 15:18 |
=== diskin is now known as Guest7839 | ||
=== diskin_ is now known as diskin | ||
ravage | moha, would you tell us where in that process Ubuntu is involved? | 15:19 |
moha | I looking for solution to route traffic in Ubuntu | 15:20 |
BluesKaj | what kind of traffic? | 15:21 |
ravage | that would be iptables or nftables in general | 15:21 |
ravage | if you mean more than a simmple "route" of course | 15:21 |
moha | I want to see the 10.20.20.10 outside of 172.17.250.10 | 15:21 |
ravage | clarkk, that depends on how you install that older kernel. if you use the debian package it should build the nvidia driver automatically | 15:22 |
clarkk | ravage, I used synaptic | 15:23 |
ravage | clarkk, find /lib/modules/*/updates/dkms/nvidia.ko | 15:23 |
ravage | will show you all modules available | 15:24 |
clarkk | ravage, ok, thanks. Rebooting. brb | 15:24 |
tanghua | mrtang | 15:26 |
ogra | moha, for openstack/microstack you probably better try in #ubuntu-server | 15:26 |
moha | +1 | 15:27 |
afterThought | Several times I've tried installing Ubuntu Desktop 22, and even though I setup a user during the install... gnome-initial-setup keeps coming up. Anyone know if this is a bug of some sort? | 15:51 |
ravage | never heard of that | 15:54 |
afterThought | Yeah, it's so strange, the only way around it is to create yet another user....with a completely different name. | 15:55 |
ravage | but you can login with that user? | 15:56 |
ravage | the first one created i mean | 15:56 |
leftyfb | afterThought: mayber you have some sort of OEM iso? | 15:56 |
ravage | if you can login and its just the setup screen that annoys you: "sudo apt-get remove gnome-initial-setup" | 15:59 |
ravage | but it really sounds like some custom ISO | 15:59 |
=== hasan is now known as Guest2242 | ||
Guest2242 | sdfsdfsfsdfsdf | 16:05 |
sKep | hi | 16:10 |
sKep | how to find public ip from terminal? | 16:11 |
leftyfb | curl checkip.amazonaws.com | 16:11 |
leftyfb | there's about a dozen other endpoints you can hit as well | 16:12 |
ravage | that specific one only supports legacy IP. but there are others as leftyfb said :) | 16:13 |
sKep | how? | 16:14 |
sKep | any ubuntu weblink? | 16:14 |
leftyfb | sKep: how what? | 16:14 |
ravage | sKep, sure. here is your weblink: https://p.haxxors.com/4u086zml.txt | 16:15 |
sKep | i am using lynx ;) | 16:15 |
sKep | sorry I am not trolling | 16:19 |
sKep | after changing private dns | 16:19 |
sKep | in android | 16:19 |
sKep | only proot is working | 16:20 |
leftyfb | sKep: what does this have to do with ubuntu? | 16:20 |
sKep | i think i have to ask this question in #termux | 16:20 |
sKep | leftyfb: thanks for your support | 16:20 |
=== MrA is now known as Ders | ||
mybalzitch | anyone know how I broke my spotify snap? claims I was in offline mode, now "content unavailable" I uninstalled it then installed it, refresh says no updates | 16:49 |
mybalzitch | 1.1.84.716.gc5f8b819 | 16:49 |
mybalzitch | spotify support is of no help | 16:50 |
jhutchins | mybalzitch: I'm guessing it's not an Ubuntu snap. | 16:56 |
mguy | What certificate stores does wget use compared to curl? Getting self-signed cert errors on wget but not with curl | 16:58 |
ravage | there are no ubuntu snaps really. and from the snap store the publisher of the snap is Spotify. so the only way to get support for their snap is from them | 16:58 |
ravage | mguy, curl -v will show the CA bundle used. curl -v https://google.com | 17:00 |
ravage | and from strace wget looks in /usr/lib/ssl/certs. you can set that path in yout wgetrc file | 17:02 |
mguy | Curl shows * CAfile: /etc/ssl/certs/ca-certificates.crt | 17:11 |
mguy | CApath: /etc/ssl/certs | 17:11 |
mguy | and /usr/lib/ssl/certs is a symlink to /etc/ssl/certs | 17:11 |
mguy | I've added our intranet wildcard and curl works but wget does not | 17:12 |
mguy | same CA works on the other linux machines we have (not ubuntu 20) | 17:12 |
jhutchins | mguy: Is the certificate self issued/ | 17:17 |
jhutchins | ? | 17:17 |
afterThought | ravage, leftyfb, nope, just the standard ISO from the ubuntu site. | 17:39 |
jhutchins | If Ubuntu is distributing the snaps, they have some responsibility to make sure they actually work. | 17:41 |
jhutchins | ... unless they slap disclaimers all over the repo sites and the packages. | 17:41 |
jhutchins | "This snap has not been tested by Ubuntu. Click here to acknowledge." | 17:42 |
jhutchins | The whole point of snaps though is that the distro staff doesn't have to expend effort testing them. | 17:42 |
leftyfb | there are several advantages to snaps, distro's not testing them isn't at the top of the list | 17:44 |
=== pong is now known as beaver | ||
leftyfb | one of the biggest advantages is for developers/vendors to create and support a single package format that is supported cross-platform (distro's) | 17:45 |
leftyfb | mybalzitch: sudo snap remove --purge spotify # then reinstall it | 17:46 |
afterThought | removing gnome-initial-setup worked for anyone that needs help with this. | 17:56 |
Guest12 | Is it possible on Ubuntu to switch from Google emojis to Samsung emojis? | 18:01 |
=== diskin is now known as Guest7219 | ||
=== diskin_ is now known as diskin | ||
mguy | jhutchins: yes it is self issued. But that's the point of installing this into the local store | 18:26 |
mguy | If I do openssl -CAfile mycert.pem it works just fine | 18:26 |
mguy | But doing the copy to /usr/share/ca-certificates and running update-ca-certificates doesn't help openssl/wget, only the other apps on the system like curl or lynx | 18:27 |
=== ingsock9641 is now known as ingsock964 | ||
Mister_X | hello guys, I'm using 22.04 server, and I notice that when doing an upgrade, when it sees services affected by libraries updated, it asks if I want to restart them | 19:25 |
Mister_X | (and which ones) | 19:25 |
Mister_X | I'm using unattended-upgrades, and I was wondering if there is an option to do that automatically | 19:25 |
Guest87 | Hey, i tried to install ubuntu for dual boot, booted into live mode and my mouse & ethernet are not working there | 19:26 |
Mister_X | I've searched and I couldn't find any documentation about it, as it seems to be a new feature in 22.04 (I don't remember seeing it in 20.04, and I haven't used non-LTS for servers) | 19:26 |
leftyfb | Mister_X: it has nothing to do with 22.04 | 19:26 |
leftyfb | Mister_X: -o Dpkg::Options::="--force-confold" | 19:26 |
leftyfb | oh wait, to restart services, hold on | 19:27 |
Mister_X | I don't want to hold, I want it to automatically restart | 19:27 |
Mister_X | basically, saying yes to restarting | 19:27 |
Mister_X | Guest87: you might be missing firmwares, check journalctl | 19:27 |
leftyfb | Mister_X: try NEEDRESTART_SUSPEND=1 | 19:27 |
Guest87 | Mister_X I'm not really familiar with ubuntu at all and just wanted to give it a try as dual boot OS, i don't really know what i'm supposed to do, my previous attempt with xubuntu worked fine | 19:29 |
Mister_X | it isn't the option I need. It seems to be NEEDRESTART_MODE "a" | 19:29 |
Guest87 | Both my mouse & ethernet worked there | 19:29 |
leftyfb | Mister_X: did you try it? | 19:29 |
Mister_X | Guest87: open a terminal and run journalctl | 19:30 |
=== fullstack is now known as mostafa | ||
Mister_X | not yet, I just read about it | 19:30 |
leftyfb | Mister_X: also DEBIAN_FRONTEND=noninteractive | 19:30 |
Mister_X | Guest87: use page down/up to scroll, and see if missing firmware | 19:30 |
leftyfb | Mister_X: also https://unix.stackexchange.com/a/146340 | 19:31 |
Mister_X | leftyfb: in which config file do I put this? | 19:32 |
leftyfb | you don't, you run debconf-set-selections before you install packages | 19:32 |
Mister_X | I have unattended-upgrade | 19:33 |
Mister_X | and I want unattended-upgrades to automatically say yes | 19:33 |
Mister_X | without me being present or logged it | 19:33 |
leftyfb | I'm pretty sure unattended-upgrades won't prompt for anything | 19:33 |
Mister_X | is there any documentation that explains it? | 19:42 |
leftyfb | Mister_X: that explains what? | 19:46 |
Mister_X | that unattended upgrade automatically does restart these services | 19:47 |
ioria | Mister_X, is needrestart installed ? | 19:49 |
genii | Mister_X: https://wiki.debian.org/UnattendedUpgrades is pretty comprehensive | 19:49 |
Mister_X | iora, I see a file in /etc/apt/apt.conf.d that seem to say so | 19:49 |
ioria | Mister_X, dpkg -l | grep needrestart | 19:50 |
tomreyn | i think it's important to clarify which prompt you're seeing, because there are different ones. there is the debconf generated prompt which asks about services to be restarted, where you can choose which ones to restart. there is, if installed, output (i don't think a prompt there) generated by package needrestart, which will list runnng processes depending on libraries which were updated. | 19:50 |
Mister_X | I manually checked for updates and installed them, which prompted me to restart services | 19:51 |
Mister_X | however, I do have unattended-upgrades running, so I shouldn't have found upgrades | 19:52 |
tomreyn | your description seems to suggest you're seeing the debconf first prompt + menu. and want to ensure this will be overridden in unattended upgrades | 19:52 |
Mister_X | which makes me think unattended-upgrade may not restart services or skip some of them | 19:52 |
leftyfb | Mister_X: you do know that unattended-upgrades doesn't upgrade all packages or even install all updates right? | 19:53 |
Mister_X | could you elaborate? | 19:53 |
leftyfb | Mister_X: unattended-upgrades only updates packages when the updates have security implications | 19:53 |
Mister_X | that depends on the configuration, right? | 19:54 |
leftyfb | not all packages will be updates and not all updates will be installed | 19:54 |
tomreyn | it depends on the configuration, yes | 19:54 |
tomreyn | leftyfb is referring to the default configuration | 19:55 |
Mister_X | what I'm wondering, now that leftyfb mentioned "needrestart", where I can put environment variables for unattended-upgrade when it does upgrade | 19:55 |
ioria | Mister_X, after you install that pkg, try this : https://termbin.com/ihcf , it should work | 19:55 |
leftyfb | Mister_X: did you configure unattended-upgrade to upgrade all packages? If so, why? | 19:56 |
Mister_X | it has worked well for me in the past | 19:57 |
Mister_X | and it's a server I don't want to login to every day to apply updates | 19:58 |
leftyfb | even more reason why you shouldn't just install all updates unattended | 19:58 |
Mister_X | I respectfully disagree | 19:59 |
tomreyn | you should probably combine this with automatic reboots, then i can see how it makes sense in some scenarios. | 20:00 |
Mister_X | I do | 20:00 |
Mister_X | but on other systems, because this had FDE, it wouldn't fully reboot unless I type the passphrase | 20:01 |
tomreyn | alright, just wanted to make sure you're aware of this option. :) | 20:01 |
Mister_X | I also have livepatch in case you're wondering | 20:01 |
Mister_X | ioria: I'm not sure to understand the purpose of the last line | 20:02 |
Mister_X | I actually do dist-upgrade, not an upgrade | 20:03 |
Mister_X | (I'm referring to the dpkg options) | 20:03 |
ioria | https://askubuntu.com/questions/104899/make-apt-get-or-aptitude-run-with-y-but-not-prompt-for-replacement-of-configu | 20:04 |
ioria | ^ Mister_X | 20:04 |
Mister_X | config file replacement is not important in this case | 20:04 |
Mister_X | and I run unattended-upgrades | 20:04 |
ioria | are you sure ? | 20:04 |
ioria | it will stop | 20:04 |
Mister_X | I haven't had config file updates in the manual updates I've done | 20:05 |
Mister_X | so, my question is, where do I add an environment variable for 'needrestart' in unattended-upgrades config files | 20:06 |
=== ootput5 is now known as ootput | ||
tomreyn | you want to export those environment variables in the shell which the unattended-upgrade process starts in. | 20:10 |
Mister_X | so I need to modify the cronjob? | 20:13 |
tomreyn | if it's a cronjob and you want to change the environment that its processes run from, yes | 20:22 |
=== popey8 is now known as popey | ||
=== DArqueBish0p is now known as DArqueBishop | ||
=== halvors1 is now known as halvors | ||
=== jimmyb8 is now known as jimmyb | ||
=== Mibixy is now known as Mibix | ||
=== Tabstar is now known as Tabmow | ||
=== Bebef8 is now known as Bebef | ||
=== NightMonkey_ is now known as NightMonkey | ||
wantom | i | 21:36 |
wantom | hi | 21:36 |
matsaman | hi | 21:37 |
matsaman | bye | 21:37 |
groovetherapy | hello | 21:39 |
matsaman | hi | 21:39 |
groovetherapy | im having a silly issue. feels like this should be easy but i cant figure it out. im trying to use `dconf watch` and run a bash script everytime a value changes | 21:41 |
groovetherapy | but i cant seem to write a bash script to execute something everytime a value changes | 21:41 |
matsaman | can you write a bash script that runs "'date' >> path/to/log" everytime a value changes? | 21:42 |
matsaman | well | 21:42 |
matsaman | "'date' >> /path/to/log" let's say | 21:42 |
groovetherapy | heres an example: https://pastebin.com/raw/0rAaBBKe | 21:42 |
matsaman | mmm, I wonder if you'd want dconf watch /whatever | grep foo | while IFS='' read -r line; do echo "$line"; done | 21:44 |
groovetherapy | matsaman: hmmm that doesnt seem to work :/ | 21:48 |
groovetherapy | im not sure what im missing | 21:49 |
groovetherapy | once dconf watch begins, nothing seems to come out of it in the context of a bash script | 21:50 |
matsaman | if you just do the 'dconf watch path' part, stuff comes out? | 21:50 |
matsaman | sorry I don't have dconf handy myself or I'd just figure it out for you =P | 21:50 |
groovetherapy | matsaman: yep thats right | 21:50 |
matsaman | groovetherapy: okay, and does 'dconf watch path | grep whatevs' work? | 21:51 |
groovetherapy | matsaman: yep | 21:51 |
groovetherapy | oh huh, i thought dconf was standard on ubuntu | 21:51 |
matsaman | mmm, weird | 21:51 |
matsaman | I'm not on Ubuntu, or any GNU/Linux, I'm on some horrible work install right now | 21:51 |
groovetherapy | ohhh i see | 21:51 |
matsaman | well there's probably a better way, and you might start with the --help/-h or man page for dconf/dconf watch, but | 21:52 |
matsaman | probably you could wrap it in a 'timeout' and that would just make it fsckin' work | 21:52 |
groovetherapy | hmmm the docs for it are pretty sparse | 21:55 |
groovetherapy | it is almost as if watch prints to the screen instead of stdout.... | 21:55 |
=== halvors1 is now known as halvors | ||
arraybolt3[m] | groovetherapy: Change it to `dconf watch path |& grep whatevs`. | 21:56 |
arraybolt3[m] | groovetherapy: It's printing to STDERR rather than STDOUT almost certainly, and the `|&` will make everything go through the pipe rather than just STDOUT. | 21:56 |
arraybolt3[m] | (This is a Bash-specific trick, there's a different trick if you're using a different shell, but I don't remember it...) | 21:56 |
tomreyn | the other would be: dconf watch path 2>&1 | grep whatevs | 22:02 |
=== keypushe- is now known as keypusher | ||
master_latch | I would really love some help with an issue I'm having with apt | 22:51 |
master_latch | I am trying to sudo apt install python3.8-venv and I get "Failed to fetch" error | 22:51 |
oerheks | master_latch, on what ubuntu version? | 22:54 |
oerheks | current 22.04 LTS gives 3.10 | 22:55 |
master_latch | 20.04 | 22:55 |
ravage | did you try an apt update first? | 22:55 |
master_latch | I did | 22:56 |
ravage | can you give is the full output of that and your install command on a pastebin? | 22:56 |
oerheks | !info python3.8-venv focal | 22:57 |
ubottu | python3.8-venv (3.8.10-0ubuntu1~20.04.4, focal): Interactive high-level object-oriented language (pyvenv binary, version 3.8). In component universe, is optional. Built by python3.8. Size 6 kB / 27 kB | 22:57 |
ravage | cat /etc/apt/sources.list|nc termbin.com 9999 | 22:58 |
ravage | may also be helpful | 22:58 |
master_latch | https://pastebin.com/DV5xNGK4 | 22:59 |
master_latch | that one is the output from sudo apt-get update | 22:59 |
master_latch | https://pastebin.com/vTgcxKG0 | 23:00 |
master_latch | and that's sources.lst | 23:00 |
oerheks | riscv64 | 23:00 |
master_latch | yeah, I installed the riscv toolchain a while back and I guess that package(s) is having an issue, but is that relevant? | 23:01 |
master_latch | I think I did it following these instructions: https://wiki.debian.org/RISC-V#Cross_compilation | 23:01 |
oerheks | well, those are the only updates you get, now. | 23:01 |
=== cores_ is now known as cores | ||
master_latch | Oh | 23:02 |
master_latch | is there a way to fix that? | 23:02 |
oerheks | well, There is /usr/share/doc/apt/examples/sources.list which is in all the proper format. | 23:03 |
oerheks | only universe is not enabled default | 23:03 |
oerheks | but that would leave you with some riscv64 cruft | 23:04 |
oerheks | apt remove architecture if you no longer planning to use it | 23:05 |
master_latch | okay, yeah, I don't really need it | 23:06 |
oerheks | sudo dpkg --force-architecture --remove-architecture riscv64 | 23:06 |
master_latch | ohhh... is it trying to install packages for that architecture?? | 23:07 |
oerheks | yes, solely | 23:08 |
master_latch | Jesus, I just wanted a cross compiler, I didn't want to change which architecture all my packages are for! | 23:08 |
oerheks | i have never seen this messed up config. but it can be reversed, i hope | 23:08 |
oerheks | <oerheks> apt remove architecture if you no longer planning to use it | 23:08 |
master_latch | okay, I just did that and ran update and it seems much better | 23:09 |
master_latch | and my install command works now :) | 23:09 |
master_latch | thank you SO MUCH | 23:09 |
master_latch | I was trying to figure this out from googling and reading SO and forums and none of it was addressing my problem | 23:10 |
master_latch | since I obviously did something very weird lol | 23:10 |
master_latch | I guess back when I installed this toolchain, it was this command that maybe messed things up for me: sudo dpkg --add-architecture riscv64 | 23:11 |
oerheks | have fun! | 23:12 |
Kevin` | how can I show the boot failure that required spawning a root shell instead of booting? is that logged anywhere other than the console? | 23:15 |
cbreak | tried journalctl? | 23:16 |
Kevin` | yeah, it shows sylog messages but it doesn't look like the "reason" is printed to syslog | 23:17 |
Kevin` | alternately, is there a way to ignore the failure and try to boot normally? | 23:17 |
Kevin` | found a problem that was problematic enough in syslog to probably cause it | 23:39 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!