libera/#devuan/ Tuesday, 2021-12-14

UsLonefang: haha, good to know I'm in the ball park : )02:43
lunariowhen i upgrade my chimaera installation to testing, will the package versions be upgraded to the same ones as in debian testing? or is devuan lagging behind in those?13:49
Guest10Hello. How do I install Devuan on a flash drive with a save (persistence) partition?14:01
GyrosGeierGuest10, so you want an overlay between a readonly system installation, and a second partition?14:57
LinuxRULZ2022hello15:24
kevinzerohi15:24
LinuxRULZ2022i use Devuan since november 202115:24
kevinzeroi've used it since like15:24
LinuxRULZ2022it is better, because no screwing around with systemd15:24
kevinzeromonths ago15:24
LinuxRULZ2022before DEVUAN, i used UBUNTU (but now I use DEVUAN 4.0)15:24
kevinzeroi used normal debian before15:25
LinuxRULZ2022i see. DEBIAN = ubuntu's dad15:25
kevinzeromakes sense since *buntu is based on it15:25
LinuxRULZ2022also on DEVUAN i have big advantages, like 100% Software compatibility, choose init system (i use OPENRC)15:26
LinuxRULZ2022so what software I used on UBUNTU, it is compatible 100% with DEVUAN. Also generic Linux binaries work on it15:26
kevinzeroif those binaries don't depend on systemd - tada, they work in devuan15:27
LinuxRULZ2022i know15:27
LinuxRULZ2022some of that binaries were hardcoded with SYSTEMD CRITICAL KERNEL PROCESS15:27
kevinzeroi see15:28
LinuxRULZ2022for example, Rocks and DIamonds (a game I enjoyed on Mandrake Linux in 2003-2005), works nicely on Devuan without hardwired dependence on SYSTEMD15:28
kevinzeroof course, it's a game15:29
kevinzerowhy would games depend on specific init systems?15:29
LinuxRULZ2022because some developers are maybe HARD SUPPORTERS of SYSTEMD?15:29
kevinzeroalso15:30
kevinzerothere are devuan based distros15:30
kevinzerowhich is pretty neat15:30
LinuxRULZ2022it is neat. What they were?15:31
kevinzeroone of them is15:31
kevinzeroSTAR15:31
GyrosGeiersystemd is basically required for the component middleware in GNOME15:31
kevinzeroGyrosGeier: yep unfortunately15:32
LinuxRULZ2022i will try STAR LINUX15:33
LinuxRULZ2022sometime15:33
kevinzeroSTAR even has an i3 edition15:33
LinuxRULZ2022nice15:33
LinuxRULZ2022i need a top edition for RYZEN15:33
critrall i know is systemd triggered my paranoia meter on multiple levels and i want to avoid it.15:34
LinuxRULZ2022GNOME was better years ago, now it is a machine for spreading SYSTEMD15:34
kevinzerored hat is trying to force systemd down our throats15:34
critrgnome2 was the last good gnome.15:35
kevinzerocritr: indeed15:35
kevinzerothankfully MATE is based on a version of GNOME that wasn't based on systemd15:35
kevinzerognome 3.34 and newer are systemd dependant15:35
critryep, i use mate.15:35
kevinzeroeventually SystemD will infiltrate every single component of a linux distro15:36
kevinzeroso instead we will run GNU/SystemD15:36
kevinzeroinstead of GNU/Linux15:36
kevinzeroi hope MATE won't let itself be taken over by systemd15:38
kevinzeroit's an amazing desktop environment15:38
critrthen redhat will probably pull an andrew lee. with the same result, i hope.15:38
GyrosGeierthe BSD people will keep proper software alive15:47
GyrosGeierso I'm giving them support when I can15:47
Guest10GyrosGeier, If this is the only way, tell us about it. If there are more ways, I'm curious to know about it.15:51
GyrosGeierwell, I also write my software that it doesn't depend on systemd15:53
LinuxRULZ2022i ditch SYSTEMD16:01
Guest10GyrosGeier, I am interested in the answer to the question: "How do I install Devuan on a flash drive with a save (persistence) partition?"16:06
GyrosGeierah16:12
GyrosGeierso your goal is basically to have a "factory reset" function16:13
GyrosGeierthere are a bunch of "live CD" tools16:13
GyrosGeiernot sure which one is best16:13
GyrosGeierIIRC d-i based live system uses casper16:13
GyrosGeierif you don't need factory reset, you can just install normally16:13
GyrosGeierthe flash drive will be unhappy either way if you surprise eject it16:14
GyrosGeierbecause USB is slow enough that Linux defaults to massive write-behind caches16:14
LinuxRULZ202243LINUX DEVUAN RULZ!16:22
Kittyinteresting contribution there.16:26
GyrosGeierindeed16:26
LinuxRULZ202243also, GCC can work on DEVUAN?16:27
GyrosGeieryes16:28
LinuxRULZ202243ok. I try compiling something16:28
GyrosGeierno reason it wouldn't -- it just ingests files and writes more files16:28
LinuxRULZ202243sometime, like a old game i played16:28
GyrosGeierno need for component shenanigans16:28
LinuxRULZ202243so, can i use GCC for compiling something?16:29
morruthLinuxRULZ202243: this is it's main purpose16:35
LinuxRULZ202243it is16:36
morruthit's confirmation or syntax correction?16:39
Guest10GyrosGeier, How do I make a partition with persistence like in ParrotSec? Are there any system files responsible for this function? Is there something similar on github?16:42
GyrosGeierpersistence is default16:49
GyrosGeierwhat the USB sticks are doing is creating a second partition that takes all the changes16:50
GyrosGeierand mount it as an overlay16:50
GyrosGeierplus offer a menu at boot that allows you to wipe the persistence partition16:50
GyrosGeierand/or boot with a ramdisk for changes, so changes are not persistent16:51
fsmithredI use refracta2usb to make usb sticks.16:51
fsmithredyou can have a persistent partition (or loopback file) with or without encryption16:51
fsmithredhttps://sourceforge.net/projects/refracta/files/tools/16:52
fsmithredhttps://refracta.org/docs/readme.refracta2usb.txt16:52
furrymcgeedo live images use initrd?16:52
fsmithredyes16:52
fsmithredat leasst the ones that use debian live-boot do16:53
GyrosGeierthe root fs needs to be an overlay16:56
GyrosGeierso you pretty much can't avoid an initramfs there16:56
furrymcgeehow do you free disk space after upgrading root16:57
GyrosGeierlive systems cannot sensibly do that16:58
KittyI am trying to create my own .deb file to deliver some conf files to /etc17:05
Kittyexcept they aren't being writen when I do the install17:05
Kittywhat am I doing wrong ?17:05
GyrosGeierare they listed as conffiles?17:07
GyrosGeieryou might need a --force-confnew17:08
Kittynope, but I worked it out17:09
GyrosGeierbecause dpkg tries to avoid overwriting conffiles17:09
Kittytypo17:09
Kittythey were isntalled, just not where expected17:09
GyrosGeierand everything in /etc is a conffile by default17:09
fsmithredthat's always fun17:09
GyrosGeierand "avoid overwriting" means "not restoring them if the user deleted them"17:09
Kittyyeah, the files I am overwriting are nothing important17:10
Kitty /etc/inittab and /etc/default/grub17:10
Kittynothing significiant17:10
fsmithredI have a spare inittab online. Let me know if you need it.17:13
Kittyit's working now17:13
Kittywell, the truth is in the reboot...17:13
KittyWOO!17:15
Kittymy first deb package17:15
fsmithredcongrats!17:15
fsmithredcan we start giving you packages to maintain?17:16
Kittywell all this does is deliver 4 config files, and it doesn't seem to do any checks before overwriting existing files17:16
KittyI just got fed up with doing the same 4 edits on each vm I create17:17
GyrosGeierdpkg checks that17:17
GyrosGeieryou can test it by deleting one of the config files and reinstalling the package17:17
GyrosGeierthe conffile should not reappear17:17
GyrosGeierwithout --force-confnew, that is17:17
GyrosGeieror --force-confmiss17:18
Kittyif I create my own debian repo, with my package in it, and my package depends on packages that are outside of my repo, will that work ok?17:21
GyrosGeieryes17:21
GyrosGeieras long as clients have all sources configured17:21
GyrosGeierIIRC reprepro has some kind of "testing migration" feature that will check dependencies, that would not work17:22
Kittycan I use the depends machanism to uninstall packages when I install mine ?17:25
fsmithredProvides:17:26
fsmithred^^^ so your package will provide the dependency that requires the package you are removing/replacing17:27
Kittywhat happens if I have conflicts,17:28
Kittyrather, if I have "Conflicts: <foo>"17:29
Kittyif I do apt-get install mypackage17:29
Kittywill it remove foo ?17:29
fsmithredI think so17:32
fsmithredor might refuse to install. Not sure.17:32
morruthafair, refuse to install17:36
morruthafair, it'll remove existing package, if it mentioned in Replaces:, but not sure17:37
GyrosGeierReplaces: alone replaces files in the other package17:39
GyrosGeierReplaces+Conflicts: replaces the entire package17:39
morruthhttps://wiki.debian.org/PackageTransition17:39
GyrosGeierReplaces+Conflicts+Provides also allows installation if other packages depend on the package being replaced17:39
GyrosGeierthe Debian Policy manual documents this17:39
GyrosGeierit's from a time when people in Debian still cared about good design and documentation17:40
Kittythat's a while a go then...17:40
Kittygiven I clock off in 15 mins, I think I'll leave the task of setting up my own app repo until tomorrow17:43
KittyNeed to work out if it's possible to do apt-cacher and an apt repo on the same machine.17:43
Kittyhmm, the dual stack v4/v6 ness is going to be fun17:45
lunariowhen i upgrade my chimaera installation to testing, will the package versions be upgraded to the same ones as in debian testing? or is devuan lagging behind in those?18:21
morruthafaik, lagging18:24
morruthcouple of days18:24
furrymcgeewhat package?18:25
furrymcgeeare they not redirected to debian servers?18:27
golinuxfurrymcgee: Yes.  They Debian packages come directly from their servers then merged with the ones we repackage.18:37
sadoon_albader[mAh speaking of which, a bit off-topic but18:41
sadoon_albader[mI'm close to being done with the unofficial bullseye for ppc64 and ppc18:41
sadoon_albader[mgolinux: how many packages are needed for devuan to work given that all the debian packages are available?18:42
golinuxsadoon_albader[m: That's good news! All packages that Devuan forks should be here: https://git.devuan.org/explore/repos?page=1&sort=recentupdate&q=devuan&topic=false18:50
sadoon_albader[mRough counting, that looks like about 60 packages right?18:52
sadoon_albader[mIf that's the case this is awesome, I can get it running very soon18:52
golinuxNot all Debian packages are available.  There is a blacklist: https://pkgmaster.devuan.org/bannedpackages.txt18:53
sadoon_albader[mblacklisting is easy, building some of these security updates is proving to be a little painful though :P18:54
sadoon_albader[mnodejs does not build on powerpc and ffmpeg depends on things that need nodejs..18:54
sadoon_albader[mAnyways this sounds great, I'll hit two birds with one stone18:55
golinuxYou might also find this resource helpful: https://pkgmaster.devuan.org/devuan/18:57
golinuxThanks for checking in.  I'll be afk for a while.18:58
sadoon_albader[mno problem, see ya18:58
FatPhilwierd - I just unstalled gcc on my (ascii) system, and upon invoking it I'm greeted with "abcsq.c:1:19: fatal error: stdio.h: No such file or directory". dpkg -S confirms - no stdio.h on the system.19:27
furrymcgeeI diffed devuan and debian Sources.gz, the Testsuite and Vcs-Git fields are shifted19:47
furrymcgeethere is also a diff in Directory on every package19:53
bb|hcbFatPhil: Do you have libc6-dev? Try installing build-essential (that pulls lots of stuff)20:08
FatPhilbuild-essential seems like it was missing: "0 packages upgraded, 11 newly installed, 0 to remove and 0 not upgraded."20:18
golinuxfurrymcgee: The mechanism for merging debian and devuan repos is amprolla.  https://git.devuan.org/devuan/amprolla320:47
furrymcgeethe order maybe defined by sources_keys in https://git.devuan.org/devuan/amprolla3/src/commit/869d243f25be650b851d6ff9d46e73300afe2569/lib/config.def.py21:00
furrymcgeeplease see this for example https://paste.debian.net/122346421:06
golinuxfurrymcgee: A better channel to ask about package management would be #devuan-dev21:35
furrymcgeeyes its a good channel for more detailed discussion21:40
bb|hcbfurrymcgee: What do you want to achieve? It is not clear from the paste...21:41
golinuxbb|hcb: Thanks for jumping in21:42
furrymcgeethere was a question of package versions in testing thats why I am comparing Sources.gz files21:44
furrymcgeeonly for statistic reason21:46
bb|hcbThere is a tool wrap-and-sort; because these files are some form of key-value(s) it does not matter in what position the key is specified; after wrap-and-sort both files, you can diff them21:46
eyalrozI have a locale question. LANG is set to en_IL , but LANGUAGE is set to en_IL:en . Is this a legit state of affairs?21:47
bb|hcbActually wrap-and-sort is used during packaging to keep similar files in the source package in order, so it will need -f file to operate on files outside of a package21:47
bb|hcb...and the order is important to get a nicer diff between versions21:48
bb|hcbAbout mirrors - Devuan mirrors have /merged that gets translated by some magic to /devuan/pool or externally redirected to /debian/pool on a external mirror. This is how a Devuan package mirror is only 50G while a Debian one is 1.6T21:54
furrymcgeeI would expect this command to represent the amount if changes in devuan# diff <(wget -O- http://ftp.debian.org/debian/dists/testing/main/source/Sources.gz | gunzip -) <(wget -O- http://deb.devuan.org/merged/dists/testing/main/source/Sources.gz | gunzip -) | diffstat22:02
bb|hcbfurrymcgee: Oh, no... That would not produce any meaningful result22:45
furrymcgeeyes it was intended to be a quick approximation22:49
bb|hcbwget -q -O- http://deb.devuan.org/merged/dists/testing/main/source/Sources.gz|gunzip|egrep -B2 '^Version: .*devuan.*'22:50
bb|hcbtry this22:50
rrqor perhaps you might want to contrast `grep pool/DEBIAN`  with `grep pool/DEVUAN` in http://deb.devuan.org/merged/dists/testing/main/source/Sources.gz22:51
bb|hcbIt breaks on tasksel, because binary list is multiline, but you can get a pretty rough idea about the forked packages.22:51
furrymcgeein my opinion all entries should be equal for identical packages22:52
bb|hcbYes, that will be better, because it will also show the things packaged only in Devuan22:53
furrymcgeethe biggest problem would be to ask debian to change the pool directory22:53
bb|hcbNo, they may be reordered or reformatted without any semantic change22:53
bb|hcbIn order to compare, you will need a proper parser for the format22:55
bb|hcbI didn't get that - why ask them to change it?22:55
furrymcgeeto match "Directory: pool/DEBIAN/main/d/dpkg" for example22:56
bb|hcbThat is easy without changing anything... Last word is unique22:58
rrqfurrymcgee: yes, the meta files are generated to suit their repositories. Devuan is based on a "virtual overlay" that allows a mapping of Devuan's furrymcgee: yes, the meta files are generated to suit their repositories. Devuan uses a "virtual overlay" where the pool/DEBIAN/.. paths get rewritten into proper debian paths by the deb.devuan.org web services22:59
* rrq repeating repeating myself myself22:59
furrymcgeethere could be Directory: pool/UBUNTU as well23:01
rrqindeed, but who wants to suffer?23:01
rrqsimly that the deb.devuan.org servers would need the additional response rules to offer 302 redirects for those urls...23:03
bb|hcbUbuntu? That is not a good idea, just because their packages are not compatible with Debian/Devuan; different libs, different compiler version... Maybe some very simple packages will work but generally packages compiled for Ubuntu will not work on Devuan23:06
furrymcgeethere are many apt repository interchangeable, this might need a close standard for Sources.gz23:07
bb|hcbUnlike Ubnutu, Devuan closely follows Debian releases, e.g. chimaera is based on bullseye and most of the things are identical23:11
rrqyes, with the difference in filesystem expectations it remains "better" to let any such mixing be left to the end-user's peril23:12
ShorTielike 90% of devuan comes from debian23:12
bb|hcbBesides the forked packages discussed above and the banned packages found in http://deb.devuan.org/bannedpackages.txt23:13
furrymcgeeyes it is important to the users to have a comparison23:15
furrymcgeewithout any clutter of identical packages23:17

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