libera/#devuan/ Sunday, 2023-12-17

blockheadthe font "fixed" looks different in my devuan (as compared to a few other distros).  i don't even know where to start investigating this one.  i'm running devuan daedalus amd64.  Can anyone please advise?00:19
gnarfaceblockhead: by "fixed" you mean the css2 property "font-family: fixed;" ?? if so, that's because it's a generic font family name, not a particular font, so it's just failing over to whatever fixed-width font you have installed. install the same fonts you were using on whatever other install it was and then web pages will find them.00:31
blockheaddoes the "font-family" thing refer to the old-style X bitmap fonts?  i ask becuase I only see that in xfontsel, and most of the fonts don't appear in xfontsel.  the fixed I was using, and the one I am using now, are both anti-aliased, which i think indicates a newer-type vector font like a ttf or postscript?00:33
gnarfaceblockhead: it would depend on the browser, but i would be surprised if recent builds of firefox supported anything other than true-type fonts00:35
blockheadthis is not in a browser, this is in some programs within the OS, specifically at least one window manager and in a file manager00:36
gnarfaceare you using a custom xorg.conf ?00:36
* blockhead couldn't tell the difference between a font problem and bad html on today's web sites :p00:36
blockheadchecking00:36
gnarfaceit's not usually the type of thing you'd do and forget about00:38
blockheadok, i'll say "no" then00:39
gnarfacealright00:39
gnarfacelet's do some sanity checks00:40
gnarfacetry these commands: dpkg -l |grep ttf; dpkg -l |grep fonts00:40
gnarfacedon't paste the result here00:40
gnarfacejust tell me if you see a bunch of font packages00:40
blockheadi do00:41
* blockhead was trying to pipe it to a file and it got weird00:41
gnarfacestuff like "fonts-dejavu" and "ttf-bitstream-vera" ?00:42
blockheadfirst time 2>&1 failed me  :o00:42
gnarfacein fact, if you're missing either of those just install them right now. (current Debian default and previous Debian default)00:42
blockheadhave dejavu (my fav font for console) but not the other.  Aha!  thank you!00:43
gnarfaceat the very least you should see a bunch of packages matching the glob pattern "fonts-*" and "ttf-*"00:43
blockheadthat i do, yes00:43
blockheadand am installing ttf-bitstream-vera now00:44
rwpblockhead, "fixed" in this context means fixed width font, as opposed to a proportionally spaced font like a typeset page uses.00:45
gnarfaceblockhead: make sure you also have packages for libfreetype and fontconfig00:45
gnarfaceblockhead: then run "dpkg-reconfigure fontconfig-config" (the missing anti-aliasing you were talking about could have multiple causes)00:45
gnarface ^ as root, you run dpkg-reconfigure as root00:46
gnarfacejust to be clear in case you didn't nkow00:46
blockheadfontconfig and libfreetype are already in00:46
gnarfaceknow*00:46
blockheadty, that was going to be my next question :)00:46
gnarfacetry the dpkg-reconfigure just in case then restart X00:46
gnarfacenot sure if you have to restart X for that or not, but it won't hurt00:47
gnarfaceyou may just have to restart whatever program you were using00:47
rwpIn my web browser I can right click, select Inspect, pops up the web developer panel.  The element should be highlighted on the left.  On the far right is a Fonts tab.  Clicking it shows me details of the font being used at that point.  Something like Noto Sans Mono 12px 400wt and so on.00:48
blockheada moment please, the dkpg operation is asking me some difficult questions00:50
gnarfaceblockhead: for what it's worth, i'm not seeing xfontsel anti-aliasing anything either, and that may not be a modern enough tool to really be useful for this. off the top of my head though, firefox and gimp should both render true-type fonts correctly according to your fontconfig settings, though for firefox it has its own internal defaults setting for every major font class.00:51
gnarface(sorry i don't know of anything smaller off the top of my head but i'm sure there are things)00:51
gnarfacelxappearance maybe for some stuff00:52
gnarfacegtk2 stuff anyway00:52
gnarfaceunfortunately there's not really any one central place to manage this stuff00:53
gnarfaceevery major version of every single toolkit does its own thing, and some programs go off on their own and other programs are using obsolete font format standards00:54
blockheadok, finsihed, exited to the console, typed "startx"00:54
blockheadno change.  checked in the one window manager and it's still a different fixed.  Also in the one program00:55
gnarfacedo you happen to know what the old font was you were using before?00:55
blockheadanti-alasing isn't the problem, it's just a different font00:55
blockheadyeah, fixed  :p00:55
blockheadsame name as the new one00:55
gnarfaceheh, not specific enough unfortunately00:55
blockhead "fixed"00:55
gnarfacedo you at least know which toolkit the window manager in question is using?00:56
blockheadthis takes me back to windows days when I had to figure out which font JIOKL8jF.ttf was :p00:56
blockheadone sec, that i can do00:56
gnarfaceand the name of the window manager itself00:57
blockheaddwm00:57
gnarfacehmm, not one i'm familiar with00:57
blockheadit's a tiling window manager i use sometimes00:57
gnarfacehmm, doing some searches here to try to get some context on the problem... you have to recompile it after changing config.h to change the font???01:00
blockheadyes, you have to recompile it to make any change01:00
gnarfacefascinating01:00
blockheadiirc I left font at defaults and mostly fussed with bar location and colors01:00
blockheadit's an oddball program but has its moments01:00
gnarfacewell my first suggestion then would be to identify the old font and just rebuild it with a specific enough font string to force it to use that01:00
gnarfacewell, after making sure that font is installed already, which might be enough without rebuilding01:01
blockheadheh, the source has "monospace:size=10" which i guess is not a help01:01
gnarfaceafaik monospace is just another name for fixed01:01
blockheadthat sounds right01:02
* blockhead ponders coping the entire font directory over from the other distro, though i expect that will cause new problems01:03
gnarfaceno, don't do that. it'll probably work but you still won't know which font it's using and then you'll also have a bunch of untracked fonts all over your install01:04
gnarfacethe better approach would be to get the package list from the other distro, and scan it for font packages01:04
* blockhead was pondering, not doing :p01:04
gnarfacewas the old distro using the same version of dwm? if the version also changed, maybe the font selection behavior changed too. my search results suggest this is not unprecedented, though 2012 seems like too long ago to be relevant to this particular incident01:08
blockheadsame version01:09
gnarfaceif it's the same exact version, even with patches, (like if the other install we're talking about here was Debian stable) then it is fairly safe to assume that you can just install all the same font packages and get the same result01:11
gnarfacebut it wouldn't necessarily be safe to assume that you'd get the same font list by default, because some of the dependencies might have slipped a bit while they were replacing key parts of the graphical stack to avoid systemd01:12
blockheadthe other distros are void lfs and an older slackware, so that shouldn't be a problem01:12
gnarfacewell, the same approach may very well still work, the only complication is the package names are probably not literal matches then01:13
blockheadlooks like I'll either have to do a long drawn out package name compare (names for the same font package differ between distros) or live with it01:13
blockheadyeah, you nailed it01:13
gnarfaceer, yea01:13
gnarfacewell if you want some help with regexp i might be able to assist01:14
gnarfacemaybe it would be easier to compare font file names directly then work backwards to the package names from there01:15
blockheadthat makes sense01:15
gnarfacei dunno for sure if it'll help, but it seems logical that if the fonts are coming from the same upstream sources the file names themselves might all be the same even if the installation paths and package names aren't01:16
* blockhead hopes everyone else has been logical 01:17
blockheadgnarface: thanks for the help.  i will sort this out over time01:23
gnarfaceblockhead: good luck, let us know what you find otu01:25
gnarfacefind out*01:25
blockheadty. will do01:27
systemdletegnarface:  any idea why calls to needrestart are saying it cannot determine the microcode level?01:56
systemdletedo I have some misconfigured (most likely possibility I think)01:56
systemdletes/some/something/01:56
systemdletes/$/?/01:56
gnarfacesystemdlete: no, nothing comes to mind other than the vague guess that maybe you haven't installed the cpu microcode package, or you've installed a backports kernel without getting the corresponding backports microcode package version?01:57
gnarfacei've never seen that error before01:57
systemdlete6.1.0-15-amd64 and I just installed the amd64-microcode package01:59
systemdletemaybe another piece is missing?01:59
gnarfacemaybe they just don't have microcode in there for that cpu. it's a phenom II, you said, right?01:59
systemdleteno, this one is  a Fx8350... but hold on02:00
systemdletechecked.  It is the 8 core, so it must be the fx835002:00
gnarfacewhere are you seeing this error? i'm not sure anything on my system actually calls needrestart, since i don't use the kernel meta-package02:01
gnarfacei have the same cpu and haven't seen this happening02:01
systemdletewhen I run needrestart -p (the nagios invocation of it)02:02
gnarfaceah, hmm02:02
systemdletegnarface, dollars to donuts, this is a systemdlete problem, not linux02:02
gnarfacewell, based on my own data there's a statistically likely possibility it's a nagios problem too02:03
systemdleteI "built" this install using debootstrap, and removed/added packages as I felt justified02:03
systemdlete?02:03
gnarfacei don't have a ton of nagios experience but where i've seen it used for error reporting, most the errors it generated were errors it was causing02:04
gnarfaceso maybe, consider it's just calling needrestart wrong or something like that02:05
systemdleteI am actually using naemon, not nagios.  But, anyway, needrestart is NOT part of nagios.  The "-p" option is just to generate monitoring software compatibility02:05
gnarfacemunin is better, but that's not saying much02:05
gnarface(i've had to fix plenty of bugs in munin plugins myself by hand, but at least they're usually easy to fix)02:06
systemdleteok, I'll review my code and see if I can figure this out.02:06
gnarfacegood luck, sorry i don't have better info02:06
systemdleteneedrestart is not a plugin for any monitoring system.  Again, the -p option is just to generate compatible output for monitoring software.02:06
systemdletethanks for at least looking at this for me.02:06
systemdleteI'll poke through my code and how I configured the host.02:07
systemdleteMost likely operator error (me).02:07
systemdleteok, now.  different problem on a different system, this time chimaera.  apt update says:02:09
systemdleteE: Release file for http://deb.devuan.org/merged/dists/chimaera/InRelease is expired (invalid since 53min 13s). Updates for this repository will not be applied02:09
systemdleteI did not alter the apt config on that chimaera system since last time I ran apt update.02:10
gnarfaceand the system clock is right on that one? ...someone was just earlier mentioning there was a gpg key problem on one of the mirrors, maybe the same one02:10
systemdleteah.02:10
systemdletelet me check that, thank you.  Yes, there have been some clock issues here.02:10
systemdleteI will double-check that!02:10
gnarfaceuh, i think this is the stats url? http://veritas.devuan.org/apt-panopticon/results/Report-web.html02:11
systemdletetime is syncd.  I checked the routers also.02:11
systemdletesome other problem then02:11
gnarfacecheck the scrollback if you have it, fsmithred and debdog were talking about it this morning, about 11 hours ago02:11
systemdlete(but thanks for reminding me--time can cause serious screwups)02:12
systemdletein THIS channel?  or one of the other devuan-* channels?02:12
systemdlete(I don't see any messages from either of them in this channel)02:12
gnarfacethis channel, almost exactly 11 hours ago to the minute02:13
gnarfacei inferred one of the mirrors in the round-robin must have fallen out of sync, there wasn't any updates so maybe it's still out of sync02:13
systemdleteah, now I see it02:14
systemdleteI just didn't search back far enough.02:14
systemdleteYeah. Maybe a mirror issue02:14
systemdletemy apt sources are pointed at deb.devuan.org02:16
systemdleteshould I be using something like us.devuan.org instead?02:16
systemdleteor just leave it alone for a few more hours and let it heal itself as it usually does?02:16
* gnarface shrugs02:17
systemdletehey gnarface.02:18
systemdleteI am using apt-cacher-ng, remember?02:18
gnarfaceyea, i remember02:18
systemdleteso...02:18
systemdleteI did reboot that system today (the one that runs the cacher)02:19
gnarfacedoesn't really change my answer... i don't know if us.devuan.org or us.deb.devuan.org or something like that is up yet, i remember there was talk of it... i think debdog basically took that approach, i would take the latter approach typically and just wait, but probably not if it stopped solving the problem one day02:20
gnarfaceif you think apt-cacher-ng is a factor here you can just temporarily remove your apt config file for it and run "apt-get update" again to see for sure, but since debdog already ran into it this morning i was fairly sure you're seeing the same thing02:22
systemdleteI tend to agree.02:23
systemdleteI was just thinking about that, is all.  I wouldn't expect it to suddenly go south, so to speak.  Esp when others are having similar experience.02:23
gnarfaceit's a minor issue but apt-cacher-ng might slightly delay your ability to see the mirror get repaired otherwise, but i don't think by more than a few minutes and even then only if you had tried to access it within that amount of time before the repo actually got fixed02:24
gnarfacemanually flushing the apt-cacher-ng's cache without actually disabling it is also an optino02:24
gnarfaceoption*02:25
onefangThe stinprinza mirror that debdog was talking about before has been removed from the deb.devuan.org DNS RR, so it's unlikely to be causing that problem now.02:25
gnarfacei've done it once or twice while pressed for time, but i haven't seen any permanent failures so far based on corrupted cache02:26
gnarfaceit always seems to clean itself up without help02:26
systemdlete:)02:26
systemdleteI am running maintenance.  I checked the box for forced downloading of index files, just to be extra sure.02:32
systemdleteduring the tagging/removing, it says that devrep/merged/dists/chimaera/InRelease ERROR no such file or directory02:33
rrq"devrep"?02:37
systemdleteI am only seeing errors for chimaera, not daedalus or beowulf.  So it must be just that release that's out of sync02:37
systemdletedevrep == devuan repository.  It's an alias defined in the cacher-ng configs.02:37
systemdlete(I just followed the directions.  I don't really know every detail.)02:38
* systemdlete needs to reboot; back shortly02:42
plasma41systemdlete: I'm also seeing the error about expired InRelease for chimaera (and beowulf).02:45
rrqyes it's from amprolla... not sure why02:59
rrq(file created Dec 10 03:22)03:06
cousin_luigirwp: Thanks, I've included your changes and I'll upload my updated version in a short while. Just a question: does debian/changelog support multi-line entries? Being accustomed to rpm, I thought it did.06:01
cousin_luigiPerhaps the style is more concise on debian? Should I omit all the files I deleted, or is the upstream changelog supposed to be kept separate?06:02
cousin_luigiNote, this is my WiP debian/changelog http://sprunge.us/LxD6U3 which is causing errors: I feel like I should document my changes, but perhaps there's a stylistic aspect that evades me. How does one do it on debian?06:17
rwpcousin_luigi, Where are you planning on uploading that package?  I thought you just wanted it for your own local use.  The upstream part of it does not comply with Policy, installs files into /usr/local/sbin, that type of thing.  It would take some effort to get it into a shape suitable for general installation.06:46
rwpcousin_luigi, Format of the changelog file:06:47
cousin_luigirwp: I thought of putting it on OBS for the time being, but I'm a stickler for form.06:47
rwpFormat of the changelog file.https://manpages.debian.org/testing/dpkg-dev/deb-changelog.5.en.html06:47
rwpOBS?  Open Broadcast Software?  That's what I know OBS to be.06:48
cousin_luigirwp: openSUSE Build Service, which despite the name is not only for openSUSE or rpm in general.06:49
cousin_luigi(and yes, many petitioners for the other OBS enter the wrong channel at times)06:49
rwpIt was building before.  If it is not building now then it was a problem between point A and point B.  By comparing the difference you should be able to figure it out.06:50
cousin_luigirwp: Oh, I'm not too worried about that, I just wish to make sure I'm going in the right direction.06:57
cousin_luigidpkg-source: error: can't build with source format '3.0 (quilt)': non-native package version does not contain a revision <- do I actually need to use quilt instead of native? I don't plan on using patches anytime soon06:57
cousin_luigirwp: https://filebin.net/99korun6qphvwin4 <- so, should I move /usr/local/sbin to /usr/sbin ? Any other recommendations?07:11
rwpThat's a tar.xz file, and I would need to download it to browse it.  And I am busy with other things at the moment.  Sorry.07:17
rwpBut yes, you should review the guidelines and policy about packaging.  The /usr/local is left to the local admin.07:18
cousin_luigirwp: You're right. I should use gitlab and the like for such things. Thanks for all your help.07:19
rwpI know from looking previously that it creates /lib/voyage-utils as an empty directory.  It shouldn't do that.  And it should be /usr/lib now.07:19
cousin_luigiRight.07:20
rwpIt installs a long list of scripts with a .sh extension.  Those extensions need to be removed.  Those names are way to generic and should be made more namespace unique.07:20
cousin_luigirwp: I removed most of those07:20
cousin_luigiNow there's only three left07:20
cousin_luigihmm07:21
rwpYou can't just drop commands like console, debug, fastreboot, nat, remountro, remountrw, in PATH.  That's just not acceptable for general purpose distribution.07:21
rwpautoinstall, copyfiles, really all of that entire set should be renamed to have a namespace prefix or something.07:22
rwpFor the lurkers who might peek, here is the installed file list: https://paste.debian.net/plain/130135207:22
rwpRegarding native packaging, if you want to convert it back to a native packaging that is your choice.  But since I wanted to hack on it and not change the original package I had to change it to a non-native packaging.  And 3.0 (quilt) is the current standard of the day.  You don't have to actually use quilt though.07:25
cousin_luigirwp: That's no longer the case. https://paste.debian.net/hidden/e802b1fd/ this is the current filelist07:25
cousin_luigiI actually use quilt when working on rpm spec files. Perhaps I will come to also appreciate it to handle debian packages.07:27
rwpThat certainly looks a lot better.  Of that list what does remountro and remountrw do?  I think they should be namespaced.  And voyage-rwfile.sh needs the .sh suffix removed.07:32
rwpAnd those need to move from /usr/local/sbin to /usr/sbin too of course.07:33
* rwp is afk for a while07:33
cousin_luigirwp: They remount the root filesystem as ro and rw, respectively. voyage-rwfile.sh should be used to repair links, I'm not 100% sure it works as it should. Full tree here https://gitlab.com/lbaldoni/voyage-util08:21
cousin_luigiDoes one even need a Makefile to install scripts?08:22
cousin_luigihttps://paste.debian.net/hidden/d4b623f6/ <- a list of my current troubles (built on devuan this time) The syntax error in changelog is the one I don't understand.09:17
fsmithredcousin_luigi, you need to format the changelog correctly. Look at some others for examples. Even an extra or missing space between elements can cause the build to fail.09:25
fsmithredhttps://www.debian.org/doc/manuals/maint-guide/dreq.en.html09:30
cousin_luigifsmithred: Yeah, missing leading space, I found it by trial and error. What a fool I am.10:10
fsmithredIt's not easy. There are lots of details to get right.10:15
cousin_luigihttps://paste.debian.net/hidden/174a9bce/ changelog is now ok. How do I filter systemd warnings?10:22
cousin_luigiOn opensuse I would add a rpmlintrc file10:22
fsmithredI don't know about filtering systemd warnings. I assume you need to look at what generates the warnings.10:25
fsmithreddpkg-gencontrol: warning: Depends field of package voyage-util: substitution variable ${shlibs:Depends} used, but is not defined10:27
fsmithred^^^ and fix the control file10:27
fsmithredor maybe not. did it build ok?10:28
cousin_luigiIt builds and I'm all for fixing problems at the source, but "W: voyage-util: missing-systemd-service-for-init.d-script voyage-util [etc/init.d/voyage-util]10:30
cousin_luigicannot be fixed on devuan, can it10:30
cousin_luigi?10:30
fsmithredis init.d-script something that turns a service file into an init script?10:30
fsmithredyou might get better answers in #devuan-dev10:32
cousin_luigifsmithred: No, it's ancient, probably dates back from etch11:23
cousin_luigilintian-explain-tags is a most useful command11:36

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