/srv/irclogs.ubuntu.com/2021/11/06/#ubuntu.txt

sarnoldwhich shells were you able to reproduce the problem in?00:00
five623468263sh and bash00:00
five623468263oerheks: the image is definitely mounted as read-write00:00
jhutchinsfive623468263: What are you using to create the chroots?00:02
five623468263What do you mean? I mount the image with kpartx, then I mount /proc/, /dev/ and /sys/ inside, then I simply run 'chroot /mnt/chroot'00:03
five623468263And again, this exact same process (which is a script) worked flawlessly in all previous versions of Ubuntu00:04
five623468263The only thing that has changed is my host Ubuntu installation, which is now 21.1000:04
=== Chex_ is now known as Chex
oerheksand /dev/pts00:07
five623468263Yeah, I do that too, just forgot to mention, sorry00:07
oerheksoh oke00:07
five623468263I just tried the *exact* same workflow with Ubuntu 21.04 as a host, and it works flawlessly00:11
five623468263So the issue is definitely in the host's update... but I have no idea why00:11
sarnoldfive623468263: how about zsh or ksh or csh?00:14
sarnoldfive623468263: have you been able to reproduce this with those shells?00:14
five623468263I will try right away. Should I do zsh on host or chroot or both?00:15
sarnoldI think within the chroot00:16
sarnoldfive623468263: try also installing the procenv package, and run procenv -A both via chroot /whatever procenv -A   and chroot /whatever  -- and then running procenv -A from within that shell00:18
five623468263I can't seem to be able to use apt from within chroot, even with the "apt apt update" workaround00:22
five623468263I get: Unknown error executing apt-key00:22
sarnoldouch00:22
sarnoldI guess that answers that question :)00:23
five623468263Seems like the whole environment is very broken, but why :/00:23
sarnoldfive623468263: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/194786000:23
ubottuLaunchpad bug 1947860 in qemu (Ubuntu) "qemu-arm-static swallows the program name, and shifts all arguments left" [Critical, Fix Committed]00:23
sarnoldfive623468263: man I'm glad someone else filed this bug report already :)00:24
five623468263Ahhh wow, so it's a proper bug00:24
sarnoldbummer, the packages are still building :(00:25
five623468263Since I haven't ever been this close to bleeding edge fixes, how long will it take until this fix will appear in my host's apt update?00:26
sarnoldfive623468263: excellent question, I can't recall if there's a "seven days in -proposed" thing for stable releases or if that's only for the development release00:28
five623468263I see. Well, I am in no rush to use Ubuntu 21.10, so I will patiently wait :)00:29
five623468263Thanks so much for all the help to everybody here, especially for managing to dig out the existing report sarnold and ubottu00:29
five623468263I thought I was going insane... but I guess I just hit a very neat bug00:29
=== five623468263 is now known as five6
sarnoldfive6: yeah, it's *crazy* and I really dreaded trying to find the guilty component. :)00:30
five6Tbh I suspected it would be qemu, there was just nothing else left, but I know nothing about how it works so I couldn't even attempt to troubleshoot it00:31
sarnoldyeah, qemu was my first choice of suspect, but linux wouldn't have surprised me either. I just wanted to get the easy cases of shells covered first :)00:32
five6Makes sense. Well, I shall be going off now. Thanks for all the help again!00:32
C0nundrumHello i'm trying to setup auto fs00:59
oerheksand what autofs howto are you following?01:01
=== Starmina_ is now known as Starmina
C0nundrumhello i'm trying to setup autofs01:13
Bashing-omC0nundrum: "20:01 < oerheks> and what autofs howto are you following?01:13
Bashing-om"01:13
oerheksand what ubuntu version and so on01:15
* oerheks pings timeout and walks outside for a smoke break01:17
C0nundrumI added it as "+/mnt/auto    /etc/auto.master.d/auto.nfs"01:36
C0nundrumIs that the correct format ?01:37
=== genii is now known as genii-core
oerheksagain, what howto are you following, for what ubuntu version?01:41
oerhekslet me guess; not ubuntu :-D01:43
C0nundrum"Ubuntu 16.04.7 LTS"02:05
Bashing-om!16.04 | C0nundrum02:06
ubottuC0nundrum: Ubuntu 16.04 LTS (Xenial Xerus) was the 24th release of Ubuntu. !End-of-life was April 30th, 2021. Paid support (ESM) is available. See also !esm, !eol, !eolupgrade02:06
=== bloodninja123 is now known as bloodninja
C0nundrumPeople have certain versions for certain reasons i'd asume02:11
C0nundrumwhat does that have to do with the autofs package syntax...02:12
C0nundrumyour getting lost in the details02:12
oerhekswait, you are the one not sharing details..02:12
C0nundrumI don't understand lol02:12
C0nundrumyou asked for my os and i gave it02:12
oerheksand yes, we people have reasons not to support EOL versions02:13
C0nundrumidk what else you asked for ?02:13
C0nundrummy hardware02:13
C0nundrumcan only run02:13
C0nundrum16.0402:13
C0nundrumI'm not trowing it out because software went outdated....02:13
=== M4he is now known as mahe
yukiupis it possible to remove or change the the transition color between gdm and login02:20
yukiup?02:20
yukiupits currently purple02:20
oerheksyukiup, yes, it is a kind of a hack, editting .css  https://www.reddit.com/r/Ubuntu/comments/clgj93/is_there_a_way_to_change_default_purple_bringle/02:24
yukiupnot the login background...02:25
yukiupthe color inbetween login and desktop02:25
yukiupit shows for like 3 seconds02:25
oerhekshmm, no idea there02:27
yukiupyah, its annoying and dosen't need to be there02:27
tomreynlooking at the css file, it seems quite likely that adjusting the #2c001e value in #lockDialogGroup would do just that02:34
yverxhi everyone02:35
yverxgot. some. urhent, issue02:35
yverx!02:35
oerhekstomreyn, that was my 1st thought too, but he mentions the transition between02:35
yverxim, VIA02:36
oerheksyverx, ask wait and see02:36
yverxall. of a sudden. the. taskbae02:37
yverxtaskbar** is. gone02:37
yverxmanaged to do. some. old. 'restore02:38
yverxbut. im, lackimg. everything. i ned.02:39
oerhekswhat taskbar on what ubuntu version?02:40
yverxi. have no. internet connectivitu.... i. disabled. it. before. logoff..02:41
yverxim. om 20.04.xfce02:41
yverxallso.sruy bout my writing02:42
yverxhad. a. phome. reset. n. it. see02:43
oerheksthis answer might be your help too https://itectec.com/ubuntu/ubuntu-resetting-xfce-panels-to-default-settings/02:44
oerheksxfce4-panel --quit ; pkill xfconfd ; rm -rf ~/.config/xfce4/panel ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml ; xfce4-panel;02:44
yverxmeedto. restore. all. snnoying. crap. lile. aicomplete//automess02:45
oerheksxfce4-panel -r # might work too02:45
Bashing-omyverx: Later releases ' mv ~/.config/xfce4/panel/whiskermenu-1.rc ~/Desktop ' ; ' xfce4-panel --restart ' .02:48
yverxthink i ahould follow, tje commans u lisye oearheks?02:49
Bashing-omyverx: ' ls -al .config/xfce4/panel/ ' shows >> whiskermenu-1.rc ?02:50
yverxi get only wierd errors02:54
yverxi assume ineed sudo?02:55
oerheksno need for sudo02:55
oerheksand how about a simple reboot?02:56
Bashing-omyverx: No sudo ! try as ' ls -al ~/.config/xfce4/panel/whiskermenu-1.rc ' .02:56
yverxno idea what. u mean bashing-om02:58
bluapAnyone now if there is a problem with launchpad.net login?  It currently fails for me with a bad request page. "Bad bot, go away! Request aborted."03:01
yukiuptomreyn , changing the color didn't work03:02
tomreynbluap: similar was previously reported here (which is the wrong place), i pointed people to #caonical-sysadmin (which might still be the wrong place, but they should know)03:02
tomreynyukiup: that's a pity. i just guessed.03:02
bluapOK, thanks.03:02
oerheksbluap, you are the 2nd one tonight, no clue there, try again in a minute?03:02
bluapYep, try again tomorrow, its very late here.  Thanks.03:03
yverxu speak in riddles to me, bashing-om03:03
yverxk shur boot .. just afraid its gonnA fck up more03:05
Bashing-omyverx: Sorry - we want to know if a particular file is present. in terminal execute command ' ls -al ~/.config/xfce4/panel/whiskermenu-1.rc ' .03:06
yverxriddles03:07
yverxexplain to a. noob or not at all..03:07
tomreynyverx: there's an application called "terminal", are you able to start this?03:09
Bashing-omyverx: I am sorry - I do not know how to simplfy further the instruction to execute. Can you help me help you with where I may be failing ?03:09
yverxwhen i do the first kfc kill panel command, thers still 2odd panels03:09
yverxahwait ok now only 1 odd on top03:10
yverxno bashom. stay smart03:11
yverxofc tomreyn, where else would i input the commands03:12
tomreynyverx: well, you said you did not understand the instructions. those mentioned "terminal" and provided a command you were supposed to enter there.03:14
=== Sven_vB_ is now known as Sven_vB
yverxbashom: it gibes03:20
yverx*** gives me an output with A DATE03:20
yverxso. i assume, that file is present?03:21
yverxnov6 0321 so almoexactly 1 hr old/modifiedd,... whatebeee03:23
yverxOOo03:23
Bashing-omyverx: Then a later release where the whisker menu is in play. If you remove that file and ' xfce4-panel --restart ' then a  new user config will be created with system defaults when the panel is restarted.03:23
yverxFML my. typimg. is. pire. shit. since. phome reset... apologies..03:23
yverxhow do i do that?03:24
tomreynthe "rm" command takes one argument, a path to a file to remove/delete. the file you may want to remove / delete is ~/.config/xfce4/panel/whiskermenu-1.rc03:26
Bashing-omyverx: execute 2 commands: ' mv ~/.config/xfce4/panel/whiskermenu-1.rc ~/Desktop ' and ' fce4-panel --restart ' .03:27
tomreynBashing-om: i think that's missing an x there in "fce4-panel"03:28
Bashing-omyverx: the 'mv' moves a files to your Desktop directory. either 'mv' or 'rm' will work - generally mv is the sager option in the event of ooopps,03:29
Bashing-omtomreyn: Ouch ! yeah !03:30
Bashing-omyverx: ^^ ' xfce4-panel --restart ' .03:30
yverxsry dc03:32
yverxpls repost last cmd03:33
yverxth files. been copied to. desltop03:33
Bashing-omyverx: Should be ' xfce4-panel --restart ' after running mv ~/.config/xfce4/panel/whiskermenu-1.rc ~/Desktop.03:33
yverxback to 0 now03:35
Bashing-omyverx: "back to 0 now" is that a good thing ?03:37
yverx1 useless. panel on top,. 2nd dummy panel on bottom03:38
yverxno its back to uzseless03:39
yverxwhere can i check networkability?03:41
yverxalso,. how to purge *blumantray'?03:42
yverxBMT ans "redshift*   mostly only eber caused issies03:44
yverxconsidering a hardkill, is thT wise?03:46
=== gschanuel2 is now known as gschanuel
yverxfck03:55
Bashing-omyverx: A reboot should not hurt and may reset the panels.03:55
yverxi meant hardkill not boot03:56
yverxboot oftn doesn work to negin witj03:57
yverxyyeyee] e03:58
Bashing-omyverx: A hard kill (power button) is not a good thing in the least! as could leave the system in an inconsistent state.03:58
yverxlook like i got. som. fimctiomaliyunback leys see03:59
yverxuk3ee(ekekkek04:00
oerheksyou will never know, without trying reboot.04:01
yverxcant. boot04:03
yverxgets stuck in loop04:03
VIAola amigos04:04
VIABashing-om: !!!!04:04
VIAno help but i learned smthn + patience <304:04
Bashing-omyverx: As you say "boot oftn doesn work to negin witj" - do suggest a file system check from a live USB, at this point.04:05
VIAand in the end always use brute force04:05
VIA :D04:05
Bashing-omVIA: :D any time I add to my store of knowledge is a good day.04:06
VIA<304:09
VIAthx everyone fortheir time04:09
VIAthis is my first linux distro after 1.5 centuries of win04:10
VIAi manage to f*ck everything to sh!ts04:10
VIA"sont use sudo blah blah blah"04:11
Bashing-omVIA: Hang in and ubuntu will grow on you too :P - We are here to help you over the rough spots.04:11
VIAoh yea no doubt debian is already a winner04:12
VIAwith win 8.1 etc ++ im so lost i dont even know where to start loosing time to unf*ck the whole system04:13
VIAalso appreciate nobody sraight suggested a kayer 8 problem04:13
VIAl*04:13
VIAi really know what im doing : }}}}04:14
VIAor so i think :]04:16
VIAafter hardkill i had an option to restore panel settings from 2 month back04:16
VIAwhere is it decided when to make such backups04:17
VIAi need to remove/purge some soft and reinstall proprietary drivers i think then ill run smooth04:18
CarlFKdebootstrap stable bullseye ... where can I find a kernel?   wget and unzip a .deb is fine04:18
CarlFKer debootstrap ubuntu :p04:18
CarlFKI'm doing both04:18
VIAbut its usually running 247 so little problems04:18
tomreynCarlFK: which ubuntu release?04:19
=== starz_ is now known as starz
CarlFKdebootstrap focal focal http://archive.ubuntu.com/ubuntu/04:20
tomreynyou might want to do so through https04:20
Bashing-omVIA: "reinstall proprietary drivers" -- no, unless the graphic's are Nvidia or some exotic card.04:21
tomreynfor the kernel image you can choose between vanilla and HWE. i guess the latter makes most sense04:21
CarlFKwhere do I get either?04:21
tomreynCarlFK: hwe would be package linux-generic-hwe-20.0404:22
tomreynfor vanilla / general availability (GA) kernel, it's just linux-generic04:23
tomreynyou probably also want grub04:23
CarlFKapt install linux-generic ... The following NEW packages will be installed: (lots of packages...)04:24
SircleIs it easy and more stable to have multiseat on ubuntu with virtualbox or with qemu/kvm? I guess latter is free too? multiseat = multiple people user one system at the same time with their own set of keyboard,mice,monitor,audio etc04:25
CarlFKI just want initrd.img-5.4.0-89-generic  vmlinuz-5.4.0-89-generic04:25
VIAthe drivers rnt working04:26
VIAno other way than clean/ourge n try again04:26
VIAi tried like 20 distros in 1 week this one is most to my liking04:27
Bashing-omVIA: ' sudo lshw -C display ' to get a start on finding ourt what the problem might be.04:28
oerhekshow do you tell, driver not working?04:28
VIAand it took me me 30~+ installls to figure out what packs to install in what order to make it atually WORK and not endup with a broken sys again04:29
VIAayght lets see what it do04:29
Bashing-omvidal72[m]: If you have to try hard in ubuntu ......... you are doing something wrong :D04:30
=== mkv is now known as m4v
=== erlon_ is now known as erlon
SircleWhat is better for having windows for gaming? Virtualbox or qemu/kvm or anything else? Which will give best performance?05:20
=== mauved_ is now known as mauved
alkisgSircle: dual boot would be the best, without emulation06:34
toshthakkarHi, i just installed ubuntu 20.4 to surface pro 606:59
toshthakkarunable to find battery indicator06:59
toshthakkaranyone else been there? fixed it?06:59
HashHello07:00
HashAnyone setup bind9 in 20.04? I could use some guide07:00
killadii have getting error when i try to update07:01
killadiit says "  GPG error: http://deb.debian.org/debian jessie Release: The following   │ ac5tin07:01
killadi           │                    | signatures couldn't be verified because the public key is not available: NO_PUBKEY │ acerbic07:01
killadi           │                    | 7638D0442B90D010 NO_PUBKEY CBF8D6FD518E17E1" this07:01
killadiit says "  GPG error: http://deb.debian.org/debian jessie Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7638D0442B90D010 NO_PUBKEY CBF8D6FD518E17E1" this07:02
tomreynkilladi: this channel is about ubuntu, your error message is about debian.07:02
killadioh sorry07:02
=== killadi is now known as mekilladi
Guest68when aptitude why shows Depends and it lists them separated by |  , what does that mean? Does it mean "or"?07:17
tomreyni think so, but it's been a long time since i used aptitude, so I might remember incorrectly07:19
tomreyn!aptitude07:19
ubottuLike apt and apt-get, aptitude is a terminal frontend for Ubuntu's package management system. Unlike the others, it is not recommended in Ubuntu because its behavior differs significantly from other Ubuntu package management tools and can cause issues.07:19
cncr04sI use aptitude to search07:30
Rockerulhello there!08:16
lotuspsychjemorning Rockerul08:16
Rockerulhow is everybody?08:18
lotuspsychje!chat | Rockerul08:19
ubottuRockerul: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks!08:19
Rockerul!guidelines08:23
ubottuThe guidelines for using the Ubuntu channels can be found at https://wiki.ubuntu.com/IRC/Guidelines08:23
datatechI stick with apt and dpkg.08:23
Rockerulhow can I register? :(08:35
RockerulI mean...I know the commands, but I have a problem on picking the email..08:36
Fatal_SushiRockerul: for help wit IRC related stuff please ask in #libera08:36
Rockerulok, thx08:37
Fatal_Sushithis channel is for support with ubuntu and it's flavors only08:37
RockerulI am new to this :D08:37
Fatal_Sushisure08:37
RockerulI just got back to Ubuntu :)08:37
Rockerulbut wanted to join some IRC for good old times08:37
Fatal_Sushistill offtopic chatter...08:37
Fatal_Sushianyway, welcome back then08:38
Rockerulty, so here I can only ask for Ubuntu related things08:38
Fatal_SushiRockerul: yep, as said this channel is for support with Ubuntu and it's official flavors08:41
Rockerulgood, need a bit of help then :)08:41
Fatal_Sushiif you just want to chit chat then there's #ubuntu-discuss and #ubuntu-offtopic08:42
Rockerulgot an SSD where I installed Ubuntu, but still have an HDD that I want to use for Datas (files)08:42
Rockerulmy question is: how to format the HDD, and the mount on startup08:42
Fatal_Sushisince i never have done that i'll leave that to someone else08:43
ThinkT510you can use gparted to format it and then edit /etc/fstab to mount it automatically08:43
ThinkT510make sure you backup anything you wanted to keep before formatting08:44
Rockerulwell...I think I did it in a way, but don't know if it's the correct way, or if there is an "correct" way08:44
ThinkT510!fstab | Rockerul08:44
ubottuRockerul: The /etc/fstab file indicates how drive partitions are to be used or otherwise integrated into the file system. See https://help.ubuntu.com/community/Fstab and http://www.pclosmag.com/html/Issues/200709/page07.html and !Partitions08:44
Rockerulalso...the thing I never understood: SWAP, do I need it? Have 8Gb RAM...on Ubuntu install I followed basic instalation...let Ubuntu pick partition settings08:45
Rockerulis it ok?08:45
ThinkT510Rockerul: should be fine, nowadays ubuntu tends to use a swapfile rather than a separte partition08:46
ThinkT510separate08:46
Fatal_SushiIf the RAM is 8GB you'll get a swapfile of 2GB08:47
Rockerulso that should be ok than? I want to use it to learn programming on this laptop08:48
Fatal_Sushishould be fine08:48
ThinkT510how much swap space you have has no relation to programming08:49
Rockerulhow often to search for updates? I use "sudo apt update && sudo apt upgrade" like once / week, is it ok?08:50
Rockerulsorry if I ask stupid questions...but I prefer to be stupid for my questions for 5 minutes than remain stupid for how long I use Ubuntu :))08:50
Fatal_SushiThere's a Software Update which pops up once there are updates available, so no need to search manually08:51
ThinkT510I don't think upgrade would get you kernel updates so you'll want full-upgrade08:51
Fatal_SushiUpdate/Updater08:52
Rockeruljust sudo apt full-upgrade?08:52
ThinkT510after sudo apt update yes08:52
Fatal_Sushisudo apt update && sudo apt full-upgrade08:52
Rockerulaaa I see08:52
Rockeruland what is the difference if I use sudo apt-get update? I got used to put that -get after apt....don't know why but...08:53
ThinkT510update refreshes the repositories to the latest and upgrade fetches the newer versions to install and full-upgrade fetches newer version that also installs new dependancies (such as kernels)08:54
ThinkT510apt-get is just the older one, it is recommended to use apt (meant to be cleaner)08:55
Fatal_Sushihttps://askubuntu.com/questions/445384/what-is-the-difference-between-apt-and-apt-get08:56
datatechAs I understand it, aptitude and apt-get should be considered deprecated. I'd get used to using apt from now on.08:56
Rockeruli will use only apt from now on than. Thanks guys :)08:57
Fatal_Sushiyw08:57
Rockerulwill go to #libra later and figure it out with registration, and when I have questions about my system I will come here :) I will go now and thest if my HDD it's auto-mounting now. Again, thank you for your help guys and catch you later. Take care, bye :)08:59
SteelRoseRockerul: there is a package called something like unattended-updates08:59
SteelRoseit will do the job for you08:59
Rockerulwhat that doese?08:59
SteelRoseRockerul: the name is pretty much self-explanatory :-)09:00
SteelRoseI cannot remember off the top of my head how often it checks for updates09:00
ThinkT510!info unattended-updates09:00
ubottuPackage unattended-updates does not exist in impish09:00
SteelRoseperhaps it is unattended-upgrades ?09:01
SteelRosethe "unanttended" part was there for sure09:01
Fatal_Sushi!info unattended-upgrades09:01
ubottuunattended-upgrades (2.8, impish): automatic installation of security upgrades. In component main, is optional. Built by unattended-upgrades. Size 47 kB / 436 kB09:01
SteelRosehttps://www.cyberciti.biz/faq/set-up-automatic-unattended-updates-for-ubuntu-20-04/09:01
SteelRosethere you go09:02
h3ndr1kHello, does anyone know how netplan is called at boot time? man netplan-generate says that it is, but how exactly? I could not find a systemd unit and there did not seem to be a related file in /etc/init.d. Is it somehow called by systemd-networkd?09:25
h3ndr1kJust out of curiosity, how is ifupdown2 called? I assume it would be the same place?09:27
=== Daniel is now known as Guest6708
qskwoodCan someone explain why Ubuntu installs Python 2 with npm?09:58
qskwoodIt's not listed as a dependency, it just does.09:58
qskwoodI just don't get why anything in Ubuntu installs Python 2 when Python 2 hasn't had a security update for almost two years.09:59
oerheksqskwood, why would ubuntu install python 2?10:09
qskwoodThat would be my exact question.10:09
oerheksyou surely should look at the package you install with npm10:09
qskwoodI'm not using npm.10:09
qskwoodI'm using `apt install npm`10:10
oerheksthen it is a dependencie of nopm, likely10:10
qskwoodYes10:10
qskwoodYes it is10:10
qskwoodAnd my question is "Why"10:10
oerheksapt-cache depends npm # shows why10:11
qskwoodFirst off, if you actually read what I wrote you'd see it's not a dependency10:12
qskwoodSecond, that wouldn't say why it's a dependency, just that it is one (which it is not)10:12
oerheksapt show npm10:13
qskwoodAgain10:13
qskwoodthat doesn't provide any information.10:14
qskwoodIf you don't know the answer to a question it's perfectly fine to disengage10:14
qskwoodWasting people's time is rude10:14
oerheksinstalling npm pulls in 210 packages, good luck10:14
qskwoodhttps://packages.ubuntu.com/focal/gyp10:19
qskwoodThis was "fixed" in groovy10:19
qskwoodIt will be fixed in the next LTS by extension, so I'll be able to use an LTS environment that doesn't rely on Python 210:20
oerheksgood thing groovy is EOL10:20
h3ndr1kSorry I upgraded my server and my IRC client was offline. Was there a response to my question?11:16
gnaskHi :) Question: I have managed to somehow make my LAN networkcard dissapear, how do i install it again? Its a Realtek card11:34
TJ-gnask: is it built-in or USB?11:35
gnaskBuilt-IN11:35
TJ-gnask: lets see if we can identify the hardware: "lspci -nnk -d ::0200"11:35
TJ-(this lists PCI devices in the ethernet network class (0200)11:36
gnask4:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 16) Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:36d9]11:36
TJ-gnask: good, does it also report a kernel module in use?11:36
gnaskThat is all the text it outputs11:36
TJ-did you miss the "k" in the options? (that reports kernel modules either in use or available)11:37
gnaskNope -nnk are the flags i used11:37
TJ-gnask: OK, so we now know what the issue is - you've 'lost' the kernel driver11:37
gnaskSounds bad :>11:37
TJ-gnask: so next we figure out which one it should be and where it went!11:37
gnaskAllright!11:38
TJ-gnask: as this a a Realtek device its possible the driver is not included in the mainline kernel and you've got an out-of-tree kernel module installed to drive it11:38
gnaskOk11:38
TJ-gnask: see if a driver that looks to match that device is listed with "dkms status"11:38
gnaskrtl8821ce, 5.5.2.1, 5.13.0-20-generic, x86_64: installed11:39
TJ-gnask: that looks like it. it shows 2 kernel versions installed. Check what the current running kernel version is with "uname -r"11:40
gnask5.13.0-20-generic11:40
TJ-gnask: OK, lets see if we can find the module11:40
TJ-gnask: "find /lib/modules -name 'rtl8821ce*' "   --- do you get any matches?11:41
gnaskYes11:42
gnask/lib/modules/5.13.0-20-generic/updates/dkms/rtl8821ce.ko11:42
TJ-gnask: all looks good so far so now we need to find out why that module doesn't load11:43
TJ-gnask: let's first try manually inserting the module and seeing if the kernel has a problem11:43
gnaskOk11:43
TJ-gnask: "sudo modprobe rtl8821ce" ... if that works you won't get any messages, just back to the shell prompt11:43
TJ-gnask: then check kernel messages with "dmesg | tail -n 20"11:44
gnaskmodprobe worked, no messages11:45
gnaski got alot of kernel msgs though from dmesg11:45
jarnosCan someone please help to reslove the udev issue? https://askubuntu.com/q/1373624/2100511:45
jarnos^resolve11:45
TJ-gnask: that system has an internet connection so we can share them in a paste?11:45
gnaskYep, im on it now via WIFI11:46
TJ-gnask: if so " dmesg | tail -n 50 | nc termbin.com 9999 "11:46
gnaskhttps://termbin.com/jwoy11:46
TJ-gnask: something wrong here, those are just UFW firewall messages, no reports of the module loading or the device being initialised as we'd expect11:48
gnaskOh ok11:48
TJ-gnask: let's see if the module did load. "lsmod | grep rtl" - do you see the rtl8821ce ?11:49
gnaskhttps://termbin.com/z4wu11:50
TJ-gnask: this is getting weirder11:51
gnaskWelcome to my life lol11:51
TJ-gnask: when did you install that rtl821ce-dkms package? Looking at it, it is for a wifi device NOT wired :D11:52
TJ-gnask: which would explain this11:52
TJ-gnask: let me go back to basics and figure out which driver your hardware should be using11:52
gnaskTJ-: I dont know really, was on a spree yesterday and tried to update stuff11:53
gnaskOk!11:53
TJ-gnask: show me " grep . /etc/modprobe.d/* | nc termbin.com 9999 " I want to see if there's been a blacklist for the expected kernel driver11:55
gnaskhttps://termbin.com/4p7z11:56
TJ-gnask: it looks like that device ought to be using either the kernels' r8169 driver or the one from the r8168-dkms package11:56
gnaskYes ok11:57
TJ-gnask: nothing obvious there. You said you did some house-keeping and updates. Is that when this problems tarted?11:58
gnaskYep it was11:58
TJ-aha! so, lets look at the apt log! " cat /var/log/apt/history.log | nc termbin.com 9999 "11:59
gnaskhttps://termbin.com/j8s211:59
hid3Hello everyone. I am doing "do-release-upgrade" in non-interactive mode. How do I prevent/exclude a single service from being autorestarted during the upgrade process?12:01
TJ-gnask: so I see yesterday you removed and reinstalled dkms and the rtl8821ce packages at 09:28 - was the device still working at that point, or was that an attempt to fix it?12:02
gnaskIf i recall correctly, i belive it was my attempt to update it to the "latest" driver lol12:03
TJ-gnask: OK, we'll discount all that and just install the one that looks to be correct12:03
gnaskYes12:04
TJ-gnask: at least at my end the kernel's r8169 driver claims to support your device.  Your device is 10ec:8168 and if you do "modinfo -F alias r8169 | grep 8168" you should see a match for "pci:v000010ECd00008168sv*sd*bc*sc*i*"12:06
gnaskmodinfo: ERROR: Module r8169 not found.12:06
TJ-gnask: but apparently, according to the notes in "apt-cache show r8168-dkms" suggest the kernel's r8169 doesn't fully support all devices correctly12:07
TJ-gnask: huh!?!12:07
gnaskgnask@gnaskBuntu:~$ modinfo -F alias r8169 | grep 816812:07
gnaskmodinfo: ERROR: Module r8169 not found.12:07
TJ-gnask: OK, let me go check if your kernel version should have that module. This could be the issue12:07
gnaskOh ok ok! Much thanks for your time.12:07
TJ-gnask: is this package installed? "apt list linux-modules-extra-5.13.0-20-generic"12:09
gnaskYes it is12:09
TJ-you should see "installed" there12:09
gnask[installed,automatic]12:09
TJ-OK, so that should install the file  /lib/modules/5.13.0-20-generic/kernel/drivers/net/ethernet/realtek/r8169.ko12:10
TJ-and modinfo should have reported from that12:10
TJ-check once again "modinfo r8169"12:10
gnasklinux-modules-extra-5.13.0-20-generic/impish-updates,now 5.13.0-20.20 amd64 [installerat,automatiskt]12:10
gnaskmodinfo: ERROR: Module r8169 not found.12:10
TJ-if that fails do "sudo depmod"12:10
TJ-then do the "modinfo r8169" again12:11
gnaskgnask@gnaskBuntu:~$ sudo depmod12:11
gnaskgnask@gnaskBuntu:~$ modinfo r816912:11
gnaskmodinfo: ERROR: Module r8169 not found.12:11
TJ-hmmm, something major is wrong here12:11
gnaskYeaaaaah :p12:11
TJ-gnask: "find  /lib/modules/5.13.0-20-generic/kernel -name '*r8169*' -ls "12:12
gnask 2370834    180 -rw-r--r--   1 root     root       184273 okt 15 15:53 /lib/modules/5.13.0-20-generic/kernel/drivers/net/ethernet/realtek/r8169.bak12:12
TJ-"bak" ...!!!!12:13
TJ-gnask: what have you been up to!?!12:13
gnaskhaha, what is a bak? a backup?12:13
TJ-yes, it should be .ko12:13
gnaskoooo12:13
TJ-gnask: who did that?!12:13
gnaskno idea, i did not rename it manually thats for sure12:13
TJ-the date suggests it was done on October 1512:14
gnaskUhm ok, it worked yesterday12:14
gnaskuntil i started tinkering12:14
TJ-very strange, lets change it anyhow12:14
gnaskOk12:14
TJ-are you copy/pasting my commands?12:15
gnaskYep12:15
TJ-good you'll need it for this next one :)12:15
TJ-gnask: "sudo mv /lib/modules/5.13.0-20-generic/kernel/drivers/net/ethernet/realtek/r8169.{bak,ko} "12:15
TJ-gnask: then "sudo depmod" and then "modinfo r8169"12:16
TJ-now modinfo should report12:16
gnaskIt didnt like mv , "filoperand saknas" which translates to fileoperation missing12:16
TJ-hmmm, what shell are you using? "echo $SHELL"12:17
gnaskbash12:17
TJ-that should work then, make sure the {bak.ko} at the end of the line aren't corrupted12:17
TJ-oh I know, become root first with "sudo -i" then do:12:18
TJ-"mv /lib/modules/5.13.0-20-generic/kernel/drivers/net/ethernet/realtek/r8169.{bak,ko} "12:18
gnaskOk now it worked12:18
TJ-gnask: then "sudo depmod" and then "modinfo r8169"12:19
TJ-if modinfo reports then we can get the device going12:19
gnaskYes it reports back :)12:19
TJ-I'll assume you're still root (prompt is a # not a $)12:19
TJ-"modprobe r8169"12:19
gnaskdone12:20
TJ-then "dmseg | tail -n 20" and you should see the device come alive12:20
TJ-oops, typo12:20
TJ-dmesg not dmseg12:20
gnaskwoooo! its working :)12:20
gnaskWill it still work after a reboot ?12:21
TJ-finally! how the heck did that get renamed to .bak ... there must have been a reason12:21
TJ-yes, it will work.12:21
gnaskSuperthanks for this. Not everyone is so kind <312:22
TJ-now, before you think this is over, one reason that may have been renamed is to allow another module to load and operate that device.12:22
gnaskOk, like what module?12:22
TJ-if you find the device is flakely or doesn't perform as expected, then you may need to install a different package "apt install r8168-dkms" instead12:22
gnaskOk, will save that advice12:23
TJ-gnask: read the info on that just in case you do need it later "apt-cache show r8168-dkms"12:23
TJ-gnask: but I think you'll be OK12:24
gnaskWill do. Thanks once again, your a champ12:24
BluesKajHowdy all12:28
BinarySaviorlt]>bJ]?$J{HA;Y<13:04
BinarySavioromg cringe, pasting  password into irc13:04
coconutgreatest one BinarySavior!13:05
TJ-but it's not binary!13:05
KBarthanks for all your crypto, BinarySavior!13:07
BinarySavior:D13:07
BinarySaviorluckily this host is not outward facing13:07
BinarySaviori'm still gonna change the password anyway13:07
KBar+1 good practice13:07
KBarstay alert when you're pasting stuff!13:08
BinarySavioralt+tab , shift+insert failed me13:09
BinarySaviori dont know how hexchat ended up in-between my ssh session and keepassxd but it did13:09
fmlatghorhi, I'm trying the ubuntu universe and multiverse repos, but I get an authorisation error "Authorization required, but no authorization protocol specified"13:23
TJ-fmlatghor: for what Ubuntu release?13:24
fmlatghoruname says $100-Ubuntu SMP +13:25
fmlatghorTJ-: uname says $100-Ubuntu SMP ?13:25
TJ-fmlatghor: what!?13:26
fmlatghor#10013:26
TJ-fmlatghor: "cat /etc/issue"13:26
fmlatghoruh yes13:27
fmlatghorlet me go to the appropriate chan13:27
Firefisheis there a way to enable Ubuntu 20.04.3 LTS to use the apt 2.2.x version, instead of the 2.0.x version?13:35
TJ-Firefishe: not easily, no. What functionality is missing you are seeking?13:35
FirefisheI'm on a m$ surface book 3 lap/tablet.  I'm using the linux-surface ppa for the system as it's required for it to be functional.  apt 2.0.x is currently having a problem with certain special characters in github url requests when upgrading.  2.2.x is supposed to work.13:37
KBarit's available in the 21.04 and later repos. you can edit the sources.list file but its not recommended13:37
FirefisheKBar:  I don't know what effect a system upgrade would have on the current system.  I depend on linux-surface for full functionality, so I need those things to be steady, even during an upgrade.  It's essentially just the kernel and kernel headers, and some files specific to this laptop that are affected.13:39
FirefisheKBar: But apt is being difficult.  The problem is being worked on, but I'm looking for quicker and simpler solutions.13:40
FirefisheKBar: What about compiling apt 2.2.3 from source, as an example, and replacing the current apt with it?13:41
lotuspsychjeFirefishe: wich kernel are you currently on?13:42
Firefishelotuspsychje: 5.14.15-surface13:43
lotuspsychjeok, i was reading https://www.phoronix.com/scan.php?page=news_item&px=Better-Surface-Linux-5.1213:44
Firefishelotuspsychje: There's an upgrade to 5.14.16-surface, but the upgrade is borked for the time being.13:44
Firefishelotuspsychje: I have a surface book 313:44
TJ-Firefishe: can you show us an example of the URL and these special characters?13:45
FirefisheTJ-: Here's the github link to the issue report:  https://github.com/linux-surface/linux-surface/issues/625#issuecomment-962036723  -- It takes you to the middle of the report, more or less..13:49
ubottuIssue 625 in linux-surface/linux-surface "Ubuntu: Apt update fails with Error 401 Unauthorized" [Open]13:49
lotuspsychjeFirefishe: does the surface suffer functionalitys on default kernel and HWE?13:53
TJ-Firefishe: crikey; those URLs are terrible. no wonder it broke!13:55
TJ-Firefishe: looks like the github devs think everything is a full blown web browser!13:55
lotuspsychjelol13:56
FirefisheTJ-: octet/stream just about made me drop my jaw13:56
* TJ- fumes about 'dev-ops' and fetches the shotgun :)13:57
FirefisheTJ-: They are a little large for a git hub url.  For as much as I know about it, which is only basic.13:57
TJ-Firefishe: I'm figuring out if there's a sneaky way to help apt out here13:57
FirefisheTJ-: What is that ubuntu app that does system upgrades?13:57
FirefisheTJ-: If there is, posting a workaround in that thread would help! :-)13:58
TJ-Firefishe: depends on what you mean with "upgrades" ... packages, entire release, etc13:58
FirefisheTJ-: Newer release with a newer kernel.  I may still need the ppa though.13:58
currybullenis there an ubuntu equivalent to something like Fedora/RHELs "dnf --installroot=<dir> --releasever=34 -y group install 'Fedora Server Edition'" to set up a full-fledged root ubuntu server filesystem under a directory?13:58
lotuspsychjeFirefishe: what i would try in your case, is running latest ubuntu releases with higher kernels, see if you suffer still bugs13:58
currybulleni'm guessing some invocation of debootstrap might do it, but i can't figure out what it would look like13:59
FirefisheTJ-: This is where I'm getting my special use kernel:  https://pkg.surfacelinux.com/debian release main14:01
TJ-currybullen: "debootstrap --include ubuntu-server focal /target/ "14:02
TJ-currybullen: 'focal' is the SUITE so replace that as appropriate, e.g. it could be "impish" for the latest14:03
TJ-currybullen: may need --include=ubuntu-server (note the = symbol) and no spaces14:03
TJ-Firefishe: one workaround might be to deploy squid-deb-proxy and on the client squid-deb-proxy-client (proxy would need an allow ACL for the github URLs adding) but then squid would do the redirects for you14:06
TJ-Firefishe: a local alternative on the host might be to install apt-cacher-ng14:06
TJ-!info apt-cacher-ng14:06
ubottuapt-cacher-ng (3.6.4-1, impish): caching proxy server for software repositories. In component universe, is optional. Built by apt-cacher-ng. Size 482 kB / 1,384 kB14:06
Firefishe TJ-  apt-cacher-ng on the github server hosting the code, you mean?14:09
TJ-Firefishe: eh? no, install it on the Ubuntu host that has the problem14:11
TJ-Firefishe: I'm thinking a proxy engine will better handle the URIs and redirects14:11
currybullenTJ-: ah nice, thanks!14:12
FirefisheTJ-: Here's my output of "sudo apt upgrade" -- https://pastebin.com/9HYDkyRG14:28
TJ-Firefishe: is that with apt-cacher-ng installed?14:30
FirefisheYes.  Although apt-cacher-ng may  not be configured correctly.  This is the first time I used it, but I did say "YES" at the cli/curses window when it configured.14:31
currybullenTJ-: hmm, the debootstrap command results in dependency errors. for impish there's "python3-cffi-backend-api-min is not installed" among others. shouldn't the dependencies be resolved automatically?14:31
TJ-Firefishe: OK, so now we need to point apt at apt-cacher-ng14:31
Sven_vBFirefishe, to see if the upstream server works, try: curl --show-error --head https://pkg.surfacelinux.com/debian/dists/release/Release14:32
TJ-currybullen: depends on what else you've put on the command line! you may be asking for a package that is in universe or multiverse, in which case you need to add those components14:32
Sven_vBFirefishe, then try with acng as proxy for curl14:32
TJ-Firefishe: info for configuring apt itself to use apt-cacher-ng https://help.ubuntu.com/community/Apt-Cacher%20NG#Client_setup14:34
currybullenTJ-: hmm, i only put "debootstrap --include=ubuntu-server focal /target/"14:34
FirefisheSven_vB: https://pastebin.com/vt67h7nc14:34
TJ-Firefishe: in your case I suspect you just need to use localhost14:34
TJ-currybullen: really, let me test here14:34
TJ-Firefishe: so " echo 'Acquire::http { Proxy "http://localhost:3142"; }' | sudo tee -a /etc/apt/apt.conf.d/proxy "14:35
TJ-Firefishe: ensure apt-cacher-ng has started too, of course, with " systemctl status apt-cacher-ng" - you may to to edit /etc/default/apt-cacher-ng14:36
FirefisheTJ-: I ran that code then updated.  Same errors.14:39
TJ-Firefishe: hmmm, is apt saying it using apt-cacher-ng?14:40
FirefisheTJ-: Actually, there isn't anything in /etc/default14:40
FirefisheTJ-: How would I query apt to find that out?14:40
TJ-Firefishe: the apt-cacher-ng package has a file /etc/default/apt-cacher-ng according to "apt-file list apt-cacher-ng"14:40
TJ-Firefishe: If I recall correctly apt reports it is using the proxy server (but I may be wrong!)14:41
TJ-Firefishe: does "systemctl status apt-cacher-ng" show it active and running?14:42
FirefisheTJ-: Yes14:43
Sven_vBFirefishe, in the sudo…tee command, the -a seems odd.14:43
TJ-Firefishe: for a different github resource for me it breaks too14:44
FirefisheSven_vB: Eliminate the -a flag?14:44
TJ-Sven_vB: no, that is append, to avoid over-writing and existing file14:44
TJ-Firefishe: no, the -a is fine14:44
Firefisheok14:44
Sven_vBTJ-, yeah. I assumed that there should only ever be one proxy configured in that file.14:45
TJ-Firefishe: apt-cacher-ng didn't help for me, I see "Invalid response from proxy: HTTP/1.0 403 CONNECT denied (ask the admin to allow HTTPS tunnels)     [IP: ::1 3142] "14:45
TJ-Sven_vB: always better not to let an existing extry be deleted, append will mean the last entry takes effect14:46
TJ-Firefishe: I'll try allowing the tunnels now14:46
FirefisheHere's my /etc/default/apt-cacher-ng file:  https://pastebin.ubuntu.com/p/CgtDFcz9C9/14:47
currybullenTJ-: thanks!14:47
TJ-Firefishe: it worked! with github14:47
TJ-Firefishe: I had to enable tunnels14:48
FirefisheTJ-: How do I do that?14:48
Sven_vBsometimes you can also use the non-encrypted version by changing the URL to http:// . GPG signatures should be safe enough for content validation; the only attack I know of would be for a MitM to make you believe an update is not available yet.14:48
TJ-Firefishe: "sudo dpkg-reconfigure -p high apt-cacher-ng"14:49
Sven_vB(with HTTPS, the attacker could still block access to the update but it would result in an apt error.)14:49
TJ-Firefishe: then restart it "sudo systemctl restart apt-cacher-ng"14:49
TJ-Sven_vB: that isn't the issue we're resolving here14:50
TJ-Firefishe: you'll see apt reporting "[Connecting to proxy ..."14:51
Firefishehttps://pastebin.ubuntu.com/p/BBY2JTmFb5/14:52
=== Anton is now known as anton
TJ-Firefishe: I see "Get:1 https://github.com/retorquere/zotero-deb/releases/download/apt-get ./ zotero 5.0.96.3 [64.1 MB]" ... "Fetched 64.1 MB in 31s (2,090 kB/s)"14:52
TJ-Firefishe: did you see any of those "[Connecting to proxy..." messages flash up and then disappear when connection is established?14:53
FirefisheTJ-: No.14:53
Firefisheand the service is running14:55
TJ-Firefishe: let's collect more info. What is the complete apt command you're using ?14:57
Firefishesudo apt upgrade14:58
TJ-Firefishe: use this "sudo apt -o=Debug::Acquire::https=true upgrade |& tee /tmp/apt.log "14:58
TJ-Firefishe: then share the log with "pastebinit /tmp/apt.log"14:58
Firefishethat last command here?14:59
TJ-pastebinit is a command and it'll send the /tmp/apt.log to paste.ubuntu.com15:00
TJ-then you can share the URL it gives15:00
KBarTJ- sorry to interrupt. Does it require a login?15:01
Gallomimiait does not15:01
FirefisheTJ-: https://paste.ubuntu.com/p/Y5szTQkfGB/15:01
TJ-KBar: no, the problem is nasty characters in the github redirect that trip 'apt' up, so we're trying to avoid that by putting apt-cacher-ng in front of apt15:02
FirefisheTJ-: Taking a quick break.  Back in five15:02
KBarGallomimia, woah! much more convenient than going to paste.ubuntu.com, logging in and doing all that type of stuff. good to know! will come in handy. thank you15:03
KBarTJ- I see. Thanks. You are all awesome!15:03
TJ-Firefishe: ok, looks like your proxy isn't bein used15:03
FirefisheTJ-: Back15:06
FirefisheTJ-: So it's not being used, eh?  How to make it work?15:06
FirefisheTJ-: I appreciate your time spent.  Thank you for the assistance today.15:07
TJ-Firefishe: with the same Debug:: option here in the log I see things like "0% [Connecting to HTTP proxy (http://localhost:3142)]HTTP/1.0 200 Connection established "15:10
FirefisheI see15:10
TJ-Firefishe: as you do not see those in your log that makes me think the apt.conf.d/proxy isn't being used15:10
TJ-Firefishe: what does this show? " cat /etc/apt/apt.conf.d/proxy "15:11
TJ-Firefishe: I created that file here which has "Acquire::http { Proxy "http://localhost:3142"; }"15:11
FirefisheTJ-: https://paste.ubuntu.com/p/yZQshhXRzD/15:13
TJ-Firefishe: so we have the same.15:14
FirefisheTJ-: I'm trying to wrap my head around what apt-cacher-ng is doing.15:17
FirefisheTJ-: I get what we're trying to get accomplished.15:18
TJ-Firefishe: apt-cacher-ng is a HTTP proxy so it has the code to follow Location: redirects itself, so it does those not apt, which should work-around the bug15:19
FirefisheUnless those port numbers are borked or something15:19
FirefisheTJ-: Maybe a reboot?15:20
TJ-Firefishe: no, this isn't windows15:20
FirefisheTJ-: I get it.15:20
TJ-3142 is the standard port :)15:20
FirefisheTJ-: Oh, I meant the port number after the github url.  Never mind.  I'm comlicating it and thinking in the wrong areas.15:21
Firefishecomplicating15:21
Gallomimialol. not windows :)15:23
Gallomimiai love comedy when i first wake up. makes my day15:23
Firefishe TJ-:  I think I saw  those popups  you were talking about.  Getting headers in brown/gold fonts?15:25
FirefisheTJ-: I need to skedaddle.  I've been up far too long from my  night audit hotel job in the commons area and I'm getting loopy.  Gotta drive 20 miles home, too.  Thanks for your help today.  I'll keep working at it.  firefishe@gmail.com is my address if you want to add to this.  Thanks TJ-, Sven_vB, and everyone.  I appreciate it.  Be Well!15:26
Sven_vBis https://pkg.surfacelinux.com/debian the repo that caused the github URL problem in apt?15:30
TJ-Sven_vB: not directly; it redirects to a github URL which in turn generates a really long querystring'ed URL with that breaks apt on 20.0415:35
TJ-Sven_vB: seee https://github.com/linux-surface/linux-surface/issues/625#issuecomment-96204637315:35
ubottuIssue 625 in linux-surface/linux-surface "Ubuntu: Apt update fails with Error 401 Unauthorized" [Open]15:35
Sven_vBTJ-, thanks15:37
TJ-unfortunately apt-cacher-ng also fails. It looks like there's a space in the URL15:54
TJ-(fails on 20.04, but works on 21.10)15:54
TJ-https://paste.ubuntu.com/p/ry6K8KtWb4/15:55
swahiliQ: What'd be the quickest VPN solution I can setup in Ubuntu? My use-case is for remote desktop access (windows), clients (mac, linux, windows). Launched a OpenVPN on DigitalOcean but seems to be a "required" license version, plus would like to have a local network users can ping each other out of the box. Any tips?16:51
swahiliMy biggest issue is time, as I'm trying to help my friends but currently lacking time16:51
mybalzitchwireguard16:56
=== Ricardus_ is now known as Ricardus
s0mbr4C3123Khi18:30
tmp1hi18:33
tmp1I am trying to install several ubuntu distros side by side on encrypted partitions. unfortunately I am not "allowed" for securita reasons to mount one distos disk from another distro -I want them to be fully isolated. How can I have all distros listed and bootable from grub ?18:35
tmp1is there any trick that I am missing  ?18:36
cbreakgrub can't boot off of encrypted zfs18:36
tomreyntmp1: there's only one ubuntu distribution, with multiple flavors. there are also ubuntu derivative distributions.18:36
tmp1for now I can only make one of the distros bootable18:36
cbreaknormally there's an unencrypted /boot, and an encrypted /18:36
s0mbr4C3123Kwhat's the commands for list the channels here?18:36
cbreaks0mbr4C3123K: /msg alis help18:37
cbreakor list18:37
tmp1that's what I an doing. /boot unecrypted and different / encrypted. but grub only see one of the installed distros at a time18:37
s0mbr4C3123K /msg alis LIST *freetopic* -mode -t -show mt18:38
tmp1tomreyn: I am even installing the exact same flavor but multiple times to isolate software from each other,18:38
tomreyntmp1: can those installations share the same boot loader?18:38
tmp1tomreyn: yes18:39
tmp1but I am not able to make it multiboot. because at the moment of installation grub only see one of the partitions.18:39
tomreyntmp1: if you really want the installations to be fully isolated from one another, i.e. actually making it impossible that they access one another, you'd need to use virtualization and place them in different networks.18:40
cbreakwhy different networks?18:40
jhutchinstmp1: The hardware will always access one physical device for boot.  It may offer a menu, but you can't have more than one active boot partition.18:40
tmp1but why cant' I simply use different partitions ?18:40
jhutchinstmp1: You should be able to mount the others and chroot to them, but you're creating your own problems.18:40
cbreakthey can't run at the same time, so they can't communicate even if they have the same network18:40
tomreynyou can alternatively install them side by side, encrypted or not, but that will not prevent one installation writing to (overwriting) the other installations storage18:40
cbreakmaybe zfsbootmenu can do something18:41
cbreakbut it'd be far from automatic18:41
cbreakand of course, while the systems can't read each other's data, they can destroy it still.18:42
tmp1what I need is 2 installs of ubuntu 20.04 that have two encrypted and separate partitions with different passphrase and when I boot I wanna choose what distro to boot and what / to uncrypt18:42
tomreyncbreak: i think you were the first one to bring up zfs in this context.18:42
cbreakhmm... what else is there?18:42
tmp1I am not using zfs18:42
cbreakhmm... ok18:42
tomreyndmcrypt-luks would be the common approach still.18:42
cbreakdoes that require a separate /boot too?18:43
tmp1just a separate unencrypted /boot that may or may not be the same for the two distos, but separated and encrypted /18:43
tomreyn /boot may be encrypted with luks1, grub can boot this.18:44
tmp1the problem is that I am not able to install grub in a way it allows to boot both distros18:44
tomreyntmp1: is this uefi or bios booting?18:45
tmp1uefi18:45
tomreynso if you don't actually need full isolation then you could either place different copied of grub on the ESP, configured to boot one ubuntu variant...18:46
cbreakI currently use refind to select which boot loader to use. You could maybe do something similar.18:46
tomreyn...or you could have one of them, ideally the one with the newer grub version, manage the grub installation for both18:46
tomreynos-prober would not be able to identify the other installation if that was encrypted, so you'd need to manually manage the other systesm' grub configuration then.18:47
tmp1but since partitions are encrypted , and that I do not mount other's distro partition from the second distro... it only see and configure one single ubuntu in grub18:48
tmp1tomreyn: that seems to be the problem precisely.18:48
tmp1but how to do it manually ?18:48
cbreakif each ubuntu has its own copy of grub, you can chose between the grubs from refind18:48
cbreak(or the uefi firmware boot chooser, which usually sucks)18:49
tomreyntmp1: copy, or note down, what the grub other installations' grub configuration would be, and set that up on the original installations' grub configuration, i'd say.18:50
tomreyntmp1: though with uefi, having multiple copies of grub installed, and their configuration managed by each of the OS installations individually, may actually be easier.18:50
cbreakit's probably easiest if you have separate efi partitions, but I don't think that's needed, you can have different subdirs too probably18:51
tomreynyou'd just need to ensure that their grub shims on the ESP will not overwrite one another, i.e. will be installed to different locations on the ESP18:51
jhutchinsFull isolation: Fast swap drive rack.  Other drives aren't physically present when not needed.18:51
cbreakyeah. Or usb sticks :P18:52
tomreynhmm, yes, physical swapping of storages would also work18:52
jhutchinscbreak: That's a pretty cruel form of toture.18:52
cbreakit worked for me on freenas...18:52
tmp1it's a notebook. I have one drive only , and would like to be able to select partition to boot at boot. ;) does not look to difficult  ?18:52
tmp1but somehow is apparently ..18:53
tmp1:/18:53
jhutchinsEsternal drive rack.18:53
cbreaktmp1: if you can figure out how to configure your grub to end up somewhere else than in EFI/ubuntu, then it should be easy18:53
tomreyntmp1: i don't think it is this difficult. maybe you're just overloaded with options, because there are so many ways to set this up?18:53
cbreakbecause then you can have separate grubs18:54
cbreak(and I'd again recommend refind to actually chose between the grubs, but there are of course other options here as well :)18:54
jhutchinsI'm pretty sure that doesn't work at the partition level.  You need one common grub level with the boot menu from there.18:54
tmp1I just need one that works ;)18:54
=== rexbinary_ is now known as rexbinary
jhutchinscbreak: I think completely seperate grubs requires the BIOS/EFI boot menu to choose, and that usually means choosing among physical devices.18:55
tmp1refind produce some "security violation"  on my laptop (secure boot enabled)18:55
cbreakjhutchins: efi can chose refind18:55
cbreakjhutchins: refind then offers all the grubs and so on to boot18:56
cbreakthe entries for boot options in UEFI are not partition based, they point at a specific file in a specific partition18:56
cbreakyou can list what you've registered with `efibootmgr -v`18:57
cbreakfor me, among others, it lists Boot0001* rEFInd Boot ManagerHD(1,GPT,101abacd...,0x800,0x100000)/File(\EFI\REFIND\REFIND_X64.EFI)18:57
cbreakthat's the one I boot normally18:57
cbreaknative ubuntu has entry  HD(1,GPT,101abacd-...,0x800,0x100000)/File(\EFI\UBUNTU\SHIMX64.EFI)18:58
cbreakbut you could naturally have an other grub in XUBUNTU, LUBUNTU, UBUNTWO or what ever18:58
tmp1I will try with refind. but for now it's not booting18:59
tmp1is it secureboot compatible ?18:59
cbreakI think it can be made, but I don't use secure boot, so I'm not sure how. I think by default it is not18:59
tomreynadding another bootloader in front just to have a menu to select other boot loaders from doesn't seem to make much sense to me19:00
cbreakrefind isn't a boot loader19:01
tomreynthe uefi already provides that19:01
cbreakit's a boot choser19:01
cbreakone that's much better and much more reliable than the one in UEFI19:01
tomreynwhich problem does it solve there?19:01
cbreakrefind auto-discovers grubs, clovers, opencores, windows, and a bunch of others19:01
tomreynin this concrete scenario19:02
cbreakso you don't have to be sure that all the different loaders are correctly registered with efi via efibootmgr19:02
cbreakand if you add / change something, you don't have to make sure the entries are kept up to date all the time19:02
cbreakI use refind for convenience and reliability19:03
cbreakbut it isn't neccessary19:03
cbreakif you know how, you can register the different grubs via efibootmgr (and I think ubuntu will do that on its own too normally)19:03
tmp1seems refit is my way19:04
tmp1trying.19:05
tomreyni see. maybe it's just that i lack experience with refind then. but adding it into the loop seems to increase complexity rather than decreasing it, especially with secureboot.19:05
cbreakrefit is a different thing19:05
cbreakrefind is in apt19:05
tmp1refind, sorry19:05
cbreak(and I think it's newer)19:05
cbreakwell. No comment on secure boot.19:06
cbreakI've never seen the point in that, and never tried it19:06
cbreaktomreyn: I've just had bad experiences with efi entries getting lost / overwritten / ...19:07
cbreaknot particularly with linux, but also with OpenCore / Clover on hackintosh19:07
tomreyncbreak: that doesn't seem to be part of tmp1's scenario19:07
cbreakwell, it is multi-boot related19:08
=== coconut_ is now known as coconut
TJ-tmp1: I don't see any reason why you cannot have several EFI-SP partitions, one per distro install, when using UEFI boot (as long as you ensure each distro does use a different EFI-SP - the installer can sometimes ignore your instructions so you'd need to do that part manually) The UEFI firmware boot entries include the partition index to use to read the boot loader19:15
tmp1let me try this19:16
TJ-tmp1: "grub-install" won't like multiple EFI-SPs; you have to trick/fake it19:18
tmp1how ?19:18
cbreakTJ-: is that easier than just using different subdirs in one EFI?19:20
TJ-cbreak: well, tmp1  said they want to keep them all isolated. If you allow all the ubuntu installs to use the same EFI-SP they'll all think they own /EFI/ubuntu/ and overwrite files there, which for LUKS protected installs will include the cryptdisk device for that installation19:22
TJ-cbreak: if the GRUB_DISTRIBUTOR variable is over-ridden then yes, separate directories in a single EFI-SP would work19:23
cbreakI would try to make ubuntu use a different subdir name19:24
TJ-tmp1: ^^^ the path in EFI-SP is formed as /EFI/${GRUB_DISTRIBUTOR}/19:24
tmp1trying19:25
TJ-tmp1: so you could do for each distro " echo 'GRUB_DISTRIBUTOR="distroX"' > /etc/default/grub.d/local.cfg "19:25
TJ-tmp1:  changing distroX for each of course19:26
tmp1but grub-install from one distro do not see the others..19:26
TJ-tmp1: that's what you want if you want them isolated. You then use the UEFI boot menu stored in the firmware NVRAM to choose the distro to boot19:28
TJ-tmp1: because each distro is inside a different LUKS container, each needs its own GRUB that knows which LUKS device to unlock19:29
tmp1is there any online ressource documenting it ?19:29
tmp1yep, that's my "problem"19:29
cbreakif you have distinct, separate grubs, that should work I think...19:29
cbreakthey're basically as separate as windows from linux would be, dualbooting19:30
useruserp19:30
nshirelaptopanyone know why my apt download is going so slow? It's going at only 40kbps over mobile broadband, meanwhile my speedtest is showing 8MBps20:33
nshirelaptopGet:2 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 firefox amd64 94.0+build3-0ubuntu0.20.04.1 [56.0 MB]20:34
nshirelaptop21% [2 firefox 46.2 MB/56.0 MB 82%]                         70.5 kB/s 33min 38s^20:34
iorianshirelaptop, idk, probably your isp transparent cache  ?20:35
nshirelaptopI am on a connection that is ipv6 btw20:35
nshirelaptopapparently the ubuntu servers just son't work with ipv620:38
nshirelaptopthe workarounds all say to disable ipv6 and force it to use ipv4... which is a problem when the connection is ipv6-only20:40
cbreakaren't there ipv6 mirrors?21:14
TJ-nshiirelaptop needs to deploy DNS64/NAT64 on the gateway :)21:16
cbreakisn't that the provider's job?21:17
=== guntbert_ is now known as guntbert
tommy`I'm trying to configure vsftp but when i'm testing with filezilla i got this error: GnuTLS error -15 in gnutls_record_recv: An unexpected TLS packet was received.21:23
cbreakwhy does it try tls?21:30
cbreakdoes vsftp use tls?21:30
cbreak(normal sftp is tunneled via ssh I think)21:30
tommy`yes21:35
tommy`do you want to see the vsftpd.conf?21:36
TJ-who was it had the apt issue earlier!? I've built apt for focal with the URL patches for testing21:58
TJ-got it22:02
nshirelaptoplol that username22:03
nshirelaptopslightly inappropriate but also finny22:03
FreeBDSMhi. Trying to build a rust project for ubuntu 18.04, it throws an error that I don't have `ncurses.h`, which package provides that file?22:03
ibdheloo22:04
FreeBDSMah, looks like libncurses5-dev22:05
FreeBDSMthanks!22:05
nshirelaptopFreeBDSM, wouldn't that be a header file you have to install yourself22:05
nshirelaptopoh22:05
nshirelaptopyou're welcome22:05
nshirelaptopanyone know of a workaround to get apt working better on ipv6? I've had this issue for several years actually. Previously I chalked it up to a bad data connection but in reality it's something to do with apt repos22:07
nshirelaptopbasically my mobile hotspot ONLY does ipv6, no ipv4. all the workarounds say to disable ipv6 connectivity.. which only works for people who have dual ipv4 and ipv6 connectivity22:08
Bashing-omnshirelaptop: Do not recall how old - but look at https://www.vultr.com/docs/force-apt-get-to-ipv4-or-ipv6-on-ubuntu-or-debian .22:09
okaaaaahi all! i posted a bug on https://bugs.launchpad.net/ one month ago. the bug is not assigned yet. its my first bug. can somebody explain how this process usally handled?22:27
TJ-okaaaaa: it depends on a package maintainer seeing the bug and being interested in fixing it. If the package is directly imported from Debian for example, then it needs reporting to Debian directly, since Ubuntu imports and builds the Debian package but doesn't maintain patches22:40
TJ-okaaaaa: give us the bug URL22:40
tomreyntommy` / cbreak: vsftpd is an FTP server, which also supports FTP+TLS=FTPS. It does not support SFTP, a file transport protocol based on SSH, which in use (available commands), not in implementation (different code), bears some similarities to the FTP protocol. SFTP (think OpenSSH) provides much better security than FTPS (think vsftpd) does, should be preferred. I think FileZilla supports both protocols.22:52
tommy`tomreyn: i just solved by fixing user and group problem22:52
tomreyntommy`: very well. keep in mind that FTP(S) is annoying (and somewhat resource intensive) to use with firewalling and NAT, though. https://en.wikipedia.org/wiki/FTPS#Firewall_incompatibilities23:11
tommy`tomreyn: now I'm struggling to understand how give access to the user other folders23:11
tommy`with vsftpd it's not so immediate23:11
tommy`i want give him access to a folder that is from another user23:12
tomreyntommy`: i do not remember how to configure vsftpd, but i think they have good documentation. i haven't used it in years, and would recommend replacing it by an openssh server.23:13
tommy`openssh allow transfer big files?23:14
tomreynsure23:14
VMGuy23I am using Ubuntu 21.04 (about to upgrade) and using KDE. I set my colour scheme to Haptic (HapticDark) and now System Settings won't open.23:14
VMGuy23Help?23:14
=== Guest6346 is now known as swahili
diniwedlooks like the chromium snap that ships with ubuntu 21.10 does not have the Ozone platform patches... any way I can work around this?23:42
matsamanis there a non-snap?23:45
tomreyndiniwed: https://github.com/ungoogled-software/ungoogled-chromium-debian should probably work23:50
okaaaaaTJ- see pm23:57

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