libera/#devuan/ Wednesday, 2020-07-01

nemosooo I'd like to have a newer wine00:46
nemoI'm thinking I should just add it from https://wiki.winehq.org/Debian00:47
nemoseems probably fairly safe00:47
nemois Debian 9 or Debian 10 closest to beowulf these days?00:47
nemoand... is this a bad idea?00:47
nemoah. buster00:48
nemo10.4 to be exact00:49
nemowelp. we'll see what happens00:49
* enyc meows!04:48
aitorhi13:39
aitorfsmithred: *what's the equivalent of 'init 1' command for runit?*13:39
Guest67410runit only has runit-init 0 and runit-init 6 (shutdown)13:39
Guest67410if you want to start in single user mode probably you'll need to add a grub entry for that, reading it from /etc/runit/2 (or 1):13:41
Guest67410if grep -q -w -i 'single' /proc/cmdline13:41
Guest67410adding something like this afterwards:13:42
Guest67410then13:42
Guest67410chpst -P /sbin/sulogin -p /dev/tty113:42
Guest67410fi13:42
Guest67410mmm... 07:49 in boston13:43
fsmithredhi13:44
Guest67410hi13:44
fsmithredadd that where?13:44
fsmithredwhat I really wanted to do was drop to runlevel 1 just to restart everything wihtout rebooting13:45
Guest67410better said: read it from /proc/cmdline, and adding it to /etc/runit/213:45
fsmithredah, ok13:45
fsmithredwhat I was actually trying to accomplish was console autologin in a live session13:46
Guest67410then, you might write your own script for that, i guess13:46
fsmithredand I did figure that out13:46
fsmithredgetty -a user13:46
Guest67410fsmithred: time to eat, be back later13:48
Guest67410have a nice day13:49
fsmithredyou too, thanks13:49
zatumilw16:58
MinceRasd17:00
tuxd3vMinceR, xyzw18:41
MinceRweird layout :>18:41
tuxd3vits the best layout a papyrus one =D18:42
systemdletepastebinit only returns server but not the page of the pasted item19:00
systemdleteAh, exceeds max len19:01
systemdleteWould be nice to see a message from command line tool...19:02
brocashelmhow do i increase speed of pointer in devuan? xinput is not making a difference. something about udev?20:03
fsmithredbrocashelm, check the forum. Someone posted something about messing with evdev and/or libinput config files20:08
emaxzzzHi20:36
brocashelmfsmithred: i think i got it now. looks like it was xinput with libinput (i restarted xorg to confirm)20:48
Devu33hello!21:57
Devu33after I install beowulf and I wish to use the cdrom "sr0" as my apt source, apt-get asks me to use apt-cdrom add22:04
Devu33after I do apt-cdrom add, apt-get update complains about the Release file not being signed22:04
fsmithredisn't there a line for cdrom in /etc/apt/sources.list?22:04
Devu33yes sir!22:05
fsmithredwhich iso?22:06
Devu33with the cdrom: mode I get "does not have a release file"22:06
Devu332020052622:06
fsmithreddesktop? server? arch?22:06
Devu33desktop!22:07
Devu33so when I remove the cdrom: entry and mount the cdrom and use file: instead I get a different message22:08
fsmithredso that would be a beta or RC?22:08
Devu33it finds the Release, but then it complains is not signed22:08
fsmithredthe final isos have June 1 date22:08
Devu33hmm :/22:08
Devu33I thought 3.0 was final22:09
fsmithredyeah, it is22:09
Devu33how can I check on the cdrom fs?22:09
fsmithredsha256sum <file>22:09
fsmithredtell me the full name of the iso22:09
Devu33[...]42d722:11
Devu33devuan_beowulf_3.0.0_amd64-netinstall.iso22:12
Devu33sorry22:12
Devu33I renamed the file, this not it22:12
fsmithredhow big is the file?22:13
Devu333.6GB22:15
fsmithredyeah, that's the desktop iso22:15
Devu33sha256 ends with 42d722:15
Devu33I manually checked and indeed the Release does not have a sig22:15
Devu33but during the debian installer process it does not complain about that at all22:16
Devu33devuan sorry22:16
Devu33E: The repository "file:/media/cdrom beowulf Release" is not signed.22:18
fsmithreddid you use a network mirror to install?22:19
Devu33N: Update from such repository cannot be done securely, and is therefore is disabled by default22:19
Devu33did not, im airgapped on that system22:19
fsmithredso apt was ok with it during install but not after?22:20
fsmithredthat's weird.22:20
fsmithredfor a no-mirror install, cdrom line should be active in sources.list, and it should not have asked you to run apt-cdrom22:20
fsmithredit should just ask you to insert the disk22:20
Devu33if i do [allow_insecure=yes] then it tells me is dangerous22:21
Devu33and then it prints yet another message saying: "Invalid 'Date' entry on release file /var/lib/apt/lists/_media_cdrom_dists_beowulf_Release"22:23
Devu33fsmithred: Is apt-get expectation that the Release file is accompanied by a Release.sig?22:25
fsmithredI don't think so22:25
fsmithredI'm looking at a debian iso now, and I don't see that22:25
Devu33apt 1.8.2.1 (amd64)22:26
fsmithredsame here22:27
fsmithredrunning22:27
Devu33if you are on a vm and you can attach the iso as a cdrom or otherwise mount the cdrom as a loop and try both sources with apt-get update22:28
Devu33I might be missing something, or might have broken something22:29
fsmithredI'm looking for a vm to recycle22:29
fsmithredinstalling...22:34
Devu33is there a way to clean apt index altogether and start fresh22:34
Devu33apt-get clean only seems to clear .deb22:34
fsmithredyeah, there are other files that can be deleted22:35
Devu33if I comment out all repositories and leave only the original cdrom: source... it tells me I am being sneaky and trying to add a cdrom using apt-get which is not the way !22:35
Devu33use apt-cdrom, which simply adds a duplicate line22:35
fsmithredhttps://git.devuan.org/devuan/refractasnapshot-base/src/branch/master/snapshot_exclude.list22:37
fsmithredgo down to around line 75 for apt files that you can delete. They will regenerate with 'apt update' or similar22:37
Devu33omg, this is so cool22:38
fsmithred?22:38
Devu33I was looking for this, I have to try it22:38
fsmithredtry what?22:39
Devu33refracta-snapshot22:39
Devu33I did not know of its existence22:39
fsmithredyes, it is very cool. (but I'm biased)22:39
Devu33so, from 75 to 8122:41
Devu33should I stop using apt-get and use apt instead?22:41
brocashelmapt is fine for basic usage22:42
Devu33does it conflict or complements, neutral upon 'update' with apt-get?22:44
fsmithredI don't know22:45
fsmithredapt is recomended now22:45
fsmithredapt is NOT recommended for use in scripts, because they haven't really decided what it's going to do (i.e. it'll change)22:45
tom_Are there any IPv6 repo mirrors?22:46
fsmithredI'm gradually switching over to using apt, and from what I can see, it's like apt-get22:46
brocashelmlol, i'm used to apt-get -f install for broken packages, even though apt check is the same thing22:46
tom_Some of my servers are not provisioned with legacy IPv4 addresses, only IPv622:46
tom_W: Failed to fetch http://deb.devuan.org/merged/dists/beowulf/InRelease  Temporary failure resolving 'deb.devuan.org'22:47
Devu33tom_: I have hardcoded that on my /etc/hosts22:47
tom_can you query an AAAA record from the deb.devuan.org round robin?22:47
tom_oh actually22:49
tom_nevermind22:49
tom_Looks like I just had another script setting the wrong resolver in resolv.conf22:49
Devu33networkd or nm? lol22:50
brocashelmnetworkmanager = gnome's secret way of making everyone hate linux22:51
fsmithredDevu33, I'm getting the same error messages as you when I try 'apt update' but that's with the cdrom NOT mounted22:52
fsmithredwhen I figure out how to mount it, I'll try to install something22:52
brocashelmi remember when i switched back to upstart init on mint 18.3 and had to manually mount my cd/dvd drive every time i wanted to rip stuff. i remembered it was systemdee that automatically mounted that stuff without extra effort on my part22:54
fsmithredwell, if this was a real system with a real optical disk, I could mount it in a couple seconds22:55
fsmithredbut it's fucking qemu, so I have to search (again) how to do this22:55
Devu33echo "/root/beowulf.iso /media/cdrom iso9660 loop 0 0" >> /etc/fstab; mount /media/cdrom22:55
fsmithredI don't think I can do that22:56
fsmithredthe iso is bigger than the ram22:56
Devu33it will losetup bind to a loop0, not load it on ram22:56
Devu33unless you are running systemd, then you better not be using anything but .mount or something22:57
fsmithredyeah, I was thinking that I was running a live iso, but I have virtual disk space for the iso23:00
Devu33cool, just do "losetup /dev/loop0 /my/beowulf.iso"23:01
Devu33unless you using loop0 already23:01
Devu33afaik should not use any memory23:01
fsmithredI shouldn't need to use losetup to mount the iso23:01
fsmithreddon't even need to use -o loop23:01
fsmithredexit23:02
fsmithredmounted it at /media/cdrom and proceeded to install openssh-server without recommmends23:04
fsmithredno error23:04
fsmithredapt update gives error23:04
fsmithredthat actually makes sense - you can't update what's on the read-only media23:05
Devu33fsmithered, I dont understand the last bit23:08
Devu33cant update what's on the read-only media23:08
Devu33what error did you get?23:08
fsmithredcan't use apt to add a cdrom, does not have Rlease file, Please use apt-cdrom23:09
Devu33E: The repository 'cdrom://[Devuan GNU/Linux 3.0 (beowulf) amd64 - desktop 20200526] beowulf Release' does not have a Release file.N: Updating from such a repository can't be done securely, and is therefore disabled by default.N: See apt-secure(8) manpage for repository creation and user configuration details.23:09
fsmithredyeah23:10
fsmithredhow can you update the repository on the cdrom?23:10
fsmithredyou can't change what's on it23:10
Devu33but neither it can update on http23:11
Devu33it updates on your own /var/lib/apt/ and /var/cache/apt23:11
Devu33right?23:11
Devu33it updates "from" file: cdrom: or http:23:12
Devu33correct?23:12
fsmithredhuh?23:12
fsmithredif you have http sources, it will go check the sources and update the cache23:12
Devu33and if you have a cdrom: source?23:13
fsmithredI guess if you have cdrom source, it checks for the same cd and installs from that23:13
fsmithredbut can't update it23:13
Devu33ah!23:13
fsmithredonly way to update that is to make new isos23:13
Devu33but what If you removed cdrom: and enabled http:23:14
fsmithredthen it should update with the online sources23:14
Devu33then at a later date, without a internet connection you disable http and reenable the cdrom:23:14
fsmithredif you do the correct steps, you should be able to change back and forth23:14
Devu33how are you gonna tell the system to refresh its index of available packages from the cd?23:14
fsmithredapt-cdrom add23:14
Devu33understood, let me try again23:15
Devu33your were right23:20
Devu33sorry for wasting your time :(23:20
Devu33just had to follow the correct sequence...23:20
Devu33and no "update"23:20
Devu33muscle memory...23:20
fsmithredyeah, I learned something23:20
plasma41o/23:29
tom_HA23:30
tom_git this23:30
tom_github.com has no AAAA record23:30
tom_*M$ management23:30
djphdid they ever?23:40
brocashelmmore projects should move over to something like gitlab if they care about freedom23:41

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