Do not propose use of pip on Debian
authorPetter Reinholdtsen <pere@debian.org>
Tue, 20 May 2025 15:01:26 +0000 (15:01 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 20 May 2025 15:01:26 +0000 (15:01 +0000)
Forwarded: not-needed
Last-Update: 2025-04-19

Dependencies should be fetched from the curated Debian archive.
Last-Update: 2025-04-19
Gbp-Pq: Name 2000-apt-not-pip.patch

ui/opensnitch/dialogs/firewall_rule.py
ui/opensnitch/dialogs/preferences.py
ui/opensnitch/utils/__init__.py

index afa85d2a383aae550a598db74f486528608d18f2..92b45b467a73afe7a71b5f245d4998329ad9eec3 100644 (file)
@@ -377,7 +377,7 @@ The value must be in the format: VALUE/UNITS/TIME, for example:
             self._set_status_error(
                 QC.translate(
                     "firewall",
-                    "Your protobuf version is incompatible, you need to install protobuf 3.8.0 or superior\n(pip3 install --ignore-installed protobuf==3.8.0)"
+                    "Your protobuf version is incompatible, you need to install protobuf 3.8.0 or superior\n(apt install protobuf-api-32-0)"
                 )
             )
             return False
index bcdf17614472509bd4b89cd60a9775ef0ae8cfe2..a6527db1d21be2bde6e7725bdf87566f0f13f39c 100644 (file)
@@ -258,7 +258,7 @@ class PreferencesDialog(QtWidgets.QDialog, uic.loadUiType(DIALOG_UI_PATH)[0]):
             self._saved_theme = ""
             self.labelThemeError.setStyleSheet('color: red')
             self.labelThemeError.setVisible(True)
-            self.labelThemeError.setText(QC.translate("preferences", "Themes not available. Install qt-material: pip3 install qt-material"))
+            self.labelThemeError.setText(QC.translate("preferences", "Themes not available. Install qt-material: apt install python3-qt-material"))
 
         self.comboUITheme.setCurrentIndex(theme_idx)
         self._show_ui_density_widgets(theme_idx)
index 4d81e48eac53d5b6d72e10409f05dbe341654e42..62e3ee135a72854e0f80edd7eb0106060860cbf3 100644 (file)
@@ -109,7 +109,7 @@ class Themes():
         from qt_material import list_themes as qtmaterial_themes
         AVAILABLE = True
     except Exception:
-        print("Themes not available. Install qt-material if you want to change GUI's appearance: pip3 install qt-material.")
+        print("Themes not available. Install qt-material if you want to change GUI's appearance: apt install python3-qt-material.")
 
     @staticmethod
     def instance():