`xbps-reconfigure -fa` on a fresh install adds (missing?) `pkgname` entries to `pkgdb-0.38.plist`
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 25/100
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
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
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus void-linux/xbps
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 68/100
void-linux/xbps#475 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
void-linux/xbps#701 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
void-linux/xbps#700 ·
-
xbps-query -RX repository overridesEvtl. vergeben @outofsyncrs hat das vor 30 Tagen übernommen. Offenbug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
void-linux/xbps#696 ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 52/100
void-linux/xbps#695 · 7 Kommentare ·
Alle Issues in void-linux/xbps
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
openwrt/firmware-utils#82 ·
-
area:http-gateway good first issue priority:low type:bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
crazy-goat/php-fpm-ng#870 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Discover carries headerEdges that nothing reads since #1914 moved E0507/E0517 to the compiler graphOffentech-debt
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Maintainer antworten meist innerhalb von 1 Tag
-
2个显示的问题Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
coolsnowwolf/lede#14209 ·
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 75/100
polhenarejos/pico-hsm#147 ·