libera/#devuan/ Wednesday, 2021-03-03

brumes: I thought it was empty until I set the URL to the merged directory, which is roughly up-to-date00:04
bruFor instance my sources.list is "deb http://espejito.fder.edu.uy/devuan/merged chimaera main non-free contrib"00:05
bru... Although it seems that Berkeley's site is really empty00:06
onefangBerkeley joined us as an ISO mirror, and kinda tacked on package mirror as an afterthought, then just dropped it, sorta.  They kept promising me they'll pull their finger out.00:08
sunshaviI am booting maemon leste on opipc SBC: https://termbin.com/0t7401:53
sunshaviany idea how well is this going?. I can not login by ssh. But I can do ping to it01:54
XenguyNo idea what you're talking about02:20
asdflkjsunshavi: try /join #maemo-leste02:33
sunshaviasdflkj: thanks02:37
asdflkjnp02:37
azotHello.07:19
azotI wonder, if there exists a way to build a full set of desired packages for my setup from source?07:20
azotSay, I wanted to eliminate dbus, and to build emacs differently.07:20
azotAnd use different package build options in various other places.07:21
JackFrost...It sounds like you're describing Gentoo..07:25
azotI actually, want Debian w/o dbus, systemd, and with a few package tweaks of my own.07:27
gnarfaceazot: as far as i know the tools for automating this only build one package at a time, it's not like gentoo, but you could still accomplish what you want08:30
azotHow does the build process work?08:30
azotE.g. in ports / pkgsrc, I just cd to a directory, and run make package-install.08:30
gnarfacesomething like apt-get source [package name] && dpkg-buildpkg -us -uc08:31
gnarfaceprobably first you want to "apt-get install build-essential" and "apt-get build-dep [package name]"08:32
gnarfaceit still sometimes misses stuff08:32
azotOk.08:32
gnarfacebut if you read the build errors you can usually figure out what the missing packages are08:32
azotOk.  Thank you.08:33
gnarfaceno problem08:34
gnarfaceyou can use the debian new mainainer's guide chapters 6-8 i think still08:38
gnarfacebut somewhere around here someone has some more streamlined devuan documentation08:38
azotOk.08:38
azotI know my way around Debian pretty well.08:39
gnarfacealso there are build scripts on git.devuan.org if you actually want to go up a level on the chain and build your own installer08:39
azotThe missing pkgsrc-like features is the biggest sore in general.08:39
gnarfacefundamentally nothing should be different about this process between devuan and debian08:39
gnarfacethey didn't do anything different really, they just forked a few packages to undo damage08:40
azotWell, that makes it a bit more painful.08:40
azotI really like the ability to rebuild whole system.08:40
gnarfaceyea, i think the only stuff we have like that around here are for the ARM images08:41
gnarfacei'm not an authoritative source though08:41
gnarfacethe forum listed in /topic would be a good place to check08:41
gnarfacewell, there's also the refracta tools, they might be of some help, but i think they are more for working with already-built package repos08:42
azotIf there's a way to create a bulk build, that's all I need to.08:47
gnarfacei would check git.devuan.org then, the image build scripts are in there somewhere...08:47
azotI could manage the rest by taking the resulting set of packages, putting them in my local repo, and then updating machines to them, or using debootstrap to bring machines with those up.08:48
azotOk.08:48
gnarfacefsmithred might have some advice for you08:48
gnarfacefor the most part the point was not to change a lot of packages though08:48
onefangCoz there's not that many of us, and there's a looot of packages.08:50
azotIndeed; and it's good to take advantage of work already accomplihed.08:50
gnarfacebut i think there might be a couple ARM build scripts for images that need all the packages to be recompiled, there might be something you can start from in there...08:51
gnarfacei thought there was at least talk of a raspberry pi one08:52
azotOk.08:54
fsmithredazot, here's a discussion about running without dbus. Just through choice of packages, without any recompiling: https://dev1galaxy.org/viewtopic.php?id=215812:46
adilixhi all14:45
adilixits up and running now, but even when i tried to install with the network cable i had the same issue as with wlan card, so its a bug14:46
adilixnew question: is there any bug or problem with locate? i deleted all the systemd files in my system but when i do locate systemd they appear on results, even updatedb dosnt help14:48
adilix+ i deleted the database and made updatedb again, , the same problem14:49
fsmithredadilix, exactly what problem did you have installing the firmware package?15:03
fsmithredDid it fail to install, or does it not see the wireless interface after installing?15:03
adilixit failed to install with error -215:04
adilixit works now without problem15:04
adilixbut i mean the installation media have a problem, iwasnt able to configure the network card15:05
fsmithredok, thanks.15:05
fsmithreddid you say this was a EEE?15:06
adilixyes eeepc 90115:06
adilixi tried to install it again with ethernet cable pged in, but the same problem as with wlan015:06
fsmithredfrom usb I assume15:06
adilixyes15:07
adilix+pluged15:07
fsmithreddid it have trouble finding the "cdrom" early in the install?15:07
adilixno15:07
adilixafter i aborted the network configuration it installed the system normally without problems15:08
fsmithredwith the server iso?15:08
adilixyes15:09
adilixbut the problem with network configuration was on both isos15:10
adilixdevuan_beowulf_3.1.0_i386-server.iso and devuan_beowulf_3.1.0_i386-netinstall.iso15:10
adilixboth isos have the network configuration problem15:11
fsmithredok, thanks.15:11
fsmithredadilix, I can't reproduce it on my toshiba laptop. Installer let me use wlan0 with wpa2.15:22
fsmithredhm, I used amd64.15:24
adilixdid you need any non-free firmware, i needed rt2869.bin firmware15:26
adilixrt2860.bin15:26
fsmithredfirmware realtek15:33
fsmithredI'll try again with i386.15:33
adilixyes rt is realtek15:34
fsmithredyeah, but I think you need firmware-ralink15:34
adilixand the ethernet card is atheros15:34
fsmithredaccording to debian wiki15:34
fsmithredsorry, i386 won't boot.15:36
fsmithredprobably toshiba uefi is the issue15:36
xinomilort2860 is firmware-ralink...15:38
xinomiloeeepc is a mess, hardware/driver-wise, good luck15:38
adilixa right its ralink15:40
adilixbut i have another problem15:40
adilixi deleted all the systemd files , and now i cant start the xserver15:40
adilixi get the error -> error while loading shared libraries: libsystemd.so.015:41
adilixi was thinking devuan is systemd free, but i didnt had this error on my VM15:41
adilixwhat now15:41
fsmithredinstall libelogind015:44
fsmithredand don't remove /lib/x86_64-linux-gnu/libsystemd.so.0 when you get it back.15:45
fsmithredthat's weird. apt-file says that file comes with libelogind0, but I don't have it.15:46
fsmithredoh, it's in /usr/lib15:47
adilixcant install it , apt: error while loading libraries15:47
adilixeven apt needs libsystemd.so.015:48
fsmithredlibelogind0 should take its place15:48
fsmithredtry aptitude install libelogind015:48
adilixaptitude command not found :)15:49
adilixit smells like i have to install it again15:49
adilix:)15:49
fsmithredor pull the .deb from the iso and install it with dpkg15:50
adilixhmm let me do it15:50
adilixcant find it on the cd15:59
adilixlooked in main under /libe and /e but nothing16:00
adilixdo you know hwere it is16:00
fsmithredI'll look in a minute. Should be in DEBIAN pool16:01
adilixi looked there /DEBIAN/pool/main16:03
fsmithredyeah, that's wrong16:04
adilixfound it16:04
fsmithredpool/DEVUAN/mai16:04
adilixits in /DEVUAN16:04
fsmithredelogind16:04
fsmithredand i386 lets me use wlan0 on the thinkpad16:04
adilixit works again, but then devuan is not really systemd free16:06
adilixhmmm which thinkpad16:06
fsmithredT42016:07
fsmithredHere's some reading about the systemd files in devuan: https://dev1galaxy.org/viewtopic.php?id=192516:07
adilixi have this site bookmarked16:07
fsmithredTo get rid of it completely would require recompiling all the packages that expect to see the libraries.16:07
adilixnice16:08
adilixT420 is not a i386 and has different hardware16:08
fsmithredyeah, and it's set for uefi boot16:08
fsmithredbut the installer runs and does what it should16:08
fsmithredsomeone needs to test on another EEE16:09
fsmithredyou having any luck installing with dpkg?16:09
adilixyes i installed it with dpkg and zx is running again16:10
fsmithredcool16:10
fsmithredlook in the installer log for hints about what went wrong16:10
fsmithredthere's a hack in the installer to make it re-detect hardware because it was failing to see wireless cards16:11
fsmithredlook for 'firmware-ralink' or just firmware16:12
fsmithredafk16:12
adilixok will do it , but later on, i have enough for now, making a Pause and going to frag some people for now16:12
adilixbrb16:13
adilixre17:08
svarzeHi everyone, I have a Debian Buster server and I want to switch to Devuan Beowulf (and remove systemd); I followed the migration procedure as described here https://www.devuan.org/os/documentation/dev1fanboy/en/buster-to-beowulf but I can't install eudev, giving me this error: "systemd is the active init system , please switch to another before removing systemd" ; how can I do ? Can you help me ? Thanks in advance.18:00
masonsvarze: If you have the keyring installed and have a correct sources.list file, this works reliably for me: https://bpa.st/FNAQ18:05
svarzemason: I also tried as you say but it has always been me this error: "systemd is the active init system , please switch to another before removing systemd" ....18:12
masonsvarze: Did you start with apt --purge install sysvinit-core18:13
mason ?18:13
masonMy full set, which has worked in many instances, and fairly recently: https://bpa.st/2MBQ18:14
lts-I have had good success with the linked instructions. The differences I do are wicd-cli or dhcdcd instead of wicd-gtk, and no xfce or gnome naturally (on a server)18:17
lts-s/dhcdcd/dhcpcd/18:17
lts-Check that you don't have other repositories in your /etc/apt/sources.list or sources.list.d/*18:18
svarzemason: but the repo of https://www.devuan.org/os/documentation/dev1fanboy/en/buster-to-beowulf are not correct?18:31
masonsvarze: Those are correct. I just use a local cache instead, here.18:37
masonsvarze: I'm not sure why they're advocating --allow-insecure-repositories there - I don't do that and I wouldn't want to.18:38
lts-It's to make apt-update work before devuan-keyring is available, is it not?18:39
masonOh, maybe. It'd be way better just getting the keyring first.18:41
svarzebut if you give apt-get install devuan-keyring --allow-unauthenticated it bypasses it, right?18:42
masonsvarze: At the cost of not actually being able to trust anything thereafter.18:42
lts-After the keyring is installed, you no longer need the --allow-insecure-repositories nor --allow-unauthenticated because they are now legit as proven by the keyring18:43
masonsvarze: The steps I posted have you getting the keyring from Devuan via https, which is a step towards trust, and then the keyring lets you trust what you get from the archives.18:43
masonlts-: But you can't trust that you've gotten the right keyring if you don't have an encrypted/authenticated chain of custody.18:44
svarzemason: right, you better be sure ...18:44
masonI try not to LOLYOLO systems I want to trust. :P18:44
azotmason, True, but then you could fixate the point in time you're getting an arbitrary trust relationship.  Which is useful and significant.18:45
masonazot: Not entirely true. You're depending on a mirror if you do it the other way, whereas pulling the keyring directly from pkgmaster eliminates the chance for anything funny from one of the mirrors.18:49
svarzeDamn, with "apt --purge install eudev systemd- libnss-systemd- elogind-" I can't install eudev and uninstall systemd and libss-systemd; do you have any ideas?18:53
svarze... always gives me the error: "systemd is the active init system , please switch to another before removing systemd"18:59
masonsvarze: Unsure, I don't remember seeing the error. Again, https://bpa.st/2MBQ is (aside from the sources.list which you can get from your other link) the full set of steps I do here to convert.19:00
masonYou want to make sure you haven't skipped any steps.19:00
azotmason, Ok, that's quite true.  That's an important clarification.19:01
masonsvarze: Did you install sysvinit-core first? Is it installed now?19:01
golinuxsvarze: https://www.devuan.org/os/keyring might be helpful19:05
svarzemason: of course I installed it19:06
masongolinux: That wording might be better without "one of our mirrors" as that links to pkgmaster directly.19:07
mason(which is what it ought to do, of course)19:08
fsmithredsvarze, have you migrated to devuan yet? That is, did you upgrade after changing sources.list, or is it all still debian?19:26
svarze fsmithred: I have already migrated to devuan20:20
fsmithredyou completed it ok?20:22
fsmithredor still stuck?20:22
svarzeit's still stuck20:27
svarzeit does not install eudev because it would like to uninstall systemd but it fails ...20:28
svarzeBut won't systemd be disabled first? The problem, however, is how, because in this way the services are disabled and therefore in this transition situation nothing would work anymore, right?20:29
masonsvarze: Maybe "apt reinstall sysvinit-core"20:30
fsmithredthat actually sounds ok. The way I've done it, install sysvinit-core first, change sources and upgrade, let eudev fail, then reboot last. Then you can remove systemd.20:36
fsmithredI'll get the thread and you can look it over. Maybe something will make sense to your situation.20:37
fsmithredalso, try aptitude and see if it offers alternatives20:37
fsmithredhttps://dev1galaxy.org/viewtopic.php?pid=17716#p1771620:39
fsmithredsvarze, post #15 has the short version20:43
masonfsmithred: Yar, your method is where I put together my cheatsheet.20:44
fsmithredmason, isn't he at the point where he should reboot into sysvinit?20:44
fsmithredthen install eudev and remove systemd20:44
masonfsmithred: Yeah, he's failing on the step that installs eudev, which I haven't seen.20:45
fsmithredit's ok that it fails before the reboot.20:45
fsmithredmy notes say that it saves some time to make that failed attempt20:46
fsmithredbut I don't remember where that time gets saved20:46
masonsvarze: fsmithred has a good point. Have you tried rebooting and continuing from there?20:46
fsmithredyou can't remove systemd when you're using it20:47
masonfsmithred: systemd shouldn't be driving after that first reboot20:48
svarzei tried but nothing but what if i remove sysvinit-core and try to reinstall it? I'm afraid a mess will come out ...20:48
masonsvarze: I'd "apt reinstall" it and reboot, and then try the "apt --purge install eudev systemd- libnss-systemd- elogind-" again20:49
masonor maybe leave elogind there if you don't mind that part of systemd sticking around20:49
fsmithredcat /proc/1/comm20:49
fsmithredwhich one is running?20:49
masonsvarze: cat /proc/1/comm | nc termbin.com 999920:50
fsmithredit's just gonna be one word20:50
masonOh, FINE.20:51
mason:P20:51
fsmithredinit or20:51
fsmithredsomething else with systemd in it20:51
mason"systemd" if it's systemd20:51
svarzefsmithred: systemd20:52
fsmithredand is sysvinit-core installed?20:52
svarzeyes20:52
fsmithredI think you should reboot20:52
fsmithredyou haven't rebooted yet, have you?20:53
svarzei tried to boot it doesn't work anymore so I'm in chroot20:54
masonhrm20:54
fsmithredoh20:54
masonWell, from a chroot, none of it should fail.20:54
svarzewell yes i can't uninstall systemd ...20:56
fsmithredso... checking /proc/1/comm in this case is useless20:56
fsmithredwhat error you get?20:56
svarzesystemd20:57
masonsvarze: Booting from Devuan livemedia shouldn't allow for any confusion between systemd running or not inside a chroot20:58
fsmithredyou can't remove systemd in chroot because it tells you that it's running?20:58
svarzeDamn, i never liked systemd and it is confirmed as such ....20:58
svarzeyes21:00
svarzesystemd it's running ....21:01
fsmithredmaybe that is somehow contaminating the initrd?21:03
svarzeI don't know, but I was thinking so too ...21:05
fsmithredI think mason's suggestion to boot a devuan iso makes sense. You could boot a live iso or even a netinstall and go into rescue mode. That will let you reinstall the bootloader and rebuild initrd.21:05
fsmithredas well as anything else you want to do in chroot21:05
svarzeI think in the end it will be the only solution, I was hoping to do it from the shell, but be patient ....21:08
fsmithredI will be afk for a little while21:23
gnu_srs1mason: fsmithred: svarze is not online any longer: But can you tell hen that we have transitional packages of udev and libudev1 depending on the corresponding eudev versions!22:17
jim_fitzI just installed devuan_beowulf_3.1.0_amd64-desktop.iso, is there way to disable the window manager?  Changing runlevels does not seem to help23:22
jim_fitzI would like just a plain cli login.23:23
rrqyou may disable the graphical display manager boot action23:27
gnarfacejim_fitz: you didn't need to install it in the first place, but uninstalling the session manager or just disabling it works23:27
gnarface(if you don't need it, you can save a few hundred MB just uninstalling all the dependencies)23:28
* numzob is also a fan of the cli login23:33
gnarfacejim_fitz: (if you don't know how, try sysv-rc-conf)23:44

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