pop-os / pop

A project for managing all Pop!_OS sources
https://system76.com/pop
2.47k stars 87 forks source link

rtl8821ce-5.5.2.1 fails to install; dpkg error code (1) #1664

Open fiver22 opened 3 years ago

fiver22 commented 3 years ago

Distribution (run cat /etc/os-release): NAME="Pop!_OS" VERSION="20.10" ID=pop ID_LIKE="ubuntu debian" PRETTY_NAME="Pop!_OS 20.10" VERSION_ID="20.10" HOME_URL="https://pop.system76.com" SUPPORT_URL="https://support.system76.com" BUG_REPORT_URL="https://github.com/pop-os/pop/issues" PRIVACY_POLICY_URL="https://system76.com/privacy" VERSION_CODENAME=groovy UBUNTU_CODENAME=groovy LOGO=distributor-logo-pop-os

Related Application and/or Package Version (run apt policy $PACKAGE NAME): rtl8821ce-dkms: Installed: 5.5.2.1-0ubuntu4 Candidate: 5.5.2.1-0ubuntu4 Version table: *** 5.5.2.1-0ubuntu4 500 500 http://us.archive.ubuntu.com/ubuntu groovy/universe amd64 Packages 500 http://us.archive.ubuntu.com/ubuntu groovy/universe i386 Packages 100 /var/lib/dpkg/status

Issue/Bug Description: On apt upgrade or apt install dpk returns error code (1)

Steps to reproduce (if you know): $ sudo apt install rtl8821ce-dkms Reading package lists... Done Building dependency tree
Reading state information... Done rtl8821ce-dkms is already the newest version (5.5.2.1-0ubuntu4). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Setting up rtl8821ce-dkms (5.5.2.1-0ubuntu4) ... Removing old rtl8821ce-5.5.2.1 DKMS files...


Deleting module version: 5.5.2.1 completely from the DKMS tree.

Done. Loading new rtl8821ce-5.5.2.1 DKMS files... Building for 5.11.0-7612-generic Building initial module for 5.11.0-7612-generic ERROR (dkms apport): kernel package linux-headers-5.11.0-7612-generic is not supported Error! Bad return status for module build on kernel: 5.11.0-7612-generic (x86_64) Consult /var/lib/dkms/rtl8821ce/5.5.2.1/build/make.log for more information. dpkg: error processing package rtl8821ce-dkms (--configure): installed rtl8821ce-dkms package post-installation script subprocess returned error exit status 10 Errors were encountered while processing: rtl8821ce-dkms E: Sub-process /usr/bin/dpkg returned an error code (1)

OR

$ sudo apt upgrade Reading package lists... Done Building dependency tree
Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Setting up rtl8821ce-dkms (5.5.2.1-0ubuntu4) ... Removing old rtl8821ce-5.5.2.1 DKMS files...


Deleting module version: 5.5.2.1 completely from the DKMS tree.

Done. Loading new rtl8821ce-5.5.2.1 DKMS files... Building for 5.11.0-7612-generic Building initial module for 5.11.0-7612-generic ERROR (dkms apport): kernel package linux-headers-5.11.0-7612-generic is not supported Error! Bad return status for module build on kernel: 5.11.0-7612-generic (x86_64) Consult /var/lib/dkms/rtl8821ce/5.5.2.1/build/make.log for more information. dpkg: error processing package rtl8821ce-dkms (--configure): installed rtl8821ce-dkms package post-installation script subprocess returned error exit status 10 Errors were encountered while processing: rtl8821ce-dkms E: Sub-process /usr/bin/dpkg returned an error code (1)

Expected behavior: on 'apt install' or apt upgrade' package should successfully install

Other Notes: attaching rtl882ce//var/lib/dkms/rtl8821ce/5.5.2.1/build/make.log

rtl882ce_5.5.2.1_make.log

see also: https://bugs.launchpad.net/ubuntu/+source/rtl8821ce/+bug/1877714 -I'm not competent to decide if this is best handled here or there

fiver22 commented 3 years ago

This issue seems resolved with the last kernel update I received. I'll close.

fiver22 commented 1 year ago

seeing this issue again. related? https://github.com/pop-os/pop/issues/2221, https://github.com/pop-os/pop/issues/1956

Kernel: 6.2.6-76060206-generic x86_64 bits: 64 Desktop: GNOME 42.5 Distro: Pop!_OS 22.04 LTS

Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter Subsystem: Hewlett-Packard Company RTL8821CE 802.11ac PCIe Wireless Network Adapter Kernel driver in use: rtw_8821ce Kernel modules: rtw88_8821ce, 8821ce