/srv/irclogs.ubuntu.com/2021/08/20/#ubuntu.txt

pacmanntomreyn: uh. good news and bad news. After I renamed and changed the permissions of vmlinuz, update-grub found the kernel, but then the system wouldn't boot with the new kernel or the old ones00:01
merpnderplol, that's so Linux. Everyone uses something else.00:02
pacmanntomreyn: now booted in recovery mode with the old kernel00:02
tomreynpacmann: neither the new nor the old ones? that's weird.00:02
tomreyncan you show ls -l /boot again00:02
pacmanntomreyn: yeah sure, I also took pictures of the error messages if there's a way to post those00:03
tomreyndid you grub.install, too? (you should not have needed to)00:03
tomreynimgur.com00:03
pacmannno00:03
pacmannrecovery mode graphics are really slow though so I'm not sure how much I'll be able to do00:04
merpnderpLooks like Ubuntu comes with Seahorse.00:07
tomreynmerpnderp: you don't want that00:07
pacmanntomreyn: here's ls https://paste.ubuntu.com/p/TGNnhs4wfd/00:08
merpnderptomreyn: what's wrong with it?00:08
tomreynmerpnderp: there are a few thigs right with it00:08
tomreynjust search the web about it, you'll find a trove of problems00:08
tomreyn"Dec 31  1969"?! i've never seen this00:11
tomreynline 500:11
merpnderpWhat about the CLI tool pass ?00:11
merpnderpNot sure how I'd share it with my phone.00:12
tomreynpacmann: so there's no initrd to it, right?00:12
tomreynto your new kernel image00:12
pacmanntomreyn: Beats me, I got this computer this year. I didn't install a initrd.00:13
tomreynpacmann: also, you didn't reposnt to     also, what's this kernel image you are trying to boot - did you build it yourself?   earlier, do you want to?00:13
tomreynpacmann: you should also rename the System.map file to be in line with the custom kernel00:14
pacmannOh yeah for sure.00:15
tomreynpacmann: so, was there an error message trying to boot?00:15
pacmannIt's a standard kernel I built myself00:15
merpnderpSo is chromium a good browser to use?00:15
pacmannhttps://imgur.com/a/NtqTfQS00:16
pacmannFirst is booting the new kernel, second is booting the old kernel00:16
tomreynpacmann: is secureboot enabled?00:17
pacmanntomreyn: not sure. just renamed and changed permissions of System.map00:19
tomreynpacmann: this is proper Ubuntu, not a derivative, right?00:20
pacmannYes, 20.04.2 LTS00:21
tomreynwell, try disabling secure boot, since it seems to be enabled, and disabling it should let you work around the certificate error00:21
tomreynmaybe just a cold boot would also help00:22
pacmanntomreyn: ok sure00:22
tomreynpacmann: we should have looked at grub.cfg, too. maybe your latest upgrade-grub has caused grub to change the other entries, too00:28
pacmanntomreyn: gosh darn it, same thing happened. I checked UEFI settings and secureboot seemed to be off00:29
tomreynlets see grub.cfg then00:30
pacmanntomreyn: ok. I should say i also did grub-mkconfig -o /boot/grub/grub.cfg at one point00:32
pacmannsorry i'm replying slow, its because my computer is slow rn00:32
tomreynno problem00:33
pacmanntomreyn: https://paste.ubuntu.com/p/nVjpTksJHt/00:35
tomreynat some point i'll need you to explain why you think your kernel image can boot without an initrd.00:35
pacmanndon't ask me, I'm just following this tutorial: https://opensource.com/article/19/8/linux-kernel-21st-century00:38
tomreyn"don't ask me what i'm doing, i'm just following some random how.to i found somewhere on the internet"00:40
pacmannAm I supposed to do things on my computer without consulting online resources?00:41
tomreynif you have good man pages installed that could be sifficent00:42
tomreynsufficient00:42
pacmannyeah, i guess youre right00:43
tomreynmy poiint is moe that you have mabe not tried hard enough to understand why an initrd is normally needed. and thius guide is not entirely right but also not directly applicable00:43
tomreynsorry about my typos00:44
tomreynanyways, we should focus on getting things working again00:44
tomreyni'll post an 21.04 uefi boot grub.cfg in a minute00:44
tomreyn(so you can compare to yours)00:45
tomreynoh 20.04 actually00:45
tomreynhttps://termbin.com/wwdn00:47
pacmannok thanks I'm looking at that00:49
tomreynpacmann: ls -l /boot  for this system is https://termbin.com/t9xw00:55
su3IengaHello there ubuntu!00:58
pacmannok should I just cp it to /boot/grub/grub.cfg and then try rebooting?00:58
tomreynpacmann: the 5.11.0-27 kernel entry in your and my grub.cfg looks pretty similar really. notable differences: yours provides the root file system as a device name, not UUID (but this doesn't need to be a problem), and you have those extra kernel options: i8042.nopnp=1 pci=nocrs00:58
su3IengaPlease, can someone help me? i'm looking the way to make geany editor order code...Any suggestion?00:59
tomreynpacmann: your root file system UUID will differ. you can run lsblk to determine yours.00:59
tomreynpacmann: sorry, i got this wrong, your system does use UUID01:00
tomreynjust not for the custom kernel01:00
tomreynpacmann: do check that UUID=7b38edc7-e5f7-4513-86f3-101740c2d783 is actually your root file system, using lsblk though01:01
pacmanntomreyn: yes it is01:02
tomreynpacmann: hmm, could this be a problem with the nvme or the 'bios'? have those behaved erratic in the past?01:04
tomreynpacmann: and how have you booted now? a live system?01:05
pacmanntomreyn: no they haven't so far01:06
pacmanntomreyn: i selected 'recovery mode' with the old kernel in grub01:06
tomreynah so this works? because you said the old kernel imaghes no longer work01:07
pacmanntomreyn: yeah weirdly i get the error messages when just booting normal mode with all kernels but recovery mode works01:07
tomreynso it's either a matter of "f*** nvidia" or cpu microcode updates01:08
pacmanntomreyn: hm.01:09
pacmanni have to got in about 20 minutes unfortunately01:09
pacmannthank you for your time so far01:09
tomreynso try booting Advanced -> 5.11.0-27-generic with the "nomodeset" option01:09
tomreyni.e. the non-"(recovery mode)" one.01:10
pacmannok. I think that one didn't work before01:10
tomreynthen try the 5.11.0-25-generic non-recovery01:11
tomreynbut with the extra nomodeset" option01:11
tomreyn!bootparm01:11
tomreyn!kernelparm01:11
ubottuTo add a one-time or permanent kernel boot parameter see https://wiki.ubuntu.com/Kernel/KernelBootParameters01:11
tomreynpacmann: and you're welcome, and sorry for being a bit rude there.01:12
pacmanntomreyn: no worries! ok i'll try that here goes01:15
tomreynsu3Ienga: maybe geany has a dedicated support forum, have you tried there?01:30
tomreynapparently their preferred support channel is a mailing list https://www.geany.org/support/mailing-lists/01:32
tomreynthere is also channel #geany here with 9 users.01:32
=== dyCrazyEd is now known as CrazyEddy
awerty_zhou:203:30
=== xenial is now known as Guest3299
abhijitHi All. how to open same app as different instance in different Gnome workspaces?04:45
yukiupctrl+alt+f205:12
zetheroowhen installing updates I get about 15 lines of output looking like this W: Possible missing firmware /lib/firmware/i915/skl_guc_49.0.1.bin for module i91505:34
hjeldinhello everyone, can anybody help me troubleshoot an issue? my screen goes to sleep as soon as i boot ubuntu 21.04. i'm running on a rx6800 xt with amdgpu drivers, kernel version 5.11.0-31-generic, boot command: BOOT_IMAGE=/boot/vmlinuz-5.11.0-31-generic root=UUID={my_uuid} ro quiet splash vt.handoff=7. the only way to get any image is by unplugging and plug back the display port cable.07:04
yukiuptry a different display port?07:06
hjeldinsame result07:06
yukiuplike hdmi?07:06
yukiupdvi?07:06
hjeldini tried using a different DP port, same result. i'll try with HDMI, but i would really like to be able to use display port cause my monitors are daisy chained07:08
Junxtercheclk the logs07:09
Junxtersee why it goes the sleep07:09
hjeldini checked dmesg but didn't get anythin useful07:10
Junxterif possible, hook up another screen?  eliminate one thing at a time07:10
hjeldinhttps://pastebin.com/dLkaJT7v07:11
hjeldini may try, but the screen works fine while using windows on the same pc, so i'd say it's something related to the drivers maybe?07:11
weqis there any tool that can help me validate a preseed.cfg file? Or how do you troubleshoot that the debconf preconfig is "corrupt" ?07:13
weqfound /var/lib/preseed/log07:20
pycode1hello07:36
pycode1i am trying to use woeusb to create a bootable usb for win 1007:36
pycode1i got Some mountpoints are not unmount/cleaned successfully and must be done manually07:36
pycode1but i have unmounted it07:36
alkisgWhat is the output of this command? lsblk --fs | nc termbin.com 999907:40
pycode1alkisg, back08:00
pycode1pardon08:00
pycode1one moment08:00
pycode1https://termbin.com/3non <--- alkisg08:00
pycode1but i unplugged and plugged again08:01
alkisgRun: sudo umount /dev/sdc108:01
alkisgThen try your tool08:01
pycode1alkisg, pardon for asking maybe a stupid question but... is not /dev/sdc ?08:01
pycode1qhy that 1?08:02
alkisg└─sdc1 exfat          D405-B323                              52,2G    10% /media/damiano/D405-B32308:02
pycode1so sdc is the device sdc1 is the partition of the device?08:02
alkisgYes08:02
pycode1perfect08:02
pycode1yay it is runnign!! thanks08:03
zambai'm looking to install something that will monitor in detail how much bandwidth my server is consuming08:23
zambai want this to be sorted by ip as well08:23
zambawhat tool can do this?08:23
zambai'm primarily interested in upload as this is a web server08:24
ducassezamba: look at ntop-ng, but it might be overkill08:39
PPe2zamba: iftop08:43
zambaducasse: actually don't think so :)08:47
dustdid u already change that at install with lvm the swap size is changed to double the ram size or at least it can be changed?08:49
ducassezamba: it's a little involved, but super flexible08:51
zambaducasse: how does it handle history?08:58
zambais it possible to go back to a point in time and see how much bw a peer was consuming then?08:58
ducassei'm really not sure, but i think they have an irc channel08:59
ducasseapparently not on libera, check their site09:02
=== denningsrogue8 is now known as denningsrogue
gordonjcpmorning09:46
gordonjcpis there an "easy" way to remove all the weird Asian (or at least non-Latin) fonts in Ubuntu09:46
gordonjcpI'm tired of having to scroll past pages and pages and pages of weird squiggles to select fonts09:46
gordonjcpI don't read Khmer, so there's not really any point in being able to display it09:47
alkisggoddard: something like this? apt purge 'fonts-tlwg*' 'fonts-smc*'09:49
alkisgOr just run dpkg -l | grep fonts-, and see which ones you don't want09:49
pascal18250Bonjour à toutes et à tous .10:10
ducasse!fr | pascal1825010:11
ubottupascal18250: Nous sommes desoles mais ce canal est en anglais uniquement. Si vous avez besoin d'aide ou voulez discuter en français, veuillez taper /join #ubuntu-fr ou /join #ubuntu-qc. Merci.10:11
arkanoidI am dealing with an ubuntu system that fails to start systemd-resolved10:56
arkanoidon restart it hangs10:56
arkanoidafter two minutes it goes: systemd-resolved.service: Start operation timed out. Terminating.10:57
arkanoidalso "systemd-resolve --status" hangs10:58
=== colab is now known as MaboColab
kilzoolI am suprised you are on the internet without that systemd-resolved working.11:03
MaboColabhi there! I'm using colab11:03
kilzoolI would check your /etc/hostname and and /etc/resolv.conf11:04
kilzoolfor instance:  in /etc/hostname : have one line with  arkanoid-pc11:06
mgedminarkanoid: what does journalctl say about systemd-resolved?11:06
kilzoolthen in /etc/resolv.conf  have:    nameserver 127.0.0.5311:07
kilzoolthen systemctl start systemd-resolved11:07
mgedminah, found your https://termbin.com/5r54, and it doesn't say much :(11:08
arkanoid/etc/resolv.conf contains "nameserver 127.0.0.53"11:10
kilzoolok good11:10
arkanoidss -peanut | grep LISTEN | grep 53 shows no process listening on port 5311:10
arkanoidIf I try to restart the unit, it hangs on restart for 2 minuted and then fail11:10
kilzoolhmmm11:11
mgedminmy gut feeling says "check that the lo network interface is up", for no real reason11:11
arkanoidip a: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 100011:13
kilzoolare you using wired or wireless?11:13
arkanoidwired, static ip, configured via networkmanager11:14
kilzoolgnome?11:14
arkanoidno, server, command line11:15
arkanoidnmcli c shows that wired connection is up, and it's quite obvious to me as I'm connecting remotely to this ubuntu box11:16
arkanoidrouting to internet works, ping to 8.8.8.8 or 1.1.1.1 are successfull11:16
arkanoidjust to avoid losing the remote connection, I've temporarily added a new "nameserver 8.8.8.8" line in /etc/resolv.conf, and now everything is resolving again11:18
arkanoidI've also tried to "nmcli c reload" and "nmcli c up my_wired_connection" and operation was successfull11:18
arkanoidI thing I'm dealing with a general systemd failure state11:20
arkanoidalso "timedatectl status" hangs11:20
arkanoidFailed to query server: Failed to activate service 'org.freedesktop.timedate1': timed out (service_start_timeout=25000ms)11:20
arkanoidalso "sudo systemctl restart systemd-timedated.service" fails11:22
mgedminuh oh11:26
mgedminsomething is clearly wrong with your system; it's hard to say what without seeing a more full journalctl extract11:27
arkanoidmgedmin: please tell me11:31
mgedminarkanoid: journalctl -b | nc termbin.com 999911:32
arkanoidsorry, can't share 2 months of log11:33
arkanoidI'm searching through the log when this problem first happened11:36
arkanoidproblem happened first 1 month ago, the previous error was: systemd[1]: (sd-executor) terminated by signal ALRM.11:39
mgedmindoes rebooting help?11:50
arkanoidmgedmin: can't reboot, it's in a remote location that is closed due to summer days. Have to wait monday12:08
lotuspsychjearkanoid: is that on a GUI you are?12:11
arkanoidlotuspsychje: no, command line12:16
lotuspsychjearkanoid: ah ok, otherwise you could have tried stacer12:16
arkanoidlotuspsychje: I could always ssh -X12:17
arkanoidbut is a gui worth it?12:17
arkanoidproblem is quite clear and is deep down init process12:17
lotuspsychjearkanoid: stacer lets you handle systemd services GUI12:17
lotuspsychjeworth a shot12:17
lotuspsychje!info stacer12:18
ubottustacer (1.1.0+ds-1, hirsute): Linux system optimizer and monitoring. In component universe, is optional. Built by stacer. Size 604 kB / 1,358 kB12:18
arkanoidsystemd-timed has a gui?12:18
lotuspsychjearkanoid: not sure wich services show on your system12:19
arkanoidlotuspsychje: systemctl --failed shows the systemd units that failed to run12:19
arkanoidand I see systemd-timedated.service   loaded failed failed Time & Date Service12:20
lotuspsychjearkanoid: im on desktop 20.04, see only systemd-time-wait-sync & systemd-timesyncd12:22
arkanoid18.04 here12:22
lotuspsychjeah12:23
lotuspsychje!info stacer bionic12:23
ubottuPackage stacer does not exist in bionic12:23
lotuspsychjearkanoid: 20.04 and higher12:23
arkanoidyeah, but I was not yet trying to install it12:24
ioriaarkanoid, there's an AppImage, if you're interested12:29
lotuspsychjeioria: his original issue; <arkanoid> I am dealing with an ubuntu system that fails to start systemd-resolved12:30
lotuspsychje<arkanoid> on restart it hangs12:30
ioriaoh, isee12:30
VIAhey everyone12:31
lotuspsychjewelcome VIA12:31
arkanoidare we really focusing on how to backport a gui app on a server when the problem is quite clearly limited to basic services of pid 1?12:31
VIAbig recurring problem,  when dragging a (usually browser-) window, sometimes it gets stuck  and there  seems  to be NO WAY  to unscrew that  behavior .. what is happening?12:32
VIAhey lotuspsychje o/12:32
VIAim on ubuntu 20.04 and this keeps happening. so far i found no way to   fix/undo this except locking the screen and logging in again .. often i need  to  do this more than once in  a  row to un-stick  my coursor from a window its stuck to12:33
ledeniVIA,  how much memory you have?12:36
arkanoidI've tried: "systemctl daemon-reexec" and "kill 1" but still "Failed to restart systemd-timedated.service: Connection timed out"12:55
tokamHi whats again the name of the program to view stored passwords12:57
tokamgnoem12:57
tokamgnome12:57
BluesKajHi all12:57
lotuspsychjetokam: seahorse?12:59
tokamyes12:59
=== EriC^ is now known as EriC^^
sharperguy_Hi, is there a tool that is easy to install on ubuntu, that can be run as a regular user to execute a command in a network namespace?14:40
leftyfbsharperguy_: you're going to need to be more specific than that14:45
cbreakwhat's a network namespace?14:49
cbreakone of those virtualization thingies?14:49
cbreaklxd installed via snap can be run as normal user... at least some of the commands can be.14:50
leftyfblxd needs to be installed and initialized using sudo. the client to create and manage containers can then be run by a user without admin privs14:51
sharperguy_network namespaces are created using the "ip netns" command14:57
leftyfbsharperguy_: what is your end goal? What are you trying to accomplish exactly?14:58
sharperguy_"ip netns exec" allows you to execute a command inside the namespace, but requires root, so i'd like to be able to have a way for a normal user to execute a command inside the namespace14:58
leftyfbwhy?14:59
leftyfbwhat is the end goal?14:59
leftyfbwithout mentioning the word "namespace"14:59
sharperguy_to allow traffic shaping of the application14:59
leftyfbsharperguy_: ok, I'm pretty sure traffic shaping is going to require admin privs no matter what15:00
sharperguy_yeah but that can be set up beforehand, allowing the user to just execute the command in the "shaped" namespace or not15:01
ioria!info slirp4netns15:01
ubottuslirp4netns (1.0.1-1, hirsute): User-mode networking for unprivileged network namespaces. In component universe, is optional. Built by slirp4netns. Size 33 kB / 100 kB15:01
=== genii-core is now known as genii
sharperguy_that seems interesting15:01
leftyfbah, uses a TAP15:02
ioriasharperguy_, https://github.com/rootless-containers/slirp4netns/blob/master/slirp4netns.1.md15:03
bleikornClient: HexChat 2.14.3 • OS: Ubuntu "hirsute" 21.04 • CPU: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz (2,70GHz) • Memory: Physical: 15,2 GiB Total (11,5 GiB Free) Swap: 7,4 GiB Total (7,4 GiB Free) • Storage: 299,6 GB / 1,1 TB (775,6 GB Free) • VGA: Intel Corporation HD Graphics 620 @ Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers • Upt15:10
bleikornime: 7h 1m 17s15:10
memphistoHi15:23
memphistoi have luks encrypted disk15:23
memphistoand i've add small disk15:24
memphistoand want to use it as cache disk15:24
memphistobut i'm not sure how to do it15:24
memphistoshould i encrypt it too ? or just extended without encryption15:24
memphistowill it boot or i'll be left with nonbootable system15:25
webchat94hey im having trouble with firefox and choppy video playback on youtube anyone know how to fix it? i have a celeron n4020 cpu with uhd 600 graphics.15:36
=== seednode2 is now known as seednode
memphisto@webchat94 has this worked before?15:42
webchat94no15:42
memphistonew install ?15:42
Kelwebchat94: is it only choppy when you have another application in the foreground?15:42
webchat94yes im on the latest version of ubuntu15:42
webchat94its always choppy15:43
memphistoissue seen on youtube only or also on local video files (mplayer, vlc..)15:43
VIAis  there a way i can reset/remove all  bluetooth settings ? i got a  new adapter but as soon as i enable bluetoot hconnectivity, the tray-symbol disappears and its all gone15:43
VIAits a  5.0 device, the old 3.0 device doesnt do that (but also doesnt work because its too old)15:44
webchat94ive not tested that yet but i'll try that but so far its just youtube ive had problems with on my system i did some gaming and that worked ok15:44
ahmetliiwebchat94: try reinstalling and check your graphics settings? also celerons are known with their inability handle most activities on the computer (specifically and especially old versions)15:44
Kelhttps://support.mozilla.org/en-US/kb/enable-drm Make sure this is also enabled15:45
KelWideVine is a pig as far as resources but it might help?15:45
memphisto@webchat94 test local video before proceeding. if issue seen on local files then check video drivers, or if its only you tube check what Kel sent and we'll see if it helps15:47
Kelaye, tis good work up15:47
webchat94how do i install better drivers? i think it might be bad drivers or something because i never had streaming issues on windows with 4k15:48
webchat94i checked my plugins and widevine isnt there15:50
memphistotry with mesa first   https://launchpad.net/~kisak/+archive/ubuntu/kisak-mesa15:51
webchat94thanks will do15:51
webchat94just curious is it possible to install official intel graphics drivers on linux also15:52
memphistohere https://01.org/linuxgraphics/downloads/stack15:53
webchat94thanks15:53
VIAthis is an  eror i got after trying to restart services https://i.postimg.cc/xCf5xc3W/bluetoo-ERR01.jpg16:01
goddardhey16:16
goddardhow do people change their powerline theme16:16
goddardany existing options?16:16
didachello people16:29
didachola gente16:29
KrimZonhi16:29
didacI want, update anbox android image, but i don't know how do it16:30
KrimZondidac: I think that's "sudo snap refresh anbox"16:31
KrimZonoh, the android inside it? I'm not sure16:32
didacwell, update all anbox, but only want upgrade android image, for another android more new16:32
didacKrimZon, yeah only android16:33
didacI saw anbox cloud, androids more new, and i want update it16:36
didacit's the same anbox and anbox cloud?16:40
=== daevski6 is now known as daevski
leftyfbdidac: you'll need to seek support from andbox16:45
leftyfbanbox*16:45
didacat the channel16:46
didacok16:46
didacthanks16:46
hajonnesI just installed GSconnect, similar to KDEconnect, from gnome repro with synaptic. To use it I need to launch it. but when I click on installed apps I get nothing. what can be wrong? here is the app https://github.com/GSConnect/gnome-shell-extension-gsconnect/wiki/Help#connecting-an-android-device17:17
hajonnesMy install of ubuntu is a little strange. apt autoremove reomoves among other things my nvidia drivers which I use. Is something fundamentally wrong with my install so I should reinstall it? I have had it for just a couple of days. @ubuntu 20.04.17:21
PriceyFrom https://snapcraft.io/geforcenow I run `17:33
Priceysudo snap install geforcenow17:33
Pricey` and get "error: snap "geforcenow" not found" - any ideas?17:33
ioriamaybe it's 'geforce-now-desktop', but never used so i can't tell Pricey17:35
Priceyioria: The first link I gave, gives me the "sudo" command.17:35
ioriato install it, yes17:36
PriceyGiven that I can't find it in the ubuntu store, I'm guessing snapd isn't connected to the store properly somehow. I think I've had issues when needing to log in.17:36
ioriaPricey, run 'snap find geforce'17:36
Priceyioria: That does find geforce-now-desktop, but that's by another author. not popey.17:37
ioriai see17:37
Priceyhttps://snapcraft.io/geforce-now-desktop17:37
ioriapopey, ^^17:38
Priceyioria: Thank you for pointing me to the other one though. I just saw popey's name and trusted he wasn't a monster. Will take another look at the other.17:39
ioriaok17:39
PriceyMaybe popey's delisted his in some way due to leave things to the other offering, but something's borked..17:39
ham5urgI have a weird problem, my m.2 ssd disk is shown by the EFI-system. Grub got loaded and Grub loads the kernel. But the kernel can't load the intird. Further if I boot via some installation-iso via usb-stick, the HD is not shown up. I run the EFI-check / SMART check, without failure. What can cause my problem?17:41
dustdid u already change that at install with lvm the swap size is changed to double the ram size or at least it can be changed?17:41
ham5urgUbuntu 20.04 is my version.17:42
bmWhat exactly does pressing CTRL-C do in Terminal? I can see from my program's behavior that it does something more than just sent SIGINT.17:56
FreeaqingmeHello! I'm installing ubuntu 20.04 using the classic iso, and I'd like to create some namespaces on my nvme drives before partitioning. As such, I thought I'd drop to a shell, apt-get install nvme-cli, and do my thing. However, apt-get doesn't seem to be available at this stage. What's the best way to go about it?17:58
bmFreeaqingme: doesn't "Try Ubuntu" live CD mode work?17:59
Freeaqingmebm: yeah that'd probably work. I should have said though that it's ubuntu server, which doesn't come with a live mode.18:03
FreeaqingmeObviously I _could_ just boot another CD first, though it'd be more neat to do so from the installer18:03
atal181I have to install Ubuntu 20.04 in multiple computers with same hardware configuration. What is the fastest way of installation ubuntu 20.04 desktop.18:04
Freeaqingmeatal181: how many computers approximately?18:05
atal181100 computers18:05
cbreakinstall it once, then dd the installation to 99 other hard disks?18:05
Freeaqingmeatal181: I'd look into pxe18:05
cbreak(with an external hot-swap HD bay)18:06
=== EriC^ is now known as EriC^^
atal181cbreak: each machine have own machine-id some other stuff. Don't it make some issues?18:08
cbreakmachine id? like the MAC? That's stored in hardware18:08
cbreakthe name can come from DNS / DHCP18:08
bmFreeaqingme: apparently pressing CTRL-ALT-{F2 through F6} switches you to another console (not the installer window). See if you can work something there?18:09
cbreakthe SSH server private key? I think that's generated on first start? Not sure. Maybe you need a script to fix that up18:09
Freeaqingmebm: yeah, that's where I was doing my thing. I have 'udpkg', but not 'dpkg' or 'apt-get'. running 'udpkg /.../apt_*.deb' works, but when running apt afterwards I get a lot of errors about missing .so's. So I figured I may be missing some default option to do this18:10
bmFreeaqingme: maybe try building nvme-cli from source (preferrably with static linking) and put it on the machine. It's probably not the right way but it'll get you through the quickest.18:15
FreeaqingmeI just need to do it on three boxes18:15
Freeaqingmeso I'm just going for the live version for now18:15
Freeaqingmethanks :)18:15
cbreakwhat's the benefit over just partitioning normally?18:19
Freeaqingmecbreak: I want a mdraid/ext4 root partition, and then for my data run ZFS off the other namespace. I can run ZFS on mdraid as well, but it's more proper to do that right on the hardware without the mdraid layer in between (given that ZFS has its own stuff for managing hw)18:21
sarnoldFri 20 18:03:01 < Freeaqingme> bm: yeah that'd probably work. I should have said though that it's ubuntu server, which doesn't come with a live mode.18:23
sarnoldFreeaqingme: there should be a menu entry in the upper right hand corner that will get you to a shell18:23
Freeaqingmesarnold: correct! I just hit escape and then 'exit to shell' and I can perform my commands there. However, before partitioning there is no apt-get or any reasonable config available (from what I can see) to run arbitrary commands. So that's what I was looking for18:24
sarnoldFreeaqingme: ohhhh. hmm. strange. :(18:24
Freeaqingmeyeah, afaik you're supposed to chroot into the new install after partitioning. But that's a bit late for me18:24
cbreakFreeaqingme: or you can give zfs a partition.18:26
cbreakthat works totally fine.18:26
Freeaqingmecbreak: yeah, that's what I used to do. But ZFS has stuff on board to integrate with the hardware, detect a broken drive and do a lot of advanced error correction.If I put dmraid between the disk and ZFS that won't fully work18:27
cbreakyeah, don't do that then18:27
cbreakyou can partition your ssd, and give one of them to zfs18:28
cbreakno mdraid involved18:28
Freeaqingmecbreak: yeah, but you get a lot of layered file systems18:30
FreeaqingmeI thought the nvme namespacing was pretty neat actually18:30
sarnoldFreeaqingme: there's no 'layered filesystems' if you're just using old-school partitioning.. eg I've only got the one nvme namespace, but multiple partitions, and one of my partitions has a raw zfs on it -- the other one has a LUKS underneath a zfs: https://paste.ubuntu.com/p/WNbkbdCqw2/18:32
cbreakthere's no layering18:33
cbreakpartitions are a way of splitting up space18:34
cbreakit's not a filesystem itself18:34
FreeaqingmeI understand. But you do need a partition table below that18:34
FreeaqingmeThis is what I used to do, fyi: https://freeaqingme-2.stackstorage.com/s/oF1wDRL8u9HYgXS918:35
Freeaqingmeso you're right. There's not really layering, but you do miss out on certain (ZEd) zfs features by installing it in a partition instead of a drive18:36
cbreakI don't think so18:39
cbreakif your drive isn't partitioned, zfs will partition it for you18:39
=== riderjj is now known as juanjo
franHello20:26
=== diskin is now known as Guest7000
=== diskin_ is now known as diskin
ytyiutyutHello, i deleted a package from synaptic and now the "Eject" icon next to a mounted drive doesn't look the same anymore. Can anyone telll me the name of the package to reinstall, please? Thank you.20:35
blueskiesLooking to do a upgrade from server core ubuntu 19.10 (eoan is EOL and not LTS) to server core ubuntu 20.04 LTS (focal)https://pastebin.com/SNqkRzW920:36
sarnoldytyiutyut: there's probably logs in /var/log/dpkg.log20:36
sarnoldytyiutyut: maybe synaptic keeps more legible logs, it's worth looking, but if not, the dpkg log will probably help20:36
sarnoldblueskies: change the security.ubuntu.com eoan-security  line to old-releases.ubuntu.com eoan-security as shown on https://help.ubuntu.com/community/EOLUpgrades#Update_sources.list20:38
bmWhat exactly does pressing CTRL-C do in Terminal? I can see from my program's behavior that it does something more than just sent SIGINT.20:39
sarnoldIt Depends20:40
sarnoldthe stty tool can change what ^C does, and programs can do something similar themselves20:41
sarnoldand programs can of course install signal handlers to catch the signal and do whatever they want to do when they receive it20:41
devslashyea but I hate when applications trap Ctrl C or Ctrl X and ignore it20:42
blueskies@sarnold, same issue still20:42
bmThat's the thing. I catch SIGINT in my program and its behavior is different when I press CTRL-C or do "kill -SINT <pid>"20:42
bmThat's why I suspect it does something more behind the scenes.20:43
bmI suspect it also sends that signal to child processes for some reason20:44
blueskies@sarnold /var/log/dist-upgrade/main.log mWv54FbV20:46
blueskieshttps://pastebin.com/mWv54FbV20:46
=== Pokey is now known as _Pokey_
=== _Pokey_ is now known as Pokey
=== Nokaji_ is now known as Nokaji
=== Ricardus_ is now known as Ricardus
=== genii is now known as genii-core
ash_worksiso I am running 17 in a container21:27
ash_worksi17.0421:27
ash_worksiand I added `deb http://apt.postgresql.org/pub/repos/apt/ zesty-pgdg main` to sources.list.d/pgdg.list21:28
ash_worksibut when I try to `apt install postgresql-client-9.5` I get:E: Unable to locate package postgresql-client-9.521:29
ash_worksiI think I am missing something fundemental about how apt resources work21:29
ash_worksibecause this url does in-fact exist: http://apt.postgresql.org/pub/repos/apt/dists/bionic-pgdg/9.5/21:30
ash_worksioh wait21:30
ash_worksihmm21:30
kc2bezash_worksi: did you do an `apt update` to update the apt cache?21:30
ash_worksilet me try again21:30
ash_worksikc2bez: well, I need to run the correct version of the container21:31
ash_worksiright now I have zesty and that *does not* exist; so I let me look at bionic21:31
kc2bezah, that makes sense too21:31
ash_worksiokay, updated21:32
ash_worksiupdating*21:32
ash_worksiThe following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7FCC7D46ACCC4CF821:32
ash_worksifor the postgresql thing21:32
ash_worksiI guess I need to use `gpg` or something21:33
ash_worksiapt-key add21:34
ash_worksiadded21:34
ash_worksiupdating*21:34
ash_worksihmmm same message21:35
ash_worksioh, jeez, I need to learn to read a little bit21:36
ash_worksiE: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation21:37
ash_worksiaaaaaaaaand working21:37
=== xenial is now known as Guest1349
davido_sudo do-release-upgrade results in "Failed to connect to https://changelogs.ubuntu.com/meta-release. Check your Internet connection or proxy settings" when attempting to upgrade from 20.04LTS. Is this a known issue, and what is the preferred solution?21:43
davido_I am able to curl the URL listed directly.21:43
=== launchd is now known as l
TJ-davido_: compare IPv4 vs IPv6 connectivity21:46
TJ-davido_: "resolvectl query changelogs.ubuntu.com"21:46
davido_TJ- https://pastebin.ubuntu.com/p/NVFkMV3RrC/21:51
TJ-davido_: so you only seem to have IPv4 available; I'd have expected to see the IPv6 addresses listed too. Does your system have any kind of HTTTP{S} proxy configured?21:53
davido_No.21:54
davido_Additionally, I am able to successfully curl the URL.21:54
TJ-davido_: yes I noted that, which was why I wondered about IPv6 vs IPv4 - often times some tools prefer a specidic address family whereas others will let the OS decide21:55
davido_Ah, thanks.21:55
TJ-davido_: does "curl -6 ..." fail?21:55
davido_Yes. "curl: (7) Couldn't connect to server"21:56
TJ-davido_: also try "resolvectl -6 query changelogs.ubuntu.com"21:56
TJ-davido_: I'll assume you see two IPv6 addresses as a result21:56
davido_Yes.21:56
TJ-davido_: so my feeling is your system may have a local IPv6 address and therefore since changelogs also has an IPv6 is preferring to use IPv6 but your network doesn't have global connectivity.Let's try to prove that, so we know what to do. " pastebinit <( ip -6 addr show; ip -6 route show ) "21:57
davido_Interestingly, pastebinit also fails, but here's a manual paste: https://pastebin.ubuntu.com/p/3TbpMvq62s/21:59
TJ-davido_: unlikely to the IPv6; system only has link-local addresses and no default route22:00
TJ-s/to the/to be the/22:00
davido_ok.22:01
TJ-davido_: is the PC connected with a wired ethernet as well as the wifi?22:01
TJ-davido_: it could be that there's 2 conflicting paths off the PC22:01
davido_Oh, interesting thought. ...22:01
davido_It was, but turning off wifi didn't change the outcome of do-release-upgrade22:02
TJ-davido_: might need to flush caches22:02
TJ-"sudo ip neigh flush"22:03
davido_I thought sudo systemd-resolve --flush-caches22:03
TJ-that's for DNS22:04
TJ-DNS isn't going to affect routing22:04
davido_ip neigh flush requires arguments.22:04
TJ-also check the route for one of the changelogs. addresses: "ip route get 91.189.88.184"22:06
TJ-davido_: oh, add the interface for flush "sudo ip neigh flush dev wlp2s0"22:06
TJ-davido_: assuming you're on wired now!22:07
TJ-the ip route get should tell you it will use enp4s022:07
TJ-davido_: if you had 2 interfaces connected in the same subnet, it is possible the issue is on your gateway/router and it needs its neighbour cache flushing22:08
davido_Is it possible that the error message is misleading? That the document has been fetched, but that it doesn't contain an upgrade path from 20.04?22:13
davido_(sorry if that's a repeat.)22:13
TJ-davido_: hmmmm, anything is possible! I recall doing some hacking on the d-r-u scripts many years ago for subtle bugs22:14
davido_I wonder if one of the URLs around line 342 of the document fetched by do-release-upgrade may be defunct.22:15
davido_Checking that now.22:15
TJ-davido_: check " /usr/lib/ubuntu-release-upgrader/check-new-release "22:16
TJ-davido_: as in, run that command22:16
davido_same failure.22:17
TJ-that's helpful!22:17
davido_:)22:17
davido_I just verified that I can pull down each of the links seen in the meta-release document found within grep -A10 20\.04 meta-release22:19
davido_(using curl)22:19
davido_I wonder if it is because lsb_release -a reports 20.04.3 LTS, but the meta-release document only contains an entry for 20.04.2 LTS22:22
davido_I wish I could test that assumption by hand modifying the doc and feeding it in rather than having it get fetched.22:24
TJ-davido_: I've just trawled the d-r-u bugs and cannot find anything similar22:24
TJ-davido_: you may be in luck /var/lib/update-manager/meta-release-lts22:27
davido_should I have that utility?22:28
TJ-that's where the changelogs.ubuntu.com files are stored locally. You'll have a meta-release there too22:28
davido_I can manually twiddle that file, but how do I get do-release-upgrade to use it?22:29
TJ-What is fetched depends on whether you've configured the system to do non-LTS upgrades22:29
davido_I have configured it to allow non-LTS22:29
TJ-davido_: make the file immutable possibly; so it cannot be over-ridden, with "chattr +i ..."22:29
davido_wouldn't matter, though. The script dies before it gets an opportunity to use the file.22:30
davido_Also that file seems quite outdated.22:31
davido_My instance of it ends with 18.04.122:31
TJ-davido_: but I do not see anything in there to affect a choice. The entry for 20.04.2 is a TARGET for a previous release to upgrade to, not a control for the existing install22:31
davido_Ah, got it.22:31
TJ-davido_: if d-r-u dies first then editing won't help22:32
TJ-but the fact it ends at 18.04.1 means it hasn't been replace in ages. Have you done a "sudo apt update; sudo apt full-upgrade" before starting d-r-u - that'll often bring in latest requirements for upgrade-manager22:32
davido_Right. I need to dive into the code and its dependencies. Within the python code for do-release-upgrade, step through, figure out where it's specifically dieing.22:33
davido_Yeah, I do that more often that you might imagine. :)22:33
TJ-davido_: what does "apt-cache policy ubuntu-release-upgrader-core" report?22:34
TJ-I see Installed/Candidate "1:20.04.36"22:35
davido_https://pastebin.ubuntu.com/p/rT97nVbD9W/22:35
davido_well, Installed has 20.04.36, Candidate 20.04.36, Version Table gets a bunch of 500s22:35
davido_or maybe i'm misreading that. the 500s probably aren't status codes. :)22:36
TJ-they are the priority22:38
davido_It may come to me needing to download the ISO and just running it on top. IIRC usually it gives the option to reinstall or upgrade or something like that if an existing install is found.22:39
TJ-so no updates for that package waiting. My feeling is still there's some kind of proxying being attempted. Run 2 terminals. In one have "sudo tcpdump -ni enp2s0 'tcp dst port 443 and (tcpflags[tcp-syn] != 0)'  " and then run d-r-u in another; see if the network tries to connect22:41
TJ-hang on, bad syntax there!22:42
davido_yeah, i just discovered that.22:43
TJ-"sudo tcpdump -ni enp2s0 'tcp dst port 443 and (tcp[tcpflags] & tcp-syn != 0)'  "22:43
davido_you know........... ifconfig shows a docker0 adapter. I wonder....22:43
TJ-davido_: we never did check all the routes, and as pastebinit also failed22:44
TJ-davido_: can you show "ip route show table all"22:44
davido_https://pastebin.ubuntu.com/p/dfJKRcYK89/22:45
TJ-davido_: best to check netfilter/iptables rules: "sudo iptables-save"22:47
davido_sec, i was going to follow up on your previous suggestion of monitoring tcpdump...22:47
TJ-davido_: do you have squid-dev-proxy-client installed?22:48
TJ-I've just found a very similar report bug #191324022:48
ubottuBug 1913240 in ubuntu-release-upgrader (Ubuntu) "do-release-upgrade ignores APT proxy exemption" [Undecided, New] https://launchpad.net/bugs/191324022:48
davido_don't believe so.22:49
TJ-how about apt-cacher-bg22:49
davido_https://pastebin.ubuntu.com/p/BDWvMxvvrf/22:49
davido_That's the tcp dump running d-r-l twice22:50
TJ-davido_: right, so we limited that to just the inital SYN packet to avoid a flood of data. That proves the outgoing SYN is happening. Now relax that filter so you see more of the TCP stream22:51
davido_https://pastebin.ubuntu.com/p/Hw3MWgzkFG/ (iptables-save)22:51
TJ-iptables looks OK22:52
TJ-"sudo tcpdump -ni enp2s0 'tcp dst port 443'  "22:52
TJ-oops, enp4s0 of cource22:52
davido_https://pastebin.ubuntu.com/p/Kh7b7TMp3S/22:53
davido_(I think the first couple entries were from IRC. lol)22:53
davido_I should just prepare myself to drink from the firehose and run strace.22:54
davido_It's actually good that the tool is written in a scripting language. I can just step through it when I have more time tonight and see exactly where it's dieing. Once I've isolated that, it may be easier to figure out the reason.22:56
davido_For the moment I probably need to get going. I appreciate your tireless effort.22:57
davido_AFK. I'll keep the session opened in case anything comes to mind.22:59
TJ-davido_: the tcpdump looks fine so there's something else, I wonder if it is checking a signature and failing23:05
TJ-davido_: enable debugging before calling d-r-u: "export DEBUG_UPDATE_MANAGER=1"23:10
TJ-davido_: in /usr/lib/python3/dist-packages/DistUpgrade/MetaRelease.py::download() the error is caused in a generic exeption "except (URLError, BadStatusLine, socket.timeout) as e:"23:33

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