LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Thread Tools
Old 12-04-2005, 06:33 PM   #1
t3ch
LQ Newbie
 
Registered: Jun 2005
Location: Denmark
Distribution: Fedora Core 7 - Gnome
Posts: 14
Thanked: 0
FreeBSD 6.0 - error code #1


[Log in to get rid of this advertisement]
I have downloadet wget with ports.
Make works fine, but when i try to intall (Make install)
i get error code #1 :/

===> Installing for wget-1.10_2
===> wget-1.10_2 depends on shared library: intl - found
===> Generating temporary packing list
===> Checking if ftp/wget already installed
===> wget-1.10_2 is already installed
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of ftp/wget
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/ftp/wget.



I have tried to update the time
[ http://www.freebsddiary.org/badtime.php ]

And removed -0 in the pkg_info command /usr/ports/Mk/bsd.port.mk
[ http://lists.freebsd.org/pipermail/f...st/002847.html ]



Still got the problem... Please help.
t3ch is offline     Reply With Quote
Old 12-04-2005, 06:42 PM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,294
Thanked: 13
Its already installed as the error message states.
reddazz is offline     Reply With Quote
Old 12-04-2005, 06:47 PM   #3
t3ch
LQ Newbie
 
Registered: Jun 2005
Location: Denmark
Distribution: Fedora Core 7 - Gnome
Posts: 14
Thanked: 0

Original Poster
Yup, but when i try to deinstall i get:

Stop in /usr/ports/ftp/wget.
bsd# make deinstall
===> Deinstalling for ftp/wget
pkg_info: illegal option -- 0
usage: pkg_info [-bcdDEfgGiIjkLmopPqQrRsvVxX] [-e package] [-l prefix]
[-t template] -a | pkg-name ...
pkg_info [-qQ] -W filename
pkg_info [-qQ] -O origin
pkg_info
*** Error code 1

Stop in /usr/ports/ftp/wget.




Hmm.. now wget works probably (weird!), but can't deinstall as said above.

Last edited by t3ch; 12-04-2005 at 06:49 PM..
t3ch is offline     Reply With Quote
Old 12-05-2005, 10:21 AM   #4
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Centos
Posts: 1,060
Thanked: 3
If it was installed from ports then something like..
Code:
pkg_delete wget-1.10_2
http://www.freebsd.org/cgi/man.cgi?q...ts&format=html

You can find which ports are installed with
Code:
pkg_info | less
http://www.freebsd.org/cgi/man.cgi
teckk is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
User Preferences: Use HTML code instead of vB code? (vB code is overrated) stefanlasiewski LQ Suggestions & Feedback 5 07-26-2005 02:37 AM
Why can't FreeBSD compile anything from source code? mortal *BSD 5 03-21-2005 08:49 PM
LPRng error 'NONZERO RFC1179 ERROR CODE FROM SERVER' ivanscheers Linux - Networking 0 10-11-2004 03:50 AM
Synaptic error: "sub-process /usr/bin/dpkg returned an error code (2)" firefly2442 Linux - Software 3 02-04-2004 07:41 PM
FreeBSD install error!! nub47 *BSD 4 12-29-2003 09:10 PM


All times are GMT -5. The time now is 06:28 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration