Hey there, not sure if this is the right area to post this.
I happen to get this anytime I try installing a .deb file, and I can't seem to figure out what's wrong. Anyone have any answers/guides for this?
Can you please try;
sudo apt install deborphan
Then run:
sudo apt clean && sudo apt autoremove && sudo deborphan | xargs sudo apt remove --purge
Reboot, then test installing any .deb package.
Works for me, although I still do get the error, surprisingly enough, it does install the .deb file. Thanks and I appreciate how active you are on this forum
EDIT: Apparently I can't install stuff through the terminal line somehow.
Can you please run:
sudo dpkg --configure -a
And see if that gets rid of the error once and for all?
Nope it didn't, the error still stays, and whenever I try downloading something via the terminal line, I get "dpkg: error processing package r8168-dkms (--configure):
installed r8168-dkms package post-installation script subprocess returned error
exit status 10
Errors were encountered while processing:
r8168-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)"
Strangely enough, I'm able to install stuff through the software store just fine.
sudo rm /var/lib/dpkg/info/r8168-dkms*
sudo dpkg --configure -D 777 r8168-dkms
sudo apt -f install
OR if you prefer to remove instead of install
sudo apt remove --purge r8168-dkms
Yup, this works flawlessly. Thanks.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.