aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2 3

Author Topic: [Debian/Sid] xmule/amule conflict  (Read 15815 times)

FoGia

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
[Debian/Sid] xmule/amule conflict
« on: February 11, 2004, 11:55:16 AM »

Hi,

I installed simultaneously amule and xmule. But then I tried to remove them, it seemed to have worked with xmule but not for amule. As a result, everytime I try a dist-upgrade or simply remove amule I get this:

dpkg-divert: `diversion of /usr/bin/ed2k to /usr/bin/ed2k.xmule by amule' clashes with `diversion of /usr/bin/ed2k to /usr/bin/ed2k.xmule by xmule'
dpkg : erreur de traitement de /var/cache/apt/archives/amule_1.2.4-2_i386.deb (--unpack) :

And when I do a remove xmule,it keeps telling me that xmule is not installed.

Could someone help me?
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5823
Re: [Debian/Sid] xmule/amule conflict
« Reply #1 on: February 11, 2004, 12:10:53 PM »

We'll tell the aMule debian packager about the problem. It's a debian bug, not a aMule bug. Many thanks for your report.
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3923
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: [Debian/Sid] xmule/amule conflict
« Reply #2 on: February 11, 2004, 12:14:36 PM »

remove xmule first plz

Quote
INFO for debian unstable users:
if you want that your system checks and installs new aMule releases, insert the following lines into your /etc/apt/sources.list

deb http://gunnm.org/~soda/ unstable main contrib
deb-src http://gunnm.org/~soda/ unstable main contrib

Debian woody users:

# aMule + wxwindows2.4 libs
deb http://debian.thermoman.de/ woody amule wxwindows2.4

and run as root:
apt-get update
apt-get install amule

The X

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 56
Re: [Debian/Sid] xmule/amule conflict
« Reply #3 on: February 11, 2004, 12:27:11 PM »

amule & xmule doesn't work together....

If u want get a clean system SAVE the .met, dat files, REMOVE both programs & then INSTALL amule 1.2.5 with apt-get install
Logged
aMule 1.2.5 on Debian SID
----------------------------------
....as it said the wise-one : the luckly is blind but the jiinx can see perfectly !!!
....e come disse il saggio : La fortuna è cieca ma la sfiga ci vede benissimo !!!

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3923
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: [Debian/Sid] xmule/amule conflict
« Reply #4 on: February 11, 2004, 12:36:54 PM »

The X, and u update your signature  :] :D

The X

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 56
Re: [Debian/Sid] xmule/amule conflict
« Reply #5 on: February 11, 2004, 12:46:44 PM »

Now my Server Linux with debian & amule Died
:(

I hope to find a new mobo as fast as i can
Logged
aMule 1.2.5 on Debian SID
----------------------------------
....as it said the wise-one : the luckly is blind but the jiinx can see perfectly !!!
....e come disse il saggio : La fortuna è cieca ma la sfiga ci vede benissimo !!!

thermoman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 40
Re: [Debian/Sid] xmule/amule conflict
« Reply #6 on: February 12, 2004, 05:46:30 PM »

aMule works good with xMule on the same box.

The trouble is /usr/bin/ed2k which is in aMule and xMule. So aMule installs a diversion which leads to renaming the file /usr/bin/ed2k from xmule to /usr/bin/ed2k.xmule and replaces the original one by a wrapper script. aMule brings it own /usr/bin/ed2k.amule.

If you still have problems, try

Code: [Select]
dpkg -P xmule amule
and then install only aMule via

Code: [Select]
apt-get install amule
thermoman
« Last Edit: February 12, 2004, 05:47:19 PM by thermoman »
Logged
Gentoo & Bittorrent User

FoGia

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: [Debian/Sid] xmule/amule conflict
« Reply #7 on: February 15, 2004, 04:18:28 PM »

Thanks for helping, but none of your answers solved the problem, I can install/remove xmule but amule can't be removed nor upgraded.
Another thing I don't have any ed2k file at all when I remove xmule(I probably removed ed2k.amule, I'm not sure of it). I tried to install xmule, copy ed2k as ed2k.xmule and ed2k.amule, but it didn't help, he keeps telling me about the diversion. Is there a clean way to remove every file of the packages? It's really bothering me because it blocks the upgrading of my system (around 60 packages are pending to upgrade).
Logged

thermoman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 40
Re: [Debian/Sid] xmule/amule conflict
« Reply #8 on: February 15, 2004, 05:05:49 PM »

First of all - do you use Debian Woody or Debian Sid?
Second - did you use my aMule packages (debian.thermoman.de) or from official debian repository?
Third - purge amule and xmule, then install amule again:

Code: [Select]
apt-get update
apt-get remove --purge amule xmule
apt-get install amule

This *must* work, else you did something wrong in the past (check your /etc/apt/sources.list)

thermoman
Logged
Gentoo & Bittorrent User

FoGia

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: [Debian/Sid] xmule/amule conflict
« Reply #9 on: February 15, 2004, 06:52:36 PM »

I use Sid (title)

/etc/apt/sources.list:
Code: [Select]
deb [URL]ftp://ftp.belnet.be/debian[/URL] sid main contrib non-free
deb [URL]ftp://ftp.belnet.be/debian-non-US[/URL] sid/non-US main contrib non-free
deb [URL]http://gunnm.org/~soda/[/URL] sid main contrib
deb-src [URL]http://gunnm.org/~soda/[/URL] sid  main contrib
But I must say I installed originally xmule and amule from the Debian repository.

apt-cache policy xmule amule:
Code: [Select]
amule:
  Installed : 1.2.4-1
  Candidate : 1.2.5-1
 Version Table :
     1.2.5-1 0
        500 [URL]http://gunnm.org[/URL] sid/main Packages
     1.2.4-2 0
        500 [URL]ftp://ftp.belnet.be[/URL] sid/main Packages
 *** 1.2.4-1 0
        100 /var/lib/dpkg/status
xmule:
  Installed : 1.6.1-4
  Candidate : 1.6.1-4
Version Table :
 *** 1.6.1-4 0
        500 [URL]ftp://ftp.belnet.be[/URL] sid/main Packages
        100 /var/lib/dpkg/status

I see one ed2k file in /usr/bin

when I do apt-get remove --purge amule xmule:
Code: [Select]
dpkg-divert: mismatch on package
  when removing `diversion of /usr/bin/ed2k by amule'
  found `diversion of /usr/bin/ed2k to /usr/bin/ed2k.xmule by xmule'
xmule is successfully removed, no more ed2k file in /usr/bin
Logged

thermoman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 40
Re: [Debian/Sid] xmule/amule conflict
« Reply #10 on: February 15, 2004, 07:08:25 PM »

Please post the complete output of

Code: [Select]
dpkg-divert --list
dpkg -P xmule amule
apt-cache policy amule

thermoman
Logged
Gentoo & Bittorrent User

FoGia

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: [Debian/Sid] xmule/amule conflict
« Reply #11 on: February 15, 2004, 07:32:29 PM »

dpkg-divert --list
Code: [Select]
diversion of /etc/kde3/debian/kde-update-menu.sh to /etc/kde3/debian/kde-update-menu.sh.distrib by kde-update-menu-knoppix
diversion of /usr/bin/kdesktop_lock to /usr/bin/kdesktop_lock.orig by kdelock-knoppix
diversion of /etc/auto.master to /etc/auto.master.distrib by autofs
diversion of /lib/modules/2.4.20-pre8/kernel/drivers/block/loop.o to /lib/modules/2.4.20-pre8/kernel/drivers/block/loop.o.distrib by loop-aes
diversion of /lib/modules/2.4.20-pre9/kernel/drivers/block/loop.o to /lib/modules/2.4.20-pre9/kernel/drivers/block/loop.o.distrib by loop-aes
diversion of /usr/bin/bsetbg to /usr/bin/bsetbg.blackbox by fluxbox
diversion of /usr/share/man/man1/bsetbg.1.gz to /usr/share/man/man1/bsetbg.blackbox.1.gz by fluxbox
diversion of /usr/bin/bsetroot to /usr/bin/bsetroot.blackbox by fluxbox
diversion of /usr/share/man/man1/bsetroot.1.gz to /usr/share/man/man1/bsetroot.blackbox.1.gz by fluxbox
diversion of /lib/modules/2.4.19-xfs/kernel/drivers/block/loop.o to /lib/modules/2.4.19-xfs/kernel/drivers/block/loop.o.distrib by loop-aes
diversion of /usr/share/keymaps/i386/qwerty/tr_q-latin5.kmap.gz to /usr/share/keymaps/i386/qwerty/tr_q-latin5.kmap.gz.distrib by keyboard-tr-knoppix
diversion of /lib/modules/2.4.20-xfs/kernel/drivers/block/loop.o to /lib/modules/2.4.20-xfs/kernel/drivers/block/loop.o.distrib by loop-aes
diversion of /usr/X11R6/lib/X11/fonts/misc/cursor.pcf.gz to /usr/X11R6/lib/X11/fonts/misc/cursor.pcf.gz-artwiz by xfonts-artwiz
diversion of /usr/share/applnk/Multimedia/Video/xawtv.desktop to /usr/share/applnk/Multimedia/Video/xawtv.desktop.distrib by configure-xawtv
diversion of /lib/modules/2.4.20-xfs/kernel/drivers/net/wireless/hermes.o to /lib/modules/2.4.20-xfs/kernel/drivers/net/wireless/hermes.o.distrib by orinoco
diversion of /lib/modules/2.4.20-xfs/kernel/drivers/net/wireless/orinoco_cs.o to /lib/modules/2.4.20-xfs/kernel/drivers/net/wireless/orinoco_cs.o.distrib by orinoco
diversion of /lib/modules/2.4.20-xfs/kernel/drivers/net/wireless/orinoco.o to /lib/modules/2.4.20-xfs/kernel/drivers/net/wireless/orinoco.o.distrib by orinoco
diversion of /lib/modules/2.4.20-xfs/kernel/drivers/net/wireless/orinoco_pci.o to /lib/modules/2.4.20-xfs/kernel/drivers/net/wireless/orinoco_pci.o.distrib by orinoco
diversion of /lib/modules/2.4.20-xfs/kernel/drivers/net/wireless/orinoco_plx.o to /lib/modules/2.4.20-xfs/kernel/drivers/net/wireless/orinoco_plx.o.distrib by orinoco
diversion of /usr/X11R6/lib/libXrender.so.1 to /usr/X11R6/lib/libXrender-1.1.so.1 by libxrender1
diversion of /usr/bin/screensaver-properties-capplet to /usr/bin/screensaver-properties-capplet.gnome by xscreensaver-gnome
diversion of /usr/share/control-center/Desktop/screensaver-properties.desktop to /usr/share/control-center/Desktop/screensaver-properties.desktop.gnome by xscreensaver-gnome
diversion of /usr/share/gnome/apps/Settings/Desktop/screensaver-properties.desktop to /usr/share/gnome/apps/Settings/Desktop/screensaver-properties.desktop.gnome by xscreensaver-gnome
diversion of /usr/lib/mozilla/components/libgfx_gtk.so to /usr/lib/mozilla/components/libgfx_gtk.so.pure by mozilla-xft
diversion of /usr/X11R6/lib/libXrender.so.1.1 to /usr/X11R6/lib/xlibs.libXrender-1.1.so.1.1 by libxrender1
diversion of /usr/bin/gdialog to /usr/bin/gdialog.real by zenity
diversion of /usr/bin/vim to /usr/bin/vim.old by kvim
diversion of /usr/share/man/man1/vim.1.gz to /usr/share/man/man1/vim.old.1.gz by kvim
diversion of /usr/share/vim/vim62/menu.vim to /usr/share/vim/vim62/menu.vim.old by kvim
diversion of /usr/bin/ed2k to /usr/bin/ed2k.xmule by xmule
diversion of /sbin/depmod to /sbin/depmod.modutils by module-init-tools
diversion of /usr/share/man/man8/depmod.8.gz to /usr/share/man/man8/depmod.modutils.8.gz by module-init-tools
diversion of /sbin/insmod to /sbin/insmod.modutils by module-init-tools
diversion of /usr/share/man/man8/insmod.8.gz to /usr/share/man/man8/insmod.modutils.8.gz by module-init-tools
diversion of /sbin/update-modules to /sbin/update-modules.modutils by module-init-tools
diversion of /usr/share/man/man8/update-modules.8.gz to /usr/share/man/man8/update-modules.modutils.8.gz by module-init-tools
diversion of /sbin/modinfo to /sbin/modinfo.modutils by module-init-tools
diversion of /usr/share/man/man8/modinfo.8.gz to /usr/share/man/man8/modinfo.modutils.8.gz by module-init-tools
diversion of /sbin/kallsyms to /sbin/kallsyms.modutils by module-init-tools
diversion of /usr/share/man/man8/kallsyms.8.gz to /usr/share/man/man8/kallsyms.modutils.8.gz by module-init-tools
diversion of /sbin/ksyms to /sbin/ksyms.modutils by module-init-tools
diversion of /usr/share/man/man8/ksyms.8.gz to /usr/share/man/man8/ksyms.modutils.8.gz by module-init-tools
diversion of /sbin/lsmod to /sbin/lsmod.Lmodutils by module-init-tools
diversion of /usr/share/man/man8/lsmod.8.gz to /usr/share/man/man8/lsmod.modutils.8.gz by module-init-tools
diversion of /sbin/modprobe to /sbin/modprobe.Lmodutils by module-init-tools
diversion of /usr/share/man/man8/modprobe.8.gz to /usr/share/man/man8/modprobe.modutils.8.gz by module-init-tools
diversion of /sbin/rmmod to /sbin/rmmod.Lmodutils by module-init-tools
diversion of /usr/share/man/man8/rmmod.8.gz to /usr/share/man/man8/rmmod.modutils.8.gz by module-init-tools
diversion of /usr/share/man/man5/modules.5.gz to /usr/share/man/man5/modules.modutils.5.gz by module-init-tools

dpkg -P xmule amule (sorry it's in french but I guess it is understandable)
Code: [Select]
173973 fichiers et répertoires déjà installés.)
Suppression de xmule ...
Purge des fichiers de configuration de xmule ...
Suppression de amule ...
dpkg-divert: mismatch on package
  when removing `diversion of /usr/bin/ed2k by amule'
  found `diversion of /usr/bin/ed2k to /usr/bin/ed2k.xmule by xmule'
dpkg : erreur de traitement de amule (--purge) :
 le sous-processus post-removal script a retourné une erreur de sortie d'état 2
Des erreurs ont été rencontrées pendant l'exécution :
 amule
zsh: exit 1     dpkg -P xmule amule

apt-cache policy amule
Code: [Select]
amule:
  Installés : 1.2.4-1
  Candidat : 1.2.5-1
 Table de version :
     1.2.5-1 0
        500 [URL]http://gunnm.org[/URL] sid/main Packages
     1.2.4-2 0
        500 [URL]ftp://ftp.belnet.be[/URL] sid/main Packages
 *** 1.2.4-1 0
        100 /var/lib/dpkg/status
Logged

thermoman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 40
Re: [Debian/Sid] xmule/amule conflict
« Reply #12 on: February 15, 2004, 09:06:38 PM »

Execute

Code: [Select]
dpkg-divert --package xmule --remove --rename /usr/bin/ed2k
This should remove the pending, wrong diversion. Then call

Code: [Select]
dpkg-divert --list|grep ed2k
There should be no output. If this is right, then call

Code: [Select]
dpkg -P amule xmule
apt-get update
apt-get install amule

This should work quite well :)

Problem is here: The diversion of /usr/bin/ed2k to /usr/bin/ed2k.xmule was done wrong in aMule releases before 1.2.4 in official Debian Repositories.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=226837 for details.

thermoman
« Last Edit: February 15, 2004, 09:24:39 PM by thermoman »
Logged
Gentoo & Bittorrent User

FoGia

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: [Debian/Sid] xmule/amule conflict
« Reply #13 on: February 15, 2004, 09:25:53 PM »

Problem solved, THANKS A LOT :baby:
Logged

Jonathan Métillon

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 30
    • http://www.jonathanmetillon.com/
Same issue here, but can't fix :'-(
« Reply #14 on: September 09, 2006, 02:29:56 PM »

Hi Thermoman,

I'm sorry to resurect such a old post but I'm having the exact same problem as FoGia. As described in Ubuntu Forums I try to remove aMule 2.1.3 after failing to upgrade from offcial 2.1.0. I use Ubuntu 6.06 LTS for x86.

When I try to remove amule-common it says:

Code: [Select]
Removing amule-common ...
dpkg-divert: mismatch on package
  when removing `diversion of /usr/bin/ed2k by amule'
  found `diversion of /usr/bin/ed2k to /usr/bin/ed2k.xmule by amule-utils'
dpkg: error processing amule-common (--remove):
 subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
 amule-common
E: Sub-process /usr/bin/dpkg returned an error code (1)

Then I tried some the commands you proposed and now it says:

Code: [Select]
Removing amule-common ...
No diversion `diversion of /usr/bin/ed2k by amule', none removed

So, here is my output of

Code: [Select]
dpkg-divert --list
dpkg -P xmule amule
apt-cache policy amule

Code: [Select]
$ dpkg-divert --list
diversion of /sbin/depmod to /sbin/depmod.modutils by module-init-tools
diversion of /usr/share/man/man8/depmod.8.gz to /usr/share/man/man8/depmod.modutils.8.gz by module-init-tools
diversion of /usr/share/man/fr/man8/depmod.8.gz to /usr/share/man/fr/man8/depmod.modutils.8.gz by module-init-tools
diversion of /sbin/insmod to /sbin/insmod.modutils by module-init-tools
diversion of /usr/share/man/man8/insmod.8.gz to /usr/share/man/man8/insmod.modutils.8.gz by module-init-tools
diversion of /usr/share/man/fr/man8/insmod.8.gz to /usr/share/man/fr/man8/insmod.modutils.8.gz by module-init-tools
diversion of /sbin/update-modules to /sbin/update-modules.modutils by module-init-tools
diversion of /usr/share/man/man8/update-modules.8.gz to /usr/share/man/man8/update-modules.modutils.8.gz by module-init-tools
diversion of /usr/share/man/fr/man8/update-modules.8.gz to /usr/share/man/fr/man8/update-modules.modutils.8.gz by module-init-tools
diversion of /sbin/modinfo to /sbin/modinfo.modutils by module-init-tools
diversion of /usr/share/man/man8/modinfo.8.gz to /usr/share/man/man8/modinfo.modutils.8.gz by module-init-tools
diversion of /usr/share/man/fr/man8/modinfo.8.gz to /usr/share/man/fr/man8/modinfo.modutils.8.gz by module-init-tools
diversion of /sbin/kallsyms to /sbin/kallsyms.modutils by module-init-tools
diversion of /sbin/ksyms to /sbin/ksyms.modutils by module-init-tools
diversion of /sbin/lsmod to /sbin/lsmod.Lmodutils by module-init-tools
diversion of /usr/share/man/man8/lsmod.8.gz to /usr/share/man/man8/lsmod.modutils.8.gz by module-init-tools
diversion of /usr/share/man/fr/man8/lsmod.8.gz to /usr/share/man/fr/man8/lsmod.modutils.8.gz by module-init-tools
diversion of /sbin/modprobe to /sbin/modprobe.Lmodutils by module-init-tools
diversion of /usr/share/man/man8/modprobe.8.gz to /usr/share/man/man8/modprobe.modutils.8.gz by module-init-tools
diversion of /usr/share/man/fr/man8/modprobe.8.gz to /usr/share/man/fr/man8/modprobe.modutils.8.gz by module-init-tools
diversion of /sbin/rmmod to /sbin/rmmod.Lmodutils by module-init-tools
diversion of /usr/share/man/man8/rmmod.8.gz to /usr/share/man/man8/rmmod.modutils.8.gz by module-init-tools
diversion of /usr/share/man/fr/man8/rmmod.8.gz to /usr/share/man/fr/man8/rmmod.modutils.8.gz by module-init-tools
diversion of /usr/share/man/man5/modules.5.gz to /usr/share/man/man5/modules.modutils.5.gz by module-init-tools
diversion of /usr/share/man/fr/man5/modules.5.gz to /usr/share/man/fr/man5/modules.modutils.5.gz by module-init-tools
diversion of /usr/lib/gimp/2.0/plug-ins/print to /usr/lib/gimp/2.0/print.orig by gimp-print
diversion of /usr/bin/locate to /usr/bin/locate.notslocate by slocate
diversion of /usr/bin/updatedb to /usr/bin/updatedb.notslocate by slocate
diversion of /usr/share/man/man1/locate.1.gz to /usr/share/man/man1/locate.notslocate.1.gz by slocate
diversion of /usr/share/man/man1/updatedb.1.gz to /usr/share/man/man1/updatedb.notslocate.1.gz by slocate
diversion of /etc/cron.daily/find to /etc/cron.daily/find.notslocate by slocate
diversion of /usr/share/man/man1/ed2k.1.gz to /usr/share/man/man1/ed2k.xmule.1.gz by amule-utils

Code: [Select]
$ sudo dpkg -P xmule amule
dpkg - warning: ignoring request to remove xmule which isn't installed.
dpkg - warning: ignoring request to remove amule which isn't installed.

Code: [Select]
$ apt-cache policy amule
amule:
  Installed: (none)
  Candidate: 2.1.0-1ubuntu1
  Version table:
     2.1.0-1ubuntu1 0
        500 [URL]http://archive.ubuntu.com[/URL] dapper/universe Packages

Please help !  :baby:
Logged
Pages: [1] 2 3