You are not logged in.

#1 2009-02-12 20:41:41

jarav
Member
Registered: 2008-09-04
Posts: 63

bluez openjdk6 dependency

In the upgrade from bluez-utils, bluez-libs to the new bluez there is a dependency on openjdk6. I am quite happy with the Sun jdk and am not interested at the moment to switch to Openjdk. Can i still upgrade to the new bluez or is it ok if i keep using the old bluez-libs and bluez-utils? I use bluetooth to connect to my cell phone.

Offline

#2 2009-02-12 21:09:15

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: bluez openjdk6 dependency

On my system bluez doesn't depend on java in any way ... Are you really sure about this?

Offline

#3 2009-02-12 21:19:55

VuDu
Member
Registered: 2007-05-11
Posts: 95

Re: bluez openjdk6 dependency

Same thing here:

:: Starting full system upgrade...
:: Replace bluez-libs with extra/bluez? [Y/n]
:: Replace bluez-utils with extra/bluez? [Y/n]
resolving dependencies...
looking for inter-conflicts...
:: openjdk6 conflicts with jdk. Remove jdk? [Y/n] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: openjdk6: conflicts with jdk

That's wierd because:

depends=('dbus-core' 'glib2')
makedepends=('gstreamer0.10-base' 'alsa-lib' 'libusb')
optdepends=('gstreamer0.10-base' 'alsa-lib' 'libusb')
conflicts=('bluez-libs' 'bluez-utils')
provides=('bluez-libs' 'bluez-utils')
replaces=('bluez-libs' 'bluez-utils')

Last edited by VuDu (2009-02-12 21:21:45)

Offline

#4 2009-02-12 21:23:22

jarav
Member
Registered: 2008-09-04
Posts: 63

Re: bluez openjdk6 dependency

Yes. Here is the output from pacman -Syu:
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
kdemod-core is up to date
kdemod-extragear is up to date
:: Starting full system upgrade...
:: Replace bluez-libs with extra/bluez? [Y/n] Y
:: Replace bluez-utils with extra/bluez? [Y/n] Y
resolving dependencies...
looking for inter-conflicts...
:: openjdk6 conflicts with jdk. Remove jdk? [Y/n] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: openjdk6: conflicts with jdk

Since I did not want to switch to openjdk6 i said 'no' there. And the upgrade did not go through. By the way, i am quite happy with the old bluez-utils and bluez-libs and i have no problems connecting to my Nokia E50 over bluetooth, or start a python console over bluetooth and so i am wondering if I should just say 'no' to the upgrade from the old bluez-utils, bluez-libs to the new bluez.

Offline

#5 2009-02-12 21:23:53

VuDu
Member
Registered: 2007-05-11
Posts: 95

Re: bluez openjdk6 dependency

Ahh wait!
using yaourt:

Checking for package upgrades...                                                

==> Package upgrade only (new release):
...

==> Software upgrade (new version) :
...
extra/obex-data-server 0.3-3 -> 0.4.2-2
extra/openobex 1.3-2 -> 1.4-1
extra/soprano 2.2-1 -> 2.2.1-1
...

==> New package :
extra/bluez 4.29-1  (required by gnokii)
extra/openjdk6 1.4-1  (required by soprano)

It's soprano that requires openjdk6 and not bluez!

Offline

#6 2009-02-12 21:43:44

jarav
Member
Registered: 2008-09-04
Posts: 63

Re: bluez openjdk6 dependency

So, as suggested here: http://bbs.archlinux.org/viewtopic.php?id=64455 , can I do a "/etc/pacman.conf: IgnorePkg = soprano" and upgrade bluez?

Offline

#7 2009-02-12 21:48:21

VuDu
Member
Registered: 2007-05-11
Posts: 95

Re: bluez openjdk6 dependency

Or simply use yaourt and hit 'm' (to manually select packages) when it asks you if you want to upgrade. wink

We can also wait for a fixed version of soprano to be released... shouldn't take long... i hope wink

EDIT:
Bug report: http://bugs.archlinux.org/task/13071
and also according to pacman's man page:

       --ignore <package>
           Directs pacman to ignore upgrades of package even if there is one
           available. Multiple packages can be specified by separating them
           with a comma

Last edited by VuDu (2009-02-12 21:52:30)

Offline

#8 2009-02-12 21:52:27

alienman
Member
From: Mexico
Registered: 2008-07-08
Posts: 106

Re: bluez openjdk6 dependency

Or if you want to upgrade just this time and not to blacklist soprano you can also try as root:

pacman -Syu --ignore soprano

ISC - Ignacio Marmolejo
ArchLinux & GNOME User.

Offline

#9 2009-02-12 21:55:39

jarav
Member
Registered: 2008-09-04
Posts: 63

Re: bluez openjdk6 dependency

ok, thanks VuDU, alienman.

Offline

#10 2009-02-13 16:54:14

jaxad0127
Member
Registered: 2008-09-02
Posts: 4

Re: bluez openjdk6 dependency

Weird, as from it's description, you wouldn't' think it'd need Java, as it bills itself as a C++/QT library. OpenJDK6 is replacing redland. The old package has java-runtime as an optional dependency.

Offline

#11 2009-02-13 17:24:41

VuDu
Member
Registered: 2007-05-11
Posts: 95

Re: bluez openjdk6 dependency

It doesn't! Like I said before, it's sonata that's causing the problem, not Bluez.

Offline

#12 2009-02-13 18:37:06

carus
Member
Registered: 2007-09-26
Posts: 15

Re: bluez openjdk6 dependency

Thanks guys for your always fast support!

Offline

#13 2009-02-13 19:47:36

jarav
Member
Registered: 2008-09-04
Posts: 63

Re: bluez openjdk6 dependency

Since I use gammu( wammu ) and gammu depends on the old bluez-libs the upgrade did not go through even after the 'pacman -Syu --ignore soprano'. May be this is a good thing because i see quite a few users complaining about bluetooth connectivity after the bluez upgrade.

Offline

Board footer

Powered by FluxBB