DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 31st July 2012
barti barti is offline
Shell Scout
 
Join Date: Jul 2012
Posts: 122
Thanked 0 Times in 0 Posts
Default can't install nano

# pkg_add -r nano
--- nano-2.2.6 -------------------
nano-2.2.6 is not for the right architecture



# nano
ksh: nano: not found
#
Reply With Quote
  #2   (View Single Post)  
Old 31st July 2012
barti barti is offline
Shell Scout
 
Join Date: Jul 2012
Posts: 122
Thanked 0 Times in 0 Posts
Default

this is on amd64 machine
rootbsd.net
------------------------------------
# export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/5.1/packages/amd64/
# pkg_add -r nano
nano-2.2.6:libiconv-1.14: ok
nano-2.2.6:gettext-0.18.1p1: ok
nano-2.2.6: ok
#
Reply With Quote
  #3   (View Single Post)  
Old 31st July 2012
barti barti is offline
Shell Scout
 
Join Date: Jul 2012
Posts: 122
Thanked 0 Times in 0 Posts
Default

The hard life of openbsd newbie.

Last edited by barti; 31st July 2012 at 05:35 PM.
Reply With Quote
  #4   (View Single Post)  
Old 31st July 2012
barti barti is offline
Shell Scout
 
Join Date: Jul 2012
Posts: 122
Thanked 0 Times in 0 Posts
Default

I didn't put the faces!!!!!!!!!!
Reply With Quote
  #5   (View Single Post)  
Old 31st July 2012
bmk1st bmk1st is offline
Port Guard
 
Join Date: May 2008
Posts: 25
Thanked 0 Times in 0 Posts
Default

Did you include X11 sets while installing OpenBSD? php-gd package requires X11 library.

I think you should start a new thread about your drupal & php issue. Your original topic is about the nano issue which you already have solved.
Reply With Quote
  #6   (View Single Post)  
Old 31st July 2012
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,638
Thanked 214 Times in 189 Posts
Default

The "not the right architecture" message only occurs if you have a mismatch between machine architecture and the architecture of the package. Usually, this is caused by using the wrong PKG_PATH variable. It appears you eventually figured that out.

The "-r" option to pkg_add is used when re-installing, as it requests a replacement of an installed package.
Reply With Quote
  #7   (View Single Post)  
Old 31st July 2012
gpatrick gpatrick is offline
Shell Scout
 
Join Date: Nov 2009
Posts: 116
Thanked 0 Times in 0 Posts
Default

This is in case you are mixing up FreeBSD and OpenBSD. FreeBSD would use `pkg_add -r <pkg>` but as jggimi indicated, not so on OpenBSD.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hardware VIA Announces the VIA Nano X2 Dual Core CPU vermaden News 11 6th January 2011 04:18 PM
How - To install GNOME vile I install OpenBSD ? looop OpenBSD Installation and Upgrading 6 24th April 2010 08:58 PM


All times are GMT. The time now is 12:54 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick