LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 12-04-2005, 05:33 PM   #1
t3ch
LQ Newbie
 
Registered: Jun 2005
Location: Denmark
Distribution: Debian 5
Posts: 23

Rep: Reputation: 2
FreeBSD 6.0 - error code #1


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.
 
Old 12-04-2005, 05:42 PM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 70
Its already installed as the error message states.
 
Old 12-04-2005, 05:47 PM   #3
t3ch
LQ Newbie
 
Registered: Jun 2005
Location: Denmark
Distribution: Debian 5
Posts: 23

Original Poster
Rep: Reputation: 2
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 05:49 PM.
 
Old 12-05-2005, 09:21 AM   #4
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,401

Rep: Reputation: 104Reputation: 104
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 01:37 AM
Why can't FreeBSD compile anything from source code? mortal *BSD 5 03-21-2005 07:49 PM
LPRng error 'NONZERO RFC1179 ERROR CODE FROM SERVER' ivanscheers Linux - Networking 0 10-11-2004 02:50 AM
Synaptic error: "sub-process /usr/bin/dpkg returned an error code (2)" firefly2442 Linux - Software 3 02-04-2004 06:41 PM
FreeBSD install error!! nub47 *BSD 4 12-29-2003 08:10 PM


All times are GMT -5. The time now is 01:50 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration