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 17th October 2008
jrs665 jrs665 is offline
New User
 
Join Date: Oct 2008
Posts: 8
Thanked 0 Times in 0 Posts
Default Can't Add Packages due to intl.4.0

Upgraded OpenBSD 3.7 to 4.3 , deleted a few 3.7 packages with pkg_delete and installed the 4.3 version with pkg_add until wget-1.8.2 was deleted. Now I get the following failiure for wget and similar errors for any other package I try to add due to intl.4.0. Incidentally the 3.7 version of wget, wget-1.8.2 was installed via ports tree. How do I fix this?

Note: PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.3/packages/i386/

pkg_add -i wget-1.10.2p1.tgz
Can't install wget-1.10.2p1: lib not found intl.4.0
Dependencies for wget-1.10.2p1 resolve to: gettext-0.10.40p2, libiconv-1.9.2
Full dependency tree is gettext-0.10.40p2,libiconv-1.9.2
intl.4.0: partial match in /usr/local/lib: major=2, minor=0 (bad major)
Reply With Quote
  #2   (View Single Post)  
Old 17th October 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Do you mean directly from 3.7->4.3? if so.. that's unsupported...

MD5 (/usr/local/lib/libintl.so.4.0) = 23eff988beabaad67ea750910724cc4e

It's part of the devel/gettext port..

Again, what you're doing is unsupported... it would be much easier to do a clean installation.

"Note: Upgrades are only supported from one release to the release immediately following it. Do not skip releases."

http://www.openbsd.org/faq/upgrade43.html
Reply With Quote
  #3   (View Single Post)  
Old 17th October 2008
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,434
Thanked 214 Times in 189 Posts
Default

The intl library is a component of gettext, which may not be installed, or, you may have an earlier dependent gettext installed which is not at the right level.

After having moved 6 releases in a jump, you may find it easiest to deinstall every installed package, and reinstall those you need. You will not lose any configuration files, userids, or other structures. Just:

# cd /var/db/pkg
# pkg_delete *
# ls -a
# pkg_delete <any .libs* or partial* package still left in the directory>
# export PKG_PATH=<your nearest mirror>
# pkg_add `cat <your list of packages you want installed>`

It's not clear from your post how you upgraded from 3.7 to 4.3. The supported method requires six sequential upgrades. If you went through all of that, you are very patient, indeed.
Reply With Quote
  #4   (View Single Post)  
Old 20th October 2008
jrs665 jrs665 is offline
New User
 
Join Date: Oct 2008
Posts: 8
Thanked 0 Times in 0 Posts
Default

I went straight from 3.7 to 4.3

The problem appears to be solved.

After removing wget I could not add add new packages but discovered I could update old ones. Gettext was updated and now I can add packages aswell.

Thanks



Quote:
Originally Posted by jggimi View Post
The intl library is a component of gettext, which may not be installed, or, you may have an earlier dependent gettext installed which is not at the right level.

After having moved 6 releases in a jump, you may find it easiest to deinstall every installed package, and reinstall those you need. You will not lose any configuration files, userids, or other structures. Just:

# cd /var/db/pkg
# pkg_delete *
# ls -a
# pkg_delete <any .libs* or partial* package still left in the directory>
# export PKG_PATH=<your nearest mirror>
# pkg_add `cat <your list of packages you want installed>`

It's not clear from your post how you upgraded from 3.7 to 4.3. The supported method requires six sequential upgrades. If you went through all of that, you are very patient, indeed.
Reply With Quote
  #5   (View Single Post)  
Old 20th October 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,834
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by jrs665 View Post
I went straight from 3.7 to 4.3

The problem appears to be solved.
Quoting the Upgrade Guide:
Upgrades are only supported from one release to the release immediately following it. Do not skip releases.

http://openbsd.org/faq/upgrade43.html

We (repeatedly) stress this fact because you may or may not have resolved this matter. The actions you have taken are officially unsupported by the project, which means that problems may not manifest themselves until later.

We highly recommend you maintain very current back-ups for this system to protect whatever investment you have in the data. The best path you can take is simply to perform a full installation of OpenBSD 4.3.
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
packages vs ports zelut FreeBSD Ports and Packages 17 28th October 2009 08:19 AM
Packages vs. Ports guitarscn OpenBSD Packages and Ports 3 1st October 2008 04:43 AM
Where have all the packages gone? PatrickBaer FreeBSD Ports and Packages 6 12th June 2008 11:03 PM
where all packages OpenSolaris whispersGhost Solaris 15 11th June 2008 09:55 AM
Sorting Packages JMJ_coder NetBSD Package System (pkgsrc) 3 20th May 2008 01:08 AM


All times are GMT. The time now is 08:06 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