Update fails.

Need support for GhostBSD. Ask here if your question does not fit elsewhere.
Post Reply
qubit
Posts: 10
Joined: Mon Apr 05, 2021 6:21 am

Update fails.

Post by qubit »

Update Stations doesn't install the new updates.

When i try to install it in the shell:

Code: Select all

# pkg update -f
Updating GhostBSD repository catalogue...
Fetching meta.conf: 100%    163 B   0.2kB/s    00:01    
Fetching packagesite.pkg: 100%    7 MiB 777.8kB/s    00:09    
Processing entries: 100%
GhostBSD repository update completed. 33995 packages processed.
All repositories are up to date.

# pkg upgrade
Updating GhostBSD repository catalogue...
GhostBSD repository is up to date.
All repositories are up to date.
New version of pkg detected; it needs to be installed first.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
	pkg: 1.19.2 -> 1.20.4

Number of packages to be upgraded: 1

The process will require 1 MiB more space.
9 MiB to be downloaded.

Proceed with this action? [y/N]: y
pkg: http://pkg.us.ghostbsd.org/stable/FreeBSD:13:amd64/latest/All/pkg-1.20.4.pkg: Not Found
Is this a known problem? Anything i can do?

Greetings
qubit
stefan
Posts: 21
Joined: Sun Jul 09, 2023 9:56 am
Contact:

Re: Update fails.

Post by stefan »

I installed the update on saturday and everything worked fine. Maybe the GhostBSD Repository Server was not online when you tried to update?
Perhaps you should try it again later.

Best regards
Stefan
qubit
Posts: 10
Joined: Mon Apr 05, 2021 6:21 am

Re: Update fails.

Post by qubit »

Thanks for your reply, stefan!

The Server was online, i checked it with Firefox.

It seems, that the US-Mirror has not all packages.
https://pkg.us.ghostbsd.org/stable/Free ... latest/All
I count 32250 packages, and pkg-1.20.4.pkg is one of the missing ones.

For the french mirror
https://pkg.fr.ghostbsd.org/stable/Free ... latest/All
I count 33995 packages and pkg-1.20.4.pkg is here available.

The Problem seems to be the US-mirror.

Best regards
qubit
qubit
Posts: 10
Joined: Mon Apr 05, 2021 6:21 am

Re: Update fails.

Post by qubit »

Edited my /etc/pkg/GhostBSD.conf to use the french mirror and then the updates installed without a problem.

Code: Select all

 
# $GhostBSD$
#
# To disable this repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/GhostBSD.conf file:
#
#   mkdir -p /usr/local/etc/pkg/repos
#   echo "GhostBSD: { enabled: no }" > /usr/local/etc/pkg/repos/GhostBSD.conf
#

GhostBSD: {
  # url: "https://pkg.fr.ghostbsd.org/stable/${ABI}/latest",
  url: "https://pkg.fr.ghostbsd.org/stable/FreeBSD:13:amd64/latest",
  enabled: yes
}
 
User avatar
ericbsd
Developer
Posts: 2056
Joined: Mon Nov 19, 2012 7:54 pm

Re: Update fails.

Post by ericbsd »

I have problems sending data to the US server.
gbar
Posts: 40
Joined: Wed Apr 05, 2017 12:30 pm

Re: Update fails.

Post by gbar »

Hi, my update also fails

Updating GhostBSD repository catalogue...
GhostBSD repository is up to date.
All repositories are up to date.
process with pid 9747 still holds the lock
process with pid 9747 still holds the lock
process with pid 9747 still holds the lock
process with pid 9747 still holds the lock
process with pid 9747 still holds the lock
process with pid 9747 still holds the lock
pkg: Package database is busy while closing!
gbar
Posts: 40
Joined: Wed Apr 05, 2017 12:30 pm

Re: Update fails.

Post by gbar »

sudo pkg says all packages up to date but orange update says still some to install
User avatar
ericbsd
Developer
Posts: 2056
Joined: Mon Nov 19, 2012 7:54 pm

Re: Update fails.

Post by ericbsd »

gbar wrote: Mon Sep 04, 2023 6:19 am Hi, my update also fails
What happened?
Post Reply