[00:03] Im having a strange issue where I was able to play sound through the speakers on an HDMI monitor in an earlier version of Ubuntu but after upgrading to 22.04, I cant. [00:03] Any ideas? [00:04] most audio problems can be fixed with a bit of clicking around in pavucontrol [00:06] I don't have that package, but in the distros sound settings, I have Output Device set to HDMI/DisplayPort 2 - Built-in Audio, and when I click test there's no sound output from either speaker. This same configuration worked in Ubuntu 18.04. [00:07] blaster: does it work on the Ubuntu on Xorg session you can choose at login? [00:08] I'll try and report back. [00:13] There was no change when I tried xorg. [00:14] blaster: relogin back to xwayland then, and try the pavucontrol route [00:14] yeah, follow sarnold's scientific approach ... [00:15] my tubes, and wires, and careful notes! [00:16] 😄 [00:23] eye of ra [00:37] !alsa [00:37] If you're having problems with sound, click the Volume applet, then Sound Preferences, and check your Volume, Hardware, Input, and Output settings. If that fails, see https://help.ubuntu.com/community/Sound - https://help.ubuntu.com/community/SoundTroubleshooting - https://alsa.opensrc.org/DmixPlugin - For playing audio files, see !players and !mp3. [00:38] hi ol.is there a reason why 18.04 withheld an upgrade after an apt upgrade ? [00:40] im planing to do manual install,but it might not remove as stated in the warning https://postimg.cc/gallery/8T5W4m9 [00:40] *might not REBOOT [00:41] midak: somehow, you've got one of the -unsigned- kernel packages installed; that's pretty unusual [00:42] so hmm,not good to continue then ? [00:43] it's probably fine to continue, but don't reboot right away.. [00:43] you should check that you've got a kernel package installed and configured to boot when you're done with this [00:44] how to check if there is a pre installed kernel package sir ? [00:45] what does unsigned means btw? [00:46] midak: dpkg -l 'linux*' | grep ^ii # make sure you've got a linux image package, a modules package, a modules-extra package, and a tools package [00:47] midak: our kernels are built from the kernel source package into the -unsigned- packages; once they are built, they are pulled apart, the kernel bootable files are signed, and then they are repacked into the 'usual' packages [00:47] midak: this is done so our secureboot signing keys aren't available to all the builders, but a very limited set of builders [00:49] linux image package :GOT 4 a modules package:GOT 3, a modules-extra package: 3, and a tools package: NONE [00:53] midak: alright; probably I only have tools for tracing, then :) [00:54] ok,ill proceed the manual install of the unsign kernel then :) [01:05] Oh look chat. [01:09] Hello [01:10] If I plug a hdmi monitor into a headless ubuntu machine (has desktop) will it generate a desktop or will it need restart? [01:13] Billy40: if the hdmi monitor is detected properly and works incombination with the graphics card / chipset then it should just start to work [01:14] ok. I'll give it a go. Thank you, tomreyn [01:14] that's assuming you have a full desktop installed and its services started [01:15] that's correct. i set it up using full desktop plugged into hdmi tv. then ran it headless. noticed I can't use vlc to log into the desktop without the hdmi signal === M4he is now known as mahe [01:16] do you mean vnc? [01:16] oops correct [01:16] when i ran it headless i can only ssh into it but not use vnc with no hdmi signal to tell it to generate desktop [01:17] so i got a 3 dollar hdmi 4k dongle dummy signal [01:17] that's odd [01:17] vnc doesn't work if the system starts up in headless [01:18] I had some issue with a recent python update and now I can't do anything with apt. Any ideas how to get around this? https://paste.sr.ht/~petersanchez/17bb90bcfb9e0341b563267b382041ed809d4e01 [01:18] even trying to uninstall Python tells me I have to run --fix-broken, which results in the above paste [01:20] Billy40: a monitor or dummy hdmi monitor should not be needed, there is xserver-xorg-video-dummy and you can just setup a virtual monitor with it. [01:21] there's also Xvfb, Xvnc [01:23] vnc headless raspberry pi same should apply virtual mode https://forums.raspberrypi.com/viewtopic.php?f=66&t=245154 [01:30] Hi all! I get two results in app search for a certain app. [01:36] DumbLDoor: chances are one can be installed as a snap, the other through apt [01:38] pjs: you're using a python distribution from a PPA, an unsupported personal package archive. [01:38] tomreyn: One of the 2 does not launch. No apt package "brave", but there is a snap with that name. [01:38] the python packages which are part of ubuntu should not ever be replaced [01:39] pjs: that'd be worth filing a bug report with whoever runs that deadsnake ppa [01:39] DumbLDoor: i don't know then. if you have output or a screenshot you want to share, feel free. [01:40] tomreyn: 2 .desktop files ?? [01:41] tomreyn: this happened after upgrading to 22.04 / jellyfish. i was unable to launch the existing brave installation [01:41] DumbLDoor: I interpreted "app search" as a screen on the "Software" app [01:42] tomreyn: Yea, dpkg -P purged it all. Then reinstalled and it was fine. [01:42] sarnold: seems it's fixed now [01:42] tomreyn: windows screen button - top search bar [01:42] sometimes when I wake my laptop up from sleep, my external monitor doesn't wake. I have to exit X and restart it to get it to work again. This is fairly new issue. Anyone ever notice that? I've tried ctrl+alt+FX and back, no luck [01:44] DumbLDoor: ls -l ~/.local/share/applications/ would show desktop files placed in your home directory. maybe you have an outdated / broken one there. [01:45] tomreyn: no .desktop for brave, a bunch for chrome, others [01:46] ok [01:47] I'm trying to install Xubuntu 22.04 with a manual partition setup in which I encrypted my root. I have an EFI partition specified, but it won't let me set it as the mountpoint for /boot, and it's complaining about a lack of an unencrypted place to put /boot. How do I set this up? [01:47] I'm doing a manual partition setup because I have a SSD for / and a HDD for /home [01:49] install to the ssd, then boot to recovery, mount the root file system writable and update /etc/fstab to point /home to your hdd [01:49] AHemlocksLie: the EFI partition is usually something like a 512M FAT filesystem; it's not supposed to be used for /boot, it's usually mounted at /boot/efi [01:50] sarnold, is there a minimum size I need for /boot, then? [01:51] It sounds like I need the EFI *and* a /boot, plus my respective encrypted partitions [01:51] AHemlocksLie: I think the default /boot is 512M, but I wish it were more like 1024M -- dealing with a full /boot is a pain in the butt and I'd be happy to never do that again :) [01:51] yes [01:53] it is possible to have /boot encrpyted, too, but that's complex to setup and maintain. for the average user it's probably not worth the hassle. [01:53] ...until some advanced linux distro improves its management [01:54] Cool, I can spare a gig. Thanks! [02:02] tomreyn: fixed /usr/share/applications had one that was causing issue. I removed it and all is well now. [02:22] hey, so I've got Ubuntu 20.04 on an Oracle Cloud VM (one of the ARM64 ones), and I'm wanting to jump on over to 22.04. I did apt update/upgrade/dist-upgrade to ensure everything is up to date, but do-release-upgrade doesn't find any new LTS release at all [02:23] the mirror apt seems to be using is us-sanjose-1-ad-1.clouds.ports.ubuntu.com, and looking around through the directories there shows that there are packages for jammy, so I dunno what's up [02:24] tm512: https://linuxiac.com/upgrade-ubuntu-20-04-to-22-04/#:~:text=Your%20current%20Ubuntu%2020.04%20LTS%20installation%20will%20not%20prompt%20you,bugs%20have%20been%20ironed%20out. [02:24] oof thats an ugly url [02:24] my fault, but it does work [02:25] https://linuxiac.com/upgrade-ubuntu-20-04-to-22-04 is also fine [02:25] lol, of course my firefox doesn't jump to the highlighted text. Chrome does though [02:27] this article suggests that 20.04 LTS to 22.04 LTS upgrades will be enabled exactly when 22.04.1 releases. that's not very likely. [02:28] also, the author seems to have misinterpreted the meaning of the -d option to update-manager [02:29] the -d was the whole point :) [02:29] Offtopic perhaps. But where do I look for a bash related channel in Ubuntu? [02:29] I wasn't aware that the upgrade isn't immediately made available, seems like a bit of a strange decision. it seems like do-release-upgrade -d does find a release to upgrade to, though [02:29] update-manager isn't available on this system [02:30] susenj: ubuntu is not an IRC network. But to answer what you're looking for, /join #bash [02:31] and also this article suggests that external repositories and PPAs will be disabled. I hope that won't mess with the apt configuration that was set by default when provisioning this VM [02:31] tm512: it might [02:32] to be safe I think I'll back it up, if it gets destroyed, I'll just s/focal/jammy/g the backup and use that as a new config [02:32] tm512: if you have a preconfigured image, especially on a cloud like Oracle, I would suggest waiting till Oracle has an official upgrade path or migrate to a new 22.04 image [02:34] I don't know if they'll have any upgrade path beyond "just provision a new VM", in which case, it might be easier to just deal with potential issues doing an in-place upgrade, rather than redoing all of my configuration [02:36] Do we have a Mirror Status page like Debian does? [02:37] apparently FreeBSD is supposed to be made available as a prebuilt image on OCI in the near future, which I'll probably end up migrating to, so maybe in the meantime I just ought to stay on 20.04, and spare myself the effort of doing a relatively pointless upgrade [02:38] jhutchins: https://launchpad.net/ubuntu/+cdmirrors https://launchpad.net/ubuntu/+archivemirrors [02:41] tomreyn: Thx. [02:46] there is also #ubuntu-mirrors [03:47] I just installed Xubuntu 22.04, and I had hoped to set it up with /home on a separate drive and with both / and /home encrypted, but the installer absolutely refused to handle that properly, so I was forced to install everything on the one disk. How can I set up /home on another partition so that it's encrypted and decrypts at boot, ideally with the same key? [03:49] AHemlocksLie: I haven't gone through a 22.04 install yet but I know with 20.04 you would pick encrypted LVM [03:50] leftyfb: I think that's how you get it encrypted with the automated install, but that doesn't offer the possibility to split /home off into another encrypted partition [03:51] AHemlocksLie: then do the manual install, setup your encrypted volume and then split out your partitions on top of that [03:51] Going through the manual partitioning setup, I couldn't see how to make an LVM, could only do a "physical volume for encryption" or something like that, but when I then tried to set the encrypted partitions to / and /home, it failed somehow when trying to properly format/partition them [03:52] I tried it a couple times, including wiping the drives entirely with gparted and reflashing it on a second USB drive, and none of it helped, still failed to manually setup encrypted partitions [03:54] AHemlocksLie: it's not an encrypted partition. You need to do an encrypted volume under LVM [03:54] partitions are a step after and on top of that [03:55] I don't think I got an option to make an LVM at the manual partitioning screen, unless it's a somewhat hidden option I missed [03:55] do it with gparted [03:56] AHemlocksLie: something along these lines https://limesdr.ru/en/2020/02/29/ubuntu-mate-20-04-install/ [03:57] AHemlocksLie: seriously though, why do you need /home broken out from / ? [03:58] Because I have a relatively small SSD and a much larger HDD [03:59] I want installed software to be on and run from the SSD, but most of /home is stuff that doesn't need to be accessed as quickly, so it's fine on the HDD [04:04] / on SSD and /home on HDD is the scheme I use as well. I haven't done partition encryption on Linux before, though [04:06] I installed Lubuntu 21.10 recently, and I somehow managed it there, but I forget what I did [04:06] I didn't like the desktop environment, so I figured it'd be relatively quick and easy to just install Xubuntu with the new 22.04 LTS, but once again, I am proven wrong [04:08] I think there are encryption options besides ones that require LVM, like dm-crypt seems to basically provide a virtual block device backed by a physical block device, and then you can just partition and format the virtual device as if it were the HDD itself [04:11] At this point, I honestly don't care how it's done. I just want it to be encrypted, and I want it to unlock when I unlock root [04:14] well, if you're not able to get it working through the installer, you can install in a way where the SSD has / including /home, then you can set up encryption on the HDD, then set it up to mount at /home through tweaking /etc/fstab [04:15] Yeah, I just found this that looks like what I need https://healeyj.github.io/2021/02/25/encrypt-ubuntu.html [04:15] a variant of that, sans encryption, is how I've set up my system before, like back when I was running two disks in RAID-0 as my /home partition. wasn't something I could conveniently set up in the void linux installer on the PC [04:27] Okay, I gotta reboot, but I think I'm on track to get this setup right. Thanks to leftyfb and tm512 for trying to help === diskin is now known as Guest1648 === diskin_ is now known as diskin === diskin is now known as Guest1192 [07:29] Hey all. I have added 'if [ ! "$IFACE" = "eth0" ]; then service postfix stop fi' to '/etc/network/if-down.d/postfix'. When I make eth0 down, Postfix doesn't stop. What have I done wrong? [07:32] Allie [07:34] leftyfb [07:35] Is Richard Stallman in here? Can you help me please, Richard?! [08:12] hey, I have a question about vaapi on intel driver and firefox. I can't seem to get it to work. Additionally, how do I set environment variables for snaps like firefox? Some workarounds for arch need environment variables to be set and I can't figure out how to do that for snaps. [08:25] greetings, when will 22.04 iso be available? [08:26] It was already released, if you're on the last LTS release then an upgrade will be offered on the first point release. [08:36] Unit193: I need the iso [08:36] !download [08:36] Ubuntu installation CDs can be downloaded from http://releases.ubuntu.com - Mirrors can be found at https://wiki.ubuntu.com/Mirrors - PLEASE use the !torrents to download !Jammy, and help keeping the servers' load low! [08:38] Hi all. I'm using Ubuntu 20.04 LTS. I have added 'if [ ! "$IFACE" = "ppp0" ]; then service postfix stop fi' to the bottom of the file '/etc/network/if-down.d/postfix' before "exit 0", which should stop Postfix when interface 'ppp0' goes down, but when interface 'ppp0' goes down, Postfix continues to run. I added 'mkdir /opt/1/' to my subroutine to [08:38] see if my subroutine was being parsed but '/opt/1/' was not created when interface 'ppp0' went down, and I noticed a couple of "exit 0"'s within the script and thought perhaps the script was being stopped before it gets to my subroutine, so I put my subroutine at the start of the script but it made no different, Postfix continues to run after the [08:38] interface 'ppp0' goes down. Anyone know whats wrong with Ubuntu? [08:51] AutisticPenguin: is it executable? [08:51] cbreak it is, but I'll triple check again now. [08:52] does it work if you call it yourself? [08:52] It is executable. The file is stock apart from my additiona. [08:52] addition sorry [08:52] cbreak great question. I will try now! [08:53] You are good cbreak. It works when calling it myself. [08:54] so, problem's maybe that it's not being called, or being called with the wrong environment or something [08:54] Now the question is why isn't it being called when the 'ppp0' interface goes down. [08:54] The same script works fine when it goes up. [08:54] The equivalent I mean. [08:54] is there something in journalctl about it? [08:55] is it executed if you call the script 0000000postfix.sh instead? [08:55] I'll be back in a few minutes. I am going to check these things for you. [08:57] hello, does anyone know the best way to batch embed album art into a music library? [09:01] cbreak journalctl starts off from when I first installed Ubuntu. Holding 'page down' would take a long time to get to the end. I don't know where the script '0000000postfix.sh' is, and I checked the syslog for you, and the only thing I found which may be relevant is 'nm-dispatcher[31622]: run-parts: failed to stat component [09:01] /etc/network/if-post-down.d/avahi-daemon: No such file or directory'. [09:01] cbreak I didn't see anything about the file '/etc/network/if-down.d/postfix'. [09:03] AutisticPenguin: journalctl -b 0 is from the last reboot [09:03] AutisticPenguin: journalctl --since 14:00 is since 14:00 [09:04] AutisticPenguin: well, the idea is that something in the if-down.d directory stops processing [09:05] so if you change your script to be run earlier (by renaming it with lots of leading 0), to avoid this [09:05] cbreak 'journalctl' looks like looking at the syslog. I will look at it now and be back soon. [09:05] the error you saw about avvahi-daemon not existing might be that. [09:06] cbreak time to create it and check..... [09:07] '/etc/network/if-post-down.d/avahi-daemon' exists! [09:08] Checking permissions... [09:08] Oh, its a symlink. I bet the destination doesn't exist. Checking. BTW, its red in Terminal. Probably meaning that. [09:10] '/etc/network/if-post-down.d/avahi-daemon' is a symlink to '/etc/network/if-up.d/avahi-daemon'. '/etc/network/if-up.d/avahi-daemon' does not exist, but '/etc/network/if-up.d/avahi-autoipd' does. [09:11] I will create '/etc/network/if-up.d/avahi-daemon' now and test... [09:11] or... you could remove the broken symlink :) [09:11] Yes but I am a curious person lol [09:11] Its not good [09:15] Well, creating ''/etc/network/if-up.d/avahi-daemon' stopped the error in the log, but it didn't fix the problem. [09:17] I just copied '/etc/network/if-up.d/avahi-autoipd' to '/etc/network/if-up.d/avahi-daemon' and made it executable, but that didn't fix it either. [09:18] I could leave this problem, its doing no harm, but I like a quiet syslog, but I am questioning if this is one of those Linux problems I shouldn't let waste my life. ;) [09:18] The problem is syslog is Postfix constantly complains it can't find the ppp0 interface. [09:19] I am trashing this 20.04 LTS VM for 22.04 LTS soon, maybe I should just leave it and hope for 22.04. [09:19] What do you think friend? [09:28] AutisticPenguin: not sure why postfix even cares about interfaces [09:29] did you try renaming your postfix stop script to be earlier in the list? [09:29] also, I don't htink copying random avahi scripts to different locations makes any sense [09:32] cbreak I will try right now. [09:33] Greetings everyone. I'm trying to upgrade from 20.04 to 22.04 using this command: do-release-upgrade -f DistUpgradeViewNonInteractive . However, it doesn't start, I get the following message: "There is no development version of an LTS available." It also suggests to change Prompt=normal in /etc/update-manager/release-upgrades. Mine is set to LTS obviously. What's wrong? Isn't 22.04 a non-LTS release? [09:34] hid3: apparently, updating hasn't been enabled yet [09:35] cbreak it did not work. [09:35] I noticed there is a file 'postfix.swp'. [09:35] AutisticPenguin: that's just some editor file [09:36] AutisticPenguin: see man vim for description [09:36] I tried placing the subroutine in '/etc/network/if-post-down.d/postfix' as well, but it didn't work. [09:36] Far out [09:37] cbreak, any clues why it is so? What's the criteria for it to become enabled? [09:37] Now I will create '/etc/network/if-down.d/whatever' with a command to create 'opt/bla' and see if that executes. If it doesn't, then that indicates nothing is executing in '/etc/network/if-post-down.d/'. [09:39] hid3: don't know. It's probably a matter of time [09:41] cbreak its still not working. This is a bug in Ubuntu. [09:44] OK, thanks. I thought it's something wrong with my system [09:45] https://discourse.ubuntu.com/t/jammy-jellyfish-release-notes/24668 [09:47] What are you wanting me to read in this 27 page document? :) [09:47] AutisticPenguin, ifupdown (who uses that dir) is dead and gone sicne years and normally not installed on 20.04 and onwards [09:47] see https://netplan.io/faq/#use-pre-up%2C-post-up%2C-etc.-hook-scripts [09:48] ogra if it was dead it wouldn't be in the distro. ;) [09:49] I have installed 'ifconfig'. Perhaps it was installed with it. [09:49] Its in the repo anyway. [09:50] Seems like a good app. [09:50] AutisticPenguin, it was dead since a decade, ubuntu just dragged it through but it has long been dropped from the default install ... [09:50] ogra: Got new maintainers at the end of 2020, fwiw. So somewhat active, I think ifupdown2 (python) would also hook int that system. [09:50] (Do you mean net-tools?) [09:50] Unit193 I have installed that as well, so maybe it came with that, yes. [09:50] Unit193, yeah, but not in ubuntu ... it sits in universe and has zero distro integration anymore in debian and ubunut [09:50] *ubuntu [09:51] What a shame. Can anyone else recommend a way to run a command when an interface goes down? [09:51] AutisticPenguin, you must have installed it manually and indeed it is up to you to keep an unsupported network tool around to manage all your network aside the integrated management [09:52] ogra it is supported. [09:52] I think just Ubuntu, since in Debian it's still got priority 'important'. Anywho, that's details. [09:52] AutisticPenguin, but note that netplkan (managing systemd-networkd) is the default and the doc above gives you instructions to migrate from an older setup [09:53] I like netplan on my servers [09:53] feel free to do whatever you want ... just pointing out what we integrated as default ... [09:53] * ogra goes AFK again [09:53] it seems easier than the other ways possible [09:53] ogra All good, thanks [09:53] How do I input emojis into my terminals? Doesn't seem to work with Emote :/ [09:54] (using Terminator and oh-my-zsh if that's relevant) [09:55] ogra I believe netplan is default in Ubuntu Server 20.04 LTS but not Ubuntu 20.04 LTS. [09:55] AutisticPenguin, ?? [09:55] peirik: like echo 🍕 ? [09:56] it is default in 20.04 🙂 [09:56] AutisticPenguin: Pretty sure the defaults are either NetworkManager or netplan, so certainly no ifupdown. [09:56] ogra ah... it is installed. [09:57] AutisticPenguin, on the desktop it configured network manager if you use it (else NM s the default and you should use its integration scripts in /etc/NetworkManager/dispatcher.d/) [09:57] s/configured/configures/ [09:57] Unit193: on my 21.10, I have a netplan that refers to NetworkManager :) [09:57] so... both? :P [09:57] :D [09:58] '/etc/netplan/01-network-manager-all.yaml' is the only file I have, and it has the renderer set to 'NetworkManager'. [09:58] cbreak, yeah, on servers netplan manages systemd-networkd, on desktop NM ... [09:58] if you dont need manual config on your desktop it is just a NOOP and leaves it all to network-manager [09:59] ogra I will checkout integration scripts in '/etc/NetworkManager/dispatcher.d/' now. Thanks. [09:59] netplan is just a frontend to the two for manual configuration by files [09:59] cbreak: whats echo? [10:00] peirik, there was an emoji between "echo" and "?" ... [10:00] ogra: yea, i saw the pizza :) [10:00] (seems your IRC client does not support that) [10:00] ah [10:00] using weechat [10:01] i thoguht you had not seen it 🙂 [10:01] ogra do you where can I find documentation on how to run a command to make a service stop when an interface goes down? [10:01] no, i can see emojis just fine - but can't seem to be able to input any :/ [10:01] AutisticPenguin, heh, for that one i'd just use a system service unit ... [10:02] are you guys using Emote for input? [10:02] ogra you told me to use integration scripts though. [10:04] And people say ifupdown is bad...... [10:04] I liked ipupdown [10:04] I dislike nm [10:05] I can see where it may be inferior when you want to run scripts in an order but other than that, its nice a straight forward. [10:05] That is my experience anyway. [10:05] I am having a break, then I will return and try and get it working. [10:06] AutisticPenguin, well, this is kind of between networking and service management ... [10:07] ogra I have seen netplan being used in a way that executes commands and it looked really good. Its re-learning that is the pain. [10:07] ogra: Time to be more accurate. [10:07]  [10:08] AutisticPenguin, it really depends what you look for ... if you just want the service to run while being online i'd use a systemd service unit and match for criteria systemd provides ... if you want "some specific script doign something on a certain state of a network device" i'd go with the new up-down scripts [10:12] ogra when my VPN goes up, ifupdown runs '/etc/network/if-up.d/postfix', when my VPN goes down, ifupdown is suppose to run '/etc/network/if-down.d/postfix', but ifupdown fails to run '/etc/network/if-down.d/postfix'. [10:12] ogra when I run '/etc/network/if-down.d/postfix' manually, the mail server goes down. [10:14] ogra so it appears ifupdown has a problem, which is a shame because here I am almost 3 hours later depressed. [10:14] AutisticPenguin, https://blog.bjoern-ruberg.de/2015/10/15/start-a-service-after-openvpn-connection-has-been-established-using-systemd/ [10:15] ogra thanks, I will read it when I get back and see if I can use it instead of my beloved ifupdown. [10:15] BBS [10:19] thnx [10:22] Ok, Ubuntu Studio 22.04 (Plasma) weirdness. The screen gets fuzzy. If move the mouse over a window it gets unfuzzy (usually, not always). The first time it happened I just thought it was a game putting the monitor into a weird resolution that caused it. I sat down at my computer this morning after the sitting all night and the screen was fuzzy again. The really interesting part is I can actually screenshot this. The only way I've found [10:22] to fix it is to log out of the desktop session and log back in. It's really weird. [10:22] * BrianHechinger[m uploaded an image: (962KiB) < https://libera.ems.host/_matrix/media/r0/download/4amlunch.net/558f8761707d6716b9a6eb47f71cb14f07db3087/wtf.png > [10:41] ubottu: thanks for the links [10:42] !ubottu [10:42] Hi! I'm #ubuntu's favorite infobot. You can search my brain at https://ubottu.com/factoids.cgi | General info and channels at https://wiki.ubuntu.com/IRC/Bots | Make a clone of me, see !botclone [10:44] ogra ifupdown isn't even installed on my system. How is '/etc/network/if-up.d/postfix' even being ran? [10:47] Does anyone know why Ubuntu 20.04 LTS is running scripts in '/etc/network/if-up.d/' every time an interface goes up, despite not having ifupdown installed? [10:52] AutisticPenguin: systemd-networkd most likely [10:52] tomreyn oh right. Why would it do that? [10:54] why would ifupdown do so? [10:54] through some backwards compatibility generator script in systemd perhaps ? [10:54] tomreyn nah, why would systemd do what ifupdown was made to do? [10:54] ogra maybe [10:55] i think ogra answered that one [10:55] tomreyn yes. I am Googling....... [10:55] So this is why people don't like systemd. [10:55] systemd wants to take over the world so it wants to do all the things. [10:55] systemd in debian (and thus ubuntu) comes with a bunch of these odd generators that try to translate the old world to the new world [10:56] there are also some for transferring sysinit scripts over and such [10:56] *sysvinit [10:56] Riiiiiiiiiight. I have heard so many people not like systemd, and even before I was thinking it was so great seeing it in sysctl. But now I am starting to see how ridiculous it can be. [10:57] sysjournal sorry, or what ever its called. [10:57] journalctl? [10:57] journald [10:57] and yes, that is the cli tool [10:58] So Red Hat designed systemd to run the up scrips but not the down? How dumb can you get. [10:58] no, thats more likely a bug in the dbian generator tool ... [10:58] *debian [10:58] Oh ok. [10:58] That is beyond me. [10:59] just follow https://blog.bjoern-ruberg.de/2015/10/15/start-a-service-after-openvpn-connection-has-been-established-using-systemd/ ... then your postfx should start/stop with the interface appearing/disappearing [10:59] I have a better idea, I am just testing it now. lol [11:00] (after all it is just a cp command and adding two lines to the copied file) [11:00] My way gets it working with just 1 line :) [11:04] For real, I installed ifupdown and it still doesn't work [11:04] And people crap on Microsoft [11:05] Gonna follow that article now ogra. [11:05] After installing this hobby software. [11:05] uninstalling [11:06]  [11:06] does 'apt purpose ifupdown' completely remove all residual files? [11:06] 'apt purge ifupdown' [11:07] Yes I can read the man page but I'm in a pissed off mood right now [11:08] Never mind, I just used Synaptic Package Manager and done with it. [11:09] 'purge' parameter removes 'residual files' but not configuration files in the home directory, so no, it doesn't remove residual files. [11:10] Nah fuck this shit. I'm not spending anymore time on this trash. [11:10] Thanks ogra. [11:10] Good bue [11:10] Good bye [11:11] purge of Open Office isn't going through your documents folder and deleting all office documents, indeed. Uninstalling will only remove system configuration, not user files [11:24] Hey, that's great i'm using an old-releases, it's very nice the packages are still online and we can still use APT and everything on 10 yo releases. [12:06] I have spent half an hour squeezing my Tux stress ball while doing deep breathing exercises that my social worker taught me to do, and going to give this Linux thing another shot. [12:11] AutisticPenguin: please note the topic of this channel, ubuntu support. there are other channels for other topics. [12:12] tomreyn yes I noted that. [12:13] So I am using Ubuntu 20.04 LTS and I have a file '/etc/network/if-up.d/postfix' that gets ran every time a network interface goes up, which is what I want. I also have a file '/etc/network/if-down.d/postfix' that looks like its suppose to get ran every time a network interface goes down, but this doesn't happen. I don't have and never have had [12:13] ifupdown installed so '/etc/network/if-up.d/postfix' shouldn't be being ran let alone exist, yet it is. I would like to find out what is running it so I can then investigate why its not running '/etc/network/if-down.d/postfix' as that is what I would like to happen. Does anyone know how I can see what is accessing the file [12:13] '/etc/network/if-up.d/postfix' when an interface goes up? [12:19] I'm starting to think its the packages that are installing these files in the if-up etc directories. === fling_ is now known as fling [12:24] I just checked a near-stock installation which has never had Postfix installed and can confirm that the Postfix package did create the files, but there exists other files in /etc/network/ directories for applications that have never been installed. So this is a very strange way Ubuntu has setup networking. [12:25] dpkg -S /path/to/file will tell you which package a file belongs to [12:25] Thanks tomreyn [12:26] this will, however, not work for files which were only created during a debian package's postinstall hook [12:26] All I really want to know right now is what is running '/etc/network/if-up.d/postfix' when an interface goes up. [12:27] Hi all [12:27] hi. my desktop computer is a leftover frankenstein design, core i5 3470 and a Radeon HD7750. old but serves the prupose at 5W idle. now recently the video card's fan is spinning fairly audible and I don't know why. is there "top" for gpus? [12:27] sensors say core is at 67C which is a little high for idle [12:28] deadrom have you install the fancontrol package? [12:28] deadrom 10 years ago I installed it and it made my fans quieter. If the package is still around, I say try it. [12:28] AutisticPenguin: no actually not. so far had no need for it. both CPU and GPU fans regulated themselves nicely from firmware alone [12:29] I'd like to see if there is a visible cause first [12:29] deadrom perhaps the problem is something physical. [12:29] AutisticPenguin: airflow is A ok, no dust gahtered up in the cooler either [12:29] deadrom have you tried it in Windows? [12:30] no Windows on that machine [12:30] deadrom have you installed the graphics card drivers? [12:30] runs on amdgpu [12:30] Which version of Ubuntu are you running? [12:31] 18.04LTS [12:31] Click on the 'Show applications' button at the bottom left of the screen. You will find 'Additional Drivers' in the menu. Click on it and see if there is anything else that can be installed for your graphics card. [12:32] well yes, I could go for propietry amd drivers, but that's not how I wanted to slay the dragon. [12:33] deadrom. Your fans being loud will likely be because of no proprietary drivers. It sucks my friend, but that's the way it is. [12:33] It's been working fine like this for several years. [12:34] deadrom is it the same graphics card as before? [12:34] and you don't want proprietary drivers for radeon hd7750 anyways, most likely [12:34] same module, not sure if recent kernel upgrade introduced new versions. [12:34] tomreyn: I know, that relict is one for the open driver [12:35] that's fine [12:35] deadrom the Linux world is not the best with software regression. My guess is that the big change in the system is the reason why now things are behaving differently. [12:35] still I know the core base of the module might change and so the card behaves different with new versiosn even when would expect that the code for a legacy card doesn't change [12:35] it's not like open source is something bad, right [12:36] but the key strenght of Linux over Windows is that you can analyze these things right down to the core, so back to my oriignal question: is there something like gpu-top? [12:36] "gpu" and "top" on google gets you nothing but gamer card recommendations [12:36] deadrom your problem isn't Linux, its those closed-source drivers. [12:37] there is radeontop [12:37] AutisticPenguin: I explaind several times now the hardware and driver situation. [12:38] tomreyn: heyyy. [12:38] deadrom you said you didn't want to install proprietary drivers because you didn't want to slay the dragon. My experience is that your fans speeds are running fast because they are not installed with your new franken-system. [12:39] [23.4.2022 14:36] deadrom your problem isn't Linux, its those closed-source drivers. [12:40] deadrom I have probably been gaming longer than you have been alive. My experience tells me you will not be getting fan control speeds without drivers or the fancontrol package, if its still around, and even then you may need the drivers installed for it to work. [12:41] AutisticPenguin: don't give me this "I'm so old and experienced" shit please, if you have an approach how to identify the root cause say it if not leave it be [12:41] let's drop the discussion and concentrate on solving issues. [12:41] so far I only heard you jigawing my statement [12:41] deadrom lol okay, good luck. [12:44] deadrom. The root cause is your GPU's fan has 3 wires on them. 1 for the DC voltage, 2 for the Earth, and a 3rd for data which is sent through the Linux kernel to your GPU's microcontrol unit. The kernel needs drivers in order to send that data through the third wire. That is the root cause. [12:45] tomreyn: radeontop only gives you generic load stats of the entire device but not which process is doing what. then again right now I closed all "fat" programs like browsers with YT tabs open etc and still hear the fan. I bumped into the case recently, maybe the ancient thermal grease under the sink cracked... [12:46] AutisticPenguin: dude [12:46] dead you said everything physical was good. === Vercas4 is now known as Vercas [12:46] deadrom: the easiest way to find that out may be to run the old software stack again (or something similar, such as an ubuntu live/installer system with a similar kernel version) which i think you said did not expose this problem [12:47] I just checked the repository of Ubuntu 20.04 LTS and the fancontrol package is in there, so chances are its in the repository for 18.04 LTS. Please install it, reboot your system and let us know if it resolves your issue. [12:48] hi [12:48] I'll shutdown now and regrease the sink first. [12:48] What a noob [12:50] I study [12:51] aita: hi. do you have an ubuntu support question? [12:51] thats the script you need to check /etc/NetworkManager/dispatcher.d/01-ifupdown [12:51] есть кто с росси [12:51] !ubuntu-ru [12:51] !ru | aita [12:51] aita: Пожалуйста наберите /join #ubuntu-ru для получения помощи на русском языке. | Pozhalujsta naberite /join #ubuntu-ru dlya polucheniya pomoshi na russkom yazyke. [12:52] где тут набрать [12:52] should be 'pomoshchi' [13:29] aand after a regrease I'm down from 67C to 44C, so a whopping 23 delta just regresing the sink. whoa. Fan is now significantly down, now I'll see about various tools if I can quiet it altogehter when near idle, there's fancontrol as suggested plus some other external tools. we'll see. === GavinHsueh is now known as mintroot === mintroot is now known as mintro === mintro is now known as GavinHsueh === mintroot is now known as GavinHsueh [14:15] Hi. The 22.04 release notes (https://discourse.ubuntu.com/t/jammy-jellyfish-release-notes/24668) say "Upgrades to 22.04 LTS [from 21.10] are currently not enabled (due a bug with snapd and update-notifier) but will be in the next couple of days." How can I tell when it's been enabled? [14:18] If I would like to upgrade from Ubuntu 20.04.4 to 22.04 stable release, is the only way to wipe my current installation and install using the ISO image? Is that generally a better idea than to upgrade? [14:18] waltman, :o [14:19] waltman: update-manager -c will report that a release upgrade is available [14:20] !ltsupgrade | Guest1969 [14:20] Guest1969: Regular upgrades from the last but one LTS release to the latest LTS release, 22.04 "Jammy Jellyfish", are enabled days or weeks after 22.04.1 is released. This delay helps to ensure that any lingering issues are resolved before people upgrade production systems. If you'd prefer to upgrade now, use sudo do-release-upgrade -d [14:20] That forces an upgrade to a development release, not a stable release. [14:21] well, there is no development release currently [14:21] so it points to 22.04 [14:21] tomreyn: thanks! [14:22] Okay, thank you. I felt worried that I would get something more recent than the 22.04 stable release. [14:22] Guest1969: I guess you can say that a fresh install is generally better than an upgrade. This doesn'T have to be correct in all situations, thoough. [14:22] nah, more recent will still take a few weeks [14:23] All right. :) [14:23] (opning the release should happen next week ... then building the toolchain and stuff is another week before the first packages can be uploaded/imported) [14:24] (and all of that can only happen anyway after the new name is announced (the archive depends on the name)) [14:26] Thanks for the help. I'll try the upgrade first and see what happens. [14:28] dont forget to make a backup Guest1969 [14:29] 👍 [14:29] Yeah I imaged the whole disk :) [14:33] hey I tried tails just for fun and now I'm trying to format the usb and there's a partition that can't be deleted. Whats behind this ? I mean I dont have to delete the partition because it has no size and no type but .... why can't I delete it ? [14:33] https://imgur.com/a/AZrajg7 [14:34] what kind of method did you try to format with segamain [14:36] lotuspsychje: Oh I just went into cfdisk and started to delete partitions [14:37] try using fdisk [14:38] and then I created a new one after I realized that I can't delete /dev/sdb1p3 [14:41] segamain: wipefs is another option [14:42] or just dd [14:43] (after all you only need to wipe the partition table) [14:44] i'm not sure that segamain wants to delete sdb1p1 also, possibly so. [14:47] Is there any word on when updates will be released? [14:47] tomeryn: yeaahh noo /dev/sdb1p1 is empty and /dev/sdb1p3 looks kinda cool :D === vxwarlock is now known as Guest7753 === vxwarlock_ is now known as vxwarlock === Dukbl_ is now known as Crucifyy [15:42] quit [16:11] is this channel for mint? [16:12] no [16:13] !mint [16:13] The Ubuntu channels can only provide support for Ubuntu and its official flavors, since other distributions and derivatives have repository and software changes. So please use their dedicated support venues, for example: Linux Mint (#linuxmint-help on irc.spotchat.org), Kali Linux (#kali-linux), and LXLE (#lxle) [16:14] bah, too late [16:27] ogra, missed it by -->||<-- THAT much! [16:27] heh, yeah [16:32] I' [16:33] I'm having some graphical performance issues (low fps in general, tearing when watching full screen videos etc.). So I'm trying to benchmark my GPU using https://benchmark.unigine.com/heaven - and I'm getting horrible results (mostly just 1 FPS on medium settings) [16:34] I have a GeForce RTX 3060 GPU, so it should be able to handle pretty much anything at max settings [16:35] I'm using an RTX 3060 as well, and it's fine here. Not tried to game with it yet though. [16:35] 'lsh -c video' says I'm running the proprietary nvidia drivers [16:36] hmm it's a puzzler then [16:58] at the risk of being a pest (I really apologize ) I have assembled these steps so far to get anbox to run in a snap container https://savegreen.energy/anbox-parallel-instances/ I am missing the piece where I make a simlink or o something that the anbox container sees as /dev/binder or /dev/binderfs where as on the host it would be symlinked to a unique /dev instance such as /dev/binder1 or /dev/binder2 , anyone know how to d [16:58] step? [16:59] transhumanist: /join #snappy [16:59] ya , thats where i have made a pest out of myself but no answer, I did fire off an email to a developer to ask too [17:00] I also asked in #lfs-support [17:00] transhumanist: ok, but what you are doing really isn't something that is officially supported by Ubuntu. [17:00] transhumanist: I would wait until the developer gets back to you [17:00] ok I undestand, I will leave it at that [17:01] try to control my sense of urgency, its like waiting at the bathroom door...lol [17:08] transhumanist: instead of anbox, you could also try virtualbox with androidx86 iso [17:09] does that work? [17:10] yes it does, had good experiences with it === kostkon__ is now known as kostkon [17:24] Hi frens. Question. I needed to resize a VM so I needed to move the swap to the end of the drive. So I deleted it and then created a new one and added it. But now on boot it hangs for a few minutes looking for some cryptoluks thing. Can you guys give me a hint as what I need to do to remove this? === ednash is now known as ednash_afk [17:26] WeeBey, take a look at /etc/crypttab [17:29] ioria, ok! I'll have a look. thank you. :) [17:31] lotuspsychje NO that would not work for me, too much overhead [17:31] but thanks for the suggestion [17:36] So Im stuck on "start job is running for network time sync" during boot. Problem persists in recovery mode. Tryimg to boot from live usb now, but boot is taking a long time to apparently check the file system :/ Halp? [17:37] if 22.04 , yes ; butyou can bypass that percY- [17:38] peirik_ ^ [17:38] Its done now, im inside "try ubuntu" [17:38] Any pointers on how to fix my boot issues on my main install? [17:39] Ref this https://askubuntu.com/questions/960304/how-to-overcome-a-failing-recovery-mode [17:40] Should i download and run that? [17:42] peirik_, what happens when you boot in Recovery ? [17:45] ioria: same issue, gets stuck on "start job running" [17:46] Running the recommended boot repair tool now, seems like its reinstalling grub [17:53] Well that kind of worked, im able to boot into the login screen now, but entering my password has no effect, im just prompted for my password again and again [17:55] peirik_: have you tried using a different user environment? [17:55] like wayland-less gnome thingie, or kde? [17:55] have you tried to switch to a tty and look at the journalctl -b 0 output? [17:56] or made sure you have all packages properly, and all pending updates installed? [17:57] No, and no, but I was able login to the shell by doing ctrl+alt+f3 [17:57] tomreyn: um, not sure of anything really :) [17:58] peirik_: that is a different tty :) [17:58] Aye then [17:58] once you're there, maybe you see something interesting in the logs [17:58] What should i look for in the journalctl logs? [17:59] something that happened at the time you logged in [17:59] Right... === dtg01101 is now known as dtg01100 [18:06] how do I restrict 'apt update' to not pull i386 packege lists? [18:09] neryrv: you can do so, but then you'll probably end up with i386 packages installed and not updated. is this what you want? [18:10] deb [arch=amd64] http://packages.microsoft.com/repos/code stable main // like this might work [18:11] maybe you're rather looking for a way to remove any i?86 (32-bit) packages and then disable updates for them? [18:17] what's the difference between installing "python3" and "python3.10"? [18:29] I do not have any i386 packages installed, so there's no need for apt update to get package lists for them [18:32] SuperLag: python3 could be something else [18:32] over here, python3 is python3.9 [18:34] I'm back after wiping Ubuntu 20.04 and installing 22.04, and the first things I do afterwards is to brick apt/apt-get by uninstalling the firefox snap. :| [18:35] that seems... unrelated? [18:35] "snap remove firefox" kicked me out to the login screen and now apt/apt-get tells me "flAbsPath on /var/lib/dpkg/status failed - realpath (2: No such file or directory)". [18:35] snaps should be unrelated to apt [18:36] so i have a shared folder on my ubuntu server thats fat formatted. windows sees 1.15TB free space (which is correct) i was moving some files last night, one of which being 9.63GB and it was saying there wasnt space? Any ideas? [18:37] Crucifyy: try not surpass 2 GB [18:38] is ti just a transfer thing then? [18:38] no. [18:38] FAT32 has a maximum file size of a byte less than 2 GB [18:39] Even if I try to reinstall the firefox snap to see if that somehow fixes the issue, reinstallation also fails: Automatically connect eligible plugs and slots of snap "firefox" (internal error: auto-connect of &{"firefox:dot-mozilla-firefox" "snapd:personal-files"} failed: snap "snapd" has no slot named "personal-files") [18:39] thanks cbreak, i didn't know that [18:39] And somehow all of the snaps have the note "broken". [18:40] neryrv: it should be just sudo dpkg --remove-architecture i686 then [18:40] Crucifyy: have you tried exFAT instead? [18:40] that was the next question, what format should i use that would support larger [18:41] https://en.wikipedia.org/wiki/File_Allocation_Table#Maximal_sizes [18:41] neryrv: it should be just sudo dpkg --remove-architecture i386 then <<< this rather [18:41] cbreak, appreciated my guy! [18:45] Guest1969: Do you have free disk space on all of your partitions? [18:46] Guest1969, tht really sounds more like a corrupted filesystem or broken disk [18:46] jhutchins: Yes, and I have reproduced this issue with fresh installations of Ubuntu 22.04 2-3 times now. [18:47] did you pick any exotic filesystem during install perhaps ? [18:47] I picked ZFS [18:47] doesn't sound exotic to me [18:47] Guest1969: Unlike Windows, repeating the same action should have the same results. [18:48] at least you can rollback with it :) [18:48] well, if everyhing is broken right after install, where do yu roll to then ? [18:48] to before the manual removal of the firefox snap [18:49] Guest1969: is your /var/lib/dpkg dataset mounted? [18:50] look at the output of zfs list and compare with zfs mount [18:51] It is mounted but I found that "/var/lib/dpkg/status" did not exist upon removing the firefox snap. Could not find any backup either so I just made a new file and somehow that seems to have unbricked apt at least.. [18:52] No idea if "touch /var/lib/dpkg/status" was the right thing to do though. [18:52] well, that file holds all info about the installed packages ... [18:52] Guest1969: how did you install ubuntu 22.04? [18:52] just touching it will not give apt/dpkg the information back it needs [18:52] Okay so my installation is borked now. [18:52] yes [18:52] sounds like [18:53] tomreyn: I used the official ISO image [18:53] Just wiped everything and installed it fresh [18:53] desktop? server? [18:53] Desktop [18:53] And picked the minimal preset [18:54] did you let it do the integrity check on startup [18:54] perhaps your install media was corrupt or some such [18:54] I didn't do anything but I'll check [18:54] (it is surely not usual to get into such a state right after install) [18:55] Never mind, I don't have the image anymore.. I'll do it again and report back. [18:55] Guest1969: if you reinstall fresh again, you can try to snapshot the system before you start removing snaps [18:55] also make sure you note down all the steps you take [18:55] both during and after installation [18:55] and prehaps consider keeping the snaps 😉 [18:56] (unless you have actual issues with them you can not solve) [18:58] I've had issues with snaps on Ubuntu 20.04 where apps would not work whereas the Debian package or flatpak would work fine for me. [18:59] So I feel quite skeptical about snaps now. [18:59] well, this is mostly a matter of the package not packaging properly (snaps are very developer centric) ... did you tell the packagers about the issues so they could fix them ? [19:00] I try to avoid snaps, but when I used them, they seemed quite ok... [19:00] hi [19:00] (other than looking like crap because they don't obey UI settings sometimes) [19:00] ogra: In some of the cases but usually not if using the Debian package let me move on with my life [19:00] ogra: [19:01] firefox being maintained by mozilla hand in hand with canonical is definnitely well maintained [19:01] firefox is [19:01] ... [19:01] appsec server. [19:02] Guest1969, well, your system, your choice indeed ... i have not had any actual issues with the FF snap or with the chromium snap in the last several years ... [19:02] (i use both here on 20.04) [19:02] That's good [19:04] well, except that FF takes about 4-5sec on first start after a reboot, unlike the 1-2 sec on second run (seems some people find that unacceptable) [19:04] qq, when will https://changelogs.ubuntu.com/meta-release get updated with a jammy entry? [19:04] as long as firefox snap obeys my settings / customizations in .mozilla/firefox, it should be fine [19:04] or did they lock it down further against customizations? [19:04] ragnar, se the release notes ... there is a bug holding it back ... might take a few days [19:06] cbreak, they live in the per-app home under ~/snap/firefx/current/.mozilla .. beyond that they function exactly the same as in the non-snap version ... on upgrade to the snap your ~/mozilla will be imported to that place too, you should not see any difference [19:06] Okay. I'm going to shut down and reinstall Ubuntu 22.04 once more. I verified the integrity of the (new) ISO this time. [19:06] Guest1969: did you also verify the integrity of the data written to the installer media? [19:06] ogra: sounds good. Let's hope it works once the upgrades are enabled :) [19:07] tomreyn: doesn't the installer do that on boot? [19:07] maybe it's optional [19:07] it has been tested t death ... i'd hope it works by now 🙂 [19:07] s/t/t👋 [19:07] ogra: thanks [19:07] cbreak: yes, mostly, if you don't skip it [19:08] Guest1969, right, do not skip the self-integrity check on boot of the live media [19:08] just to be 100% on the safe side [19:18] hey [19:18] hey [19:18] hey [19:18] j [19:19] I have dualboot set up and now my windows ntfs partition shows up as a removable device on my taskbar, is there a way to stop that from showing up? [19:20] 22.04 LTS btw. it started once I updated from 20.04 to 21.10 [19:20] fstab [19:21] one question [19:21] is ubutnu  22.04 really good or better using 20.04 ?! [19:21] THANK YOU !!!!!!! [19:22] 22.04 has a lot of improvements [19:22] nshire, you went 20.04->21.10->22.04 ??? [19:22] accidentally but yes [19:22] ooof [19:23] I have 500/500 with a fast wifi card so it was fine [19:29] Hi, anyone speaks UKRAINIAN? [19:30] many ukrainians do i heard .... [19:30] Back again on a fresh installation of Ubuntu 22.04. [19:30] ogra: you? :) [19:31] Uche, nope, sorry [19:31] Sorry for not responding anymore earlier. Suddenly USB stopped working so I could not use the mouse and keyboard. [19:31] !ot | Uche [19:31] Uche: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [19:31] :) [19:32] Is there ubuntu support in ukrainian? [19:34] it does not seem so [19:35] Uche, i doubt it (i suspect until recently ukrinians were in the russian-language support channels) ... [20:26] has anyone here mixed nix with apt here? How bad is that an idea these days? [20:28] geosmile: I don't think there are any official Ubuntu nix repositories, so generally no. [20:28] no, it's not supported on ubuntu [20:28] geosmile: try asking about it in #linux [20:28] geosmile: If you're trying to install NixOS packages on Ubunty, that's a very bad idea. [20:29] !nixos [20:29] Nope. [20:35] geosmile: maybe you can do that inside an lxd or docker [20:36] ubuntu has lxd easily installable via snap [20:36] I think nix multi-user actually works on ubuntu - if i am not mistaken [20:37] I was hoping to find someone who actually uses it [20:37] geosmile: it's not supported [20:37] geosmile: feel free to ask for opinions or non-support questions in #ubuntu-offtopic [20:46] does this look right 'dd bs=4M if=ubuntu-17.04-desktop-i386.iso of=/dev/sdd conv=fdatasync status=progress' ?? [20:47] normally i see the bs at the end [20:47] you might want to include status=progress too [20:47] and 17.04 has long been EOL [20:48] nevermind it worked just fine [20:48] segamain: why on earth would you flash an ubuntu release from 5 years ago? [20:48] leftyfb: because the laptop I want to flash it in is older than the both of us [20:49] segamain: there is no laptop on this planet older than me [20:49] stuck with a 32bit system [20:50] segamain: at the very least, go with 18.04 which is still supported [20:50] ThinkT510, have you considered getting a new computer? [20:50] segamain: https://cdimage.ubuntu.com/lubuntu/releases/18.04/release/ [20:50] try that [20:50] JoeBk: sorry, that was a comment on why they were using an old release. not a reflection of my situation [20:52] oops that was directed to segamain [20:58] Back again. Tried to remove the Firefox snap once more with a verified Ubuntu 22.04 image and I did not skip any checks (did not even see any checks) during boot/installation. This time I studied a bit more and managed to create a ZFS snapshot of all the datasets before trying to remove the snap again. [20:58] Unfortunately removing the firefox snap bricks the system consistently in my case. [21:00] Guest1969: why do you need to remove firefox? [21:00] Guest1969: did you make a list of all the steps you took? if so, post it on a pastebin. [21:04] leftyfb: It's a fair question but why did the system get bricked just because I tried to uninstall firefox? [21:05] Guest1969: not sure. But again, I'm very curious why you need to remove firefox [21:05] I think it's irrelevant why I wanted (or needed) to do it but I try to avoid snaps in general. [21:06] why? [21:06] I've had issues with snaps before. [21:07] Issues with snaps and no issues with the debian package for the same software. [21:07] Guest1969: you know there's no .deb package for firefox for ubuntu right? [21:07] Guest1969: are you having issues with the firefox snap now? [21:07] beyond trying to remove it [21:07] Yes, I know that and I am not going to try to use any Debian package for Firefox (I did not say that). [21:08] I'll just use the official tar archive [21:08] Guest1969: did you at least try the firefox snap? [21:08] Yes, it works, but I don't want to use snaps if I can help it. [21:09] I've had troubles with snaps for *other* software on Ubuntu 20.04 and I've learned that I could avoid all the issues I've ever had with snaps by not using snaps at all. [21:09] why? === uyhaa is now known as uyha [21:09] ok, so you've had exactly zero problems with the firefox snap but you don't want to use it because you've had problems with other snaps [21:10] Guest1969: this worked for me: https://ubuntuhandbook.org/index.php/2022/04/install-firefox-deb-ubuntu-22-04/ [21:10] Sorry but I don't feel the need to defend my choices in this case. [21:10] It's my system. [21:10] thingfish: Thank you, I'll take a look [21:11] tomreyn: I uploaded the post-installation video here: https://youtu.be/WYZPLpaRqy4 (still processing so it's only 360p) [21:13] VirtualBox is currently running. Please close it and try again. Please note that it can take up to ten seconds for VirtualBox (in particular the VBoxSVC daemon) to finis < [21:13] Speaking of which, I get one error during bootup after I removed snapd, related to LXD.... dunno if thats a problem [21:13] Hi, I did apt update packages today and apt wants to shut down this. I have a few important VMs running that I cannot shut down atm [21:13] Is there a way to cancel this? I don't see a cancel option in the promp on screen [21:14] It's a cli screen, like a installer prompt thing, blue background, etc. [21:14] This is on 20.04 [21:14] Installation procedure: Install Ubuntu; Japanese keyboard; Minimal installation + tick both other options (download updates, install third party software); erase disk and use ZFS + encrypt; Tokyo region; require password to log in; installation done [21:14] tomreyn: ^ [21:17] Right after uninstalling firefox you can see the screen turns black and then I am back at the login screen [21:17] And /var/lib/dpkg/status no longer exists. [21:17] installed a fresh 22.04 VM. logged in. removed the snap. rebooted. all fine [21:17] Guest1969: /var/lib/dpkg has nothing to do with snaps [21:19] leftyfb: Okay. [21:19] Guest1969, do you have the complete sequence of commnds you did after the first login ? [21:19] (i doubt tomreyn was interesed in your install process 🙂 ) [21:20] how exactly did you try to remove firefox ... did you do any other changes to the system etc etc [21:21] What you see in the video (and it's description) are the very first commands on this installation [21:23] Guest1969, ubuntu-bug snapd ... then link the video to the bug [21:23] thats definitely unexpected [21:23] (i just watched it) [21:23] Thanks [21:24] * enigma9o7[m] uploaded an image: (394KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/JbGBrEWgFKkqPfpuLithAqRy/Screenshot%20from%202022-04-23%2014-23-44.png > [21:24] Can anyone tell me how to use apt prefererences or pinning or something to make it so firefox 99 is the install candidate, instead of the snap? [21:24] :/ [21:25] hehe [21:25] this is gonna be a thing isn't it? [21:25] seems like it. [21:25] sigh [21:26] enigma9o7[m]: what issue are you having with the firefox snap? [21:28] If I do a one time install by specifying version, it still wants to "update" to the snap. I imagine there's a simple solution? [21:29] enigma9o7[m]: what issue are you having with the firefox snap? [21:30] there are issues with extensions.gnome.org with the firefox snap. [21:31] already fixed, just not released by mozilla yet [21:31] oh nice [21:31] (which is why the release notes point to the gnome-extension-manager app as interim solution) [21:32] just to make sure that snap remove is not a general problem: https://p.haxxors.com/sl0yej6c.webm [21:33] yeah, i think it is a snapd bug with zfs or some such === joe is now known as Guest9454 [21:33] i have ZFS but thats my main system. i really dont want to crash it right now :) [21:33] heh === Guest9454 is now known as JoeCord [21:34] but the VM can do ZFS. lets see [21:36] i have probably done a hundret installs over the last wweks ... but it never came to my mind to remove the FF snap when testing things 🙂 [21:36] Hi [21:39] Hello [21:39] I have just installed lts 22.04 but I am having trouble with the wifi [21:40] It seems much slower and it keeps disconnecting and for some reason I can't see my 5ghz wifi signal. [21:45] hey when i try to do a repair install it still asks me to set a user/pass does it not reserve that too [21:45] i mean i can do the exact same again [21:45] i just worry about my home folder and stuff [21:45] (ot [21:46] it isnt my main computer but just wonderin [21:46] ogra, it's ZFS related. same happens on my VM now [21:47] but i can just login again [21:48] ravage: Did you also try to remove the firefox snap? If so, does "apt update" work for you now? Does "snap list" show that all the remaining snaps are broken? === joe is now known as Guest8267 [21:49] https://imgur.com/a/jXpwTho [21:49] After installing and restarting this is what pops up [21:49] What's the problem ? [21:50] segamain: you're running from a live usb? [21:50] And what's WATCHDOG=1 [21:50] leftyb: no [21:50] I installed [21:51] that does not look like you did a restart [21:51] oh, you didn't restart yet [21:51] reboot your machine [21:51] Just a normal reboot ???? [21:51] yes [21:51] power it off and back on [21:51] Just turn off , turn on ? [21:51] Kk [21:52] "have you turned it off and on again ?" ... now #ubuntu finally feels like a real support channel [21:52] lol [21:53] * ogra waits for "wiggle the cable" next ... [21:55] Guest1969: only tried whats on your video. but i can do it again... [21:55] Oh then I guess you already did what I asked about [21:56] Because if you you would have seen that "apt update" would not work and same if you tried to reinstall the firefox snap. [21:56] installation is almost done [21:57] Ok it works [21:58] But I cant turn on wifi from the settings [21:58] Can somebody help me to manually do it trough the terminal [21:58] rfkill list ... [21:59] rfkill block [21:59] segamain, ^^^ === JoeBk_ is now known as JoeBk [22:00] ogra: no [22:00] ??? [22:00] no what ? [22:00] segamain: run the 2 commands at https://gist.github.com/jeremyb31/a2bee9856d8c13f42f1835bc31bf9480 in terminal and post the termbin URL after the second command is done [22:01] Wait [22:01] segamain, you mean rfkill does not work ? [22:01] https://imgur.com/a/lozgPII [22:02] So what am I supposed to block [22:02] segamain, phy0 [22:02] segamain, but te list shows it is already blocked through a hardware switch [22:03] do you have an airplane key on your keyboard that you did accidentially hit ? [22:04] ogra: no [22:04] hmm i also wonder can a 22.04 livedvd/usb do an upgrade install from 20.10 [22:04] And I cant block it somehow [22:04] like you boot the live disc [22:04] or is that not possible yet [22:04] segamain, yeah, it is already blocked ... [22:04] erm 21.10 i mean [22:04] typo sorry [22:05] Guest1969: https://p.haxxors.com/fysoxj8t.webm [22:05] all broken here too. maybe use that video for your report then [22:06] segamain: run the 2 commands at https://gist.github.com/jeremyb31/a2bee9856d8c13f42f1835bc31bf9480 in terminal and post the termbin URL after the second command is done [22:06] Guest5626: read the relase notes. update is blocked due to a bug. will be enabled soon [22:06] Jeremy31: I dont have a internet connection on the laptop bruh [22:07] ravage yeah im not talking via the updater === joe is now known as Guest4224 [22:07] im talking off the live disc is that a thing too [22:07] not a thing [22:07] segamain: try a BIOS reset [22:07] so it works if i use the live disc? [22:07] (it's a computer that cant get internet atm) [22:08] not an important one [22:08] though [22:08] just somethin i was curious about [22:08] ravage: Cool, so it's not just me. Thanks, that video is better than mine. [22:08] ravage: so removing the firefox snap worked for you with ext4 but not with zfs? Or if that's not what the difference is, what is? [22:09] Hey guys I wifi problem here 👋👋 [22:09] leftyfb, exactly [22:09] does the new LTS image support hybrid mode, e.g. via dd on usb sticks? [22:09] *got [22:09] Guest1969: ok, so maybe you could go without zfs [22:09] de-facto: hybrid mode? [22:09] hey hey, first file the bug from the broken system (so the logs are collected) [22:10] yes as DVD image and USB boot image [22:11] ogra, what is the affected package here then? snap? [22:11] hmm i guess i just try it then? [22:11] de-facto, dd is fine to write to USB key ... [22:11] ravage, ubuntu-bug snapd [22:11] ok thanks [22:12] de-facto: can you point me to where there is a non-dvd image to be flashed to usb? [22:12] snapd does not work. snap does [22:12] i feel old i still use burned discs instead of usb mostly because i dont have a free usb stick that's large enough [22:12] and too lazy to go out to buy another [22:12] lol [22:12] ravage, odd ... snap isnt a package ... [22:12] (just a command the snapd package ships) [22:12] segamain: can you copy https://raw.githubusercontent.com/UbuntuForums/wireless-info/master/wireless-info from another machine and put it on a flash drive, transfer to Ubuntu, mark it as executable and run it. Then copy the wireless-info.txt file back to a computer with internet and paste at dpaste.com [22:13] and i dont have firefox. so it opened some html in the text editor :P [22:13] lol [22:13] i dont know internal structure of the images, hence my question [22:13] it tries to open launchpad ... [22:13] yes. but a little hard to login without a browser [22:13] yeah [22:13] apt install w3m ? [22:14] apt looks destroyed [22:14] ah, dang [22:14] snap is downloading firefox. lets see [22:14] ravage, else https://bugs.launchpad.net/ubuntu/+source/snapd/+filebug ... [22:14] and fails :) [22:15] ok will do it manually :) [22:15] oh my ... i wonder if our filesystem is gone south due to that bug [22:15] Jeremy31: hold up [22:17] Jeremy31: I think I'm gonna do that later good night or whatever [22:17] segamain: If you want you can start a thread at ubuntuforums.org with the results in Networking & Wireless [22:18] too late ... gone ... [22:19] ogra, https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1970066 anything i should add? [22:19] Launchpad bug 1970066 in snapd (Ubuntu) "removing firefox snap after fresh 22.04 install with (encrypted) ZFS breaks APT, snapd" [Undecided, New] [22:21] Omg [22:21] Nice, I don't have to report this myself now. Thanks [22:21] ravage, journald output would be cool but not sure you can get that easily over [22:21] Something is really funky with my airplane mode [22:21] Guest1969: chiming in an the bug would be beneficial [22:21] es [22:21] yes even [22:22] Okay [22:22] It switches on and off [22:22] Can I kill the process of the airplane mode ?? [22:23] segamain, you mean on its own ? [22:23] And if yes, how ? [22:23] ogra: yes [22:23] its a kernel thing usually ... [22:23] ogra, good idea. added [22:24] What can I do about it ogra ? [22:24] segamain, watch your logs with "journalctl -f" [22:24] see what exactly happens ... perhaps there is a hint [22:24] (you can exit that with ctrl-c) [22:25] A hard block in rfkill comes from a BIOS signal [22:25] yeah, but you should hopefully see a log entry for it [22:27] https://imgur.com/a/9zzpQfJ [22:27] There [22:27] Sorry for the quality [22:28] segamain: Is it connected to mains power/AC? [22:29] Jeremy31 yes it's connected to the power [22:30] What does that have to do with the airplane mode ?? [22:31] ravage, hmm, also /proc/self/mountinfo ... looks like all the squashfs files (snaps) have been unmounted/or not been mounted at all [22:31] segamain: Do you have TLP installed? It is a power saving utility for laptops [22:31] Hmm the newest release iso does not boot from usb [22:32] de-facto: yes it does [22:33] ogra, added [22:33] Also it only got a very rudimentary grub menu, what happened to the old grub that worked? [22:33] segamain: Shut the computer down, remove battery and power cord and then hold the power button for 10 seconds. Put the battery back in, plug it in and boot [22:33] thx [22:33] lol my new laptop can last a whopping 1 1/2 hours on battery [22:33] Booting into test ubuntu just shows a blinking cursor thats all [22:33] that is with all the power saving enabled [22:33] maybe 30 minutes on max settings [22:34] Mibix: do you have an ubuntu support question we can help you with? [22:34] How can i get more info about what went wrong? [22:34] lol sorry wrong channel [22:36] ravage, yeah, not a single snap is mounted ... looks like all the systemd mount units failed [22:36] hmm i was hoping to be able to try the new release [22:37] Seems its broken for me :( [22:38] ravage, oh, check the bug before stopping the VM 🙂 [22:39] check what? :D [22:40] i downloaded this here https://releases.ubuntu.com/jammy/ubuntu-22.04-desktop-amd64.iso and ran "dd if=ubuntu-22.04-desktop-amd64.iso of=/dev/sdd bs=1M status=progress" [22:40] oh [22:40] ravage, last comment on the bug ... (that will collect more than just journal and mountinfo) [22:40] is that wrong? [22:41] wow. this one actually prints the auth page :D [22:41] where can i download the stable version of the latest ubuntu? [22:41] de-facto, that should work ... though i would pick a slightly bigger blocksize ... like bs=32M ... [22:42] (but thats just personal preference ... i dont like to wait so long) [22:42] does that change the bootloader code on the stick? [22:42] no [22:42] i guess grub is broken for some reason [22:42] the blocksize just defines in which intervals dd flushes data to disk [22:42] it only showed a basic version not the usual ubuntu branded version where one could choose keyboard layout etc [22:43] and then a blinking cursor, so its broken [22:43] ogra, no debugging because i dont have snapd anymore [22:43] are there alternative legacy images or such? [22:43] ravage, the deb should still be there ... only the snap borke (and snapd should fall back to the deb then) [22:44] de-facto, nope. only these ... [22:44] apport-collects tells me otherwise :) [22:44] de-facto: tried the server image? [22:44] not yet [22:44] ravage, mentin that in the bug then [22:44] i did [22:44] i want the desktop install [22:44] de-facto, or you could try a flavour image ... but grub is the same on all of them [22:45] de-facto: you can do a desktop install after installing the server [22:45] kind of desktop [22:45] i think grub is broken for my setup [22:45] what is the official method to create an usb bootstick? [22:45] for example with apt install plasma-desktop [22:45] or the gnome equivalent [22:46] hmm. `kubuntu-desktop` seems to be the master package [22:48] de-facto, Ubuntu comes with the startup disk creator. from windows i would use Rufus maybe [22:48] i am on 18.04 right now [22:48] i guess i am going to try that startup disk creator [22:48] good idea [22:49] btw my computer got a BIOS not UEFI [22:49] maybe that is related? [22:50] if it does not support UEFI at all i dont see any problem [22:50] but it must be really old if it does not support it [22:51] de-facto: How about making a backup so you can restore it if there's a problem? [22:51] its still fast core i7 on P55 [22:51] jhutchins, i just wanted to try the live image first from usb [22:51] does it still allow for toram? [22:51] de-facto: Good idea. [22:52] !live [22:52] The Ubuntu Desktop ISO is a "Live" image, which can be run without altering existing files on your hard drive. Especially useful for testing your hardware's compatibility, it also includes an install option. [22:52] try the tool provided by Ubuntu first [22:54] cbreak: Is that just "gnome", or is there more to it? [22:54] also what happened to the grub? i remember there was an option to checksum the stick and choose keyboard layout/lang and all that [22:54] now its just 4 text entries to choose from and nothing else [22:54] jhutchins: kubuntu desktop is the kde spin [22:55] there's a gnome equivalent too [22:55] they contain the whole desktop environment, bunch of applications and so on [22:55] there are sub-meta packages for each with less stuff [22:56] I think the gnome version is "ubuntu-desktop" [22:57] do i need to do anythign special to the stick after the startup disk creator dialogue completed? [22:57] no. you can boot from it i hope [22:58] i hope so too [22:58] ok sync & reboot [23:00] Hmmm same only blinking cursor [23:00] This is frustrating, i dont even get any error [23:04] and you tried the safe graphics option too? [23:04] Does it make sense to wait for anything to happen? [23:05] do you reach grub? [23:05] what's the point of the update-manager-core package? [23:05] I think it does not even come to the kernel, id guess grub is broken [23:06] kujo, it includes the core part of the update-manager tool? [23:06] Ravage same [23:06] if you reach grub, you can change the kernel cli [23:06] remove the quiet [23:06] maybe it can tell you more [23:07] not sure why most websites are saying install update-manager-core before running apt dist-upgrade [23:07] remove "quiet splash" and press F10 [23:07] kujo, no idea [23:11] Yeah removing quiet does nothing [23:11] Grub is broken [23:14] For half a sec an error msg showed richt before the blinking cursor [23:15] GRUB error: can't find command 'grub_platform' [23:15] What does that mean? [23:17] de-facto: Sounds like you might have parts of more than one version of grub going. [23:17] How? [23:17] cbreak: I was asking what the meta-package for a gnome desktop install (on a bare/server platform). [23:21] https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1905491 maybe this? [23:21] Launchpad bug 1905491 in usb-creator (Ubuntu) "Recent (Nov 2020) ISO copied to USB Drive cannot load" [Undecided, Confirmed] [23:21] but thats two years old [23:23] jhutchins: I think it's either ubuntu-desktop, ubuntu-desktop-minimal or ubunut-session [23:23] depending on how low you want to go [23:24] seems the GPT on the iso is broken or such [23:28] trying https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1905491/comments/8 [23:28] Launchpad bug 1905491 in usb-creator (Ubuntu) "Recent (Nov 2020) ISO copied to USB Drive cannot load" [Undecided, Confirmed] [23:32] That seems to work, hence can confirm that bugreport, why is this broken GPT not fixed? [23:40] Guest1969: i don't know whether removing the firefox snap is supposed to be supported, but I assume this is more likely some ZFS related issue. I recommend you file a bug. [23:40] Hmm firefwhere can i find synaptic? [23:41] Hmm.. Could it be that after a kernel upgrade, the battery on my laptop lasts way less? [23:43] tomreyn: One thing one could try is install another snap and then remove it and see if it still borks the system.. That must be supported. Also, not everyone wants to use Firefox. [23:43] de-facto: in !universe - same as always [23:43] Ah thanks [23:43] But I'm a bit tired of this issue now as this is my fourth or firth time reinstalling the system on the bare metal. [23:43] *fifth time [23:44] Guest1969: so just file the bug and be done for now [23:45] I was unable to report it the proper way so I just added a comment on the existing report, by ravage if IIRC [23:48] Guest1969: i see, hadn't noticed he had filed one already [23:52] its kinda nice, does it require snap to work properly? [23:54] omg Firefox is using snap now? [23:54] ugh [23:57] de-facto: try it out. If you have issues with it, it would be helpful to file a bug so it can improve [23:58] i found https://ubuntuhandbook.org/index.php/2022/04/remove-snap-block-ubuntu-2204/ does that mean there is a real firefox deb too? [23:58] no [23:58] no firefox in the repos anymore? [23:59] it's a snap package [23:59] .( [23:59] de-facto: please give it a try before trying to neuter your install [23:59] i dont want snap, sorry [23:59] did you try it? [23:59] yes it works