Questions tagged [pkg]
For questions about pkg, the main package management tool of FreeBSD.
32
questions
-1
votes
1
answer
64
views
How can I install pip on FreeBSD?
I was trying to install python and pip on my FreeBSD 15.0 server. It seems like I've successfully installed python. Now I have both Python3.9 and Python 3.11. However, I can't find and package called &...
0
votes
0
answers
28
views
Difference between +MANIFEST and +COMPACT_MANIFEST in FreeBSD .pkg
I have recently created a FreeBSD .pkg file using a custom script.
A FreeBSD .pkg file is essentially a tar archive (optionally compressed) whose first two entries are manifest files, named +MANIFEST ...
0
votes
1
answer
41
views
Recommended and alternate dependencies in FreeBSD .pkg
A FreeBSD package typically specifies dependencies in its manifest as follows:
deps:
# python39, version 3.9 or higher
python39: {origin: lang/python39, version: 3.9}
# bind-tools, any version
...
1
vote
1
answer
702
views
How to install a package in Solaris 11 from file?
How to install a package in Solaris 11 from file (not from the package repository)?
I am trying to install a .pkg file on a Solaris 11 SPARC machine, however, I get errors:
# pkg install mysql-...
1
vote
1
answer
1k
views
Solaris 11 Not Able To Install PKG File
I am trying to install a .pkg file on a Solaris 11 Intel machine and am faced with the following error:
pkg install: The following pattern(s) did not match any allowable packages. Try
using a ...
0
votes
2
answers
1k
views
Install pkg for FreeBSD 10
I'm getting the following error while trying to install pkg on FreeBSD 10.4-
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:10:amd64/latest, please wait...
pkg: Error fetching http://pkg....
6
votes
1
answer
8k
views
What is the equivalent packages build-essential and linux-headers-<xxxx> in alpine?
I want to build kernel modules in Alpine; I know how to do it in Ubuntu.
In Ubuntu, I used to install kernel headers by running:
apt install -y build-essential linux-headers-$(uname -r)
What is the ...
0
votes
1
answer
602
views
rsnapshot.conf - reducing verbose parameter not having the desired effect?
TL;DR
Is there some configuration for rsnapshot (see versions below) that would allow me to restrict output to the shell commands, errors and start/finish notifications generated by rsnapshot itself, ...
0
votes
1
answer
1k
views
FreeBSD 12.1 pkg error: no trusted fingerprints
I have just installed FreeBSD 12.1 and want to give it a try. I used qemu. When I types pkg, it started normal bootstrapping. After downloading, it says No trusted fingerprint found matching package'...
5
votes
2
answers
142
views
What is the pkg analog of "apt show"?
pkg info displays full information on the installed packages. How do I get the same output for packages not yet installed? On Ubuntu, apt show does exactly that.
ETA: An example of what I'm looking ...
1
vote
1
answer
3k
views
Solaris 11.3.1 upgraded to 11.4.0 failing
trying to upgrade from Solaris 11.3.1 to 11.4.0 and I keep running into a dependency problem that for the life of me I can't get past.
I'm guessing it needs a package that isn't available inside ...
0
votes
1
answer
5k
views
Problem with pkg installation on FreeBSD
If I do pkg update I get:
Updating FreeBSD repository catalogue...
pkg: http://pkg.FreeBSD.org/freebsd:9:x86:32/latest/meta.txz: Not Found
repository FreeBSD has no meta file, using default settings
...
3
votes
1
answer
128
views
List Dependencies of Pending `pkg upgrade`
I wanted to update most of the stuff on my FreeBSD system, so I was going to perform a pkg upgrade. I noticed that one of the listed new packages to be installed was Wayland; I'm not interested in ...
0
votes
1
answer
311
views
postinstall and postremove script not working
I am installing a package in Solaris server, my postinstallation and postremove file are kept in below path:
/export/home/username/ABC/root/opt/ABC/bin
I have added this path in prototype file like ...
2
votes
0
answers
346
views
FreeBSD PKG Backup
As I'm finally getting around to reading through the FreeBSD Handbook, I discovered that PKG is taking daily backups of the package database (defined in periodic.conf). My questions are as follows:
...