LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
LinkBack Search this Thread
Old 05-23-2004, 05:45 PM   #1
mathfeel
Member
 
Registered: Feb 2002
Distribution: Gentoo
Posts: 95

Rep: Reputation: 15
upgrading port with series dependency...


I was trying to get grub...

so I did a make install clean in grub...

make complains that I need to upgrade some package...from like 1.2._06 (which I currently have) to 1.2._07....

and of course make can't do it itself because there are a lot of other ports that depends on 1.2._06....

I try make upgrade at the folder for that particular package...same complain...

make deinstall gives me a list of reason (ports) why I shouldn't uninstall.

I am still learning to work with the port system of FreeBSD (which has so far been superior in my opinion to the RPM system of many linux distro.). The question is: how do I upgrade???
 
Old 05-23-2004, 06:55 PM   #2
Stack
Member
 
Registered: Oct 2003
Distribution: FreeBSD
Posts: 325

Rep: Reputation: 30
First you need to cvsup the ports tree then do this as root:
# portupgrade -aRr

This should fix everything right up, then you just need to add a cvsup script into your cron and another weekly one for portupgrade.

For future reference 99% of port problems are due to the fact your tree is out of date.

Cheers and check this out if you dont know how to cvsup.
http://www.freebsdforums.org/forums/...=&postid=57384

Last edited by Stack; 05-23-2004 at 06:58 PM.
 
Old 05-23-2004, 09:32 PM   #3
mathfeel
Member
 
Registered: Feb 2002
Distribution: Gentoo
Posts: 95

Original Poster
Rep: Reputation: 15
In fact, I just did a cvsup prior to this.

I did portupgrade, and actually also did pkgdb -F to fix some stale depedency. But one that's annoying is that my nvidia-driver is complaining for linux_base_7. My currently installed linux-base is 6.1_6 (pkgdb-F reports score of 68%).

I want to deinstalled linux_base-6 and replace it with linux_base-7 (or even -8). Then there are whole lot of other packages that depends on linux_base-6.

What should I do?
 
Old 05-23-2004, 10:19 PM   #4
Inexactitude
Member
 
Registered: Oct 2003
Distribution: Slackware 12.2, Ubuntu 9.04
Posts: 477

Rep: Reputation: 30
Use portupgrade -rf on the linux base. This will upgrade the linux base, and then solve all things that are dependent on the linux base.
 
Old 05-23-2004, 10:28 PM   #5
mathfeel
Member
 
Registered: Feb 2002
Distribution: Gentoo
Posts: 95

Original Poster
Rep: Reputation: 15
This appearantly upgraded/reinstalled my linux_base-6
What should I do if I would like to replace it with linux_base-7 or linux_base-debian?

thankx
 
Old 05-24-2004, 12:10 AM   #6
mathfeel
Member
 
Registered: Feb 2002
Distribution: Gentoo
Posts: 95

Original Poster
Rep: Reputation: 15
...turns out I was able to remove linux_base-6 with pkg_delete...I am surprise that there aren't any complain about other packages that dep. on it...
 
Old 05-24-2004, 01:38 AM   #7
Marble
Member
 
Registered: Feb 2003
Distribution: FreeBSD 5.2
Posts: 113

Rep: Reputation: 15
also use pkgdb -Uu after cvsup'ing your ports to make sure your ports index db is up to date with your new ports tree. Dont know if that will help anything, but I have read to do this after a new ports cvsup.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading to Badger! Can't login anymore after upgrading? BellaSha87 Ubuntu 1 12-03-2005 12:09 PM
VGA port on Pavilion zv5000 series (X window problem) Ian_Hawdon Linux - Laptop and Netbook 1 06-02-2005 03:51 PM
dependency hell w/ openoffice port in freebsd?! sether *BSD 12 09-09-2004 02:17 PM
how to solve failed dependency when dependency exists dwcramer Linux - Newbie 2 08-24-2004 09:03 PM
WinAmp port and dependency error??? dummy.1 Linux - Newbie 2 07-20-2004 10:25 PM


All times are GMT -5. The time now is 08:27 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration