0

I'm really tired of getting this error;

Xubuntu E: Sub-process /usr/bin/dpkg returned an error code (1)

I tried sudo apt-get -f install, apt install -f and sudo apt --fix-broken install AND THEY DIDN'T WORK. I'M DRIVING CRAZY BECAUSE OF THIS ERROR AND THIS ERROR IS NOT THE ONLY ERROR.

dpkg: warning:the file listing the files of the package 'libwayland-client0: i386' could not be found; it is assumed that the package does not already have any files

That's all i need a solution to this problem.

tokmaq
  • 9

1 Answers1

0
sudo rm /etc/apt/sources.list.d/ wireshark-dev-ubuntu-stable-hirsute.list 

restore default repository

Then run

sudo apt update

when apt is not complaining then try to run

sudo dpkg --configure -a

NO error so far?

sudo apt -f install && sudo sudo apt full-upgrade 

Oh need no backup? So you have no important datas :(

nobody
  • 5,792