Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#455 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
c
Ambito
cli, databases

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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)

Lingua principale
C
Stelle
1.2k
Fork
152
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di void-linux/xbps

Tutte le issue di void-linux/xbps

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.