I can't install new packages with apt

Hello there !
I tried to install a package, but I got this output instead :

nath@nath-zorinos:~$ sudo apt-get install powertop
[sudo] Mot de passe de nath :           
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
E: Le paquet wps-office doit être réinstallé, mais il est impossible de trouver son archive.
nath@nath-zorinos:~$ 

"wps-office" is a package I tried to install, but it's now a bit buggy... And I never completely achieved to install it.
But I don't undertand why this package is now preventing me to install others packages. Can someone helps me please ?

There is probably still a backlog due to the server malfunction. Try again the next day or switch to another mirror at Software & Updates > Zorin Software > Download from...

Do you get also errors when you run

sudo apt update && sudo apt upgrade

in terminal? Then this is not a problem of the special package but of the server.
Due to the server error, software packages cannot be retrieved and no updates can be executed.

In terminal, please run:

sudo apt --fix-broken install

sudo apt clean

Then,

sudo apt install powertop

2 Likes

How did You installed WPS Office? I saw they the Developer offers a .deb File. Did You used that?

You could try sudo apt purge wps-office and see if it will be removed. And then a sudo apt autoremove to remove the Rests if there should be some.

I would actually recommend you remove wps office and install Softmaker Free Office instead.

Moderator Note: I have changed Your Link ''this'' to the direct Name ''Softmaker Free Office'' to clearly name the Software what You have linked.

2 Likes

I tried to do the same command today, so

sudo apt-get install powertop

but same output...

Also, now I can't open "software & updates"... It just doesn't launch...

I did your command, and I got the same problem :

nath@nath-zorinos:~$ sudo apt update && sudo apt upgrade
[sudo] Mot de passe de nath :           
Atteint :1 http://fr.archive.ubuntu.com/ubuntu jammy InRelease
Réception de :2 http://fr.archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]                                                                         
Réception de :3 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]                                                                          
Réception de :4 http://fr.archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]                                                                       
Réception de :5 https://brave-browser-apt-release.s3.brave.com stable InRelease [7 547 B]                                                                    
Atteint :6 https://ppa.launchpadcontent.net/zorinos/apps/ubuntu jammy InRelease                                                                              
Réception de :7 https://packages.mozilla.org/apt mozilla InRelease [1 522 B]                                                                               
Atteint :8 https://ppa.launchpadcontent.net/zorinos/drivers/ubuntu jammy InRelease                                                                           
Atteint :9 https://ppa.launchpadcontent.net/zorinos/patches/ubuntu jammy InRelease                                       
Réception de :10 http://fr.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 DEP-11 Metadata [212 B]              
Atteint :11 https://ppa.launchpadcontent.net/zorinos/stable/ubuntu jammy InRelease                                                                           
Réception de :12 http://fr.archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages [872 kB]                                                           
Err :5 https://brave-browser-apt-release.s3.brave.com stable InRelease                                                   
  Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 0686B78420038257
Réception de :13 http://fr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2 887 kB]                        
Réception de :14 http://fr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 DEP-11 Metadata [112 kB]                                             
Réception de :15 http://fr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 c-n-f Metadata [18,9 kB]                               
Réception de :16 http://fr.archive.ubuntu.com/ubuntu jammy-updates/universe i386 Packages [785 kB]                                   
Réception de :17 http://fr.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1 231 kB]                         
Réception de :18 http://fr.archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [305 kB]                             
Réception de :19 http://fr.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 DEP-11 Metadata [359 kB]
Réception de :20 http://fr.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 c-n-f Metadata [29,5 kB]
Réception de :21 http://fr.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 DEP-11 Metadata [940 B]
Réception de :22 http://fr.archive.ubuntu.com/ubuntu jammy-backports/multiverse amd64 DEP-11 Metadata [212 B]
Réception de :23 http://fr.archive.ubuntu.com/ubuntu jammy-backports/restricted amd64 DEP-11 Metadata [212 B]
Réception de :24 http://fr.archive.ubuntu.com/ubuntu jammy-backports/main amd64 DEP-11 Metadata [7 060 B]
Réception de :25 http://fr.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 DEP-11 Metadata [26,0 kB]
Atteint :26 https://packages.zorinos.com/stable jammy InRelease                                       
Atteint :27 https://packages.zorinos.com/patches jammy InRelease                                      
Atteint :28 https://packages.zorinos.com/apps jammy InRelease                                         
Réception de :29 https://packages.mozilla.org/apt mozilla/main i386 Packages [89,7 kB]                
Réception de :30 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 DEP-11 Metadata [208 B]                              
Atteint :31 https://packages.zorinos.com/drivers jammy InRelease                                             
Réception de :32 http://security.ubuntu.com/ubuntu jammy-security/main i386 Packages [698 kB]
Réception de :33 https://packages.mozilla.org/apt mozilla/main all Packages [5 042 kB]
Réception de :34 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2 641 kB]
Réception de :35 http://security.ubuntu.com/ubuntu jammy-security/main amd64 DEP-11 Metadata [54,5 kB]  
Réception de :36 http://security.ubuntu.com/ubuntu jammy-security/main amd64 c-n-f Metadata [13,9 kB]       
Réception de :37 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [996 kB]          
Réception de :38 http://security.ubuntu.com/ubuntu jammy-security/universe i386 Packages [673 kB]          
Réception de :39 http://security.ubuntu.com/ubuntu jammy-security/universe Translation-en [218 kB]  
Réception de :40 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 DEP-11 Metadata [125 kB] 
Réception de :41 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 DEP-11 Metadata [208 B] 
Réception de :42 https://packages.mozilla.org/apt mozilla/main amd64 Packages [95,6 kB]             
17,7 Mo réceptionnés en 3s (5 064 ko/s)                             
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
8 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.
W: Une erreur s'est produite lors du contrôle de la signature. Le dépôt n'est pas mis à jour et les fichiers d'index précédents seront utilisés. Erreur de GPG : https://brave-browser-apt-release.s3.brave.com stable InRelease : Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 0686B78420038257
W: Impossible de récupérer https://brave-browser-apt-release.s3.brave.com/dists/stable/InRelease  Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 0686B78420038257
W: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
E: Le paquet wps-office doit être réinstallé, mais il est impossible de trouver son archive.
nath@nath-zorinos:~$ 

Same problem...

ath@nath-zorinos:~$ sudo apt --fix-broken install
[sudo] Mot de passe de nath :           
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
E: Le paquet wps-office doit être réinstallé, mais il est impossible de trouver son archive.
nath@nath-zorinos:~$ sudo apt clean
nath@nath-zorinos:~$ sudo apt install powertop
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
E: Le paquet wps-office doit être réinstallé, mais il est impossible de trouver son archive.
nath@nath-zorinos:~$ 

I tried installing it with the deb package, but it is really buggy, I can't uninstall it, and the software isn't working properly, like it is crashing when I try to create a new document
The flatpak version gave me errors, I don't remember exactly it's code

I tried your commands, it's the same issue :

nath@nath-zorinos:~$ sudo apt purge wps-office 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
E: Le paquet wps-office doit être réinstallé, mais il est impossible de trouver son archive.
nath@nath-zorinos:~$ sudo apt autoremove
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
E: Le paquet wps-office doit être réinstallé, mais il est impossible de trouver son archive.
nath@nath-zorinos:~$ 


It's not the first time I had these types of problem with debian based distros, I installed endeavourOS on my main computer, and pacman works very good compare to apt

I agree, but I can't uninstall it... I already have libreoffice and onlyoffice, but I wanted to try something new, but I wasn't expecting this package to make impossible to install other packages :confused:

Debian 13 has APT 3, which supposedly greatly improves quite a lot, including dependency functionality. Sadly that doesn't help you, and Zorin 18 won't have it, since it's based on Ubuntu 22.04, which predates Debian 13. >_<

@Aravisian, while I wouldn't necessarily expect APT 3 to fix NDC's problem, especially since it's already in effect, do you know if APT 3 can be installed on Zorin, or if this would result in many-colored and terrifying explosions? <_<

Can you try to open system monitor to kill Software & Updates and gnome-software? I'm not sure what the name is there.

I only have these in my system monitor :


I'm not sur it's this, and even by restarting I can't launch software and update :frowning:

You have tried to remove brave browser, is that right? If yes, please enter the following commands in terminal:

sudo apt remove brave-browser brave-keyring
sudo rm /etc/apt/sources.list.d/brave-browser-*.list
sudo apt update && sudo apt upgrade

Which server for downloads do you have set?

Yeah, I hate brave, I prefer firefox or librewolf, so I uninstalled it

About your command, here are the outputs :

nath@nath-zorinos:~$ sudo apt remove brave-browser brave-keyring
[sudo] Mot de passe de nath :           
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
E: Le paquet wps-office doit être réinstallé, mais il est impossible de trouver son archive.
nath@nath-zorinos:~$ sudo rm /etc/apt/sources.list.d/brave-browser-*.list
nath@nath-zorinos:~$ sudo rm /etc/apt/sources.list.d/brave-browser-*.list
rm: impossible de supprimer '/etc/apt/sources.list.d/brave-browser-*.list': Aucun fichier ou dossier de ce nom
nath@nath-zorinos:~$ sudo apt update && sudo apt upgrade
Atteint :1 http://fr.archive.ubuntu.com/ubuntu jammy InRelease
Réception de :2 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]                                                                          
Atteint :3 http://fr.archive.ubuntu.com/ubuntu jammy-updates InRelease                                                                                       
Atteint :4 http://fr.archive.ubuntu.com/ubuntu jammy-backports InRelease                                                                                     
Atteint :5 https://ppa.launchpadcontent.net/zorinos/apps/ubuntu jammy InRelease                                                                              
Atteint :6 https://ppa.launchpadcontent.net/zorinos/drivers/ubuntu jammy InRelease                                        
Atteint :7 https://ppa.launchpadcontent.net/zorinos/patches/ubuntu jammy InRelease      
Atteint :8 https://ppa.launchpadcontent.net/zorinos/stable/ubuntu jammy InRelease       
Atteint :9 https://packages.mozilla.org/apt mozilla InRelease                           
Atteint :10 https://packages.zorinos.com/stable jammy InRelease                         
Réception de :11 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 DEP-11 Metadata [208 B]
Réception de :12 http://security.ubuntu.com/ubuntu jammy-security/main amd64 DEP-11 Metadata [54,5 kB]
Réception de :13 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 DEP-11 Metadata [125 kB]
Réception de :14 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 DEP-11 Metadata [208 B]    
Atteint :15 https://packages.zorinos.com/patches jammy InRelease           
Atteint :16 https://packages.zorinos.com/apps jammy InRelease
Atteint :17 https://packages.zorinos.com/drivers jammy InRelease
309 ko réceptionnés en 12s (25,7 ko/s)
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
8 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
E: Le paquet wps-office doit être réinstallé, mais il est impossible de trouver son archive.
nath@nath-zorinos:~$ 


As you can see, nothing change... It's the same weird message about wps office

In which package format did you try to install wps-office (flatpak, snap,...)?
The official site recommends downloading the .deb file.

I tried to install it with flatpak in the "software" app, but it doesn't works for whatever reason, so I installed it with the deb file

I'm really worried about the fact I can't even update my pc, except for flatpaks software, because the "update manager" (with the orange logo) and the "software and update (with the blue one) can't be oppened anymore

Try this fix for gnome-software:

When I use this command :

sudo apt install --reinstall gnome-software

Here's the output :

nath@nath-zorinos:~$ gnome-software refresh
nath@nath-zorinos:~$ killall gnome-software
nath@nath-zorinos:~$ rm -rf ~/.cache/gnome-software
nath@nath-zorinos:~$ sudo apt install --reinstall gnome-software
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
E: Le paquet wps-office doit être réinstallé, mais il est impossible de trouver son archive.
nath@nath-zorinos:~$ 


It's really weird, because I remember there were some errors while installing the wps office package, and now apt is blocked because it's asking me to reinstall it, but it doesn't work at all... When I launch the freshly downloaded deb file from the official site, it's just opening the software app, without anything else saying me to install it, like every deb file normally...
It seems every command with "apt" is impossible to run, for any reason :confused: