TechTalkz.com Logo Ask the Experts!

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Linux & Opensource > FreeBSD

pkgdb missing

FreeBSD

 
 
Thread Tools Display Modes
Unread 15-09-2007, 05:30 AM   #1
chani
Guest
 
Posts: n/a
pkgdb missing

Hi all,
I am new to freeBSD. I am now reading freeBSD handbook.
I could not find pkgdb command in my system.
I compared with another machine. there pkgdb was @
/usr/local/sbin/pkgdb

But that file was not found in my machine. Waht should i install
to make pkgdb available.

Please help me

Thankyou!

 
Unread 15-09-2007, 05:30 AM   #2
Patrick Lamaizière
Guest
 
Posts: n/a
Re: pkgdb missing

chani wrote:

> Hi all,
> I am new to freeBSD.


Welcome,

> I am now reading freeBSD handbook.
> I could not find pkgdb command in my system.
> I compared with another machine. there pkgdb was @
> /usr/local/sbin/pkgdb
>
> But that file was not found in my machine. Waht should i install
> to make pkgdb available.


This tools updates the database used by portupgrade, install it :
port-mgmt/portupgrade

 
Unread 15-09-2007, 05:30 AM   #3
Bob Eager
Guest
 
Posts: n/a
Re: pkgdb missing

On Wed, 5 Sep 2007 11:42:09 UTC, chani <chanakam2000***********> wrote:

> Hi all,
> I am new to freeBSD. I am now reading freeBSD handbook.
> I could not find pkgdb command in my system.
> I compared with another machine. there pkgdb was @
> /usr/local/sbin/pkgdb
>
> But that file was not found in my machine. Waht should i install
> to make pkgdb available.


pkg_add -r portupgrade

Or build the port: sysutils/portupgrade

--
Bob Eager
UNIX since v6..
http://tinyurl.com/2xqr6h

 
Unread 15-09-2007, 05:30 AM   #4
Henri Hennebert
Guest
 
Posts: n/a
Re: pkgdb missing

chani wrote:
> Hi all,
> I am new to freeBSD. I am now reading freeBSD handbook.
> I could not find pkgdb command in my system.
> I compared with another machine. there pkgdb was @
> /usr/local/sbin/pkgdb
>
> But that file was not found in my machine. Waht should i install
> to make pkgdb available.
>


cd /usr/ports/ports-mgmt/portupgrade
make install clean

or install corresponding pkg

and then run:
portsdb -Uu

Henri
> Please help me
>
> Thankyou!
>

 
Unread 15-09-2007, 05:30 AM   #5
Bob Eager
Guest
 
Posts: n/a
Re: pkgdb missing

On Wed, 5 Sep 2007 12:13:25 UTC, Henri Hennebert <hlh@restart.be> wrote:

> chani wrote:
> > Hi all,
> > I am new to freeBSD. I am now reading freeBSD handbook.
> > I could not find pkgdb command in my system.
> > I compared with another machine. there pkgdb was @
> > /usr/local/sbin/pkgdb
> >
> > But that file was not found in my machine. Waht should i install
> > to make pkgdb available.
> >

>
> cd /usr/ports/ports-mgmt/portupgrade
> make install clean


On 6.2-RELEASE, there *is* no ports-mgmt directory; it appears after a
portupgrade. So, chicken and egg..

Look in sysutils/portupgrade on RELEASE.
--
Bob Eager
UNIX since v6..
http://tinyurl.com/2xqr6h

 
Unread 15-09-2007, 05:30 AM   #6
Henri Hennebert
Guest
 
Posts: n/a
Re: pkgdb missing

Bob Eager wrote:
> On Wed, 5 Sep 2007 12:13:25 UTC, Henri Hennebert <hlh@restart.be> wrote:
>
>> chani wrote:
>>> Hi all,
>>> I am new to freeBSD. I am now reading freeBSD handbook.
>>> I could not find pkgdb command in my system.
>>> I compared with another machine. there pkgdb was @
>>> /usr/local/sbin/pkgdb
>>>
>>> But that file was not found in my machine. Waht should i install
>>> to make pkgdb available.
>>>

>> cd /usr/ports/ports-mgmt/portupgrade
>> make install clean

>
> On 6.2-RELEASE, there *is* no ports-mgmt directory; it appears after a
> portupgrade.


You I right

So, chicken and egg..

No - you update the port tree with cvsup / csup

>
> Look in sysutils/portupgrade on RELEASE.

 
Unread 15-09-2007, 05:30 AM   #7
Bob Eager
Guest
 
Posts: n/a
Re: pkgdb missing

On Wed, 5 Sep 2007 17:31:57 UTC, Henri Hennebert <hlh@restart.be> wrote:

> Bob Eager wrote:
> > On Wed, 5 Sep 2007 12:13:25 UTC, Henri Hennebert <hlh@restart.be> wrote:
> >
> >> chani wrote:
> >>> Hi all,
> >>> I am new to freeBSD. I am now reading freeBSD handbook.
> >>> I could not find pkgdb command in my system.
> >>> I compared with another machine. there pkgdb was @
> >>> /usr/local/sbin/pkgdb
> >>>
> >>> But that file was not found in my machine. Waht should i install
> >>> to make pkgdb available.
> >>>
> >> cd /usr/ports/ports-mgmt/portupgrade
> >> make install clean

> >
> > On 6.2-RELEASE, there *is* no ports-mgmt directory; it appears after a
> > portupgrade.

>
> You I right
>
> So, chicken and egg..
>
> No - you update the port tree with cvsup / csup
>
> >
> > Look in sysutils/portupgrade on RELEASE.


Agreed...you can do that, and I realised that afterwards. However,
advice to look in ports-mgmt may well confuse if he starts looking for
that nonexistent directory! Hence my mention of the RELEASE location.

Also, not everyone wants to update the ports tree, unless they want a
lot of hassle with Xorg!
--
Bob Eager
UNIX since v6..
http://tinyurl.com/2xqr6h

 
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing IE7 Zygy Internet Explorer 7 28-08-2007 05:28 PM
bar missing Addy78 Internet Explorer 2 28-08-2007 02:15 PM
Missing Will4man Microsoft Office 2 28-08-2007 01:04 PM
IAS Log Missing shawnpn Windows Server 2003 6 28-08-2007 05:41 AM
dvd rom missing tonyd123 Windows Vista All 4 17-08-2007 09:36 PM


< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT. The time now is 10:43 AM.


vBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2013, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional