Doing "pkg upgrade" removed Librewolf and now it's missing from latest repository

Hello everyone,

Sometimes "pkg upgrade" removes packages, but I haven't had a situation where it is removed from the latest repository and I cannot install the compiled binaries. I've looked on FreshPorts and the port is still there. I know there is another site where I could look the status of builds, but I dont remember it right now.

I am building Librewolf from ports (which will take a decent time due to llvm and rust). However why does this situation happen when upgrading with "pkg"?

My FreeBSD repository file looks like this

Code:
FreeBSD: {
  url: "pkg+https://pkg.FreeBSD.org/${ABI}/latest",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}
 
Thanks for sharing the sites, but in the first one i see the build status for the quarterly repos, not the latest. In the second site, searching "www/librewolf" returns "No pkg-fallout found for this query.". I also never understood what a "pkg-fallout" is haha.
Do you have FreeBSD.conf in:
/usr/local/etc/pkg/repos/FreeBSD.conf
Try pkg -vv | sed -n '/^Repositories:/,$ p'
What version of pkg do you have?
 
...
I've looked on FreshPorts and the port is still there.
...
It is not:

ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest137.0_3137.0.2--137.0.2---
FreeBSD:13:quarterly138.0_1138.0.1_1--138.0.1_1---
FreeBSD:14:latest136.0.1---138.0.1_1---
FreeBSD:14:quarterly136.0.2138.0.1_1--138.0.1_1---
FreeBSD:15:latest136.0.4137.0.1n/a-n/a-

As you can see there's no amd64-latest build available.
 
For what it's worth I also have packages set to latest and it hasn't tried to remove librewolf. What happens if you, after this is done, run pkg install librewolf, does it get reinstalled?
 
Do you have FreeBSD.conf in:
/usr/local/etc/pkg/repos/FreeBSD.conf
Try pkg -vv | sed -n '/^Repositories:/,$ p'
What version of pkg do you have?
Yes, the text that I shared on my first post is the repository configuration (and it is the only repository). I can query and check/install other packages. "pkg" version is 2.1.2.

As you can see there's no amd64-latest build available.
Ah, my bad, I must have misread then. Interesting that it isnt there yet for amd64. So when it is available again, then I will be able to install it from binaries.
For what it's worth I also have packages set to latest and it hasn't tried to remove librewolf. What happens if you, after this is done, run pkg install librewolf, does it get reinstalled?
I don't know why it removed librewolf, my last upgrade was a few months ago, so along with a bunch of library updates and reinstalls, Librewolf had to be removed for the upgrade to work. I had read on all the operations that the upgrade would do that it would remove it, but I was sure that I would be able to reinstall it. Running "pkg install librewolf" does nothing, it returns that such package does not exist.
 
pkg search librewolf is your friend. It searchs the upstream repo that you have configured for the package. If it returns nothing, that implies the package is not there, perhaps not built or perhaps removed.
If it returns something you can pkg install.

pkg upgrade should list what packages are to be installed, reinstalled or removed.
 
It must take a while for the compiled binaries to be available I guess.
There is "time for all the packages to build for all the architectures" and "time to push the packages to all the repos". And yes, it does take time to push to all repos where you pull them from. That's why I like the "pkg search" command, you get instant feedback on "is the package available in the repo I'm pointing to"
 
Back
Top