Linux Mint, j'ai cassé Mono : "Réparez d'abord les paquets cassés". Comment ?

Répondre
Partager Rechercher
Citation :
Publié par Tchey
Quand je veux répondre en collant du code, avec ou sans balise, JoL me dit que je ne suis pas autorisé à afficher cette page...

J'ai copié ma réponse ici en attendant : https://pastebin.com/raw/CXTBVwtz

Je m'octroie un @Mind ?
Ca devrait être résolu.
Pareil, ça tourne un peu en rond :

sudo apt-get dist-upgrade

Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
mono-complete : Depends: mono-roslyn (= 5.16.0.179-0xamarin1+ubuntu1604b1) but it is not installed
mono-devel : Depends: mono-roslyn (= 5.16.0.179-0xamarin1+ubuntu1604b1) but it is not installed
E: Unmet dependencies. Try using -f.


sudo apt-get -f install

Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
mono-roslyn
The following NEW packages will be installed:
mono-roslyn
0 upgraded, 1 newly installed, 0 to remove and 24 not upgraded.
2 not fully installed or removed.
Need to get 0 B/5675 kB of archives.
After this operation, 21.6 MB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 612534 files and directories currently installed.)
Preparing to unpack .../mono-roslyn_5.16.0.179-0xamarin1+ubuntu1604b1_all.deb ...
Unpacking mono-roslyn (5.16.0.179-0xamarin1+ubuntu1604b1) ...
dpkg: error processing archive /var/cache/apt/archives/mono-roslyn_5.16.0.179-0xamarin1+ubuntu1604b1_all.deb (--unpack):
trying to overwrite '/usr/bin/csc', which is also in package chicken-bin 4.9.0.1-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/mono-roslyn_5.16.0.179-0xamarin1+ubuntu1604b1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Citation :
Publié par Selty
Mint est basé sur Ubuntu (qui est basé sur Debian), donc oui c'est normal, les packages de l'un fonctionnent avec l'autre.
À voir quand même en fonction des dépôts de Mint par rapport à ceux d'Ubuntu non ?

Chez Debian on appelle ça des FrankenDebian, quand on mélange des sources de plusieurs distributions.
Citation :
Publié par Tchey
dpkg: error processing archive /var/cache/apt/archives/mono-roslyn_5.16.0.179-0xamarin1+ubuntu1604b1_all.deb (--unpack):
trying to overwrite '/usr/bin/csc', which is also in package chicken-bin 4.9.0.1-1
Je te dirais bien de virer chicken-bin (dpkg -P chicken-bin), mono va s'installer mais je ne sais pas si tu as une utilité de l'autre package, à priori c'est un probleme connu depuis la version 5 de mono, si avant tu utilisais une autre version, tu pouvais peut-etre avoir les 2.
Au pire, tu pourras réinstaller chicken-bin.
Répondre

Connectés sur ce fil

 
1 connecté (0 membre et 1 invité) Afficher la liste détaillée des connectés