Fresh GhostBSD 20.03 installation cannot install packages  [SOLVED]

Everything related to Installing and maintaining software with pkg(pkgng).
Post Reply
Frontier
Posts: 2
Joined: Fri Apr 24, 2020 8:23 am
Has thanked: 0
Been thanked: 0

Fresh GhostBSD 20.03 installation cannot install packages

Post by Frontier »

Hello,

I have installed GhostBSD 20.03 on a VirtualBox 6.1.6 VM (the host is Windows 10 Pro); installation went without any issues (using the VirtualBox Xorg driver) and the system boots fine with everything working.

The problem is that I cannot install packages to the system using Software Station; upon selecting a package (e.g gcc) and clicking Apply, the program seems to be stuck in an infinite loop displaying messages at the bottom "Updating GhostBSD repository catalogue", "Updating GhostBSD_PKG repository catalogue" and no software is installed.

Update-Station also does not seem to work at all, double-clicking on the icon does not display anything.

Trying to install the same package under console gives the following messages:

Code: Select all

sudo pkg install gcc

Updating GhostBSD repository catalogue...
GhostBSD repository is up to date.
Updating GhostBSD_PKG repository catalogue...
GhostBSD_PKG repository is up to date.
All repositories are up to date.
New version of pkg detected; it needs to be installed first.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
Updating GhostBSD repository catalogue...
GhostBSD repository is up to date.
Updating GhostBSD_PKG repository catalogue...
GhostBSD_PKG repository is up to date.
All repositories are up to date.
New version of pkg detected; it needs to be installed first.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
Updating GhostBSD repository catalogue...
GhostBSD repository is up to date.
Updating GhostBSD_PKG repository catalogue...
It seems that there is a newer version of the pkg program that needs to be installed first.

Am I doing something wrong here? The installation is brand-new and came from the GhostBSD ISO image downloaded from the official site (French mirror).

Many thanks in advance for your help.

User avatar
ericbsd
Developer
Posts: 1526
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 47 times
Been thanked: 78 times

Re: Fresh GhostBSD 20.03 installation cannot install packages  [SOLVED]

Post by ericbsd »

remove /usr/local/etc/pkg/repos/GhostBSD.conf

Code: Select all

sudo rm /usr/local/etc/pkg/repos/GhostBSD.conf

Frontier
Posts: 2
Joined: Fri Apr 24, 2020 8:23 am
Has thanked: 0
Been thanked: 0

Re: Fresh GhostBSD 20.03 installation cannot install packages

Post by Frontier »

ericbsd wrote:
Fri Apr 24, 2020 8:53 am
remove /usr/local/etc/pkg/repos/GhostBSD.conf

Code: Select all

sudo rm /usr/local/etc/pkg/repos/GhostBSD.conf
That helped, thank you very much.
Now update-station responds with re-installation of 577 packages to the system, hope it does not render it unusable.

User avatar
ericbsd
Developer
Posts: 1526
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 47 times
Been thanked: 78 times

Re: Fresh GhostBSD 20.03 installation cannot install packages

Post by ericbsd »

We are waiting on the full packages build with OS updates to build a new iso to fix the current problem with 20.03 iso.

Post Reply