libera/#maemo-leste/ Saturday, 2025-02-01

Wizzupmaybe dpkg --force-all -r gconf2 dbus-x11 and then re-install them01:39
Wizzup(to reproduce)01:39
Wizzupor perhaps some other pkg/deb of gconf201:40
Wizzupmaybe we need to locally build a 'newer' gconf2 and install that, see if that causes it01:53
freemangordonWizzup: doing 'dpkg -i gconf2-common_3.2.6-8_all.deb' allows dist-upgrade with (almost) no issues09:25
freemangordonso I think we shall fork gconf2 and make gconf2 binary package to pre-depend on gconf2-common09:26
freemangordonI can;t think of any better solution09:26
gnarfacesomeone else in #devuan should have some idea why it's not that way already...10:27
gnarfaceweird to me that everyone isn't running into the same issue over there though10:29
Wizzupfreemangordon: ok, I am happy to do that if you're sure this is it11:10
Wizzupfreemangordon: do you know why gconf2-common?11:11
Wizzupgnarface: if you google for the gconf2 -> gconf2 dep problem oyu'll find some threads from years ago for ubuntu/debian based distros that have this issue11:11
WizzupI suspect gconf just isn't widely used for a while anymore11:11
gnarfaceit also occurs to me now that maybe it's just that something else that depends on those packages usually pulls them in in the right order in common configurations. i believe i do recall seeing dependency errors slip through to stable for that reason before11:18
gnarfacei also mostly run headless servers, and of the few graphical desktops i have, most of them don't use a graphical login manager, so that might also be why i haven't seen it here11:19
Wizzupwell, gconf is replaced by gsettings for a while now11:20
gnarfacei seem to have both installed on this system, but it has been through a lot of upgrades11:29
freemangordonWizzup: I am not sure11:32
freemangordonlike, I am not sure what I proposed will fix the issue11:33
freemangordonbut, I think we can try it11:33
freemangordondo you want me to do the fork?11:34
freemangordonwhy gconf-common: because it contains files that trigger gconf2 trigger11:35
freemangordonhmm, wait11:37
freemangordonbecause it contains /usr/share/sgml/gconf/gconf-1.0.dtd11:37
freemangordonand seems this trigger sgml trigger11:37
freemangordon*triggers11:37
freemangordonanyway, I *think* pre-depends trick will do it11:38
gnarfacethe thing is, it should have been fixed already upstream long ago, so the real question is why it isn't11:44
freemangordonbecause gconf is no longer supported11:44
freemangordoneveryone moved to gsettings11:45
gnarfaceofficially no longer supported or just de-facto no longer supported?11:45
gnarfacebecause the latter, it's still their job to fix11:45
freemangordonafaik in unstable it is officially unsupported11:46
freemangordonin stable it is de-facto unsupported11:46
freemangordonthat's my understanding11:46
freemangordonalso, if we have a quick-fix in our repos, I'd rather not deal with debian issue tracker :)11:46
gnarfaceyea but daedalus is still stable, so whatever happened in unstable after that, it's against their own rules to change retroactively in previous relases11:46
gnarfaceno, no, i get that. i really get that. but the situation isn't made any better by letting them shirk their own rules.11:47
freemangordonagree, but we really don;t have the manpower/spare time to fight that battle11:47
freemangordonto be really sure this is not our fault (not that I can see how it could be), I have to install chimaera (not leste) in a VM and then dist-upgrade11:48
freemangordonhmm.. even not that11:48
gnarfacein the past, one reason this type of thing might get skimmed over is because systemd actually fixes up the installation order through its own dependencies, in which case we've seen blatant hostility when attempting to hold them to their own rules, but even just being able to collect links to all such bug reports getting refused still helps our cause in the long run...11:49
gnarfacebut i do sympathize with not wanting to bother11:49
freemangordonI will have to install bullseye and try-to dist-upgrade to bookworm11:49
freemangordonand I bet it will not fail11:50
gnarfacethere was someone in #devuan who had made a sort hobby of putting through bug reports like this that we knew ahead of time would get refused without valid cause though, maybe you could hook up with them, since it's possible this still affects devuan stable and just nobody has noticed11:50
gnarface(and maybe this conversation already happened over there but i just forgot because i smoke too much weed)11:51
freemangordon:D11:51
freemangordonyeah, that's a well known side-effect11:51
freemangordongnarface: I'd rather first try to fix it in our repos11:52
freemangordonthat report on #devuan, so if anyone is interested to just pull the fix11:52
freemangordons/that/then11:53
Wizzupfreemangordon: we already forked it11:55
Wizzupno nee to re-do the work11:55
Wizzupfreemangordon: I don't see a rule to trigger on sgml dir11:55
freemangordonyeah, I saw11:56
Wizzupmaybe we can try to create some minimal reproduce case where we build gconf locally, increase the version, remove/reinstall it and some other deps and see if it triggers the problem11:56
freemangordonwhay not put it in daedalus repo?11:57
freemangordon*why11:57
freemangordonI don;t think we can repro11:57
freemangordonif not in the repos I mean11:57
freemangordonWizzup: so, I will pull gconf, drop the directory change commit, add pre-depends11:57
freemangordonok?11:58
Wizzupwhat directory change commit?11:58
freemangordonhttps://github.com/maemo-leste-upstream-forks/gconf/commit/d067769eaafd8ee30208adcfa6215721d9ba862511:58
Wizzuphm, what difference does this make11:59
Wizzupremember we also had this problem going from beowulf to chimaera11:59
Wizzupafaik11:59
Wizzupand then we also had not forked gconf11:59
freemangordonit is sglm trigger that's triggered by gconf-common12:00
WizzupIn what triggers file12:00
freemangordonsec12:00
WizzupI don't see it in gconf2.triggers12:00
Wizzupor do you mean there is some other pkg that triggers on gconf-common files12:01
freemangordonyes12:01
freemangordon/var/lib/dpkg/triggers/File:/usr/share/sgml sgml-base12:01
freemangordonand gconf-common contains /usr/share/sgml/gconf/gconf-1.0.dtd12:02
freemangordonand it seems somehow sgml-base triggers gconf triggers12:03
freemangordonbut gconf2 is not configuerd yet12:03
freemangordonand we have a cyclic dependency12:03
Wizzupdoes sgml depend on sgml?12:04
Wizzuper on gconf12:04
freemangordonno12:04
freemangordonnot directly12:04
Wizzuphm, I thought the triggers were only 'interest'12:04
Wizzupif this is the case then mabye apt install --reinstall sgml gconf2 gconf-common can reproduce this12:04
freemangordoncheck /var/lib/dpkg/triggers12:04
Wizzupor maybe dpkg --force-all -r them first12:04
freemangordonI tried to apt-install gconf-common12:05
freemangordonthis reproduces it12:05
Wizzupcan you give me exact commands to reproduce?12:05
freemangordonsudo apt install gconf-common is enough12:05
Wizzupisn't that already installed?12:06
freemangordonit is12:06
freemangordonbut on upgrade it errors out12:06
Wizzupok, so you manually bumped the version12:06
freemangordonlemme check something12:06
freemangordonbumped? no, I did apt-get download gconf2-common12:06
freemangordonand then dpkg -i the package12:07
Wizzuphow do you upgrade if the version isn't higher is what I mean12:07
freemangordonit is higher12:07
freemangordonit is 3.2.6-7 in chimaeara and 3.2.6-8 in daedalus12:07
freemangordonWizzup: all this is with daedalus repos enabled in sources.list12:08
freemangordonyou want top repro on chimaera?12:08
freemangordon*to12:08
freemangordonso:12:08
freemangordon1. change repos from chimaera to daedalus in sources.list and sources.list.d12:09
freemangordon2. sudo apt update12:09
freemangordon3. apt-get download gconf2-common12:09
Wizzupok, I will try  that then, but sounds like just building gconf locally with -9 instead of -8 can also work no?12:09
freemangordonsudo dpkg -i gconf2-common_3.2.6-8_all.deb12:09
freemangordonno12:09
Wizzupbrb12:09
freemangordonbecause12:09
freemangordonok12:09
freemangordonI'll just do what I think is right, lets see12:12
Wizzupok12:26
freemangordonWizzup: gnarface: https://paste.debian.net/1347862/12:38
freemangordonWizzup: going to try full dist-upgrade12:39
freemangordonWizzup: do we have a fix for https://paste.debian.net/1347864/ ?12:43
Wizzupfreemangordon: that should not hgappen12:51
Wizzupfreemangordon: do you have apt/preferences.d?12:52
Wizzupor shall I make a leste-config change to add those files12:52
freemangordonI don;t have12:53
freemangordonsec, to show you something12:54
freemangordonWizzup: https://paste.debian.net/1347865/12:54
freemangordonthis is what AI thinks about that issue12:54
freemangordonWizzup: so yes, make leste-config change12:56
Wizzupok, let me do it12:57
Wizzupfor chimaera12:57
freemangordonno, for daedalus12:58
freemangordonhmm...12:58
freemangordonnot ssure12:58
freemangordonI guess for both12:58
freemangordonso we pin our packages above those from debian12:59
Wizzupfor chimaera I think12:59
Wizzupok yeah for both12:59
freemangordonmhm12:59
freemangordonI'll try to dist-upgrade without doing upgrade first12:59
freemangordon(once new leste-config is in the repo)12:59
Wizzupyou should upgrade first13:00
freemangordonto see if it will upgrade properly13:00
freemangordonI knw :)13:00
freemangordon*know13:00
freemangordonbut I want to test what will happen if I do not upgarde first13:00
freemangordonand I think it will be fine, but want to confirm13:01
freemangordonmaybe we'll need pre-depends: leste-config-common in the meta13:01
Wizzupwhat you will get is the warning that you just got I think13:02
WizzupI will put it in chimaera-devle first13:03
freemangordonok13:03
freemangordonah, ok, we have a warning :)13:04
freemangordonWizzup: can't we hire some debian/devuan guy to manage our repos? :)13:34
freemangordonWizzup: in debian/control:13:36
freemangordonXB-Maemo-Flags:  reboot, system-update13:36
freemangordonI think if you put that in hildon-meta, HAM will show "system upgrade"13:37
freemangordonwe shall fix repos first ofc13:37
Wizzupfreemangordon: parazyd used to do that for us13:38
freemangordonI know13:39
Wizzupfreemangordon: ok, hildon meta shows up now in regular ham14:32
WizzupI will make the same changes for daedalus and then try a dist upgrade14:32
Wizzupit also reboots and says 'operating system upgraded' btw14:33
Wizzupfreemangordon: for dist-upgrade to work we also need to add devuan repos to ham catalog14:38
Wizzuphow else will the user get the upgrades14:39
Wizzupfreemangordon: yeah, I made a switch to daedalus repos and cssu thinks the system upgrade wil l download 7kB :)14:53
Wizzupso I don't think dist-upgrade will work this way14:54
Wizzupas expected, it doesn't ensure every pkg is fully up to date, it just checks if some deps are satisfied14:54
Wizzupso we'd have to version/pin everything in hildon-meta for this to work14:54
Wizzupand even then it won't do the same for devuan pkgs14:55
WizzupI will check with red pill mode14:55
Wizzupthat helps, but it is still not very clever with dep handling :(14:59
Wizzupwe probably want it to act like dist-upgrade and not like upgrade15:00
Wizzupfreemangordon: see doc/packaging.txt section ### Installation and removal policy15:01
Wizzupit seems like HAM can't do dist upgrades15:05
Wizzupbut we can use it for regular updates if we pin everything version wise15:06
gnarfacefreemangordon: strangely, what i recall those locales errors from is danctnix arch on my pinephone... fix involved the choice of either a force reinstall of some particular package or just delete the whole locale cache directory first, i think15:16
gnarfacei forget which package15:16
Wizzupwhat locale errors?15:17
gnarface(in this paste: https://paste.debian.net/1347862/)15:18
gnarfacetowards the end15:18
Wizzupfor the two char ones?15:18
gnarfacei assume you could also just "dpkg-reconfigure locales" but not sure15:18
Wizzupnot sure if that's not on us15:19
gnarfacei think it's not. there was something wrong with one of those packages on arch anyway15:19
gnarfacemight have been an easy thing to cause though15:20
gnarfacelooks similar to the arch error i recall but i think there may have been more of them...15:20
Wizzupfreemangordon: maybe we need a button that does 'DEBIAN_FRONTEND=noninteractive apt dist-uprade' :D15:20
Wizzupupgrade* even15:20
Wizzupgnarface: we had some local issues but those were related to qemu/glib bug in image builder15:21
Wizzuplocale15:22
Wizzupfreemangordon: should we also build fixed pre-depend gconf for chimaera15:55
Wizzup(we also need to re-build for excalibur, but that is for later)15:55
freemangordonWizzup:  don't think we should build gconf for chimaera, do we have any issue with it?16:14
freemangordonwhere is this "doc/packaging.txt"?16:16
Wizzupfreemangordon: yes, we have the same issue if it gets reinstalled16:19
Wizzupfreemangordon: hildon-application-manager16:19
Wizzupit says it's not menat for dist-upgrade type scenarios16:19
Wizzupliterally16:19
freemangordonI see16:19
WizzupI tried it and it was complaining that python-is-python2 was being uninstalled16:19
Wizzup(to be replaced with python-is-python3)16:19
Wizzupdist-upgrade has no such problems16:19
freemangordondo you know what is the difference between upgrade and dist-upgrade?16:20
Wizzupand also, it doesn't update packages unless  they have the maemo Section: - which most of ours do not have16:20
Wizzupyes16:20
WizzupI googled it16:20
WizzupI think upgrade won't remove any pkgs16:21
Wizzuphttps://askubuntu.com/questions/194651/why-use-apt-get-upgrade-instead-of-apt-get-dist-upgrade16:21
freemangordonI see16:21
Wizzupso, we cannot use ham for dist-upgrades16:21
Wizzupbut we can use it for upgrades to the system with specially crafted meta files16:22
freemangordonre maemo section: as I said, we just need to add a dependency to lets say glibc in daedalus16:22
Wizzup(it's too bad it can't just use the apt dist-upgrade logic tbh)16:22
Wizzupyou can try it but I am 99% that won't work16:22
Wizzup99% sure16:22
freemangordonwhy would in not?16:22
Wizzupwhy would it help to pull in new libc?16:22
Wizzupmost pkgs don't care about the libc version16:23
Wizzupand it's also a hack for sw that doesn't properly resolve dependencies16:23
freemangordonyeah, agree16:23
freemangordonWizzup: I think we can use HAM, just have to create a metapackage with the correct dependencies (and conflicts)16:26
freemangordonWizzup: so, we can do apt upgrade and then check what has not been upgraded with apt dist-upgrade16:30
freemangordonand then include that in the metapackage16:30
* freemangordon tries16:31
WizzupI don't think this will even work16:33
Wizzupit will fail immediately16:33
WizzupI don't really see the point, then just make ham act like apt16:33
freemangordonWizzup: did you push the new leste-config?16:38
freemangordonah, seems yes16:38
freemangordonhmm:16:41
freemangordonN: Ignoring file 'pin-daedalus-extras.leste' in directory '/etc/apt/preferences.d/' as it has an invalid filename extension16:41
freemangordonN: Ignoring file 'pin-daedalus.leste' in directory '/etc/apt/preferences.d/' as it has an invalid filename extension16:41
gnarfacehas to end with .pref16:41
freemangordonyeah16:42
WizzupI don't think it has to end in anything16:42
Wizzupthis is just a result of our gen-displace16:43
gnarfaceyou might want to start the names with digits too, so you can control the order they load16:43
Wizzupit's hardless16:43
Wizzupharmless16:43
Wizzupthere is pin-daedalus and pin-daedalus-extras16:43
Wizzupas you can see16:43
Wizzupnext to the .leste versions16:43
freemangordonI know its harmless, but will appear on every upgrade16:43
Wizzupyes, until we remove it again in the near future16:43
Wizzupno real way to solve it, I think we just live with it16:44
freemangordoncan;t we just provide the real files?16:44
freemangordonwhy we have to divert?16:44
freemangordonor whatever we do?16:44
Wizzupfeel free to try, I don't have the time to focus on this16:44
Wizzupwe install all files this way16:45
freemangordontry what, sorry16:45
Wizzupfeel free to try to install them throug the pkg16:45
freemangordonhmm, ok16:45
WizzupI think it's a waste of time16:45
Wizzupwe just remove the divert in a couple of weeks/months16:45
Wizzupwe don't even need the divert in daedalus anyway, only in chimaera16:45
freemangordonok16:46
freemangordonhmm, I think it is better to keep the priorities16:46
freemangordonI don;t want newer mesa to come from backports, for example16:46
freemangordonbut ok16:46
freemangordonWizzup: so, do we have any other issue?16:59
freemangordonor I shall dist-upgrade my d4?16:59
freemangordonI guess we'll have issues with upower17:06
freemangordonsicelo: did you try to contact upower maintainers?17:10
sicelono, haven't. tbh i'm not even sure what we would ask for17:16
freemangordonwell, you said some patches were rejected17:17
siceloa part of me does just think we should hack our kernel and call it a day. it's only a problem with N900 and mapphones (at least D4), so maybe not rock the whole boat just for these17:18
siceloyes, my patches were rejected, and i don't know what would change now. of course, seems the new maintainer is more open, so there might be a chance17:19
freemangordonok, what is that problem we have on d4 and n900?17:21
freemangordonI really didn't follow back then17:21
siceloat some point, both do not report a percentage/capacity17:22
sicelothat's the only problem17:22
freemangordondo they report charge level?17:22
freemangordonlike low, high, etc?17:22
freemangordonat least d4 do I think17:23
siceloyes. cpcap driver has hardcoded them to certain voltage levels (it's really a hack). n900 also has them (they're based on status flags in the hardware)17:23
sicelobut, upower doesn't care one bit about that17:24
freemangordonok, so, we can as would they accept a patch that makes upower use that data when there is no capacity/percentage reported17:24
freemangordon*can ask17:24
siceloit's exactly what i asked ... with disastrous ending :-)17:25
sicelobut, maybe current maintainer would17:25
freemangordonright, but you said minatiner changed17:25
freemangordonat least they may give us ideas what to do17:25
freemangordonok, let me dist-upgrade my d4 to see how would it behave with that new upower17:27
sicelofor the question you just asked, please do read https://gitlab.freedesktop.org/upower/upower/-/merge_requests/188 ... only the comments if you have limited time :-)17:27
sicelomaybe you can see where things went south in the communication, and perhaps how to express it better in future17:27
freemangordonok, will have a look later on17:33
sicelo< freemangordon> ok, so, we can as would they accept a patch that makes upower use that data when there is no capacity/percentage reported  ... in reality, our drivers report 0 at that point17:36
siceloto which the previous maintainers said "Right now, it's garbage in, garbage out. If we start assigning specific meaning to capacity = 0 or returning errors from reading some files, this needs to be documented so that the next driver writer that needs the same functionality isn't making their own stuff up that we'll need to work-around in upower"17:37
fmg_d4daedalus d417:40
siceloawesome17:42
arno11cool17:52
Wizzupfreemangordon: really great to have the gconf issue solved20:08
freemangordonyeah, my d4 dist-upgraded without any issue whatsoever20:18
Wizzupdo calls still work? :D20:19
freemangordonyes20:19
Wizzupcool20:19
freemangordonmhm20:19
WizzupI'll dist upgrade as well then20:19
freemangordonI mad an image of the SD card, just in case20:20
freemangordon*made20:20
Wizzupbtw, I did make some progress with ham and doing sys upgrades20:20
freemangordonlike?20:20
Wizzupwell, I got it to show, disable the ui, reboot, say the operating system was upgraded successfully20:21
Wizzuplike, things work20:21
Wizzupjust not for dist-upgrade20:21
freemangordonah20:21
Wizzupso we can either start adding the right section for all our sw, or we have to make a meta that pulls in these various pkgs and pins the required version to tell ham (which is a little dumb) that is has to upgrade them20:21
freemangordonyeah, for dist-upgrade we'll have to come-up with something else20:21
WizzupI bet aptitude could do it, or some other ui20:21
WizzupI think for now we can just ask the power users to use dist upgrade20:21
freemangordonbut I guess we can do that fro the futore20:22
freemangordonmhm20:22
freemangordonI guess all of our current user base can do20:22
freemangordonanyway, bbl, the kid from Amsterdam is here, want to spend some time with20:23
Wizzup:)20:29
freemangordonWizzup: hmm power usage seems very high20:33
Wizzupcould be tracker re-indexing20:38
arno11pretty sure20:47
arno11so to resume: issues are solved, right ? then dist-upgrade from chimaera is supposed to work only from chimaera-devel or could it work from 'stable' ?20:52
freemangordonWizzup: does not seem to be tracker21:00
freemangordonoh, scratch that21:02
freemangordonWizzup: do not upgrade yet21:03
freemangordonthis is still chimaera I see that big power usage21:03
Wizzupfreemangordon: ok, I am confused :)21:03
freemangordonwell...21:04
freemangordonI am fighting some cold and not very focused :)21:04
freemangordonso I was about to dist-upgarde21:04
Wizzupi dist upgraded my n900 to daedalus and didn't see any problems but I did not look super hard21:04
freemangordonbut only upgraded21:04
Wizzup2 days ago I think21:04
Wizzupsays 1 day of battery at 99%21:05
Wizzupwhich is normal for my n90021:05
freemangordonhowever, ahve to find the reasopn for that high power usage first21:05
freemangordonyeah, it is somehitng here on that device21:05
Wizzupmaybe it is just you who sees it21:05
freemangordonmhm21:05
freemangordonmost-probably21:05
arno11Wizzup: calls still work btw ?21:07
freemangordonso, I am running dist-upgrade now21:09
Wizzuparno11: will check tomorrow21:10
siceloarno11: fmg said Yes. anyway, there's been no change for N900, so should work fine still21:10
arno11ok cool21:10
freemangordonsicelo: yes, but I made a mistake21:10
freemangordonso I *do not* confirm that calls work21:11
freemangordonyet21:11
arno11sicelo: no change but PA is new (v15) iirc with new modules like module-match21:13
arno11so remixing on n900 should probably be modified again (to improve/avoid remixing during calls)21:15
siceloarno11: haha, yes, that one needs YOU :p21:17
arno11:P21:18
freemangordonWizzup: dpkg: warning: downgrading osso-icons-default from 2.5.3+3m7 to 2.5.2+4m721:50
freemangordondpkg: warning: downgrading libconnui from 2.89.2+3m7 to 2.89.1+4m7.122:02
freemangordonnot sure about that one though, may come from experimental22:03
Wizzupfreemangordon: can check22:24
Wizzupthe last is 2.5.222:24
Wizzupah, no22:25
WizzupI missed one22:25
Wizzupbtw, I think I still need to build gpsd with dbus support23:53

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