libera/#devuan/ Tuesday, 2021-05-04

adhocmorning all03:09
adhocis it possible to work out from; apt-cache show $PACKAGE03:10
adhocwhat the license is for the $PACKAGE?03:10
rwpNo.  But from apt-cache policy $package one can tell which repository it is in and all things in main are DFSG free, and non-free in the non-free.03:18
rwpIf this were Debian I would look at the packages page and look at the Copyright file link from there.  For example: https://packages.debian.org/sid/rsync03:21
rwpOf course once a package is installed then the /usr/share/doc/$package/copyright file is authoritative.03:22
thecawhat init do you guys like and why?05:02
gnarfaceif theca comes back, tell them to wait longer next time, and to ask in #devuan-offtopic instead05:04
rrqyeah; such existential considerations of fundamental significance are wasted in the support channel05:17
adhocanyone tinkered with arm64/aarch64 SBCs?05:18
adhochave a few pine rock64 systems in the mail...05:18
gnarfaceadhoc: yea check out #devuan-arm, it's a slower channel but there are some of us here messing with them05:51
adhocgnarface: awesome, thanks06:11
gourhello is there a plan for devuan to replace sysvinit with something  else and is there some strong candidate for it?12:14
pandakekok9gour: Not that I know, but if sysv will be replaced, openrc is will most likely be the replacement12:16
gourpandakekok9: thanks...but, doesn't openrc depend partially on syvinit?12:20
pandakekok9openrc has its own init, but you can use sysv as well12:20
gourif i'd want to install openrc and repalce runit, apt wants to install sysvinit-core?12:22
pandakekok9Hmm, I guess Devuan doesn't support openrc's init yet...12:26
pandakekok9init package pre-depends on sysvinit-core or runit-init12:27
pandakekok9You can remove sysvinit-core and init though. Then follow Gentoo's instructions at https://wiki.gentoo.org/wiki/OpenRC/openrc-init12:28
pandakekok9Ignore the scary warning by apt12:29
pandakekok9Some packages might depend on the init package though, and break them12:29
buZzopenrc should be supported, according to https://www.devuan.org/os/init-freedom12:30
buZzand even in installer >  Devuan 3.1 now supports the options of Runit, SysVinit, and OpenRC that can be selected from during the Devuan installation process12:31
Walex2IIRC originally OpenRC was a set of scripts, a bit like the old single/multi user scripts of UNIX12:32
gouryeah, i did select runit when installing & running chimaera, but not many scripts are available for it12:32
Walex2gour: "technically" the '/etc/init.d/' scripts could be used with any process supervisor.12:33
Walex2they do single process "supervision" ('start'/'reload'/'stop') that is somewhat different from multiple process supervision.12:34
Walex2also IIRC the 'runit' 'runsvdir' process supervisor is compatible with 'daemontools', so presumably 'daemontool' scripts could be used with it too.12:36
rgh[m]You probably wouldn't to use sysinit scripts though. The "daemontools" tools are so much more elegant and simpler.13:24
rgh[m]gour  Look on the s6 or nosh sites for links to other sites with collections of "daemontools" scripts.13:27
Walex2"nosh" is something I particularly admire BTW.17:08
Junicchiis there an easier way to install gcc-10 to devuan?18:53
hagbard_It's the default version in devuan testing.18:54
Junicchihagbard_: what if i'm from beowulf?18:54
Junicchii guess i can use testing's repository's then18:55
hagbard_Would be worth a try.18:57
Junicchidunno how to doit so will build all of the package i guess19:00
rwpIf running Beowulf Stable and wanting something newer then beowulf-backports are always the better place to start looking.19:17
rwpBut gcc-10 is not available in backports.  That would mean it would require an upgrade to Chimaera Testing or Ceres Unstable.19:18
rmyou can mix stable and testing packages19:18
rmuse only a few things from testing19:18
rmthat's about the least problematic case of repo mixing19:19
rwpI do not recommend mixing things up like that because it creates a Frankenstein system.19:19
rwpBut it's always up to the local system owner!  It's their system.19:19
hagbard_I recommend to entirely upgrade to chimaera. There are no stability issues i ran into, and it would allow a clean system without mixed repositories.19:20
rwpA full upgrade to Chimaera would be my vote for someone who wants the newest versions of things.19:20
Junicchibuilding gcc10 taking hours i'm updating to chimera19:45
rwpJunicchi, Just curious here but why do you want gcc10? (I am finding gcc10 rather more annoying than previous versions. Hoping they improve in the next release.)20:27
Junicchirwp: it was just a dependency of a software i wanted to install21:04
Junicchibut i just wanted to update my distro to chiamera in general21:04
Junicchitbh it hung21:04
Junicchiit just stuck on %67,  task mount:8055 blocked more than 120 seconds21:05
Junicchi>Tainted: P OE 4.19.0-16-amd6421:06
Junicchidpkg is stuck on "mounting cgroupfs hierarchy" everytime21:18
rwpJunicchi, What is the command you are using to upgrade?21:19
Junicchiafter updating my sources list i did: apt dist-upgrade21:19
Junicchisince it stuck i cancelled it21:20
Junicchiand had to perform dpkg --configure -a21:20
rwpHmm...  I always recommend doing an "upgrade" first as that is simpler, then "upgrade --with-new-pkgs", and then "dist-upgrade".21:20
Junicchiand now it's stuck on mounting cgroups21:20
Junicchisounds interestinf21:20
rwpI am not knowledgeable about cgroups so am unable to help.  :-(21:21
Junicchibut now that dpkg fails to reconfigure i cant fix it either21:21
iv4nshm4k0vI'm surprised that dpkg is concerned with Cgroups.  Or is it some maintscript, or an init.d script via invoke-rc.d?  Perhaps move /etc/init.d/cgroupfs-mount out of the way and try again?21:25
rwpIt would almost certainly be a package postinst script that is in the middle of this.21:25
rwpI would be inclined to run "dpkg -l | grep -v -e ^rc -e ^ii" and look to see what packages are in other states as a clue to which package it might be.21:27
iv4nshm4k0vrwp: On my system, only cgroupfs-mount.postinst seem to have anything to do with cgroups; and it only does invoke-rc.d for the init.d script I've mentioned above.  (And it fails, for my policy-rc.d script denies anything.)21:27
rwpI would not expect Junicchi to have a /usr/sbin/policy-rc.d script on a normal system outside of a chroot though.21:28
rwpJunicchi, Can you determine which package is giving problems?21:30
iv4nshm4k0vrwp: I'd say it's never late to adopt such a script.  Also, invoke-rc.d translates policy-rc.d's 101 into 0 ('success'.)21:30
rwpiv4nshm4k0v, Use of policy-rc.d is specific. I would not recommend it for everyone to use to disable everything!21:31
iv4nshm4k0vrwp: IME, invoke-rc.d is used chiefly to (re)start services after installation or upgrade by the postinst script.  /My/ preference is to a. start new services manually, after I've at least taken a look at their default configuration; and b. to restart them manually as well, so as to not interfere with active use and such.21:35
iv4nshm4k0vThere's a bit of micromanagement in that, but it so far have paid off.21:35
rwpThat's actually one of the surprising/usually-unexpected things about policy-rc.d is that it only affects invoke-rc.d and not boot time init.21:36
rwpTherefore a boot will start everything normally.  But an "apt-get upgrade" will not.  And therefore old daemons are left running when they would normally have been restarted.21:37
rwpIt was designed to be used in chroot's to prevent starting daemons in a chroot when packages were installed/upgraded there.21:37
rwpAnd of course in chroot's there is no "boot" that happens there so that part of things was not considered.21:38
rwpAnd can't forget things like logrotate which also uses invoke-rc.d to signal running processes too.  That is also disabled by use of policy-rc.d too.21:38
rwpHowever as always it is your system and it is certainly okay for you to customize it as you desire.  ykinmkbykiok :-)21:40
iv4nshm4k0vFWIW, I check for the old daemons with: # (set -C -e -x -u -- "$(gawk 'BEGINFILE { if (ERRNO != "") { nextfile; } } /deleted/ && $6 !~/^\/(dev\/zero$|SYSV)/ { print FILENAME; nextfile; }' /proc/*/maps | tr \\n , | tr -dc 0-9, | sed -e "s/,\$//")" ; test -n "$1" && TZ=UTC ps -o pid,ppid,pidns,tty,stat,vsize,size,lstart,comm,cmd -p "$1") 2>&1 | less -UF .21:43
iv4nshm4k0vAlso, I'm not using logrotate, though I'm somewhat surprised that it should do anything outside the cron context.21:43
rwpI am liking "needrestart -b" for checking for daemons that need a restart.  (apt-get install needrestart)21:44
rwpNote that the package inserts a hook into /etc/apt/apt.conf.d/99needrestart that I do not like and disable.21:44
iv4nshm4k0vIn this specific case, I still think it makes sense to disable cgroupfs-mount via either a trivial policy-rc.d, or # chmod a-x , and try # dpkg --configure -- cgroupfs-mount ; and then enable it back and # dpkg --configure --pending .21:45
rwpI am still not clear on why Junicchi's system is having a problem at that step.  That's not normal.  I would like to see the root cause of the problem found.21:46
iv4nshm4k0vrwp: # sh -x /etc/init.d/cgroupfs-mount start ?21:50
masoniv4nshm4k0v: safer to run it through env -i21:56
rwpI wish "service" had a verbose option for applying -x to the init.d scripts.21:57
iv4nshm4k0vmason: Indeed.21:57
Junicchii just removed postinst scripts everytime i received error nof successfully completed22:02
Junicchimy release is now:22:59
JunicchiNo LSB modules are available.22:59
JunicchiDistributor ID: Devuan22:59
JunicchiDescription: Devuan GNU/Linux 4 (chimaera/ceres)22:59
JunicchiRelease: testing/unstable22:59
JunicchiCodename: n/a22:59
Junicchiand i have chimaera,chimaera-updates,chimaera-proposed-updates  repositories with main,contrib,non-free23:00
Junicchibut  can't install nvidia-detect23:00
Junicchiand when i try to install nvidia-kernel-* packages apt says they're not installable23:00
Junicchiwhy i lost them?23:00
Junicchiany ideas rwp23:01
Junicchitho i couln't activate chimaera-security and chimaera-backports since they don't exist23:04
fsmithredthere is no chimaera-updates or any others than just "chimaera"23:04
fsmithredand if you find a chimaera-security, it's not real. It's just for testing out the new installers.23:05
Junicchihumm23:06
Junicchithen how should i install nvidia-drivers?23:06
fsmithreddid you try to install with the glob as you posted above?23:07
fsmithredI just tried 'aptitude -s install nvidia-kernel-dkms' in chimaera and it looks like it would install.23:07
Junicchi>No candidate version found for nvidia-detect23:08
fsmithredmaybe something is wrong with sources.list or you need to update the package cache23:10
fsmithredI see 460.73.01-1 in chimaera/ceres23:10
Junicchioh, interesting23:13
JunicchiN: Can't select candidate version from package nvidia-detect as it has no candidate23:13
JunicchiN: There is 1 additional record. Please use the '-a' switch to see it23:13
Junicchiwhen i use `apt show nvidia-detect -a` it shows the correct package23:13
Junicchibut why23:13
Junicchii decided to clear apt cache with apt clean and can't update it now23:16
fsmithred?23:16
Junicchi.../binary-i386/Packages.xz  File has unexpected size (8266524 != 8267908). Mirror sync in progress?23:16
fsmithredoh, try again in a couple minutes23:16
fsmithrednvidia-detect installs and runs correctly in beowulf and chimaera here.23:19
fsmithredI assume it's correct in chimaera: "No NVIDIA GPU detected." is correct.23:19
Junicchii've been successfully using it on beowulf23:22
Junicchiafter having some errors after my update to chimarea just purged nvidia drivers to reinstalling them23:23
Junicchibut pretty weird that can't install it now23:24
Junicchinow i only have this in my sourceslist: deb http://deb.devuan.org/merged chimaera main non-free contrib23:25
Junicchiand it still has no installation candidate23:25
Junicchiweird23:25
fsmithredthat is weird23:25
fsmithrednothing pinned in /etc/apt/preferences.d?23:26
Junicchiahh23:27
Junicchii had a pin on preferences23:28
fsmithredworking now?23:28
Junicchixd removing the pin worked23:28
Junicchii dunno why i created that, i don't even know what it is23:29
Junicchisorry for wasting your time btw, thanks for your help23:29
fsmithrednp23:31
Junicchiok now having another error23:34
Junicchihttp://0x0.st/-aF4.png23:34
Junicchidunno what cgroups is but it seems to be the one that triggered the problem23:35
fsmithredweren't you talking to someone else about this error earlier? Or was that someone else?23:36
Junicchiyes, i was getting the same error while performing dist-upgrade23:38
Junicchii'll try to remove postinst script23:40
Junicchi^tho doing this is simply supressing the error23:44
fsmithreddo you even need that package?23:44
fsmithreddoesn't sound like it's essential23:44
Junicchinvidia-driver?23:44

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