The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 strange dependency issues with pkgdb -F -- please help!
Author: Francesca 
Date:   07-02-06 01:10

Hello all,

I'm doing some maintenance on a FreeBSD 5.3-STABLE server with a lot of ports that need updating. Following a suggestion, I have installed portupgrade for this purpose. I tried to update all my ports with 'portupgrade -a', but it said I have to use pkgdb to fix the database.

So I did that, and everything pretty much went well until this strange dependency issue popped up:

Stale dependency: linux-sun-jdk-1.4.2.08_2 -> linux-XFree86-libs-4.3.99.902_3 (x11/linux-XFree86-libs):
linux-sun-jdk-1.4.2.08_2 (score:26%) ? ([y]es/[n]o/[a]ll) [no]

This doesn't make any sense to me. Why would it offer to change the dependency for linux-sun-jdk from linux-XFree86-libs to linux-sun-jdk itself?

I tried to 'make install clean' the linux-XFree86-libs port, but it told me that it conflicts with linux_base... this doesn't make sense either, as I highly doubt that whatever pointed to linux-XFree86-libs would work after being redirected to linux_base.

Also, I checked in /usr/ports right after updating the ports tree and I found that there is no port named linux-sun-jdk, only linux-sun-jdk13, linux-sun-jdk14, linux-sun-jdk15 and so on.

Not sure what to do!
Any help would be hugely appreciated!

Thank you,
Francesca



Reply To This Message
 
 Re: strange dependency issues with pkgdb -F -- please help!
Author: parv 
Date:   09-02-06 02:46

Yes it is quite strange that the portupgrade would specify a port to be its own dependency. I also experienced the same situation once or twice.

Origin of port linux-sun-jdk-1.4.2.08_2 is java/linux-sun-jdk14. Not all the port names conform to /^[-,._a-zA-Z]+$/.

Here, linux-sun-jdk-1.4.2.10 (installed from ports tree) has dependency on both linux_base & linux-XFree86-libs ...

<code>
pkg_tree linux-sun-jdk-1.4.2.10
linux-sun-jdk-1.4.2.10
|\__ linux_base-8-8.0_10
|\__ linux-expat-1.95.7
|\__ linux-fontconfig-2.2.3_2
|\__ linux-XFree86-libs-4.3.99.902_5
\__ javavmwrapper-2.0_6
</code>

... apparently on my system there seems to be no conflic between linux_base & linux-XFree86-libs.

It is possible that your linux_base might have installed XFree86-libs?

- Parv

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org