DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
Old 5th September 2011
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,888
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by sepuku View Post
Yet i know there is a new version of xxxterm but there was no update;

Code:
$ sudo pkg_info xxxterm
Information for inst:xxxterm-1.226
I see no newer version of xxxterm although there is one on the snapshots page of the mirror i use;

http://ftp.cc.uoc.gr/mirrors/OpenBSD...packages/i386/
To confirm the existence of this (newer than -release...) xxxterm package, one can check manually:
Code:
$ ftp -a ftp.cc.uoc.gr         
Connected to ftp.cc.uoc.gr.
220-*******************************************************************
220-*
220-*  University of Crete / Greece
220-*  Welcome to our anonymous ftp server.
220-*  This service can also be accessed via
220-*  http://ftp.cc.uoc.gr
220-*
220-*  If you have any problems or comments about this service,
220-*  please contact us via e-mail to ftpadm[at]cc.uoc.gr
220-*
220-*  Use is subject to audit at any time by CC/UoC management.
220-*
220-******************************************************************
220 
331 Please specify the password.
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd mirrors/OpenBSD/snapshots/packages/i386
250 Directory successfully changed.
ftp> dir xxxterm*
150 Here comes the directory listing.
-rw-r--r--    1 1001     1001       131282 Aug 16 22:13 xxxterm-1.425.tgz
226 Directory send OK.
ftp> bye
221 Goodbye.
$
So sepuku, you need to provide us the following information:
  1. Did you install the August 17 snapshot over 4.9-stable or did you upgrade from 4.9-stable to this snapshot?
  2. The ftp(1) session above shows that PKG_PATH needs to be modified to the following:

    $ export PKG_PATH=ftp.cc.uoc.gr/mirrors/OpenBSD/snapshots/packages/i386

    Provide us the output of the following:

    $ echo $PKG_PATH
Quote:
I did *not* ran sysmerge and i don't intend to.
Might I remind you that we are spending significant time trying to figure out what you have done (amidst contradictory information...) in order to help you. I can assure you each of us has other things to do. Patience & clarity from your side will go a long way towards finding a solution.

Last edited by ocicat; 6th September 2011 at 04:57 AM. Reason: Add pretty colors... :-)
Reply With Quote
Old 5th September 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,710
Thanked 214 Times in 189 Posts
Default

Quote:
Originally Posted by sepuku
i get Can't install "package" because of libraries for a lot of packages such as python.
There could be many reasons, but ... since we haven't seen the messages, we cannot tell you why this is occurring.

It is possible that you are pointing to the correct package path and there is a library out-of-sync; it happens from time to time as changes are made in -current to /usr/lib. But it is more likely that you were pointing to the wrong path -- attempting to install 4.9-release packages on a clean -current will fail due to the many library changes that have occurred since those packages were built in February.

But that is just a guess -- we have not seen the error messages.

If you want us to see the error messages, you'll find a tool like script(1) to be very helpful. In addition, filtering the output of script (usually the "typescript" file) through col(1) using the -b option will improve its readability.
Reply With Quote
Old 6th September 2011
sepuku's Avatar
sepuku sepuku is offline
Real Name: Vizard Sepuku
Package Pilot
 
Join Date: Jun 2011
Location: Athens & Chania,Greece
Posts: 143
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by ocicat View Post
Provide us the output of the following:

$ echo $PKG_PATH
That's the output;

Code:
ftp://ftp.cc.uoc.gr/mirrors/OpenBSD/snapshots/packages/i386/
Reply With Quote
Old 6th September 2011
sepuku's Avatar
sepuku sepuku is offline
Real Name: Vizard Sepuku
Package Pilot
 
Join Date: Jun 2011
Location: Athens & Chania,Greece
Posts: 143
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by jggimi View Post
If you installed the shapshot, this is fine. But if you upgraded to the snapshot, this is a requirement. Which did you do?
I did not make a clean install with a snapshot cd;


I inserted the stable 4.9 cd,connected via ftp to ftp.cc.uoc.gr and then chose this path for the downloads that the upgrade requires;

Code:
mirrors/OpenBSD/snapshots/i386
So it's an upgrade.So as you said before i must go for sysmerge right now.
Reply With Quote
Old 6th September 2011
sepuku's Avatar
sepuku sepuku is offline
Real Name: Vizard Sepuku
Package Pilot
 
Join Date: Jun 2011
Location: Athens & Chania,Greece
Posts: 143
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by jggimi View Post
From your prior posts in this confusing thread, you seem to be completely unaware of binary executable code vs. source code.
That's not correct;i'm aware of what's the difference,in fact i study programming in my free time.
Reply With Quote
Old 6th September 2011
sepuku's Avatar
sepuku sepuku is offline
Real Name: Vizard Sepuku
Package Pilot
 
Join Date: Jun 2011
Location: Athens & Chania,Greece
Posts: 143
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by ocicat View Post
Might I remind you that we are spending significant time trying to figure out what you have done (amidst contradictory information...) in order to help you. I can assure you each of us has other things to do. Patience & clarity from your side will go a long way towards finding a solution.
No you may not;

I mean i'm already aware of that,but since english is not my mother-language try to be indulgent as you were so far cause sometimes it might now clear what have i done.
Reply With Quote
Old 6th September 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,710
Thanked 214 Times in 189 Posts
Default

You are running a -current kernel, userland, and X. But you have not finished your upgrade. You must upgrade your architectural components to -current; they are still at 4.9-stable.

There have been many changes to OpenBSD's operational controls since 4.9. In particular, the rc(8) system has been significantly revised, the rc.d subsystem is now used by default for daemon management, both built-in and third party packages. The major changes you have missed are listed in the Following -current FAQ.

The sysmerge(8) program will help you merge the changes in /etc and /var that you have missed. It will automatically merge what it can, and ask you for guidance where needed.

If you don't use it, you will have to make these changes manually.

If you don't make these changes, either manually or with sysmerge, you are not running -current.

---------

Edited to add: using the 4.9-release version of the ramdisk kernel to install or upgrade to -current is neither supported nor advised -- the installation scripts change over time; and an important change may have been missed.

You have the ramdisk kernel installed on hard drive, by the way. Booting the -release CD was not necessary. It is in your root directory -- /bsd.rd.
Reply With Quote
Old 6th September 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,710
Thanked 214 Times in 189 Posts
Default

Sepuku:

The Following -current FAQ is mandatory for those of us who keep -current by building from source, and highly recommended for those of us who upgrade from snapshot to snapshot. It lists major changes to /etc and /var, and other key changes admins should be aware of to keep -current, and extra steps that might be needed to maintain -current from source.

You will find a link to it in the sidebar on the left side of the main FAQ page.
Reply With Quote
Old 6th September 2011
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,888
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by jggimi View Post
The Following -current FAQ is mandatory for those of us who keep -current by building from source, and highly recommended for those of us who upgrade from snapshot to snapshot.
There is another option sepuku can take if it is necessary to run -current.

Back up whatever personal files have been added to your 4.9-stable system, & simply install (not upgrade...) a recent snapshot. Running sysmerge(8) is only required when upgrading.

FWIW.
Reply With Quote
Old 8th September 2011
sepuku's Avatar
sepuku sepuku is offline
Real Name: Vizard Sepuku
Package Pilot
 
Join Date: Jun 2011
Location: Athens & Chania,Greece
Posts: 143
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by ocicat View Post
There is another option sepuku can take if it is necessary to run -current.

Back up whatever personal files have been added to your 4.9-stable system, & simply install (not upgrade...) a recent snapshot. Running sysmerge(8) is only required when upgrading.

I would have already done that but i want to upgrade i order to learn how it's done.Sooner or later i must learn how to do it.But since i made some wrong choices so far and maybe some changes too that might affect the system in the future,i might reinstall the -stable and then try to upgrade it.It's a good chance to dual boot with a linux since i need it too.
Reply With Quote
Reply

Tags
system sync, update, upgrade

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
Create MS/XP file system so it will be recognized on a XP system. FBSD Guides 0 1st May 2010 06:49 AM
Best Way to sync web sites roundkat OpenBSD General 2 14th September 2008 01:48 PM
How to sync files over ftp graudeejs FreeBSD General 4 4th August 2008 10:18 PM
Best fit BSD for legacy system EvilGardenGnome Off-Topic 14 12th June 2008 02:03 AM
Which file system use to share data on Bsd system? aleunix Other BSD and UNIX/UNIX-like 2 1st June 2008 04:14 PM


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