Unable to install applications

Need support for GhostBSD. Ask here if your question does not fit elsewhere.
Post Reply
lotech
Posts: 7
Joined: Mon Jan 21, 2019 1:00 am
Has thanked: 0
Been thanked: 0

Unable to install applications

Post by lotech » Wed Jan 23, 2019 3:38 am

Hi there,

I just installed the system and trying to install apps but failed, the software station pauses after I type 2 letters, even I completed the typing there is no list return, I then tried to install via command line but failed too with error :

pkg: No signature found in the repository. Can not validate against /usr/share/keys/pkg/GhostBSD.pub key.
Unable to update repository GhostBSD
Error updating repositories!

I then ping the repos and it seems to work fine :

# ping pkg.freebsd.org
PING pkgmir.geo.freebsd.org (192.50.199.247): 56 data bytes
64 bytes from 192.50.199.247: icmp_seq=0 ttl=51 time=51.101 ms
64 bytes from 192.50.199.247: icmp_seq=1 ttl=51 time=50.637 ms
64 bytes from 192.50.199.247: icmp_seq=2 ttl=51 time=50.699 ms
64 bytes from 192.50.199.247: icmp_seq=3 ttl=51 time=50.968 ms

What is going on here ??

User avatar
ericbsd
Developer
Posts: 1373
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 37 times
Been thanked: 44 times

Re: Unable to install applications

Post by ericbsd » Wed Jan 23, 2019 10:25 am

If you are on the latest build, it is very unstable.

Also, pkg.freebsd.org is not the repository, pkg.ghostbsd.org is the repository.

If you comment(#) the 2 pubkey lines in /etc/pkg/Trail.conf pkg should runs fine.

mdiemer
Posts: 23
Joined: Sun Jan 20, 2019 4:55 pm
Has thanked: 1 time
Been thanked: 2 times

Re: Unable to install applications

Post by mdiemer » Wed Jan 23, 2019 1:57 pm

I have found that if I wait a bit, the typing does fill in and it works from there.

lotech
Posts: 7
Joined: Mon Jan 21, 2019 1:00 am
Has thanked: 0
Been thanked: 0

Re: Unable to install applications

Post by lotech » Thu Jan 31, 2019 12:46 am

No it won't work, I reinstall the latest built and still the software station do nothing, it just pause after I typed the 2nd letter, even I can input the full text there is zero return nothing all blank empty, is GBSD still actively developing ?

NevilleGoddard
Developer
Posts: 478
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 9 times
Been thanked: 10 times

Re: Unable to install applications

Post by NevilleGoddard » Thu Jan 31, 2019 8:31 am

Try installing Octopkg and using that.

pkg ins octopkg

lotech
Posts: 7
Joined: Mon Jan 21, 2019 1:00 am
Has thanked: 0
Been thanked: 0

Re: Unable to install applications

Post by lotech » Sat Feb 02, 2019 4:00 am

Now I know what causing the problem, the system unable to update the repository, I got this when I do a "pkg update" :

root@3bsd:/etc # pkg update
Updating GhostBSD repository catalogue...
pkg: Repository GhostBSD load error: access repo file(/var/db/pkg/repo-GhostBSD.sqlite) failed: No such file or directory
Fetching meta.txz: 100% 260 B 0.3kB/s 00:01
pkg: No signature found in the repository. Can not validate against /usr/share/keys/pkg/GhostBSD.pub key.
repository GhostBSD has no meta file, using default settings
Fetching packagesite.txz: 100% 6 MiB 1.1MB/s 00:06
pkg: No signature found in the repository. Can not validate against /usr/share/keys/pkg/GhostBSD.pub key.
Unable to update repository GhostBSD
Error updating repositories!

What's up with it and how to fix ?

NevilleGoddard
Developer
Posts: 478
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 9 times
Been thanked: 10 times

Re: Unable to install applications

Post by NevilleGoddard » Sat Feb 02, 2019 6:00 am

Did you follow ericbsd's advice and comment out the lines in
/etc/pkg/Trail.conf pkg ?
Do you have any internet access at all?
These users thanked the author NevilleGoddard for the post:
liam (Sat Feb 02, 2019 7:03 pm)
Rating: 50%

Post Reply