pkg

  1. nxjoseph

    Solved remove/install loop with tcl86 pkg

    Hi. When I do pkg autoremove, it removes lang/tcl86 and after pkg upgrade, it tries to install it again. I did pkg check -ad but it seems like it's not required. It's not a big problem for me but I'd like to know why that loop happens. Thanks. # pkg autoremove Checking integrity... done (0...
  2. S

    unable to do pkg update

    Hallo Thats happend after pkg update pkg update Updating FreeBSD repository catalogue... pkg: An error occured while fetching package pkg: An error occured while fetching package repository FreeBSD has no meta file, using default settings pkg: An error occured while fetching package pkg: An...
  3. Cath O'Deray

    Hints: using script(1) or vidcontrol(1) when scrollback is insufficient

    With (for example) a virtual terminal such as ttyv1, it's sometimes impossible to see what's required. A command like this, following a major upgrade to base, might summarise a number of (port) packages to be removed, without allowing you to see the name of any such package: pkg upgrade...
  4. J

    Solved DNS in jail but not for pkg

    Hi, I have networking and DNS working from inside a jail (14.1 host and 14.1 jail). But DNS does not work for the pkg command. # cat /etc/pkg/FreeBSD.conf FreeBSD: { url: "pkg+https://pkg.FreeBSD.org/${ABI}/quarterly", mirror_type: "srv", signature_type: "fingerprints", fingerprints...
  5. A

    pkg bootstrap error in aarch64 (raspberry pi)

    Hello! FreeBSD 14.1-RELEASE-p2 pkg shows this error when I try to bootstrap: Certificate verification failed for /CN=pkg.freebsd.org 0020E11B77610000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1890...
  6. R

    Solved Repository FreeBSD has a wrong packagesite, need to re-create database

    Hi, I upgraded from version 14.0 p6 to 14.1 release. Currently I can still browse the internet, work with the machine, do pings to Freebsd.org. No problem with network connections or my data. But I cannot upgrade any packages anymore: root@vm1:~ # pkg upgrade Updating FreeBSD repository...
  7. K

    Need a second opinion on possible pkg(8) bug?

    Hi, I'm looking for a second opinion on whether I've run into a bug in pkg regarding local repositories. I currently build a small handful of packages locally from ports and also manually install them, but I wanted to try using a local pkg repository to handle that instead. On one of my...
  8. I

    jails How to install a pkg offline into a jail?

    I'm trying to install a downloaded package (bhyve-firmware-1.0_2.pkg, and its dependency) into a jail. In the host, all I did as "pkg add bhyve-firmware-1.0_2.pkg" and it worked. However, to try to get in into a jail, I've tried: pkg -j jailname add bhyve-firmware-1.0_2.pkg pkg -j jailname...
  9. itsme

    vbox pkg: Host does not resolve

    After a fresh install of FreeBSD 14.0-RELEASE(on virtual box in windows), unable to update/install packages. The physical machine(desktop) is inside my office network. The same setup works on my office laptop(windows + virtualbox) when connected to office network via VPN without any addtional...
  10. rbranco

    C Testers wanted for new "ps" command for pkg(8)

    I added functionality to list processes using deleted binaries & libraries after a system update. As this feature is present in openSUSE's zypper and Debian's apt (through the needrestart plugin), I decided to add it to pkg(8). https://github.com/freebsd/pkg/pull/2290 To test: git clone...
  11. helmet1080

    pkg not working

    pkg-static: sqlite error while executing PRAGMA user_version; in file pkgdb.c:2380: database disk image is malformed When I got out of power, my computer turned off. When I powered my laptop, I got into problems. I was put to the root prompt. I had a disk problem. I solved it, fsck fixed all my...
  12. apprentice

    Strawberry, ogg & Extreme difficulty removing packages

    I installed the strawberry-qt6-1.0.22_1 package Using the command I learned: pkg install strawberry-qt6-1.0.22_1 But it is not playing .ogg ../ext/ogg/gstoggdemux.c(5021): gst_ogg_demux_loop ()...
  13. F

    Updating system

    In which order should one update/upgrading the FreeBSD components [freebsd (components, world and kernel), pkg, ports] to preserve the integrity of the system?
  14. byrnejb

    pkg starves other processes

    This A.M. I discovered that our imap service was experiencing some sort of performance issue. When I looked into this I discovered this situation at about 08:31: # ps -auwx | grep pkg root 56759 0.0 0.0 11804 2856 - IJ 07:01 0:00.00 /bin/sh -...
  15. illegalcoding

    ld-elf.so.1: /usr/sbin/pkg: Undefined symbol "fetchDebug"

    I'm not sure what happened, but suddenly any attempt to run pkg says ld-elf.so.1: /usr/sbin/pkg: Undefined symbol "fetchDebug". I tried reinstalling it from ports, and I got this error ld-elf.so.1: /usr/bin/fetch: Undefined symbol "fetchRestartCalls", but I managed to download the file it wanted...
  16. nerozero

    php upgrade - is there a better way to do?

    Hi there At the moment I'm doing php upgrade by collecting information about existing php packages then deleting them and installing newer versions. Is there a better way to do that ? A small script that I'm using so far: #!/bin/sh cfg_ver_cur="php81" cfg_ver_new="php82"...
  17. S

    pkg in jail not working

    Need help: I have just created a new jail 'ha' with 'iocage' on a new FreeBSD 14.0-REALEASE maschine (metal): iocage create -r 14.0-RELEASE --name ha ip4_addr="em0|192.168.1.200/24" Everything worked as expected. Now I want to install some packages inside the jail. No chance: root@ha:~ # pkg...
  18. D

    pkg and Boot Environments

    The freebsd-update utility automatically creates Boot Environment snapshots using bectl if the system supports it. I am curious, does pkg upgrade have any similar capability? I have used beadm and now bectl to create boot environments (then activate them, then update) for a long time, but now...
  19. F

    jails What about creating a jail automatically when installing a package?

    While discovering FreeBSD, jails & related management tools (ezjail, bastille, pot, etc) there is something I can't figure out: Why not give pkg the ability to actually create the jail that will contain the packages we install? something like pkg -cj webserverjail install nginx...
  20. S

    Solved How do I install packages on old versions?

    I have an old machine (10.4-RELEASE) and I need to install Python 3.8 on it. This is my pkg.conf file: FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly", mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: yes } This is what...
Back
Top