AdrianTM / mx-packageinstaller

GUI program for installing additional packages
GNU General Public License v3.0
3 stars 14 forks source link

Segmentation fault when listing installed versions. #37

Closed jacekSmile closed 9 months ago

jacekSmile commented 9 months ago
jacek@machine:~
$ mx-packageinstaller
mx-packageinstaller version: 23.11.07
QMetaObject::connectSlotsByName: Connecting slot on_comboRemote_activated() with the first of the following compatible signals: ("activated(int)", "activated(QString)")
+++ void MainWindow::setProgressDialog() +++
+++ void MainWindow::setup() +++
dpkg-query -f '${Version}' -W flatpak
apt-get update --print-uris | grep -m1 -qE '/mx/testrepo/dists/bookworm/test/'
+++ void MainWindow::loadPmFiles() +++
+++ void MainWindow::refreshPopularApps() +++
+++ QStringList MainWindow::listInstalled() +++
+++ void MainWindow::displayPopularApps() const +++
+++ void MainWindow::displayPackages() +++
+++ QHash<QString, VersionNumber> MainWindow::listInstalledVersions() +++
Segmentation fault
[ble: exit 139]
AdrianTM commented 9 months ago

Please try the current version. 23.11.08, there's no point to report crashes or bugs on old versions.

Also, do you have any problem with running "dpkg"? That blocks simply runs "dpkg -l" might not do a good job of checking errors but I kind of assumed that dpkg should work in the first place if you want to install something...

jacekSmile commented 9 months ago

Maybe I know why, before I installed a package with dpkg-i, every time I use apt often appear

dpkg: warning: parsing file '/var/lib/dpkg/status' near line 5146 package 'downkyi':
 missing 'Maintainer' field
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 5146 package 'downkyi':
 missing 'Maintainer' field

But after I deleted the package, everything was fine

AdrianTM commented 9 months ago

Yeah, I thought so, I will think about how to improve error detection/ignoring, there's probably something I can do to at least ignore the warnings.