Closed hervyqa closed 1 year ago
pacman
detected as default.
➜ ~ fastfetch --help packages-format
--packages-format:
Sets the format string for packages output.
To see how a format string is constructed, take a look at "fastfetch --help format".
The following values are passed:
{1}: Number of all packages
{2}: Number of pacman packages
{3}: Pacman branch on manjaro
{4}: Number of dpkg packages
{5}: Number of rpm packages
{6}: Number of emerge packages
{7}: Number of xbps packages
{8}: Number of nix-system packages
{9}: Number of nix-user packages
{10}: Number of nix-default packages
{11}: Number of flatpak packages
The default is something similar to "{2} (pacman){?3}[{3}]{?}, {4} (dpkg), {5} (rpm), {6} (emerge), {7} (xbps), {8} (nix-user), {9} (nix-default), {10} (flatpak), {11} (snap)".
Does ls /var/db/xbps
list one file for each installed package?
Does
ls /var/db/xbps
list one file for each installed package?
all installed package data is in pkgdb-0.38.plist
.
my pkgdb: pkgdb-0.38.plist.zip
a list of all the contents of the folder is here (with dot files).
ls -lah /var/db/xbps/ > list.txt
list.txt
(dot plist files are packages installed with listed repositories only, not with self-installed packages by manually installing .xbps packages. but with xbps-query -l
can enumerate all packages including manually installed ones)
➜ ~ xbps-query -l | wc -l
1740
➜ ~
Can you please test it?
Can you please test it?
still empty.
but if i use --packages-format "{} (xbps)"
or --packages-format "{7}"
it appears.
I don't think it's about how to calculate it (previously it could be calculated with --packages-format {7}
),
but it's about displaying the result.
sorry, I can't make a patch. can only test it.
Pretty sure i fixed it, please test
Pretty sure i fixed it, please test
Finally 🎉
General description of bug:
XBPS packages count should be detected.
LangitKetujuh OS (xbps, based on voidlinux)
I tried on voidlinux fresh liveusb same result. Step:
Often helpful questions:
Output of
fastfetch --version
:Output of
fastfetch --load-config devinfo
:Output of
fastfetch --load-config devinfo-verbose
:Output of
fastfetch --list-features
: