You are not logged in.

#1 2014-10-15 02:23:14

cyker
Member
Registered: 2009-05-30
Posts: 86

[SOLVED] Resolve java package update conflicts

Currently I have jdk, jre and java-common installed. A new package java-runtime-common is going to shift out java-common. However, removing java-common will break jdk and jre so pacman won't let me go. In this case what would be the best way to update the relevant java packages? Note that jdk and jre are installed from AUR, which pacman doesn't know about. Thanks.

Last edited by cyker (2014-10-17 04:37:55)


.

Offline

#2 2014-10-15 02:24:02

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [SOLVED] Resolve java package update conflicts

Read the news on the front page.

Offline

#3 2014-10-15 02:27:01

cyker
Member
Registered: 2009-05-30
Posts: 86

Re: [SOLVED] Resolve java package update conflicts

Scimmia wrote:

Read the news on the front page.

Hi thanks Scimmia. I saw that pacman use with -dd to bypass dependency check. However, this is not the first time I have such issues when an AUR package depends on a pacman package. How can I make sure my dependency graph is well kept after the use of -dd?

Last edited by cyker (2014-10-15 02:29:30)


.

Offline

#4 2014-10-15 08:51:05

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Resolve java package update conflicts

These AUR packages depend on java-runtime-common.

You have to give specific examples of which AUR packages caused problems and when.

Offline

#5 2014-10-15 09:38:38

apg
Developer
Registered: 2012-11-10
Posts: 211

Re: [SOLVED] Resolve java package update conflicts

cyker wrote:

How can I make sure my dependency graph is well kept after the use of -dd?

testdb

Offline

#6 2014-10-15 16:27:11

cyker
Member
Registered: 2009-05-30
Posts: 86

Re: [SOLVED] Resolve java package update conflicts

apg wrote:
cyker wrote:

How can I make sure my dependency graph is well kept after the use of -dd?

testdb

Hi thanks for response. May I know how to run it correctly? Should I run as root or not?

I guess running without parameters should check the locally installed packages. What does it do when I specify databases?


.

Offline

#7 2014-10-15 18:05:58

apg
Developer
Registered: 2012-11-10
Posts: 211

Re: [SOLVED] Resolve java package update conflicts

Just run it the way I wrote it, without any options; any user is fine.  If you specify databases testdb will check them.

Offline

#8 2014-10-17 04:37:30

cyker
Member
Registered: 2009-05-30
Posts: 86

Re: [SOLVED] Resolve java package update conflicts

apg wrote:

Just run it the way I wrote it, without any options; any user is fine.  If you specify databases testdb will check them.

Thanks, get it work already. I think it's a very useful tool. Not sure why it doesn't have a man page. Probably it's helpful to integrate its functionality into pacman.


.

Offline

#9 2014-10-17 21:13:00

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Resolve java package update conflicts

cyker wrote:

Thanks, get it work already. I think it's a very useful tool. Not sure why it doesn't have a man page. Probably it's helpful to integrate its functionality into pacman.

Not sure what you mean:

$ pkgfile testdb
core/pacman
$ testdb -h
usage:
        testdb [-b <pacman db>]                : check the local database
        testdb [-b <pacman db>] core extra ... : check the listed sync databases

Offline

#10 2014-10-18 00:10:35

cyker
Member
Registered: 2009-05-30
Posts: 86

Re: [SOLVED] Resolve java package update conflicts

I mean dependency check probably should be a core functionality of pacman - the program, not only the packge. So users can run

pacman -Qx

(whatever these letters are) to do a check.

It doesn't have a man page right now. Not every program has a working -h. Sometimes they use -help or --help which takes some time to figure out. A man page is better.


.

Offline

#11 2014-10-19 01:54:07

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Resolve java package update conflicts

A man page that says

usage:
        testdb [-b <pacman db>]                : check the local database
        testdb [-b <pacman db>] core extra ... : check the listed sync databases

?

Offline

#12 2014-10-19 01:59:02

cyker
Member
Registered: 2009-05-30
Posts: 86

Re: [SOLVED] Resolve java package update conflicts

If it's merged into pacman then it deserves an entry in the man page there. Even if it's a separate tool a man page can show a running example and some related tools. You can try

man tac

it's not much longer.


.

Offline

#13 2014-10-19 02:16:48

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Resolve java package update conflicts

Open a feature request then, let's see what the devs say.

Offline

#14 2014-10-19 02:35:05

cyker
Member
Registered: 2009-05-30
Posts: 86

Re: [SOLVED] Resolve java package update conflicts

karol wrote:

Open a feature request then, let's see what the devs say.

Done with Task 42444.


.

Offline

Board footer

Powered by FluxBB