[00:02] <oerheks> firmware is completely something else than uefi.
[00:03] <rfm> uh, the f in uefi stands for firmware...
[00:04] <oerheks> updates can pull in firmware for various devices.
[00:04] <oerheks> as extention to UEFI indeed
[00:08] <webchat30> starts from Xubuntu (boot override) but still the problem
[00:10] <arraybolt3> webchat30: So Xubuntu doesn't boot at all, but just gives the message?
[00:10] <arraybolt3> If so, we'll need a live USB to sort this out.
[00:17] <webchat30> I turn on the PC, the options to select the operating system (grub) appear, I selected xubuntu and I get the message "shim lock protocol not found" and "kernel must be loaded first"
[00:17] <arraybolt3> Oh that's weird. Can you select "Advanced Options for Ubuntu" and try to boot an older kernel?
[00:18] <arraybolt3> Also what version of Xubuntu is this?
[00:23] <webchat30> Xubuntu 22.04 (Linux 5.15.0-46) and the same error with older kernel, even if i try to boot windows i get the same (but if i boot first with windows boot manager if windows boots)
[00:24] <webchat30> Ok, I have live USB (Xubuntu) and now, what's next?
[00:26] <arraybolt3> webchat30: To me it sounds like GRUB is borked, so hopefully a simple reinstall should fix it.
[00:26] <arraybolt3> webchat30: So what I'd do is pop open a terminal with Ctrl+Alt+T.
[00:27] <arraybolt3> webchat30: Next, we need to looks at the list of disks in the system. To do that, type "lsblk" and press Enter. This should let you figure out which disk is your main disk. If you're unsure, run "lsblk | nc termbin.com 9999" and send the link that spits out - that will let me look at it.
[00:27] <arraybolt3> (Also, just in case you didn't know, please don't paste large amounts of command output into the chat, that messes things up and will trigger a bot to mute you for a bit. Use pastebins like termbin.com.)
[00:28] <arraybolt3> (Also bpa.st is another good pastebin.)
[00:36] <webchat30> Do I open the terminal running Xubuntu from the live USB?
[00:37] <arraybolt3> Yes.
[00:45] <bobdobbs> Hi all. Is there a way, using gnome, to take a screenshot with a key-comination?
[00:45] <arraybolt3> bobdobbs: Does Print Screen not work?
[00:45] <arraybolt3> Or do you not have a Print Screen key?
[00:45] <bobdobbs> prtscr doesn't work, no. It opens up a dialogue.
[00:46] <bobdobbs> I want to take a screenshot with a key-combination. Not using a dialogue
[00:46] <bobdobbs> Using a dialogue means that the cursor state and position won't be captured in the screenshot
[00:47] <arraybolt3> bobdobbs: Shift+Print Screen works for me.
[00:47] <webchat30> I already did it, I know which is the main disk and its partitions.  what do I do now?
[00:48] <arraybolt3> webchat30: OK, so do "sudo mount /dev/sdXY /mnt", where sdX is the main drive and Y is the root partition.
[00:49] <arraybolt3> (For instance, "sudo mount /dev/sda2 /mnt" - this may or may not be right for your system, but that's the idea of the command.)
[00:49] <bobdobbs> arraybolt3: oh damn. That actually does work for me... except that it doesn't capture the mouse position and state!
[00:50] <bobdobbs> I'm trying to take screenshots to show a client how to make an edit to their website. I need to show them a screenshot with the mouse position/state showing.
[00:51] <arraybolt3> bobdobbs: Hmm... using just Print Screen and then selecting to capture the mouse pointer works but it requires the extra step of clicking the Capture button.
[00:51] <arraybolt3> (The mouse pointer button in the lower-right corner of the screenshotter UI is the "show pointer" button.)
[00:53] <bobdobbs> arraybolt3: yeah. But because you have to move the mouse to the UI, the mouse won't show in screenshot
[00:53] <arraybolt3> bobdobbs: Try it, it works for me and shows the mouse where I left it. Like, here's a screenshot with the mouse underneath the clock.
[00:53] <bobdobbs> I've tried it. It doesn't work for me.
[00:54]  * arraybolt3[m] uploaded an image: (285KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/BvhJGdOcwmrnujvvvUZnqcQT/image.png >
[00:54] <webchat30> How can I find out which is the root partition?  is it where you install "/"?
[00:54] <arraybolt3> webchat30: Yes.
[00:55] <rayff> hello
[00:55] <arraybolt3> rayff: \o
[00:55] <arraybolt3> bobdobbs: Sorry, not sure what else will work then. Maybe someone else here will know.
[01:01] <oerheks> alt + scrnsht works, without dialog
[01:01] <oerheks> the dialog will say you can copy paste it from clipboard, i use CopyQ
[01:02] <oerheks> not sure it captures mouse..
[01:03] <oerheks> ah, copyQ gives an option in settings, ' capture with mouse'
[01:03] <webchat30> I already did it (sudo mount /dev/nvme0n1p6 /mnt) although apparently nothing happened, and now?
[01:04] <arraybolt3> webchat30: Next, identify your EFI partition (should be /dev/nvme0n1p1), and do "sudo mount /dev/nvme0n1pX /mnt/boot/efi", replacing X as appropriate.
[01:09] <webchat30> Ok, next step
[01:12] <webchat30> same as before after "sudo mount /dev/nvme0n1p1 /mint/boot/efi" nothing happened
[01:13] <webchat30> What's next now?
[01:17] <Bashing-om> webchat30: "/mint/boot/efi" ?? >> should that not be /mnt/boot/efi - that is mnt .
[01:19] <webchat30> What's is the next step after sudo mount /dev/nvme0n1p1 /mnt/boot/efi? (mint because orographic correction on my phone 😂)
[01:28] <arraybolt3> webchat30: Sorry for the long dealy
[01:28] <arraybolt3> s/dealy/delay/
[01:29] <arraybolt3> webchat30: Next is "sudo mount --bind /dev /mnt/dev && sudo mount --bind /dev/pts /mnt/dev/pts && sudo mount --bind /proc /mnt/proc && sudo mount --bind /sys /mnt/sys".
[01:29] <arraybolt3> (Each of the mount commands separated by && can be typed in one at a time, or you can copypaste the whole thing all at once if you want to.)
[01:31] <webchat30> I do it, wait please
[01:38] <webchat30> After "sudo mount --bind /dev/mnt/dev" the answer said "mount point does not exist"
[01:39] <arraybolt3> You or I failed to put a space after the first "/dev".
[01:39] <arraybolt3> Or there's a different typo somewhere in the command.
[01:44] <webchat30> Correct, my fail, the space was missing, I will continue with the other commands
[01:48] <webchat30> Ok, all commands entered. Next step
[02:00] <webchat30> I still here waiting the next step
[02:04] <matsaman> arraybolt3:
[02:04] <matsaman> I haven't done an EFI install in ages or I'd chime in
[02:18] <webchat30> What is the next step? Help!
[02:29] <jhutchins> !fixgrub
[02:31] <jhutchins> webchat30: No, that's not it.
[02:31] <jhutchins> webchat30: Turn SecureBoot off.  It's as simple as that.\
[02:32] <jhutchins> first google hit for "shim lock".
[02:32] <jhutchins> You've been at this for three hours?
[02:36] <webchat30> I give up, I'm going to reinstall everything and disable secure boot
[02:37] <Rockwood> hi
[02:37] <matsaman> hi rock
[02:37] <Rockwood> i am facing issue of space
[02:37] <Rockwood> matsaman, o/
[02:38] <enigma9o7[m]> secure boot sounds like a hassle.  i'd disable that too if my pc offered it.
[02:38] <Rockwood> npm ERR! nospc ENOSPC: no space left on device, write
[02:38] <enigma9o7[m]> great scott!
[02:38] <matsaman> Rockwood: well you need to remove some files
[02:38] <matsaman> Rockwood: or back them up
[02:38] <matsaman> probably there is plenty you can remove that isn't important, though
[02:38] <Rockwood> i just added phpmyadmin folder
[02:38] <matsaman> Rockwood: https://wiki.debian.org/DiskFreeSpace
[02:39] <Rockwood> is possible to resize it?
[02:39] <matsaman> https://wiki.debian.org/DiskFreeSpace#Find_things_to_erase
[02:39] <matsaman> Rockwood: resize a directory?
[02:39] <enigma9o7[m]> if it is a partition, yes
[02:39] <enigma9o7[m]> if it is a disk, no
[02:39] <enigma9o7[m]> if the parittion already fills the disk, no
 if it is a partition, yes   <-- yes this is i want
[02:40] <webchat30> thanks to everyone (except Microsoft which is the root of all problems) Bye
[02:40] <Rockwood> tc
[02:40] <matsaman> not sure why you'd put phpmyadmin on its own partition
[02:40] <enigma9o7[m]> I wouldnt.
[02:40] <Rockwood> bcz i wanna handle mysql in easy way
[02:41] <Rockwood> every time i have to open terminal and enter from there
[02:41] <nunya> I was able to open a text file as a program in ubuntu 20.04 Now that I've upgraded to 22.04 the file doesn't open as a program it opens as a text file with gedit. In file properties is is still ticked to allow to open as program. How do I get it to run the commands in the file rather than opening it with gedit?
[02:42] <Rockwood> matsaman, i can manage from terminal but just make thing easy to me
[02:42] <Rockwood> Vscode also having Mysql plugin
[02:43] <Rockwood> but i am unable to use that
[02:43] <arraybolt3> nunya: I think you need to tweak your Nautilus settings.
[02:44] <arraybolt3> Hold on, lemme find it...
[02:45] <nunya> arraybolt3: ok what do you mean? I used to be able to run it from the desktop or thunar. I don't like nautilus
[02:45] <arraybolt3> nunya: Oh you're on Xubuntu then?
[02:45] <arraybolt3> (Sorry, I'm using Ubuntu. Xubuntu is supported here, but the two have different file managers so I didn't know.)
[02:45] <matsaman> nunya: probably right click, properties or whatever, run via terminal/shell/etc
[02:46] <matsaman> Rockwood: anyway, running out of space is bad, so just make some room
[02:46] <nunya> arraybolt3: no I'm using thunar on ubuntu 22.04 and it works well for everything except running files as programs evidently
[02:47] <Rockwood> matsaman, thanks for guide
[02:47] <arraybolt3> Ah. I'm hitting the same problem even on Nautilus, so... :(
[02:47] <Rockwood> i  am thinking to remove phpmyadmin back
[02:47] <arraybolt3> nunya: Hmm... I can right-click and click "open as a program" over here, maybe you have a similar feature?
[02:47] <arraybolt3> (Not ideal, but if nothing else it's something. I'm still looking for the ideal solution.)
[02:48] <matsaman> https://stackoverflow.com/questions/56241166/how-to-run-sh-file-by-double-clicking-in-xfce
[02:50] <arraybolt3> nunya: OK, I know Linux Mint is not Ubuntu, but this forum post has how to re-enable the ability to execute things in Thunar even if there's no option in the preferences to enable it: https://forums.linuxmint.com/viewtopic.php?t=202303
[02:50] <matsaman> it is ubuntu, but not enough for this channel =P
[02:52] <arraybolt3> matsaman: Well, yeah. My point was the post might contain the solution but don't get too minty around here :P
[02:52] <matsaman> =P
[02:52] <nunya> arraybolt3: thanks I used to just double click any files that had run as program set in properties. Some upgrade this turned out to be. Adde steps to run file as program,I can't change desktop icon spacing without editing /usr/share/gnome-shell/extensions/ding@rastersoft.com/enums.js There used to be a gui for that. It's like every upgrade strips something els out of functionality.
[02:53] <matsaman> GNOME is pretty big on hiding things
[02:53] <matsaman> following Apple's lead
[02:54] <nunya> Where do I give Ubuntu Developers Feedback about these kinds of things?
[02:54] <arraybolt3> nunya: Oddly enough, on Thunar over here, there's an option under Edit > Preferences that says "Run executable text files when opened".
[02:54] <arraybolt3> It's in the Behavior section of the preferences.
[02:55] <matsaman> nunya: nowhere, it's a GNOME issue
[02:55] <nunya> arraybolt3: thanks the forum link was very helpful!
[02:55] <arraybolt3> matsaman: I'm pretty sure this is an XFCE issue.
[02:56] <arraybolt3> nunya: Glad to be able to help!
[02:56] <matsaman> I mean you can tell them you don't like it and they might do something about it, but still a GNOME issue
[02:56] <matsaman> arraybolt3: anything to do with /usr/share/gnome-shell/ is a GNOME issue, however
[02:56] <arraybolt3> matsaman: Oh right, I forgot there were two things we were talking about.
[02:58] <matsaman> so many things
[02:58] <arraybolt3> I wonder if Budgie is any better?
[02:59] <arraybolt3> Or KDE. If you ever wanted something that gives you copious amounts of options, KDE is the way.
[02:59] <Rockwood> matsaman, what do you use as backend development environment?
[03:06] <matsaman> Rockwood: you mean in the realm of phpmyadmin?
[03:06] <Rockwood> no
[03:06] <Rockwood> what do you use php node or any other?
[03:07] <matsaman> arraybolt3: been happy with Xfce for decades
[03:07] <Rockwood> backend programming
[03:07] <matsaman> oh
[03:07] <matsaman> I'm lucky enough to be in the python world right now
[03:07] <matsaman> it's all the same as far as programming
[03:07] <matsaman> but as far as implementation, PHP's is... bad
[03:07] <Rockwood> matsaman,  thne?
[03:07] <Rockwood> then?
[03:07] <matsaman> then what?
[03:08] <Rockwood> i am using which one you use mostly as backend?
[03:08] <Rockwood> lol
[03:08] <Rockwood> i am using php
[03:08] <arraybolt3> matsaman: I used to use XFCE, it was really nice. I'm currently on GNOME for the sake of possibly making all my GNOME programs work better... but I'm somewhat regretting that decision and plan on jumping to either Budgie or LXQt next.
[03:08] <Rockwood> and which one you use mostly as backend?
[03:08] <matsaman> mmm, use python at work, and bash personally
[03:08] <Rockwood> is python easy
[03:08] <Rockwood> ?
[03:09] <matsaman> yeah
[03:09] <matsaman> php, python, perl, javascript, they're all pretty close
[03:10] <matsaman> python's interpreter & stdlib, security is a lot better than php's, but just programming with either one is not going to be so incredibly different
[03:10] <matsaman> lot lot lot of PHP work out there still for some reason
[03:11] <matsaman> wouldn't be my first choice for personal scripts, but it makes sense to use what you know
[03:13] <Rockwood> yeah php having lots of huddles i am agree with your statement
[03:13] <Rockwood> live streaming is concern right now
[03:15] <Rockwood> matsaman, enigma9o7[m] thanks
[03:15] <Rockwood> cya
[03:28] <webchat30> Hey people, it's me again. I solved the "shim lock not found" problem on my dual boot, it was only an option in the bios
[03:29] <webchat30> Bios/advanced mode/boot/secure boot/OS type change to "other OS"
[03:29] <webchat30> On Asus h97 plus mainboard
[03:30] <oerheks> that was arraybolt3 pointing too, also my 1st clue besides bios update
[03:30] <oerheks> have fun, webchat30
[03:31] <arraybolt3> webchat30: Glad it worked!
[03:31] <arraybolt3> (I had to go away from keyboard for quite a while earlier, sorry that I randomly stopped responding.)
[03:33] <webchat30> I'm happy, thanks again to all for your help, the important thing is that the problem was solved, I just hope that the changes made in the terminal will not damage anything.
[03:35] <arraybolt3> Nah, all we did was mount stuff, we didn't actually make any changes.
[03:36] <webchat30> that's great.  thanks and bye
[03:36] <arraybolt3> o/
[04:03] <stolen> can i install wine on ubuntu 16.04 LTS ESM ?
[04:05] <oerheks> it is not part of the core packages. so if you tried, and failed, no.
[04:05] <stolen> okay
[04:31] <sivik_> anyone have any experience with routing public traffic from hosta to an ip on hostb with a gre tunnel?
[04:32] <sivik_> https://imgur.com/LYPfKz6
[04:32] <sivik_> getting ip 189.182 responding from my pc without a static route between my pc and host a
[05:27] <Guest56> upgrade removed my kicad-5.1 package and wont install kicad-6 due to "unmet dependencies" @https://pastebin.mozilla.org/POUCM3pi
[05:29] <oerheks> guest on what ubuntu version?
[05:30] <arraybolt3> Guest56: You might have better luck by using Aptitude to install it rather than plain apt. You can get Aptitude with "sudo apt install aptitude".
[05:31] <arraybolt3> It should tell you why stuff isn't installable or isn't going to be installed, and offer solutions.
[05:32] <oerheks> and did you run updates properly, before installing?
[05:32] <oerheks> old lists can cause this too
[05:33] <Guest56> yes, i did all upgrades
[05:33] <oerheks> and what ubuntu version?
[05:33] <Guest56> "E: Package 'aptitude' has no installation candidate"
[05:33] <oerheks> you should have started wit that
[05:34] <Guest56> 22.04
[05:34] <oerheks> aptitude is in universe repo, AFAIK
[05:35] <arraybolt3[m]> What's "/etc/apt/sources.list" look like? (Pastebin it, please!)
[05:35] <arraybolt3[m]> (If apt can't find aptitude, something has gotten badly broken.)
[05:35] <arraybolt3[m]> !pastebin
[05:35] <oerheks> kicad is available in softwarecenter.. easy peasy
[05:36] <Guest56> cause was: sources.list missing 'universe multiverse' on source lines
[05:36] <oerheks> enable it in software settings
[05:37] <Guest56> cause was: default URLs too slow in china, many moons ago had switched to local sources, local source definitions did not have these
[05:37] <Guest56> doing an update now, hopefully fixes, thanks
[05:37] <arraybolt3[m]> 👍️ Glad we were able to help!
[05:37] <Guest56> upgrade took the old source lines and copied them without checking them
[05:38] <Guest56> maybe could file a bug to have it do basic sanity checks before updating sources.list
[05:39] <Guest56> lines written with "automatically generated by distro upgrade" or whatever look overly authoritative when actually they are not
[05:39] <arraybolt3> I see your point. I might be able to reproduce the problem and potentially make a bug report.
[05:39] <Guest56> cheers
[05:39] <Guest56> thanks everyone
[05:40] <arraybolt3> Sure thing, and good luck!
[05:53] <squidsworld> Wazzzzahhh
[06:05] <SpeedrunnerG55> im trying to change mt gnome shell with user themes, but whenever I try to change it, nothing changes
[06:05] <SpeedrunnerG55> my*
[06:07] <asusrajiv_> identify darkenergy
[06:12] <SpeedrunnerG55> user these in the gnome extensions site wont stay on, ill turn it on, refresh the page then it is back off
[06:13] <SpeedrunnerG55> themes*
[06:23] <cosmicrajiv> how do i install deb firefox in ubuntu 22.04.1 side by side wit snap firefox?
[06:24] <cosmicrajiv> with*
[06:27] <oerheks> sudo dpkg -i <deb>
[06:30] <arraybolt3[m]> cosmicrajiv: PPA?
[06:31] <oerheks> he did not say where that deb comes from..
[06:32] <oerheks> https://launchpad.net/~mozillateam/+archive/ubuntu/ppa gives an old version
[06:33] <arraybolt3[m]> Looks like they also package new versions in there too.
[06:33] <oerheks> ESR maybe ..
[06:33] <arraybolt3[m]> I'm seeing version 104 in there.
[06:33] <oerheks> (Newer version available)
[06:33] <arraybolt3[m]> It used to just be ESR but it looks like they changed that.
[06:34] <oerheks> no
[06:34] <arraybolt3[m]> (Weird thing is that 104 sorta seems like it might be a beta, since the latest version of Firefox according to the website is 103.0.2.)
[06:34] <RikMills> 104 is current beta
[06:35] <oerheks> oh dear, we get 103 .. https://snapcraft.io/firefox
[06:35] <arraybolt3[m]> oerheks: Looks like "Newer version available" is just pointing to the Snap package - I'm guessing the version number of the Snap transitional package is set to be "newer" than anything else?
[06:36] <oerheks> arraybolt3[m], that may be right, yes.
[06:37] <RikMills> oh, wait. 104 build2 could be an RC
[06:37] <arraybolt3[m]> Still ESR is better than Snap for someone who can't deal with the limitations of the Snap Firefox.
[06:37] <RikMills> arraybolt3[m]: the snap transitional has an epoch
[06:40] <RikMills> yeah, 104-build2 is the 2nd release candidate for 104 final
[06:40] <RikMills> there is also a build3 on the mozilla ftp
[06:42] <orca_> my laptop wont even start snap firefox
[06:42] <orca_> it just spinning circle then stops
[06:42] <orca_> too slow i think
[06:42] <orca_> celeron n4020
[06:42] <arraybolt3[m]> orca_: Care to run "firefox" in a terminal and put whatever output it gives in a pastebin for us to see?
[06:42] <arraybolt3[m]> !pastebin
[06:43] <orca_> im not on ubuntu right now
[06:43] <arraybolt3[m]> Oh.
[06:43] <orca_> i have to install it again. i installed manjaro because of the reason it wouldnt start
[06:43] <arraybolt3[m]> Well, if you run Firefox from a terminal, it should tell you why it isn't starting (albeit in geeky terms), and that why may help us find a solution to the problem.
[06:44] <orca_> ok yeah
[06:44] <cosmicrajiv> arraybolt3[m]: what is the ppa for that?
[06:44] <arraybolt3[m]> oerheks pasted it above, lemme find it...
[06:44] <arraybolt3[m]> https://launchpad.net/~mozillateam/+archive/ubuntu/ppa
[06:44] <arraybolt3[m]> cosmicrajiv: ^
[06:45] <cosmicrajiv> oh yeah..
[06:50] <Iwanche> Hello team,
[06:51] <Iwanche> Can someone help me with a sound problem with my notebook
[06:52] <Iwanche> Please, can someone add a kernel fix for ROG Zephyrus S17 GX701LWS_GX701LWS, Subsystem Id: 0x10431f01.
[06:52] <Iwanche> This is what a quirk should look like:
[06:52] <Iwanche> +SND_PCI_QUIRK(0x1043, 0x1f01, “ASUS GX701L”, ALC294_FIXUP_ASUS_SPK)
[06:52] <Iwanche> [pincfg]
[06:52] <Iwanche> 0x19 0x03A11050
[06:52] <Iwanche> 0x1a 0x03A11C30
[06:53] <ravage> !bug | Iwanche
[06:56] <Iwanche> !bug
[07:04] <Iwanche> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1987249
[07:05] <cosmicrajiv> arraybolt3[m]: installed the esr version of firefox from the ppa link you provided. it is definitely a little better than firefox snap.
[07:06] <arraybolt3[m]> cosmicrajiv: \o/
[07:06] <ravage> Iwanche, did you try to apply that patch? does it work?
[07:06] <cosmicrajiv> is it keep updated through "apt update" command?
[07:06] <ravage> if you have a .patch file for that please attach it. with the current bug report i would not even know which file that is
[07:07] <Iwanche> Unfortunately, I don't know how to do that, or rather I don't know how to compile the kernel.
[07:07] <arraybolt3[m]> cosmicrajiv: It should stay updated, yes. Unless the packages are designed poorly which I seriously doubt.
[07:07] <arraybolt3[m]> Iwanche: https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel
[07:08] <cosmicrajiv>  arraybolt3[m]: its developed by ubuntu community or mozilla?
[07:09] <arraybolt3[m]> cosmicrajiv: I believe it's developed by the community, or, that is, very high-ranking members of the community.
[07:09] <arraybolt3[m]> Those people should know what they're doing, since they also are Ubuntu developers and at least one of them is a Canonical employee.
[07:09] <arraybolt3[m]> (Er, multiple of them are Ubuntu developers and at least one is a Canonical employee.)
[07:10] <cosmicrajiv> arraybolt3[m: that's good. and i think i am using the esr version more than the snap for now.
[07:12] <arraybolt3[m]> I guess I should say "Multiple very high-ranking members and other trusted members of the community", since I see not *all* of them are Ubuntu developers... but a lot of them are, so yeah, if anyone knows what they're doing, it's them.
[07:13] <cosmicrajiv> yeah.
[07:14] <murmel> now we need the same with chromium :>
[07:14] <cosmicrajiv> arraybolt3[m}: by the way i think the snap version is really improved a lot in 22.04.1 compared to 22.04.
[07:14] <arraybolt3[m]> cosmicrajiv: Agreed.
[07:14] <cosmicrajiv> the speed is definitely improves a lot
[07:18] <cosmicrajiv> arraybolt3[m}; I saw a lot of criticism about how snap is taking up a lot more storage. but when compared to flatpaks i don' t  see any truth in those statements. Because when i compared both side by side they almost took similar storge, in fact snaps are taking less.
[07:19] <cosmicrajiv> but that's by observation, may be i am wrong in that.
[07:19] <cosmicrajiv> my*
[07:21] <murmel> cosmicrajiv: it does make sense that snaps take less space than flatpaks (as snaps are compressed, reason why they are slower than flats or debs)
[07:26] <cosmicrajiv> murmel: is it a good thing?
[07:28] <murmel> cosmicrajiv: I can't really say. on the one hand you use less space on disk, but on the other hand, you have more work for the cpu (as it decompresses the squashfs). as I don't use that much disk space anyway (or have enough) I don't care too much about disk space
[07:29] <cosmicrajiv>  murmel: so both snaps and flatpaks are good and bad on their own rights?
[07:31] <murmel> cosmicrajiv: I do think that containers are the future, but flat and snap are not it. it will still evolve. both have their caveats. but for now, I like flats more (as it's faster)
[07:31] <murmel> i don't want to talk about appimage :S that's another whole discussion
[07:31] <cosmicrajiv> murmel: agreed.
[07:45] <cosmicrajiv> i have an nvidia geforce  rtx 3050 and ubuntu has been using the proprietary drivers but i can't see the gui settings app for nvidia.
[07:45] <cosmicrajiv> this is the output of "nvidia-smi" https://paste.ubuntu.com/p/ZxZRVVDkFw/plain/
[07:47] <cosmicrajiv> by default the the gpu is set to "on-demand".
[07:48] <murmel> cosmicrajiv: make sure that nvidia-settings is installed
[07:48] <cosmicrajiv> ok
[07:53] <cosmicrajiv> murmel: why the intel mode is disabled? https://imgur.com/XrpxO32.png
[07:54] <murmel> cosmicrajiv: I never owned a nvidia gpu, but it almost sounds like that maybe the intel gpu is disabled in the bios/uefi
[07:54] <murmel> but that's only my guess
[07:54] <murmel> ahh, sorry I misunderstood that screenshot :/
[07:55] <murmel> cosmicrajiv: do you know if that works under windows for example?
[07:57] <cosmicrajiv> murmel: no idea. i didn't check while on windows.
[07:59] <murmel> cosmicrajiv: the problem with these dual gpu setups in laptops is, depending on how the screen is wired in, in some setups you can't turn off the dgpu or igpu. only in newer setups (which yours should be) it works where you can turn off both.
[07:59] <cosmicrajiv> muemel:  cosmicrajiv: I never owned a nvidia gpu......., then why it is working on on-demand mode.
[07:59] <murmel> I would definitely look in the uefi to see if there is some setting
[07:59] <orca_> i installed ubuntu on the extra drive. firefox starts now. it might have been because of mozillavpn repository idk
[07:59] <orca_> or ppa i mean
[08:00] <cosmicrajiv> ok i'll see it there.
[08:00] <murmel> cosmicrajiv: i assume that on-demand doesn't really turn off the gpu responsible for the screen. it just goes to low power
[08:01] <cosmicrajiv> murmel
[08:01] <cosmicrajiv> murmel: may be.
[08:04] <cosmicrajiv> murmel: this command does the trick sudo prime-select intel
[08:04] <murmel> oO wow. so in cli it works but not gui?
[08:04] <cosmicrajiv> yeah
[08:05] <murmel> why have a gui then xD
[08:05] <cosmicrajiv> there is an article in this topic on askubuntu sebsite.
[08:05] <cosmicrajiv> website*
[08:06] <cosmicrajiv> https://askubuntu.com/questions/1395034/nvidia-x-server-power-safe-mode-unavailable
[08:07] <murmel> eh okay. i guess good2know
[08:08] <Segaja> hi, we have random errors trying to install packages: W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/focal-security/InRelease  Temporary failure resolving 'security.ubuntu.com'    when i manually try to resolve this url from the same network i have a flapping behavior. sometimes it works and sometimes not. the network i'm doing this from is a k8s cluster in Frankfurt
[08:09] <murmel> Segaja: sounds like your network is flaky
[08:09] <murmel> does it help if you rewrite it to archive.ubuntu.com
[08:09] <Segaja> i have the same issue for archive.ubuntu.com
[08:09] <Segaja> since yesterday early morning alrady
[08:10] <murmel> Segaja: hm, my servers in nuremberg are fine
[08:10] <murmel> are you in control of the network?
[08:10] <Segaja> our servers in US are also fine. just in europe (Frankfurt alicloud) they are affected
[08:11] <Segaja> it is a managed k8s cluster from the cloud provider
[08:11] <murmel> Segaja: I would definitely talk to alicloud then
[08:13] <Segaja> wow. i can't even do an `apt update`:   Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::18). - connect (101: Network is unreachable) Cannot
[08:13] <Segaja> initiate the connection to archive.ubuntu.com:80 (2620:2d:4000:1::16). - connect (101: Network is unreachable)
[08:15] <Segaja> murmel: did ubuntu suddenly start to promote ipv6 which isn't working for us properly?
[08:15] <murmel> Segaja: did you try to reach the servers over ipv4?
[08:15] <murmel> no
[08:16] <ravage> there is nothing new or faulty on Ubuntu's side here. you just have to fix your network
[08:16] <Segaja> i didn't change the configuration and it worked before. but i will get in contact with alicloud now. maybe they did some change to prefer ipv6 now
[08:16] <Segaja> is there an easy way to force apt to use ipv4?
[08:17] <murmel> Segaja: https://zach-adams.com/2015/01/apt-get-cant-connect-to-security-ubuntu-fix/
[08:17] <murmel> maybe
[08:18] <murmel> but I would definitely talk to alicloud
[08:18] <ravage> even in 2015 disabling IPv6 instead of fixing it was a bad advice
[08:18] <Segaja> i'm on my way talking to alicloud, but i have to get my windows vm up first :D
[08:18] <murmel> sure, but at least he can get back up and running
[08:19] <murmel> and it's not disabling it
[08:19] <Segaja> ravage: i agree. but for now i want to get these jobs run once today before i try to fix ipv6
[08:19] <murmel> it prefers ipv4 over 6
[08:20] <Segaja> ok this gets creative. the container has no editor installed and apt cache is deleted... but anyway. thanks for all the help
[08:20] <murmel> eh makes sense to have no editor in a container :3
[08:21] <ravage> Segaja, there are ways to temp disable IPv6 like on https://itsfoss.com/disable-ipv6-ubuntu-linux/
[08:21] <ravage> just make sure to re-enable it when the problem is fixed or just reboot
[08:21] <murmel> ravage: he doesn't control the hosts
[08:22] <Segaja> well it is a pod for a cronjob so unless i do this in the dockerfile it will be reset in the next run
[08:22] <ravage> cloud life if fun right? :P
[08:22] <murmel> cloud is only fun if you control the servers also ;)
[08:23] <ravage> echo 'Acquire::ForceIPv4 "true";' | sudo tee /etc/apt/apt.conf.d/99force-ipv4
[08:23] <ravage> maybe that can be useful
[08:24] <murmel> at least it should be able to test it out in runtime
[08:24] <murmel> on*
[08:26] <Segaja> ravage: that helps
[08:26] <Segaja> just to be clear on more time: you guys don't know of any ipv6 related routing or DNS issues on ubuntu/canonical site?
[08:27] <murmel> Segaja: I prefer ipv6 over 4 and it runs fine
[08:27] <ravage> both works here. but i dont have global monitoring of the internet :)
[08:28] <murmel> can't we just move on to ipv6 already :(
[08:28] <ravage> did you try to reach anynthing else via v6?
[08:28] <ravage> something like google.com?
[08:29] <Segaja> google.com resolves as ipv4 when i do a normal curl call
[08:29] <ravage> that should not be the default
[08:29] <Segaja> also another server of us from NUE works but that is old infrastructure which has disabled ipv6 since ags
[08:29] <murmel> try this 2001:4860:4860::8888 (that's their dns)
[08:30] <ravage> maybe your provider's DNS is brown
[08:31] <ravage> but "Network is unreachabl" really sounds like a general network problem
[08:32] <Segaja> alicloud is now also looking into this. luckily this is only one service which runs on a plain ubuntu image and installs needed packages at runtime. most likely we will write a dockerfile for this to move the package installation from runtime to buildtime
[08:32] <murmel> sounds like the better move anyway :)
[08:35] <Segaja> agreed, but so far it wasn't a problem
[08:36] <Segaja> i guess i could sue the opportunity to also bump the ubuntu base image to the latest LTS
[08:37] <murmel> hm, you can. I am rather a fan of taking my time to roll out new LTS releases. as I want to test it more
[08:38] <Segaja> well i need to test the changes anyway, but since i only need locale, openssh-client and mysql-client it shouldn't that big a deal
[08:39] <murmel> oh, yeah. I guess that's a good start for a new LTS
[09:14] <Segaja> curios question: is it normal that the mirrors are accessed with http:// and not via TLS?
[09:36] <murmel> Segaja: yes, so you can cache them, and there is no real benefit for tls, other than "obscuring" which updates you pull + have way more load on the server as it needs to encrypt
[09:36] <murmel> Segaja: depending on your infra, it does make sense to cache in comparison to setting up a whole mirror
[09:38] <Segaja> got it
[09:40] <murmel> Segaja: but that's why it's important to install packages with apt, as apt verifies that there was no tampering. in comparison to downloading them over http and then apt (or even worse dpkg)
[09:41] <Segaja> sure
[10:03] <zetheroo> I'm seeing this in my syslog and wondering what can/should be done to resolve it:
[10:03] <zetheroo> snapd[1250]: storehelpers.go:722: cannot refresh: snap has no updates available: "bare", "bitwarden", "core", "core18", "core20", "core22", "gnome-3-28-1804", "gnome-3-34-1804", "gnome-3-38-2004", "gtk-common-themes", "gtk2-common-themes", "helm", "shutter", "snap-store", "snapd", "spotify", "telegram-desktop"
[10:04] <murmel> zetheroo: the way I read it, it just says no updates for your snap packages
[10:04] <zetheroo> I have tried removing/reinstalling snap-store, killing and refreshing snap-store
[10:05] <NFVblog> hi
[10:05] <zetheroo> murmel: ok, well I guess that's fine then.
[10:05] <murmel> hi NFVblog
[10:06] <zetheroo> murmel: do you know how I can see what version of a snap I have installed?
[10:06] <murmel> zetheroo: apt policy snapd
[10:06] <NFVblog> honestly it has been a while since I was thinking of writing to other ubuntu users, I was one of the few who listed the strengths and weaknesses that the distro had, doing a test via kvm instead of using the classic virtualbox that on the performance front does pretty crap
[10:07] <zetheroo> murmel: ok thanks. It seems things are pretty much up-to-date :)
[10:07] <murmel> do you mean that virtualbox performance is bad or kvm?
[10:08] <zetheroo> The "cannot refresh" part is what made me wonder.
[10:08] <murmel> zetheroo: I agree, but at the same time it _does_ say that there are no updates.
[10:09] <zetheroo> murmel: sure - however, if it "cannot refresh" then it would stand to reason that it cannot find any updates and therefore say that there are no available updates.
[10:09] <NFVblog> kvm is certainly the most optimized solution
[10:10] <murmel> zetheroo: well what does snap refresh say? ^^
[10:10] <murmel> NFVblog: definitely.
[10:11] <NFVblog> murver: certainly the fact that it can interact better with the hardware is certainly a benefit
[10:12] <murmel> hm, well oracle doesn't really develop virtualbox any further (they just adjust for newer kernels)
[10:15] <NFVblog> murmel: but they don't pass-through and the maximum of video memory they allow you to use is infinitely small
[10:16] <murmel> NFVblog: as I said, oracle doesn't care about virtualbox, that's why people have to move away. "but muh virtualbox is so easy to use"
[10:19] <NFVblog> murmel: The thing is, I've seen reviews of operating systems that talk about performance issues by blaming the os not the virtualization environment
[10:23] <Segaja> murmel and ravage: alicloud found a NS record cache with a "bad record". they cleared the cache and now it works again
[10:24] <NFVblog> The thing is, I've seen reviews of operating systems that talk about performance issues by blaming the os not the virtualization environment
[10:24] <ravage> great :)
[10:24] <NFVblog> my opinion on alternative packaging systems such as snap, flatpack and appimage actually find them a bit problematic, especially the first two, because sometimes graphic inconsistencies arise and also the fact that they create a lot of problems with fonts
[10:24] <NFVblog> 84.215.176.70] has quit [Ping timeout: 244 seconds]
[10:24] <NFVblog> 84.215.176.70] has quit [Ping timeout: 244 seconds]
[10:24] <NFVblog> 12:22 < Segaja> murmel and ravage84.215.176.70] has quit [Ping timeout: 244 seconds]
[10:26] <murmel> Segaja: great :)
[10:36] <ogra> zetheroo, "snap list" shows all versions of snaps instaled ... "snap info <snapname>" shows you available versions of a snap in other channels ...
[11:09] <Tiber> can someone help me coz my ubuntu Mate is not shutting down?
[11:10] <Tiber> goes Reached target Power-Off. and then i got stuck on that
[11:11] <oerheks> that can take 300 seconds.
[11:42] <Tiber>  i waited over 30min
[11:43] <oerheks> then just hold the powerbutton to hard shutdown.
[11:44] <oerheks> next boot you can read with journalctl -e  # what happened. or did not happen.
[11:46] <tarzeau> this? https://pbs.twimg.com/media/FPthCwFX0AMU8zQ.jpg
[11:51] <oerheks> tarzeau, i answered this a minute ago https://askubuntu.com/a/1424992/64683
[11:52] <oerheks> oops wrong channel
[11:53] <oerheks> tarzeau, yes funny, some connections need to drop, which do not happen.
[12:04] <webchat27> I have a question how do I move my usr directory to another partition is it possible
[12:05] <dobbicorp> webchat27: i belive you'll have to setup the mount upon booting
[12:05] <webchat27> How do I do that
[12:06] <webchat27> Can you by it me
[12:06] <webchat27> Guide
[12:06] <EriC^^> webchat27: can you paste the output of "ls -ld /usr" ?
[12:07] <webchat27> Ok
[12:09] <webchat27> drwxr-xr-x 14 root root 4096 Apr 21 03:57 /usr
[12:11] <webchat27> @EriC^^  drwxr-xr-x 14 root root 4096 Apr 21 03:57 /usr
[12:12] <EriC^^> webchat27: why do you want to create a /usr partition?
[12:12] <webchat27> It's full I can't install programs like gcc
[12:15] <webchat27> @EriC^^    It's full I can't install programs like gcc
[12:15] <EriC^^> webchat27: ok, so you need a live usb to do it, you want to copy the contents of /usr to the other partition, then add it to /etc/fstab and delete the contents of /usr in the root filesystem
[12:15] <EriC^^> webchat27: can you boot a live usb?
[12:16] <webchat27> This is a virtual machine
[12:16] <EriC^^> ok, load up an iso then?
[12:16] <webchat27> Virtualbox vm
[12:16] <EriC^^> hmm, why dont you just add disk space to the vm?
[12:16] <webchat27> Iso of Ubuntu
[12:17] <webchat27> I did but I doesn't recognise it I tried mount
[12:17] <webchat27> It to /usr and did wouldn't  work
[12:18] <EriC^^> webchat27: type 'sudo parted -ls | nc termbin.com 9999' paste the link it gives you here
[12:19] <webchat27> To a terminal
[12:19] <EriC^^> yes
[12:19] <webchat27> -bash: nc: command not found
[12:20] <webchat27> This Is wheat I get
[12:20] <webchat27> When I ran it
[12:21] <webchat27> What*
[12:22] <EriC^^> webchat27: ok, type "sudo parted -ls" and paste the output in any pastebin
[12:24] <webchat27> Model: ATA VBOX HARDDISK (scsi)
[12:24] <webchat27> Disk /dev/sda: 107GB
[12:24] <webchat27> Sector size (logical/physical): 512B/512B
[12:24] <webchat27> Partition Table: gpt
[12:24] <webchat27> Disk Flags:
[12:24] <webchat27> Number  Start   End     Size    File system  Name       Flags
[12:25] <EriC^^> webchat27: paste it in a pastebin suh as pastebin.com
[12:25] <EriC^^> *such
[12:28] <webchat27> Ok I pasted it now wget
[12:29] <webchat27> What
[12:29] <EriC^^> what's the link? :D
[12:29] <webchat27> https://pastebin.com/awVYzHMN
[12:30] <webchat27> Here you go
[12:31] <EriC^^> webchat27: ok, so what is /dev/sda4 ? is that the empty partition?
[12:31] <webchat27> Yes
[12:31] <webchat27> I 'M logged  in to my Ubuntu vm  via ssh
[12:32] <EriC^^> looks like you're using encryption for the main os?
[12:33] <webchat27> I did not use encryption
[12:38] <EriC^^> webchat27: what does 'sudo blkid /dev/sda3' give?
[12:41] <zetheroo> Any ideas as to what could be causing this?
[12:41] <zetheroo> gnome-shell[6973]: [7059:7064:0822/143300.326577:ERROR:ssl_client_socket_impl.cc(983)] handshake failed; returned -1, SSL error code 1, net_error -202
[12:42] <webchat27> https://pastebin.com/mSe9JqBX
[12:42] <BluesKaj> Hi all
[12:44] <webchat27> @EriC^^  https://pastebin.com/mSe9JqBX
[12:45] <webchat27> @EriC^^   here is the output
[12:45] <Tiberi> https://termbin.com/9p8r
[12:46] <Tiberi> this kind journalctl log i get when i stuck on shutting down
[12:46] <Tiberi> i'm new and noob with linux
[12:47] <EriC^^> webchat27: thanks
[12:47] <EriC^^> webchat27: ok, type sudo gdisk /dev/sda4
[12:47] <EriC^^> webchat27: sorry, sudo gdisk /dev/sda
[12:48] <jojo> hi, I need some help to customize keyboard on my new notebook Acer Nitro
[12:48] <jojo> keyboard has no Delete button
[12:49] <yin> have you tried shift+backspace?
[12:49] <jojo> yes, I did
[12:49] <jojo> Fn + backspace...
[12:49] <jojo> no one combination helped
[12:49] <jojo> *worked
[12:49] <webchat27> @EriC^^ now what
[12:50] <jojo> keyboard has a totally useless button on linux
[12:50] <webchat27> Should i post the output
[12:50] <EriC^^> no
[12:50] <EriC^^> press "t"
[12:50] <EriC^^> then "4" when it asks for the partition code type "8e00"
[12:51] <jojo> it's the button to show up the Acer panel
[12:51] <webchat27> Should I press enter after pressing t
[12:51] <EriC^^> yeah
[12:51] <webchat27> Then 4
[12:52] <webchat27> Should I press enter after pressing 4
[12:52] <jojo> I would like to map the vendor button as the Delete button, but it's not recognized with xev
[12:53] <EriC^^> webchat27: yes
[12:53] <webchat27> Ok
[12:53] <webchat27> Then what
[12:53] <EriC^^> as i said type "8e00"
[12:53] <ravage> (and enter)
[12:53] <EriC^^> :D
[12:54] <murmel> jojo by vendor key you mean Fn?
[12:54] <webchat27> Ok and then
[12:54] <EriC^^> webchat27: type "w" and write the table
[12:55] <webchat27> Should I reboot
[12:55] <EriC^^> yes
[12:55] <jojo> murmel no. vendor button it's another button placed on keypad. it's not Fn, nor Windows/Apple button.
[12:56] <murmel> jojo: sounds like it's implemented like th Fn key (which is firmware) so sounds like not really possible, but don't know too much about it
[12:56] <n0fun_> Does anyone know of a ppa for a ppa for python3.6-dev for 20.04 (Focal Fossa)?
[12:57]  * tarzeau is so glad, 22.04 meanwhile, and only python3.10
[12:58] <n0fun_> deadsnakes worked, but it doesn't seem to work anymore.
[12:58] <jojo> sudo showkey -k --> keycode 425 release
[12:58] <murmel> n0fun_: I am not sure, but wouldn't it make sense to use something like mamba
[12:58] <murmel> not sure about -dev
[13:00] <n0fun_> That doesn't help with -dev.
[13:00] <webchat27> I can't boot
[13:00] <n0fun_> I don't know why this particular project needs python-dev though. I guess I have to do some digging why it's needed.
[13:00] <murmel> n0fun_: I guess set up a 18.04?
[13:00] <EriC^^> webchat27: what's happening exactly?
[13:01] <webchat27> Timeout waiting for device
[13:02] <EriC^^> webchat27: do you have an ubuntu iso you can load to troubleshoot?
[13:02] <jojo> hi, I need some help to customize keyboard on my new notebook. keyboard has no Delete button. none of these button combination works: shift/Fn/ctrl/alt + backspace
[13:02] <webchat27> I have a snapshot I can restore to
[13:03] <gordonjcp> afternoon
[13:03] <gordonjcp> anyone having problems with Firefox not starting on Ubuntu 22.04 recently?
[13:04] <EriC^^> webchat27: ok restore the snapshot
[13:05] <webchat27> Now what
[13:05] <webchat27> Can i try symlinks
[13:05] <EriC^^> webchat27: same drill, type "sudo gdisk -l /dev/sda" paste the output in a pastebin
[13:05] <n0fun_> murmel: That could work. There would be a lot of replcation in the build chain of the project though. And it somehow feels weird to use an older os for something that worked just fine a month ago.
[13:06] <webchat27> It's the same
[13:07] <zetheroo> The Ubuntu Server 22.04 installer doesn't like my static network IP-Subnet combination :/
[13:07] <EriC^^> webchat27: ok, type 'sudo gdisk /dev/sda'
[13:07] <zetheroo> Subnet: 255.255.254.0/23  Address: 192.168.81.115
[13:08] <ravage> 255.255.254.0/23 makes no sense at all
[13:08] <zetheroo> the installer says that the IP is not contained the subnet
[13:08] <EriC^^> webchat27: actually, type "sudo cgdisk /dev/sda" go down to the empty partition and press on 'type' change it it "8e00" then write the new table
[13:08] <EriC^^> dont restart, type "sudo gdisk -l /dev/sda" and paste the link to confirm
[13:08] <ravage> zetheroo, your netmask is 255.255.254.0 without the /23
[13:09] <EriC^^> *paste the contents
[13:09] <ravage> zetheroo, use "ipcalc 192.168.81.115/23" . it is a really helpful tool
[13:10] <zetheroo> ravage: that's what I thought too, but the installer demands that the subnet be ended with /xx
[13:10] <zetheroo> "should be in the CIDR form (xx.xx.xx.xx/yy)"
[13:11] <zetheroo> which is why I am lost as to what this should be now
[13:11] <ravage> i think the server installer asks for your network. that would be 192.168.80.0/23
[13:11] <murmel> n0fun_: what do you mean by last month it did work. 3.6 was never in focal/jammy
[13:12] <zetheroo> ravage: https://ibb.co/yR0FxG6
[13:12] <n0fun_> It worked with fkulls deadsnakes, not with the ubuntu universe.
[13:13] <ravage> zetheroo, yes subnet is technically correct here. but the older debian installer wanted the netmask. did you try 192.168.80.0/23 ?
[13:14] <webchat27> It's saying display is to small
[13:14] <webchat27> Too
[13:14] <zetheroo> ravege: 192.168.80.0/23 worked! Thanks.
[13:15] <murmel> n0fun_: do I understand correctly that you try to figure out why a third party software doesn't work?
[13:15] <webchat27> EriC^^ it says display is too small
[13:17] <EriC^^> webchat27: ok, use 'sudo gdisk /dev/sda'
[13:18] <EriC^^> press 'p' get the number of the empty partition, then press 't' to change the type of it
[13:19] <webchat27> Ok
[13:20] <webchat27> Now what
[13:21] <webchat27> @EriC^^  now what
[13:21] <EriC^^> did you change the type to 8e00?
[13:22] <webchat27> It says value out of range
[13:22] <webchat27> After I typed t
[13:23] <webchat27> I typed 8e00
[13:23] <EriC^^> you have to put the partition number... are you not reading what it's asking?
[13:23] <webchat27> I did not see it
[13:24] <webchat27> I did it it say Changed type of partition to 'Linux filesystem'
[13:25] <webchat27> Now what
[13:26] <webchat27> @EriC^^  now what
[13:26] <EriC^^> it should say linux_lvm
[13:27] <EriC^^> so you have to repeat that step, follow this guide to extend your lvm, i have to go sorry, goodluck! https://oracle-base.com/articles/vm/virtualbox-extend-disk-and-file-system or someone here might help as well
[13:27] <webchat27> Should I  repeat it
[13:27] <EriC^^> yes
[13:29] <webchat27> Can i try symlinking the usr directory
[13:30] <webchat27> To another drive
[13:31] <webchat27> Is there anyone who can help me
[13:32] <osse> I'm trying to install extundelete while running from a USB, but the package can't be found. How can I install it? Lots of other packages are available
[13:35] <osse> Ah, figured it out. Had to add the universe repo
[13:38] <webchat27> I need help
[13:39] <webchat27> I want to move my /usr to a different partition
[13:40] <murmel> webchat27: so where are you stuck in the guide
[13:40] <webchat27> I don't know
[13:41] <murmel> webchat27: when you can't really follow guides, what do you expect from us?
[13:41] <webchat27> I just did ctrl  c and exited
[13:41] <webchat27> Sorry
[13:41] <webchat27> Is it possible to symlinks the usr directory
[13:42] <webchat27> I tried mounting a disk to /usr I didn't work
[13:43] <murmel> webchat27: what was the error?
[13:43] <webchat27> I didn't boot
[13:43] <webchat27> I tried mounting a disk to x/usr  directory
[13:44] <murmel> and what is x/usr?
[13:44] <webchat27> I tried symlinking the usr  directory it did not work and I am stuck now
[13:45] <murmel> yes, just follow the guide which EriC^^ gave you the link to
[13:45] <murmel> and if you are stuck, we are helping, but only if you try the guide
[13:45] <webchat27> Can be be tried on a real machine
[13:46] <webchat27> I don't understand the guide
[13:47] <ravage> webchat27, maybe just install a new VM with more space and copy your data over?
[13:47] <webchat27> Okv
[13:47] <webchat27> Should I also copy my usr  directory
[13:48] <webchat27> Is that what you can do on a real machine as well
[13:48] <ravage> i meant like install a new Ubuntu on a new VM and configure it
[13:48] <aaaaal> is grub-install and update-grub how you usually recover boot
[13:48] <murmel> webchat27: yes
[13:48] <webchat27> Can i use bind mount
[13:49] <ravage> bind mount also works on a VM yes
[13:49] <murmel> yes you can, but if i understand your issue, the disk is still full
[13:49] <webchat27> And on a real machine
[13:49] <webchat27> I have another partition
[13:50] <webchat27> That I can use
[13:50] <ravage> then mount it somewhere. copy/rsync the data over. modify /etc/fstab to mount /usr and reboot
[13:50] <webchat27> But I don't know how to use bind mounts
[13:50] <ravage> no need for any bind mounts then. just a regular mount
[13:51] <ravage> aaaaal, than can be part of the process for sure. what is your actual question?
[13:52] <webchat27> What should I write in the /etc/fstab
[13:52] <ravage> webchat27, https://help.ubuntu.com/community/Fstab
[13:53] <aaaaal> ravage: i have a kvm/qemu vm with busted boot -- grub loads but shows "grub2 \n grub legacy" instead of ubuntu \n advanced etc, i did -install and update without errors in chroot, now idk
[13:54] <aaaaal> grub.cfg seems ok
[13:54] <murmel> aaaaal: did you regenereate the config?
[13:54] <murmel> mh
[13:54] <aaaaal> update-grub? yes
[13:55] <yin>  /j digitalocean
[13:56] <webchat27> Hey I lost connection I was the guy who asked it he question on how to move my /usr  directory to a new partition
[13:58] <WeeBey> is it normal to have the /etc/fstab show the swap line have the same uuid as the one for / ?
[13:59] <webchat27> I copied the /usr  directory using sudo cp  -Rvp  /usr  to /mnt/sda4/usr
[14:00] <WeeBey> wait nevermind.. I was just looking at the last two characters of the UUID
[14:00] <ravage> webchat27, ls -al /mnt/sda4/usr
[14:01] <webchat27> Should I type that comand into a terminal right
[14:01] <ravage> yes. and pastebin the output
[14:01] <WeeBey> I am trying to trouble shoot this VM which is breaking more and more. It takes a long time to boot. It hangs at "A start job is running for /dev/disk/by-uuid/... (32s / 1m30)
[14:01] <WeeBey> Any hints as to what that may be?
[14:02] <aaaaal> is UUID always the same
[14:02] <WeeBey> good question.  I think it changed from one to another. let me restart and see aaaaal
[14:02] <murmel> aaaaal: no
[14:02] <murmel> i mean it's unique ;)
[14:03] <WeeBey> oh that wasn't for me? someone also messing with UUIDs :-)
[14:04] <webchat27> Here is the output
[14:04] <webchat27> https://pastebin.com/3b4iwVQL
[14:04] <ravage> WeeBey, if you think its the swap partition that generates the error comment it out. your system will happily boot without swap
[14:04] <ravage> webchat27, blkid /dev/sda4
[14:05] <ravage> webchat27, is that partition ext4?
[14:05] <webchat27> Yes
[14:05] <ravage> ok send the output of the blkid command
[14:06] <webchat27> That is the empty partition I want to move the usr  directory to I copied the files over
[14:06] <ravage> yes i understood that
[14:07] <webchat27> https://pastebin.com/Zv2DYJiN
[14:08] <webchat27> Blkid  output
[14:08] <ravage> echo "b3c7cf4d-d573-406b-8fde-62cecc46a4b3 /usr               ext4    errors=remount-ro 0       1" >> /etc/fstab
[14:08] <ravage> oh wait
[14:08] <ravage> echo "UUID=b3c7cf4d-d573-406b-8fde-62cecc46a4b3 /usr               ext4    errors=remount-ro 0       1" >> /etc/fstab
[14:08] <ravage> this
[14:08] <webchat27> Should I use sudo
[14:09] <jsmooth> I have installed latest Ubuntu, but upon boot I only get GRUB shell
[14:09] <ravage> do "sudo bash" first
[14:09] <aiena> I am using a canon printer. It works but the ccpd daemon does not start on boot.
[14:09] <ravage> then the echo command
[14:09] <aiena> I tried the command 'update-rc.d ccpd defaults'
[14:10] <aiena> It seems to do something no output but rebooting the process is still dead.
[14:10] <webchat27> But the sda4  is mounted to /mnt/sda4
[14:10] <ravage> you can unmount it first. but that will be done on reboot anyway
[14:10] <aiena> How doI make it start on boot? There is an /etfc/init.d/ccpd file.
[14:11] <webchat27> Ok
[14:11] <aiena> why is 'update-rc.d ccpd defaults' not working.
[14:11] <ravage> webchat27, when you are done pastebin the output of "cat /etc/fstab" again
[14:12] <ravage> aiena, which version of Ubuntu is this?
[14:12] <webchat27> You said to sudo bash then echo right
[14:12] <ravage> yes
[14:13] <webchat27> What should I run after sudo bash echo
[14:13] <aiena> ravage it is ubuntu 18.04
[14:14] <webchat27> 22.04 lts
[14:14] <ravage> aiena, even that should manage startups via systemd not init
[14:14] <aiena> if I do systemctl enable ccpd  I get an error 'update-rc.d: error: ccpd Default-Start contains no runlevels, aborting.'
[14:14] <ravage> webchat27, the commands to run were "sudo bash" and then echo "UUID=b3c7cf4d-d573-406b-8fde-62cecc46a4b3 /usr               ext4    errors=remount-ro 0       1" >> /etc/fsta
[14:14] <ravage> aiena, i never heard of ccpd to be honest
[14:15] <aiena> ravage I tried enabling via systemd
[14:15] <aiena> ravage yup its a proprietary canon thing. Cups talks to ccpd which toalsk to the printer
[14:15] <aiena> talks
[14:16] <aiena> new drivers use UFR II
[14:16] <ravage> aiena, and are you sure your printer still need that in 2022?
[14:17] <murmel> especially canon normally has quite okay drivers for linux, but I guess depends on the model/make year
[14:17] <aiena> yup its an ancient printer everything works fine just can't start the daemon on boot
[14:17] <aiena> ancient and excellent printer
[14:17] <ravage> aiena, https://gist.github.com/akikoskinen/98b18251ca05b152d2df3548d057ef49
[14:18] <ravage> maybe you can use that as a base for a systemd service?
[14:18] <murmel> aiena: which printer do you have?
[14:18] <webchat27> It says permission denied
[14:18] <aiena> murmel LBP2900
[14:18] <ravage> webchat27, at what command?
[14:18] <aiena> https://help.ubuntu.com/community/CanonCaptDrv190
[14:18] <webchat27> Echo
[14:19] <aiena> but that docu is a bit dated
[14:19] <ravage> webchat27, then you are not root. did you enter "sudo bash" first?
[14:19] <webchat27> Yes
[14:19] <webchat27> Can i edit the file manually with echo
[14:19] <ravage> i have no idea what that means
[14:19] <aiena> ravage how do i create systemd unit files
[14:20] <ravage> aiena, it is in the README on that link :)
[14:20] <aiena> makybe I can call /et/init.d/ccpd start from there
[14:20] <ravage> aiena, Put the ccpd2.service file into `/etc/systemd/system` and run `systemctl daemon-reload && systemctl enable ccpd2` as root
[14:20] <webchat27> As in sudo nano /etc/fstab
[14:20] <ravage> webchat27, ok then do that and add the line
[14:21] <ravage> UUID=b3c7cf4d-d573-406b-8fde-62cecc46a4b3 /usr               ext4    errors=remount-ro 0       1
[14:21] <aiena> ravage in that init file there is nothing about start stop etc.
[14:21] <ravage> aiena, there i no init file at that link
[14:21] <ravage> *is
[14:21] <ravage> it is a systemd service file
[14:21] <aiena> i mean the ccpd3.service
[14:21] <ravage> that is totally fine
[14:21] <aiena> ccpd2.service
[14:23] <aiena> ravage ok so enable start stop etc will work fine
[14:23] <ravage> aiena, i hope so yes. just try it :)
[14:23] <webchat27> https://pastebin.com/73Qag5EX
[14:23] <aiena> will do
[14:23] <aiena> tomorrow
[14:23] <aiena> thanks
[14:23] <aiena> mailed your gist to me for backreference
[14:23] <aiena> your/authors
[14:23] <ravage> good luck :)
[14:24] <webchat27> Here is the output from cat /etc/fstab
[14:24] <ravage> webchat27, remove the second last line
[14:24] <ravage> webchat27, UUID=b3c7cf4d-d573-406b-8fde-62cecc46a4b3  /mnt/sda4/       ext4    defaults        0  0
[14:24] <ravage> remove that one
[14:25] <ravage> webchat27, also your comment out the line with the swapfile
[14:25] <ravage> from /mnt/sda4/etc/swapfile  none    swap    sw 00
[14:25] <ravage> to #/mnt/sda4/etc/swapfile  none    swap    sw 00
[14:25] <ravage> then paste the file agaon
[14:25] <ravage> *again
[14:27] <webchat27> I need the swap file
[14:27] <ravage> you can create/use it after a succcessful boot
[14:27] <webchat27> So don't delete it
[14:28] <webchat27> Only uncomment it
[14:28] <ravage> that is what i wrote yes
[14:28] <webchat27> Only comment it #
[14:30] <webchat27> Here you go
[14:30] <webchat27> https://pastebin.com/V4jNGHNv
[14:30] <webchat27> Now what
[14:31] <ravage> sudo mv /usr /usr_old
[14:31] <ravage> sudo mkdir /usr
[14:31] <ravage> sudo sync
[14:31] <ravage> then reboot your VM
[14:32] <ravage> if it throws any errors you can just hard reset it
[14:32] <webchat27> What's usr old
[14:32] <ravage> or lets try it a little more soft
[14:32] <ravage> did you already type anything?
[14:32] <webchat27> After the cat /etc/fstab nothing
[14:33] <ravage> ok
[14:33] <ravage> 1 sec
[14:34] <webchat27> My usr the one I copied to is in /mnt/sda4/usr  that's where I copied my usr directory to
[14:34] <ravage> yes
[14:35] <ravage> the problem is that we should remove the old usr files our of the way before the reboot
[14:35] <webchat27> What should I do next
[14:35] <ravage> but a lot of your system files are in there. so you may not ne able to execute anything after that :)
[14:35] <webchat27> I know
[14:36] <webchat27> What can we do about that
[14:36] <ravage> doing this from a live ubuntu ISO would be much easier
[14:36] <webchat27> How to hi do that
[14:36] <ravage> yoyu boot https://releases.ubuntu.com/22.04/ubuntu-22.04.1-desktop-amd64.iso in your VM
[14:36] <webchat27> How do I do that
[14:37] <ravage> you
[14:37] <webchat27> You what
[14:37] <ravage> and click "try Ubuntu" instead of install when it starts up
[14:38] <webchat27> I have ubuntu sever minimal
[14:38] <ravage> that does not matter. we only need the live system to mount your actual server system
[14:39] <ravage> and you have a GUI in virtualbox i guess
[14:39] <ravage> so you can use a mouse and keyboard on the VM
[14:39] <webchat27> Yes I can use rdp
[14:40] <webchat27> Should I unmount the disk
[14:40] <ravage> ok. then boot up that ISO and report back when you are at the Ubuntu desktop
[14:40] <ravage> you can
[14:40] <ravage> but it will do that on reboot
[14:40] <webchat27> Okb
[14:41] <webchat27> Do you have an email
[14:42] <ravage> why would you need my email?
[14:42] <enigma9o7[m]> Who doesn't have an email?
[14:42] <webchat27> We can keep in touch with cause I don't have physical access to the vm
[14:42] <ravage> this is not my actual job. im here when my paid job allows it
[14:43] <ravage> but you can get back here and ask whoever is available to help at that time
[14:43] <enigma9o7[m]> That's nice of them.
[14:43] <webchat27> What should I tell then
[14:44] <ravage> what you already did and what you stil want to do
[14:44] <webchat27> Ok
[14:44] <ravage> delete the old /usr files from the system and then mount the sda4 partition to /usr
[14:45] <ravage> fstab already fixed
[14:45] <webchat27> That's all I have to do when I boot into a live iso
[14:45] <mtlife> Hi, i'm on ubuntu 22.04 and trying the new rdp support in gnome via wayland. I can connect, but I see a black screen. Via Android client and remmina both give a black screen. Is there something I need to configure via pipewire to allow rdp to capture the screen, or am I completely off track?
[14:46] <ravage> webchat27, basically yes. you could reboot now and check if it boots. but you still wont have any free space because the old files in /usr are still there
[14:47] <ioria> mtlife, have you tried the Xorg session ?
[14:47] <ravage> mtlife, as far as i know pipewire only handles audio. so that would be a strange bug to produce a black screen. Xorg session would be a good check yes
[14:47] <webchat27> But won't I  not be able to boot case I won't get the type any commands
[14:48] <mtlife> Let me check xorg then. Brb
[14:48] <webchat27> Can it try symlinks
[14:49] <ravage> webchat27, you can try whatever you like of course
[14:49] <webchat27> Will it work
[14:49] <ravage> i dont know. that depends on what exactly you will do
[14:50] <webchat27> Okv
[14:50] <webchat27> Ok
[14:51] <webchat27> So after I boot into a live iso I should click on try Ubuntu and then
[14:51] <ravage> open a console. mount your / partiton somewhere and rename /usr to something like /usr_old. then create /usr again
[14:51] <mtlife> Back, now on xorg. Still a black screen with rdp
[14:52] <ravage> unmount your / and reboot
[14:52] <ravage> mtlife, ok. i have no experience with that new RDP really. maybe someone else can help
[14:53] <webchat27> Is there a guide  or an article I can follow in case I forget what to do
[14:53] <mtlife> ravage: thanks, internet seems also quite empty still on the topic
[14:55] <ogra> mtlife, ravage, does this help ? https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1977663
[14:55] <ravage> webchat27, this are really basic linux commands. maybe seek help from a professional or try it here again. there are general guides how to manage partition and do basic linux stuff of course
[14:57] <webchat27> So after I boot into the live iso what should I do
[14:57] <ravage> ogra, maybe. but a black screen means that the service itself should run right?
[14:57] <ogra> no idea
[14:57] <ravage> same :D
[14:57] <ogra> i see the workaround is missing in the bug though
[14:57] <ogra> "gsettings set org.gnome.desktop.remote-desktop.rdp view-only false"
[14:58] <ogra> mtlife, ^^^  try running that command and see if it starts working then
[14:58] <mtlife> Let me try
[14:59] <mtlife> now I get "admin might have ended your session" when trying to conect
[14:59] <webchat27> Ok thanks
[14:59] <ravage> bad admin
[15:00] <ogra> mtlife, hire a new admin ... that one is bad (like ravage said) ...
[15:00] <mtlife> ;)
[15:00] <webchat27> @/rem
[15:00] <ogra> mtlife, might need some kind of restart/rebott/whatever ...
[15:00] <ogra> *reboot
[15:01] <mtlife> I'm trying some of the grdctl commands
[15:01] <ravage> but are you back on wayland?
[15:02] <ravage> it may acually need wayland to work. but im really just guessing here
[15:02] <ogra> it might, yeah
[15:02] <webchat27> ravage so this is what I should do after I boot from an iso click on try Ubuntu and then   open a console. mount your / partiton somewhere and rename /usr to something like /usr_old. then create /usr again
[15:02] <ogra> your admin should know 😄
[15:03] <mtlife> I'm still trying xorg, see if I can get that to work. But this is a 18.10 -> 19.04 -> 19.10 -> 20.04 -> 22.04 system upgrade, so might also have some leftover configs that it doesn't like.
[15:03] <webchat27> Is that correct ravage
[15:05] <ravage> webchat27, that is what i wrote. so i think that is correct of course. i also continued to suggest with / and then reboot your system
[15:05] <mtlife> ok, got it working in xorg via restart of the service. Let me try wayland now.
[15:06] <ravage> webchat27, in that case / ist the root filesystem of your server system mounted somewhere else at that point
[15:06] <webchat27> What
[15:07] <ravage> webchat27, this is really not going to work without the actual system in front of you and full access. please come back when you have that and someone may be able to assist you further then
[15:08] <webchat27> Ok thanks
[15:10] <mtlife> Ok for those interested, wayland rdp does not work with my setup (nvidia-515 drivers), xorg works via manual restart of rdp (possibly also just use the button in the settings). Might even be wayland related as in, after the restart it properly uses x11.
[15:11] <ravage> does the Xorg only limitation still applies for 22.04.1?
[15:11] <ravage> i have not even tried wayland yet after my initial installation of 22.04
[15:12] <ravage> limitation for nvidia devices i mean
[15:13] <enigma9o7[m]> What limitation are you referring to?  That those with nvidia don't start wayland by default?
[15:13] <ravage> wayland was not even available because of a driver problem
[15:14] <ravage> the installer disabled when it detected an nvidia card
[15:14] <ravage> *it
[15:14] <mtlife> ravage: afaik I can run wayland fine on 22.04.1
[15:14] <enigma9o7[m]> My understanding was they disabled it for nvidia by default because there were issues with suspend on some gpus.
[15:14] <enigma9o7[m]> It was still available from the login manager tho.
[15:15] <mtlife> Yes, i've had that issue. My laptop wouldn't suspend, sometimes it still doesn't, but wayland works fine. Get home and laptop is blazing in the bag.
[15:15] <enigma9o7[m]> If you want to see how well it works for you.
[15:15] <ravage> there was a udev rule that removed wayland on the login screen via gdm.conf
[15:15] <ravage> if it is shown now that has been fixed
[15:15] <mtlife> Just a double check if it really suspended before bagging it
[15:16] <ravage> let me logout and see what i get :)
[15:16] <enigma9o7[m]> Oh yeah you're right forgot about that ravage, it wasn't always in the login manager, yer totally right, im wrong.
[15:16] <enigma9o7[m]> forgot about having to restore that
[15:18] <ravage> back on wayland
[15:19] <ravage> i could actually test that RDP thing now
[15:20] <mtlife> FYI: if you enable remote control of the screen I get a cursor that I can move, and my actual mouse moves as well
[15:20] <mtlife> So, rdp works, just not the screen capture
[15:23] <ravage> heh
[15:23] <ravage> i can see my screen but view only
[15:24] <ravage> let me try that command
[15:25] <ravage> that fixed it
[15:36] <ravage> multi monitor support may not be a thing yet
[15:40] <jhutchins> ravage: So are you using wayland in order to test it and find problems to report to the wayland team, or are you under the illusion that it's ready for production?
[16:11] <Tiberi> can anyone help me with that problem on shutting down stucking
[16:11] <Tiberi> https://termbin.com/9p8r
[16:12] <ioria> Tiberi, ata1: hard resetting link   not agood sign
[16:13] <Tiberi> anything that i can do with that?
[16:13] <ioria> Tiberi, check the disk
[16:14] <ioria> Tiberi, might be hw not sf
[16:14] <Tiberi> i have done that with another pc and firmware is up to date
[16:14] <Tiberi> it can be
[16:14] <ioria> firmware ?
[16:14] <Tiberi> sdd's firmware
[16:14] <ioria> your disk is probably done
[16:15] <Tiberi> it dosen't boot on usb either
[16:16] <ioria> Tiberi, before replace it, you can try change the port or the cable
[16:16] <Tiberi> sdd should be good
[16:16] <Tiberi> laptop so i have only 1 port
[16:16] <Tiberi> if i don't link it on cd driver port
[16:17] <ioria>  ata1.00: irq_stat 0x08000000, interface fatal error
[16:17] <Tiberi> anyway to ingnore error and force to shut down?
[16:18] <Tiberi> everything works fine but dosen't just shut down
[16:43] <yin> i can't resolve hostnames after upgrading to 22.04
[16:44] <yin> systemd-resolve --status | grep Current gives me Current Scopes: None
[16:44] <yin> i'm not sure what to do
[16:49] <ravage> yin, Ubuntu Desktop or server?
[16:57] <yin> server
[16:57] <yin> it's a digitalocean vps
[16:57] <ravage> uh. they always have some strange custom images
[16:57] <n0fun_> murmel: I am just trying to make it work somehow. I downgraded to 18.04. Then I get "SyntaxError: future feature annotations is not defined", which seems reasonable considering this is python 3.6. The stacktrace reveals it's /usr/lib/python3/dist-packages/setuptools/dist.py causing that. I have no idea why this doesn't work.
[16:57] <ravage> first place to look would be the netplan config
[16:57] <ravage> does that look like it is being used?
[16:58] <yin> ravage: /etc/netplan/ is empty
[16:58] <ravage> not a real server install then
[16:58] <yin> i tried creating a 01-netcfg.yaml file
[16:59] <yin> with renderer: NetworkManager
[16:59] <ravage> i will probably not even use netplan then
[16:59] <ravage> does /run/resolvconf/resolv.conf exist?
[16:59] <yin> yes
[17:00] <ravage> where does "ls -al /etc/resolv.con " point to?
[17:00] <ravage> +f
[17:00] <murmel> n0fun_: you downgraded the whole OS?
[17:00] <ravage> or is it a regular file?
[17:01] <yin> ravage: -> /run/systemd/resolve/resolv.conf
[17:01] <ravage> and what is in there?
[17:01] <ravage> with cat?
[17:01] <yin> search DOMAINS6
[17:01] <yin> and that's that
[17:03] <ravage> yin, is your network interface eth0?
[17:03] <yin> yes
[17:03] <ravage> try
[17:03] <ravage> systemd-resolve --set-dns=8.8.8.8 --interface=eth0
[17:04] <yin> that did it!
[17:05] <ravage> check if that is reboot safe
[17:05] <ravage> im not sure :)
[17:05] <yin> chacking
[17:05] <yin> +checking
[17:07] <yin> it's not
[17:07] <ravage> ok
[17:07] <ravage> try to create /etc/systemd/resolved.conf.d/dns_servers.conf
[17:07] <ravage> or maybe there are already other files
[17:07] <ravage> [Resolve]
[17:07] <ravage> DNS=8.8.8.8
[17:07] <ravage> should be enough
[17:09] <ravage> you can add FallbackDNS= if you want more than one
[17:10] <mtlife> ravage: with rdp you could see your screen?
[17:10] <ravage> mtlife, yep. all working fine. only one monitor though
[17:10] <mtlife> Let me try disconnect my monitor
[17:12] <yin> thanks ravage
[17:12] <yin> it seems to do the trick for now
[17:12] <mtlife> Nah, doesn't work for me. If wayland works for you, may I ask what gpu you have? Is it a laptop with Intel/Nvidia combi like this one?
[17:12] <ravage> great :)
[17:12] <yin> i'll try to understand what happened
[17:13] <ravage> my guess is that the upgrader did not feel great about that custom DO image
[17:14] <ravage> mtlife: desktop system with Intel onboard and Nvidia external CPU
[17:15] <ravage> but nothing connected to the intel
[17:15] <ravage> GPU
[17:16] <mtlife> Yeah, could mean if I disable intel it will also work for me. I'll try that later. Not really an option since it is a laptop, but worth a try nonetheless
[17:52] <mtlife> ravage: nah doesn't work. I'm giving up for a bit, maybe google later specific nvidia/intel combi
[18:06] <jhutchins> I thought we had hybrid video solved, at least as far as locking it down to the Intel hardware.
[18:07] <jhutchins> !bumblebee
[18:11] <lotuspsychje> nvidia prime is the way to go these days jhutchins
[18:34] <webchat14> How do I move my usr  directory to another partition Here Is what I have done I copied. Usr directory to /mnt/sda4/usr  I edited the fstab I have the rescue disk ready after clicking on try Ubuntu what should I do
[18:45] <webchat14> Is anyone there
[18:45] <codez> yawp
[18:47] <arraybolt3> webchat14: Anything we can help you with?
[18:47] <oerheks> How did you copy the contents of /usr ?
[18:47] <arraybolt3> (Oh, I see the question now.)
[18:48] <arraybolt3> I think all you need now it a bind mount in fstab.
[18:48] <webchat14> I 'M at the part where I have the rescue disk ready what should I do after I click on try Ubuntu
[18:49] <arraybolt3> webchat14: https://serverfault.com/questions/613179/how-do-i-do-mount-bind-in-etc-fstab Bind mount /mnt/sda4/usr to /usr.
[18:49] <oerheks>  cp -a preserves all attributes, better is rsync -avz
[18:53] <webchat14> Will it add more storage to /usr if I use bind mounts
[18:54] <jhutchins> You don't need to bind mount /usr unless you're doing a live chroot.  If you're just setting up a system you just mount it to /usr and put it in fstab.
[18:55] <jhutchins> Bind mount is for active systems like dev and sys.
[18:55] <FeralTerminator> Good Afternoon :)
[18:55] <jhutchins> webchat14: Did you partition your drive and end up with free space in the wront place?
[18:56] <ravage> arraybolt3, he already has the usr dir copied do a new partition with ext4 and the UUID is already in the fstab. all he has do to is mount his / from the live ISO and rename /usr to /usr.bak and reboot really
[18:56] <ravage> if it works then he can delee /usr.old
[18:57] <arraybolt3> ravage: I thought he had /mnt/sda4/usr and needed that to go to /usr. I'm guessing he meant /dev/sda4 and just needed that mounted to /usr?
[18:57] <arraybolt3> In which case, yeah, you're right.
[18:58] <ravage> well at least he showed me the mount point of /dev/sda4 and that looked like he copied /usr over
[18:58] <ravage> wee could check that drom the live iso
[18:58] <ravage> *we
[18:59] <webchat14> What should I do after I click on try Ubuntu
[18:59] <ravage> open a terminal
[18:59] <webchat14> ravage
[19:00] <webchat14> Ok
[19:00] <webchat14> And then
[19:00] <ravage> sudo -i
[19:00] <webchat14> sudo -i
[19:01] <ravage> lsblk | nc termbin.com 9999
[19:02] <_apex_> .
[19:02] <webchat14> Is that even a comand
[19:02] <ravage> it is a command yes
[19:02] <loganrun> anybody know where i can find a shell command called showkey
[19:02] <webchat14> And what should the output be
[19:02] <loganrun> I have been search for a source file, but can't find one
[19:03] <ravage> webchat14, a URL
[19:03] <sarnold> kbd: /usr/bin/showkey
[19:03] <webchat14> And what should I do with it
[19:03] <loganrun> sarnold, thanks,
[19:04] <ravage> webchat14, send the URL
[19:05] <webchat14> Should I paste it here
[19:05] <ravage> if you want help that would be a good idea yes
[19:07] <webchat14> I thought you told me to mount the drive anywhere in the filesystem rename the old one and the reboot
[19:08] <ravage> i told you to paste the URL
[19:08] <webchat14> Well there doesn't seem to be a url
[19:08] <oerheks> to check the partitions , lsblk | nc termbin.com 9999 # is a command that paste those so we can read
[19:08] <oerheks> it appears as a number
[19:09] <webchat14> Ok
[19:10] <webchat14> Wait can I connect to system using ssh or do I have to do it by hand
[19:10] <oerheks> no, you are in live mode, you just need networking
[19:11] <ravage> and possibly start the ssh service
[19:11] <webchat14> Like ether net or Wi-Fi
[19:11] <ravage> it is a VM. so ethernet
[19:11] <webchat14> Okv
[19:11] <oerheks> is it a VM ?
[19:12] <arraybolt3[m]> webchat14: Click "Try Ubuntu". Then open a terminal by pressing Ctrl+Alt+T. Then run "lsblk | nc termbin.com 9999" in the terminal. That will spit out a link - send the link over IRC.
[19:12] <ravage> i hope so. he mounted the ISO in virtualbix
[19:12] <ravage> *box
[19:12] <oerheks> oh i missed that.
[19:12] <oerheks> why move usr,...
[19:12] <ravage> it was a little earlier
[19:12] <arraybolt3[m]> If you don't get a link, then connect your system to the Internet and try again.
[19:12] <ravage> no free space on /
[19:13] <ravage> somehow LVM was too complicated
[19:13] <oerheks> lvm in a vm ?
[19:13]  * oerheks totally lost
[19:13] <ravage> i dont know oerheks. it is what it is now :D
[19:14] <ravage> but there is already a new virtual drive on there and usr is copied. so we may get some free space after we remove the original /usr dir
[19:15] <ravage> i would still just install a new VM and copy my data over
[19:15] <arraybolt3> Aaaaaaand... Matrix let me send a message just immediately after he left.
[19:15] <arraybolt3> And now is only telling me now.
[19:16] <oerheks> i suspected a limited ssd and a hdd ..
[19:16]  * arraybolt3 shakes Element
[19:16] <ravage> arraybolt3, matrix just cares about your mental health here really
[19:17] <jhutchins> I suspect vigorous partitioning.
[19:17] <oerheks> matrix does not show join/parts .. useless
[19:17] <jpmh> I have a brand new install of 22.04 - after apt update and apt dist-upgrade I am told that: The following packages have been kept back:
[19:17] <jpmh>   isc-dhcp-client isc-dhcp-common - why?
[19:17] <sarnold> heh, it's worse than that -- it actively pretends people are still around
[19:17] <jhutchins> oerheks: On the other hand, popular channels tend to be flooded with join/part/ messages
[19:17] <arraybolt3[m]> Blah.
[19:18] <ravage> welcome back arraybolt3[m]
[19:18] <sarnold> jpmh: try "apt policy isc-dhcp-client" -- it's probably "phased updates", I think that command will confirm or deny that
[19:18] <ravage> they are phased
[19:18] <ravage> somehow they really love those lately
[19:19] <ravage> with a litte more information in apt that would cause a lot less support querstions
[19:19] <ravage> *questions
[19:19] <jpmh> sarnold: I have no idea what "phased" means here - please explain
[19:19] <oerheks> some have proposed enabled? isc-dhcp-client  shows up there,... https://launchpad.net/ubuntu/+source/isc-dhcp
[19:19] <oerheks> !phased
[19:19] <oerheks> oh ..
[19:20] <oerheks> https://wiki.ubuntu.com/PhasedUpdates
[19:20] <ravage> jpmh, it will roll out in phases / stages. so basicially just wait
[19:20] <oerheks> Push out stable release updates to expanding subsets of the userbase so that serious regressions can be detected before updates are pushed to everyone
[19:20] <oerheks> yes, wait.
[19:21] <oerheks> use the update icon, so you don' t see this held back packages
[19:21] <jpmh> ravage: ty - but why does it even show if it is not really ready
[19:21] <jpmh> oerheks: ty - as it happens command line only, so no icon
[19:22] <ravage> "2 packages can be upgraded" is still just wrong here :)
[19:22] <jpmh> anyway - ty to you all  - I think the summary is that it is just confusing and in time it will fix itself
[19:23] <oerheks> indeed, confusing, and the other new thingy is it shows that you need to reboot
[19:24] <oerheks> no more checking  if /var/run/reboot-required exists
[19:26] <ravage> not that i recommend it but if anyone wants to get rid of the updates rignt now
[19:26] <ravage> sudo -- sh -c 'mv /etc/machine-id /etc/machine-id_; apt -y full-upgrade;mv /etc/machine-id_ /etc/machine-id'
[19:27] <ravage> totally works :P
[19:29] <oerheks> ravage, but i want more updates, just no proposed.
[19:30] <ravage> change your dist to devel in your sources file? :D
[19:45] <_apex_> had to do a reboot recently (22.04.1) Just noticed that random? installed 3rd party apps are not showing in "installed applications" ... they show when I search for them. And they launch...but they are not in the app launcher. Ideas?
[19:46] <oerheks> apex, check with the 3rd party support?
[19:47] <oerheks> without example we cannot tell why
[19:47] <oerheks> no launcher = no entry in your menu
[19:49] <_apex_> multiple apps from multiple 3rd parties
[19:49] <oerheks> oke, we need to ask what 3rd parties?
[19:51] <_apex_> googling seems to indicate this is a bug, was hoping gurus here had a hack  b4 Ubuntu does.  It's no biggy as I primary SSH into this box and dont use the GUI do to frequent gnome crashes.
[19:51] <_apex_> MS VS Code
[19:51] <_apex_> Firefox, Session, Telegram
[19:53] <_apex_> wonder if these are all snaps
[19:53] <oerheks> could well be, ' which firefox'  shows the path
[19:56] <_apex_> yup, snap/bin/firefox
[19:57] <oerheks> then it is not a bug; they show up with snap list
[20:12] <_apex_> that was just FF. Others like VS Code are not snaps.
[20:13] <ravage> _apex_, how did you install vs code then?
[20:16] <cbreak> there's a vscode deb package: https://code.visualstudio.com/Download, and there's deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main
[20:22] <_apex_> yah I'm not sure as its been a while.  I was just going off the install location.
[20:24] <InPhase> _apex_: I tried to check and see if I have the same issue, but nothing shows up in the software center for me under Installed.  It's just a blank grey screen.  *shrug*
[20:24] <InPhase> _apex_: I'm not sure how long that's been broken, as I don't typically use it.
[20:25] <_apex_> same here I just discovered it while looking for my other apps
[20:26] <InPhase> _apex_: "snap list" will list your snaps, and "dpkg -l" will list all conventional packages installed.
[20:46] <_apex_> interesting, running snap list shows that some of my snaps are apps still showing, so does not appear to be that
[21:02] <oerheks> so how would you use them over ssh ?
[21:10] <Guest30> hi
[21:10] <Guest30> Is there proof that ubuntu respects privacy more than windows 10? Genuinely curious
[21:11] <oerheks> is there proof it does not?
[21:11] <oerheks> more a subject for #ubuntu-discuss
[21:11] <Guest30> alright
[21:13] <matsaman> Guest30: it's all open source, so yes
[21:14] <jhutchins> j ubuntu-discuss
[21:27] <xp9> hi all
[21:28] <matsaman> hi
[21:29] <xp9> i have  this problem : An error has occurred. See the log file
[21:29] <xp9> /home/xp9/.eclipse/com.subgraph.vega.application.product_1.0.0.201410142137_816604884/configuration/1661202948539.log
[21:30] <oerheks> err we cannot read that logfile
[21:30] <oerheks> !paste
[21:30] <xp9> ok
[21:31] <oerheks> and is vega in our repositories?
[21:31] <oerheks> i think it is a Kali product?
[21:32] <matsaman> "product"
[21:32] <asmer> Hello folks, I'm trying to extend partition 5 in /dev/vda disk using growpart
[21:32] <asmer> $ sudo growpart /dev/vda 5
[21:32] <asmer> On running growpart, I do see it changed
[21:32] <asmer> $ CHANGED: partition=5 start=1052672 old: size=40888320 end=41940992 new: size=82833375 end=83886047
[21:32] <asmer> But on running lsblk, I don't see partition 5 picking up the remaining 20G that's available
[21:32] <worst_> trying to RDP into an Ubuntu box but RDP keeps claiming there's a session open even though the box was just bounced.. anyone ever experience that?
[21:32] <xp9> is not a kali product nor in ubuntu repository
[21:32] <matsaman> worst_: ssh in and fix it
[21:33] <worst_> I'm not sure what "it" is
[21:33] <matsaman> a clown
[21:33] <oerheks> sudo growpart /dev/vda 5 .. a space between vda and 5?
[21:34] <asmer> lsblk output after running growpart: https://imgur.com/a/0kAFAtj
[21:34] <asmer> oerheks I believe growpart takes those two parameters separately.
[21:35] <asmer> Like so: sudo growpart /dev/DEVICE_ID PARTITION_NUMBER
[21:35] <xp9> log
[21:36] <xp9> https://dpaste.com/D7WZ8U9L3
[21:36] <oerheks> xp9, oke, this is ubuntu support, not arch
[21:38] <xp9> oerheks im on ubuntu not arch
[21:38] <oerheks> that is not what the error says.. and what is vega?
[21:38] <xp9> ubuntu 18.04 lts
[21:39] <xp9> oerheks i've installed eclipse with snap --classic
[21:39] <xp9> non i have problem with java tools
[21:39] <xp9> now
[21:40] <worst_> wow thanks matsaman you're great
[21:44] <asmer> I have vda1, vda2 and vda5. Is vda5's partition number 5 or 3?
[21:48] <asmer> On running fdisk -l /dev/vda, I get this: https://imgur.com/a/0kAFAtj
[21:48] <asmer> (second image)
[21:49] <asmer> Why does vda2 have 20G now? I only wanted to grow vda5 :(
[21:49] <oerheks> because .. space between vda and 5?
[21:49] <oerheks> it takes the 1st mounted, i guess
[21:49] <asmer> Wait, what do you mean space between vda and 5?
[21:50] <asmer>    Example (as per growpart --help):
[21:50] <oerheks> read back.. <asmer> oerheks I believe growpart takes those two parameters separately.
[21:50] <asmer>     - growpart /dev/sda 1
[21:50] <asmer>       Resize partition 1 on /dev/sda
[21:51] <oerheks> maybe i am wrong, but seems logical
[21:51] <asmer> Could it be that I supplied a wrong partition number and hence it took the 1st mounted?
[21:51] <asmer> If 5 is not the right number that is.
[21:55] <tomreyn> asmer: this is an MBR partition table, vda2 defines the extended region, vda5 is the first partition in the extended region.
[21:59] <asmer> tomreyn vda5 is partition under vda2?
[21:59] <asmer> *is a
[21:59] <tomreyn> asmer: <es, you could say so
[21:59] <tomreyn> yes
[22:00] <asmer> So what's the right growpart command in this case?
[22:00] <asmer> Something like /dev/vda2 1?
[22:00] <tomreyn> i looked at https://imgur.com/a/0kAFAtj which seems to show that all available space is already partitioned, so i'm not sure what your goal is, can you explain?
[22:01] <tomreyn> oh i missed the total capacity of 40 GB, sorry
[22:02] <asmer> Yep, total is 40. I want to add the excess 20G to /dev/vda5 because that's where my root filesystem is.
[22:03] <tomreyn> so what you'd need to to do make use of the remaining sectors is to remove vda5, then vda2, then either (a) create a larger extended region, then create a new partition in it, or (b) create one or more primary partitions
[22:04] <tomreyn> things will get easier once you move towards gpt
[22:05] <asmer> Is removing vda5 and vda2 safe?
[22:06] <tomreyn> it should not break the disk. you'll loose all your data unless you'll find a way to create the partitions at the same lower boundaries again, though, of course.
[22:07] <asmer> Hmm, is there no way to just expand vda5 to just go from 20G to 40G? That's all I need honestly.
[22:10] <tomreyn> if i read this right, using fdisk, you can just delete vda2 and recreate it with the intended size, then grow vda5 https://unix.stackexchange.com/questions/320201/how-to-extend-logical-extended-partition-with-fdisk
[22:11] <asmer> Okay, wouldn't deleting vda2 be dangerous though?
[22:11] <tomreyn> you don't do any such operations with out known working and complete backups
[22:13] <asmer> :(
[22:14] <asmer> As per the lsblk output, vda2 hasn't taken up the additional 20G, right?
[22:14] <asmer> Why are we deleting it then?
[22:16] <tomreyn> because it defines the extended region. which, currently, does not span to the end of the disk. and there can be no partition behind that. so you need to redefine the extended region.
[22:16] <asmer> Ah, I see.
[22:19] <asmer> What's the intended size for vda2?
[22:19] <tomreyn> -1
[22:20] <tomreyn> i think this selects the highest available sector / block number
[22:21] <asmer> I see
[22:23] <asmer> Do I need to follow the expert command bits here: https://unix.stackexchange.com/questions/320201/how-to-extend-logical-extended-partition-with-fdisk?
[22:24] <tomreyn> no, you just delete and create.
[22:26] <asmer> Looked like it worked.
[22:26] <asmer> lsblk reflects 40G on /dev/vda5 now :)
[22:27] <tomreyn> you'll still need to grow the file system, if not done, yet
[22:27] <asmer> Now I guess I'll extend my filesystem and I should be done.
[22:27] <asmer> Yes, thanks a lot :)
[22:28] <tomreyn> post the current partitioning view first if you like:  sudo fdisk -l /dev/vda | nc termbin.com 9999
[22:28] <asmer> Failed to find physical volume "/dev/vda5".
[22:28] <asmer> :(
[22:29] <asmer> tomreyn: https://imgur.com/2DFIDWj
[22:29] <asmer> Current partitioning
[22:30] <tomreyn> looks fine to me
[22:31] <tomreyn> what's the above error message from?
[22:31] <asmer> On running pvresize /dev/vda5
[22:31] <tomreyn> so there's an LVM2 PV on it?
[22:34] <tomreyn> i had interpreted "I want to add the excess 20G to /dev/vda5 because that's where my root filesystem is." as "vda5 contains a single file system" - but you didn't really say so.
[22:35] <asmer> Yeah, afaik, there's only a single filesystem on vda5
[22:36] <tomreyn> sudo file -s /dev/vda5
[22:37] <asmer> https://imgur.com/80Hl4l1
[22:37] <tomreyn> do you know the difference between text and images?
[22:38] <asmer> Lol, let me copy the output to pastebin then.
[22:39] <tomreyn> sudo resize2fs /dev/vda5
[22:39] <asmer> https://dpaste.com/GQHUPDHXJ
[22:39] <tomreyn> oh you need to fsck it first
[22:40] <asmer> It looked like it worked?
[22:40] <asmer> Extra space shows up on df -h
[22:40] <tomreyn> oh it's mounted?
[22:40] <tomreyn> well, luckily online resize is possible
[22:40] <tomreyn> still, unomunt and fsck it soon
[22:41] <asmer> Can I unmount a live filesystem?
[22:42] <tomreyn> you should not
[22:42] <tomreyn> and while, yes, you can also do repartitioning on a live system, most of the time that's not a good idea.
[22:43] <tomreyn> well, unless you know exactly what the implications are.
[22:43] <asmer> Can I fsck upon reboot then?
[22:43] <asmer> That seems easier
[22:44] <asmer> shutdown -rF now
[22:45] <tomreyn> yes it should fsck automatically on next boot
[22:45] <asmer> Great
[22:45] <asmer> Let me do that now
[22:45] <tomreyn> should. better make sure it happened.
[22:45] <asmer> How do I make sure fsck has run though?
[22:46] <asmer> I guess if it boots after shutdown -rF, it must have run it
[22:49] <tomreyn> it would show on screen, maybe log it, and the dirty bit would no longer be set
[22:49] <asmer> I see.
[22:49] <asmer> Thanks!
[22:50] <tomreyn> you're welcome
[22:50] <tomreyn> and i really hope you had backups. :)