johnfanv2 / LenovoLegionLinux

Driver and tools for controlling Lenovo Legion laptops in Linux including fan control and power mode.
https://github.com/johnfanv2/LenovoLegionLinux
GNU General Public License v2.0
1.67k stars 60 forks source link

[BUG] Unable to find package “python3-pyqt6” and “python3-darkdetect”. Pop_OS! #277

Closed thomas-sanger closed 3 days ago

thomas-sanger commented 1 week ago

Problem Description When trying to install the packages, I got the following errors:

E: Unable to locate package python3-pyqt6
E: Unable to locate package python3-darkdetect

When using:

apt search python3-pyqt6

I got a result for:

python3-pyqt6.sip

With regard to an apt search of python3-darkdetect, I got no result.

Is the .sip file sufficient for python3-pyqt6? What should I do about python3-darkdetect?

Has the bug occurred following steps described in the README? — Yes

What steps did you take? — I used the first command:

sudo apt-get install -y make gcc linux-headers-$(uname -r) build-essential git lm-sensors wget python3-pyqt6 python3-yaml python3-venv python3-pip python3-argcomplete python3-darkdetect

and received the above errors. From there I conducted the search, and now I'm here.

What commands did you enter?

sudo apt-get install -y make gcc linux-headers-$(uname -r) build-essential git lm-sensors wget python3-pyqt6 python3-yaml python3-venv python3-pip python3-argcomplete python3-darkdetect

and

apt search python3-pyqt6

and

apt search python3-darkdetect

What was the (full) error you received and what command or action did lead to it?

Error:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python3-pyqt6
E: Unable to locate package python3-darkdetect

Command:

sudo apt-get install -y make gcc linux-headers-$(uname -r) build-essential git lm-sensors wget python3-pyqt6 python3-yaml python3-venv python3-pip python3-argcomplete python3-darkdetect

Model and Debug Info

Installation type: Packet manager Distribution: Pop_OS! 22.04 LTS Model name: Lenovo Legion Pro 5i 16IRX9 CPU model: Intel i9 - 14900HX GPU model: Nvidia GeForce RTX 4070 Keyboard backlight: RGB Light in lid or logo: No Light at IO-Ports at back: Yes (I'm assuming you're referring to the power indicator)

Output of sudo dmidecode -t system. Please remove Serial Number and UUID for privacy:

Getting SMBIOS data from sysfs.
SMBIOS 3.4 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
    Manufacturer: LENOVO
    Product Name: 83DF
    Version: Legion Pro 5 16IRX9
    Wake-up Type: Power Switch
    SKU Number: LENOVO_MT_83DF_BU_idea_FM_Legion Pro 5 16IRX9
    Family: Legion Pro 5 16IRX9

Handle 0x0024, DMI type 12, 5 bytes
System Configuration Options
    Option 1: ConfigOptions1
    Option 2: ConfigOptions2
    Option 3: ConfigOptions3

Handle 0x0027, DMI type 15, 29 bytes
System Event Log
    Area Length: 0 bytes
    Header Start Offset: 0x0000
    Header Length: 8192 bytes
    Data Start Offset: 0x2000
    Access Method: General-purpose non-volatile data functions
    Access Address: 0x0000
    Status: Valid, Not Full
    Change Token: 0x12345678
    Header Format: OEM-specific
    Supported Log Type Descriptors: 3
    Descriptor 1: POST memory resize
    Data Format 1: None
    Descriptor 2: POST error
    Data Format 2: POST results bitmap
    Descriptor 3: Log area reset/cleared
    Data Format 3: None

Handle 0x0034, DMI type 32, 11 bytes
System Boot Information
    Status: No errors detected

Output of sudo dmidecode -t bios:

Getting SMBIOS data from sysfs.
SMBIOS 3.4 present.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
    Vendor: LENOVO
    Version: N0CN24WW
    Release Date: 06/06/2024
    Address: 0xE0000
    Runtime Size: 128 kB
    ROM Size: 16 MB
    Characteristics:
        PCI is supported
        BIOS is upgradeable
        BIOS shadowing is allowed
        Boot from CD is supported
        Selectable boot is supported
        EDD is supported
        Japanese floppy for NEC 9800 1.2 MB is supported (int 13h)
        Japanese floppy for Toshiba 1.2 MB is supported (int 13h)
        5.25"/360 kB floppy services are supported (int 13h)
        5.25"/1.2 MB floppy services are supported (int 13h)
        3.5"/720 kB floppy services are supported (int 13h)
        3.5"/2.88 MB floppy services are supported (int 13h)
        8042 keyboard services are supported (int 9h)
        CGA/mono video services are supported (int 10h)
        ACPI is supported
        USB legacy is supported
        BIOS boot specification is supported
        Targeted content distribution is supported
        UEFI is supported
    BIOS Revision: 1.24
    Firmware Revision: 1.24

Handle 0x0025, DMI type 13, 22 bytes
BIOS Language Information
    Language Description Format: Long
    Installable Languages: 8
        en|US|iso8859-1,0
        fr|FR|iso8859-1,0
        zh|TW|unicode,0
        ja|JP|unicode,0
        it|IT|iso8859-1,0
        es|ES|iso8859-1,0
        de|DE|iso8859-1,0
        pt|PT|iso8859-1,0
    Currently Installed Language: en|US|iso8859-1,0

Output of sudo cat /sys/kernel/debug/legion/fancurve: cat: /sys/kernel/debug/legion/fancurve: No such file or directory

MrDuartePT commented 3 days ago

Sorry but that is a problem with your distro, you can use pip to install them. You can also use the debian package you just need to download the deb manually since you are on Pop!Os (Ubuntu): https://tracker.debian.org/pkg/lenovolegionlinux

You could also ask to ubuntu or popOs if they can add the debian package to there repos.