libera/#devuan/ Thursday, 2025-05-29

rrqI think it usually is due to a source end inconsistency; that a package server is "in the middle" of an update when serving a package or index, combined with that apt-cacher-ng locks in to its source for a good time01:11
rrqfurther, the debian packages ar served via "fastly" that in itself lock in to which server serves you (or me) so it's not terribly easy to convince apt-cacher-ng to ge elsewhere01:12
rrqthirdly, the cacher doesn't "know" the reasons behind caching so cannot associate different files with each other01:14
rrqdespite being named apt-something it is actualy a generic http chacher01:14
rrqso, I think I know many reasons about why there are problems, but I don't have any suggestion of solution01:16
rwpapt-cacher-ng is doing exactly what the web server told it to do with the time to live value in the header.01:16
rwpEvery time I have debugged an apt-cacher-ng problem to the root I find that it is doing exactly the correct thing.  The problem has happened on the mirror server.01:17
rrqplural01:17
rwpThe mirror server has one set of files.  It serves them with a long TTL.  apt-cacher-ng reads one of them and records the time to live expiration.  Then the files on the server are changed disregarding that published expiration time.01:18
rwpIt's not like Devuan operates these mirrors.  No.  They are just a random eclectic collection of volunteered resources.  And so the web servers distributing those files are going to be all different.01:19
rwpSomehow Debian makes that work though.01:19
onefangDebian has more cat herders than we do.01:19
rrqwell I have often (or usually) got the problemm with the debian packages01:20
rwpOne of the things Debian insists upon is using ftpsync rather than rsync.  ftpsync updates files in the order needed to avoid being in an inconsistent state.  Devuan uses the simple rsync method which pretty much guarentees that it will be out of sync invalid state at some point.01:20
onefangYep, I have TODO items to look into those things, then see if I can convince our package mirrors to do them.01:21
rwpAlso the irony of me complaining about rsync not being atomic and also using rsync for other mirrors is not lost on me!  https://lists.gnu.org/archive/html/savannah-users/2025-05/msg00002.html01:21
onefangI'm almost settled in my new home, last of a series of temporary moves.  I can get back to work.01:22
rwpLife and time is what keeps everything from happening all at once.01:22
joergrwp: I wonder if some snapshots could fix this. snapshot the fs at a certain time, run the "public" server from the snapshot while updating behind the scenes, then when update ready, switch "public" / server "vhost" from snapshot to the more recent currently updated version. btrfs snapshots or mounts could do this, I'd think10:41
rwpjoerg, Snapshots and associated features could definitely fix this or at least improve this as it would provide for an atomic view of the file system.  However I am setting this up for volunteers to host the mirrors just like most mirrors are handled by volunteers and that means random operating systems.  Most operating systems do not have snapshot capability out of the box.10:55
rwpTherefore we need to implement a portable solution to mirroring such that it can handle operating on typical systems.  Also if we are going to go that direction then zfs is so much better than btrfs that zfs would clearly be the much better solution.10:55
joergyep, same with mount namespaces I guess10:56
rwpThe main problem with btrfs is that so far the btrfs systems lock up under load stress.  So that's somewhat of a showstopper right there.  I can't say for certain that btrfs is the root cause of the lockups.  But the logs that get written indicate kernel hung tasks on the btrfs file system and the other systems using xfs don't lock up the same way.  So...  It's worrisome.10:56
joerg513 syslog?10:57
rwpBefore people go, but btrfs works great on my single storage device laptop let me say that we need it to handle RAID and that's the situation where we find it locking up under stress.  Specifically it is RAID1C3.  I just looked and verified.  And of course friends should not let friends run btrfs in a raid configuration.10:58
joergI mean, a syslog on the btrfs would be not too useful to diagnose btrfs problems10:58
rwpI have console access and the lockups always log linux kernel hung task in the root file system where the root file system locks up and that's btrfs in this case.  I can't say for sure of course but everything is pointing to it.10:59
joergloghost:51311:00
rwpI would definitely use zfs instead as zfs is mature and rock solid.  I have been running zfs for years and it has pulled me through some terrible flaky hardware problems.  I have never lost any data with zfs.11:00
joergor was it 512?11:00
rwpAs a datapoint we currently have three volunteer operated mirrors and each of them are a different operating system.11:01
joerg:nod:11:01
joergactual twin dirtrees wouldn't be an option I guess?11:02
joergfor size reasons11:02
rwpThis is offtopic but git itself uses .lock files in the repository.  Which indicates that it itself is not race safe.  Which means that trying to replicate a git repository while git push actions might happen at any time also cannot be race safe.11:04
rwpIt's 3am here and I just finished doing some rearrangement of my computer desktop situation which has me up late but I must sleep as I have an early-ish meeting tomorrow.  Talk to you later!11:05
joerglet's take it to -dev or -infra?11:05
joergdamn, port 51411:06
joergnot 12, not 1311:06
AlexLikeRocki turn OFF  sounda card : with :21:05
AlexLikeRockpactl set-card-profile 1 off21:05
AlexLikeRockhow to set ON  ?  AGAIN?21:05
AlexLikeRockthe number its  " index: 0 "21:06
gnarfaceno idea... "pactl set-card-profile 1 on" didn't work?21:07
AlexLikeRockFailure: No such entity}21:12
gnarfacehmm, i don't know the tool well enough to know what's wrong, sorry21:13
gnarfacei'd check the man page for you but i don't even have it installed here21:13
gnarfacei'm sure someone else here knows...21:13
AlexLikeRockthe manual its empy!21:17
AlexLikeRockXD21:17
AlexLikeRockcheck !21:17
AlexLikeRockman pacmd21:18
gnarfaceyou're still able to turn it back on with pavucontrol, right?21:18
AlexLikeRockwell, my goal , its turn on by terminal21:22
AlexLikeRocki need a create a script21:22
gnarfaceyea, i figured that, i just wanted to make sure the problem isn't some bug in pulseaudio21:22
AlexLikeRocki think its not bug21:24
AlexLikeRocklook :21:24
AlexLikeRock" pacmd set-card-profile 121:24
AlexLikeRockYou need to specify a profile by its name."21:24
gnarfaceis there a way to make it list profiles?21:24
AlexLikeRockjust need the profile "skin"21:25
gnarfacealso, you just used pacmd, when earlier you were using pactl? are these different or the same?21:25
gnarfaceoh, hmm... google returned me this, which looks possibly relevant: https://bbs.archlinux.org/viewtopic.php?id=29226421:28
AlexLikeRockDONE !21:30
AlexLikeRockpacmd set-card-profile 1 output:analog-stereo21:30
gnarfaceah, cool, you figured it out, good21:58
AlexLikeRockyes!  :-D22:00
mazes_83hi folks, I cannot upgrade my raspberry because of deb.devuan.org and deb.debian.org do not resolve23:12
mazes_83are they out of use ?23:13
gnarfacemazes_83: seems fine here as far as i can tell23:14
gnarfacetry a different DNS server23:14
mazes_83yeah, I guess23:14
gnarfacethe devuan cluster is a mix of ipv4 and ipv6 hosts in a round-robin, and some major ISP's DNS servers still handle this wrong. google's public DNS (8.8.8.8) is known to work though23:16
mazes_83I had to change dns server some month ago, and I'm not so satisfied of yandex now23:17
mazes_83still dk what to use, but will go for google just during the download of packages23:17
gnarfacepersonally i'd recommend you just run your own local DNS, but i can understand not wanting the commitment23:17
mazes_83I was kind of23:18
gnarfacewell if you set up your own caching DNS for local use, just make sure it's querying the actual global root servers, not just forwarding requests to your ISP's23:20
mazes_83yeah it was this setup (but not pointing my isp dns -> an associative french public dns)23:22
gnarfacewell if you think they'll care it might be worth filing a bug report with them23:23
mazes_83pointing root server is on my todo list but I do not spend a lot of time on computers nowadays -> lazy :)23:23
gnarfacei forget the exact problem but it's come up multiple times and it has something to do with the DNS servers handling some ipv6 corner case wrong23:23
mazes_83the associative dns closed (only DoT), so I'm using yandex public one instead as a backup23:24
gnarfacei see23:24
gnarfacewell we know that google's handles this correctly, as we know they'll also spy on you23:24
mazes_83anyway thanks for the hints23:25
gnarfaceno problem, good luck23:25
AlexLikeRockhi,  mazes_8323:31
AlexLikeRocki have a same problem ,23:31
AlexLikeRock well my solution its change to another mirror23:31
AlexLikeRockexample 1 :23:32
AlexLikeRockdeb http://deb.devuan.nz/merged/ daedalus non-free-firmware non-free contrib main23:32
AlexLikeRockthe difference its ...deb.devuan.nz/...23:33
AlexLikeRockexample 2 :23:33
gnarfaceoh, yea i forgot that; you can pick a specific mirror from the round-robin and use it directly. they won't all have the same problem: http://deb.devuan.org/mirror_list.txt23:34
AlexLikeRockdeb http://deb.mirror.koddos.net/devuan/merged/daedalus/ main contrib non-free non-free-firmware23:34
AlexLikeRockgnarface,   maybe  you mean :   devuan.org/mirror_list.txt23:35
AlexLikeRockwithout "deb."23:35
gnarfacewell either should work... if your dns is working23:36
gnarfaceoh, wait, actually no23:36
AlexLikeRockLOL :   Document Not Found23:36
gnarfaceit has to be http://deb.devuan.org/mirror_list.txt23:36
gnarfacebut that file is on any of the specific mirrors too23:36
AlexLikeRockgolinux,   Document Not Found :  https://devuan.org/mirror_list.txt23:36
gnarfacei think regular devuan.org is just the web page23:37
greenjeansFYI if you're in the US I highly recommend the gnlug mirror, super fast for me23:37
golinuxAlexLikeRock: It worked for greenjeans. Try another mirror as he  suggests23:39
AlexLikeRocki cant  open    http://deb.devuan.org/mirror_list.txt  <----23:39
AlexLikeRockim  from mexico23:39
AlexLikeRock:-/23:39
golinuxMaybe there's a tarrif on it!!! Sorry couldn't resist . . . :D23:40
gnarfaceAlexLikeRock: http://gnlug.org/pub/devuan/mirror_list.txt23:40
AlexLikeRocki found!!23:40
AlexLikeRockhttp://pkgmaster.devuan.org/mirror_list.txt23:40
gnarfaceor that23:40
AlexLikeRockthis its the good one  gnarface23:40
golinuxWorked here too23:40
AlexLikeRockmazes_83,  enter and  pick one   http://pkgmaster.devuan.org/mirror_list.txt23:40
golinuxBut then I've been accessing it for a very long time and it's in my cache23:41
AlexLikeRockyes, because , you are at USA23:41
mazes_83my local dns fails with deb.devuan.org and it's the one I tried to update23:42
mazes_83for now I will keep it as is, and just use hate.hate.hate.hate when some package fail to dowload23:43
mazes_83thanks all23:44
greenjeansNo tariffs, but we may ask for tamales ;)23:46
greenjeanspreferably handmade by a sweet little old abuela23:47
mazes_83I only cook bamboo sprouts23:47
greenjeansI do miss good Mexican food, hard to find up here in yankee-land23:48
golinuxTry this for setting up a mirror:  http://deb.devuan.org/devuan_mirror_walkthrough.txt23:48
golinuxPlease resist OT chatter23:49
AlexLikeRockmy dns fail too  to deb.devuan.org23:58
AlexLikeRocktamales ?   how say tamales ?23:58
AlexLikeRocki like tameles, sopes , enchiladas, cochinita pibil, gorditas, quesadillas y los pinches tacos !23:59
AlexLikeRockme matas con eso!23:59

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