Re: Cannot install any port

2003-07-28 Thread Matthew Hunt
On Sat, Jul 26, 2003 at 12:27:03AM -0500, Dan Nelson wrote:

 You sure?  Are you failing with this error:
 
  ===  Checking if portd/portname already installed
  *** Error code 1
 
 This is almost certainly caused by an old pkg_info command that does
 not understand -O.  To disprove me:

As I've posted before, the problem is not always as simple as it's made
out to be.  When I upgraded to 4.8-STABLE, I still got that error.  It
was because of a corrupt directory in /var/pkg/db, which was causing
pkg_info -O to abort before finishing.  Running the failing pkg_info -O
whatever command by hand made the problem visible, and I deleted the
bad directory.

-- 
Matthew Hunt [EMAIL PROTECTED] * Clearly there are more things in the
http://www.pobox.com/~mph/   * heavens than anyone anticipated. -enp
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot install any port

2003-07-26 Thread Leonardo Lazarte
Dear Dan, thanks for your message. I cannot reply directly.
Your mail provider, allantgroup.com, blocks any mail arriving
from Brazil.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot install any port

2003-07-26 Thread Matthew Seaman
On Sat, Jul 26, 2003 at 02:59:29AM -0300, Leonardo Lazarte wrote:

Thanks for your suggestion. Unfortunately, I update automatically
 my ports, so I don't know where I could find an old version of
 bsd.port.mk.

I believe that the troublesome 'pkg_info -O' usage was intoduced in
bsd.port.mk 1.455, so you should be able to use 1.454 as a stop-gap
until the official patches come through.  You can download what you
need from:


http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.port.mk?rev=1.454content-type=text/x-cvsweb-markup

Note that at least one usage of 'pkg_info -O' existed in bsd.port.mk
back as far as version 1.424, which dates back to September 2002.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Cannot install any port

2003-07-25 Thread Tom Kraus
Please help,

when I try to install any port, everything is looking OK, but after
while I got message like this:

===  Checking if net/apinger already installed
*** Error code 1

Stop in /usr/ports/net/apinger.

===  Checking if databases/mysql40-client already installed
*** Error code 1

Stop in /usr/ports/databases/mysql40-client.

Where could be problem?

Petr

__
Reklama:
Sexy leto naplno!  Jednodenni kontaktn cocky Focus Dailies. Akcni nabidka! 
http://ad2.seznam.cz/redir.cgi?instance=57292%26url=http://www.cz.cibavision.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot install any port

2003-07-25 Thread Leonardo Lazarte

Dear Tom,

   Unfortunately you have found a problem which those
in the know prefer to ignore.

   The ports system has been broken with the last
upgrade, and many of us which have found the same
problem could not find a solution.

   It has been suggested by some that you could copy
pkg_info from some newer version. Other person suggested
re-building pkg_install (in fact, it was incorrectly
suggested to build pkg_info), after cvsuping src.

   I tried both, with no luck.

   I will go the hard way, re-installing the system, with
a new version.

   As a side note, I mentioned that I have been using
FreeBSD for a decade (of course a rough estimate), and
have been corrected by very knowledgeble (sp?) people
in opposite directions. One said that FreeBSD was not
yet ten years old, other said it was ten years three
months. But still no help with a solution.

   Regards,
   Leonardo

Tom Kraus wrote:
 when I try to install any port, everything is looking OK, but after
 while I got message like this:

 ===  Checking if net/apinger already installed
 *** Error code 1

 Stop in /usr/ports/net/apinger.

 ===  Checking if databases/mysql40-client already installed
 *** Error code 1

 Stop in /usr/ports/databases/mysql40-client.

 Where could be problem?

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot install any port

2003-07-25 Thread Joe Marcus Clarke
On Sat, 26 Jul 2003, Leonardo Lazarte wrote:


 Dear Tom,

Unfortunately you have found a problem which those
 in the know prefer to ignore.

This is not true.  Patches to fix this problem are currently being tested
on the ports build cluster.  I am also testing an alternate set of
patches.


The ports system has been broken with the last
 upgrade, and many of us which have found the same
 problem could not find a solution.

Only for older versions of FreeBSD.  FreeBSD 4.7 and greater do not have
this problem.


It has been suggested by some that you could copy
 pkg_info from some newer version. Other person suggested
 re-building pkg_install (in fact, it was incorrectly
 suggested to build pkg_info), after cvsuping src.


Assuming that was done correctly, it should have worked.  You would have
needed to cvsup a version of pkg_install that had -O support for pkg_info.

I tried both, with no luck.

I will go the hard way, re-installing the system, with
 a new version.

There are other options that were enumerated on this list as well as
[EMAIL PROTECTED]  You could have reverted bsd.port.mk to an earlier version where
pkg_info -O was not used.

Joe


As a side note, I mentioned that I have been using
 FreeBSD for a decade (of course a rough estimate), and
 have been corrected by very knowledgeble (sp?) people
 in opposite directions. One said that FreeBSD was not
 yet ten years old, other said it was ten years three
 months. But still no help with a solution.

Regards,
Leonardo

 Tom Kraus wrote:
  when I try to install any port, everything is looking OK, but after
  while I got message like this:
 
  ===  Checking if net/apinger already installed
  *** Error code 1
 
  Stop in /usr/ports/net/apinger.
 
  ===  Checking if databases/mysql40-client already installed
  *** Error code 1
 
  Stop in /usr/ports/databases/mysql40-client.
 
  Where could be problem?

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]



PGP Key : http://www.marcuscom.com/pgp.asc
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot install any port

2003-07-25 Thread Dan Nelson
In the last episode (Jul 26), Leonardo Lazarte said:
Unfortunately you have found a problem which those in the know
 prefer to ignore.

The ports system has been broken with the last upgrade, and many
 of us which have found the same problem could not find a solution.

Hm?  I've seen lots of responses explaining the problem and multiple
solutions (upgrade system to 4.7 or later, upgrade pkg_* tools).  You
are running an old version of FreeBSD which the ports tree no longer
supports (although someone mentioned they were looking at a workaround,
I think).
 
It has been suggested by some that you could copy pkg_info from
 some newer version.  Other person suggested re-building pkg_install
 (in fact, it was incorrectly suggested to build pkg_info), after
 cvsuping src.

Building and installing in /usr/src/pkg_install installs pkg_add,
pkg_check, pkg_create, pkg_delete, pkg_info, pkg_sign, and pkg_version. 
 
I tried both, with no luck.

You sure?  Are you failing with this error:

 ===  Checking if portd/portname already installed
 *** Error code 1

This is almost certainly caused by an old pkg_info command that does
not understand -O.  To disprove me:

cd /usr/ports/devel/portlint 
ktrace -di make install
kdump | tail -60

and let us see those 60 lines, plus the output of pkg_info -O and
ident /usr/sbin/pkg_info | grep info

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot install any port

2003-07-25 Thread Leonardo Lazarte
On Sat, 26 Jul 2003, Joe Marcus Clarke wrote:

 On Sat, 26 Jul 2003, Leonardo Lazarte wrote:
 Unfortunately you have found a problem which those
  in the know prefer to ignore.

On Sat, 26 Jul 2003, Joe Marcus Clarke wrote:
 This is not true.  Patches to fix this problem are currently being tested
 on the ports build cluster.  I am also testing an alternate set of
 patches.

   My apologies, I shouldn't generalize. Some people replied
in the following lines your system is old, you are lucky it
is working, or the solution is so simple it does not deserve
to be mentioned.

   After seeing, in this and other lists, several people like me,
trying to find what was happening, I thought it would be helpful
if someone could post a fix (if available, even if a dirty
solution).

 The ports system has been broken with the last
  upgrade, and many of us which have found the same
  problem could not find a solution.

 Only for older versions of FreeBSD.  FreeBSD 4.7 and greater do not have
 this problem.

   Yes, that seems to be the case. And of couse there are
many people using old versions. Myself, I am still using 3.4
on some older machines due to hardware incompatibility with
newer versions.

 It has been suggested by some that you could copy
  pkg_info from some newer version. Other person suggested
  re-building pkg_install (in fact, it was incorrectly
  suggested to build pkg_info), after cvsuping src.

 Assuming that was done correctly, it should have worked.  You would have
 needed to cvsup a version of pkg_install that had -O support for pkg_info.

 I tried both, with no luck.
 
 I will go the hard way, re-installing the system, with
  a new version.

 There are other options that were enumerated on this list as well as
 [EMAIL PROTECTED]  You could have reverted bsd.port.mk to an earlier version where
 pkg_info -O was not used.

   Thanks for your suggestion. Unfortunately, I update automatically
my ports, so I don't know where I could find an old version of
bsd.port.mk.

   Regards,
   Leonardo

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]