/srv/irclogs.ubuntu.com/2022/07/05/#ubuntu.txt

=== carlos is now known as Guest5090
=== carlos is now known as Guest9773
=== Scotty_Trees3 is now known as Scotty_Trees
=== five619 is now known as five61
arthur.03:48
=== CNCFR06_ is now known as ViktorasCAM
physikoiHello #ubuntu. I'm trying to repair a drive partition. Using gparted, I see that what was once an EFI partiion for refind has a partition path of "unallocated" and a file system of "unallocated". How might I fix this? Can't seem to find an answer online04:37
physikoiIt doesn't show up in output of `fdisk -l` either04:44
arraybolt3[m]physikoli: You still there?06:33
arraybolt3[m]physikoli: What was the last thing you did to your partitions before this happened? Were you changing your partitions intentionally, or was this a random glitch?06:33
Aisonwhere can I get the public key for the ubuntu archive repository? (NO_PUBKEY 871920D1991BC93C)07:49
arraybolt3[m]Aison: I'm happy to find it for you, but... why do you need it? Is APT broken?07:50
AisonI would like to move from /etc/apt/trusted.gpg  to trusted.gpg.d07:51
arraybolt3[m]Aison: You should be able to find what you're looking for in the files of the ubuntu-keyring package.07:53
arraybolt3[m]Aison: I found a file download from Launchpad.net, which is an official source for Ubuntu packages.07:56
arraybolt3[m]https://launchpad.net/ubuntu/+source/ubuntu-keyring/2021.03.26/+build/2131984607:56
Aisonarraybolt3[m], thx :-) let me check07:56
arraybolt3[m]Aison: Quick reminder, always make sure you have backups of your important files so that if something goes horribly wrong, you can fix it.07:57
arraybolt3[m](I always tell everyone that if they're doing some "looks potentially dangerous" thing to their system.)07:58
HashHi, I setup ubuntu, and I just install zfs dkms, and I have two identical disks which already contained a mirror of zfs, how can I create that again and not lose data? not sure how08:00
Hashmaybe it's the wrong channel08:00
arraybolt3[m]Hash: I think you're in the right channel. I don't know the answer, but I'm not the only person here :)08:00
Hashwell it's probably a zfs question, i already got ubuntu installed08:01
HashI don't want to just create a pool again over the same disks no idea if that hurts data or not08:01
arraybolt3[m]Yeah but it's ZFS on Ubuntu. Pretty much, if you're using Ubuntu or an official flavour thereof, we'll try to help with just about anything.08:01
Hashty08:02
Hash:)08:02
arraybolt3[m]Hash: Are you trying to access data that's already there? Or are you trying to tweak your disk configuration somehow?08:03
HashI reinstalled OS08:23
HashPreviously I had zfs mirror on sdb and sde, both 2tb each08:24
HashI reinstalled os, installed zfs, and now I want to get my mirror back08:24
arraybolt3[m]Hash: Oh dear. Just double-checking, this is probably a silly question, but you didn't install over the top of the disks you're talking about, right? I'm assuming you just lost the ZFS config.08:25
Hashnope08:26
arraybolt3[m]OK good.08:26
Hashjust reinstall os on sdf08:26
arraybolt3[m]Looking for solutions...08:26
Hashthat's all08:26
Hashjust need to get my mirror back after os reinstall08:26
Hashdo I just recreate the mirror pool again and it auto picks up08:27
Hashor do i need to restore soething or something08:27
Hashno idea here08:27
arraybolt3[m]I don't know, that's what I'm looking up. I'm seeing things about a ZFS import or something like that.08:27
Hashyeah i am researching too08:27
Hashi saw import but they said also you mark it for import first08:27
Hashso i dunno08:27
AisonHash, I guess zpool import08:28
AisonI did it ounce also08:28
Aisononce08:28
Hashoh there it is08:29
Hashcool08:29
Hashso now i just gotta imoprt using name08:29
Hashannot import 'shiva': pool was previously in use from another system08:29
Hashscan: scrub repaired 0B in 00:03:18 with 0 errors on Sun Jun 12 00:27:19 202208:30
Hashi think i go ti tnow08:30
Hashcool. Word home slice!08:30
arraybolt3[m]Nice going! You can access your files now?08:30
Hashyes08:30
arraybolt3[m]!cookie | Aison08:30
ubottuAison: Wow! You're such a great helper, you deserve a cookie!08:30
Aison;)08:31
HashWhat's a good backup software that can do like sync stuff between directories?08:32
Hashsomething else than rsync, like maybe a nice gui08:33
HashWhat's the ubuntu games channel maybe? or do you talk here about that?08:34
HashHmm. after reinstall VD: error VERR_ACCESS_DENIED opening image file '/home/stoned/media/VirtualBoxVMs/Windows10/CT1000MX500SSD1.vmdk' (VERR_ACCESS_DENIED).08:36
HashI don't remember how I fixed it. I don't start virtualbox as root, but only as user.08:36
HashThe vmdk is a file pointing to raw device access /dev/sda108:36
HashSo not sure where, but somewhere I used to put permissions of it. Hmm. Any hints on this?08:37
Hashif it was the original vmdk file, it's permissions should remain the same from last time, so that can't be the file. What else could need the correct access permissions? I think it needs root access, but I don't want to and can't really run vbox as root, so not sure08:38
Hashdo you think it needs some kind of user being needing added to a group?08:39
HashUser should be in a disk group to access raw partitions08:41
EriC^^Hash: vbox needs root to access raw disk from my experience08:45
HashActually, adduser stoned disk, relogin, and then it has access08:45
Aisonno08:45
Aisonyou have to be in the right group08:46
HashI'm wrong or no?08:46
EriC^^ok cool08:46
HashIt worked08:46
HashOk08:46
Aisonok, of course relogin is necessary08:46
Aisonif you do any changes08:46
Hashor you can just su, su user, then id08:46
Hashthen start from cli, but for total gui, yeah, relogin08:46
Aisonthe problem of adding your user to group disk is now, that your user can access any disk08:47
Hashyes that's the goal08:47
HashAlso I need a firewall like is there any in windows, if a connection attemp goes out or comes in, it pops up, let's me know if to allow or deny?08:47
Aisonwell, now your user can also access your zfs disks, etc...08:47
Aisondangerous08:48
HashDoes that exist in linux or is that a windows thing? I know linux has to do like cli stuff08:48
Hashiptables etc08:48
Aisonwell, of course windows has its firewall facility08:50
=== diskin is now known as Guest95
Aliekezi_Hello, any idea of a tool or software that allows to configure the video camera color settings ?09:39
Aliekezi_(a software available by default on Ubuntu default repos would be prefered)09:39
ograAliekezi_, there is the guvcview snap (see: "snap info guvcview") that allows this graphically ... beyond this there are v4l-utils and uvcdynctrl for the commandline10:33
krylhi, I'm wondering if "/etc/profile/proxy.sh" can be applicated to systemd services ?10:45
krylhi11:25
kryldoes params in /etc/profile.d/ (like /etc/profile.d/proxy.sh ) will apply to services from systemd ?11:25
ograno, /etc/profile only sets things for user shells ...11:29
krylogra, great, thank you.11:33
=== SteelRose_ is now known as SteelRose
hans_renting a VPS, hosting provider is using KVM/ProxMox, their default Ubuntu image was a bit too customized for my taste, opted to re-install it,12:03
hans_noticed that the IO performance tanked, my custom ubuntu install was significantly slower than their provided image12:04
hans_adding these to /etc/initramfs-tools/modules  seems to have restored performance: virtio_pci virtio_blk virtio_net12:05
hans_any more virtio stuff i should add?12:05
Aliekezi_ogra, thanks, so in theory, the settings changed with GUVCVIEW should also change the settings in a Webex session (or anything using the camera ?)12:06
ograAliekezi_, in theory yes ... practically i have never tested that myself ...12:13
BluesKajHi all12:36
=== Bencraft14192 is now known as Bencraft1419
hans_what is /root/snap/lxd ? pretty sure the ubuntu 22.04 installer created it13:05
Aisonsnap crap ;)13:05
MaikAison: just don't.13:09
=== u0_a2048 is now known as jadenlian
Aliekezi_ogra, FYI I was able to make  a test right now and yes it does, thanks :)13:27
ograawesome !13:28
jhutchins!info guvcview13:32
ubottuguvcview (2.0.7-2-1, jammy): GTK+ base UVC Viewer. In component universe, is extra. Built by guvcview. Size 123 kB / 548 kB. (Only available for linux-any.)13:32
jhutchinsDoes that response indicate whether it's a snap?13:33
oerheksit is in universe.. and the snap version is from 2019 ..unofficial too https://snapcraft.io/guvcview13:36
ograoerheks, well, it is from a snap dev that i trust very much ... i wasnt aware guvcview is still in the archive, i thought it was gone in 22.04 due to being GTK2 based13:42
oerheksthat is oke, but the sanp is outdated.13:43
oerheksc/snap13:43
ogra(in the end it does not matter for the task of just adjusting colors with a GUI if it is a snap or deb tough)13:43
ograyeah, one minor version13:44
ogranot a biggie13:44
meatorHi. I'm using the latest ubuntu docker image and I'd like to unminimize it, but I can't: https://termbin.com/93vz14:00
oerheksmeator, " Reinstallation of packages may fail due to changes to the system configuration, the presence of third-party packages, or for other reasons."14:03
oerheksfile a bugreport?14:03
meatorI have done literally nothing. "unminimize" is the first command I ran in the docker container.14:04
meatorNo extra packages, no modified configuration.14:05
meatorWhere can I bugreport?14:06
oerheks!bug14:08
ubottuIf you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug <package> » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs.14:08
oerheksif this is the first step, certainly worth a bugreport14:08
meatorI'm not using ubuntu.14:09
meatorI don't have ubuntu-bug.14:09
meatorDoes Launchpad have a web interface for this?14:10
oerheksmeator, if you cannot file a bugreport from the docker itself.. no clue14:12
oerheksoh, you can https://help.ubuntu.com/community/ReportingBugs#Filing_bugs_manually_at_Launchpad.net14:13
oerheksyou need an account though14:13
meatorI could try that, but I only have a terminal.14:13
meatorOr use the web interface you sent.14:14
oerheksfrom terminal, it collects data needed to send to the bug service. manually you need to describe exactly, but in your case it should not be that hard.14:16
oerheksno funny or foreign packages14:16
meatorubuntu-bug doesn't require GUI?14:17
arraybolt3[m]meator: You will need some system with a GUI to finish the bug report on, but it doesn't have to be the same system you run ubuntu-bug on AFAIK.14:18
arraybolt3[m](ubuntu-bug will spit out a link when it's done sending data, I think you can then type that link into a web browser, sign in to Launchpad, and then finish the bug report.)14:18
meatorEhm.14:20
meatorWell there's a problem with that.14:21
meatorhttps://termbin.com/vtpi14:21
arraybolt3[m]Well that's a dandy mess.14:22
arraybolt3[m]meator: OK, can you get files out of the Docker container and copy them onto external media of some sort?14:22
meatorAs I said, I've done nothing. This is the offitial ubuntu docker image. Can you reproduce this?14:24
arraybolt3[m]If so, just grab /var/log/syslog, write a bug report from scratch on a different computer (no need to use ubuntu-bug, just sign into Launchpad, find the right package, and file a bug against it), describe the bug and how to reproduce it in detail, and attach your syslog. You may be asked to extract and send more files out of the container at some point.14:24
arraybolt3[m]meator: I don't have Docker. Probably wouldn't be too hard to get it, though.14:24
meatorI think someone would notice a nonfunctioning apt in the offitial docker image.14:24
meatorhttps://bugs.launchpad.net/cloud-images/+bug/194304914:26
ubottuLaunchpad bug 1943049 in glibc (Ubuntu Impish) "Docker ubuntu:impish: Problem executing scripts DPkg::Post-Invoke 'rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true'" [Undecided, Confirmed]14:26
oerheksoh, just add yourself to that bugreport?14:29
meatorI don't have an account.14:29
oerhekscreate one? it is not that expensive..14:30
luna__create one then? its free14:30
meatorIt seems that the developers already know about this issue so I don't have to worry about it.14:33
webchat51How do I enable and disable sites and modules when I build apache2 from source14:34
webchat51Is anybody there14:36
oerhekswebchat51, you might want to reask in #ubuntu-server ?14:37
webchat51How to enable and disable modules and sites on apache2 when I build it from source14:41
jhutchinswebchat51: Is a2ensite available?14:42
webchat51I don't see it14:42
jhutchinswebchat51: Have you read anything about how to build and run a web site?  It's not all point-and-click.14:42
jhutchinswebchat51: Why are you building it from source?14:43
webchat51That's what I wanted to ask is there a comand to enable and disable sites and modules14:43
webchat51When I build it from source14:44
webchat51Is anyone there14:47
luna__yeah14:48
webchat51Can you answer my question14:49
luna__#httpd14:49
oerhekswebchat51, but you get help in #ubuntu-server, just be patient14:50
webchat51Ok thanks sorry14:50
luna__np14:50
oerheksand read some manual about a2enmod, a2dismod and such https://manpages.ubuntu.com/manpages/jammy/man8/a2ensite.8.html14:51
oerheksno need to compile it all, i guess14:51
luna__they left14:51
jhutchinsToo bad, I bet we could have talked them into running an open FTP server.14:57
=== esv_ is now known as esv
=== prohobo is now known as prohobo_
XoloXI got helped here very good yesterday. It's a bit of a Windows question I have know I guess. But I no of no chat were I can ask this question. Yesterday I had a Linux Mint laptop without a screen. I had and have a external monitor (tv actually) hooked up to it over VGA. I can not access the BIOS without a screen. We got here in the chat very close16:26
XoloXdoing it blind. But no luck in the end. Today I tried a bit more and apparently the answer was: turn on laptop and press ESC. Press down arrow X times. It worked and 3 presses down was the solution. I can boot into a live USB of Ubuntu.16:26
XoloXNow I took of all my stuff and had a hard think. Decided to go with Windows 10. Made a USB stick using their own media creation tool thingy.16:26
XoloXTried going ESC after booting and 3 down. It seems to work but there is no image. Is there a way to change monitor in the very beginning of the Windows 10 installation process?16:27
jhutchinsXoloX: How would we know what you can do in Windows 10?16:28
jhutchinsXoloX: I haven't run Windows since I upgraded my hardware and Windows 95 refused to boot.16:29
arraybolt3[m]XoloX: There's #windows that might help (/join #windows will take you there).16:30
XoloXI figured there are dual boot experts here. Also I don't know any place to ask a windows question like this. I know it's a ubuntu chat. But figured here is a good place because of the very GREAT help I got here yesterday.16:31
arraybolt3[m]XoloX: Glad we were able to help! Sadly, though, many of us probably aren't Windows experts. I have no idea how to get what you're looking for to happen. Is there some reason in particular that you need Windows?16:31
arraybolt3[m](I ask because if it's just because of the UI, you might take Kubuntu for a spin - it's Windows-y and very nice. If you just need something akin to Windows, Lubuntu may work for you. If you need Windows because you need a certain web browser, MS Edge and Google Chrome both work under Linux.)16:32
XoloXYeah I want to make a Plex  and home assistant "server" in my house on the old laptop. I am just more used to Windows last few years. And I already setup Plex server on Windows on my desktop. I want to switch to using the laptop. So I already know how to set it up. I get that Linux might be the more logical chose. But for now I prefer to use16:34
XoloXWindows.16:34
XoloXI get that it's strange maybe to ask here. But yet here I am. I guess I think they don't know the people at #windows are going to tell me to buy a Surface tablet if I tell them I have a laptop with no screen.16:37
arraybolt3[m]XoloX: https://www.dell.com/community/Latitude/External-monitor-not-detecting-while-installing-windows-10/td-p/7412203 Sadly this sounds like a driver problem from looking at the start of this thread. Windows is notorious for not having very good driver support out of the box and needing extra drivers installed. If Windows can't detect your TV during installation, then your only recourse it to try to hack the WIM file to inject drivers.16:38
arraybolt3[m]I think you'll have an easier time learning how to set up Plex on Linux than how to get Windows to work in this setup.16:38
enigma9o7[m]You can certainly run a plex server on it under linux if you chose to, I've been running one on my laptop for years.16:38
arraybolt3[m](I didn't know the people at #windows would tell you to do that, that's crummy.)16:38
XoloXAlso I can't enter #windows16:38
enigma9o7[m]And plex server configuration is mainly done from a browser....16:39
XoloXthe TV is just a VGA monitor the way I hooked it up?16:39
arraybolt3[m]XoloX: Probably. You used one of those cables with three rows of staggered pins, five pins in each row, yeah?16:40
enigma9o7[m]VGA sometimes refers to 640x480 resolution, sometimes refers to 15-pin dsub analog connector.....16:40
XoloXI used the one I had. It's showing linux on a decent resolution. I assume it works?16:41
arraybolt3[m]XoloX: Yeah, it works, but a laptop external monitor jack probably is giving you driver problems. I had a Windows 7 laptop once that wouldn't recognize an external monitor until you installed the graphics drivers for it. I'm guessing the same thing's happening here.16:42
XoloXI think I managed to boot from USB stick. But it's on step 1 of the windows install. But it's on the internal monitor (which is gone). So I need to change the monitor output.16:42
arraybolt3[m]XoloX: If Windows doesn't have the necessary driver, it won't even know the external monitor exists, and thus you won't be able to switch to it.16:43
XoloXBut Windows is not installed. So I can't install a driver at this point no?16:44
tomreynXoloX + arraybolt3[m] + enigma9o7[m]: this had nothing to do with Ubuntu yesterday (Linux Mint), and it has nothing to do with ubuntu now. Please move to #ubuntu-offtopic or some other channel where this is topical.16:44
arraybolt3[m]XoloX: And there's the question. You possibly could get a driver in there, but it would be a tricky process requiring that you literally modify the installation media from what I've seen.16:44
arraybolt3[m]tomreyn: OK.16:44
arraybolt3[m]XoloX: tomreyn is an operator, so we should probably listen to him.16:44
tomreynor we could just all follow the channel guidelines16:45
arraybolt3[m]tomreyn: I was trying to get back on topic, FWIW.16:45
XoloXF*ck it. I am gonna wipe it, put a fresh Ubuntu on it. And figure out how to setup Plex and Home Assistant on that.16:46
tomreyni noticed, there's no blame. just, it's still OT so far.16:46
XoloXNo offence taken at all!!!16:46
XoloXMight come back for help later.16:46
tomreynXoloX: you can type: /join #ubuntu-offtopic16:47
tomreynif you have question son ubuntu, here#s a good place16:47
XoloXShould I use Docker of just install on the OS for Plex / Home Assistant?16:47
arraybolt3[m]XoloX: Docker looks like it will give you a very easy configuration.16:48
ograinstall ubuntu on that laptop, then "sudo snap install plexmediaserver", open a browser on another machine and go to the IP on port 32400 ...16:48
ogradone ...16:48
ogratakes probably half an hour altogether16:49
tomreynplus 10 minutes for the ubuntu installation16:49
ograi counted that into the half hour 🙂16:49
enigma9o7[m]You could even do it on ubuntu server16:49
ograyeah16:49
tomreynoh :)16:49
philhello everyone16:59
luna__hey17:02
transhumanisthi is zswap options not avaialble in the default ubuntu kernel?17:14
transhumanistmy setup is defaulting to zbud17:14
aldihallo17:16
transhumanistthis seems promising... https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/197776417:16
ubottuLaunchpad bug 1977764 in ubuntu-settings (Ubuntu Kinetic) "kernel modules 'zstd' and 'z3fold' missing." [Undecided, New]17:16
transhumanistrebooting and trying17:17
KBartranshumanist: it is, but you need to set it up yourself17:18
transhumanistKBar is there a working config , mine cant seem to find the extensions. I followed these directions and several veriations... https://askubuntu.com/questions/991953/apply-z3fold-to-zswap  , is there better directions?17:20
transhumanistit drops to a default of using zbud instead17:20
ograjust use zram instead ? ("apt install zram-config" sets everything up automatically for you )17:21
transhumanistis zram and zswap the same function? i thought they were both different>17:22
KBarthey aren't.17:23
transhumanistok good enough, will try that instead thanks!17:23
ograerr, they are17:27
ograzswap actually extends existing swap space ... zram can operate standalone as well as simply addint to existing swap17:28
ograhttps://www.maketecheasier.com/zram-zcache-zswap/17:29
ograzram is the least complex with the least overhead17:30
enigma9o7[m]Thanks for the link, I was curious myself.17:32
transhumanistseems to work great 1000 tabs 4 videos and a few shells running and a copy of windows 11 on kvm and uses less than  16 gig of ram no physical swap! https://imgur.com/a/ae74dkd thanks for the help , much appreciated!17:42
transhumanistnote: enigma9o7[m] ogra, and anyone else interested I am running both zram and zswap but zswap drops to zbud and not the extensions I want which is GRUB_CMDLINE_LINUX_DEFAULT="quiet splash zswap.zpool=zsamalloc zswap.enabled=1"  #":zswap.enabled=1 zswap.compressor=lz4"  #":zswap.enabled=1 zswap.compressor=lz4"18:08
transhumanistzsamalloc seems to be the best from a podcast I watched18:09
=== Bencraft14191 is now known as Bencraft1419
psicobraevening all20:01
sdanielchwell i have some errors when i try compile cinnamon 5.4 and muffin 5.4 in ubuntu 22.04, you know how do it?20:07
sarnoldpastebin your build log and someone might have ideas20:08
oerhekssdanielch, why compiling? https://launchpad.net/~wasta-linux/+archive/ubuntu/cinnamon-testing?field.series_filter=jammy20:10
oerheksanyway, it gives some tips about order of building.20:10
oerheksmaybe that gives you a clue about your current issue.20:11
sdanielchi dont know about this ppa20:11
sdanielchso thanks20:11
sdanielchany test that in jammy?20:11
oerheksno clue who does, maybe only mint users?20:12
mekhamihttps://gist.github.com/mekhami/b06559d552a8c263b72f207b1e3f3705 Any ideas on what's going on here? apparently 100 is network down? this is happening inside a docker container but not sure what'd be wrong with that20:16
mekhamithe same script is working just fine for a coworker20:17
sarnoldmekhami: upgrade docker https://stackoverflow.com/a/72057185/37727020:20
mekhamisarnold: I'm running 20.10.9, which the answer says is what's required20:24
mekhamitryign to upgrade to latest and see what happens.20:26
jhutchinsNetwork not working in docker is one of it's original features.20:35
mekhamiupgraded to latest and it seems to have worked. thanks sarnold20:37
sarnoldmekhami: woot! thanks :)20:38
mihamnHi all, can anyone help with authorising emacs to see root files as root owner on the same machine, not nfsnobody? On Ubuntu 22.04.21:31
matsamanmihamn: sudo emacs?21:32
mihamnthanks @matsaman, yes - that works.21:37
oerheks!cookie | matsaman21:37
ubottumatsaman: Wow! You're such a great helper, you deserve a cookie!21:37
matsaman'/win 1021:41
matsamanwin 10 I said21:41
mybalzitchthis is not the window you are looking for21:52
harmonhello22:19
matsamanhi22:19
=== jesopo is now known as jess

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