- Is there an equivalent for pkg-orphan/pkg_cutleaves with pkgng?
- How pkgng is different from the FreeBSD pkg_* tools? What is the motivation behind pkgng?
- How pkgng is different from PC-BSD PBI packages?
- What is the difference between
pkg delete -y
andpkg delete -f
? - Where is
pkg info -R
, the oldpkg_info
had-R
? - Can pkgng replace a package with an another version, eg. pkg upgrade pkg-1.0 pkg-2.0?
- How pkgng deals with dependencies?
- The repository format of pkgng is different from the old one. Will pkgng adapt the old format too?
- Does
pkg repo
include symlinked packages? - How do I know if I have packages with the same origin?
- How to start working with multi-repos in pkgng?
- Why
pkg create
is slow? - Does pkgng work with portaudit?
- When will pkgng be the default package manager?
pkg autoremove
is what you are looking for.
The README should explain all of that :)
PBI are flat/complete packages, where pkgng do package ports as there are.
By default pkgng will ask before doing something, -y == yes
means yes do it.
But if a package it depends on it will fail saying it is depend on, -f == force
means that delete it anyway.
New flags are: pkg info -d
for depends on, and pkg info -r
for reverse dependencies.
Currently not, but it is in the todo list.
Q: How pkgng deals with dependencies? If pkgA-1.0
depends on pkgB-1.0
and pkgB-1.0
is updated to pkgB-2.0
, will pkgA
notice the change?
Yes, pkgA
will automatically notice the change.
Q: The repository format of pkgng is different from the old one. Will pkgng adapt the old format too?
The documented (README) way to create a new repository creates all packages in one directory.
This is different from earlier repository format, which creates it in separate directories.
Pkgng doesn not depend on a hierarchy, it recursively finds the packages from the provided directory entry.
The default hierarchy has lots of symlinks which should just be ignored and thus pkgng doesn not read symlinks.
Here is how to do that:
sh -c 'find . -name "*.txz" -exec pkg query -f {} %o \;' | sort | uniq -d
Please refer to the README, which explains how to enable and get started with multi-repos in pkgng.
The number one reason is the XZ compression, which is slow.
No, pkgng uses internal pkg audit
command.
Possibly in version 9.1.