![]() |
|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
![]() |
|
Thread Tools | Display Modes |
|
|
|||
![]() Quote:
If the source tree has already been downloaded, the correct commands to be used to update are: # cd /usr/src # cvs -d$CVSROOT up -Pd Likewise, you have not mentioned anything about X or ports. Reviewing Section 5.3.3 is in order. |
|
||||
![]() Quote:
|
|
|||
![]() Quote:
I can only speak for myself, & the way I approach the FAQ is pro-active, not reactive. If I have a problem which needs to be researched, having a baseline understanding of "what" is addressed with "where" is better than coming at the documentation with no prior experience at all. Yes, I understand this doesn't necessarily help newcomers, but my recommendation to you would be to approach the FAQ as a book -- read it from beginning to end at least once. Sure, it may not all make sense or be pertinent to your immediate needs the first time, but with repeated searching, you will find some clarity. Despite its faults, the FAQ covers a lot of ground in only sixteen sections. I can't say that other non-BSD projects do better. |
|
||||
![]() Quote:
About the problem now; First of all people sorry i confused you with my post but i find confused myself too.I had no intention to confuse you bad i'm kinda lost at the moment. @ocicat,bsdfan I did cvs checkout to get the source tree in synch with the snapshot i upgraded earlier using a cd.And i'm trying to to do the same about ports and xenocara and i still can't find what to do in the FAQ. If i'm reading correctly all these hours. ![]() Quote:
![]() |
|
|||
![]() Quote:
While you can continue to compile your own system, I would recommend spending more time with the documentation & asking questions first. Attempting to compile while confused & unclear of the process is a recipe for disaster. |
|
|||
![]()
I raise the question only for thoroughness. Since you haven't stated why you are wanting to "synch" source, I assume you are wanting it available for study reasons as most people don't compile the kernel, userland, or ports. Snapshots & packages are sufficient in many cases.
Installing the ports tree is also good for searching -- especially when the OpenPorts third-party site has been offline for nearly a week now. |
|
||||
![]()
You have installed the August 17 snapshot for i386. If you installed the X filesets at the same time, you have an X Windows system that is currently in sync with that snapshot.
As a convenience, from time to time the Project builds "snapshot packages" of ports for the major architectures. These are located at most mirrors in /pub/OpenBSD/snapshots/packages/<arch>/. They will never be exactly in-synch with a snapshot, nor with -current (which is always beyond the latest snapshot.) Some rebuilding of individual ports by -current users is to be expected, from time to time. This is about binary synchronicity only, and has nothing to do with source code. -current source code changes constantly, except for brief windows twice per year as -releases are prepared. That window has already passed for 5.0-release, -current is beyond that point. The source code is stored in three separate CVS repositories: "src" -- the kernel and userland sources "xenocara" -- the OpenBSD packaging of the X.Org source code "ports" -- the ports tree, scaffolding for ported third party applications. If you are a -current user, you have two choices: Install a snapshot, and upgrade to a new snapshot whenever you feel the need. Or, install a snapshot, then build -current from source. For any source code building, keep your source repositories in sync with each other. That means, updated with the same tag (such as for -stable), or, if -current, updated from CVS within an hour or two of each other. |
|
|||
![]()
Just out of curiosity, when you used cvs to checkout the latest source tree.. you do realize that you have to compile it if you want to stay updated that way, right?
Doing it that way is technically not supported, upgrading to new snapshots is the preferred method.. keep using the snapshot you installed until another is available. |
|
|||
![]()
This raises the question which is confusing all of us, sepuku. Why are you wanting source?
|
|
|||
![]() Quote:
|
|
||||
![]()
If you're just looking to run bleeding edge on some port, installing a snapshot is usually sufficient. Really, you don't need /usr/{src,ports,xenocara} unless you're *compiling* -CURRENT, as has already been pointed out.
To get the latest xxxterm pkg, all you have to do is upgrade to the latest snapshot, then point your PKG_PATH to pub/OpenBSD/snapshots/packages/`machine`/ on your favorite mirror, and pkg_add -ui. The only way to run more bleeding edge than that is to use uncommitted port updates that are published on ports@ (which requires /usr/ports to be installed, but not src or xenocara).
__________________
Linux/Network-Security Engineer by Profession. OpenBSD user by choice. |
|
||||
![]() Quote:
|
|
||||
![]()
Just to help clarify the use of the the ports tree in OpenBSD, Sepuku.
The ports tree is a collection of compilation and build instructions to create packages for each 3rd party application. It is not the source code for each application; instead, the tree has links to where the source code is stored. Packages are the binary code built when using the ports tree. The term "ports" may be used to refer to installed packages, since the ports tree is used to create them. |
|
||||
![]() Quote:
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. |
|
||||
![]()
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. |
|
||||
![]()
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. |
|
|||
![]() Quote:
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. |
|
||||
![]() Quote:
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. |
![]() |
Tags |
system sync, update, upgrade |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
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 |