No valid repository found - Trying to install Packages

Post your general questions or comments about GhostBSD here!
Post Reply
leegold
Posts: 23
Joined: Wed Aug 28, 2013 11:58 am

No valid repository found - Trying to install Packages

Post by leegold »

Hi,

$ uname -a
FreeBSD freebsd-963 9.2-RELEASE FreeBSD 9.2-RELEASE #0: Mon Oct 21 21:22:37 ADT 2013 [email protected]:/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?
User avatar
bsdkeith
Posts: 129
Joined: Wed Jun 12, 2013 3:36 pm
Location: Surrey/Hants Border, England

Re: No valid repository found - Trying to install Packages

Post by bsdkeith »

Try

Code: Select all

sudo pkg update -f
Linux user since 1999; & now a BSD user.
User avatar
ericbsd
Developer
Posts: 2116
Joined: Mon Nov 19, 2012 7:54 pm

Re: No valid repository found - Trying to install Packages

Post 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
leegold
Posts: 23
Joined: Wed Aug 28, 2013 11:58 am

Re: No valid repository found - Trying to install Packages

Post 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 : [email protected]
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]#
leegold
Posts: 23
Joined: Wed Aug 28, 2013 11:58 am

Re: No valid repository found - Trying to install Packages

Post 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.
User avatar
ericbsd
Developer
Posts: 2116
Joined: Mon Nov 19, 2012 7:54 pm

Re: No valid repository found - Trying to install Packages

Post by ericbsd »

Do you have that directory /etc/pkg? And do you have file in it named FreeBSD.conf?
Post Reply