Re: portupgrade error

2007-11-01 Thread Norberto Meijome
On Wed, 31 Oct 2007 16:50:59 +0200
Petre Bandac <[EMAIL PROTECTED]> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> hallo
> 
> when portupgrading I have the following segfault
> 
> dell# portupgrade -Rr zsh
> /usr/local/lib/ruby/site_ruby/1.8/pkginfo.rb:67: [BUG] Segmentation fault
> ruby 1.8.6 (2007-09-24) [i386-freebsd6]
> 
> Abort (core dumped)
> 
> 
> there have been made no changes in the system in the last 6 months or
> even more
> 
> dell# uname -a
> FreeBSD dell.nsc.ro 6.1-RELEASE FreeBSD 6.1-RELEASE #1: Mon Dec 18
> 03:49:02 EET 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/DELL  i386
> dell#
> 
> 
> where should I look in order to solve the problem ?
> 

does pkgdb -Ff fix it ? (make a backup of your ports db first, just in case)

B

_
{Beto|Norberto|Numard} Meijome

"If you want to realize what a ridiculous word 'lifestyle' is, consider the 
fact that technically speaking, Attila the Hun had an  active, outdoor 
lifestyle."
  George Carlin

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Portupgrade error with multiple distinfo files

2007-06-06 Thread Kris Kennaway
On Thu, Jun 07, 2007 at 12:55:20PM +1000, Warren Liddell wrote:
> 
> >> ==>  Vulnerability check disabled, database not found
> >> => libXext-1.0.3.tar.gz is not in /usr/ports/x11/libXext/distinfo.
> >> => Either /usr/ports/x11/libXext/distinfo is out of date, or
> >> => libXext-1.0.3.tar.gz is spelled incorrectly.
> >> *** Error code 1
> >
> >You have an incomplete ports tree or some kind of local changes in
> >e.g. /etc/make.conf.
> >
> >Kris
> 
> 
> I havent changed anythng an i del my entire ports dir and re-cvsuped 
> it ... re-run portupgrade to have the same error. 

rot13# cvs -Rq update -PdA
rot13# make checksum
===>  Vulnerability check disabled, database not found
=> MD5 Checksum OK for xorg/lib/libXext-1.0.3.tar.bz2.
=> SHA256 Checksum OK for xorg/lib/libXext-1.0.3.tar.bz2.
rot13# cat distinfo
MD5 (xorg/lib/libXext-1.0.3.tar.bz2) = 1bf6fa1c26f9957d7cc0bd90b038dfa6
SHA256 (xorg/lib/libXext-1.0.3.tar.bz2) = 
2d706baf206d1cb422c8e0ceb6c5a8546bc3f0587cf090eba51e75a295d9c3f0
SIZE (xorg/lib/libXext-1.0.3.tar.bz2) = 262116

I can only repeat my suggestion that you look closer to home for the
source of your problem.

Kris

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


Re: Portupgrade error with multiple distinfo files

2007-06-06 Thread Warren Liddell



> ==>  Vulnerability check disabled, database not found
> => libXext-1.0.3.tar.gz is not in /usr/ports/x11/libXext/distinfo.
> => Either /usr/ports/x11/libXext/distinfo is out of date, or
> => libXext-1.0.3.tar.gz is spelled incorrectly.
> *** Error code 1

You have an incomplete ports tree or some kind of local changes in
e.g. /etc/make.conf.

Kris



I havent changed anythng an i del my entire ports dir and re-cvsuped 
it ... re-run portupgrade to have the same error. 


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


Re: Portupgrade error with multiple distinfo files

2007-06-06 Thread Kris Kennaway
On Thu, Jun 07, 2007 at 09:51:18AM +1000, Warren Liddell wrote:
> Quite a lrge portion of my packages are failing in portupgrade due to 
> either the ports distinfo file apparently being out of date OR the 
> pckage is spelt incorectly, when i had only just finished running a 
> CVS to update it all... Below is a snippet of an error with 1 of the ports.
> 
> ===
> 
> 
> ==>  Vulnerability check disabled, database not found
> => libXext-1.0.3.tar.gz is not in /usr/ports/x11/libXext/distinfo.
> => Either /usr/ports/x11/libXext/distinfo is out of date, or
> => libXext-1.0.3.tar.gz is spelled incorrectly.
> *** Error code 1

You have an incomplete ports tree or some kind of local changes in
e.g. /etc/make.conf.

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


Re: Portupgrade error

2007-01-18 Thread Jay Chandler

Got it sorted-- thanks for all who helped.

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


Re: Portupgrade error

2007-01-18 Thread Jay Chandler

George Vanev wrote:

Portupgrade is trying to add a group www with gid 80 which already exists.
Try "cat /etc/goup | grep 80" (without quotes) to see which group is
assigned gid 80.
Then you can take measures changing the gid of that group.
 
Regards

--
George Vanev
 


What's strange is that 80 is allocated for apache.  I've removed that 
line, and still encounter the same error.  Any thoughts?


Thanks, incidentally-- this one's kinda hairy.

--
Jay Chandler
Network Administrator, Chapman University
714.628.7249 / [EMAIL PROTECTED]
Today's Excuse: PEBKAC (Problem Exists Between Keyboard And Chair) 


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


Re: Portupgrade error

2007-01-18 Thread George Vanev

On 1/19/07, Jay Chandler <[EMAIL PROTECTED]> wrote:


How do I remove a group so that FreeBSD's ports tree doesn't see it as
already allocated?

I was upgrading using portupgrade, when Apache errored.  Error output
below:

--->  Build of www/apache22 ended at: Thu, 18 Jan 2007 13:31:18 -0800
(consumed 00:06:25)
--->  Updating dependency info
--->  Modifying /var/db/pkg/php5-5.2.0/+CONTENTS
--->  Modifying /var/db/pkg/php5-gettext-5.2.0/+CONTENTS
--->  Modifying /var/db/pkg/php5-mbstring-5.2.0/+CONTENTS
--->  Modifying /var/db/pkg/php5-mhash-5.2.0/+CONTENTS
--->  Modifying /var/db/pkg/php5-openssl-5.2.0/+CONTENTS
--->  Modifying /var/db/pkg/php5-pcre-5.2.0/+CONTENTS
--->  Modifying /var/db/pkg/php5-session-5.2.0/+CONTENTS
--->  Modifying /var/db/pkg/php5-xml-5.2.0/+CONTENTS
--->  Modifying /var/db/pkg/squirrelmail-1.4.9a/+CONTENTS
--->  Uninstallation of apache-2.2.3 started at: Thu, 18 Jan 2007
13:31:18 -0800
--->  Fixing up dependencies before creating a package
--->  Backing up the old version
--->  Uninstalling the old version
--->  Deinstalling 'apache-2.2.3'
--->  Preserving /usr/local/lib/libapr-1.so.2 as
/usr/local/lib/compat/pkg/libapr-1.so.2
--->  Preserving /usr/local/lib/libaprutil-1.so.2 as
/usr/local/lib/compat/pkg/libaprutil-1.so.2
pkg_delete: package 'apache-2.2.3' is required by these other packages
and may not be deinstalled (but I'll delete it anyway):
php5-5.2.0
===> If you plan to do not reinstall apache22, you can safely remove
/usr/local/etc/apache22.
[Updating the pkgdb  in /var/db/pkg ... - 43 packages
found (-1 +0) (...) done]
--->  Uninstallation of apache-2.2.3 ended at: Thu, 18 Jan 2007 13:31:46
-0800 (consumed 00:00:27)
--->  Installation of www/apache22 started at: Thu, 18 Jan 2007 13:31:46
-0800
--->  Installing the new version via the port
===>  Installing for apache-2.2.4
===>   apache-2.2.4 depends on file: /usr/local/lib/libcrypto.so.5 - found
===>   apache-2.2.4 depends on file: /usr/local/bin/perl5.8.8 - found
===>   apache-2.2.4 depends on shared library: expat.6 - found
===>   apache-2.2.4 depends on shared library: iconv.3 - found
pw: gid `80' has already been allocated
Adding group "www" failed...
*** Error code 1

Stop in /usr/ports/www/apache22.
*** Error code 1

Stop in /usr/ports/www/apache22.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade.70165.20 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=apache-2.2.3 UPGRADE_PORT_VER=2.2.3 make reinstall
--->  Updating dependency info
egrep: /var/db/pkg/apache-2.2.3/+CONTENTS: No such file or directory
--->  Restoring the old version
pw: gid `80' has already been allocated
Adding group "www" failed...
pkg_add: install script returned error status

--
Jay Chandler
Network Administrator, Chapman University
714.628.7249 / [EMAIL PROTECTED]
Today's Excuse: PEBKAC (Problem Exists Between Keyboard And Chair)

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



Portupgrade is trying to add a group www with gid 80 which already exists.
Try "cat /etc/goup | grep 80" (without quotes) to see which group is
assigned gid 80.
Then you can take measures changing the gid of that group.

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


Re: portupgrade error

2006-06-09 Thread Mikhail Goriachev
Aguiar Magalhaes wrote:
> Hi list,
> 
> I'm updating the Free 5.3 to Free 6.1. I've used the
> sequence:
> 
> cvsup -g -L 2 freebsd.sup
> mergemaster -p
> mergemaster
> cd /usr/src
> make buildworld
> make installworld
> cd /usr/src/sys/i386/conf
> config MYKERNEL
> make cleandepend
> make depend
> make
> make install
> make clean
> 
> portupgrade -a -m BATCH=yes
> 
> The portupgrade command doesn't work well (file
> existent, rugby error, etc). Is the sequence ok ?? 
> Anything else ??


Hmm... your sequence is a bit weird. You should check:

/usr/src/Makefile

Also have a look at this:

http://mikestammer.com/dokuwiki/doku.php?id=updateos

Cheers,
Mikhail.


-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade error

2005-07-21 Thread Olivier Certner
Hi,

You may be facing the same problem as I did a few days ago. Please see 
my 
previous post at:
http://www.mail-archive.com/freebsd-hackers%40freebsd.org/msg52283.html
for a quick (and dirty?) solution.

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


Re: portupgrade error [cannot convert nil into String (PkgDB::DBError)]

2005-07-09 Thread paul beard


On Jul 9, 2005, at 6:01 AM, Kris Kennaway wrote:


Did you read /usr/ports/UPDATING?



The last change I found mentioned the use of libc and the  
PORTSDB_DRIVER. I made that change ages ago and have tried the other  
variants to get around this.




--
Paul Beard
contact info: www.paulbeard.org/paulbeard.vcf

Are you trying to win an argument or solve a problem?

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


Re: portupgrade error [cannot convert nil into String (PkgDB::DBError)]

2005-07-09 Thread Kris Kennaway
On Fri, Jul 08, 2005 at 03:48:40PM -0700, paul beard wrote:
> I am having some problems with portupgrade. The error message is "/ 
> usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:322:in `deorigin': " (more  
> below). I see there have been isolated occurrences of this in June of  
> 2003 and 2004, curiously, but I haven't found the solutions there to  
> work. Removing the ports tree and re-fetching it, removing and  
> rebuilding pkgdb, removing and reinstalling portupgrade/ruby, etc,  
> even building a new kernel and world, seem ineffective.

Did you read /usr/ports/UPDATING?

Kris


pgpbuRY3wIe4w.pgp
Description: PGP signature


Re: Portupgrade error

2004-09-20 Thread Giovanni P. Tirloni
Mike Jarsulic wrote:
> I am getting the following error while running portupgrade:
>
> # portupgrade -arC
> [Updating the pkgdb  in /var/db/pkg ... - 302
> packages found(-0 +5) . done]
> /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:323:in `deorigin': cannot
> convert nil into String (PkgDB::DBError)
[...]
> Has anyone seen this before and have any suggestions to fix it?
I ran into the same problem sometime ago and IIRC it was because of a 
Ruby update. You can try to pkg_delete portupgrade and install it again, 
it worked for me.

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


Re: portupgrade error?

2004-03-21 Thread Vulpes Velox
On Sun, 21 Mar 2004 00:57:34 -0500
"Ralph M. Los" <[EMAIL PROTECTED]> wrote:

> Has anyone ever had this problem:
> 
> [EMAIL PROTECTED]>portupgrade mozilla-devel
> /usr/local/sbin/portupgrade:35:in `require': No such file to load --
> pkgtools (LoadError)
> from /usr/local/sbin/portupgrade:35

Try rebuilding the pkgdb first, iirc that will some times cuase an
error like that. You want to rebuild it in fix it.

If that does not fix it, reinstall the port... There is one update
depending on what you have installed, that iirc, will also cuase an
error like that.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade error?

2004-03-20 Thread Kris Kennaway
On Sun, Mar 21, 2004 at 12:57:34AM -0500, Ralph M. Los wrote:
> Has anyone ever had this problem:
> 
> [EMAIL PROTECTED]>portupgrade mozilla-devel
> /usr/local/sbin/portupgrade:35:in `require': No such file to load -- pkgtools 
> (LoadError)
> from /usr/local/sbin/portupgrade:35
> 
> 
> I can't seem to figure it out.  Any pointers would be great!

Did you update portupgrade following /usr/ports/UPDATING?

Kris


pgp0.pgp
Description: PGP signature