libera/#devuan/ Saturday, 2018-09-15

xkr47ok so I installed apt-cacher-ng on my devuan laptop and configured it as a proxy in my to-be-converted debian 8.2.0 installation00:04
xkr47since this was debian I could see how it works since there is an existing list of debian mirrors00:05
xkr47so it appears the whole mirror thing is just to merge all mirrors into a single directory in apt-cacher-ng00:05
xkr47so you don't get lots of copies if different hosts are used that host the same stuff00:06
xkr47soo I guess a file with the pkgmaster.devuan.org, auto.mirror.devuan.org, deb.devuan.org and all those should just be listed in the devuan file00:06
xkr47where can I get an exhaustive list of devuan servers that you have been using over the years? :)00:07
xkr47sorry I mean devuan package repositories*00:07
golinuxhttps://pkgmaster.devuan.org/mirror_list.txt00:12
golinuxxkr47: ^^^00:13
xkr47ok.. deb.devuan.org, auto.mirror.devuan.org at least missing there00:14
xkr47but good00:14
KatolaZxkr47: you shouldn't use auto.mirror.devuan.org00:16
KatolaZonly deb.devuan.org00:16
golinuxauto.mirror is deprecated an will be decommissioned when jessie is EOL00:17
KatolaZ*.mirror.devuan.org will be decommissioned00:17
golinuxCarry on KatolaZ00:17
xkr47KatolaZ, no, but if I list auto.mirror.devuan.org in the mirrors file then it will redirect requests to that one to the "wanted" mirror instead00:18
xkr47so that's why I want to list all old/deprecated urls as well00:18
KatolaZnope xkr4700:20
KatolaZauto.mirror.devuan.org is not what it seems to be00:20
xkr47?-)00:20
KatolaZI guess I am missing something00:20
xkr47what is auto.mirror then ? :)00:21
KatolaZit's just a CNAME for packages.devuan.org00:21
KatolaZwhich will be decommissioned00:21
xkr47ok00:22
KatolaZit's the old amprolla implementation00:22
xkr47so it is good for my list of past and future mirror hostnames which all get remapped to deb.devuan.org00:22
KatolaZI don't know why you need such list, but yes00:23
xkr47so that the cache can alias all of them to one server and just keep one copy of the files even if different mirrors are configured in the clients00:24
KatolaZnope00:24
xkr47so if I have some old machine with auto.mirror.devuan.org that I forgot to update, it will never actually go there, but to deb.devuan.org instead00:24
KatolaZit's not as easy as that00:25
xkr47different contents?00:25
KatolaZauto.mirror uses a different signing key00:25
xkr47oo00:25
KatolaZand partially different content00:25
xkr47okay00:25
xkr47so I should just list the ones in url you linked after all then and forget about the past?00:25
KatolaZjust use deb.devuan.org00:26
KatolaZ:)00:26
KatolaZif you are on ASCII00:26
KatolaZand even if you are on Jessie, actually00:26
KatolaZprovided that you install the latest keyring00:27
KatolaZs/key/devuan-key00:27
xkr47is the latest keyring available also in the auto.mirror.devuan.org mirrors?00:28
KatolaZyes00:28
KatolaZ(but again, dig auto.mirror.devuan.org and you will see what I mean :))00:28
xkr47-> packages -> a single ip00:29
KatolaZyep00:29
xkr47KatolaZ, btw it's called "geodns" re: "google inc"00:42
xkr47debian and gentoo apparently use that00:43
xkr47I'm getting a lot of01:07
xkr47W: Size of file /var/cache/apt/archives/partial/libsepol1-dev_2.3-2_amd64.deb is not what the server reported 165274 675401:07
xkr47for different packages01:07
xkr47... auto.mirror.devuan.org :)01:07
xkr47it works it works01:19
gnu_srs1xkr47: What works?01:20
xkr47my apt-cacher-ng devuan config01:21
xkr47I had pkgmaster.devuan.org in sources.list in a devuan installation I tried it with01:22
xkr47and it correctly mapped it to a generic "devrep" directory01:22
xkr47here's my merge request: https://git.devuan.org/devuan-packages/apt-cacher-ng/merge_requests/101:26
xkr47my second devuan MR, feeling good :)01:34
xkr47now sleep, nn01:35
xkr47thanks for all help!01:35
nimbiusdoes devuan not have an EFI installer?02:20
nimbiusI only see a BIOS partition on my installation.02:21
nimbiusdebvian squeeze seems to be able to install to /boot/EFI02:28
LeanderI think it depends on how you booted on the installation media02:31
Leandermore explicitely: how your BIOS was told to boot, in UEFI or legacy mode02:32
nimbius:I02:33
nimbiusLeander: installation media is not detected when disabling legacy USB and legacy USB 3.0 (AHCI) class devices.02:37
Leanderlegacy USB is something else02:37
nimbiusalso getting real sick and tired of DDG replacing devuan with debian :c02:37
Leanderwhen you boot your computer, you can probably hit a key like F12 to choose on which medium to boot02:38
nimbiuscould it be the image i used?  i did netinst...instead of minimal-live02:38
nimbiusLeander: without proper EFI partitioning, the USB device isnt readable as anything but a legacy device.02:38
Leanderhmm... I don't know about that part02:39
fsmithrednimbius, the netinstall should boot on uefi02:39
fsmithredthe minimal live will not02:39
nimbiusdevuan_ascii_2.0.0_amd64_netinst.iso is whaet I have02:40
fsmithredyou used dd to image a usb?02:40
fsmithredor cat02:40
nimbiuswill dd create the necessary EFI partition on the USB?02:40
fsmithredyes02:40
nimbiusdd if=source of=/dev/sde02:40
fsmithredyeah02:40
* nimbius tries again02:40
LeanderI'm trying the netinst as a DVD in a VM with EFI enabled, and the first screen shows "devuan GNU/Linux UEFI Installer Menu"02:40
fsmithredI have to go away for about 15 min02:41
fsmithredwill be back02:41
nimbiusim showing the data partition is partition 1 on the device.02:44
nimbiusand the EFI partition partition 2.  is that even permissible under the definition of efi?02:44
nimbiusparted says the USB is a mac partition table?02:50
nimbiusfdisk says its an empty partition followed by an EFI partition02:50
nimbiuswhere do i go to submit a bug.02:50
fsmithrednimbus, what's the bug?02:53
fsmithredwhat happens when you try to boot?02:54
MinceRhe's gone03:05
_abc_Hi. I have a problem with ascii/jessie: opening a new terminal from the desktop menu button opens two terminals if and only if the load is high (long delay on window popup). Only one is opened if load is low. The command in the gui widget is: exo-open --launch TerminalEmulator10:12
_abc_Suggest a fix?10:12
_abc_I assume one of the commands in the startup executes twice or checks early for self-exists lock and that fails with negative due to the delay in despite of the command already running?10:13
_abc_Desktop -> Applications Menu -> Settings -> Preferred Applications is quite sparse; no mention of TerminalEmulator in it10:17
_abc_Does anyone know where the preferred applications file is stored in xfce4? This page is all I get for my system and is quite sparse. Are we copying windows and ishiny? Hiding "dangerous" options?10:18
_abc_man exo-open shows no FILES section at all. The settings must therefore be assumed to be "known" by divine intervention.10:19
_abc_strace exo-open --launch TerminalEmulator shows that exo-launch does not, itself, consult 7 read() any config file relevant to xfce.10:22
_abc_strace -fF exo-open --launch TerminalEmulator shows that child processes of exo-launch do read relevant config files.10:23
_abc_And reading that output shows what a disaster all gui programs are now on linux. Seriously, walking a crazy hierarchy of configs and config locations to open a terminal?!10:25
_abc_The correct settings file to determine the TerminalEmulator is /etc/xdg/xfce4/helpers.rc10:26
_abc_Therein, TerminalEmulator=debian-x-terminal-emulator; debian-x-terminal-emulator is not a symlink or other type of resource one can look up on a running system, it has no manpage10:27
_abc_The circlef* which debian's infinite circular redirection linkage system is for obvious things to be hidden as non obvious poorly documented things, continues. Relevant thread: http://forums.debian.net/viewtopic.php?f=5&t=136301&start=010:32
_abc_Cutting to the chase, other than drilling down forever with strace, suggest a way to locate the script snippet which launches 2 terminals instead of one when load is high.10:32
_abc_Okay, found '/usr/share/xfce4/helpers/debian-x-terminal-emulator.desktop' which is opened, by strace. This file is not in the locate database for reasons I will find out and weed out soon.10:34
_abc_Now I am stumped. Previous call to locate debian-x-terminal-emulator10:34
_abc_did not find it, now it finds it. I changed no settings, and did not run updatedb in between. The drive is local and visible to the user I am running as.10:35
_abc_*the volume and directory tree are visible10:35
_abc_Continuing the clusterf* circle trace:10:41
_abc_TerminalEmulator=debian-x-terminal-emulator -> /usr/share/xfce4/helpers/debian-x-terminal-emulator.desktop -> X-XFCE-Binaries=x-terminal-emulator -> /etc/alternatives/x-terminal-emulator -> symlink /usr/bin/xfce4-terminal.wrapper -> ->file /usr/bin/xfce4-terminal.wrapper: Perl script text executable ; Perl scrip10:43
_abc_I feel great. Back in 1996 when I 1st installed linux as a desktop and was happy as a clam (alternative was Windows WfWG3.11 or W95 eww eww), I learned how to use the source Luke. I can see that 20 years later, the correct answer to most questions can be obtained using the same tools as in 1996. strace, less, file, stat etc. Excellent progress. Except in 1996 an xterm would open quite faster than now upon10:45
_abc_clicking on a fvwm (iirc) menu button.10:45
_abc_</rant end><perl script decoding start>10:45
_abc_Instrumenting perl script to write a log file, to count how many times it is called...10:46
ErRandirBisect the problem: Cut the indirections in half and see if it reproduces: /etc/alternatives/x-terminal-emulator -> /usr/bin/sakura10:49
_abc_temporary-fix: editing the file /usr/bin/xfce4-terminal.wrapper with content as follows FIXES the problem even under high load. Trying with if ( 0 ) { now11:13
_abc_"Fix" works even like this. I assume some crazy lock/retry thing in the xfce launcher.11:14
_abc_Perl <code> to add to wrapper to "fix":11:15
_abc_if ( 1 ) {11:15
_abc_  use Cwd qw(abs_path realpath);11:15
_abc_  use File::Basename;11:15
_abc_  my $exeb = basename( $0 );11:15
_abc_  my $outfile = "/tmp/$exeb.log";11:15
_abc_  my $fho;11:15
_abc_  #open ( $fho, ">> $outfile") || die "problem opening $outfile\n";11:15
_abc_  if ( open ( $fho, ">> $outfile") ) {11:15
_abc_    my $exen = abs_path( $0 );11:15
_abc_    print $fho "$exen: called as $0 (pid = $$)\n";11:15
_abc_    close $fho;11:15
_abc_  } ;# ignore errors11:15
_abc_}11:15
_abc_</code>11:15
_abc_sorry about the noise. Moving on.11:15
_abc_<note>I am completely stumped why this happens</note>11:15
_abc_<conclusion>devuan should TRY to be more arch-like in docs, imo. I am willing to contribute snippets as needed when needed (when I need them)11:16
_abc_This has plagued me for a while now, the double open. I just spent a nice hour fixing it. Where the "fix" is likely a hack! I suspected also the mouse, it can double click when single clicking, due to failing switch. To mend this there *should* be a holdoff period in the code, of the launcher, to avoid re-launching the app. Half a second should be enough. I am an embedded mcu coder, I deal with thee kind of11:18
_abc_problems all the time, should be easy to implement, but definitely a recompile and not my job.11:19
_abc_Has anyone else seen such a problem? Double app open on single click in icon bar of gui? Under any conditions?11:19
* _abc_ eyes his mouse with more suspicion.11:20
_abc_I can confirm that double clicking any icon in the icon bar launches 2 instances, unless the app itself mitigates this. For example I coded this specially for ff to open one instance only, with a wrapper script, some time ago.11:23
_abc_<feature request>add double click protection / holdoff 0.5sec or so, in the launcher in xfce4 ?11:24
_abc_</done for now, moving on>11:24
nailykhi all! Oh is going the project on an €€€ point please?12:49
fsmithrednailyk, what are you asking?12:55
nailykoh much for monthly based donate12:56
nailyks/oh/how/12:56
fsmithredyou mean how much do we get, or how much can you give?12:57
nailykhow much do you need. Then I will se if that match what I can do ;)12:58
fsmithredI don't handle any of the finances, so I don't know the answer.12:59
nailyknu rush. Gonna set some small amount until we adjust it. Thanks !13:02
fsmithredthank you13:02
nailykThanks to you! Devuan is almost the only distrib I use. Without your project I'd probably stop using computers!13:09
Gupis flashplugin-nonfree not available in ascii?14:58
fsmithredGup, I see no flashplugin-nonfree in ascii. There's one in jessie and one in sid/ceres, but I doubt that either of them works. I haven't been able to install flash for about a year.15:03
Guppersonally I;d say good ;) but just upgraded dad from jessie to ascii and he's missing his games :/15:05
Gupcan install manually but it was good keeping it up to date with the other updates15:05
fsmithredlink to Adobe Flash Player not found on http://www.adobe.com/ at get-upstream-version.pl line 5815:06
fsmithredadobe dropped support for linux (again)15:06
Guphmm, the semi-auto scrip from here just worked: https://wiki.debian.org/FlashPlayer#Installation15:09
Gupwell, it says it did, havent tested yet as working remotely15:09
nailykSo after install grub, on *first* bootup you need to press enter on grub menu. Realy not remote server compliant... :p17:22
fsmithredyou should not need to do that17:22
fsmithreddid you change something in /etc/default/grub?17:23
nailykexcept removing the header after some reboot attempt no17:29
KatolaZGup: flash-plugin has been discontinued by upstream (Adobe)17:34
nailykat least it works now17:34
stqnmaybe use syslinux instead like any sane person would do17:49
DonkeyHoteistqn: syslinux does not work with uefi18:31
stqnworks for me18:33
stqnI18:34
stqncan’t say I undertand anything about uefi though.18:34
KatolaZDonkeyHotei: https://duckduckgo.com/18:34
KatolaZsorry18:34
KatolaZhttps://www.syslinux.org/wiki/index.php?title=Install#UEFI18:35
DonkeyHoteihmm18:35
nailykmaybe yes18:39
ocinit works but my understanding is that the kernel and initrd must be on the esp partition19:26
Gupfsmithred, KatolaZ, apparently flash is working and firefox isn't complaining its out of date anymore, so not sure what version that script pulled :/ but all is cool again, for now ;)20:49

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!