Score:0

E: Sub-process /usr/bin/dpkg returned an error code (1) on Xubuntu [Not Solved]

jp flag

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.

N0rbert avatar
zw flag
At first try `sudo apt-get install --reinstall libwayland-client0:i386` .
galexite avatar
pk flag
Also, if that doesn’t work, `sudo apt update && sudo apt clean` before trying your install command.
tokmaq avatar
jp flag
`sudo apt-get install --reinstall libwayland-client0:i386` and `sudo apt update && sudo apt clean` didn't work. 'libwayland-client0: i386' wasn't the only broken package.There is a lot more broken package like that.
tokmaq avatar
jp flag
`E: The Release file does not exist in the 'http://ppa.launchpad.net/gezakovacs/ppa/ubuntu hirsute Release' store.N: Such a repository cannot be safely updated, so the repository is disabled.N: For detailed information about depot creation and user configuration, it can be found on the apt-secure(8) guide page.E: There is no Release file in the 'http://ppa.launchpad.net/wireshark-dev/stable/ubuntu release' store.N: Such a repository cannot be safely updated, so the repository is disabled.N: For detailed information about depot creation and user configuration, see the apt-secure(8) guide page`
tokmaq avatar
jp flag
thats what i get after sudo apt update && sudo apt clean.
nobody avatar
gh flag
Deactivate both ppa's that are mentioned in your last comment. Both have no packages for your distro release.
tokmaq avatar
jp flag
@nobody how can i deactive?
nobody avatar
gh flag
https://askubuntu.com/questions/307/how-can-ppas-be-removed I would prefer ppa-purge.
tokmaq avatar
jp flag
Thanks but it says; ```tokmaq@root:~$ sudo add-apt-repository --remove ppa:/ppa.launchpad.net/gezakovacs/ppa/ubuntu hirsute Release Unable to handle repository shortcut 'ppa:/ppa.launchpad.net/gezakovacs/ppa/ubuntu hirsute Release'```
tokmaq avatar
jp flag
IM STUCK ON THIS FRICKING OS AND I CANT GET OUT. I TRIED EVERYTHING DUDE. E V E R Y T H I N G. IM DRIVING CRAZY
nobody avatar
gh flag
Oh come on first think then type. You added this ppa's not ubuntu. `sudo apt install ppa-purge` (i hope it is working). `sudo ppa-purge ppa:gezakovacs/ppa` and `sudo ppa-purge ppa:wireshark-dev/stable`
tokmaq avatar
jp flag
@nobody while i'm installing ppa purge i got unmet dependencies error.I tried to fix them on Synaptic but didn't work again.Now all i want is how can i install a operating system without any usb or dvd (except unetbootin because of the broken packages it didn't work on my pc)
nobody avatar
gh flag
Make a backup from your data! and add `ls -al /etc/apt/sources.list.d/` to your question you can edit it.
tokmaq avatar
jp flag
I don't need a backup.and what is this? ```tokmaq@root:~$ ls -al /etc/apt/sources.list.d/ total 16 drwxr-xr-x 2 root root 4096 Ağu 12 13:30 . drwxr-xr-x 7 root root 4096 Ağu 5 17:35 .. -rw-r--r-- 1 root root 148 Ağu 12 13:30 nilarimogard-ubuntu-webupd8-hirsute.list -rw-r--r-- 1 root root 148 Ağu 12 13:30 wireshark-dev-ubuntu-stable-hirsute.list```
Score:0
gh flag
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 :(

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.