Thank you Peter.

I still get the same error message (error line wrapped):

pkg_add ./pgt-firmware-1.2p2.tgz
Bad pkg_db: No such file or directory at
/usr/libdata/perl5/OpenBSD/PackageInfo.pm line 63.

Line 63:

opendir(my $dir, $pkg_db) or die "Bad pkg_db: $!");

Somethings wrong with my environment but what ...

On 27/02/2012, Peter Hessler <phess...@theapt.org> wrote:
> NO!
>
> For the love of everything holy, don't fucking use wget.
>
> the built-in ftp(1) client can download from http servers.
>
> and, do NOT just extract the files.  we have package tools for a reason.
>
> EITHER:
>  a) pkg_add http://firmware.openbsd.org/firmware/5.0/pgt-firmware-1.2.tgz
>
> OR
>
>  b) ftp http://firmware.openbsd.org/firmware/5.0/pgt-firmware-1.2.tgz &&
> pkg_add ./pgt-firmware-1.2.tgz
>
> Anything else is stupid.
>
>
>
> On 2012 Feb 26 (Sun) at 18:21:31 +0400 (+0400), Wesley M. wrote:
> :Try this :
> :add wget package using pkg_add -vi wget
> :wget http://firmware.openbsd.org/firmware/5.0/pgt-firmware-1.2p2.tgz
> :Then extract this in /etc/firmware.
> :Halt your machine, Remove your network card, and now plug the new card,
> :boot
> :
> :Hope that it will help.
> :
> :Wesley.
> :
> :
> :On Mon, 27 Feb 2012 00:02:28 +1030, David Walker
> :<davidianwal...@gmail.com> wrote:
> :> Thanks Wesley.
> :>
> :> I forgot about that.
> :> I was going from man pgt which says:
> :> FILES
> :>
> :>      A prepackaged version of the firmware, designed to be used with
> :>      pkg_add(1), can be found at:
> :>
> :>         http://firmware.openbsd.org/firmware/pgt-firmware-1.2.tgz
> :>
> :> The problem I have is that fw_update doesn't accept arguments and I
> :> need the adjacent pcmcia slot for the ethernet card and they are both
> :> bulky cards.
> :> I need to remove the conexant card to insert the ethernet card to
> :> access the network and then fw_update reports there are no devices to
> :> update - the conexant card is no longer attached.
> :> :]
> :>
> :> If you can think of a way to run this locally it'd be great.
> :>
> :> On 26/02/2012, Wesley M. <open...@e-solutions.re> wrote:
> :>> try fw_update (provided in OpenBSD 5.0)
> :>>
> :>> Wesley.
> :>>
> :>> On Sun, 26 Feb 2012 17:51:03 +1030, David Walker
> :>> <davidianwal...@gmail.com> wrote:
> :>>> Hi.
> :>>>
> :>>> I'm trying to do:
> :>>> pkg_add http://firmware.openbsd.olg/firmware/pgt-firmware-1.2.tgz
> :>>>
> :>>> I get this:
> :>>> parsing pgt-firmware-1.2.tgz
> :>>> Bad pkg_db: No such file or directory at
> :>>> /usr/libdata/perl5/OpenBSD/PackageInfo.
> :>>> pm line 63.
> :>>>
> :>>> Do I need to add perl manually?
> :>>>
> :>>> Best wishes.
> :
>
> --
> Cleaning your house while your kids are still growing is like
> shoveling the walk before it stops snowing.
>               -- Phyllis Diller

Reply via email to