libera/#devuan/ Thursday, 2023-08-03

* Guest58 bangs his head on a wall00:01
Guest58The following packages have unmet dependencies:00:01
Guest58 qt6-base-dev : Depends: libqt6core6 (= 6.4.2+dfsg-10) but 6.4.2+dfsg-11~bpo11+1 is to be installed00:01
Guest58                Depends: libqt6dbus6 (= 6.4.2+dfsg-10) but 6.4.2+dfsg-11~bpo11+1 is to be installed00:01
Guest58                Depends: libqt6gui6 (= 6.4.2+dfsg-10) but 6.4.2+dfsg-11~bpo11+1 is to be installed00:01
Guest58                Depends: libqt6network6 (= 6.4.2+dfsg-10) but 6.4.2+dfsg-11~bpo11+1 is to be installed00:01
Guest58                Depends: libqt6widgets6 (= 6.4.2+dfsg-10) but 6.4.2+dfsg-11~bpo11+1 is to be installed00:02
Guest58                Depends: qt6-qpa-plugins (= 6.4.2+dfsg-10) but 6.4.2+dfsg-11~bpo11+1 is to be installed00:02
Guest58E: Unable to correct problems, you have held broken packages.00:02
Guest58halp?00:02
gnarfaceGuest58: you installed some backport packages and they're in the way of the upgrade00:04
Guest58... whats the simple fix?00:04
brocashelmyou could try: aptitude safe-upgrade00:04
brocashelmaptitude will try to find working solutions around your dependency conflicts00:05
gnarfacethat'00:05
gnarfacethat's probably the easiest approach if aptitude is already installed00:05
brocashelmapt install aptitude00:06
brocashelmthen try it00:06
gnarfacewell but if this upgrade is also blocking aptitude they'll have to just manually set all the package versions on the apt-get command line or try removing them first00:06
brocashelmapt-get -f install00:07
brocashelmmight also work00:07
Guest58fscking OBS build scripts...00:08
brocashelmanother way is to force installation by doing something like apt install libqt6core6/daedalus-backports libqt6gui6/daedalus-backports00:09
Guest58here's the output from their build script:00:10
Guest58Note, selecting 'qt6-svg-dev' instead of 'libqt6svg6-dev'00:10
Guest58qt6-svg-dev is already the newest version (6.4.2-2).00:10
Guest58Some packages could not be installed. This may mean that you have00:10
Guest58requested an impossible situation or if you are using the unstable00:10
Guest58distribution that some required packages have not yet been created00:10
Guest58or been moved out of Incoming.00:10
Guest58The following information may help to resolve the situation:00:10
Guest58The following packages have unmet dependencies:00:10
Guest58 qt6-base-dev : Depends: libqt6core6 (= 6.4.2+dfsg-10) but 6.4.2+dfsg-11~bpo11+1 is to be installed00:10
Guest58                Depends: libqt6dbus6 (= 6.4.2+dfsg-10) but 6.4.2+dfsg-11~bpo11+1 is to be installed00:10
Guest58                Depends: libqt6gui6 (= 6.4.2+dfsg-10) but 6.4.2+dfsg-11~bpo11+1 is to be installed00:10
Guest58                Depends: libqt6network6 (= 6.4.2+dfsg-10) but 6.4.2+dfsg-11~bpo11+1 is to be installed00:10
Guest58                Depends: libqt6widgets6 (= 6.4.2+dfsg-10) but 6.4.2+dfsg-11~bpo11+1 is to be installed00:10
Guest58                Depends: qt6-qpa-plugins (= 6.4.2+dfsg-10) but 6.4.2+dfsg-11~bpo11+1 is to be installed00:10
Guest58E: Unable to correct problems, you have held broken packages.00:10
Guest58I'm not sure wtf is going on00:11
masonGuest58: You can probably pin specific things to only come from backports.00:12
gnarfacethe issue is that the backports packages you installed look newer even though they're not00:12
masonGuest58: Things can get funny when things aren't explicated sometimes.00:12
Guest58... okay.00:13
Guest58will try a force00:13
masonGuest58: best to clear up the sources00:13
Guest58I took backports out of the sources...00:14
masonGuest58: force can force it when you don't want that - if you make the sources clear and coherent the issue simply won't arise00:14
masonbackports out, apt update, and that might be enough unless you already have some conflicting backports installed00:14
masonpinning is a really nice, clean solution though00:14
masonGuest58: Here's some example config: https://unix.stackexchange.com/questions/329831/where-is-the-pin-priority-for-debian-backports-defined00:15
Guest58I'll worry about possibly pinning after I get this working00:16
Guest58even breaks on a force...00:17
gnarfacetry setting the version of each package on one line00:18
Guest58?00:18
gnarfacelike this: apt-get install libqt6core6=6.4.2+dfsg-10 libqt6dbus6=6.4.2+dfsg-10 libqt6gui6=6.4.2+dfsg-1000:19
gnarfacelike that but do ALL of them00:19
gnarfaceactually add --no-install-recommends too00:19
gnarface(to avoid getting extra cruft in the process)00:19
Guest58testing00:21
Guest58missed one. yay.00:23
Guest58that appears to have fixed it. thank you. now to let the rest of the build script run...00:23
gnarfaceno problem00:24
Guest58holy feck what a nightmare00:25
Guest58and all because a default plugin isn't included in the .deb for OBS because it depends on chromium...00:26
gnarfaceit gets easier the more you do it00:26
Guest58probably, but this I'm blaming on lazy devs00:27
gnarfacewell, the issue with the backports is low level00:27
gnarfaceyou gotta keep track of the ones you install00:27
Guest58Yeah00:27
gnarfacethe version check for what's "newer" is a simple string comparison, so stuff like "bpo11+1" throws it off00:28
gnarfacelooks newer alphabetically00:28
gnarfaceso that sabotages simple upgradses00:28
gnarfaceupgrades*00:28
gnarfacesometimes that results in circular dependency breakage, so you have to force version on all the packages at once00:29
masonGuest58: A useful trick: apt-cache madison <package>00:30
masonIt'll show you what's available and from where.00:30
Guest58this makes much sense. something I've run into in the past but never really looked at.00:30
Guest58I'll remember that trick, thank you.00:31
Guest58... JFC the OBS build instructions are shite00:37
EHeMgnarface: Eww.  Though `dpkg --compare-versions` isn't super-common knowledge.00:49
Guest87is devuan have all packages what debian have22:12
Guest87in repo22:12
brocashelmguest87: devuan merges debian repos except for packages that need to be forked to allow non-systemd inits to work and packages that are systemd or too systemd-dependent (there's a file of banned packages)22:16
debdoghttp://deb.devuan.org/bannedpackages.txt22:18

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