e672 How to reinstall ports correctly? - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old March 1st, 2012, 18:09
Minbari Minbari is offline
Junior Member
 
Join Date: Feb 2012
Location: Bucharest, Romania
Posts: 15
Thanks: 31
Thanked 1 Time in 1 Post
Default How to reinstall ports correctly?

I have install from ports a game iourbanterror, but after an update(of tree ports) the game wasn't install anymore so I install it again; the install process works fine but when trying to run the game I recive an error: "Couldn't load default.cfg"
I use the following commands:
Code:
#make deinstall clean
#make config-recursive, 
#make rmconfig-recursive, 
#make clean-depends
Any advice? Thanks in advance!
ps: sorry for my bad English, is not my native language.
Reply With Quote
  #2  
Old March 1st, 2012, 18:37
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

Quote:
Originally Posted by Minbari View Post
after an update(of tree ports) the game wasn't install anymore
Updating your ports tree does NOT uninstall a port. It doesn't touch the (installed) ports themselves in any way.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
The Following User Says Thank You to SirDice For This Useful Post:
Minbari (March 1st, 2012)
  #3  
Old March 1st, 2012, 18:51
Minbari Minbari is offline
Junior Member
 
Join Date: Feb 2012
Location: Bucharest, Romania
Posts: 15
Thanks: 31
Thanked 1 Time in 1 Post
Default

I know that updating does not uninstall a port, but when I checked the port wasn't there.
Code:
> which iourbanterror 
 or
> ls /var/db/pkg | grep iourbanterror
did not return any results.

Last edited by DutchDaemon; March 1st, 2012 at 19:01.
Reply With Quote
  #4  
Old March 1st, 2012, 19:36
ahavatar ahavatar is offline
Member
 
Join Date: Sep 2010
Posts: 195
Thanks: 13
Thanked 21 Times in 19 Posts
Default

I would run
# portupgrade -v -f iourbanterror
to reinstall the game.
Reply With Quote
The Following User Says Thank You to ahavatar For This Useful Post:
Minbari (April 16th, 2012)
  #5  
Old March 1st, 2012, 20:27
wblock@'s Avatar
wblock@ wblock@ is online now
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,723
Thanks: 432
Thanked 1,761 Times in 1,458 Posts
Default

Quote:
Originally Posted by Minbari View Post
I know that updating does not uninstall a port, but when I checked the port wasn't there.
Code:
> which iourbanterror 
 or
> ls /var/db/pkg | grep iourbanterror
did not return any results.
which(1) won't find things that are not in your path.

Use pkg_info(1) to check for installed ports. -Ix is helpful.
Code:
# pkg_info -Ix iourban
Reply With Quote
The Following User Says Thank You to wblock@ For This Useful Post:
Minbari (April 16th, 2012)
  #6  
Old March 6th, 2012, 16:14
Beeblebrox's Avatar
Beeblebrox Beeblebrox is offline
Member
 
Join Date: Sep 2010
Posts: 713
Thanks: 39
Thanked 76 Times in 68 Posts
Default

uninstall and add from package to see if you get any different result
# make deinstall -C /usr/ports/games/iorbanterror
# pkg_add -rv iourbanterror
assuming your $PACKEGESITE in env is set to .../Latest
__________________
branch:head - root on zfs - amd64
BLUES, ELWOOD
ILLINOIS LICENSE : B263-1655-2187
CURRENTLY UNDER SUSPENSION
WARRANTS OUTSTANDING : PARKG. 116
MOVING VIOLATIONS : 56
ARREST DRIVER ... IMPOUND VEHICLE
Reply With Quote
The Following User Says Thank You to Beeblebrox For This Useful Post:
Minbari (April 16th, 2012)
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ports constantly tries to rebuild/reinstall lang/python27 Grell Installation and Maintenance of FreeBSD Ports or Packages 2 May 18th, 2011 19:25
[Solved] make readmes not working correctly in /usr/ports rbelk Installation and Maintenance of FreeBSD Ports or Packages 9 January 10th, 2011 08:08
Maintaining ports correctly? feralape Installation and Maintenance of FreeBSD Ports or Packages 2 August 21st, 2010 10:00
[Solved] about the ports/editors/emacs/ reinstall error! zyanho Installation and Maintenance of FreeBSD Ports or Packages 12 June 5th, 2010 01:57
reinstall all ports lumiwa Installation and Maintenance of FreeBSD Ports or Packages 9 December 10th, 2009 12:34


All times are GMT +1. The time now is 14:00.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0