1773a
![]() |
|
|
|
|
|||||||
| Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software). |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I'm trying to compile qBittorrent 3.0 but it encountered an error. It seems I need to delete an installed port first before it can proceed.
I can easily remove it but I want to know which port uses the problem port first before I proceed. Thanks
Last edited by wblock@; August 19th, 2012 at 04:50. |
|
#2
|
||||
|
||||
# pkg_info -R $portname
|
| The Following 2 Users Say Thank You to lme@ For This Useful Post: | ||
mrjayviper (August 15th, 2012), OJ (August 16th, 2012) | ||
|
#3
|
||||
|
||||
|
You can easily get a list of installed ports/packages:
pkg_version -vI | less
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
| The Following User Says Thank You to SirDice For This Useful Post: | ||
mrjayviper (August 15th, 2012) | ||
|
#4
|
|||
|
|||
|
Thanks! ☺☺
|
|
#5
|
||||
|
||||
|
And may be pkg_tree(7) ? Need install first.
|
| The Following User Says Thank You to setevoy For This Useful Post: | ||
OJ (August 16th, 2012) | ||
|
#6
|
|||
|
|||
|
I'm interested in these answers as well, but seem to have a problem.
Code:
# pkg_tree Code:
# pkg_info -R $portname However, Code:
pkg_version -vI | less Code:
pkg_version: Unable to open /usr/ports/INDEX-9 in pkg_do. |
|
#7
|
||||
|
||||
|
You don't seem to have an INDEX-9 file:
Code:
dice@molly:~> ll /usr/ports/INDEX-9 -rw-r--r-- 1 root wheel 26819160 Aug 8 15:03 /usr/ports/INDEX-9
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#8
|
|||
|
|||
|
Thanks for the explanation. It's a (relatively) fresh install, and I haven't updated anything yet. I'll start another thread about that if I run into problems, but there seems to be good information posted on it.
|
|
#9
|
||||
|
||||
|
If you already have a good ports tree but you're missing the INDEX-* file you can either fetch it or create it. The latter is recommended as that will create an INDEX from your current ports tree.
# cd /usr/ports && make fetchindex# cd /usr/ports && make index
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
| The Following User Says Thank You to SirDice For This Useful Post: | ||
OJ (August 17th, 2012) | ||
|
#10
|
|||
|
|||
|
Thanks SirDice. That worked and I can now execute the pkg_version(1) command you recommended. It had me worried though, because it took quite a long time to generate the index.
Last edited by SirDice; August 17th, 2012 at 12:28. Reason: Use [man] tags: http://forums.freebsd.org/misc.php?do=bbcode#man |
|
#11
|
|||
|
|||
|
Creating the INDEX takes a long time, you might want to stick to portsnap(8) that can fetch prebuilt descriptions for the ports and build the INDEX -files very quickly.
First time use: # portsnap fetch extractAnd from that on: # portsnap fetch update
|
|
#12
|
||||
|
||||
|
Yes, portsnap(8) should fetch the INDEX. That's why I asked how you update your ports tree
![]() I csup(1) mine so I always build my own. And yes, it takes a bit of time.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#13
|
|||
|
|||
|
Quote:
Were you able to resolve your installation problem? |
|
#14
|
|||
|
|||
|
Oh yes. Sorry! Please close as resolved. ☺☺
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Solved] portmaster -a loops forever on specific port | klaus | Installation and Maintenance of FreeBSD Ports or Packages | 6 | June 16th, 2012 09:09 |
| [Solved] Backing up system configurations and installed ports? | draco003 | General | 6 | September 25th, 2011 22:11 |
| unable to access site with specific port | lezde716 | Web & Network Services | 3 | September 10th, 2011 06:09 |
| AIX: Which Application is Using a Specific Port | vermaden | Howtos & FAQs (Moderated) | 3 | June 10th, 2011 05:22 |
| ventrilo-srv onestart with specific port | kondziq | Web & Network Services | 0 | September 5th, 2010 17:40 |