Page 1 of 1

No valid repository found - Trying to install Packages

Posted: Wed Aug 13, 2014 3:35 pm
by leegold
Hi,

$ uname -a
FreeBSD freebsd-963 9.2-RELEASE FreeBSD 9.2-RELEASE #0: Mon Oct 21 21:22:37 ADT 2013 root@ericbsd.ghostbsd.org:/usr/obj/i386.i386/usr/src/sys/GHOSTBSD i386

After trying bxpkg and liking it - then it suddenly became flaky and started closing down unexpectedly. So I tried

root@freebsd-963 /u/h/user1# pkg search drpython

the system came back and said it was installing installing a new pkg system and it recommended after that to do: pkg2ng

I did root@freebsd-963 /u/h/user1# pkg2ng, and it did a lot of processing for a while ...then I did

root@freebsd-963 /u/h/user1# pkg search python
No valid repository found.

Ho do I fix?

Re: No valid repository found - Trying to install Packages

Posted: Wed Aug 13, 2014 3:56 pm
by bsdkeith
Try

Code: Select all

sudo pkg update -f

Re: No valid repository found - Trying to install Packages

Posted: Wed Aug 13, 2014 5:31 pm
by ericbsd
I command to use pkg_add -r on GhostBSD 3.5. Can you give me the output of?

Code: Select all

pkg info pkg

Re: No valid repository found - Trying to install Packages

Posted: Wed Aug 13, 2014 6:25 pm
by leegold
[root@freebsd-963 /usr/home/user1]# pkg info pkg
pkg-1.3.6
Name : pkg
Version : 1.3.6
Installed on : Wed Aug 13 10:43:15 MST 2014
Origin : ports-mgmt/pkg
Architecture : freebsd:9:x86:32
Prefix : /usr/local
Categories : ports-mgmt
Licenses : BSD2CLAUSE
Maintainer : portmgr@FreeBSD.org
WWW : http://wiki.freebsd.org/pkgng
Comment : Package manager
Shared Libs required:
libpkg.so
Shared Libs provided:
libpkg.so
Flat size : 6.97MiB
Description :
Package management tool

WWW: http://wiki.freebsd.org/pkgng
[root@freebsd-963 /usr/home/user1]#

Re: No valid repository found - Trying to install Packages

Posted: Wed Aug 13, 2014 7:44 pm
by leegold
bsdkeith wrote:Try

Code: Select all

sudo pkg update -f
gave it a try:

sudo pkg update -f
Updating repository catalogue
No valid repository found.

Re: No valid repository found - Trying to install Packages

Posted: Wed Aug 13, 2014 8:42 pm
by ericbsd
Do you have that directory /etc/pkg? And do you have file in it named FreeBSD.conf?