libera/#devuan/ Saturday, 2024-09-07

rktaWhat is the recommended way to allow user to change the backlight brightness? I can change it as root by writing to /sys/... I installed the package 'light', but this fails because of missing permissions. Do I have to use setuid?07:38
rwprkta, I have a blog posting on it: https://www.proulx.com/~bob/doc/thinkpad-x220-laptop-keys/thinkpad-x220-laptop-keys.html07:48
rktarwp: very nice. So, acpi is the trick here. Also very nice that it works outside X, exactly what I need.07:51
rwpI am old-school in that I want things like that to work everywhere.  The new-kids thinking is that it will only work in X in a Desktop Environment.07:53
rktaNo X is outside their horizont of thinking, I don't think it's malice.07:55
rktarwp: Works as expected, thank you!09:31
freaxehdevuan file server, the new motherboard with ddr3 memory, has been rock solid for 4 days now. Currently streaming BTTF3 from it.16:42
freaxeh00:42:29 up 3 days, 22:28,  1 user,  load average: 0.69, 0.40, 0.1716:42
buZz-new- hw with ddr3? :D16:45
freaxehyeah16:46
freaxehwell, 10 year old new hardware16:47
freaxehreally glad that this motherboard is in better shape than the older ddr2 mobo16:47
buZz:) nice16:47
freaxehGIGABYTE GA-MA785GT-UD3H < thats the "new" mobo. ddr3.16:48
devuanconsumer__.17:40
AlexLikeRockhi17:46
AlexLikeRocki need help http://paste.debian.net/1328712/17:47
AlexLikeRocktrying to overwrite '/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2', which is also in package libc6-udeb 2.36-9+deb12u717:49
AlexLikeRockErrors were encountered while processing:17:49
AlexLikeRock /var/cache/apt/archives/libc6_2.36-9+deb12u8_amd64.deb17:49
AlexLikeRockE: Sub-process /usr/bin/dpkg returned an error code (1)17:49
AlexLikeRocki install my devuan by refreacta17:51
AlexLikeRockdo i need package merge folders  ?17:51
fsmithred_what is a package merge folder?18:06
AlexLikeRockthe stupid merge folder from /bin to /USR/bin   , som like that18:06
fsmithred_not needed in daedalus18:07
fsmithred_why are you running that command?18:08
fsmithred_I can't find a package named libc6-udeb18:11
AlexLikeRocki dont now where installit18:11
AlexLikeRockthe big problem  its    http://paste.debian.net/1328714/18:12
AlexLikeRocklibC618:12
fsmithred_oh, it's in the debian-installer tree18:12
AlexLikeRock i cant remplace18:12
fsmithred_what are you trying to do?18:12
AlexLikeRockupgrade  , today18:13
fsmithred_you tried apt update && apt upgrade?18:15
AlexLikeRockyes18:15
AlexLikeRockE: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).18:15
AlexLikeRockUnpacking libc6:amd64 (2.36-9+deb12u8) over (2.36-9+deb12u4) ...18:16
AlexLikeRockdpkg: error processing archive /var/cache/apt/archives/libc6_2.36-9+deb12u8_amd64.deb (--unpack):18:16
AlexLikeRock trying to overwrite '/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2', which is also in package libc6-udeb 2.36-9+deb12u718:16
AlexLikeRockErrors were encountered while processing:18:16
AlexLikeRock /var/cache/apt/archives/libc6_2.36-9+deb12u8_amd64.deb18:16
AlexLikeRockE: Sub-process /usr/bin/dpkg returned an error code (1)18:16
fsmithred_does this show if the package is installed?   apt policy libc6-udeb18:17
fsmithred_maybe you need to paste your sources.list for us to see18:18
AlexLikeRockhttp://paste.debian.net/1328718/18:18
rwpapt policy libc6-udeb shows it installed but no candidate from any networked repository for it18:19
AlexLikeRockok, lets remove18:19
AlexLikeRockhow to do?18:19
fsmithred_no18:19
AlexLikeRockwhy?18:19
fsmithred_aptitude why libc6-udeb18:19
fsmithred_and also let me see what you did to sources.list18:20
fsmithred_Did you install from one of the devuan live isos or from your own?18:21
AlexLikeRockfrom LIVE iso18:21
AlexLikeRockhttp://paste.debian.net/1328721/18:21
fsmithred_That is not easy to read. You seem to be missing daedalus-security and daedalus-updates18:23
rwpThe entries that scare me are the commented out ubuntu xenial entries.18:24
AlexLikeRockok, uncomment !18:24
tempforeverlol18:24
AlexLikeRocki dont see nescesary "security and updates "18:25
fsmithred_You installed devuan daedalus from live iso or devuan jessie and then upgraded all the way to current?18:26
AlexLikeRockyes, from jessie ,18:26
AlexLikeRockyes , all the way18:27
fsmithred_or squeeze?18:27
fsmithred_and you install shit from ubuntu, too?18:27
AlexLikeRocksqueeze are, my other PC18:27
AlexLikeRockthis laptop , from jessie LIVE ISO18:27
fsmithred_why is libc6-udeb installed?18:27
AlexLikeRocki dont now18:28
fsmithred_aptitude why libc6-udeb18:28
AlexLikeRockits a command ?18:28
fsmithred_yes18:28
AlexLikeRockLOL18:28
AlexLikeRocktry :  93%   upgrade18:28
AlexLikeRockhold on ...18:28
AlexLikeRockaptitude why libc6-udeb18:29
AlexLikeRocki   libc6-udeb Provides libc618:29
tempforeverweird, my apt says Unable to locate package libc6-udeb (also on daedalus) -- maybe that got pulled in from another source at one time18:29
AlexLikeRockyes, maybe MEGA18:29
rwpI am curious what "apt-cache policy libc6" says.18:29
AlexLikeRockhttp://paste.debian.net/1328722/18:30
fsmithred_maybe try aptitude remove libc6-udeb to see if it gives any solutions18:32
msiismIs there any difference of practical relevance between "user groups" and "system groups" on Devuan?18:32
AlexLikeRockCouldn't find any package whose name is "libc6-ude", but there are 1 packages which contain "libc6-ude" in their name18:33
AlexLikeRocklibc6-udeb18:33
fsmithred_like what?18:33
rwpI haven't ever needed to deal with a udeb but my understanding is that they are used ONLY when building a live RAM image by the debian-installer to be small for RAM running usage.  They should never be installed on a disk based system.18:33
fsmithred_and they are not used in the live-isos at all18:34
buZzAlexLikeRock: sounds like you are mixing up repos from different distros?18:34
AlexLikeRockmaybe18:34
fsmithred_dpkg -i | grep libc6-bin18:35
fsmithred_nononono18:35
fsmithred_dpkg -l18:35
AlexLikeRockok18:35
rwpI am thinking I would peek at "apt-get install libc6 libc6-udeb-" with that trailing - to tell it to install one and remove the other.  And I say peek because I don't know what else is needed to do that swap without having the tool report it.18:35
buZzdebian just went to 12.7 , if something upstream from your system didnt go along, you might be hitting issues18:35
buZziirc 12.7 included a new libc18:35
AlexLikeRock dpkg -l | grep libc6-bin18:36
AlexLikeRockroot@DELL:~# dpkg -i | grep libc6-bin18:36
AlexLikeRockdpkg: error: --install needs at least one package archive file argument18:36
fsmithred_yeah, 12u8 is current18:36
buZzAlexLikeRock: -l , not -i18:36
fsmithred_ok I'm getting to confused18:36
* buZz hands fsmithred_ a cold one18:36
AlexLikeRockdpkg -l | grep libc6-bin    = noting18:36
fsmithred_I want to know the names of the packges that contain libc6-udeb18:36
fsmithred_dpkg -l |grep libc6-udeb18:36
AlexLikeRockOK,18:37
buZzi have no libc6-bin either, does it even exist?18:37
fsmithred_it told you there were packages that had that in the name18:37
fsmithred_I want to know wtf they are18:37
rwpI am also wondering if there are other udeb packages installed.  "dpkg -l | grep -e -udeb"18:37
fsmithred_buZz, I have no idea18:37
AlexLikeRockdpkg -l |grep libc6-udeb18:37
AlexLikeRockii  libc6-udeb                               2.36-9+deb12u7                          amd64        GNU C Library: Shared libraries - udeb18:37
AlexLikeRockdpkg -l | grep -e -udeb18:37
AlexLikeRockii  libc6-udeb                               2.36-9+deb12u7                          amd64        GNU C Library: Shared libraries - udeb18:37
AlexLikeRockroot@DELL:~#18:37
AlexLikeRockremove manual it ?18:38
rwpThat's good anyway.  It's just that one that is the problem.18:38
buZzlibc6-udeb did exist in bullseye18:38
fsmithred_it's only in the debian-installer tree18:38
rwpRemoving the standard C library will remove the main infrastructure that EVERY other program running requires to be there to run.18:38
buZzhttps://packages.debian.org/bullseye/libc6-udeb <--18:38
AlexLikeRockhttps://packages.debian.org/es/bullseye/libc618:38
buZzi dont think this will be -the- C library ?18:39
fsmithred_try the +- trick: add and remove as described above18:39
AlexLikeRockhttps://packages.debian.org/es/bullseye/libc6-udeb18:39
rwpbuZz, Why don't you think this?18:39
buZzbecause > Warning: This package is intended for the use in building debian-installer images only. Do not install it on a normal Debian system.18:39
rwpRight.  But here we are.18:40
buZzoh wait, they installed distroA from install medium of distroB ?18:40
AlexLikeRockhow to remove manual  ?18:40
buZzyeahhhh, that wont work too well18:40
tempforever<rwp> I am thinking I would peek at "apt-get install libc6 libc6-udeb-" with that trailing - to tell it to install one and remove the other.  And I say peek because I don't know what else is needed to do that swap without having the tool report it.18:40
buZzoh i wanted to paste that line too18:40
buZz:D18:40
fsmithred_^^^ yes18:40
rwpJust checking to be sure but we are not running in a debian-installer shell environment right now are we?  We are not in a d-i rescue mode or anything?18:41
AlexLikeRockhow to delete ?18:42
fsmithred_apt-get install libc6 libc6-udeb-18:43
fsmithred_did you try that?18:43
buZzwith that trailing - to tell it to install one and remove the other.18:43
buZz;)18:43
rwpYou don't want to delete libc6-udeb as a sole action as that would remove required things.  You want to REPLACE it in ONE MOTION with the standard libc6 package.  That's the trick.18:43
* fsmithred_ crosses his fingers18:44
rwpI expect it must fail due to "=" dependencies but apt will tell us and then we will know what else is needed.18:44
AlexLikeRockaptitutde remove libc6-udeb   =    http://paste.debian.net/1328724/18:45
rwpHowever "dpkg -l | grep -e -udeb" showed only that one single udeb so maybe that is all that is needed?18:45
rwpI don't know what was so hard about apt-get that one needed to move to aptitude but that paste looks like a good solution and includes "libc6 [2.36-9+deb12u4 (now) -> 2.36-9+deb12u8 (stable)]" as part of it.  What does the group think?18:46
fsmithred_That looks like a winner.18:48
fsmithred_rwp I suggested trying aptitude because sometimes it is smart.18:48
tempforeverI'd do it on my system if I were in this mess18:48
rwpfsmithred_, Yes but you suggested that 20 minutes ago.  In any case I think that is a good solution.  I vote +1 to do it.18:49
fsmithred_lol, nothing new here18:49
AlexLikeRock+218:49
AlexLikeRock:D18:50
fsmithred_ok, I think I'm gonna go make lunch18:51
AlexLikeRockhttp://paste.debian.net/1328726/18:51
AlexLikeRocknoodles ?18:51
AlexLikeRocknoodles fsmithred_ ?18:51
rwpThat last paste is telling the same information as the previous.  The group thinks your aptitude solution is the best one.  Let us know the result after you do it.18:52
AlexLikeRockrwp,   what command ?18:53
rwpAlexLikeRock, https://paste.debian.net/1328724/18:54
AlexLikeRocksame error18:55
AlexLikeRock trying to overwrite '/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2', which is also in package libc6-udeb 2.36-9+deb12u718:55
AlexLikeRocki will remove  '/lib/x86_64-linux-gnu/ld-linux-x86-64.so.218:55
AlexLikeRockO_O18:56
rwpIf you remove that file then no dynamic executable will run afterward.18:56
AlexLikeRockaptitude install libc6 libc6-udeb-18:57
AlexLikeRock-bash: /usr/bin/aptitude: cannot execute: required file not found18:57
AlexLikeRocki kill my laptop  !!!!18:57
AlexLikeRockwhy didn't you tell me before?   X-X18:58
rwpPretty much you removed the one file that every other program on your system depends upon.18:58
rwpI only said that like three or four times already.  Why didn't you listen to what I was saying?18:58
AlexLikeRockbecause im  novice?18:58
rwpAt this point your best recovery is to boot the debian-installer in rescue mode.  Then let it drag you through a rescue of your system.18:59
tempforevertime for rescue mode18:59
AlexLikeRockyep19:00
rwpI might also ask what data you have on your laptop.  It might be easiest to back up your personal files and then install a fresh system.  Then restore your files.  That's an easy and direct way to get back to a fully running system.19:00
AlexLikeRocki cant , because a have hidden  configurations of firefox , games , etc ,etc19:01
rwpTo do the backup I would boot a refracta live boot system.  Then copy everything off.19:02
rwpWhat is a "hidden configuration"19:02
AlexLikeRockcould copy  from refracta  without format ?19:03
buZzAlexLikeRock: if files are hidden, you can still back them up19:03
rwpMeanwhile if you want to get things back to where they were before you removed that /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 file you could also boot rescue mode or refracta live and simply copy another version of that file back into place again.  Then your system would be back to where it was a few minutes ago.19:03
AlexLikeRockthey are so many programs with "hidden files"19:04
buZzprotip ; never remove files, just -rename- them ;)19:04
buZzAlexLikeRock: they start with a '.' in linux19:04
buZzits not that special19:04
rwpBut then while restoring the ld-linux-x86-64.so.2 would return you to where you were before you would still have the same problem you had before too.19:04
AlexLikeRockrwp,  copy only ld-linux...so.219:04
buZzAlexLikeRock: when did you install this? why is the install so precious that it needs recovering?19:05
rwpAlexLikeRock, Correct.  You broke things by removing ld-linux-x86-64.so.2 and you could restore things by copying ld-linux-x86-64.so.2 back into place.19:05
AlexLikeRockbuZz,  i dont now , i hate  install from "0"19:06
AlexLikeRocksome time i lost information19:06
rwp[[ As a background information thing to what the ld-linux-x86-64.so.2 is you can read the "man ld.so" man page which describes it. ]]19:06
rwpI think you could boot either the debian-installer rescue mode or refracta and then copy the live boot's /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 into place on your system to restore the file you removed.19:09
rwpIt won't be the exact same version but I think the API is stable enough to be fully compatible.  I think.  (Anyone else know?)  And then you could reboot again to your old system and be back to where you were a few minutes ago.19:09
rwpOf course then you would still be dealing with your broken system with the libc6-udeb installed problem.19:10
rwpI am wondering if usrmerge was part of the problem since /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 is going to be seen by dpkg in different locations depending upon the /lib symlink.  Which is one of the bugs and reasons UsrMerge was a bad idea.  Due to exactly that path problem.19:11
rwpAlso when we say this is why /sbin should be present with statically linked system binaries this is exactly the reason why.  Because if that were so now like it used to be then those programs would still be working and it would be trivial to fix the broken dynamic loader.19:17
fsmithred_wow, I thought the big smile meant that it worked.19:32
AlexLikeRockim back23:33
AlexLikeRockbuZz,  rwp fsmithred_23:34
buZzAlexLikeRock: ilu223:34
AlexLikeRocklets continue23:34
AlexLikeRock libc6-udeb23:35
rwpAnd then he left.23:40
fsr_AlexLikeRock, you were supposed to use the aptitude command as you showed us in your paste. Did you try it?23:54
AlexLikeRockhttps://paste.debian.net/132871723:55
AlexLikeRockhttps://paste.debian.net/132872423:56
AlexLikeRockhttps://paste.debian.net/132872223:56
AlexLikeRockhttps://paste.debian.net/132871823:56
fsr_https://paste.debian.net/1328724  <- say yes23:58
tempforeverapt-get install libc6 libc6-dev libpython3.11-dev zlib1g-dev libc6-udeb-23:58
fsr_^^^ or that23:58
tempforever(or say yes)23:58
fsr_lol23:58
tempforeverlol23:58
fsr_pick one23:58
AlexLikeRockof course i did  "yes"23:59
fsr_and the result?23:59

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