Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Feb 2004 08:04:14 -0800 (PST)
From:      Rob <rob@OhReally.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/62792: empty package database after installation
Message-ID:  <200402131604.i1DG4Ea0044666@www.freebsd.org>
Resent-Message-ID: <200402131610.i1DGAHHU072591@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         62792
>Category:       misc
>Synopsis:       empty package database after installation
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 13 08:10:17 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Rob
>Release:        5.2-RELEASE
>Organization:
>Environment:
FreeBSD workstation.sybolt.lan 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Hi,

What I'm describing here may be just as you intended it to be, but I thought I'd report it anyway.

I just did an installation of FreeBSD 5.2-RELEASE, and found that after installation my package database is empty (running `pkg_info' shows no packages).
I did a base install, and then checked things like 'Ssh server'. This obviously installed the ssh server, but I'm now wondering how I can ever decently upgrade my ssh server without having to manually remove each file (to avoid conflicts). Using portupgrade or pkg_delete won't deinstall the currently installed package...

I noticed this behaviour before on a FBSD51 machine, where I checked 'Configure interface using DHCP' when installing and later installed the net/isc-dhcp3 port (because I needed dhcpd). This left me with 2 installations of dhclient, one in /sbin and one in /usr/local/sbin. Running pkg_info didn't show (the first) dhclient.

With that installation I thought it was my own fault, since installation didn't go too smooth, but this last installation did.

cheers
Rob

p.s.: If you're going to reply by email, please give me a few days to respond. I don't have a client up and running yet.
>How-To-Repeat:
Install FreeBSD.
>Fix:
Have installation update the package database.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402131604.i1DG4Ea0044666>