Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [pkg]

For questions about pkg, the main package management tool of FreeBSD.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
68 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 &...
Gordon Zhang's user avatar
0 votes
0 answers
29 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 ...
user149408's user avatar
  • 1,343
0 votes
1 answer
43 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 ...
user149408's user avatar
  • 1,343
1 vote
1 answer
705 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-...
eliot's user avatar
  • 31
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 ...
Help's user avatar
  • 97
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....
Shradha's user avatar
  • 109
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 ...
E235's user avatar
  • 383
0 votes
1 answer
603 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, ...
BISI's user avatar
  • 136
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'...
Chrimpyslime's user avatar
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 ...
sigil's user avatar
  • 165
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 ...
ohnoes4k's user avatar
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 ...
Ariel Baron's user avatar
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 ...
Hammer Bro.'s user avatar
0 votes
1 answer
312 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 ...
tani joshi's user avatar
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: ...
bgregs's user avatar
  • 353
5 votes
1 answer
6k views

Change between `quarterly` and `latest` package set used by `pkg` tool in FreeBSD

The pkg tool in FreeBSD is usually set to draw upon either the quarterly or latest package set. The latest set may churn more often with updates, while the quarterly is meant to be more stable but not ...
Basil Bourque's user avatar
0 votes
1 answer
82 views

Is the list of packages available to install with `pkg` stored locally on FreeBSD? If so, how to update that cache?

When looking for a package to install on FreeBSD 11.2, such as the zsh shell: pkg search zsh …is the searching done against a local cache of packages information, or run over the internet against ...
Basil Bourque's user avatar
5 votes
2 answers
3k views

FreeBSD, bootstrapping pkg, "pkg-static: sqlite error while executing INSERT OR ROLLBACK INTO pkg_search"

I was trying to install bash on a FreeBSD 10.2 system, see How to Install bash on FreeBSD But the install failed because pkg was trying to fetch from a too-new repository. I then tried following the ...
Edward Falk's user avatar
  • 1,973
6 votes
6 answers
10k views

Solaris won't update because ddt-incorporation is using a self-signed certifcate

I'm trying to update my Solaris 11.3 x86 system. The system hasSun/Oracle software on it, including Sun Developer Studio and Sun SSH server. It does not have other software on it, and I don't have ...
user avatar
12 votes
3 answers
8k views

How to list installed files in FreeBSD pkg?

Is there a way to list the installed files with pkg for a certain package?
viuser's user avatar
  • 2,634
10 votes
2 answers
7k views

How to install the latest version of software in FreeBSD?

The ports repository (svnweb.freebsd.org/ports/head/) shows haproxy is version 1.7.10 but pkg search haproxy gives me haproxy-1.7.9 Reliable, high performance TCP/HTTP load ...
Sato's user avatar
  • 233
2 votes
2 answers
839 views

Can't install Golang on Solaris via pkg - release/evaluation dependency

On a new installation of Solaris 11.3 on Sparc hardware, I'm trying to install Golang but am getting the following problem: # pkg install --accept developer/golang Creating Plan (Solver setup): | pkg ...
user426445's user avatar
1 vote
1 answer
5k views

Installed incompatible pkg version, how to uninstall (or fix otherwise)?

While trying to upgrade a pfSense 2.2.6 to the latest version (as described here) and running pkg, I got: The package management tool is not yet installed on your system. Do you want to fetch and ...
user149408's user avatar
  • 1,343
2 votes
1 answer
3k views

On FreeBSD, how to find packages depending on a specific package [duplicate]

I want to find/list/search packages depending on a specific package on FreeBSD with pkg tool. How can I do that? Something like: # pkg list dependent-upon llvm40 ???
Megidd's user avatar
  • 1,559
0 votes
2 answers
155 views

How does FreeBSD handle installing 2 packages which share a common dependency?

I'm working on FreeBSD 11 and already using programs with tcpdump as a dependency, which has libpcap and libsmi as dependencies. I want to also install tshark, the console version of wireshark. I'll ...
Stilez's user avatar
  • 1,271
2 votes
0 answers
1k views

Getting pkg data using repo URLs only (without a repo.conf file) - FreeBSD 10/11

This question is about using pkg on systems where the normal FreeBSD repos have been disabled, but may occasionally be needed. To make it concrete, I'm thinking about platforms like pfSense where the ...
Stilez's user avatar
  • 1,271
2 votes
2 answers
4k views

Cannot install package: kernel missing Linux support

I'm trying to install Dwarf Fortress on my MacBook Air running FreeBSD 11.0 via pkg install linux-dwarffortress. Here is some background information: root@machine0:~ # uname -a FreeBSD machine0 11.0-...
nalzok's user avatar
  • 401
1 vote
1 answer
6k views

Shared object "libarchive.so.7" not found, required by "pkg"

I'm using FreeBSD 12-CURRENT and recently I tried to update my packages with pkg. pkg update finished successfully, but pkg upgrade returned the following error: Shared object "libarchive.so.5" not ...
Mateusz Piotrowski's user avatar
2 votes
1 answer
376 views

How to mitigate the multiple vulnerability : remote code execution and local privilege escalation on FreeBSD 11?

By checking the state of installed package using the pkg audit -F tool on freeBSD 11 , I have found 4 vulnerability on the installed packages (installed through pkg) : samba ,OpenEXR , kdelibs and ...
GAD3R's user avatar
  • 67.5k
3 votes
1 answer
477 views

How to run pkg upgrade on FreeBSD without downloading any data?

I have a VM for FreeBSD 11-STABLE and whenever I run pkg upgrade -y on it, the thing tries to install three packages, the most notable of which is vim, then reboots without installing the packages ...
Josh Pinto's user avatar
  • 3,503
2 votes
1 answer
1k views

What is the equivalent of `apt list` in FreeBSD?

I have just started using FreeBSD again after some years of staying away from *BSD based systems (with the exception of macOS). I am using FreeBSD 11.0 and 12.0. To manage packages, pkg seems rather ...
Rui F Ribeiro's user avatar
4 votes
1 answer
5k views

Not able to install any FreeBSD package

I have been installing FreeBSD 12.0-CURRENT in a new desktop. I lost the wifi connection while updating the system. After that, trying to install aterm with the command: sudo pkg install aterm I ...
Rui F Ribeiro's user avatar