Packages missing?

Everything related to Installing and maintaining software.
Post Reply
roso
Posts: 3
Joined: Fri Sep 12, 2014 2:36 pm
Location: Earth

Packages missing?

Post by roso »

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: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: Packages missing?

Post by ericbsd »

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

Re: Packages missing?

Post by roso »

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: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: Packages missing?

Post by ericbsd »

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

Re: Packages missing?

Post by roso »

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: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: Packages missing?

Post by ericbsd »

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
Contact:

Re: Packages missing?

Post by scubapro25 »

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

Re: Packages missing?

Post by ASX »

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
Contact:

Re: Packages missing?

Post by scubapro25 »

Thanks, ASX!
Cheers,

Mike
Post Reply