For questions about pkg, the main package management tool of FreeBSD.
Questions tagged [pkg]
29 questions
11
votes
2 answers
How to list installed files in FreeBSD pkg?
Is there a way to list the installed files with pkg for a certain package?
viuser
- 2,564
- 3
- 29
- 57
9
votes
2 answers
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 balancer
It suggests that pkg search uses other source…
Sato
- 223
- 2
- 4
6
votes
1 answer
What is the equivalent packages build-essential and linux-headers- 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 equivalent in Alpine?
I searched on the web and…
E235
- 363
- 7
- 19
6
votes
6 answers
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 anything in /usr/local.
I'm catching this error:
$…
user56041
5
votes
2 answers
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 for, taken from Ubuntu.
$ apt show sudoku
Package:…
sigil
- 165
- 5
5
votes
2 answers
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 recipe at…
Edward Falk
- 1,913
- 15
- 14
4
votes
1 answer
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 got the following errors:
Proceed with this action…
Rui F Ribeiro
- 55,929
- 26
- 146
- 227
3
votes
1 answer
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 having Wayland on my system, and I'm curious as to…
Hammer Bro.
- 133
- 3
3
votes
1 answer
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 the very latest†.
➥ How can I switch from one…
Basil Bourque
- 1,475
- 1
- 16
- 29
3
votes
1 answer
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 correctly. I know they are not installed correctly…
Josh Pinto
- 3,483
- 15
- 52
- 87
2
votes
0 answers
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:
Is a daily pkg backup necessary for a desktop…
bgregs
- 343
- 1
- 11
2
votes
2 answers
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 install: No matching version of developer/golang…
user426445
- 123
- 2
2
votes
1 answer
On FreeBSD, how to find packages depending on a specific package
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
- 1,519
- 3
- 32
- 44
2
votes
0 answers
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 repos pointed to are pfSense's own, and the…
Stilez
- 1,221
- 14
- 28
2
votes
2 answers
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-RELEASE-p10 FreeBSD 11.0-RELEASE-p10 #1 r319768:…
nalzok
- 369
- 1
- 6
- 23