header pictures for dedicated hosting services header image of world
Guests Visit the FreeBSD Forums  •  Login to the FreeBSD Forums  •  Register for FREE

Pb installing package from ports on 5.1

Author
Thread       
Frede
Package Ape

Registered: May 2003
Location:
Posts: 154

 

Pb installing package from ports on 5.1

Hi,

I have a little problem, i am not anymore, able to install any packages from ports ....
For exemple, if i try to install Gringrotts:

/usr/bin/sed -i.bak -E "s|^(libgringottsdocdir =).*|\1 $\(datadir\)/doc/libgringotts|" /usr/ports/security/libgringotts/work/libgringotts-1.2.1/docs/Makefile /usr/ports/security/libgringotts/work/libgringotts-1.2.1/Makefile
===> Generating temporary packing list
===> Checking if security/libgringotts already installed
*** Error code 1

Stop in /usr/ports/security/libgringotts.
*** Error code 1

Stop in /usr/ports/security/gringotts.

Or if i want to install nologinmsg :

bash-2.05b$ sudo make install
===> Installing for nologinmsg-1.0
/bin/mkdir -p /usr/local/etc/nologinmsgs
===> Generating temporary packing list
===> Checking if shells/nologinmsg already installed
*** Error code 1

Stop in /usr/ports/shells/nologinmsg.


I do not understant what happen ??
Any idea ??

Thx


 

Report this post to a moderator | IP: Logged

10-15-2003 08:00 AM
 
entity
Hot Sysinstaller

Registered: Aug 2003
Location: sweden
Posts: 886

 

regenerate the pkg database.. have a ball learning by reading

 

__________________
http://www.cryptobeacon.net/
openbsd seems to be the only OS i get along with..

 

10-15-2003 02:50 PM
Report this post to a moderator | IP: Logged
Frede
Package Ape

Registered: May 2003
Location:
Posts: 154

 

 

pkgdb -F ?? i already did it, because i am learning by reading ... too

10-15-2003 03:45 PM
Report this post to a moderator | IP: Logged
phoenix
Moderator

Registered: Apr 2002
Location: Kamloops, BC, Canada
Posts: 4866

 

Search the forums. This issue has been addresses several times in the past month.

 

__________________
Places to visit when you are stuck: The Handbook, The FAQ, man pages, mailing list archives, and the web.

10-15-2003 04:57 PM
Report this post to a moderator | IP: Logged
Frede
Package Ape

Registered: May 2003
Location:
Posts: 154

 

 

I did a search, i found this post : http://www.freebsdforums.org/forums/showthread.php?s=&threadid=13487&highlight=pkgdb
but there no answer there ...
that's exactly the same pb ....

Thx

10-15-2003 03:45 PM
Report this post to a moderator | IP: Logged
phoenix
Moderator

Registered: Apr 2002
Location: Kamloops, BC, Canada
Posts: 4866

 

There are at least three other threads on this subject.

There is an issue with the new ports command pkg_create -O that checks whether the port is already installed or not. There were issues with FreeBSD versions < 4.7 and some people have had problems on 5.x.

What is the exact version of FreeBSD you are using (output of uname -r)?? And how recently have you updated the ports tree?

 

__________________
Places to visit when you are stuck: The Handbook, The FAQ, man pages, mailing list archives, and the web.

 

10-16-2003 05:00 PM
Report this post to a moderator | IP: Logged
Frede
Package Ape

Registered: May 2003
Location:
Posts: 154

 

 

I am working on FreeBSD 5.1-RELEASE.
And i update my ports regularly with cvsup.

Thx

10-16-2003 05:04 PM
Report this post to a moderator | IP: Logged
hadeshorn
BSD n00b

Registered: Dec 2002
Location:
Posts: 22

 

 

I'd use portsbd -Uu. I use it everytime i cvsup. works fine on 5.1

 

10-16-2003 05:15 PM
Report this post to a moderator | IP: Logged
Frede
Package Ape

Registered: May 2003
Location:
Posts: 154

 

 

Hum big problem here ....
If i am doing an portsdb -Uu on ttyv1 (console) that's freezing, and i can see on ttyv0 :

Slab at 0xc4b5efcc, freei 25 =0
panic: Duplicate free of item 0xc4b5ee74 from zone 0xc083a360(VM OBJECT)
Debugger ("panic")
Stopped at Debugger+0x4d: xchgl %ebx, in_debugger.0
db>

Hum any idea ??
Thx

-16-2003 06:51 PM
Report this post to a moderator | IP: Logged
hadeshorn
BSD n00b

Registered: Dec 2002
Location:
Posts: 22

 

 

 

quote:
Originally posted by Frede
Debugger ("panic")
Stopped at Debugger+0x4d: xchgl %ebx, in_debugger.0
db>



What debugging options do you have turned on?
10-16-2003 06:51 PM
Report this post to a moderator | IP: Logged
Frede
Package Ape

Registered: May 2003
Location:
Posts: 154

 

 

no one, because i had to reboot it (freezing) ....But if you have any idea ....

10-16-2003 07:39 PM
Report this post to a moderator | IP: Logged
hadeshorn
BSD n00b

Registered: Dec 2002
Location:
Posts: 22

 

 

 

Have you modified your KERNEL to include debugging? when was the last time you updated the source? Next time it Panics at the db> prompt type trace and post the output. If you are running -current try RELENG_5_1 it is more stable.

Last edited by hadeshorn on 10-16-2003 at 07:57 PM


110-16-2003 07:44 PM
Report this post to a moderator | IP: Logged
Frede
Package Ape

Registered: May 2003
Location:
Posts: 154

 

 

i just check my kernel configuration, i did not include any debugging option, which options should i use ? ACPI_DEBUG , WLDEBUG, .....
I updated my source one month ago.

Thx

10-16-2003 08:08
Report this post to a moderator | IP: Logged
hadeshorn
BSD n00b

Registered: Dec 2002
Location:
Posts: 22

 

 

 

From the error i would say the gdb IS running. Is this -current (i.e. does your source supfile use the "*default tag=."line)? if so do you have a reason to use current? Current is mostly for developers and should be avoided as it may work fine one hour and not the next. try "*default tag=RELENG_5_1" in your src_supfile. That is more stable than current and has less debugging turned on by default.
10-16-2003 08:18 PM
Report this post to a moderator | IP: Logged
Frede
Package Ape

Registered: May 2003
Location:
Posts: 154

 

 

My cvsup file:
*default host=cvsup.fr.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_5_1_0
*default delete use-rel-suffix

# If your network link is a T1 or faster, comment out the following line.
*default compress

## Main Source Tree.
#
# The easiest way to get the main source tree is to use the "src-all"
# mega-collection. It includes all of the individual "src-*" collections.
src-all

I am working on 5.1-RELEASE.

Thx for your help

10-16-2003 08:29 PM
Report this post to a moderator | IP: Logged

 

 

 

Looking for our FreeBSD Forums? We have moved them off our main page,just follow the link to our FreeBSD Forums page.


Copyright © 2009, WEBSERVER CONSUMER GUIDE

Privacy Policy

Please note:
(1) FreeBSD is a registered trademark of The FreeBSD Foundation.
(2) WEBSERVER CONSUMER GUIDE is in no way affiliated with The FreeBSD Foundation