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 11th September 2011
desreguard desreguard is offline
Port Guard
 
Join Date: May 2011
Posts: 11
Thanked 0 Times in 0 Posts
Default Installing MySQL package

Hey all I'm having a little trouble installing a MySQL database. This is what I tried...
Code:
 export PKG_PATH=ftp://mirror.planetunix.net/pub/OpenBSD/4.9/packages/`machine -a`

pkg_add -v mysql-server mysql-client
and this is what I get
Code:
Unknown element: @rcscript /etc/rc.d/mysqld in SCALAR(0x865acd50),  at /usr/libdata/perl5/OpenBSD/PackingList.pm line 355, <$fh> line 455.
can anyone tell me what this means, or what I did wrong. Thx.
Reply With Quote
  #2   (View Single Post)  
Old 11th September 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,675
Thanked 214 Times in 189 Posts
Default

A week ago you were running 4.8. If you are still running 4.8, your PKG_PATH is wrong. You cannot use 4.9 packages on a 4.8 system. Read FAQ 15.4.1.
Reply With Quote
  #3   (View Single Post)  
Old 11th September 2011
desreguard desreguard is offline
Port Guard
 
Join Date: May 2011
Posts: 11
Thanked 0 Times in 0 Posts
Default installing MySQL

Code:
# uname -a
OpenBSD Server.my.domain 4.9 GENERIC#671 i386
I upgraded. What does that output ut gave me mean? Did I do something wrong?
Reply With Quote
  #4   (View Single Post)  
Old 11th September 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,675
Thanked 214 Times in 189 Posts
Default

When you upgraded, did you happen to forget to merge 4.9's architectural changes into your system as described in the Upgrade Guide: 4.8 to 4.9? The /etc/rc.d/ directory didn't appear until 4.9.

Use sysmerge(8). See the Finals Steps section of http://www.openbsd.org/faq/upgrade49.html

Last edited by jggimi; 11th September 2011 at 10:04 PM. Reason: correction: the rc.d directory did not exist in 4.8.
Reply With Quote
  #5   (View Single Post)  
Old 11th September 2011
desreguard desreguard is offline
Port Guard
 
Join Date: May 2011
Posts: 11
Thanked 0 Times in 0 Posts
Default

sweet it works now. Thx for all your help
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
OpenBSD: Installing package collections in bulk for KDE, Gnome, or XFCE jggimi Guides 0 6th September 2011 07:14 PM
What came first: the port or the package? rpindy General software and network 4 27th June 2010 11:15 PM
installing hpijs package: library jpeg.63.0 not found wimwauters OpenBSD Packages and Ports 11 23rd June 2010 11:30 PM
tcpdump package bsdnewbie999 OpenBSD Packages and Ports 6 30th March 2009 05:24 PM
problems installing mysql port dejabu18 FreeBSD Ports and Packages 22 7th August 2008 09:23 AM


All times are GMT. The time now is 08:38 AM.


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