Packages missing?

Everything related to Installing and maintaining software with pkg(pkgng).
Post Reply
roso
Posts: 3
Joined: Fri Sep 12, 2014 2:36 pm
Location: Earth
Has thanked: 0
Been thanked: 0

Packages missing?

Post by roso » Fri Sep 12, 2014 2:41 pm

Hi mates!

Here's a quick one: why is it that "pkg search dmd2" gives a result on PC-BSD and not on GhostBSD-RC2?
I should have my repos up to day and stuff, but no luck.

Cheers!

User avatar
ericbsd
Developer
Posts: 1203
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 9 times
Been thanked: 7 times

Re: Packages missing?

Post by ericbsd » Mon Sep 15, 2014 9:51 am

Can you give us the output. GhostBSD use FreeBSD repos and PCBSD have their own repos.

roso
Posts: 3
Joined: Fri Sep 12, 2014 2:36 pm
Location: Earth
Has thanked: 0
Been thanked: 0

Re: Packages missing?

Post by roso » Mon Sep 15, 2014 3:39 pm

There is no output :S
The fact that both have different repos could explain this, but this package I was looking for does appear in all databases I know of (freebsd ports & freshports).

Anyway, I'll try again once the Gold comes out. I heard 10.1 will come with packages updates...maybe mine will be among them.

Cheers & and keep the good work!

User avatar
ericbsd
Developer
Posts: 1203
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 9 times
Been thanked: 7 times

Re: Packages missing?

Post by ericbsd » Mon Sep 15, 2014 7:56 pm

Pkgng have the latest pkg that is build from ports.

Try:

Code: Select all

sudo update -f
also:

Code: Select all

pkg search dmd2
it should work

roso
Posts: 3
Joined: Fri Sep 12, 2014 2:36 pm
Location: Earth
Has thanked: 0
Been thanked: 0

Re: Packages missing?

Post by roso » Tue Sep 16, 2014 6:25 pm

I have no update executable, I assume there is a typo somewhere.
If you meant pkg update -f nothing changed, still can't find my package.

Well, if you tell me you get a match, then it's fine for me! I trust your word. It won't change my opinion about GBSD in anyway :)
So no worries Eric, I'll manage somehow once we get to see the 4.0.

Cheers

User avatar
ericbsd
Developer
Posts: 1203
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 9 times
Been thanked: 7 times

Re: Packages missing?

Post by ericbsd » Tue Sep 16, 2014 7:46 pm

I have try myself to install it and I have this

Code: Select all

ericbsd@ericbsd /u/h/ericbsd> sudo pkg install dmd2
Password:
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
pkg: No packages available to install matching 'dmd2' have been found in the repositories
ericbsd@ericbsd /u/h/ericbsd>
You can install from ports.

Code: Select all

sudo portsnap fetch extract
cd /usr/ports/lang/dmd2
sudo make install clean

scubapro25
Posts: 13
Joined: Sun Jul 09, 2017 6:35 am
Location: San Diego, CA
Has thanked: 0
Been thanked: 0
Contact:

Re: Packages missing?

Post by scubapro25 » Sun Aug 13, 2017 6:01 am

Hello,

Firefox seems to have been removed after the last system upgrade to 10.3 and attempts to install it have been unsuccessful--sorry, relative noob here to GhostBSD.

Output: # pkg install firefox
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
pkg:

**No packages available to install matching 'firefox' have been found in the repositories**
Cheers,

Mike

ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm
Has thanked: 0
Been thanked: 0

Re: Packages missing?

Post by ASX » Sun Aug 13, 2017 6:48 am

scubapro25 wrote:Hello,

Firefox seems to have been removed after the last system upgrade to 10.3 and attempts to install it have been unsuccessful--sorry, relative noob here to GhostBSD.

Output: # pkg install firefox
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
pkg:

**No packages available to install matching 'firefox' have been found in the repositories**
Please, next time open a new thread, don't attach your question on a 3 year old thread.

About firefox, yes, it is currently not available on freebsd "quarterly" repository, but it is available in "latest" repository..

The quickest solution is to switch repository:
add the folowing file to your system:
/usr/local/etc/pkg/repos/FreeBSD.conf
with the following content:

Code: Select all

FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}
then run

Code: Select all

pkg upgrade
You will see a lot of pkg upgrade, because latest is built on top of head branch of ports (as opposed to quarterly branch).

While in theory "quarterly was supposed to be more reliable, in practice is not so, that's one of the reasons we have implemented owr own repos,.
You could also switch to use our own repos:
viewtopic.php?f=69&t=715

scubapro25
Posts: 13
Joined: Sun Jul 09, 2017 6:35 am
Location: San Diego, CA
Has thanked: 0
Been thanked: 0
Contact:

Re: Packages missing?

Post by scubapro25 » Sun Aug 13, 2017 3:42 pm

Thanks, ASX!
Cheers,

Mike

Post Reply