• Pop!_Planet is still very much under development. Data for the wiki is being sourced from the Arch Linux and Ubuntu wikis, along with a bunch of completely unique content specific to Pop!_OS, and sourcing, converting and updating that content takes time; please be patient. If you can't find what you're looking for here, check the Arch Linux and Ubuntu wikis.
  • Welcome!

    I'll get straight to the point.

    When I started Pop!_Planet, I launched it because I saw a need for a centralized community for Pop!_OS. To be frank, I never expected the level of popularity it has achieved. Over the last year, we have gone from under 50 users, to almost 400 users. That's awesome! However... it also comes with a downside. We are rapidly running out of disk space on our server, and the bandwidth costs go up every month.

    Pop!_Planet is not affiliated with System76 in any way, and is funded completely out of pocket. From day one, I said that I'd never use on-site ads (I hate them as much as you do), so the only monetization we get is through donations. Right now, the donations we receive don't even cover our overhead.

    I know that most users will ignore this message, and that's ok. However, if even a few of our users are willing and able to donate a few dollars to help offset our expenses, it would be greatly appreciated.

    Support Pop!_Planet

    Thank you for your time,

    Dan Griffiths
    Pop!_Planet Founder

Intermediate Issues with dpkg and dkms - dpkg returning error exit status 10

LittleWhole

New member
Jul 18, 2020
11
0
4
21
Suzhou, Jiangsu Province, China
Hello, when running sudo apt install -f, the following error occurs with what appears to be system76 packages:
Code:
littlewhole-pc (pop-os):~/Downloads littlewhole$ sudo apt install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  cuda-command-line-tools-11-0 cuda-compiler-11-0 cuda-cudart-11-0
  cuda-cudart-dev-11-0 cuda-cuobjdump-11-0 cuda-cupti-11-0 cuda-cupti-dev-11-0
  cuda-documentation-11-0 cuda-driver-dev-11-0 cuda-gdb-11-0
  cuda-libraries-11-0 cuda-libraries-dev-11-0 cuda-memcheck-11-0
  cuda-nsight-11-0 cuda-nsight-compute-11-0 cuda-nsight-systems-11-0
  cuda-nvcc-11-0 cuda-nvdisasm-11-0 cuda-nvml-dev-11-0 cuda-nvprof-11-0
  cuda-nvprune-11-0 cuda-nvrtc-11-0 cuda-nvrtc-dev-11-0 cuda-nvtx-11-0
  cuda-nvvp-11-0 cuda-samples-11-0 cuda-sanitizer-11-0 cuda-toolkit-11-0
  cuda-tools-11-0 cuda-visual-tools-11-0 freeglut3 freeglut3-dev
  libcublas-11-0 libcublas-dev-11-0 libcufft-11-0 libcufft-dev-11-0
  libcurand-11-0 libcurand-dev-11-0 libcusolver-11-0 libcusolver-dev-11-0
  libcusparse-11-0 libcusparse-dev-11-0 libglu1-mesa-dev libnpp-11-0
  libnpp-dev-11-0 libnvidia-common-450 libnvidia-compute-450
  libnvidia-decode-450 libnvidia-encode-450 libnvidia-fbc1-450
  libnvidia-gl-450 libnvidia-ifr1-450 libnvjpeg-11-0 libnvjpeg-dev-11-0
  libxmu-dev libxmu-headers nsight-compute-2020.1.1 nsight-systems-2020.3.2
  nvidia-compute-utils-450 nvidia-kernel-common-450 nvidia-kernel-source-450
  nvidia-modprobe nvidia-settings nvidia-utils-450 screen-resolution-extra
  xserver-xorg-video-nvidia-450
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up system76-dkms (1.0.12~1616424713~20.04~c42d494) ...
Removing old system76-1.0.12~1616424713~20.04~c42d494 DKMS files...

------------------------------
Deleting module version: 1.0.12~1616424713~20.04~c42d494
completely from the DKMS tree.
------------------------------
Done.
Loading new system76-1.0.12~1616424713~20.04~c42d494 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 sup
ported
Error! Bad return status for module build on kernel: 5.11.0-7612-generic (x86_64
)
Consult /var/lib/dkms/system76/1.0.12~1616424713~20.04~c42d494/build/make.log fo
r more information.
dpkg: error processing package system76-dkms (--configure):
 installed system76-dkms package post-installation script subprocess returned er
ror exit status 10
Setting up system76-io-dkms (1.0.1~1616424744~20.04~57c15ff) ...
Removing old system76-io-1.0.1~1616424744~20.04~57c15ff DKMS files...

------------------------------
Deleting module version: 1.0.1~1616424744~20.04~57c15ff
completely from the DKMS tree.
------------------------------
Done.
Loading new system76-io-1.0.1~1616424744~20.04~57c15ff 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 sup
ported
Error! Bad return status for module build on kernel: 5.11.0-7612-generic (x86_64
)
Consult /var/lib/dkms/system76-io/1.0.1~1616424744~20.04~57c15ff/build/make.log
for more information.
dpkg: error processing package system76-io-dkms (--configure):
 installed system76-io-dkms package post-installation script subprocess returned
 error exit status 10
Setting up system76-acpi-dkms (1.0.2~1600812457~20.04~0bc966c) ...
Removing old system76_acpi-1.0.2~1600812457~20.04~0bc966c DKMS files...

------------------------------
Deleting module version: 1.0.2~1600812457~20.04~0bc966c
completely from the DKMS tree.
------------------------------
Done.
Loading new system76_acpi-1.0.2~1600812457~20.04~0bc966c 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 sup
ported
Error! Bad return status for module build on kernel: 5.11.0-7612-generic (x86_64
)
Consult /var/lib/dkms/system76_acpi/1.0.2~1600812457~20.04~0bc966c/build/make.lo
g for more information.
dpkg: error processing package system76-acpi-dkms (--configure):
 installed system76-acpi-dkms package post-installation script subprocess return
ed error exit status 10
Processing triggers for initramfs-tools (0.136ubuntu6.4) ...
update-initramfs: Generating /boot/initrd.img-5.11.0-7612-generic
cryptsetup: WARNING: Resume target cryptswap uses a key file
kernelstub.Config    : INFO     Looking for configuration...
kernelstub           : INFO     System information:

    OS:..................Pop!_OS 20.04
    Root partition:....../dev/nvme0n1p3
    Root FS UUID:........0aa90d4e-8563-44f7-8b89-b689fbf7e6a4
    ESP Path:............/boot/efi
    ESP Partition:......./dev/nvme0n1p1
    ESP Partition #:.....1
    NVRAM entry #:.......-1
    Boot Variable #:.....0000
    Kernel Boot Options:.quiet loglevel=0 systemd.show_status=false splash
    Kernel Image Path:.../boot/vmlinuz-5.11.0-7612-generic
    Initrd Image Path:.../boot/initrd.img-5.11.0-7612-generic
    Force-overwrite:.....False

kernelstub.Installer : INFO     Copying Kernel into ESP
kernelstub.Installer : INFO     Copying initrd.img into ESP
kernelstub.Installer : INFO     Setting up loader.conf configuration
kernelstub.Installer : INFO     Making entry file for Pop!_OS
kernelstub.Installer : INFO     Backing up old kernel
kernelstub.Installer : INFO     Making entry file for Pop!_OS
Errors were encountered while processing:
 system76-dkms
 system76-io-dkms
 system76-acpi-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
It seems that I can install new packages just fine even though this error happens, but the command always terminates with an error. Unfortunately, due to this, Pop!_OS won't let me upgrade my system to 20.10 (I'm on 20.04) - and I'm not sure how to fix this.

There were more packages that were being errored as well, however I simply removed them (they were mostly software I didn't really need anymore anyway) which removed them from the error. However, these last three packages appear to be System76 packages, so removing them is probably not a good idea (unless I'm mistaken).

Is anyone aware of a fix to this issue? Thanks in advance.
 

derpOmattic

Pop!_Muse
Trusted User
Founding Member
Nov 23, 2018
1,832
305
30
www.patreon.com
The first thing I would do is run sudo apt autoremove.

Then I'd try sudo apt update && sudo apt upgrade --fix-missing.

if that works I'd update initramfs. sudo update-initramfs -u

If --fix-missing doesn't work, you have more work to do. we're probably going to have to look at your apt sources and probably edit them manually.

Another thing you could try before doing that is, run sudo apt update && sudo apt upgrade --allow-downgrades.

Before editing sources manually, you could try to fix the package manager by running the following;

Code:
sudo apt clean
sudo apt update -m
sudo dpkg --configure -a
sudo apt install -f
sudo apt full-upgrade
sudo apt autoremove --purge
See how you go with this information before we continue.
 

derpOmattic

Pop!_Muse
Trusted User
Founding Member
Nov 23, 2018
1,832
305
30
www.patreon.com
What do your apt sources look like? Navigate to /etc/apt/sources.list and look at the contents. They should all be pointing to Focal.

List anything else in that directory.
 
Last edited:

LittleWhole

New member
Jul 18, 2020
11
0
4
21
Suzhou, Jiangsu Province, China
Bash:
# deb cdrom:[Pop_OS 20.04 _Focal Fossa_ - Release amd64 (20200609)]/ focal main restricted
deb http://us.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
deb http://apt.pop-os.org/proprietary focal main
# deb-src http://apt.pop-os.org/proprietary focal main
ll /etc/apt:
Bash:
total 88
drwxr-xr-x   7 root root  4096 Mar 25 12:58 ./
drwxr-xr-x 166 root root 12288 Apr 29 05:28 ../
drwxr-xr-x   2 root root  4096 Apr 24 16:27 apt.conf.d/
drwxr-xr-x   2 root root  4096 Mar 24  2020 auth.conf.d/
drwxr-xr-x   2 root root  4096 Mar 27 11:06 preferences.d/
-rw-r--r--   1 root root   930 Sep  9  2020 sources.list
-rw-r--r--   1 root root   838 Jun  9  2020 sources.list~
drwxr-xr-x   2 root root  4096 Mar 25 12:58 sources.list.d/
-rw-r--r--   1 root root   930 Sep  9  2020 sources.list.save
-rw-r--r--   1 root root 21880 Mar 25 12:58 trusted.gpg
-rw-r--r--   1 root root 15606 Sep 20  2020 trusted.gpg~
drwxr-xr-x   2 root root  4096 Apr 15 12:09 trusted.gpg.d/
 

derpOmattic

Pop!_Muse
Trusted User
Founding Member
Nov 23, 2018
1,832
305
30
www.patreon.com
You can try removing the packages and reinstall them. Using sudo apt-get purge <packages>. Then sudo apt install <packages>. (apt-get seems to do a more thorough job removing than apt only). I'd make a back up, just in case something goes wrong.

After that I'd update initramfs, then try fixing the package manager, then update/upgrade.
 

Members online

No members online now.

Latest projects

Forum statistics

Threads
1,417
Messages
6,487
Members
1,404
Latest member
awsumatt