Czy wie ktoś jak na Parrot os zainstalować auto cpufreq.Terminal w trakcie próby instalacji z
https://github.com/AdnanHodzic/auto-cpufreq/ wypluwa mi błąd jak poniżej.
─────────────────────────── auto-cpufreq installer ───────────────────────────
Welcome to auto-cpufreq tool installer.
Select a key nstall/[R]emove or press ctrl+c to quit: I
───────────────────── Detected Debian based distribution ─────────────────────
──────────────────────── Setting up Python environment ────────────────────────
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności... Gotowe
Odczyt informacji o stanie... Gotowe
python3-dev is already the newest version (3.11.2-1+b1).
python3-dev zaznaczony jako zainstalowany ręcznie.
python3-pip is already the newest version (23.0.1+dfsg-1).
python3-venv is already the newest version (3.11.2-1+b1).
python3-setuptools is already the newest version (66.1.1-1).
python3-setuptools zaznaczony jako zainstalowany ręcznie.
dmidecode is already the newest version (3.4-1).
gcc is already the newest version (4:12.2.0-3).
gcc zaznaczony jako zainstalowany ręcznie.
Nie udało się zainstalować niektórych pakietów. Może to oznaczać,
że zażądano niemożliwej sytuacji lub użyto dystrybucji niestabilnej,
w której niektóre pakiety nie zostały jeszcze utworzone lub przeniesione
z katalogu Incoming ("Przychodzące").
Następujące informacje mogą pomóc rozwiązać sytuację:
Następujące pakiety mają niespełnione zależności:
libatk1.0-dev : Wymaga: libatk1.0-0 (= 2.46.0-5) ale 2.54.0-1~bpo12+1 ma zostać zainstalowany
Wymaga: gir1.2-atk-1.0 (= 2.46.0-5) ale 2.54.0-1~bpo12+1 ma zostać zainstalowany
libatspi2.0-dev : Wymaga: gir1.2-atspi-2.0 (= 2.46.0-5) ale 2.54.0-1~bpo12+1 ma zostać zainstalowany
Wymaga: libatspi2.0-0 (= 2.46.0-5) ale 2.54.0-1~bpo12+1 ma zostać zainstalowany
libwayland-dev : Wymaga: libwayland-client0 (= 1.21.0-1) ale 1.23.0-1~bpo12+1 ma zostać zainstalowany
Wymaga: libwayland-server0 (= 1.21.0-1) ale 1.23.0-1~bpo12+1 ma zostać zainstalowany
Wymaga: libwayland-cursor0 (= 1.21.0-1) ale 1.23.0-1~bpo12+1 ma zostać zainstalowany
Wymaga: libwayland-egl1 (= 1.21.0-1) ale 1.23.0-1~bpo12+1 ma zostać zainstalowany
E: Nie udało się naprawić problemów, zatrzymano uszkodzone pakiety.
──────────────────── Installing necessary Python packages ────────────────────
Requirement already satisfied: pip in /opt/auto-cpufreq/venv/lib/python3.11/site-packages (24.3.1)
Requirement already satisfied: wheel in /opt/auto-cpufreq/venv/lib/python3.11/site-packages (0.45.1)
──────────────────────── Installing auto-cpufreq tool ────────────────────────
Processing /home/siwy/auto-cpufreq
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting pyinotify@ git+https://github.com/shadeyg56/pyinotify-3.12 (from auto-cpufreq==2.4.0+4dae1d4)
Cloning https://github.com/shadeyg56/pyinotify-3.12 to /tmp/pip-install-7m1bsgjf/pyinotify_7d3c465c4336408883b27a5bd1612623
Running command git clone --filter=blob:none --quiet https://github.com/shadeyg56/pyinotify-3.12 /tmp/pip-install-7m1bsgjf/pyinotify_7d3c465c4336408883b27a5bd1612623
Resolved https://github.com/shadeyg56/pyinotify-3.12 to commit 271b7aba3269116b6c3870355393f47c79bce146
Preparing metadata (setup.py) ... done
Collecting PyGObject<4.0.0,>=3.46.0 (from auto-cpufreq==2.4.0+4dae1d4)
Using cached pygobject-3.50.0.tar.gz (1.1 MB)
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [76 lines of output]
Collecting meson-python>=0.12.1
Using cached meson_python-0.17.1-py3-none-any.whl.metadata (4.1 kB)
Collecting pycairo>=1.16
Using cached pycairo-1.27.0.tar.gz (661 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [49 lines of output]
+ meson setup /tmp/pip-install-r0zj6c15/pycairo_71b2b959e3c7474ba207cdd182f830c2 /tmp/pip-install-r0zj6c15/pycairo_71b2b959e3c7474ba207cdd182f830c2/.mesonpy-41_brdpp -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md -Dwheel=true -Dtests=false --native-file=/tmp/pip-install-r0zj6c15/pycairo_71b2b959e3c7474ba207cdd182f830c2/.mesonpy-41_brdpp/meson-python-native-file.ini
The Meson build system
Version: 1.6.1
Source dir: /tmp/pip-install-r0zj6c15/pycairo_71b2b959e3c7474ba207cdd182f830c2
Build dir: /tmp/pip-install-r0zj6c15/pycairo_71b2b959e3c7474ba207cdd182f830c2/.mesonpy-41_brdpp
Build type: native build
Project name: pycairo
Project version: 1.27.0
C compiler for the host machine: cc (gcc 12.2.0 "cc (Debian 12.2.0-14) 12.2.0")
C linker for the host machine: cc ld.bfd 2.40
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/opt/auto-cpufreq/venv/bin/python)
Compiler for C supports arguments -Wall: YES
Compiler for C supports arguments -Warray-bounds: YES
Compiler for C supports arguments -Wcast-align: YES
Compiler for C supports arguments -Wconversion: YES
Compiler for C supports arguments -Wextra: YES
Compiler for C supports arguments -Wformat=2: YES
Compiler for C supports arguments -Wformat-nonliteral: YES
Compiler for C supports arguments -Wformat-security: YES
Compiler for C supports arguments -Wimplicit-function-declaration: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Winline: YES
Compiler for C supports arguments -Wmissing-format-attribute: YES
Compiler for C supports arguments -Wmissing-noreturn: YES
Compiler for C supports arguments -Wnested-externs: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Wpacked: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Wreturn-type: YES
Compiler for C supports arguments -Wshadow: YES
Compiler for C supports arguments -Wsign-compare: YES
Compiler for C supports arguments -Wstrict-aliasing: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wunused-but-set-variable: YES
Compiler for C supports arguments -Wswitch-default: YES
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -fno-strict-aliasing: YES
Compiler for C supports arguments -fvisibility=hidden: YES
Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency cairo found: NO (tried pkgconfig)
../cairo/meson.build:31:12: ERROR: Dependency "cairo" not found, tried pkgconfig
A full log can be found at /tmp/pip-install-r0zj6c15/pycairo_71b2b959e3c7474ba207cdd182f830c2/.mesonpy-41_brdpp/meson-logs/meson-log.txt
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
────────────────── auto-cpufreq tool successfully installed ──────────────────
For list of options, run:
auto-cpufreq --help
Wie ktoś jak spełnić te zależności bez naruszania reszty systemu?
Bez naruszania sysyemu chyba się nie da.
Zobacz sudo dpkg-reconfigure -a lub sudo apt --fix-broken install
To naprawi zależności.
Wydaje mi się ,że parrot os ma inne repozytoria niż debianowe i dlatego nie chcę on zainstalować tego programu.Może faktycznie jako alteernatywę warto spróbowac ze snapów zainstalować ten program.Temat zamykam.