No valid repository found - Trying to install Packages

Post your general questions or comments about GhostBSD here!

No valid repository found - Trying to install Packages

Postby leegold » Wed Aug 13, 2014 6:35 pm

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?
leegold
 
Posts: 11
Joined: Wed Aug 28, 2013 2:58 pm

No valid repository found - Trying to install Packages

 

Re: No valid repository found - Trying to install Packages

Postby bsdkeith » Wed Aug 13, 2014 6:56 pm

Try
Code: Select all
sudo pkg update -f
Linux user between 1999 - 2014; now a BSD user.
User avatar
bsdkeith
 
Posts: 91
Joined: Wed Jun 12, 2013 6:36 pm
Location: Surrey/Hants Border, England

Re: No valid repository found - Trying to install Packages

Postby ericbsd » Wed Aug 13, 2014 8:31 pm

I command to use pkg_add -r on GhostBSD 3.5. Can you give me the output of?
Code: Select all
pkg info pkg
ericbsd
Site Admin
 
Posts: 316
Joined: Mon Nov 19, 2012 11:54 pm

Re: No valid repository found - Trying to install Packages

Postby leegold » Wed Aug 13, 2014 9:25 pm

[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]#
leegold
 
Posts: 11
Joined: Wed Aug 28, 2013 2:58 pm

Re: No valid repository found - Trying to install Packages

Postby leegold » Wed Aug 13, 2014 10:44 pm

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.
leegold
 
Posts: 11
Joined: Wed Aug 28, 2013 2:58 pm

Re: No valid repository found - Trying to install Packages

Postby ericbsd » Wed Aug 13, 2014 11:42 pm

Do you have that directory /etc/pkg? And do you have file in it named FreeBSD.conf?
ericbsd
Site Admin
 
Posts: 316
Joined: Mon Nov 19, 2012 11:54 pm


Return to General Questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron