diff --git a/debian/changelog b/debian/changelog index a9943c71..d85ce74d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +mx-packageinstaller (24.10) mx; urgency=medium + + * Fix: use https for downloading from mxrepo server + * Clarify error message + + -- Adrian Fri, 18 Oct 2024 10:06:18 -0400 + mx-packageinstaller (24.9) mx; urgency=medium * Fix: packages with no description were not listed as installed diff --git a/mainwindow.cpp b/mainwindow.cpp index 5ca1516e..f2edf401 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1524,7 +1524,7 @@ bool MainWindow::downloadFile(const QString &url, QFile &file) if (reply->error() != QNetworkReply::NoError) { QMessageBox::warning( this, tr("Error"), - tr("There was an error writing file: %1. Please check if you have enough free space on your drive") + tr("There was an error downloading or writing the file: %1. Please check your internet connection and free space on your drive") .arg(file.fileName())); qDebug() << "There was an error downloading the file:" << url << "Error:" << reply->errorString(); file.remove(); @@ -1619,7 +1619,7 @@ bool MainWindow::downloadPackageList(bool force_download) } QFile file(tmp_dir.path() + "/mxPackages.gz"); - QString url {"http://mxrepo.com/mx/testrepo/dists/"}; + QString url {"https://mxrepo.com/mx/testrepo/dists/"}; if (!cmd.run("apt-get update --print-uris | tac | grep -m1 -oP 'https?://.*/mx/testrepo/dists/(?=" + ver_name + "/test/)'")) { cmd.run("apt-get update --print-uris | tac | grep -m1 -oE 'https?://.*/mx/repo/dists/" + ver_name