Page 2 sur 2

Re: Error can't find command

Posté : jeu. 27 févr. 2025 12:55
par Noctis

Dernier message de la page précédente :

Voilà le résultat :

Code : Tout sélectionner

Atteint :1 http://ubuntu.univ-reims.fr/ubuntu noble InRelease
Réception de :2 http://ubuntu.univ-reims.fr/ubuntu noble-updates InRelease [126 kB]  
Ign :3 http://linux-mint.froonix.org wilma InRelease                                 
Atteint :4 http://linux-mint.froonix.org wilma Release                               
Atteint :5 http://security.ubuntu.com/ubuntu noble-security InRelease
Réception de :7 http://ubuntu.univ-reims.fr/ubuntu noble-backports InRelease [126 kB]
Réception de :8 http://ubuntu.univ-reims.fr/ubuntu noble-updates/main amd64 Packages [883 kB]
Réception de :9 http://ubuntu.univ-reims.fr/ubuntu noble-updates/main i386 Packages [431 kB]
Réception de :10 http://ubuntu.univ-reims.fr/ubuntu noble-updates/main amd64 Components [151 kB]
Réception de :11 http://ubuntu.univ-reims.fr/ubuntu noble-updates/restricted amd64 Components [212 B]
Réception de :12 http://ubuntu.univ-reims.fr/ubuntu noble-updates/universe i386 Packages [623 kB]
Réception de :13 http://ubuntu.univ-reims.fr/ubuntu noble-updates/universe amd64 Packages [1 026 kB]
Réception de :14 http://ubuntu.univ-reims.fr/ubuntu noble-updates/universe amd64 Components [363 kB]
Réception de :15 http://ubuntu.univ-reims.fr/ubuntu noble-updates/multiverse amd64 Components [940 B]
Réception de :16 http://ubuntu.univ-reims.fr/ubuntu noble-backports/main amd64 Components [208 B]
Réception de :17 http://ubuntu.univ-reims.fr/ubuntu noble-backports/restricted amd64 Components [216 B]
Réception de :18 http://ubuntu.univ-reims.fr/ubuntu noble-backports/universe amd64 Components [19,9 kB]
Réception de :19 http://ubuntu.univ-reims.fr/ubuntu noble-backports/multiverse amd64 Components [212 B]
3 751 ko réceptionnés en 4s (1 041 ko/s)                                  
Lecture des listes de paquets... Erreur !
E: Impossible de traiter le fichier /var/lib/dpkg/status (1)
W: Vous pouvez lancer « apt-get update » pour corriger ces problèmes.
E: Le fichier de cache des paquets est corrompu
Vous en pensez quoi ? Et vous croyez que je peux redémarrer le PC maintenant sans risque ?

Re: Error can't find command

Posté : jeu. 27 févr. 2025 13:03
par Noctis
OK merci je vais voir ça et passe une bonne journée cyrille ^^

Re: Error can't find command

Posté : jeu. 27 févr. 2025 19:39
par Noctis
Oui je confirme j'ai beaucoup de fichiers et installer quelques logiciels ici et là x)

Voilà le résultat de la commande après la commande rm :

Code : Tout sélectionner

Réception de :1 http://ubuntu.univ-reims.fr/ubuntu noble InRelease [256 kB]
Ign :2 http://linux-mint.froonix.org wilma InRelease                                 
Réception de :3 http://linux-mint.froonix.org wilma Release [27,6 kB]                
Réception de :4 http://linux-mint.froonix.org wilma Release.gpg [833 B]              
Réception de :5 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]  
Réception de :6 http://ubuntu.univ-reims.fr/ubuntu noble-updates InRelease [126 kB]
Réception de :7 http://linux-mint.froonix.org wilma/main i386 Packages [17,1 kB]     
Réception de :8 http://linux-mint.froonix.org wilma/main amd64 Packages [17,7 kB]    
Réception de :9 http://linux-mint.froonix.org wilma/upstream i386 Packages [21,2 kB] 
Réception de :10 http://linux-mint.froonix.org wilma/upstream amd64 Packages [51,3 kB]
Réception de :11 http://ubuntu.univ-reims.fr/ubuntu noble-backports InRelease [126 kB]
Réception de :12 http://linux-mint.froonix.org wilma/import amd64 Packages [5 524 B] 
Réception de :13 http://linux-mint.froonix.org wilma/import i386 Packages [3 200 B]  
Réception de :14 http://linux-mint.froonix.org wilma/backport i386 Packages [5 152 B]
Réception de :15 http://linux-mint.froonix.org wilma/backport amd64 Packages [24,5 kB]
Réception de :16 http://ubuntu.univ-reims.fr/ubuntu noble/main i386 Packages [1 041 kB]
Réception de :17 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [634 kB]
Réception de :18 http://security.ubuntu.com/ubuntu noble-security/main i386 Packages [242 kB]
Réception de :19 http://security.ubuntu.com/ubuntu noble-security/main Translation-en [121 kB]
Réception de :20 http://security.ubuntu.com/ubuntu noble-security/main amd64 Components [8 988 B]
Réception de :21 http://security.ubuntu.com/ubuntu noble-security/main amd64 c-n-f Metadata [5 892 B]
Réception de :22 http://security.ubuntu.com/ubuntu noble-security/restricted i386 Packages [14,1 kB]
Réception de :23 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [650 kB]
Réception de :24 http://security.ubuntu.com/ubuntu noble-security/restricted Translation-en [128 kB]
Réception de :25 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Components [212 B]
Réception de :26 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 c-n-f Metadata [424 B]
Réception de :27 http://security.ubuntu.com/ubuntu noble-security/universe i386 Packages [506 kB]
Réception de :28 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [815 kB]
Réception de :29 http://security.ubuntu.com/ubuntu noble-security/universe Translation-en [174 kB]
Réception de :30 http://ubuntu.univ-reims.fr/ubuntu noble/main amd64 Packages [1 401 kB]
Réception de :31 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Components [51,9 kB]
Réception de :32 http://security.ubuntu.com/ubuntu noble-security/universe amd64 c-n-f Metadata [13,5 kB]
Réception de :33 http://security.ubuntu.com/ubuntu noble-security/multiverse i386 Packages [2 732 B]
Réception de :34 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [19,4 kB]
Réception de :35 http://security.ubuntu.com/ubuntu noble-security/multiverse Translation-en [4 308 B]
Réception de :36 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Components [208 B]
Réception de :37 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 c-n-f Metadata [356 B]
Réception de :38 http://ubuntu.univ-reims.fr/ubuntu noble/main Translation-fr [491 kB]
Réception de :39 http://ubuntu.univ-reims.fr/ubuntu noble/main Translation-en [513 kB]
Réception de :40 http://ubuntu.univ-reims.fr/ubuntu noble/main amd64 Components [464 kB]
Réception de :41 http://ubuntu.univ-reims.fr/ubuntu noble/main amd64 c-n-f Metadata [30,5 kB]
Réception de :42 http://ubuntu.univ-reims.fr/ubuntu noble/restricted i386 Packages [14,7 kB]
Réception de :43 http://ubuntu.univ-reims.fr/ubuntu noble/restricted amd64 Packages [93,9 kB]
Réception de :44 http://ubuntu.univ-reims.fr/ubuntu noble/restricted Translation-fr [3 292 B]
Réception de :45 http://ubuntu.univ-reims.fr/ubuntu noble/restricted Translation-en [18,7 kB]
Réception de :46 http://ubuntu.univ-reims.fr/ubuntu noble/restricted amd64 c-n-f Metadata [416 B]
Réception de :47 http://ubuntu.univ-reims.fr/ubuntu noble/universe amd64 Packages [15,0 MB]
Réception de :48 http://ubuntu.univ-reims.fr/ubuntu noble/universe i386 Packages [8 514 kB]
Réception de :49 http://ubuntu.univ-reims.fr/ubuntu noble/universe Translation-en [5 982 kB]
Réception de :50 http://ubuntu.univ-reims.fr/ubuntu noble/universe Translation-fr [3 898 kB]
Réception de :51 http://ubuntu.univ-reims.fr/ubuntu noble/universe amd64 Components [3 871 kB]
Réception de :52 http://ubuntu.univ-reims.fr/ubuntu noble/universe amd64 c-n-f Metadata [301 kB]
Réception de :53 http://ubuntu.univ-reims.fr/ubuntu noble/multiverse amd64 Packages [269 kB]
Réception de :54 http://ubuntu.univ-reims.fr/ubuntu noble/multiverse i386 Packages [126 kB]
Réception de :55 http://ubuntu.univ-reims.fr/ubuntu noble/multiverse Translation-fr [89,0 kB]
Réception de :56 http://ubuntu.univ-reims.fr/ubuntu noble/multiverse Translation-en [118 kB]
Réception de :57 http://ubuntu.univ-reims.fr/ubuntu noble/multiverse amd64 Components [35,0 kB]
Réception de :58 http://ubuntu.univ-reims.fr/ubuntu noble/multiverse amd64 c-n-f Metadata [8 328 B]
Réception de :59 http://ubuntu.univ-reims.fr/ubuntu noble-updates/main amd64 Packages [883 kB]
Réception de :60 http://ubuntu.univ-reims.fr/ubuntu noble-updates/main i386 Packages [431 kB]
Réception de :61 http://ubuntu.univ-reims.fr/ubuntu noble-updates/main Translation-en [199 kB]
Réception de :62 http://ubuntu.univ-reims.fr/ubuntu noble-updates/main amd64 Components [151 kB]
Réception de :63 http://ubuntu.univ-reims.fr/ubuntu noble-updates/main amd64 c-n-f Metadata [10,4 kB]
Réception de :64 http://ubuntu.univ-reims.fr/ubuntu noble-updates/restricted amd64 Packages [680 kB]
Réception de :65 http://ubuntu.univ-reims.fr/ubuntu noble-updates/restricted i386 Packages [14,3 kB]
Réception de :66 http://ubuntu.univ-reims.fr/ubuntu noble-updates/restricted Translation-en [135 kB]
Réception de :67 http://ubuntu.univ-reims.fr/ubuntu noble-updates/restricted amd64 Components [212 B]
Réception de :68 http://ubuntu.univ-reims.fr/ubuntu noble-updates/restricted amd64 c-n-f Metadata [424 B]
Réception de :69 http://ubuntu.univ-reims.fr/ubuntu noble-updates/universe i386 Packages [623 kB]
Réception de :70 http://ubuntu.univ-reims.fr/ubuntu noble-updates/universe amd64 Packages [1 026 kB]
Réception de :71 http://ubuntu.univ-reims.fr/ubuntu noble-updates/universe Translation-en [256 kB]
Réception de :72 http://ubuntu.univ-reims.fr/ubuntu noble-updates/universe amd64 Components [363 kB]
Réception de :73 http://ubuntu.univ-reims.fr/ubuntu noble-updates/universe amd64 c-n-f Metadata [19,9 kB]
Réception de :74 http://ubuntu.univ-reims.fr/ubuntu noble-updates/multiverse amd64 Packages [23,4 kB]
Réception de :75 http://ubuntu.univ-reims.fr/ubuntu noble-updates/multiverse i386 Packages [3 484 B]
Réception de :76 http://ubuntu.univ-reims.fr/ubuntu noble-updates/multiverse Translation-en [5 308 B]
Réception de :77 http://ubuntu.univ-reims.fr/ubuntu noble-updates/multiverse amd64 Components [940 B]
Réception de :78 http://ubuntu.univ-reims.fr/ubuntu noble-updates/multiverse amd64 c-n-f Metadata [552 B]
Réception de :79 http://ubuntu.univ-reims.fr/ubuntu noble-backports/main amd64 Components [208 B]
Réception de :80 http://ubuntu.univ-reims.fr/ubuntu noble-backports/main amd64 c-n-f Metadata [112 B]
Réception de :81 http://ubuntu.univ-reims.fr/ubuntu noble-backports/restricted amd64 Components [216 B]
Réception de :82 http://ubuntu.univ-reims.fr/ubuntu noble-backports/restricted amd64 c-n-f Metadata [116 B]
Réception de :83 http://ubuntu.univ-reims.fr/ubuntu noble-backports/universe amd64 Packages [14,2 kB]
Réception de :84 http://ubuntu.univ-reims.fr/ubuntu noble-backports/universe i386 Packages [8 976 B]
Réception de :85 http://ubuntu.univ-reims.fr/ubuntu noble-backports/universe Translation-en [12,1 kB]
Réception de :86 http://ubuntu.univ-reims.fr/ubuntu noble-backports/universe amd64 Components [19,9 kB]
Réception de :87 http://ubuntu.univ-reims.fr/ubuntu noble-backports/universe amd64 c-n-f Metadata [1 104 B]
Réception de :88 http://ubuntu.univ-reims.fr/ubuntu noble-backports/multiverse amd64 Components [212 B]
Réception de :89 http://ubuntu.univ-reims.fr/ubuntu noble-backports/multiverse amd64 c-n-f Metadata [116 B]
51,4 Mo réceptionnés en 29s (1 784 ko/s)                                             
Lecture des listes de paquets... Erreur !
E: Impossible de traiter le fichier /var/lib/dpkg/status (1)
W: Vous pouvez lancer « apt-get update » pour corriger ces problèmes.
E: Le fichier de cache des paquets est corrompu
J'ai encore le message d'erreur :/ Ah oui, quand j'ai redémarré le PC en rentrant, j'ai essayé de lancer l'option Ubuntu en mode normal et il m'a affiché ce message :
"initramfs unpacking failed invalid magic at start of compressed archive"

Et certains logiciels ne se lancent plus. Ainsi que la logithèque qui se referme au bout de quelques secondes.

Re: Error can't find command

Posté : jeu. 27 févr. 2025 19:55
par arghlub
Salut,

(je vais laisser Cyrille répondre à ton problème pour que tu n'ais pas plusieurs interlocuteurs et que cela soit plus clair pour toi :geek: )

————————————————————————————————
Tout autre chose, pour une meilleure lisiblilité, merci de mettre tout ce qui concerne le code ou les retours de commandes entre balises «code».
Pour cela, il suffit que tu sélectionnes le code que tu as collé dans ton message et que tu cliques sur le bouton Image dans la barre d'outils de la rédaction du message.

J'ai coriigé tes 3 derniers messages. ;)

Re: Error can't find command

Posté : jeu. 27 févr. 2025 20:08
par Noctis
Salut arghlub, ok ^^

( Ok c'est noté et encore merci :) )

Re: Error can't find command

Posté : sam. 1 mars 2025 11:50
par Noctis
Re bonjour,

Pour faire suite à mon problème depuis la MAJ du kernel, j'ai fait quelques démarches avec ChatGPT qui m'a proposé d'entrer certaines commandes.

sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo dpkg --configure -a
sudo apt-get install -f

Et globalement, j'ai pu régler le problème avec le noyau :

Code : Tout sélectionner

Noctis@-PC:~$ uname -r
6.8.0-54-generic
Je ne suis donc plus obligé de démarrer avec l'option avancée pour reprendre l'ancien noyau 6.8.0-53-generic.
Cependant, j'ai toujours des problèmes avec certains logiciels qui ne se lancent plus. Et qui sont sous Flatpak.
Et j'ai l'impression que c'est justement Flatpak qui fait bugger la logithèque qui s'éteint au bout de quelques secondes. J'ai donc tapé ces commandes :

Code : Tout sélectionner

Noctis@Noctis-PC:~$ journalctl -xe
                                                           
                                                           Stack trace of thread 7730:
                                                           #0  0x00007d836031b4cd __GI___poll (libc.so.6 + 0x11b4cd)
                                                           #1  0x00007d836056e66e n/a (libglib-2.0.so.0 + 0xbc66e)
                                                           #2  0x00007d836050ff77 g_main_loop_run (libglib-2.0.so.0 + 0x5df77)
                                                           #3  0x00007d8360bd8a0f n/a (libpolkit-agent-1.so.0 + 0x5a0f)
                                                           #4  0x00007d836053dc82 n/a (libglib-2.0.so.0 + 0x8bc82)
                                                           #5  0x00007d836029caa4 start_thread (libc.so.6 + 0x9caa4)
                                                           #6  0x00007d8360329c3c __clone3 (libc.so.6 + 0x129c3c)
                                                           ELF object binary architecture: AMD x86-64
░░ Subject: Le processus 7726 (flatpak) a généré un fichier « core »
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ Documentation: man:core(5)
░░ 
░░ Le processus 7726 (flatpak) a planté et généré un fichier « core ».
░░ 
░░ Cela indique généralement une erreur de programmation dans le programme
░░ incriminé, et cela devrait être notifié à son concepteur comme un défaut (bug).
mars 01 11:32:29 Noctis-PC systemd[1]: systemd-coredump@6-7746-0.service: Deactivated successfully.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ The unit systemd-coredump@6-7746-0.service has successfully entered the 'dead' state.
mars 01 11:32:29 Noctis-PC sudo[7724]: pam_unix(sudo:session): session closed for user root
mars 01 11:32:29 Noctis-PC polkitd[1119]: Unregistered Authentication Agent for unix-process:unknown (system bus name :1.158, object path /org/freedesktop/PolicyKit>
mars 01 11:33:31 Noctis-PC systemd[1]: Started anacron.service - Run anacron jobs.
░░ Subject: L'unité (unit) anacron.service a terminé son démarrage
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ L'unité (unit) anacron.service a terminé son démarrage, avec le résultat done.
mars 01 11:33:31 Noctis-PC anacron[7759]: Anacron 2.3 started on 2025-03-01
mars 01 11:33:31 Noctis-PC anacron[7759]: Normal exit (0 jobs run)
mars 01 11:33:31 Noctis-PC systemd[1]: anacron.service: Deactivated successfully.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ The unit anacron.service has successfully entered the 'dead' state.
Puis :

Code : Tout sélectionner

Noctis@Noctis-PC:~$ flatpak list --runtime
**
flatpak:ERROR:common/flatpak-variant-impl-private.h:485:var_metadata_entry_get_key: assertion failed: (end < v.size)
Bail out! flatpak:ERROR:common/flatpak-variant-impl-private.h:485:var_metadata_entry_get_key: assertion failed: (end < v.size)
Abandon (core dumped)
Et :

Code : Tout sélectionner

Noctis@Noctis-PC:~$ sudo flatpak repair --system
[sudo] Mot de passe de Noctis:
Working on the system installation at /var/lib/flatpak
Checking remotes...
Pruning objects
**
flatpak:ERROR:common/flatpak-variant-impl-private.h:485:var_metadata_entry_get_key: assertion failed: (end < v.size)
Bail out! flatpak:ERROR:common/flatpak-variant-impl-private.h:485:var_metadata_entry_get_key: assertion failed: (end < v.size)
Abandon
Et enfin :

Code : Tout sélectionner

Noctis@Noctis-PC:~$ mintinstall -debug
MintInstall: Detected system architecture: 'x86_64'
**
flatpak:ERROR:common/flatpak-variant-impl-private.h:485:var_metadata_entry_get_key: assertion failed: (end < v.size)
Bail out! flatpak:ERROR:common/flatpak-variant-impl-private.h:485:var_metadata_entry_get_key: assertion failed: (end < v.size)
J'ai désinstaller puis réinstaller Flatpak et Mintinstall via le terminal, ça n'a pas fonctionné. Puis je les refais via Synaptic mais la logithèque bug toujours :/

Re: Error can't find command

Posté : dim. 2 mars 2025 09:23
par arghlub
Vérifie tes sources ....
en GUI (interface graphisue), lance cette coomande en terminal :

Code : Tout sélectionner

pkexec mintsources

Re: Error can't find command

Posté : dim. 2 mars 2025 09:39
par arghlub
vu ton retour de commande précédent : à priori, t'as un souci avec flathub ... je ne searais t'en dire plus ... je n'utilise pas. :?