libera/#devuan/ Saturday, 2023-09-23

fluffywolfI have a laptop with a fresh beowulf install.  installed back when beowulf was stable, did nothing since except very light web browsing.  today I tried upgrading it to daedalus in anticipation of using it for other tasks.  it failed miserably.  apt has hosed itself and won't run, missing libcrypt.04:09
fluffywolfthis is a release-critical failure.  a completely standard unused install with no frankendevuaning very much should not implode on an apt-get dist-upgrade.04:10
gnarfacefluffywolf: i think you forgot that you have to upgrade through chimaera first04:13
gnarfaceyou would also have needed to make sure beowulf was fully up-to-date including beowulf-updates and beowulf-security first04:14
gnarfaceand nothing about that process is new with devuan04:15
gnarfaceskipping those steps would have borked a debian upgrade too04:15
Xenguyfluffywolf, The truth hurts04:16
phoggSkipping releases is a chancy business; sometimes you can get lucky, but it was never expected to work.04:17
XenguyUpgrade from release to release, full stop04:17
XenguyOtherwise, 'yer doin it fuckin wrong'04:18
gnarfaceit's true that people often get away with it, but it depends a lot on what you had installed ahead of time04:19
gnarface(the less the better)04:19
XenguySure, but it's just bad practice, so why do it04:19
gnarfaceimpatience?04:20
XenguyDetails matter04:20
fluffywolfthis was a completely minimal install.04:21
XenguyImpatience in this case leads to wrong procedure, and broken systems, why not minimize one's own pain and do it in 2 steps?04:21
Xenguyfluffywolf, Doesn't matter04:21
fluffywolfit had...  firefox.  and that's about it.04:21
fluffywolfthe only thing I used it for was setting up my christmas lights.  lol04:21
XenguyIrrelevent04:21
XenguyYou did it wrong04:21
XenguyMaybe you deserve the pain04:21
fluffywolfapt shouldn't delete libraries it needs to run.  that's not me doing it wrong.  that's a bug.04:21
gnarfacemy guess is there was just one security update to one library (possibly libcrypt) that you were missing before you started, and that derailed the whole process04:22
XenguyYou refuse to adopt a recommended approach, and then point fingers when it doesn't work out for you04:22
fluffywolfI didn't refuse something I had no idea existed.  lol04:23
fluffywolfand apt imploding due to very normal user behavior is a bug.04:23
XenguyDo I need to serve up the URL on a silver platter?  You need to do some basic reading, but it's in the documentation04:23
gnarfacewell, even #debian would often give out bad advice on this matter, but the release guide has always been very clear on it.04:23
XenguyAnd it's a simple, known, principle04:24
XenguyIt's definitely documented, what else can one do?04:24
fluffywolfif you just have a release (testing) in your sources, and you update and upgrade after a long time, the entire system self-destructing is not ok.  lol04:24
XenguyDon't try to cut corners, or sometimes you're going to get bit04:24
fluffywolfI didn't try to cut corners?  lol04:25
XenguyOK, so Debian is wrong, and you take no responsibility04:25
Jjp137here's an example of it happening to a Debian user: https://forums.debian.net/viewtopic.php?t=15576104:25
Jjp137read the first reply.04:25
Xenguy(Debian *has* been wrong before  ; -)04:25
gnarfacefluffywolf: wait, so that means you actually tried to upgrade from beowulf -> excalibur directly!04:25
gnarfacethat's bad news!04:25
gnarfacefluffywolf: daedalus went stable04:26
gnarface(also this is a very well known risk of using the "stable/testing/unstable" monikers directly)04:26
fluffywolfI changed my sources to say daedalus, so it was definitely to daedalus.04:26
gnarfaceoh04:26
XenguySame issue04:27
gnarfacewell, still, unless you can reproduce the situation following the proper upgrade path, nothing can be done about it04:27
gnarfacenothing rational, anyway04:27
XenguyThere's nothing *to* be done about it, it's not a bug04:27
brocashelmthat is why you always upgrade to the release after your current one, instead of the latest release04:27
brocashelma lot of packages get deprecated in between that it confuses apt04:27
fluffywolfyes it is a bug.  apt should never hose itself without very explicitly making it do so.04:27
XenguyUser doesn't follow recommended upgrade path04:27
XenguyNow I shrug04:27
Xenguyboo04:27
Xenguyhiss04:28
fluffywolfhaving broken packages or such would be less-terrible, but breaking apt itself is very bad.04:28
XenguyYou're a bug04:28
fluffywolfand you're a dick?04:28
XenguyOnly sometimes04:28
XenguyYou deserve it though, I've been saving it up04:28
XenguyOT, I know04:29
brocashelmas long as you're not doing anything too foolish with your package management (e.g. using third-party repos, trying to get wine to "work", mixing official release repos), apt should work 99.9% of the time04:29
brocashelmhad to learn this the hard way04:29
brocashelmi realized i still had some dmo-versioned packages that i needed to correct to match devuan's04:29
fluffywolfthis was a completely plain install with no frankendebianing.04:30
* Xenguy offers some cheese with that...04:30
brocashelmi know, but it was still a mistake to jump to daedalus from beowulf (if i'm understanding correctly)04:30
XenguyBingo04:31
XenguyThat's the issue04:31
fluffywolfapt should be smart enough to install packages in the correct order to not break itself.04:31
XenguyIt's not rocket science04:31
brocashelmthings that happened during chimaera get skipped04:31
XenguyDon't do that okay?04:31
XenguyCase closed04:31
fluffywolf"the wheel falls off if I turn the car too sharp to the left" means you need to fix the car, not tell the driver not to turn so sharp.04:31
brocashelmsuch as python 2 -> 304:31
Xenguyaghhhhh04:31
Jjp137just found this lol: https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.en.html#libcrypt-upgrade-from-buster04:32
Jjp137you might be able to salvage it ikd.04:32
Jjp137idk*04:32
gnarfacehmm, fluffywolf ^ this is worth a try04:33
fluffywolfyou're taking an obvious bug and blaming it on the user.04:33
fluffywolfJjp137:  thanks!  I didn't find that googling.  trying it now.04:33
Jjp137np04:33
brocashelmapt doesn't think that way, so it has to be done very meticulously04:34
brocashelmi usually try aptitude dist-upgrade to get an all-clear on the upgrade04:35
brocashelm*safe-upgrade04:35
fluffywolfthen apt should give a warning about trying to install more than one release number and require forcing to do it.04:35
fluffywolfI wish I had aptitude on that laptop...  trying to install aptitude manually was going to be my next step.  heh.04:35
brocashelmi would agree that it should give more warnings like that, but has it been suggested already to debian? perhaps file a bug report with this suggestion04:37
gnarfacehah, that won't work04:37
brocashelmforgot the /s04:37
fluffywolfhrmm.  apt-get update is giving "error: timeout was reached" without specifying WHAT timed out, all files look ok?04:37
gnarfaceno traction on fixes for this from them will ever happen. i've tried. same thing with forbidden downgrades... nobody over there is interested in warning people not to shoot their foot off04:38
fluffywolfthe instructions on that page give a really cryptic permission denied message04:38
* fluffywolf attempts to type04:39
brocashelmgnarface: i ctrl+f plenty of "warning" in the title of apt's bug reports that are nearly two decades old still active: https://bugs.debian.org/cgi-bin/pkgreport.cgi?dist=unstable;package=apt#_0_6_004:39
fluffywolfdownload is performed unsandboxed as root as file [...]libcrypt[...].deb couldn't by accessed by user _apt pkgacquire:run 13 permission denied04:39
gnarfacefluffywolf: make sure mktemp didn't fail04:40
gnarfaceit's probably assuming you have normal permissions on /tmp, i'd assume04:40
fluffywolfit seems to have worked despite that message04:41
fluffywolfspecifically, apt is trying to actually download and install packages again, not immediately fail.04:42
fluffywolfyay!04:42
gnarfaceoh, probably then the warning was failure to preserve permissions of the extracted files04:42
gnarface(maybe due to umask settings or whatever the /tmp directory permissions were)04:43
Jjp137eh I think usually the _apt user is used as a sandbox user but it failed to work so it just did it as root04:43
fluffywolfthe bug linked there says there's a trivial fix, but they're not adding it because...  the maintainer of the package involved is a dick and no one wants to do any work?04:45
fluffywolfI like debian less and less with time.04:45
fluffywolfadding a single fucking breaks: to the control file fixes it.04:46
fluffywolflet's use systemd, ditch debian menus, force freedesktop crap into absolutely everything, and have a broken process where individual maintainers can screw everyone.04:47
gnarfacefluffywolf: i think it's clear that's why we're all here, but take the ranting to #devuan-offtopic04:48
fluffywolfyay, /etc/issue says daedalus now.04:50
fluffywolfgrr.  forgot firefox got even shittier and needs extensive fucking with to make usable.  can we make killing sanwich menus a goal for devuan?  :P04:51
fluffywolfsigh... one of the main reasons I upgraded was hibernate didn't work.  hibernate still does not work.  clicking xfce's hibernate button does exactly nothing.04:57
fluffywolfwhat do I install to make power management work?04:58
gnarfaceacpi and uh...04:58
gnarfaceand pm-utils04:58
gnarfacemight need something besides that but start with that if you don't have it04:59
fluffywolfinstalling04:59
gnarfaceif it still doesn't work but /usr/sbin/pm-hibernate does work (as root) then you might need to switch graphical logins or run Xorg suid root or something05:00
gnarfaceif it pm-hibernate doesn't even work, you need to make sure your swap partition is large enough and that the initramfs tools has the right UUID for it05:00
fluffywolfwell, I have pm-hibernate now at least, which I didn't before...  still does nothing.  checking logs.05:00
fluffywolfnothing in syslog, messages, daemon.log, or dmesg, just fails silently as far as I can see...05:01
gnarfacemake sure you have acpi-support-base too but i think it should have come with acpi05:01
gnarfacefails silently even when running pm-hibernate directly as root?05:01
fluffywolfyes05:02
fluffywolftried it from vt1 just to make sure it wasn't dumping anything to console, nope05:02
gnarfaceis your swap partition at least as large as your amount of physical ram?05:03
gnarfaceswap partition has to be equal or larger than the size of physical ram for hibernate to work05:03
fluffywolfI should check.  usually I always do that, but it's been so long since I installed this laptop...05:03
fluffywolfyes, I have a 2GB swap with my 2GB ram.05:03
fluffywolfnone of which is used, because nothing is running05:04
gnarfaceif you run "update-initramfs -u" it should mention in the output what the UUID of the swap partition it will resume from is, and if it's wrong you have to fix it in the config in there somewhere (it will say where) and run update-initramfs again05:04
fluffywolfusually power management failures get logged somewhere...  I've certainly seen errors about not enough free swap.  heh.05:05
fluffywolfchecked kern.log too, nothing there05:05
gnarfacecheck the initramfs thing. bbl05:05
fluffywolfhrmm.  it seems "man" is broken.05:06
fluffywolfman fails with bad system call errors.  that's one I've never seen before.05:06
brocashelmfor only 2 gb of physical ram, i'd immediately look into doubling that amount for swap05:06
brocashelmalthough even with more swap space, hibernate hardly ever "works" for me; suspend is usually good enough to take a breather from using my laptop05:07
brocashelmalthough i don't know if it's due to using swapfiles instead of swap partitions on my part05:07
fluffywolfyou only need more swap than the compressed size of used system ram...  it's not a swapfile size issue.05:08
fluffywolfI'm trying to figure out why man is broken now.  I'm finding google stuff about apparmor problems from 2018 that don't seem current enough.05:08
fluffywolfhttps://bugs.archlinux.org/task/57557  this05:09
fluffywolfnow as much as you like blaming me, I'm pretty sure I did not cause this, and it's a bug.  lol05:09
fluffywolfI can't find anything newer than 2018.05:10
fluffywolfremoving apparmor and rebooting didn't fix it05:12
fluffywolffound bug reports on it, all saying it's been fixed...  I think something didn't get upgraded that needs to be.05:14
* fluffywolf re-upgrades05:14
fluffywolfapt-get upgrade wants to upgrade another 866 packages now.  let's see if that does it...05:15
fluffywolfthis will be a while...  (slow laptop)05:15
gnarfacefluffywolf: you did "apt-get dist-upgrade" right?05:27
gnarfacemaybe better to do "apt-get --no-install-recommends dist-upgrade"05:27
fluffywolfyep.  (apt-get dist-upgrade)05:32
fluffywolfthe last apt-get upgrade seems to have broken wifi.  it fails with bad password.  I did not change the password.  lol05:32
fluffywolfrebooting...05:33
fluffywolfit got new wifi management stuff?05:35
fluffywolfsays "device not ready"05:35
fluffywolfI seem to now have "NetworkManager Applet 1.30.0" and it won't do shit?05:35
fluffywolfI don't have the possibility of a wired connection here.05:36
fluffywolfgoogling finds only systemd problems?05:37
fluffywolfwpa_supplicant can do its thing just fine, and I have the connection up, but whatever the fuck NetworkManager Applet is seems to be broken.05:40
fluffywolfthe wifi is working perfect; this problem seems to be bugged.05:41
fluffywolfprogram05:41
fluffywolfI'm guessing it's impossible to reinstall wicd?05:42
fluffywolfgrrrrrrrrrr.  why the fuck was a working tool replaced with what's apparently a total shit non-working tool?05:50
fluffywolfI very fucking much do not want to be manually configuring wpa_supplicant for each network.05:50
fluffywolfanyone have any ideas why NetowkrMaanagerApplet is refusing to function in any way?  I am very much not in the mood to dig through source to this crap.05:51
fluffywolfyay, I think I found something useful googling.05:53
fluffywolfthere's some bug between networkmanager and certain firmware-iwlwifi versions.  if it says device not ready, you need to either upgrade or downgrade firmware-iwlwifi.  firmware-iwlwifi got moved to non-free-firmware and apt forgot it exists and will do neither until you add that section.05:54
fluffywolfadding the new section and upgrading the package seems to have made networkmanagerapplet stop saying that05:55
fluffywolflooks like the bug reports are entirely ignored05:59
fluffywolf....  now back to figuring out why pm-hibernate still silently fails06:00
fluffywolfpm-suspend works06:01
fluffywolfbut now pm-hibernate logs errors!  "hibernation is restricted".  what the hell?06:02
fluffywolfapparently hibernation is now disabled as a feature.06:03
fluffywolfbecause you can twiddle the hibernation image06:03
fluffywolfI am very, very, very unconcerned about someone twiddling the hibernation image on the onboard flash on this shitty laptop I use for trivial tasks and don't even have a user account with my name on.  I do, however, want it to fucking suspend!06:08
gnarfacefluffywolf: someone else just got it working a couple days ago, could it be hardware specific?06:16
gnarfaceit shouldn't be, but i'm running out of ideas06:16
gnarfacesuspend doesn't use swap, it's completely different06:16
gnarfacehibernate is supposed to be the one that doesn't require any special hardware06:17
fluffywolfI just got it working.  the problem is it's now disabled by default as a feature.06:18
gnarfacein the window manager UI only maybe?06:18
fluffywolfhibernate is insecure because you could use another OS to modify the saved kernel image and haxx0r it.06:19
fluffywolfso it's disabld.06:19
fluffywolfit's a kernel feature06:19
gnarfacemy google searches about the matter seem to suggest it's a problem with "kernel_lockdown"06:19
fluffywolfyep06:19
gnarfaceyou running a non-stock kernel?06:19
gnarfaceor some non-stock config?06:20
fluffywolfand debian has also disabled all the ways to disable kernel lockdown except for turning off secure boot, apparently.06:20
fluffywolfcompletely stock06:20
gnarfaceoh, it's a problem with secure boot06:20
gnarfacenow i see06:20
fluffywolfso I turned off secure boot, thus disabling all security with a large hammer, because debian disabled all the fine-grained control.06:20
fluffywolfheh.06:20
gnarfacethe person who got it working last may have been using a legacy bios06:20
fluffywolfas of daedalus, secure boot = no hibernate06:21
gnarfacegood to know...06:21
fluffywolfthe man failure is also a security thing.  you can't use old man binary with new kernels.06:21
fluffywolfhave to upgrade man-db if you upgrade kernel06:21
fluffywolfwhy the bloody fuck there's ANY relation between a utility to show text manual pages, and kernel versions, is a bug itself...  but there you have it.06:22
fluffywolfhttps://bugs.archlinux.org/task/57557  if you get these errors trying to view man pages, you have a kernel version and man-db version issue.06:24
gnarfacei would assume it has to do with the man page auto-formatting whatever, i forget what it's called.06:24
gnarface(you could always disable it but then man pages stop stretching to terminal width automatically unless you're running man as root)06:24
fluffywolfno, it's kernel security stuff06:24
gnarfacei remember that being a security issue06:25
gnarfaceconsidered one in general06:25
gnarfacemaybe that's the "why" you're looking for06:25
gnarfacebecause like you said, i can't imagine what else it would be...06:25
fluffywolfthis upgrade has been very painful in multiple ways.06:26
gnarfaceso far honestly i haven't had trouble anywhere i've tried it06:26
gnarfacethe feedback has been good for the most part06:26
fluffywolfis there documentation saying you have to add non-free-firmware to sources before upgrading, that I didn't read?06:26
gnarfaceprobably the release notes06:26
gnarfacehmm... or maybe not06:27
fluffywolfit's not in https://files.devuan.org/devuan_daedalus/Release_notes.txt , not even in the non-free firmware section06:27
gnarfacesomeone probably should add that though06:27
fluffywolfdebian moved firmware from non-free to non-free-firmware, so your firmware won't get upgraded unless you add the new section06:28
gnarfaceyea, i was aware but people were warning us about it in here well ahead of the daedalus release06:29
fluffywolfand networkmanager apparently has bugs with specific firmware-iwlwifi versions, where you have to downgrade or upgrade it (either works according to posts) or networkmanager gets stuck at "device not ready" and you have no connection unless you manually configure wpa_supplicant.06:29
gnarfacenoted06:29
fluffywolfand wicd went away.06:30
gnarfacei think that happened last release06:30
fluffywolfeven though it actually, you know, worked.06:30
fluffywolflol06:30
gnarfaceno maintainer06:30
deadbabiesHey uh06:30
deadbabiesdid I do a bad by changing my sources to daedalus06:31
deadbabiesor is that how I'm supposed to upgrade06:31
fluffywolfI haven't been here much lately, didn't see any warnings...  life has been keeping me very busy.06:31
deadbabies:V06:31
deadbabiessame06:31
fluffywolfdeadbabies:  if you're using chimaera, that's the first step to upgrading, yes.  if you're using something older, upgrade to chimaera first.06:31
deadbabiesI was using chimaera06:32
deadbabieswhat else am I supposed to do06:32
deadbabiesI apt-get update and upgraded06:32
gnarfacedeadbabies: if you were using non-free for drivers they moved to non-free-firmware06:32
gnarfacebbl06:32
deadbabiesAh06:32
deadbabiesthanks06:32
fluffywolfthen change sources.list to daedalus, apt-get update, apt-get dist-upgrade.  if you have non-free firmware, add non-free-firmware after main contrib non-free or whatever sections you use.06:32
deadbabiesokay06:32
deadbabiesthanks06:32
deadbabieslet me do that06:33
deadbabiesthankfully this is on a second computer so I can keep this open lol06:33
fluffywolfbbl, wolfy bedtime06:34
fluffywolfside note:  can we please stop sticking "ae" in names?  ;P06:35
fluffywolfbbl06:35
deadbabiesah06:36
deadbabiesit was that dist-upgrade part that I was missing I think06:36
deadbabiesthanks a lot06:41
deadbabiesUm07:13
deadbabiesWhat locale do I want if I use english and want yyyy-mm-dd and 24 hour time?07:14
rrqused to be LC_TIME=en_DK I think .. or maybe en_DK.UTF-807:17
deadbabiesI keep getting these cannot set lc_ctype and lc_messages and lc_all errors07:17
deadbabiesok07:17
deadbabies... any idea how I set that? xD07:18
rrqnonot off=hand07:19
deadbabieslet's see how bad my google fu is....07:20
rrqmaybe: update-locale LC_TIME=en_DK.UTF-807:20
gnarfacedeadbabies: make sure the locales package is installed then run "dpkg-reconfigure locales"07:39
deadbabiesgnarface I think that's gonna work07:39
deadbabiesupdate-locale LC_TIME spit me out errors because I apparently didn't have the other ones set?07:40
deadbabiesthanks07:40
gnarfaceif you were missing locales you might be missing tzdata too07:40
[-_-]hi08:58
[-_-]where are the logs for Xorg ?08:58
rrqeither /var/log/ or ~/.local/share/xorg/08:59
[-_-]thanks09:01
[-_-]Hiiiii10:57
[-_-]guys, I tried to disable modesetting from kernel parameters, and this solved the issue for me ( changing to other tty freezes Xorg), but debian page (https://wiki.debian.org/KernelModesetting) says "On Intel and Radeon cards KMS is disabled at run time in Debian kernel images by default.1 It is enabled via modprobe configuration files provided by the xserver-xorg-video-intel and10:59
[-_-]xserver-xorg-video-radeon packages."11:00
[-_-]where are they loading this module from ?11:00
[-_-]how do I disable that?11:00
[-_-]I mean if it is default, why doing it to GRUB works?11:02
[-_-]and how do I prevent Xorg from loading those without going GRUB way?11:02
gnarfaceit's probably referring to /etc/modprobe.d/radeon-kms.conf and /etc/modprobe.d/i915-kms.conf11:03
[-_-]none of those files exist11:04
gnarfacedo you have xserver-xorg-video-radeon and xserver-xorg-video-intel installed?11:04
gnarfaceeach of them are one line11:05
gnarfaceoptions i915 modeset=111:05
gnarfaceoptions radeon modeset=111:05
gnarfaceyou could create a .conf file easily and set them to 011:05
gnarfacei never tried it that way but it should work11:05
[-_-]I don't have the intel package installed11:06
[-_-]debian wiki suggests default one11:06
[-_-].xserver-xorg-core11:06
[-_-]I do have the radeon one, but radeon is idk, PRIME GPU OFF Loading thinggy11:07
[-_-]does that affect my Xorg? idk11:07
gnarfacethe files in /etc/modprobe.d/ are only relevant to the kernel modules11:08
gnarfacethe kernel modules may be loaded even without the xorg package that's supposed to accompany them11:08
gnarface(since the kernel modules come with the kernel, not the xorg package)11:08
gnarfaceyou can create any file name in /etc/modprobe.d/ for yourself that you want as long as it ends with .conf and it will be obeyed11:09
gnarfaceyou can set modeset to 0 or you can just blacklist the kernel modules if you prefer11:10
[-_-]hmmmm11:10
gnarfacei feel like you probably want them and the xorg packages though11:10
[-_-]will this work '   echo "nomodeset" > /etc/modprobe.d/modesetting.conf   '11:15
[-_-]lemme test what I did11:29
[-_-]guys, turning intel modesetting off takes away /sys/class/backlight/intel_backlight12:40
[-_-];_;12:40
[-_-]and the display remains at constant super ultra pro max brightness12:41
[-_-]this fixed my issue : https://dev1galaxy.org/viewtopic.php?id=586515:05
[-_-]but but I did not test multi Xorg multi user session15:05
[-_-]wasted a whole day on this ;_;15:05
[-_-]does this happen to you guys?15:09
fluffywolf[-_-]:  all the fucking time.  also, yak shaving.15:42
[-_-]:D15:43
rwpDid https://dev1galaxy.org/viewtopic.php?id=5865 list a fix?  I don't see a fix there.  Just confirmation of the problem.18:47
fsmithredrwp, no fix on that problem yet. I also tried running a second xserver as the same user, and that didn't work, either.19:37
rwpI guess it is one step forward and two steps backward then.  Sigh.  (I am going to be installing on a new laptop for me a little later today.)19:39
fsmithredI haven't tried it with a display manager19:41
fsmithredmight not be a problem there19:41
rwpI'll report what I find.19:42
fsmithredthanks19:43
fsmithredrwp, I just added lxdm and I can now start a second xsession with a different user.19:48
fsmithredoh, and the xserver is now running as root instead of user19:53

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