Re: pkg_add - error while reading header / read short file / gzheader truncated

2023-12-09 Thread David Rinehart
On Sat, 2023-12-09 at 11:55 +, Stuart Henderson wrote:
> I suggest trying a mirror instead then, and see if there's any
> difference. Pick one from www.openbsd.org/ftp.html.

Good suggestion.

Recent installer changes to simplify the sets "disk" option are
awesome.  At the same time, this likely increased the number of
installations configured for cdn.openbsd.org (and maybe load on the
server).



Re: pkg_add - error while reading header / read short file / gzheader truncated

2023-12-09 Thread Stuart Henderson
On 2023/12/08 15:40, David Rinehart wrote:
> On Fri, 2023-12-08 at 08:37 +, Stuart Henderson wrote:
> > On 2023-12-07, David Rinehart  wrote:
> > > 
> > > I see the same with multiple installs - Started with 7.4.  No
> > > modification to default installurl.
> > 
> > The contents of the 'default' installurl depend on whuch mirror you
> > selected to install from.
> > 
> 
> I select "disk" for file sets and do not recall selecting a mirror.  I
> believe this puts https://cdn.openbsd.org/pub/OpenBSD in the file.
> 
> The issue may have started before 7.4, but was not seen at 7.3 release
> timeframe.
> 
> After giving it more thought, I believe I started seeing errors on
> package installation before 7.4 release.  I figured it was a web site
> issue because I'm running -stable and no patches seemed related (so
> more likely an external issue).  Then, the errors were familiar when I
> did reinstalls with 7.4.  The errors are temporary and the package
> installations will complete if run again, or maybe a couple times.
> 
> Thanks, for the reply and any help!

I suggest trying a mirror instead then, and see if there's any
difference. Pick one from www.openbsd.org/ftp.html.



Re: pkg_add - error while reading header / read short file / gzheader truncated

2023-12-08 Thread David Rinehart
On Fri, 2023-12-08 at 08:37 +, Stuart Henderson wrote:
> On 2023-12-07, David Rinehart  wrote:
> > 
> > I see the same with multiple installs - Started with 7.4.  No
> > modification to default installurl.
> 
> The contents of the 'default' installurl depend on whuch mirror you
> selected to install from.
> 

I select "disk" for file sets and do not recall selecting a mirror.  I
believe this puts https://cdn.openbsd.org/pub/OpenBSD in the file.

The issue may have started before 7.4, but was not seen at 7.3 release
timeframe.

After giving it more thought, I believe I started seeing errors on
package installation before 7.4 release.  I figured it was a web site
issue because I'm running -stable and no patches seemed related (so
more likely an external issue).  Then, the errors were familiar when I
did reinstalls with 7.4.  The errors are temporary and the package
installations will complete if run again, or maybe a couple times.

Thanks, for the reply and any help!
--
David Rinehart



Re: pkg_add - error while reading header / read short file / gzheader truncated

2023-12-08 Thread Stuart Henderson
On 2023-12-07, David Rinehart  wrote:
>
> I see the same with multiple installs - Started with 7.4.  No
> modification to default installurl.

The contents of the 'default' installurl depend on whuch mirror you
selected to install from.



Re: pkg_add - error while reading header / read short file / gzheader truncated

2023-12-07 Thread David Rinehart


I see the same with multiple installs - Started with 7.4.  No
modification to default installurl.

It is amazing - For 5 years, I never considered that pkg_add(1) could
fail (and it didn't)!  Updating my install scripts to try until the
last package add, with -l option, is confirmed.  A little concerned
that a package could be partially installed / marked manual and not
work (I think this has happened and I restarted from scratch).


On Thu, 2023-12-07 at 00:07 -0800, Joe B wrote:
> Hello Misc,
> 
> I am configuring a couple of laptops for my kids, i had installed 70
> with
> i3 and gcompris in them, its been a while since the last update so i
> decided to make a fresh install.
> 
> So I installed 74 in both of them, used the autoinstall so the
> process was
> straightforward as always, rebooted, hw_update, syspatch, everything
> as
> expected.
> 
> The problem comes when trying to install a package, i am trying just
> to of
> them: feh and gcompris, in both laptops, and i get the following
> errors,
> they are several since i do a few tries and then the problem goes and
> comes
> at different packages
> 
> pkg_add: Ustar [package name, it is different every try, meaning
> lcms2-2.15.tgz, gstreamer, libass-] [?]: Error while reading header
> https://cdn.openbsd.org/pub/OpenBSD/7.4/packages/amd64/lame-3.100p1.tgz
> :
> Read short file
> 
> My configuration are:
> 1 laptop, re0, trying pkg_add feh
> 1 laptop, iwn0, trying pkg_add gcompris
> 
> both with the same results, maybe i should try in another LAN, but
> could it
> be a problem with the CDN server ?
> 
> Thank you for your time,
> 
> --  Manuel Solis
> 
> > > 
> 
> Hello,
> 
> I'm new to openBSD about 3 days old. and I ran into the same issue as
> you. I would
> 
> pkg_add something and I kept getting the header message. someone on
> IRC helped me
> 
> Simple. change the cdn to another mirror
> 
> look at https://www.openbsd.org/faq/faq15.html#Mirror
> 
> Basically You find a mirror probably ftp like I did go to vim or nano
> /etc/installurl
> 
> delete the cdn add another mirror and re-run the pkg_add you might
> need to pkg_delete
> 
> the partial and then re-run. pkg_add After all that you might need
> pkg_add -u to see if the new mirror
> 
> fixes all the other partials
> 
> 
> Hope this helps
> 
> 
> ~ Joe B



Re: pkg_add - error while reading header / read short file / gzheader truncated

2023-12-07 Thread Crystal Kolipe
On Thu, Dec 07, 2023 at 12:35:01PM -, Stuart Henderson wrote:
> pkg_add/ftp aren't good at retrying when network connections fail.
> I'd think it's more likely a problem with your network connection
> than the cdn server, but you could try one of the other mirrors
> listed in www.openbsd.org/ftp.html (either set in /etc/installurl
> or set in the PKG_PATH environment variable; you can just use the
> hostname in the latter)

Read the previous email carefully, paying attention to the bizarre quoting
style...

The person you replied to was actually answering the original question :-).



Re: pkg_add - error while reading header / read short file / gzheader truncated

2023-12-07 Thread Stuart Henderson
On 2023-12-07, Joe B  wrote:
> Hello Misc,
>
> I am configuring a couple of laptops for my kids, i had installed 70 with
> i3 and gcompris in them, its been a while since the last update so i
> decided to make a fresh install.
>
> So I installed 74 in both of them, used the autoinstall so the process was
> straightforward as always, rebooted, hw_update, syspatch, everything as
> expected.
>
> The problem comes when trying to install a package, i am trying just to of
> them: feh and gcompris, in both laptops, and i get the following errors,
> they are several since i do a few tries and then the problem goes and comes
> at different packages
>
> pkg_add: Ustar [package name, it is different every try, meaning
> lcms2-2.15.tgz, gstreamer, libass-] [?]: Error while reading header
> https://cdn.openbsd.org/pub/OpenBSD/7.4/packages/amd64/lame-3.100p1.tgz:
> Read short file
>
> My configuration are:
> 1 laptop, re0, trying pkg_add feh
> 1 laptop, iwn0, trying pkg_add gcompris
>
> both with the same results, maybe i should try in another LAN, but could it
> be a problem with the CDN server ?

pkg_add/ftp aren't good at retrying when network connections fail.
I'd think it's more likely a problem with your network connection
than the cdn server, but you could try one of the other mirrors
listed in www.openbsd.org/ftp.html (either set in /etc/installurl
or set in the PKG_PATH environment variable; you can just use the
hostname in the latter)


> Thank you for your time,
>
> --  Manuel Solis
>
>>>
>
> Hello,
>
> I'm new to openBSD about 3 days old. and I ran into the same issue as
> you. I would
>
> pkg_add something and I kept getting the header message. someone on
> IRC helped me
>
> Simple. change the cdn to another mirror
>
> look at https://www.openbsd.org/faq/faq15.html#Mirror
>
> Basically You find a mirror probably ftp like I did go to vim or nano
> /etc/installurl
>
> delete the cdn add another mirror and re-run the pkg_add you might
> need to pkg_delete
>
> the partial and then re-run. pkg_add After all that you might need
> pkg_add -u to see if the new mirror
>
> fixes all the other partials
>
>
> Hope this helps
>
>
> ~ Joe B
>


-- 
Please keep replies on the mailing list.



pkg_add - error while reading header / read short file / gzheader truncated

2023-12-07 Thread Joe B
Hello Misc,

I am configuring a couple of laptops for my kids, i had installed 70 with
i3 and gcompris in them, its been a while since the last update so i
decided to make a fresh install.

So I installed 74 in both of them, used the autoinstall so the process was
straightforward as always, rebooted, hw_update, syspatch, everything as
expected.

The problem comes when trying to install a package, i am trying just to of
them: feh and gcompris, in both laptops, and i get the following errors,
they are several since i do a few tries and then the problem goes and comes
at different packages

pkg_add: Ustar [package name, it is different every try, meaning
lcms2-2.15.tgz, gstreamer, libass-] [?]: Error while reading header
https://cdn.openbsd.org/pub/OpenBSD/7.4/packages/amd64/lame-3.100p1.tgz:
Read short file

My configuration are:
1 laptop, re0, trying pkg_add feh
1 laptop, iwn0, trying pkg_add gcompris

both with the same results, maybe i should try in another LAN, but could it
be a problem with the CDN server ?

Thank you for your time,

--  Manuel Solis

>>

Hello,

I'm new to openBSD about 3 days old. and I ran into the same issue as
you. I would

pkg_add something and I kept getting the header message. someone on
IRC helped me

Simple. change the cdn to another mirror

look at https://www.openbsd.org/faq/faq15.html#Mirror

Basically You find a mirror probably ftp like I did go to vim or nano
/etc/installurl

delete the cdn add another mirror and re-run the pkg_add you might
need to pkg_delete

the partial and then re-run. pkg_add After all that you might need
pkg_add -u to see if the new mirror

fixes all the other partials


Hope this helps


~ Joe B


pkg_add - error while reading header / read short file / gzheader truncated

2023-11-14 Thread Manuel Solis
Hello Misc,

I am configuring a couple of laptops for my kids, i had installed 70 with
i3 and gcompris in them, its been a while since the last update so i
decided to make a fresh install.

So I installed 74 in both of them, used the autoinstall so the process was
straightforward as always, rebooted, hw_update, syspatch, everything as
expected.

The problem comes when trying to install a package, i am trying just to of
them: feh and gcompris, in both laptops, and i get the following errors,
they are several since i do a few tries and then the problem goes and comes
at different packages

pkg_add: Ustar [package name, it is different every try, meaning
lcms2-2.15.tgz, gstreamer, libass-] [?]: Error while reading header

https://cdn.openbsd.org/pub/OpenBSD/7.4/packages/amd64/lame-3.100p1.tgz:
Read short file

My configuration are:
1 laptop, re0, trying pkg_add feh
1 laptop, iwn0, trying pkg_add gcompris

both with the same results, maybe i should try in another LAN, but could it
be a problem with the CDN server ?

Thank you for your time,

--  Manuel Solis


pkg_add error, Dependencies.pm:387

2014-02-03 Thread LEVAI Daniel
Hi!

Updated to Feb. 2 snapshots, and everytime I run pkg_add, I get this:

Can't use an undefined value as a HASH reference at 
/usr/libdata/perl5/OpenBSD/Dependencies.pm line 387.

Maybe this is the culprit:
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2014/02/01 04:37:58

Modified files:
usr.sbin/pkg_add/OpenBSD: Dependencies.pm 

Log message:
let solve_depends work as soon as we have update_info


Reverting Dependencies.pm to 1.151 fixes it for me.


Daniel

-- 
LÉVAI Dániel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F



Re: pkg_add error, Dependencies.pm:387

2014-02-03 Thread Marc Espie
On Mon, Feb 03, 2014 at 10:53:30AM +0100, LEVAI Daniel wrote:
 Hi!
 
 Updated to Feb. 2 snapshots, and everytime I run pkg_add, I get this:
 
 Can't use an undefined value as a HASH reference at 
 /usr/libdata/perl5/OpenBSD/Dependencies.pm line 387.
 
 Maybe this is the culprit:
 CVSROOT:  /cvs
 Module name:  src
 Changes by:   es...@cvs.openbsd.org   2014/02/01 04:37:58
 
 Modified files:
   usr.sbin/pkg_add/OpenBSD: Dependencies.pm 
 
 Log message:
 let solve_depends work as soon as we have update_info
 
 
 Reverting Dependencies.pm to 1.151 fixes it for me.

Actually, it's more complicated than that.

This commit makes things more brittle, and the few next commits fix the
issues exposed by it.



Re: OpenBSD 4.7 pkg_add error

2010-05-20 Thread wim wauters

L. V. Lammert wrote:

On Thu, 20 May 2010, Andreas Gerdd wrote:

  

# PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.7/packages/i386/
# pkg_add -vvi nano

Nano installation stucked at 76%, did not move for a long time,
then I terminated the process by CTRLC,



The main repository is getting hammered, .. try a 2nd or 3rd level mirror.
  


And you might have to delete the partial package folder (as displayed in 
your error message),
in order to be able to install the package again. Don't worry, it'll let 
you know if you do :-)



--
With Friendly Regards,
Wim Wauters T/A Unisoft Design

Fixed cost IT helpdesk and proactive IT maintenance
for professionals  small to medium size businesses
http://www.UnisoftDesign.co.uk

Data Recovery  Password Recovery
Online storage  Remote Backups
http://www.DataServices247.com

Tel. 0871 559 0812
Fax. 0871 900 7824


PS.  DataServices247.co.uk is coming 'soon' :-)




Lee




Re: OpenBSD 4.7 pkg_add error

2010-05-19 Thread L. V. Lammert
On Thu, 20 May 2010, Andreas Gerdd wrote:

 # PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.7/packages/i386/
 # pkg_add -vvi nano

 Nano installation stucked at 76%, did not move for a long time,
 then I terminated the process by CTRLC,

The main repository is getting hammered, .. try a 2nd or 3rd level mirror.

Lee



Re: pkg_add error: +CONTENTS does not exist

2008-11-05 Thread Stuart Henderson
On 2008-11-05, Chris [EMAIL PROTECTED] wrote:
 I been updating packages from 4.3 to 4.4 but my box rebooted due to a
 power outage and now I'm getting the following error while updating
 packages:

 Warning: couldn't read packing-list from installed package jasper-1.900.1
 File /var/db/pkg/jasper-1.900.1/+CONTENTS does not exist
 /usr/sbin/pkg_add: Can't locate jasper-1.900.1

 (pkg_add -ui -F update -F updatedepends)

 I cd to /var/db/pkg/jasper-1.900.1/ and the directory is empty.

 Thanks for any help.



the recommended way would be to take a list of your installed
packages, pkg_delete /var/db/pkg/*, pkg_delete /var/db/pkg/.*,
remove any files from /usr/local that still exist from the
broken package update, remove what's left in /var/db/pkg,
and re-install the packages from your list. (you probably need
to rm -r /var/db/pkg/jasper* before you start).

if you use a non-standard shell, change it to something from
base before you start on pkg_delete.

quicker ways might work too, but they might leave broken
dependency information to come back and bite you in a few
months time.



Re: pkg_add error: +CONTENTS does not exist

2008-11-05 Thread Louis V. Lambrecht

Stuart Henderson wrote:

On 2008-11-05, Chris [EMAIL PROTECTED] wrote:
  

I been updating packages from 4.3 to 4.4 but my box rebooted due to a
power outage and now I'm getting the following error while updating
packages:

Warning: couldn't read packing-list from installed package jasper-1.900.1
File /var/db/pkg/jasper-1.900.1/+CONTENTS does not exist
/usr/sbin/pkg_add: Can't locate jasper-1.900.1

(pkg_add -ui -F update -F updatedepends)

I cd to /var/db/pkg/jasper-1.900.1/ and the directory is empty.

Thanks for any help.





the recommended way would be to take a list of your installed
packages, pkg_delete /var/db/pkg/*, pkg_delete /var/db/pkg/.*,
remove any files from /usr/local that still exist from the
broken package update, remove what's left in /var/db/pkg,
and re-install the packages from your list. (you probably need
to rm -r /var/db/pkg/jasper* before you start).

if you use a non-standard shell, change it to something from
base before you start on pkg_delete.

quicker ways might work too, but they might leave broken
dependency information to come back and bite you in a few
months time.


  

problems usually are in the dots /var/db/pkg/.*
i.e:  /var/db/pkg/.jasper*
some files can be copied over from the relevant ports pkg subdir
PLIST -- +CONTENTS, DESC -- +DESC, ...
if the occurences are few.

but, as stu@ says deps would byte you with a vengeance.

I always pretend that the best upgrade is newfs

and in order to spare time and banwidth in case of re-installation, I 
cache the

packages

env PKG_CACHE=/home/user/pkg pkg_add http://ftp.the_mirror_next_door/...
preferably on another slice/drive, better, flash sticks are dirt cheap now.
Even better, order the release CD.

Install (or upgrade) OS and base on the bootable flash, put the 
4.4/arch tree

on it, along with the packages cache.
Test it, then only proceed to install on the hard drive.
Fresh install in a matter of minutes and always at least one working.



Re: pkg_add error: +CONTENTS does not exist

2008-11-05 Thread Marc Espie
On Wed, Nov 05, 2008 at 07:05:56PM +0100, Louis V. Lambrecht wrote:
 Stuart Henderson wrote:
 On 2008-11-05, Chris [EMAIL PROTECTED] wrote:
   
 I been updating packages from 4.3 to 4.4 but my box rebooted due to a
 power outage and now I'm getting the following error while updating
 packages:

 Warning: couldn't read packing-list from installed package jasper-1.900.1
 File /var/db/pkg/jasper-1.900.1/+CONTENTS does not exist
 /usr/sbin/pkg_add: Can't locate jasper-1.900.1

 (pkg_add -ui -F update -F updatedepends)

 I cd to /var/db/pkg/jasper-1.900.1/ and the directory is empty.

 Thanks for any help.


Oops, looks like I forgot to document some stuff.

There is some experimental code in pkg_add to take care of that: 
remove the /var/db/pkg/jasper-* directory, and try
adding jasper again, in interactive mode.

With luck, it will tell you there are collisions with files not found
in any package, but which match exactly with jasper, and then it will attempt
to repair the situation: that is, it will extract again the package, and
scan all the forward dependencies and restore the missing links.



Re: pkg_add error: +CONTENTS does not exist

2008-11-05 Thread Louis V. Lambrecht

Send to: misc@, not me ;-)
Happens to me all the time.


Marc Espie wrote:

On Wed, Nov 05, 2008 at 07:05:56PM +0100, Louis V. Lambrecht wrote:
  

Stuart Henderson wrote:


On 2008-11-05, Chris [EMAIL PROTECTED] wrote:
  
  

I been updating packages from 4.3 to 4.4 but my box rebooted due to a
power outage and now I'm getting the following error while updating
packages:

Warning: couldn't read packing-list from installed package jasper-1.900.1
File /var/db/pkg/jasper-1.900.1/+CONTENTS does not exist
/usr/sbin/pkg_add: Can't locate jasper-1.900.1

(pkg_add -ui -F update -F updatedepends)

I cd to /var/db/pkg/jasper-1.900.1/ and the directory is empty.

Thanks for any help.




Oops, looks like I forgot to document some stuff.

There is some experimental code in pkg_add to take care of that: 
remove the /var/db/pkg/jasper-* directory, and try

adding jasper again, in interactive mode.

With luck, it will tell you there are collisions with files not found
in any package, but which match exactly with jasper, and then it will attempt
to repair the situation: that is, it will extract again the package, and
scan all the forward dependencies and restore the missing links.




Re: pkg_add error: +CONTENTS does not exist

2008-11-05 Thread Chris
On Wed, Nov 5, 2008 at 3:37 PM, Marc Espie [EMAIL PROTECTED] wrote:
 On Wed, Nov 05, 2008 at 07:05:56PM +0100, Louis V. Lambrecht wrote:
 Stuart Henderson wrote:
 On 2008-11-05, Chris [EMAIL PROTECTED] wrote:

 I been updating packages from 4.3 to 4.4 but my box rebooted due to a
 power outage and now I'm getting the following error while updating
 packages:

 Warning: couldn't read packing-list from installed package jasper-1.900.1
 File /var/db/pkg/jasper-1.900.1/+CONTENTS does not exist
 /usr/sbin/pkg_add: Can't locate jasper-1.900.1

 (pkg_add -ui -F update -F updatedepends)

 I cd to /var/db/pkg/jasper-1.900.1/ and the directory is empty.

 Thanks for any help.


 Oops, looks like I forgot to document some stuff.

 There is some experimental code in pkg_add to take care of that:
 remove the /var/db/pkg/jasper-* directory, and try
 adding jasper again, in interactive mode.

 With luck, it will tell you there are collisions with files not found
 in any package, but which match exactly with jasper, and then it will attempt
 to repair the situation: that is, it will extract again the package, and
 scan all the forward dependencies and restore the missing links.

Thank you all for your help. I have checked every single package
directory under /var/db/pkg/ to find the ones that are empty and
deleted them; I took notes of the package directories that I deleted
and installed those packages with pkg_add -iv package_name (seven in
total) - at the time of the installation I was asked whether I want to
resolve any conflict. After that, I just did the usual pkg_add -ui -F
update -F updatedepends to update all the packages.



Re: pkg_add error

2008-11-04 Thread Christer Solskogen
Gregory Edigarov wrote:

 What gives? Is this a problem on my side?
 

Try another mirror. ftp.openbsd.org is probably hammered.

-- 
chs



Re: pkg_add error

2008-11-04 Thread Stuart Henderson
On 2008-11-04, Gregory Edigarov [EMAIL PROTECTED] wrote:
 While running  pkg_add -u -F updatedenpends:

updatedepends, not
updatedenpends

 - Cut -
 Verifying dependencies still match for kdelibs-3.5.8p3, kdebase-3.5.8p1
 Can't update forward dependency of kdelibs-3.5.8p3 on OpenEXR-1.2.2p3: 
 ilmbase-1.0.1p2 doesn't match (use -F updatedepends to force it)
 Can't update OpenEXR-1.2.2p3 into ilmbase-1.0.1p2
 Error from 
 ftp://ftp.openbsd.org//pub/OpenBSD/4.4/packages/i386/ilmbase-1.0.1p2.tgz:
 ftp: -: short write
 421 Service not available, remote server has closed connection.
 /usr/sbin/pkg_add: ilmbase-1.0.1p2:Fatal error
 ---  Cut -

 What gives? Is this a problem on my side?



pkg_add error

2008-11-04 Thread Gregory Edigarov

While running  pkg_add -u -F updatedenpends:
- Cut -
Verifying dependencies still match for kdelibs-3.5.8p3, kdebase-3.5.8p1
Can't update forward dependency of kdelibs-3.5.8p3 on OpenEXR-1.2.2p3: 
ilmbase-1.0.1p2 doesn't match (use -F updatedepends to force it)

Can't update OpenEXR-1.2.2p3 into ilmbase-1.0.1p2
Error from 
ftp://ftp.openbsd.org//pub/OpenBSD/4.4/packages/i386/ilmbase-1.0.1p2.tgz:

ftp: -: short write
421 Service not available, remote server has closed connection.
/usr/sbin/pkg_add: ilmbase-1.0.1p2:Fatal error
---  Cut -

What gives? Is this a problem on my side?

--
With best regards,
Gregory Edigarov



pkg_add error: +CONTENTS does not exist

2008-11-04 Thread Chris
I been updating packages from 4.3 to 4.4 but my box rebooted due to a
power outage and now I'm getting the following error while updating
packages:

Warning: couldn't read packing-list from installed package jasper-1.900.1
File /var/db/pkg/jasper-1.900.1/+CONTENTS does not exist
/usr/sbin/pkg_add: Can't locate jasper-1.900.1

(pkg_add -ui -F update -F updatedepends)

I cd to /var/db/pkg/jasper-1.900.1/ and the directory is empty.

Thanks for any help.



Help on pkg_add error

2005-10-29 Thread PARAMVIR DHINDSA
  29.10.2005
Dear Sir,

Whenever I give command of pkg_add , I get the error
as:

#pkg_add gnome-desktop-2.8.1.tgz
gnome-desktop-2.8.1: Can't find libiconv-1.9.2
/usr/sbin/pkg_add: libiconv-1.9.2: Fatal error.

I'm unable to resolve the error. Can sb tell me the
reason for the above error. 

Email-ID:[EMAIL PROTECTED]
**
Dmesg is as under:

OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST
2005
   
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) CPU 2.66GHz (GenuineIntel
686-class) 2.67 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,PNI,MWAIT,CNXT-ID
real mem  = 125345792 (122408K)
avail mem = 107745280 (105220K)
using 1555 buffers containing 6369280 bytes (6220K) of
memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(90) BIOS, date 01/25/05,
BIOS32 rev. 0 @ 0xfbc30
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xf/0xdf54
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde80/192
(10 entries)
pcibios0: PCI Exclusive IRQs: 3 5 9 10 11
pcibios0: PCI Interrupt Router at 000:31:0 (Intel
82371SB ISA rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xb200!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82845G/GL rev
0x03
vga1 at pci0 dev 2 function 0 Intel 82845G/GL Video
rev 0x03: aperture at 0xe000, size 0x800
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 Intel 82801DB USB
rev 0x02: irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 Intel 82801DB USB
rev 0x02: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 Intel 82801DB USB
rev 0x02: irq 9
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 Intel 82801DB USB
rev 0x02: irq 11
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0
uhci1 uhci2
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00,
addr 1
uhub3: single transaction translator
uhub3: 6 ports with 6 removable, self powered
ppb0 at pci0 dev 30 function 0 Intel 82801BA AGP rev
0x82
pci1 at ppb0 bus 1
vendor ATT/Lucent, unknown product 0x048c (class
communications subclass miscellaneous, rev 0x03) at
pci1 dev 10 function 0 not configured
rl0 at pci1 dev 12 function 0 Realtek 8139 rev 0x10:
irq 11 address 00:11:09:fa:ea:ad
rlphy0 at rl0 phy 0: RTL internal phy
ichpcib0 at pci0 dev 31 function 0 Intel 82801DB LPC
rev 0x02
pciide0 at pci0 dev 31 function 1 Intel 82801DB IDE
rev 0x02: DMA, channel 0 configured to compatibility,
channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: WDC WD400BB-00JHA0
wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: ASUS, CRW-4832AS, 0.67
SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
Intel 82801DB SMBus rev 0x02 at pci0 dev 31 function
3 not configured
auich0 at pci0 dev 31 function 5 Intel 82801DB AC97
rev 0x02: irq 5, ICH4 AC97
ac97: codec id 0x414c4780 (Avance Logic ALC658)
ac97: codec features 20 bit DAC, 18 bit ADC, No 3D
Stereo
audio0 at auich0
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux 1 ignored for console): console
keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lm0 at isa0 port 0x290/8: W83627THF
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte
fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 2.88MB 80 cyl, 2 head, 36 sec
biomask ef4d netmask ef4d ttymask ffcf
pctr: user-level cycle counter enabled
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302



Re: Help on pkg_add error

2005-10-29 Thread steven mestdagh
On Sat, Oct 29, 2005 at 11:47:45AM -0700, PARAMVIR DHINDSA wrote:
 #pkg_add gnome-desktop-2.8.1.tgz
 gnome-desktop-2.8.1: Can't find libiconv-1.9.2
 /usr/sbin/pkg_add: libiconv-1.9.2: Fatal error.

what is your PKG_PATH variable set to?

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



Re: Help on pkg_add error

2005-10-29 Thread Darrin Chandler

PARAMVIR DHINDSA wrote:


 29.10.2005
Dear Sir,

Whenever I give command of pkg_add , I get the error
as:

#pkg_add gnome-desktop-2.8.1.tgz
gnome-desktop-2.8.1: Can't find libiconv-1.9.2
/usr/sbin/pkg_add: libiconv-1.9.2: Fatal error.

I'm unable to resolve the error. Can sb tell me the
reason for the above error. 

 



I had similar trouble with libiconv-1.9.2. Best bet as far as I know is 
to download and pkg_add libiconv seperately, before trying gnome-desktop 
again. You may or may not have to deal with a partial- package laying 
around.


Hopefully someone else here can offer you more and better advice.

--
Darrin Chandler
[EMAIL PROTECTED]
http://www.stilyagin.com/



openbsd 3.7 pkg_add error

2005-09-02 Thread shadrock
hi
i am having trouble installing a few of the packages from 3.7
postgresql,aide,syslog-ng all pkg_add fine
but
LPRng,gawk,tcpcat all return with errors 
when i pkg_add LPRng it returns the following :-

pkg_add ftp://ftp.openbsd.org/pub/OpenBSD/3.7/packages/i386/LPRng-3.8.21p0.t
gz
Can't find 
ftp://ftp.openbsd.org/pub/OpenBSD/3.7/packages/i386/LPRng-3.8.21p0.tgz
/usr/sbin/pkg_add: 
ftp://ftp.openbsd.org/pub/OpenBSD/3.7/packages/i386/LPRng-3.8.21p0.tgz:Fatal 
error

has anyone come across this problem and whats the solution

Shadrock

-
Email sent from www.ntlworld.com
Virus-checked using McAfee(R) Software 
Visit www.ntlworld.com/security for more information



Re: openbsd 3.7 pkg_add error

2005-09-02 Thread Adam Papai

[EMAIL PROTECTED] wrote:

hi
i am having trouble installing a few of the packages from 3.7
postgresql,aide,syslog-ng all pkg_add fine
but
LPRng,gawk,tcpcat all return with errors 
when i pkg_add LPRng it returns the following :-


pkg_add ftp://ftp.openbsd.org/pub/OpenBSD/3.7/packages/i386/LPRng-3.8.21p0.t
gz
Can't find 
ftp://ftp.openbsd.org/pub/OpenBSD/3.7/packages/i386/LPRng-3.8.21p0.tgz
/usr/sbin/pkg_add: 
ftp://ftp.openbsd.org/pub/OpenBSD/3.7/packages/i386/LPRng-3.8.21p0.tgz:Fatal 
error


$ pkgsh LPRng-3.8
LPRng-3.8.21p0.tgz
$ echo $PKG_PATH
ftp://ftp.de.openbsd.org/unix/OpenBSD/3.7/packages/i386/
$ alias pkgsh
pkgsh='echo nlist | ftp -a 
ftp://ftp.de.openbsd.org/unix/OpenBSD/3.7/packages/i386/ | sed '\''s/.*\ 
//g'\'' | grep -i'


Try to use other ftp servers.

--
Adam PAPAI
D i g i t a l Influence
E-mail: [EMAIL PROTECTED]
Phone: +36 30 33-55-735