pkg

  1. kkretsch

    C/C++ search for up to date pkg plugin examples

    Using freeBSD 12.2 I try to program a pkg plugin. So far it is found by the pkg tool and gets triggered by the install operation. To be able to compare with best practices I'd like to see some source code for a pgk plugin which is triggered just before the installation of a new package. I'm...
  2. D

    Segmentation Fault GPU

    Hello, whenever I run clinfo or clpeak I get this error: clpeak: Platform: Clover Device: AMD CEDAR (DRM 2.50.0 / 12.2-RELEASE-p3, LLVM 10.0.1) Driver version : 20.2.3 (FreeBSD) Compute units : 2 Clock frequency : 650 MHz Segmentation fault (core dumped) clinfo; ... ICD...
  3. D

    Solved DRM Module Kernel Panic with pkg

    Hello, I have been trying to get OpenCL working and found out I needed graphics/drm-fbsd12.0-kmod in order to get OpenCL recognize my GPU. The problem is, that module only works if it's built from ports and crashes when it's installed from pkg. The other issue is for number of reasons I can't...
  4. D

    Solved Cannot Install pkg

    Hello, I wanted to check for updates on my server and ran pkg update but the output was: The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: y Which I replied yes Bootstrapping pkg from...
  5. C

    PKG ERROR

    When trying to run pkg update && pkg upgrade -y I get this error: I tried several methods to solve this and none of them worked out... I'm kinda lost here. Unable to update repository FreeBSD Error updating repositories! root@:/usr/ports/ports-mgmt/pkg # root@:/usr/ports/ports-mgmt/pkg #...
  6. D

    Solved Issue with building the port in Jail

    Hello, I have been trying to build graphics/drm-fbsd12.0-kmod inside a Jail with make package but there I am having an issue: ===> radeonkmsfw/verde_smc (install) install -T release -o root -g wheel -m 555 radeon_verde_smc_bin.ko...
  7. Spity

    Pkg slow to download

    I'm doing some clean FreeBSD installs and pkg is very slow to download packages (400/500 kb/s). Is there any way to choose another mirror for faster installation?
  8. T

    Solved how do you tell pkg upgrade to do "all installed packages" with ansible?

    I would like to use ansible also to upgrade all installed packages on a host. Checking ansible's documentation for pkgng, it looks easy enough, so I created this little playbook: tingo@kg-core2$ cat fbsd-pkg-upgrade.yml # upgrade all installed packages - hosts: all roles: - fbsd-upgrade...
  9. G

    pkg update; Operation timed out; dnsmasq

    I have a similiar behavior like mentioned in an older post. Whenever I try to run pkg update I receive a timeout: Updating FreeBSD repository catalogue... pkg: http://pkg.freebsd.org/FreeBSD:12:amd64/quarterly/meta.txz: Operation timed out...
  10. N

    Manually Bootstrapping pkg(8) - Missing Packages

    Hi. My first post here and a FreeBSD user since 3.0. I've had to install FreeBSD at a location without Internet access. I manually bootstrapped pkg then updated the repository, all went fine. While at the office (where there is Internet), while I was burning the ISO, I was browsing through the...
  11. JozanOfAstora

    Solved pkg-static: Unable to drop privileges

    Hi, after upgrading from FreeBSD 12.2 to 12.2-p2 from source, I messed up the mergemaster -Ui part, removing my user and all users created by ports installation like avahi, dbus, hal, polkit, etc. Since those are needed for a lot of stuff like running a window manager I'm stuck with the tty for...
  12. X

    Unable to install Firefox on Raspberry Pi 3

    Hi, I installed FreeBSD 12.2-Release image for the Raspberry Pi 3 and I was able to get most things up and running smoothly (pkg, sudo, xorg). However, when I try to install firefox with pkg install firefox, it gives me this message: Updating FreeBSD repository catalogue... FreeBSD repository...
  13. scotia

    portmaster not finding package where pkg install does

    Hi, I'm wading through the molasses that is a FreeBSD upgrade. I want to use packages where available, however where pkg finds packages, portmaster does not: # portmaster -bdgy -PP devel/cmake ===>>> Port directory: /usr/ports/devel/cmake ===>>> Gathering dependency list for devel/cmake...
  14. Abraham79

    Randomly unable to update pkg repository in FreeBSD 12.2 - pkgmir.geo.freebsd.org not found

    Since few days, pkg repository fails to update, at random. Most of the times, it works; Sometimes not. Location is India. ~% doas pkg upgrade Updating FreeBSD repository catalogue... pkg: http://pkgmir.geo.freebsd.org/FreeBSD:12:amd64/latest/meta.txz: Not Found repository FreeBSD has no meta...
  15. dch

    Solved pkg(8) and fetch(1) errors with let's encrypt certs after 12.2-RELEASE

    This caused me a fair bit of grief last week, so hopefully this saves somebody else some. The issue is that after running freebsd-update on an existing system, to get to 12.2-RELEASE, that running pkg (or any fetch-related command), errors similar to the following turn up: Certificate...
  16. tommiie

    pkg upgrade itself automatically

    I want to configure my FreeBSD virtual machine with Ansible but run into the following issue: >vagrant provision ==> white: Running provisioner: ansible_local... white: Installing Ansible... The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the...
  17. B

    No perl

    Today, on FreeBSd-12.1p10, I ran a script that has been working on FreeBSD for years and got this result: env: perl: No such file or directory. Which is, to put it mildly, bizarre. So I checked for perl: which perl | echo $? ==> 1. So, no perl installed. So I checked that: pkg info -x...
  18. Abraham79

    Solved GDM crashing after Gnome-3 packages upgraded to 3.36 version. I get a screen "Oh no! Something has gone wrong"

    This is a clean installation of 12.1 RELEASE version. I updated pkg and latest Gnome-3 packages including gnome-shell were downloaded and installed. Some packages were re-installed, after pkg prompting to do so. But, the gdm screen ends with this white error message. What I did was, clearing...
  19. D

    Can't bootstrapping pkg

    So, I have virtual machine with FreeBSD 12.1 RELEASE-p10 on ESXi 7. When I try to install pkg I get this: root@srv-freebsd:/home/user # pkg The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: y...
  20. A

    What is proper method to create a local mirror of pkg package repositories now that pkg.freebsd.org returns 401 when attempting to sync

    Hi Freebsd Forum community, We run a large installation of Freebsd 11 and 12 servers that have historically utilized a local FreeBSD package repository mirror on-premise that we sync periodically. The method we have been using for years -- since the official repositories were poisoned a few...
Top