Version 4 RC1 Installing Software Issues

Need support for GhostBSD. Ask here if your question does not fit elsewhere.

Re: Version 4 RC1 Installing Software Issues

Postby fmh » Sun Aug 10, 2014 2:44 pm

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
fmh
 
Posts: 53
Joined: Wed Jul 23, 2014 5:07 pm

Re: Version 4 RC1 Installing Software Issues

 

Re: Version 4 RC1 Installing Software Issues

Postby ericbsd » Sun Aug 10, 2014 4:57 pm

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.
ericbsd
Site Admin
 
Posts: 381
Joined: Mon Nov 19, 2012 11:54 pm

Re: Version 4 RC1 Installing Software Issues

Postby bsdkeith » Sun Aug 10, 2014 5:34 pm

(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?
Linux user between 1999 - 2014; now a BSD user.
User avatar
bsdkeith
 
Posts: 100
Joined: Wed Jun 12, 2013 6:36 pm
Location: Surrey/Hants Border, England

Re: Version 4 RC1 Installing Software Issues

Postby ericbsd » Sun Aug 10, 2014 5:58 pm

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.
ericbsd
Site Admin
 
Posts: 381
Joined: Mon Nov 19, 2012 11:54 pm

Re: Version 4 RC1 Installing Software Issues

Postby bsdkeith » Sun Aug 10, 2014 6:25 pm

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
Linux user between 1999 - 2014; now a BSD user.
User avatar
bsdkeith
 
Posts: 100
Joined: Wed Jun 12, 2013 6:36 pm
Location: Surrey/Hants Border, England

Re: Version 4 RC1 Installing Software Issues

Postby ericbsd » Mon Aug 11, 2014 12:18 am

I am installing a new RC1 to look my self on that, something is wrong somewhere, or corrupted.
ericbsd
Site Admin
 
Posts: 381
Joined: Mon Nov 19, 2012 11:54 pm

Re: Version 4 RC1 Installing Software Issues

Postby ericbsd » Mon Aug 11, 2014 12:35 am

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.
ericbsd
Site Admin
 
Posts: 381
Joined: Mon Nov 19, 2012 11:54 pm

Re: Version 4 RC1 Installing Software Issues

Postby ericbsd » Mon Aug 11, 2014 1:05 am

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.
ericbsd
Site Admin
 
Posts: 381
Joined: Mon Nov 19, 2012 11:54 pm

Re: Version 4 RC1 Installing Software Issues

Postby fmh » Mon Aug 11, 2014 1:42 am

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.
fmh
 
Posts: 53
Joined: Wed Jul 23, 2014 5:07 pm

Re: Version 4 RC1 Installing Software Issues

Postby ericbsd » Mon Aug 11, 2014 1:28 pm

Ok, I have found a fix for the problem, you need to run the following command:

Code: Select all
sudo pkg update -f
ericbsd
Site Admin
 
Posts: 381
Joined: Mon Nov 19, 2012 11:54 pm

PreviousNext

Return to General support

Who is online

Users browsing this forum: No registered users and 0 guests