View Single Post
  #4   (View Single Post)  
Old 30th July 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,984
Default

Quote:
...Sometimes after an upgrade I meet with issues like 'bad major' .. no packages or ports are installed yet and /var/db/pkg is all empty ..
I could certainly understand this happening during pkg_add if your package repository is not exactly in sync with your particular -current. You might see this regarding libraries in /usr/X11R6/lib if you are using snapshots as those will not always include rebuilds of xenocara if there were no source changes to it.

You should review the error messages. If they occur when executing programs in /usr/bin or /usr/sbin or /usr/libexec or /usr/X11R6/bin:
  • If these are for libraries in /usr/local/lib, then you are mistaken and you are not running built-in software. OpenBSD does not install anything in /usr/local/lib.
  • If these are for libraries in /usr/X11R6/lib and you are using snapshots, await the next snapshot which has updated xenocara filesets.
  • If these are for libraries in /usr/X11R6/lib and you are building -current from source, you have done something wrong and should review your procedures.
  • If these are for libraries in /usr/lib, it is likely you have a procedural problem in how you upgrade -- this should not occur.
If you are executing programs in /usr/local/bin or /usr/local/sbin or /usr/local/libexec --
  • You have third party software installed, and you have a sync issue.

Last edited by jggimi; 30th July 2012 at 12:37 PM. Reason: typo
Reply With Quote