[SOLVED]Problème de maj transmission

Bonjour j’utilise un NAS neatgear qui est basé sur debian 7.10 avec un noyau 4.1.16.armada.1 .
Lors d’une tentative d’update de transmission https://github.com/ssurba/transmission-readynas-os6-arm/releases
j’ai eut des problèmes et maintenant rien ne veut fonctionner ni en install ni en remove quand j’essaie l’un ou l’autre il me parle de fvapp-transmission.service qu’il ne trouve pas!

voici les différentes sortie lors des tentatives d’install ou de remove/purge

`dpkg -i transmission-readynas-os6-arm-2.92-0.01.deb
Selecting previously unselected package transmission.
(Reading database … 13864 files and directories currently installed.)
Preparing to replace transmission 2.92-0.01 (using transmission-readynas-os6-arm-2.92-0.01.deb) …
Failed to issue method call: Unit fvapp-transmission.service not loaded.
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead …
dpkg: … it looks like that went OK
Unpacking replacement transmission …
Setting up transmission (2.92-0.01) …
net.core.rmem_max = 4194304
net.core.wmem_max = 1048576
Failed to issue method call: No such file or directory
dpkg: error processing transmission (–install):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
transmission

dpkg -P transmission
(Reading database … 13864 files and directories currently installed.)
Removing transmission …
Failed to issue method call: Unit fvapp-transmission.service not loaded.
dpkg: error processing transmission (–purge):
subprocess installed pre-removal script returned error exit status 1
Errors were encountered while processing:
transmission

`

Merci par avance de toute aide appporté.

Edit: j’ai aussi essayer avec l’option force-all mais je n’ai pas eut plus de succès, j’ai l’impression que je vais devoir tout nettoyer à la main mais je ne sait par où commencer!

Salut

Tu peux nous dire ce que renvoient
ls /etc/init.d/
systemctl list-units
ls /etc/systemd/system/
systemctl status fvapp-transmission.service
journalctl

Yop
je suis obliger d’envoyer ca sur un hébergeur dont voici le lien
http://dl.free.fr/hJzvVw5Ij

Pourquoi tu as pas mis directement les liens PasteBin dans ton message ?

Bref, journalctl parle d’un service nommé fvapp-transmission r6 .service, qui doit être celui du nouveau Transmission que tu essaies d’installer. On essaiera d’abord de désinstaller le nouveau (ça peut nous embêter sinon…). :innocent:

Unit fvapp-transmissionr6.service entered failed state.

Le but final est de désinstaller l’ancien Transmission.


D’abord savoir quels paquets correspondant à Transmission sont installés sur ton système :
dpkg -l *transmission*

étant un nouvel utilisateur il y a des restrictions sur les messages (pas plus de 2 liens par message et les renvoi des commande le forum à l’air de prendre ça pour des liens :slight_smile: )

root@nas-h0m3:~# dpkg -l transmission
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
++±==============-============-============-=================================
pF transmission 2.92-0.01 armel A Fast, Easy, and Free BitTorrent
root@nas-h0m3:~#

on pourrait enlever le Easy, rien que pour l’update … xD

Il n’y a que le paquet transmission :weary:

J’aimerais faire un test : réinstaller transmission 2.92-0.01 depuis les dépôts. Vu que c’est l’opération de réinstallation, j’ose espérer qu’il n’aura pas besoin de la procédure de désinstallation qui se trouve dans fvapp-transmission.service (que tu n’as pas)
aptitude reinstall transmission

Sinon, va falloir te trouver ce $#*!:rage:@@ fichier.

j’ai tout les fichiers nécessaire j’ai l’impression dont le fameux fvapp-transmission, mais je ne sais pas comment l’exploité.

Tu veux que je tente une réinstall avec apt-get install transmission?

Essaie plutôt aptitude (qui possède l’option reinstall)

il a fallu que je l’install du coup, bizarre que cela ne soit pas d’origine, enfin bref.

j’ai pas l’impression que ça m’a aidé

root@nas-h0m3:~# aptitude reinstall transmission
The following packages will be REINSTALLED:
transmission
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
E: Internal Error, No file name for transmission:armel

J’ai testé aptitude update && upgrade rien ne change seulement lorsque je tappre aptitude reinstall trans [tab] il me sort un transmission.init

J’y crois pas beaucoup, mais essaie un dpkg --configure -a

et oui, bizarre le coup du [Tab]… Tu as quoi dans ton /etc/sources.list ?

rien …

J’ai testé dpkg --configure -a ca na pas l’air de faire quoi que ce soit

mais en faisant aptitude purge transmission il me sort

root@nas-h0m3:~# aptitude purge transmission
The following packages will be REMOVED:
transmission{p}
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
The following packages have unmet dependencies:
transmissionr6 : Depends: transmission (>= 2.82~) but it is not going to be installed.
The following actions will resolve these dependencies:

 Remove the following packages:
  1. transmissionr6
    

Accept this solution? [Y/n/q/?] Y
The following packages will be REMOVED:
transmission{p} transmissionr6{a}
0 packages upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 91.1 kB will be freed.
Do you want to continue? [Y/n/?] Y
(Reading database … 14119 files and directories currently installed.)
Removing transmissionr6 …
(Reading database … 14105 files and directories currently installed.)
Removing transmission …
Failed to issue method call: Unit fvapp-transmission.service not loaded.
dpkg: error processing transmission (–purge):
subprocess installed pre-removal script returned error exit status 1
Errors were encountered while processing:
transmission
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:

J’ai cru a une avancé mais nan en fait …

Bon bah… reste la solution de copier le fameux fvapp-transmission.service dans /etc/systemd/system/ puis desinstallation.

Je l’ai mis dans cette emplacement mais il n’a pas l’air démarrer…

Au fait je n’ai rien dans /etc/sources.list

root@nas-h0m3:/etc/systemd/system# apt-get remove transmission
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages will be REMOVED:
transmission
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database … 14105 files and directories currently installed.)
Removing transmission …
Failed to issue method call: Unit fvapp-transmission.service not loaded.
dpkg: error processing transmission (–remove):
subprocess installed pre-removal script returned error exit status 1
Errors were encountered while processing:
transmission
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@nas-h0m3:/etc/systemd/system# dpkg -r transmission
(Reading database … 14105 files and directories currently installed.)
Removing transmission …
Failed to issue method call: Unit fvapp-transmission.service not loaded.
dpkg: error processing transmission (–remove):
subprocess installed pre-removal script returned error exit status 1
Errors were encountered while processing:
transmission
root@nas-h0m3:/etc/systemd/system#

systemctl enable fvapp-transmission.service puis desinstallation ?

root@nas-h0m3:/etc/systemd/system# systemctl enable fvapp-transmission.service Failed to issue method call: Bad message

root@nas-h0m3:/etc/systemd/system# systemctl start fvapp-transmission.service
Failed to issue method call: Unit fvapp-transmission.service failed to load: Invalid argument. See system logs and ‘systemctl status fvapp-transmission.service’ for details.
root@nas-h0m3:/etc/systemd/system# systemctl status fvapp-transmission.service
fvapp-transmission.service
Loaded: error (Reason: Invalid argument)
Active: inactive (dead)
CGroup: name=systemd:/system/fvapp-transmission.service

J’suis en train de consulter le man de dpkg… Si tu veux bien tester quelques commandes dans l’espoir ardent que ça fonctionne… (je les ai jamais utilisées encore - Sinon plus d’idée, je laisserai la place aux plus expérimentés :confused: )
apt-get -o Dpkg::Options::="--force-overwrite" install transmission

toujours pareil malgré la commande, merci pour ton aide :wink:

sudo dpkg --remove --force-remove-reinstreq transmission

root@nas-h0m3:/etc/systemd/system# dpkg --remove --force-remove-reinstreq transmission
(Reading database … 14105 files and directories currently installed.)
Removing transmission …
Failed to issue method call: Unit fvapp-transmission.service not loaded.
dpkg: error processing transmission (–remove):
subprocess installed pre-removal script returned error exit status 1
Errors were encountered while processing:
transmission

Ca avance maintenant j’ai l’impression que c’est la manière dont est appelé fvapp-transmission qui va pas

En quoi ça a plus avancé que les autres commandes ?