Re: [QGIS-Developer] Deploying 3.10.8 LTR on Debian 10
Good day The issue seems to be resolved fo both stable and LTR since new builds appeared on the Qgis server on August 8. ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [QGIS-Developer] Deploying 3.10.8 LTR on Debian 10
OK so comparing dependencies has not found any that appear significant. Only differences found were in a couple of OpenJDK packages. Methodology: 1. Create a list of packages and versions from the entire system using dpkg-query: dpkg-query -W -f='${binary:Package}|${Version}\n' >pkglist.txt 2. Compare two package lists using this Python script: # pkgcheck.py # compare package lists and version details # declarations import argparse # set up command line argument parser parser = argparse.ArgumentParser(prog='pkgcheck') parser.add_argument('firstfile') parser.add_argument('secondfile') # get arguments argList = sys.argv[1:] # drop the script name parameter args = parser.parse_args(argList) firstFile = args.firstfile secondFile = args.secondfile # read files as CSV firstCSV = open(firstFile, mode = 'r') firstPkgs = firstCSV.readlines() secondCSV = open(secondFile, mode = 'r') secondPkgs = secondCSV.readlines() outFile = open('pkgcheck.txt','w+') # first iteration with each line of firstPkgs look up in secondPkgs and compare print(firstFile + " >< " + secondFile) for firstPkg in firstPkgs: firstLine = firstPkg.split('|') firstName = firstLine[0].strip('\n') firstVersion = firstLine[1].strip('\n') firstFound = False for secondPkg in secondPkgs: secondLine = secondPkg.split('|') secondName = secondLine[0].strip('\n') secondVersion = secondLine[1].strip('\n') if firstName == secondName: firstFound = True if firstVersion <> secondVersion: outFile.write("Version Mismatch In Second: " + firstFile + ":: " + firstName + "::" + firstVersion + " <> " + secondFile + "::" + secondName + "::" + secondVersion + '\n') if firstFound == False: outFile.write("Package Missing in Second: " + firstFile + " :: " + firstName + " :: " + firstVersion + "\n") # second iteration with each line of secondPkgs look up in firstPkgs and compare print(secondFile + " >< " + firstFile) for secondPkg in secondPkgs: secondLine = secondPkg.split('|') secondName = secondLine[0].strip('\n') secondVersion = secondLine[1].strip('\n') secondFound = False for firstPkg in firstPkgs: firstLine = firstPkg.split('|') firstName = firstLine[0].strip('\n') firstVersion = firstLine[1].strip('\n') if firstName == secondName: secondFound = True if firstVersion <> secondVersion: outFile.write("Version Mismatch In First: " + secondFile + ":: " + secondName + "::" + secondVersion + " <> " + firstFile + "::" + firstName + "::" + firstVersion + "\n") if secondFound == False: outFile.write("Package Missing In First: " + secondFile + ":: " + secondName + "::" + secondVersion + "\n") The only version mismatches found were openjdk-11-jre:amd64 11.0.8+10-1~deb10u1 <> openjdk-11-jre:amd64 11.0.7+10-3~deb10u1 openjdk-11-jre-headless:amd64 11.0.8+10-1~deb10u1 <> openjdk-11-jre-headless:amd64 11.0.7+10-3~deb10u1 ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [QGIS-Developer] Deploying 3.10.8 LTR on Debian 10
Tks. I am not a perl scripter, normally using Python. dpkg-query generating a CSV file fed into a custom script to compare two computers version lists is what I'm working on at the moment which is easier for me to maintain. On 25/07/20 4:54 pm, Sebastiaan Couwenberg wrote: On 7/25/20 1:39 AM, Patrick Dunford wrote: OK I am not sure that is exactly what I want, the output looks like the package list in the qgis web site where the packages are stored. What I need is the version of each dependency which is actually on my computer now. So you expand the logic to check if any of the listed dependencies are installed, e.g.: for pkg_version in $(dpkg -l | grep qgis | grep ^ii | awk '{print $2"="$3}'); do apt-cache show $pkg_version | egrep "Depends|Recommends" | sed 's/^Depends: //; s/^Recommends: //' | perl -e 'my $input=""; while(<>){ $input .= $_; } foreach my $pkgs (split /, /, $input){ $pkgs =~ s/ \(.*\)//; foreach my $pkg (split / \| /, $pkgs) { $pkg =~ s/:\S+//; system("dpkg -l $pkg"); } }'; done | grep ^ii | awk '{print $2" "$3}' ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [QGIS-Developer] Deploying 3.10.8 LTR on Debian 10
On 7/25/20 1:39 AM, Patrick Dunford wrote: > OK I am not sure that is exactly what I want, the output looks like the > package list in the qgis web site where the packages are stored. What I > need is the version of each dependency which is actually on my computer now. So you expand the logic to check if any of the listed dependencies are installed, e.g.: for pkg_version in $(dpkg -l | grep qgis | grep ^ii | awk '{print $2"="$3}'); do apt-cache show $pkg_version | egrep "Depends|Recommends" | sed 's/^Depends: //; s/^Recommends: //' | perl -e 'my $input=""; while(<>){ $input .= $_; } foreach my $pkgs (split /, /, $input){ $pkgs =~ s/ \(.*\)//; foreach my $pkg (split / \| /, $pkgs) { $pkg =~ s/:\S+//; system("dpkg -l $pkg"); } }'; done | grep ^ii | awk '{print $2" "$3}' -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1 ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [QGIS-Developer] Deploying 3.10.8 LTR on Debian 10
OK I am not sure that is exactly what I want, the output looks like the package list in the qgis web site where the packages are stored. What I need is the version of each dependency which is actually on my computer now. So example Package: libqgisgrass7-3.10.7 Depends: libc6 (>= 2.14), libexpat1 (>= 2.0.1), libgcc1 (>= 1:3.0), libgdal20 (>= 1.11), libgeos-c1v5 (>= 3.4.2), libproj13 (>= 4.8.0), libqca-qt5-2 (>= 2.0.2), libqgis-core3.10.7, libqgis-gui3.10.7, libqgis-native3.10.7, libqscintilla2-qt5-13 (>= 2.8.4), libqt5concurrent5 (>= 5.0.2), libqt5core5a (>= 5.11.0~rc1), libqt5dbus5 (>= 5.0.2), libqt5gui5 (>= 5.2.0), libqt5keychain1 (>= 0.7.0), libqt5network5 (>= 5.0.2), libqt5positioning5 (>= 5.6.0), libqt5printsupport5 (>= 5.0.2), libqt5qml5 (>= 5.0.2), libqt5quick5 (>= 5.0.2), libqt5quickwidgets5 (>= 5.3.0), libqt5serialport5 (>= 5.4.1), libqt5sql5 (>= 5.0.2), libqt5svg5 (>= 5.6.0~beta), libqt5webkit5 (>= 5.6.0~rc), libqt5widgets5 (>= 5.2.0~alpha1), libqt5xml5 (>= 5.0.2), libqwt-qt5-6 (>= 6.1.2), libspatialindex5 (>= 1.8.1), libspatialite7 (>= 2.4.0), libsqlite3-0 (>= 3.5.9), libstdc++6 (>= 5), libzip4 (>= 0.10), ocl-icd-libopencl1 | libopencl1 Tells me what should be in my system but not actually what is in my system. On Thu, 23 Jul 2020 at 23:39, Sebastiaan Couwenberg wrote: > On 7/23/20 1:18 PM, Patrick Dunford wrote: > > Is there some kind of script I could run that would print out a list of > > all the Qgis library dependencies and their version numbers. > > This oneliner should help: > > for pkg_version in $(dpkg -l | grep qgis | grep ^ii | awk '{print > $2"="$3}'); do apt-cache show $pkg_version | egrep > "Package|Depends|Recommends" && echo; done > > Kind Regards, > > Bas > > -- > GPG Key ID: 4096R/6750F10AE88D4AF1 > Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1 > ___ > QGIS-Developer mailing list > QGIS-Developer@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [QGIS-Developer] Deploying 3.10.8 LTR on Debian 10
On 7/23/20 1:18 PM, Patrick Dunford wrote: > Is there some kind of script I could run that would print out a list of > all the Qgis library dependencies and their version numbers. This oneliner should help: for pkg_version in $(dpkg -l | grep qgis | grep ^ii | awk '{print $2"="$3}'); do apt-cache show $pkg_version | egrep "Package|Depends|Recommends" && echo; done Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1 ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
[QGIS-Developer] Deploying 3.10.8 LTR on Debian 10
Gidday I am currently experiencing startup crash running Qgis 3.10.8 LTR from Debian packages on two of my computers that have Debian 10.4 with the KDE desktop environment installed, but it runs fine on one of my computers with Debian 10.4 with the LXQAt desktop environment installed. The issue seems to be occurring in a Qt library. One of the theories possibly worth exploring is that either the Debian LXQt install itself, or a software package installed on the LXQt system I have, installs different versions of the Qt libraries than the Debian KDE package installs. Is there some kind of script I could run that would print out a list of all the Qgis library dependencies and their version numbers. ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer