Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

`xbps-reconfigure -fa` on a fresh install adds (missing?) `pkgname` entries to `pkgdb-0.38.plist`

Offen
#455 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
c
Bereich
cli, databases

Rechercherichtung

Reproduce the reported xbps-install and chroot xbps-reconfigure commands and compare the resulting pkgdb-0.38.plist files. Then trace the package-database handling in the xbps-install and xbps-reconfigure entry points; done means establishing whether the differing pkgname entries are expected and, if not, identifying a reproducible fix or regression test.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement

Not sure if this is a bug or not, but I thought better report it, in case it is.

I noticed that when creating a new chroot by running: xbps-install -S -r ./testroot -C /usr/share/xbps.d base-system, there are no <key>pkgname</key><string>...</string> entries in pkgdb-0.38.plist.

However when I run: chroot ./testroot xbps-reconfigure -fa

then ./testroot/var/db/xbps/pkgdb-0.38.plist does contain those entries. It contains exactly as many as there are packages in the chroot installed, so I assume for every package entry in pkgdb-0.38.plist one of those entries is added.

I was wondering why the xbps-install command was not creating them in the first place... (I did not supply the -U flag to that)

Vorherrschende Sprache
C
Sterne
1.2k
Forks
152
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus void-linux/xbps

Alle Issues in void-linux/xbps

Ähnliche Issues

Weitere Issues zu C

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.