Page 3 of 4

Re: Version 4 RC1 Installing Software Issues

Posted: Sun Aug 10, 2014 11:44 am
by fmh
Doesn't appear to solve the issue. netsurf is in the repositories. This appears to be an i386 built issue as for others the 64bit build is behaving properly.

# sudo pkg update
Updating repository catalogue
FreeBSD repository is up-to-date
All repositories are up-to-date

fmh@GhostBSD4 ~> sudo pkg install netsurf
Updating repository catalogue
FreeBSD repository is up-to-date
All repositories are up-to-date
pkg: Repo FreeBSD needs schema upgrade from 2006 to 2010 but it is opened readonly
pkg: need to re-create repo FreeBSD to upgrade schema version
pkg: No packages available to install matching 'netsurf' have been found in the repositories

Re: Version 4 RC1 Installing Software Issues

Posted: Sun Aug 10, 2014 1:57 pm
by ericbsd
first see if pkg is up to date.

Code: Select all

sudo pkg info pkg
pkg-1.3.5.1
Name           : pkg
Version        : 1.3.5.1
Installed on   : Thu Aug  7 19:59:03 ADT 2014
Origin         : ports-mgmt/pkg
Architecture   : freebsd:10:x86:64
Prefix         : /usr/local
Categories     : ports-mgmt
Licenses       : BSD2CLAUSE
Maintainer     : portmgr@FreeBSD.org
WWW            : http://wiki.freebsd.org/pkgng
Comment        : Package manager
Shared Libs provided:
	libpkg.so.3
Annotations    :
	repo_type      : binary
	repository     : FreeBSD
Flat size      : 8.97MiB
Description    :
Package management tool

WWW: http://wiki.freebsd.org/pkgng
if you don't have the same version that I have try:

Code: Select all

pkg install -f pkg
I have no Idea what is the state of the repository of FreeBSD for i386 but it should be close from amd64.
Netsurf is in amd64 repository

Code: Select all

ericbsd@ericbsd ~> pkg search netsurf
netsurf-3.0_4
ericbsd@ericbsd ~> 
I will install i386 and see for my self.

Re: Version 4 RC1 Installing Software Issues

Posted: Sun Aug 10, 2014 2:34 pm
by bsdkeith
(I am having the same problem on 64 bit RC1)
keith@hp_g62 ~> pkg info pkg
pkg-1.3.5.1
Name : pkg
Version : 1.3.5.1
Installed on : Sun Aug 10 15:23:16 BST 2014
Origin : ports-mgmt/pkg
Architecture : freebsd:10:x86:64
Prefix : /usr/local
Categories : ports-mgmt
Licenses : BSD2CLAUSE
Maintainer : portmgr@FreeBSD.org
WWW : http://wiki.freebsd.org/pkgng
Comment : Package manager
Shared Libs provided:
libpkg.so.3
Flat size : 8.97MiB
Description :
Package management tool

WWW: http://wiki.freebsd.org/pkgng
keith@hp_g62 ~> pkg search pysolfc
pkg: Repo FreeBSD needs schema upgrade from 2006 to 2010 but it is opened readonly
pkg: need to re-create repo FreeBSD to upgrade schema version
pysolfc is in the FreeBSD repository :-
http://pkg.freebsd.org/freebsd:10:x86:6 ... -2.0_5.txz

pysolfc package can be downloaded OK from the above URL; I have it on my disk

Something needs to be updated.

Where can I find the file for which repository is being used by pkg on GhostBSD?

Re: Version 4 RC1 Installing Software Issues

Posted: Sun Aug 10, 2014 2:58 pm
by ericbsd
GhostBSD uses the default FreeBSD system repos. You should use sudo for pkgng because pkgng will try to update its database and if it needs to update its database your user can read only the database not write it.

Re: Version 4 RC1 Installing Software Issues

Posted: Sun Aug 10, 2014 3:25 pm
by bsdkeith
keith@hp_g62 ~> sudo pkg search pysolfc
Password:
pkg: Repo FreeBSD needs schema upgrade from 2006 to 2010 but it is opened readonly
pkg: need to re-create repo FreeBSD to upgrade schema version
keith@hp_g62 ~> sudo pkg info pkg
pkg-1.3.5.1
Name : pkg
Version : 1.3.5.1
Installed on : Sun Aug 10 15:23:16 BST 2014
Origin : ports-mgmt/pkg
Architecture : freebsd:10:x86:64
Prefix : /usr/local
Categories : ports-mgmt
Licenses : BSD2CLAUSE
Maintainer : portmgr@FreeBSD.org
WWW : http://wiki.freebsd.org/pkgng
Comment : Package manager
Shared Libs provided:
libpkg.so.3
Flat size : 8.97MiB
Description :
Package management tool

WWW: http://wiki.freebsd.org/pkgng
keith@hp_g62 ~> sudo pkg install pysolfc
Updating repository catalogue
FreeBSD repository is up-to-date
All repositories are up-to-date
pkg: Repo FreeBSD needs schema upgrade from 2006 to 2010 but it is opened readonly
pkg: need to re-create repo FreeBSD to upgrade schema version
pkg: No packages available to install matching 'pysolfc' have been found in the repositories
Also tried
keith@hp_g62 ~> su
Password:
mkdir: /home/keith/Documents: File exists
mkdir: /home/keith/Downloads: File exists
mkdir: /home/keith/Movies: File exists
mkdir: /home/keith/Music: File exists
mkdir: /home/keith/Pictures: File exists
script, 1: The s command doesn't permit an address of 0

** (gdm-binary:87516): WARNING **: Failed to acquire org.gnome.DisplayManager

** (gdm-binary:87516): WARNING **: Could not acquire name; bailing out
root@hp_g62:/home/keith # pkg update
Updating repository catalogue
FreeBSD repository is up-to-date
All repositories are up-to-date
root@hp_g62:/home/keith # pkg install pysolfc
Updating repository catalogue
FreeBSD repository is up-to-date
All repositories are up-to-date
pkg: Repo FreeBSD needs schema upgrade from 2006 to 2010 but it is opened readonly
pkg: need to re-create repo FreeBSD to upgrade schema version
pkg: No packages available to install matching 'pysolfc' have been found in the repositories
So, it doesn't work, whether I use sudo or from a root terminal.

No matter what I try, I just get,
pkg: Repo FreeBSD needs schema upgrade from 2006 to 2010 but it is opened readonly
pkg: need to re-create repo FreeBSD to upgrade schema version

Re: Version 4 RC1 Installing Software Issues

Posted: Sun Aug 10, 2014 9:18 pm
by ericbsd
I am installing a new RC1 to look my self on that, something is wrong somewhere, or corrupted.

Re: Version 4 RC1 Installing Software Issues

Posted: Sun Aug 10, 2014 9:35 pm
by ericbsd
I really appreciate both of you to try this and let me know does issue. I think I have found the problem, it is people like you guys this project needs, people who are willing to spend time to try and reports those problem. Thanks again guys for this.

Re: Version 4 RC1 Installing Software Issues

Posted: Sun Aug 10, 2014 10:05 pm
by ericbsd
Looks like the pkg database is corrupted I might have done something wrong, anyway I am repackaging the system and I will try to build back from zero and release a RC2 as soon as possible.

Re: Version 4 RC1 Installing Software Issues

Posted: Sun Aug 10, 2014 10:42 pm
by fmh
ericbsd wrote:I really appreciate both of you to try this and let me know does issue. I think I have found the problem, it is people like you guys this project need people who are willing to spend time to try and reports those problem. Thanks again guys for this.

No sweat. Since I am coming in fresh I am looking at it that I maybe doing something wrong. Plus by doing all the Terminal work I am learning more about FreeBSD and can appreciate it and what you are doing more. I just wish I remembered what I did under real hardware to correct the issue. I don't think I did any different commands but it did ask me if I wanted to deinstall and rebuild things but I didn't document it.

Re: Version 4 RC1 Installing Software Issues

Posted: Mon Aug 11, 2014 10:28 am
by ericbsd
Ok, I have found a fix for the problem, you need to run the following command:

Code: Select all

sudo pkg update -f