[Linux] Installing any of the Eventclients uninstalls XBMC in pre-Eden nightlies

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
pumkinut Offline
Posting Freak
Posts: 972
Joined: May 2006
Reputation: 9
Post: #1
I'm very loathe to post this in the Dev board, but the question has be raised several times in the Linux board, and we've gotten nowhere.

The question is, why is XBMC uninstalled when any of the xbmc-eventclient packages are installed? As an example, I use my Wii remote as my primary remote control. I have a nightly build from Oct. 25th, and if I perform an install of the xbmc-eventclient package(s) xbmc and xbmc-bin are removed by apt. If I reinstall xbmc, then xbmc-eventclient-common and xbmc-eventclient-wiiremote are removed by apt.

Here's a thread asking this question in the Linux board.

Here's one that I started back in September.

As I said, I really didn't want to post here, as I didn't feel it was appropriate, but we haven't gotten any traction at all in the Linux board, so I thought it might be worth a shot.
find quote
rcase822 Offline
Junior Member
Posts: 8
Joined: Oct 2011
Reputation: 0
Post: #2
http://xkcd.com/979/
find quote
anthonws Offline
Junior Member
Posts: 11
Joined: May 2010
Reputation: 0
Location: Portugal
Post: #3
The dirty "hack" would be to download via wget the necessary packages and install with "--force-conflicts".

I did it like that and it's working.

But, nevertheless it's necessary to review the files dependencies.

Best regards,
Anthonws.

------------

EDIT: Obviously it "breaks" apt...

Anyone knows how to make apt ignore this packages?

----------------

EDIT2:

WARNING! THIS MIGHT BREAK YOUR APT! NO RESPONSIBILITY! (DIRTY HACK)^2!

Go to /var/lib/dpkg/status and remove the conflicts manually Smile
(This post was last modified: 2011-12-13 01:39 by anthonws.)
find quote
pumkinut Offline
Posting Freak
Posts: 972
Joined: May 2006
Reputation: 9
Post: #4
Could you post a howto? Apt is not one of the tools I'm all that familiar with.

I'd really like to see a resolution to this. Since the eventclients seem to be a pretty integral part, at least I think so, of XBMC, and Eden is pretty close to going beta, I'm wondering if anyone is actually looking into this.
find quote
bigdawgte Offline
Junior Member
Posts: 20
Joined: Nov 2010
Reputation: 0
Post: #5
I went through this issue ages ago, and could not find any help. I see what you guys are going through and wish I could help. I just gave up. Good luck.Wink
find quote
mossroy Offline
Junior Member
Posts: 28
Joined: May 2011
Reputation: 0
Post: #6
I face the same issue with the .deb files from unstable PPA (version 2:11.0~git20111222.22ad8e4-0ubuntu1~ppa1~lucid)
The packages xbmc-eventclients-common and xbmc-eventclients-wiiremote can not be installed because they conflict with packages xbmc and xbmc-bin.

I managed to force the installation with dpkg --force-conflicts : xbmc & wiimote work correctly after that, but it breaks apt-get until I remove these packages.

If you look at the "control" file in the .deb package, the following conflicts are declared :

Package: xbmc
(...)
Conflicts: xbmc-data, xbmc-eventclients-common, xbmc-eventclients-dev, xbmc-eventclients-j2me, xbmc-eventclients-ps3, xbmc-eventclients-xbmc-send, xbmc-skin-confluence, xbmc-standalone
Replaces: xbmc-data, xbmc-eventclients-common, xbmc-eventclients-dev, xbmc-eventclients-j2me, xbmc-eventclients-ps3, xbmc-eventclients-xbmc-send, xbmc-skin-confluence, xbmc-standalone
Provides: xbmc-data, xbmc-eventclients-common, xbmc-eventclients-dev, xbmc-eventclients-j2me, xbmc-eventclients-ps3, xbmc-eventclients-xbmc-send, xbmc-skin-confluence, xbmc-standalone

Package: xbmc-bin
(...)
Conflicts: xbmc-common, xbmc-eventclients-wiiremote
Replaces: xbmc-common, xbmc-eventclients-wiiremote
Provides: xbmc-common, xbmc-eventclients-wiiremote

It looks like it comes from this source file :
https://github.com/xbmc/xbmc-packaging/b...an/control

Is there any good reason why these packages are declared conflicted?
find quote
pumkinut Offline
Posting Freak
Posts: 972
Joined: May 2006
Reputation: 9
Post: #7
Anyone tried it with Eden beta?

If there are these conflicts, does it mean that some of the functionality has been incorporated? If not, why haven't they been addressed? If support for the eventclients has been left by the wayside, why are they still being developed? From the github page, it looks as if some of the eventclient functionality is being incorporated into XBMC main, is this true? If so, do we only need to install specific clients?

I'd really like it if someone could shed at least a hint of light on this. As it stands, the Wii remote is my only remote for XBMC. Without it, I'm forced to use my wireless keyboard for everything, and that just...well, it sucks. Especially when the Wii remote is so simple to use, yet has a lot of functionality.
find quote
ghatothkach Offline
Junior Member
Posts: 15
Joined: Nov 2008
Reputation: 0
Post: #8
hi

looks like xbmc-bin is suppose to deliver the eventclients (scripts/binaries), but it is just delivering the man pages only... some body needs to patch the build to build the event clients into the xbmc-bin package...

G

xbmc 1:9.11_lucid2 on boxdg45fc
find quote
mossroy Offline
Junior Member
Posts: 28
Joined: May 2011
Reputation: 0
Post: #9
I think there are 2 possibilities :
- the wiimote code has been incorporated (in some new way) inside the xbmc and xbmc-bin packages. In this case, the declared conflicts are correct, and the eventclient packages are obsolete. But I did not find any info in the changelog http://xbmc.iguanesolutions.com/releases...ngelog.txt regarding wiimote support. I did not find the way to use the wiimote with only xbmc and xbmc-bin packages
- the wiimote code has not been significantly modified, and is still inside the eventclient packages. In this case, the declared conflicts look wrong

I thought about opening a bug on some bugtracker, but http://trac.xbmc.org/ does not seem to be open for user registration (and I did not find any relevant existing bug)
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #10
you use your forum user on trac. exactly as stated on the trac frontpage...
find quote
mossroy Offline
Junior Member
Posts: 28
Joined: May 2011
Reputation: 0
Post: #11
Oups, sorry : I did not read everything Blush

I opened the ticket on trac : http://trac.xbmc.org/ticket/12375
find quote
pumkinut Offline
Posting Freak
Posts: 972
Joined: May 2006
Reputation: 9
Post: #12
Is anyone actually looking into this?
find quote
pumkinut Offline
Posting Freak
Posts: 972
Joined: May 2006
Reputation: 9
Post: #13
Hmm, some progress!

So I upgraded to Eden Beta 2 and found the following:
Code:
root@XBMC:/home/xbmc# apt-get install xbmc-eventclients-common xbmc-eventclients-wiiremote
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  python-bluez python-central
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libcwiid1
The following NEW packages will be installed:
  libcwiid1 xbmc-eventclients-common xbmc-eventclients-wiiremote
0 upgraded, 3 newly installed, 0 to remove and 3 not upgraded.
Need to get 139 kB of archives.
After this operation, 737 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libcwiid1 amd64 0.6.00+svn201-3 [19.7 kB]
Get:2 http://ppa.launchpad.net/team-xbmc/unstable/ubuntu/ oneiric/main xbmc-eventclients-common all 2:11.0~git20120120.f76c547-0ubuntu1~ppa1~oneiric [58.4 kB]
Get:3 http://ppa.launchpad.net/team-xbmc/unstable/ubuntu/ oneiric/main xbmc-eventclients-wiiremote amd64 2:11.0~git20120120.f76c547-0ubuntu1~ppa1~oneiric [60.7 kB]
Fetched 139 kB in 2s (65.0 kB/s)
Selecting previously deselected package xbmc-eventclients-common.
(Reading database ... 59578 files and directories currently installed.)
Unpacking xbmc-eventclients-common (from .../xbmc-eventclients-common_2%3a11.0~git20120120.f76c547-0ubuntu1~ppa1~oneiric_all.deb) ...
Selecting previously deselected package libcwiid1.
Unpacking libcwiid1 (from .../libcwiid1_0.6.00+svn201-3_amd64.deb) ...
Selecting previously deselected package xbmc-eventclients-wiiremote.
Unpacking xbmc-eventclients-wiiremote (from .../xbmc-eventclients-wiiremote_2%3a11.0~git20120120.f76c547-0ubuntu1~ppa1~oneiric_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/xbmc-eventclients-wiiremote_2%3a11.0~git20120120.f76c547-0ubuntu1~ppa1~oneiric_amd64.deb (--unpack):
trying to overwrite '/usr/share/man/man1/xbmc-wiiremote.1.gz', which is also in package xbmc-bin 2:11.0~git20120120.f76c547-0ubuntu1~ppa1~oneiric
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/xbmc-eventclients-wiiremote_2%3a11.0~git20120120.f76c547-0ubuntu1~ppa1~oneiric_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

So, some of the eventclients are installing. I checked the ps3 eventclient on another machine and it installed just fine. The question is, why is the wiiremote client not installing? I tried moving /usr/share/man/man1/xbmc-wiiremote.1.gz to a backup and then retrying the installation, but got the same error.

I don't know enough about apt or dpkg to work around this, so if anyone with more knowledge than I can shed some light, I'd really appreciate it.

Thanks
find quote
mossroy Offline
Junior Member
Posts: 28
Joined: May 2011
Reputation: 0
Post: #14
Yes, there has been some progress : the packages conflict has been solved. That's why my trac ticket http://trac.xbmc.org/ticket/12375 is now closed.

But now, there is a package overwrite between xbmc-bin and xbmc-eventclients-wiiremote. I opened http://trac.xbmc.org/ticket/12497 for that different issue.

There is a simple workaround : manually download the xbmc-eventclients-wiiremote for your ubuntu version and architecture from https://launchpad.net/~team-xbmc/+archiv.../+packages (in my case xbmc-eventclients-wiiremote_11.0~git20120120.f76c547-0ubuntu1~ppa1~oneiric_amd64.deb)

Then open a command-line in the directory where you downloaded the .deb file and run :
sudo dpkg -i --force-overwrite xbmc-eventclients-wiiremote_11.0~git20120120.f76c547-0ubuntu1~ppa1~oneiric_amd64.deb

(replace the name of the .deb with the one you downloaded)

It should be safe as the overwritten file is simply for documentation purpose.
find quote
beschmid Offline
Senior Member
Posts: 218
Joined: Mar 2008
Reputation: 2
Post: #15
mossroy: I tried your instructions and got,


dpkg: regarding xbmc-eventclients-wiiremote_11.0~git20120120.f76c547-0ubuntu1~ppa1~oneiric_i386.deb containing xbmc-eventclients-wiiremote:
xbmc-bin conflicts with xbmc-eventclients-wiiremote
xbmc-eventclients-wiiremote (version 2:11.0~git20120120.f76c547-0ubuntu1~ppa1~oneiric) is to be installed.
dpkg: error processing xbmc-eventclients-wiiremote_11.0~git20120120.f76c547-0ubuntu1~ppa1~oneiric_i386.deb (--install):
conflicting packages - not installing xbmc-eventclients-wiiremote
Errors were encountered while processing:
xbmc-eventclients-wiiremote_11.0~git20120120.f76c547-0ubuntu1~ppa1~oneiric_i386.deb
find quote
Post Reply