Doxygen annotations.
CVS patchset: 4146
CVS date: 2000/08/29 22:04:33
- rip out rpm{get,put}text, use getpo.sh and specspo instead.
- rip out rpmrc configuration.
- consistent return for all signature verification.
- - use enum for signature header tags.
+ - use enums for almost all rpmlib #define's.
+ - API: change rpmProblem typedef to pass by reference, not value.
3.0.6 -> 4.0
- use DIRNAMES/BASENAMES/DIRINDICES not FILENAMES in packages and db.
- add callbacks on package erasure.
- fix: preserve cpio errno when using Fclose with libio.
- fix: initialize sigs everywhere in python header object.
+ - translate rpm.8 man page (Peter Ivanyi <ivanyi@internet.sk>).
3.0.4 -> 3.0.5
- configure.in fiddles for BSD systems (Patrick Schoo).
# If the EXTRACT_PRIVATE tag is set to YES all private members of a class
# will be included in the documentation.
-EXTRACT_PRIVATE = YES
+EXTRACT_PRIVATE = NO
# If the EXTRACT_STATIC tag is set to YES all static members of a file
# will be included in the documentation.
./popt/poptparse.c \
./tools/dump.c \
./tools/dumpdb.c \
- ./tools/fstrcmp.c \
./tools/javadeps.c \
- ./tools/message.c \
./tools/rpmarchive.c \
./tools/rpmchecksig.c \
- ./tools/rpmgettext.c \
./tools/rpmheader.c \
./tools/rpminject.c \
./tools/rpmlead.c \
- ./tools/rpmsignature.c \
- ./tools/str-list.c
+ ./tools/rpmsignature.c
# If the value of the INPUT tag contains directories, you can use the
# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
*/
/** \defgroup db3 DB3.
*/
+/** \defgroup rpmrpc RPMRPC.
+ */
/** \defgroup rpmio RPMIO.
*/
/** \defgroup popt POPT.
tests/Makefile tests/rpmrc tests/macros tests/hello-test/Makefile
misc/Makefile po/Makefile.in intl/Makefile
doc/Makefile doc/manual/Makefile
- doc/ja/Makefile doc/pl/Makefile doc/ru/Makefile
+ doc/ja/Makefile doc/pl/Makefile doc/ru/Makefile doc/sk/Makefile
python/Makefile perl/Makefile perl/Makefile.PL],
[echo timestamp > popt/stamp-h.in
echo timestamp > stamp-h.in])
## Process this file with automake to produce Makefile.in
-SUBDIRS = manual ja pl ru
+SUBDIRS = manual ja pl ru sk
man_MANS = gendiff.1 rpm.8 rpm2cpio.8
be built and signed.
For example, to be able to use PGP to sign packages as the user
-\fp"John Doe <jdoe@foo.com>"\fP from the key rings located in
+\fB"John Doe <jdoe@foo.com>"\fP from the key rings located in
\fB/etc/rpm/.pgp\fP using the executable \fB/usr/bin/pgp\fP you would include
.I "\fB%_signature pgp\fP"
--- /dev/null
+Makefile
+Makefile.in
--- /dev/null
+## Process this file with automake to produce Makefile.in
+
+@SET_MAKE@
+
+man_MANS = rpm.8
+mandir = @mandir@/sk
+
+EXTRA_DIST = $(man_MANS)
--- /dev/null
+.\" rpm - Red Hat Package Manager
+.\"
+.\" translated into slovak by Peter Ivanyi <ivanyi@internet.sk>
+.\" for rpm version 3.0.5-9.6x
+.\"
+.TH rpm 8 "22 December 1998" "Red Hat Software" "Red Hat Linux"
+
+.SH MENO
+rpm \- Red Hat správca balíkov
+
+.SH POU®ITIE
+\fBrpm\fP [voµby]
+
+.SH POPIS
+\fBrpm\fP je veµmi výkonný \fIsprávca balíkov\fP, ktorý mô¾e by»
+pou¾itý na zostavenie, in¹taláciu, výpis informácií, kontrolu,
+aktualizáciu a odin¹talovanie jednotlivých softverových balíkov.
+\fIBalík\fP obsahuje archív súborov a informácií o balíku vrátane
+mena, verzie a popisu.
+
+Musí by» pou¾itý v niektorom z nasledujúcich re¾imov:
+\fIinicializácia databázy\fP, \fIprebudovanie databázy\fP,
+\fIzostavenie balíka\fP, \fIrekompilácia balíka\fP,
+\fIzostavenie balíka z tar archívu\fP, \fIzistenie informácií\fP,
+\fIvýpis informaèných tagov\fP, \fIin¹talácia\fP, \fIobèerstvenie\fP,
+\fIodin¹talovanie\fP, \fIkontrola a overenie\fP, \fIoverenie podpisu\fP,
+\fIopätovný podpis\fP, \fIpridanie podpisu\fP,
+\fInastavenie vlastníkov a skupín\fP a \fIvýpis konfigurácie\fP.
+
+Spravovanie databázy:
+.br
+.I "\fB rpm \-i [\-\-initdb]\fP"
+.br
+.I "\fB rpm \-i [\-\-rebuilddb]\fP"
+
+Zostavenie:
+.br
+.I "\fB rpm [\-b|t] [balík_spec]+\fP"
+.br
+.I "\fB rpm [\-\-rebuild] [zdrojové_rpm]+\fP"
+.br
+.I "\fB rpm [\-\-tarbuild] [tarovaný_zdroj]+\fP"
+.br
+
+Zistenie informácií:
+.br
+.I "\fB rpm [\-\-query] [zis»ovacie\-voµby]\fP"
+.br
+.I "\fB rpm [\-\-querytags]\fP"
+.br
+
+Spravovanie in¹talovaných balíkov:
+.br
+.I "\fB rpm [\-\-install] [in¹talaèné\-voµby] [súbor_balíka]+\fP"
+.br
+.I "\fB rpm [\-\-freshen|\-F] [in¹talaèné\-voµby] [súbor_balíka]+\fP"
+.br
+.I "\fB rpm [\-\-uninstall|\-e] [odin¹talaèné\-voµby] [balík]+\fP"
+.br
+.I "\fB rpm [\-\-verify|\-V] [overovacie\-voµby] [balík]+\fP"
+.br
+
+Podpisy (signatúry):
+.br
+.I "\fB rpm [\-\-verify|\-V] [overovacie\-voµby] [balík]+\fP"
+.br
+.I "\fB rpm [\-\-resign] [súbor_balíka]+\fP"
+.br
+.I "\fB rpm [\-\-addsign] [súbor_balíka]+\fP"
+.br
+
+Rozlièné:
+.br
+.I "\fB rpm [\-\-showrc]\fP"
+.br
+.I "\fB rpm [\-\-setperms] [balík]+\fP"
+.br
+.I "\fB rpm [\-\-setgids] [balík]+\fP"
+.br
+
+
+.SH V©EOBECNÉ VO¥BY
+Tieto voµby mô¾u by» pou¾ité vo v¹etkých re¾imoch.
+.IP "\fB\-vv\fP"
+Vypí¹e mno¾stvo o¹klivých ladiacich informácií.
+.IP "\fB\-\-quiet\fP"
+Vypí¹e èo najmenej informácií \- normálne sa zobrazia iba chybové hlá¹ky.
+.IP "\fB\-\-help\fP"
+Vypí¹e o nieèo dlh¹iu informáciu o pou¾ití ako je be¾ný výpis.
+.IP "\fB\-\-version\fP"
+Vypí¹e jednoriadkovú informáciu pozostávajúcu z èísla pou¾ívanej verzie
+\fBrpm\fP.
+.IP "\fB\-\-rcfile \fI<zoznam_súborov>\fP"
+Ka¾dý zo súborov v \fI<zoznam_súborov>\fP oddelených dvojbodkami je
+postupne èítaný cez \fBrpm\fP za úèelom získania konfiguraèných informácií.
+Implicitný \fI<zoznam súborov>\fP je
+\fB/usr/lib/rpm/rpmrc:/etc/rpmrc:~/.rpmrc\fP.
+Iba prvý súbor zo zoznamu súborov musí existova», a vlnovky (~) sú
+expandované na hodnotu \fB$HOME\fP.
+.IP "\fB\-\-root \fI<adresár>\fP"
+Pou¾ije adresár \fI<adresár>\fP ako koreòový adresár systému pre v¹etky operácie.
+Uvedomte si, ¾e toto znamená, ¾e databáza sa sa bude èíta» alebo modifikova»
+pod adresárom \fI<adresár>\fP a v¹etky predin¹talaèné a poin¹talaèné skripty
+budú be¾a» po prevedení chroot() na adresár \fI<adresár>\fP.
+.IP "\fB\-\-dbpath \fI<cesta>\fP"
+Pou¾ije databázu RPM v ceste \fI<cesta>\fP.
+.IP "\fB\-\-justdb\fP"
+Aktualizuje iba databázu a nie súborový systém.
+.IP "\fB\-\-ftpproxy \fI<poèítaè>\fP, \fB\-\-httpproxy \fI<poèítaè>\fP"
+Pou¾ije \fI<poèítaè>\fP ako poèítaè s FTP alebo HTTP proxy serverom.
+Bli¾¹ie podrobnosti sú uvedené v sekcii \fBVO¥BY FTP/HTTP\fP.
+.IP "\fB\-\-ftpport \fI<port>\fP, \fB\-\-httpport \fI<port>\fP"
+Pou¾ije \fI<port>\fP ako FTP alebo HTTP port na poèítaèi s proxy serverom.
+Bli¾¹ie podrobnosti sú uvedené v sekcii \fBVO¥BY FTP/HTTP\fP.
+.IP "\fB\-\-pipe \fI<príkaz>\fP"
+Presmeruje výstup \fBrpm\fP na príkaz \fI<príkaz>\fP.
+
+
+.SH VO¥BY PRI IN©TALÁCII A AKTUALIZÁCII (UPGRADE)
+V¹eobecná forma in¹talaèného príkazu je
+.PP
+ \fBrpm \-i [in¹talaèné\-voµby] \fI<súbor_balíka>+\fP
+.PP
+Táto voµba nain¹taluje nový balíèek.
+V¹eobecná forma aktualizaèného príkazu je
+.PP
+ \fBrpm \-U [in¹talaèné\-voµby] \fI<súbor_balíka>+\fP
+.PP
+Táto voµba aktualizuje existujúci nain¹talovaný balíèek alebo nain¹taluje
+nový balíèek. Podobá sa in¹talaènému príkazu, rozdiel je iba v tom, ¾e
+v¹etky ïaµ¹ie verzie balíka sa odstránia zo systému.
+.PP
+ \fBrpm [\-F|--freshen] [in¹talaèné\-voµby] \fI<súbor_balíka>+\fP
+.PP
+Táto voµba aktualizuje balíky, ale iba za predpokladu, ¾e predchádzajúce
+verzie sú nain¹talované.
+
+\fI<súbor_balíka>\fP mô¾e by» ¹pecifikovaný ako ftp alebo http URL,
+v tomto prípade sa najprv balíèek stiahne a nain¹taluje a¾ potom.
+Bli¾¹ie podrobnosti o vstavanej podpore ftp a http sú uvedené v sekcii
+\fBVO¥BY FTP/HTTP\fP.
+.PP
+.IP "\fB\-\-force\fP"
+Rovnaký efekt ako súèasné pou¾itie \fB\-\-replacepkgs\fP, \fB\-\-replacefiles\fP a
+\fB\-\-oldpackage\fP.
+.IP "\fB\-h\fP, \fB\-\-hash\fP"
+Vypí¹e 50 znakov #, keï je celý archív balíka rozbalený. Pre lep¹í
+vzhµad je vhodné pou¾íva» s voµbou \fB\-v\fP.
+.IP "\fB\-\-oldpackage\fP"
+Povolí aktualizáciu prepísaním nov¹ieho balíka star¹ím.
+.IP "\fB\-\-percent\fP"
+Vypí¹e stav rozbalovania súborov z balíkového archívu v percentách.
+Toto je praktické pri behu RPM z iných nástrojov.
+.IP "\fB\-\-replacefiles\fP"
+Nain¹taluje balík aj v prípade, ¾e nahradí súbory z iných, u¾
+nain¹talovaných balíkov.
+.IP "\fB\-\-replacepkgs\fP"
+Nain¹taluje balíky aj v prípade, ¾e niektoré z nich u¾ sú nain¹talované
+v systéme.
+.IP "\fB\-\-allfiles\fP"
+Nain¹taluje alebo aktualizuje v¹etky missingok súbory (súbory, ktoré nemusia
+nutne existova») z balíka bez ohµadu na to, èi existujú.
+.IP "\fB\-\-nodeps\fP"
+Nevykoná kontrolu závislostí pred in¹talovaním alebo aktualizovaním
+balíka.
+.IP "\fB\-\-noscripts\fP"
+Nevykoná predin¹talaèné a poin¹talaèné skripty.
+.IP "\fB\-\-notriggers\fP"
+Nevykoná skripty, ktorých spú¹»ou je in¹talácia balíka.
+.IP "\fB\-\-ignoresize\fP"
+Nevykoná kontrolu pripojeného súborového systému na dostatok voµného miesta
+pred in¹taláciou balíka.
+.IP "\fB\-\-excludepath \fI<cesta>\fP"
+Nenain¹taluje súbory, ktorých mená zaèínajú na \fI<cesta>\fP.
+.IP "\fB\-\-excludedocs\fP"
+Nenain¹taluje ¾iadne súbory, ktoré sú oznaèené ako dokumentácia (ktoré
+zahàòajú najmä manuálové stránky a texinfo dokumenty).
+.IP "\fB\-\-includedocs\fP"
+Nain¹taluje súbory, ktoré sú oznaèené ako dokumentácia. Toto je implicitné
+nastavenie.
+.IP "\fB\-\-test\fP"
+Nenain¹taluje balík, iba jednoducho otestuje, èo by sa vykonalo pri
+in¹talácii a vypí¹e potenciálne konflikty.
+.IP "\fB\-\-ignorearch\fP"
+Toto umo¾ní in¹taláciu alebo aktualizáciu aj v prípade, ¾e sa nezhoduje
+architektúra popísaná v binárnom RPM a poèítaèa, na ktorý sa má balík
+in¹talova».
+.IP "\fB\-\-ignoreos\fP"
+Toto umo¾ní in¹taláciu alebo aktualizáciu aj v prípade, ¾e sa nezhoduje
+operaèný systém popísaný v binárnom RPM a poèítaèi, na ktorý sa má balík
+in¹talova».
+.IP "\fB\-\-prefix \fI<cesta>\fP"
+Toto nastaví in¹talaèný prefix na \fI<cesta>\fP pre relokovateµné
+(premiestniteµné) balíky.
+.IP "\fB\-\-relocate \fI<stará_cesta>\fB=\fI<nová_cesta>\fP"
+Pre relokovateµné balíky, prelo¾í cestu súborov, ktoré sa mali umiestni»
+na miesto \fI<stará_cesta>\fP do \fI<nová_cesta>\fP.
+.IP "\fB\-\-badreloc\fP"
+Vnúti relokáciu aj v prípade, ¾e balík nie je relokovateµný. Pou¾íva sa
+spolu s voµbou \-\-relocate.
+.IP "\fB\-\-noorder\fP"
+Nezmení poradie balíkov na in¹taláciu. V opaènomom prípade by mohlo by»
+zmenené poradie v zozname balíkov, aby sa zachovali závislosti.
+
+
+.SH VO¥BY PRI ZISTENÍ INFORMÁCIÍ (QUERY)
+V¹eobecná forma príkazu zistenia informácií je
+.PP
+ \fBrpm \-q [zis»ovacie\-voµby]\fP
+.PP
+Je mo¾né ¹pecifikova», v akom formáte majú by» vypísané výstupné údaje.
+Na takýto úèel slú¾i voµba \fB[\-\-queryformat|\-\-qf]\fP, nasledovaná
+formátovacím re»azcom.
+
+Informaèné výstupy sú modifikovanou verziou ¹tandardného \fBprintf(3)\fP
+formátovania. Formát je vytvorený zo statických re»azcov (ktoré mô¾u zahàòa»
+¹tandardné C znakové escape sekvencie pre nový riadok, tabelátor a ïaµ¹ie
+¹peciálne znaky a \fBprintf(3)\fP typové formátovaèe). Keï¾e \fBrpm\fP u¾
+vie, aky typ má vytlaèi», ¹pecifikátor typu musí by» vynechaný a nahradený
+menom tagu hlavièky, ktorá má by» vytlaèená, uzavretý znakmi {}. RPMTAG_
+èas» mena tagu mô¾e by» vynechaná.
+
+Alternatívny výstup formátovania mô¾e by» po¾adovaný, ak je nasledovaný
+tagom s \fB:\fItypetag\fR. Momentálne sú podporované nasledujúce typy:
+\fBoctal\fR, \fBdate\fR, \fBshescape\fR, \fBperms\fR, \fBfflags\fR, a
+\fBdepflags\fR.
+
+Napríklad na vytlaèenie informácie o mene balíka je mo¾né pou¾i»
+formátovací re»azec \fB%{NAME}\fP. Na vytlaèenie informácie o mene
+a distribúcii v dvoch ståpcoch je mo¾né pou¾i»
+\fB%\-30{NAME}%{DISTRIBUTION}\fP.
+
+\fBrpm\fP zobrazí zoznam v¹etkých tagov, ktoré pozná, keï je spustené
+s argumentom \fB\-\-querytags\fP.
+
+Existujú dve podmno¾iny volieb pre zistenie informácií: výber balíka a
+výber informácií.
+
+Voµby výberu balíka:
+.br
+.IP "\fB\fI<meno_balíka>\fP"
+Zis»uje u in¹talovaných balíkov s menom \fI<meno_balíka>\fP.
+.IP "\fB\-a\fP, \fB\-\-all\fP"
+Zis»uje u v¹etkých nain¹talovaných balíkov.
+.IP "\fB\-\-whatrequires \fI<schopnos»>\fP"
+Zis»uje u v¹etkých in¹talovaných balíkov, ktoré vy¾adujú \fI<schopnos»>\fP
+pre správnu funkènos».
+.IP "\fB\-\-whatprovides \fI<virtuálna_schopnos»>\fP"
+Zis»uje u v¹etkých in¹talovaných balíkov, ktoré poskytujú vlastnos»
+\fI<virtuálna_schopnos»>\fP.
+.IP "\fB\-f \fI<file>\fP, \fB\-\-file \fI<file>\fP"
+Zis»uje u balíka, ktorý vlastní súbor \fI<file>\fP.
+.IP "\fB\-g \fI<group>\fP, \fB\-\-group \fI<group>\fP"
+Zis»uje u balíkov, ktoré majú skupinu \fI<group>\fP.
+.IP "\fB\-p \fI<súbor_balíka>\fP"
+Zis»uje u (nenain¹talovaného) balíka \fI<súbor_balíka>\fP.
+\fI<súbor_balíka>\fP mô¾e by» ¹pecifikovaný v ftp alebo http ¹týle URL,
+v takomto prípade bude stiahnutá hlavièka balíka, a z nej èítané po¾adované
+informácie. Bli¾¹ie informácie o vstavanej podpore ftp a http klienta sú
+v sekcii \fBFTP/HTTP VO¥BY\fP.
+.IP "\fB\-\-specfile \fI<spec_súbor>\fP"
+Rozanalyzuje \fI<spec_súbor>\fP a zis»uje informácie z tohto súboru, ako keby
+to bol balík rpm. Aj napriek neprítomnosti v¹etkých informácií (napr. zoznam
+súborov), tento druh zis»ovania umo¾òuje rpm získa» informácie zo spec súboru
+bez nutnosti napísa» ¹peciálny analyzátor spec súborov.
+.IP "\fB\-\-querybynumber \fI<èíslo>\fP"
+Zis»uje u záznamu èíslo \fI<èíslo>\fP databázy priamo, toto je u¾itoèné pre
+ladiace úèely.
+.IP "\fB\-\-triggeredby \fI<balík>\fP"
+Vypí¹e balíky, ktorých spú¹tou je existencia balíka \fI<balík>\fP.
+
+.P
+Voµba výberu informácií:
+.br
+.IP "\fB\-i\fP"
+Vypí¹e informácie o balíku, vrátane mena, verzie a popisu. Táto voµba
+vyu¾íva \fB\-\-queryformat\fP, ak je ¹pecifikovaný.
+.IP "\fB\-R\fP, \fB\-\-requires\fP"
+Vypí¹e zoznam balíkov, na ktorých daný balík závisí.
+.IP "\fB\-\-provides\fP"
+Vypí¹e zoznam vlastností/schopností, ktoré poskytuje tento balík.
+.IP "\fB\-\-changelog\fP"
+Vypí¹e históriu zmien pre balík.
+.IP "\fB\-l\fP, \fB\-\-list\fP"
+Vypí¹e zoznam súborov v balíku.
+.IP "\fB\-s\fP, \fB\-\-state\fP"
+Vypí¹e \fIstavy\fP jednotlivých súborov v balíku (aplikuje voµbu
+\fB\-l\fP). Stav jednotlivých súborov mô¾e by» \fInormal\fP (normálny),
+\fInot installed\fP (nenain¹talovaný) alebo \fIreplaced\fP (nahradený).
+.IP "\fB\-d\fP, \fB\-\-docfiles\fP"
+Vypí¹e zoznam súborov oznaèených ako dokumentácia (aplikuje \fB\-l\fP).
+.IP "\fB\-c\fP, \fB\-\-configfiles\fP"
+Vypí¹e iba zoznam konfiguraèných súborov (aplikuje \fB\-l\fP).
+.IP "\fB\-\-scripts\fP"
+Vypí¹e balíkovo ¹pecifický shellový skript, ktorý je pou¾itý
+v in¹talaènom alebo odin¹talaènom procese, ak nejaký vôbec existuje.
+.IP "\fB\-\-triggers\fP, \fB\-\-triggerscripts\fP"
+Vypí¹e skripty, ktoré sú spú¹»ané spú¹»ou, ak nejaká existuje a je
+obsiahnutá v balíku.
+.IP "\fB\-\-dump\fP"
+Vypí¹e zoznam podrobných vlastností súborov pozostoávajúci z:
+cesta veµkos» mtime md5sum mód vlastník skupina je_konfiguraèný_súbor
+je_dokumentaèný_súbor rdev symlink. Táto voµba musí by» pou¾itá
+minimálne s jednou z nasledujúcich volieb \fB\-l\fP, \fB\-c\fP, \fB\-d\fP.
+.IP "\fB\-\-last\fP"
+Usporiada zoznam balíkov podµa èasu in¹talácie takým spôsobom, ¾e posledný
+in¹talovaný balík bude na vrchu.
+.IP "\fB\-\-filesbypkg\fP"
+Vypí¹e zoznam v¹etkých súborov v ka¾dom balíku.
+.IP "\fB\-\-triggerscripts\fP"
+Vypí¹e v¹etky skripty, ktoré sú spú¹»ané spú¹»ou vo vybranom balíku.
+
+
+.SH VO¥BY PRI KONTROLE A OVEROVANÍ
+V¹eobecná forma príkazu kontroly je
+.PP
+ \fBrpm \-V|\-y|\-\-verify [overovacie\-voµby]\fP
+.PP
+Kontrola balíka prebieha z porovnania informácií z in¹talovaných súborov
+z balíkov v systéme s informáciami o súboroch, ktoré obsahoval pôvodný balík
+(tieto su ulo¾ené v rpm databáze). Okrem iných údajov, kontrola porovnáva
+veµkos», MD5 kontrolný súèet, oprávnenia, typ, vlastníka a skupinu ka¾dého
+súboru. V¹etky odchýµky sú zobrazené. Specifikaèné voµby balíka sú rovnaké
+ako re¾ime výpisu informácii balíkov.
+
+Súbory, ktoré neboli in¹talované z balíka, týkajúce sa napr. dokumentaèných
+súborov pri pou¾ití voµby "\fB\-\-excludedocs\fP" pri in¹talácii, sú v
+tichosti ignorované.
+
+Voµby, ktoré mô¾u by» pou¾ité v kontrolnom re¾ime:
+
+.IP "\fB\-\-nofiles\fP"
+Ignoruje chýbajúce súbory v systéme poèas kontroly.
+.IP "\fB\-\-nomd5\fP"
+Ignoruje chyby kontrolných súètov MD5 poèas kontroly.
+.IP "\fB\-\-nopgp\fP"
+Ignoruje chyby PGP podpisov poèas kontroly.
+
+Výstup má formát 8 znakového re»azca, s prípadným roz¹írením výskytu
+"\fBc\fP", ktoré charakterizuje konfiguraèný súbor a mena súboru.
+Ka¾dý z ôsmych znakov popisuje výsledok porovnania jedného konkrétneho
+atribútu súboru s údajmi zaznamenanými v RPM databáze. Jednoduchá "\fB.\fP"
+(bodka) znamená, ¾e test pre¹iel (neobjavené ¾iadne odchýµky).
+Nasledujúce znaky oznamujú dôvod neúspechu urèitého testu:
+
+.IP "\fB5\fP"
+MD5 kontrolný súèet
+.IP "\fBS\fP"
+Veµkos» súboru
+.IP "\fBL\fP"
+Symbolický link
+.IP "\fBT\fP"
+Mtime (posledný èas modifikácie)
+.IP "\fBD\fP"
+Zariadenie
+.IP "\fBU\fP"
+U¾ívateµ
+.IP "\fBG\fP"
+Skupina
+.IP "\fBM\fP"
+Mód (vrátane oprávnení a typu súborov)
+
+
+.SH KONTROLA PODPISOV (SIGNATURE)
+V¹eobecná forma príkazu kontroly rpm podpisu je
+.PP
+ \fBrpm \-\-checksig \fI<súbor_balíka>+\fP
+.PP
+Takto sa overuje PGP podpis balíka \fI<súbor_balíka>\fP na uistenie
+sa o jeho integrite a pôvode.
+Konfiguraèné informácie PGP sú èítané z konfiguraèných súborov.
+Bli¾¹ie údaje sa nachádzajú v sekcii PGP POPDPISY.
+
+
+.SH VO¥BY PRI ODIN©TALÁCII
+V¹eobecná forma príkazu na odin¹talovanie je
+.PP
+ \fB rpm \-e \fI<meno_balíka>+\fP
+.PP
+.IP "\fB\-\-allmatches\fP"
+Odstráni v¹etky verzie balíka, ktoré súhlasia s menom \fI<meno_balíka>\fR.
+Normálne sa vyvolá chyba, ak viac balíkov súhlasí s menom
+\fI<meno_balíka>\fR.
+.IP "\fB\-\-noscripts\fP"
+Nevykoná pred a po odin¹talaèné skripty.
+.IP "\fB\-\-notriggers\fP"
+Nevykoná skripty, ktorých spú¹»ou je odin¹talovanie balíka.
+.IP "\fB\-\-nodeps\fP"
+Nebude skúma» závislosti pri odin¹talovaní balíkov.
+.IP "\fB\-\-test\fP"
+Niè sa v skutoènosti neodin¹taluje, len sa preverí, èo by sa malo sta».
+Veµmi u¾itoèné s voµbou \fB\-vv\fP.
+
+
+.SH VO¥BY PRI ZOSTAVOVANÍ
+V¹eobecná forma príkazu na zostavenie rpm je
+.PP
+ \fBrpm \-[b|t]\fIO\fP [zostavovacie\-voµby] \fI<spec_súbor_balíka>+\fP
+.PP
+Argumentom je \fB-b\fR, ak sa na zostavenie balíka pou¾ije spec súbor
+(súbor ¹pecifikácií balíka) alebo \fB-t\fR, ak \fBRPM\fR má vyhµada»
+spec súbor vnútri gzipovaného (alebo komprimovaného) tar archívu, a tento
+pou¾i» na zostavenie balíka. Po prvom argumente ïaµ¹í argument (\fIO\fR)
+¹pecifikuje fázu ¹tádia zostavenia a zabalenia, ktorá sa má vykona», a
+ktorá je jedna z:
+
+.IP "\fB\-bp\fP"
+Vykoná "%prep" fázu pre spec súbor. Normálne toto vyvolá rozbalenie
+zdrojových archívov a aplikovanie záplat.
+.IP "\fB\-bl\fP"
+Vykoná "kontrolu zoznamu". Sekcia "%files" z spec súboru je makrom
+expandovaná, a je vykonaná kontrola, ¾e ka¾dý súbor existuje.
+.IP "\fB\-bc\fP"
+Vykoná fázu "%build" pre spec súbor (po vykonaní prep fázy). Toto
+normálne vyvolá ekvivalent príkazu "make".
+.IP "\fB\-bi\fP"
+Vykoná fázu "%install" zo spec súboru (po vykonaní prep a build fázy).
+Toto vo v¹eobecnosti vyvolá ekvivalent príkazu "make install".
+.IP "\fB\-bb\fP"
+Zostaví binárny balík (po vykonaní prep, build a install fázy).
+.IP "\fB\-bs\fP"
+Zostaví iba zdrojový balík (po vykonaní prep, build a install fázy).
+.IP "\fB\-ba\fP"
+Zostaví binárny a zdrojový balík (po vykonaní prep, build a install fázy).
+.PP
+Mô¾u by» pou¾ité aj nasledujúce voµby:
+.IP "\fB\-\-short\-circuit\fP"
+Preskoèí priamo na po¾adovanú fázu (t. zn. preskoèí v¹etky fázy ¹tádia
+zostavenia, ktoré predchádzajú ¹pecifikovanej fáze). Táto voµba je platná
+iba s prepínaèmi \fB\-bc\fP and \fB\-bi\fP.
+.IP "\fB\-\-timecheck\fP"
+Nastavuje "kontrolu èasu" (0 zaká¾e). Táto voµba mô¾e by» nastavená
+definovaním makra "_timecheck". Hodnota "kontroly èasu" vyjadruje
+(v sekundách) maximálny vek súborov, ktoré budú zabalené. Varovania
+sú vypisované pre v¹etky súbory, ktorých vek je za hranicou takto
+definovanej hodnoty.
+.IP "\fB\-\-clean\fP"
+Odstrání zostavovací strom (adresár) potom, èo sa vytvorí balík.
+.IP "\fB\-\-rmsource\fP"
+Odstrání zdrojové súbory a spec súbor po zostavení (mô¾e sa pou¾íva» aj
+samostatne, napr. "\fBrpm \-\-rmsource foo.spec\fP").
+.IP "\fB\-\-test\fP"
+Nevykoná ¾iadnu zo zostavovacej fázy.
+U¾itoèné pre otestovanie spec súboru.
+.IP "\fB\-\-sign\fP"
+Vlo¾í PGP podpis do balíka. Tento podpis mô¾e by» vyu¾itý na overenie
+integrity a pôvodu balíka. Bli¾¹ie informácie na nastavenie sú uvedené
+v sekcii PGP PODPISY.
+.IP "\fB\-\-buildroot \fI<adresár>\fP"
+Pri zostavovaní balíka prepí¹e tag BuildRoot adresárom \fI<adresár>\fP.
+.IP "\fB\-\-target \fI<platforma>\fP"
+Pri zostavovaní balíka sa interpretuje \fI<platforma>\fP ako
+\fBarch-vendor-os\fP a makrá \fB_target\fP, \fB_target_arch\fP a
+\fB_target_os\fP sa nastavia podµa tejto hodnoty.
+.IP "\fB\-\-buildarch \fI<architektúra>\fP"
+Pri zostavovaní balíka nastaví architektúru na \fI<architektúra>\fP. Táto
+voµba sa stala zastaralou pou¾itím \fB\-\-target\fI v RPM 3.0.
+.IP "\fB\-\-buildos \fI<os>\fP"
+Pri zostavovaní balíka nastaví architektúru na \fI<os>\fP.Táto
+voµba sa stala zastaralou pou¾itím \fB\-\-target\fI v RPM 3.0.
+
+
+.SH VO¥BY PRI ZNOVUZOSTAVOVANÍ A REKOMPILOVANÍ
+
+Existujú dve voµby, ako spusti» zostavenie balíka s rpm:
+
+.I "\fBrpm \-\-recompile \fI<zdrojový_súbor_balíka>+\fP"
+
+.I "\fBrpm \-\-rebuild \fI<zdrojový_súbor_balíka>+\fP"
+
+Keï je rpm spustené týmto spôsobom, \fBrpm\fP nain¹taluje zdrojový balík a
+vykoná postupne fázy prípravy (prep), kompilácie a in¹talácie. Prídavne
+s voµbou \fB\-\-rebuild\fP zostaví nový binárny balík. Keï sa zostavenie
+dokonèí, adresár zostavovania (ako pri \fB\-\-clean\fP), zdrojové súbory,
+ako aj spec súbor sa sa odstránia.
+
+
+.SH PODPISOVANIE EXISTUJÚCEHO RPM
+
+.I "\fBrpm \-\-resign \fI<binárny_súbor_balíka>+\fP"
+
+Táto voµba vygeneruje a vlo¾í nový podpis pre zoznam balíkov.
+V¹etky prípadne existujúce podpisy sa odstránia.
+
+.I "\fBrpm \-\-addsign \fI<binárny_súbor_balíka>+\fP"
+
+Táto voµba vygeneruje a pridá nový podpis pre zoznam balíkov u ktorých
+u¾ podpis existuje.
+
+
+.SH PGP PODPISY
+
+Aby bolo mo¾né pou¾íva» vlastnosti podpisovania, RPM je potrebné nastavi»
+spôsobom, aby mohlo spú¹»a» PGP, a aby bolo schopné nájs» zväzok verejných
+kµúèov s RPM verejnými kµúèmi v òom. Implicitne RPM pou¾íva implicitné
+hodnoty PGP na nájdenie zväzkov kµúèov (honorujúc PGPPATH).
+Ak je zväzok kµúèov umiestnený na inom mieste, ako PGP oèakáva, je potrebné
+nastavi» makro
+
+.IP "\fB_pgp_path\fP"
+na definovanie umiestnenia zväzkov kµúèov PGP, ktoré sa majú pou¾i».
+.PP
+
+Ak si ¾eláte podpisova» balíky, ktoré si sami vytvoríte, potrebujete
+podobným spôsobom vytvori» vá¹ verejný a tajný kµúèový pár (bli¾¹ie informácie
+sú v dokumentácii ku PGP).
+Taktie¾ potrebujete konfigurova» makrá:
+
+.IP "\fB_signature\fP"
+Typ podpisu. Momentálne je podporované iba pgp.
+.IP "\fB_pgp_name\fP"
+Meno "u¾ívateµa", ktorého kµúèom sa má podpísa» balík.
+.PP
+
+Pri zostavovaní balíka je potrebné prida» \-\-sign do príkazového
+riadku. Nasledovne sa objaví výzva na heslo, a po správnom zadadaní
+sa balík zostaví a podpí¹e.
+
+Napríkad pre pou¾itie PGP na podpísanie balíka ako u¾ívateµ
+\fB"John Doe <jdoe@foo.com>"\fP zo zväzku kµúèov umiestnených
+v \fB/etc/rpm/.pgp\fP pou¾itím \fB/usr/bin/pgp\fP zápis bude
+obsahova»
+
+.I "\fB%_signature pgp\fP"
+
+.I "\fB%_pgp_path /etc/rpm/.pgp\fP"
+
+.I "\fB%_pgp_name John Doe <jdoe@foo.com>\fP"
+
+.I "\fB%_pgpbin /usr/bin/pgp\fP"
+
+v konfiguraènom súbore makier: \fB/etc/rpm/macros\fP je urèený na
+per-systém nastavenie a \fB~/.rpmmacros\fP na per-u¾ívateµ nastavenie.
+
+
+.SH VO¥BY PRI PREBUDOVANÍ DATABÁZY
+V¹eobecná forma príkazu prebudovania databázy je
+.PP
+ \fBrpm \-\-rebuilddb\fP
+.PP
+
+Na vybudovanie novej databázy treba vykona»
+.PP
+ \fBrpm \-\-initdb\fP
+.PP
+
+Jedinými voµbami pre tento re¾im sú \fB-\-dbpath\fP a \fB-\-root\fP.
+
+
+.SH SHOWRC
+
+Spustením
+
+.PP
+ \fBrpm \-\-showrc\fP
+
+.PP
+sa vypí¹u hodnoty, ktoré bude RPM pou¾íva» pri v¹etkých voµbách, a
+ktoré mô¾u by» nastavené v \fIrpmrc\fP súboroch.
+
+
+.SH FTP/HTTP VO¥BY
+
+RPM obsahuje jednoduchého FTP a HTTP klienta na zjednodu¹enie in¹talácie
+a jednoduch¹ieho získania informácií balíkov, ktoré sú umiestenené na sieti.
+Súbory balíkov urèené pre in¹talovanie, aktualizáciu a výpis informácií je
+mo¾né ¹pecifikova» v ftp alebo http ¹týle URL:
+
+.PP
+ \fBftp://<u¾ívateµ>:<heslo>@poèítaè:<port>/path/to/package.rpm\fP
+.PP
+Ak èas» \fB:heslo\fP chýba, objaví sa výzva na heslo (v¾dy len jeden krát
+pre pár u¾ívateµ/poèítaè). Ak chýbajú obe èasti - u¾ívateµ aj heslo, pou¾itý
+je anonymný ftp. Vo v¹etkých prípadoch je pou¾itý pasívny (PASV) ftp prenos.
+
+RPM povoluje pou¾i» nasledujúce voµby s ftp URL:
+
+.IP "\fB\--ftpproxy \fI<meno_poèítaèa>\fP"
+Poèítaè \fI<meno_poèítaèa>\fP sa pou¾ije ako proxy server pre v¹etky ftp
+prenosy, èo umo¾ní u¾ívateµom pou¾i» ftp slu¾by za firewallom, ktorý
+pou¾íva proxy systémy.
+Táto voµba mô¾e by» tak isto ¹pecifikovaná nastavením makra \fB_ftpproxy\fP.
+
+.IP "\fB\--ftpport \fI<port>\fP"
+Pou¾ije sa èíslo TCP portu \fI<port>\fP pre ftp spojenie s ftp proxy
+serverom namiesto implicitného portu. Táto voµba mô¾e by» tak isto
+¹pecifikovaná nastavením makra \fB_ftpport\fP.
+.PP
+
+RPM umo¾òuje nasledujúce voµby pri pou¾ití http URL:
+
+.IP "\fB\--httpproxy \fI<meno_poèítaèa>\fP"
+Poèítaè \fI<meno_poèítaèa>\fP bude pou¾itý ako proxy server pre v¹etky http
+prenosy.
+Táto voµba mô¾e by» tak isto ¹pecifikovaná konfigurovaním makra
+\fB_httpproxy\fP.
+
+.IP "\fB\--httpport \fI<port>\fP"
+Pou¾ije sa èíslo TCP portu \fI<port>\fP pre http spojenie s http proxy
+serverom namiesto implicitného portu.
+Táto voµba mô¾e by» tie¾ ¹pecifikovaná konfigurovaním makra
+\fB_httpport\fP.
+.PP
+
+
+.SH SÚBORY
+.nf
+/usr/lib/rpm/rpmrc
+/etc/rpmrc
+~/.rpmrc
+/usr/lib/rpm/macros
+/etc/rpm/macros
+~/.rpmmacros
+/var/lib/rpm/conflictsindex.rpm
+/var/lib/rpm/fileindex.rpm
+/var/lib/rpm/groupindex.rpm
+/var/lib/rpm/nameindex.rpm
+/var/lib/rpm/packages.rpm
+/var/lib/rpm/providesindex.rpm
+/var/lib/rpm/requiredby.rpm
+/var/lib/rpm/triggerindex.rpm
+/tmp/rpm*
+.fi
+.El
+
+.SH PRÍBUZNÁ DOKUMENTÁCIA
+.IR glint (8) ,
+.IR rpm2cpio (8) ,
+.B http://www.rpm.org/
+.nf
+.SH AUTORI
+.nf
+Marc Ewing <marc@redhat.com>
+Jeff Johnson <jbj@redhat.com>
+Erik Troan <ewt@redhat.com>
+.fi
rpmCallbackFunction notify;
const char ** specFilePtr;
Header h;
- void * notifyData;
+ rpmCallbackData notifyData;
const void * pkgKey;
};
/**
* @param h header
*/
-static int installArchive(FD_t fd, struct fileInfo * files,
- int fileCount, rpmCallbackFunction notify,
- void * notifyData, const void * pkgKey, Header h,
- /*@out@*/const char ** specFile, int archiveSize)
+static int installArchive(FD_t fd, struct fileInfo * files, int fileCount,
+ rpmCallbackFunction notify, rpmCallbackData notifyData,
+ const void * pkgKey, Header h,
+ /*@out@*/ const char ** specFile, int archiveSize)
{
int rc, i;
struct cpioFileMapping * map = NULL;
* @return 0 on success, 1 on bad magic, 2 on error
*/
static int installSources(Header h, const char * rootdir, FD_t fd,
- const char ** specFilePtr, rpmCallbackFunction notify,
- void * notifyData)
+ const char ** specFilePtr,
+ rpmCallbackFunction notify, rpmCallbackData notifyData)
{
const char * specFile = NULL;
int specFileIndex = -1;
}
int rpmInstallSourcePackage(const char * rootdir, FD_t fd,
- const char ** specFile, rpmCallbackFunction notify,
- void * notifyData, char ** cookie)
+ const char ** specFile,
+ rpmCallbackFunction notify, rpmCallbackData notifyData,
+ char ** cookie)
{
int rc, isSource;
Header h;
}
int installBinaryPackage(const char * rootdir, rpmdb db, FD_t fd, Header h,
- int flags, rpmCallbackFunction notify,
- void * notifyData, const void * pkgKey,
- enum fileActions * actions,
- struct sharedFileInfo * sharedList, FD_t scriptFd)
+ rpmtransFlags transFlags,
+ rpmCallbackFunction notify, rpmCallbackData notifyData,
+ const void * pkgKey, enum fileActions * actions,
+ struct sharedFileInfo * sharedList, FD_t scriptFd)
{
int rc;
const char * name, * version, * release;
char * currDir = NULL;
/* XXX this looks broke, as libraries may need /sbin/ldconfig for example */
- if (flags & (RPMTRANS_FLAG_JUSTDB | RPMTRANS_FLAG_MULTILIB))
- flags |= RPMTRANS_FLAG_NOSCRIPTS;
+ if (transFlags & (RPMTRANS_FLAG_JUSTDB | RPMTRANS_FLAG_MULTILIB))
+ transFlags |= RPMTRANS_FLAG_NOSCRIPTS;
headerNVR(h, &name, &version, &release);
rpmMessage(RPMMESS_DEBUG, _("package: %s-%s-%s files test = %d\n"),
- name, version, release, flags & RPMTRANS_FLAG_TEST);
+ name, version, release, transFlags & RPMTRANS_FLAG_TEST);
if ((scriptArg = rpmdbCountPackages(db, name)) < 0) {
rc = 2;
rpmdbSetIteratorRelease(mi, release);
while ((oldH = rpmdbNextIterator(mi))) {
otherOffset = rpmdbGetIteratorOffset(mi);
- oldH = (flags & RPMTRANS_FLAG_MULTILIB)
+ oldH = (transFlags & RPMTRANS_FLAG_MULTILIB)
? headerCopy(oldH) : NULL;
break;
}
/*@-unrecog@*/ chroot(rootdir); /*@=unrecog@*/
}
- if (!(flags & RPMTRANS_FLAG_JUSTDB) && headerIsEntry(h, RPMTAG_BASENAMES)) {
+ if (!(transFlags & RPMTRANS_FLAG_JUSTDB) && headerIsEntry(h, RPMTAG_BASENAMES)) {
const char * defaultPrefix;
/* old format relocateable packages need the entire default
prefix stripped to form the cpio list, while all other packages
files = NULL;
}
- if (flags & RPMTRANS_FLAG_TEST) {
+ if (transFlags & RPMTRANS_FLAG_TEST) {
rpmMessage(RPMMESS_DEBUG, _("stopping install as we're running --test\n"));
rc = 0;
goto exit;
rpmMessage(RPMMESS_DEBUG, _("running preinstall script (if any)\n"));
if (runInstScript("/", h, RPMTAG_PREIN, RPMTAG_PREINPROG, scriptArg,
- flags & RPMTRANS_FLAG_NOSCRIPTS, scriptFd)) {
+ transFlags & RPMTRANS_FLAG_NOSCRIPTS, scriptFd)) {
rc = 2;
goto exit;
}
free(fileStates);
if (fileMem) freeFileMemory(fileMem);
fileMem = NULL;
- } else if (flags & RPMTRANS_FLAG_JUSTDB) {
+ } else if (transFlags & RPMTRANS_FLAG_JUSTDB) {
if (headerGetEntry(h, RPMTAG_BASENAMES, NULL, NULL, &fileCount)) {
fileStates = xmalloc(sizeof(*fileStates) * fileCount);
memset(fileStates, RPMFILE_STATE_NORMAL, fileCount);
if (otherOffset)
rpmdbRemove(db, otherOffset);
- if (flags & RPMTRANS_FLAG_MULTILIB) {
+ if (transFlags & RPMTRANS_FLAG_MULTILIB) {
uint_32 multiLib, * newMultiLib, * p;
if (headerGetEntry(h, RPMTAG_MULTILIBS, NULL, (void **) &newMultiLib,
rpmMessage(RPMMESS_DEBUG, _("running postinstall scripts (if any)\n"));
if (runInstScript(rootdir, h, RPMTAG_POSTIN, RPMTAG_POSTINPROG, scriptArg,
- (flags & RPMTRANS_FLAG_NOSCRIPTS), scriptFd)) {
+ (transFlags & RPMTRANS_FLAG_NOSCRIPTS), scriptFd)) {
rc = 2;
goto exit;
}
- if (!(flags & RPMTRANS_FLAG_NOTRIGGERS)) {
+ if (!(transFlags & RPMTRANS_FLAG_NOTRIGGERS)) {
/* Run triggers this package sets off */
if (runTriggers(rootdir, db, RPMSENSE_TRIGGERIN, h, 0, scriptFd)) {
rc = 2;
int runTriggers(const char * root, rpmdb rpmdb, int sense, Header h,
int countCorrection, FD_t scriptFd);
-/* while this looks for triggers in h which are set off by things in the db
- database to calculate arguments to the trigger */
/**
+ * Run triggers from header that are fired by the database.
* @param root path to top of install tree
* @param rpmdb rpm database
- * @param sense
+ * @param sense @todo Document.
* @param h header
- * @param countCorrection
- * @param scriptFd
+ * @param countCorrection @todo Document.
+ * @param scriptFd @todo Document.
+ * @return @todo Document.
*/
int runImmedTriggers(const char * root, rpmdb rpmdb, int sense, Header h,
int countCorrection, FD_t scriptFd);
* @param rpmdb rpm database
* @param fd package file handle
* @param h package header
- * @param flags transaction flags
+ * @param transFlags transaction flags
* @param notify progress callback
* @param notifyData progress callback private data
* @param pkgKey package private data
* @param actions array of file dispositions
* @param sharedList header instances of packages that share files
- * @param scriptFd
+ * @param scriptFd @todo Document.
* @return 0 on success, 1 on bad magic, 2 on error
*/
int installBinaryPackage(const char * rootdir, rpmdb rpmdb, FD_t fd, Header h,
- int flags, rpmCallbackFunction notify,
- void * notifyData, const void * pkgKey,
- enum fileActions * actions,
+ rpmtransFlags transFlags,
+ rpmCallbackFunction notify, rpmCallbackData notifyData,
+ const void * pkgKey, enum fileActions * actions,
struct sharedFileInfo * sharedList, FD_t scriptFd);
/**
* @param fd package file handle
* @param offset header instance in rpm database
* @param h package header
- * @param flags transaction flags
+ * @param transFlags transaction flags
* @param notify progress callback
* @param notifyData progress callback private data
* @param pkgKey package private data
* @param actions array of file dispositions
- * @param scriptFd
+ * @param scriptFd @todo Document.
* @return
*/
int removeBinaryPackage(const char * rootdir, rpmdb rpmdb, unsigned int offset,
- Header h,
- int flags, rpmCallbackFunction notify,
- void * notifyData, const void * pkgKey,
- enum fileActions * actions,
+ Header h, rpmtransFlags flags,
+ rpmCallbackFunction notify, rpmCallbackData notifyData,
+ const void * pkgKey, enum fileActions * actions,
FD_t scriptFd);
#ifdef __cplusplus
const char * altName = NULL, * altVersion = NULL, * altRelease = NULL;
char * buf;
- headerNVR(prob.h, &name, &version, &release);
+ headerNVR(prob->h, &name, &version, &release);
- if (prob.altH)
- headerNVR(prob.altH, &altName, &altVersion, &altRelease);
+ if (prob->altH)
+ headerNVR(prob->altH, &altName, &altVersion, &altRelease);
buf = xmalloc(strlen(name) + strlen(version) + strlen(release) + 400);
- switch (prob.type) {
+ switch (prob->type) {
case RPMPROB_BADARCH:
sprintf(buf, _("package %s-%s-%s is for a different architecture"),
name, version, release);
case RPMPROB_BADRELOCATE:
sprintf(buf, _("path %s is not relocateable for package %s-%s-%s"),
- prob.str1, name, version, release);
+ prob->str1, name, version, release);
break;
case RPMPROB_NEW_FILE_CONFLICT:
sprintf(buf, _("file %s conflicts between attemped installs of "
- "%s-%s-%s and %s-%s-%s"), prob.str1, name, version,
+ "%s-%s-%s and %s-%s-%s"), prob->str1, name, version,
release, altName, altVersion, altRelease);
break;
case RPMPROB_FILE_CONFLICT:
sprintf(buf, _("file %s from install of %s-%s-%s conflicts with "
- "file from package %s-%s-%s"), prob.str1, name, version,
+ "file from package %s-%s-%s"), prob->str1, name, version,
release, altName, altVersion, altRelease);
break;
case RPMPROB_DISKSPACE:
sprintf(buf, _("installing package %s-%s-%s needs %ld%cb on the %s"
" filesystem"), name, version, release,
- prob.ulong1 > (1024*1024)
- ? (prob.ulong1 + 1024 * 1024 - 1) / (1024 * 1024)
- : (prob.ulong1 + 1023) / 1024,
- prob.ulong1 > (1024*1024) ? 'M' : 'K',
- prob.str1);
+ prob->ulong1 > (1024*1024)
+ ? (prob->ulong1 + 1024 * 1024 - 1) / (1024 * 1024)
+ : (prob->ulong1 + 1023) / 1024,
+ prob->ulong1 > (1024*1024) ? 'M' : 'K',
+ prob->str1);
break;
case RPMPROB_BADPRETRANS:
sprintf(buf, _("package %s-%s-%s pre-transaction syscall(s): %s failed: %s"),
name, version, release,
- prob.str1, strerror(prob.ulong1));
+ prob->str1, strerror(prob->ulong1));
break;
case RPMPROB_REQUIRES:
case RPMPROB_CONFLICT:
default:
sprintf(buf, _("unknown error %d encountered while manipulating "
- "package %s-%s-%s"), prob.type, name, version, release);
+ "package %s-%s-%s"), prob->type, name, version, release);
break;
}
fp = stderr;
for (i = 0; i < probs->numProblems; i++) {
- if (!probs->probs[i].ignoreProblem)
- rpmProblemPrint(fp, probs->probs[i]);
+ rpmProblem myprob = probs->probs + i;
+ if (!myprob->ignoreProblem)
+ rpmProblemPrint(fp, myprob);
}
}
return ec;
}
-/*
- * XXX Eliminate linkage loop into librpmbuild.a
- */
/**
+ * @todo Eliminate linkage loop into librpmbuild.a
*/
int (*parseSpecVec) (Spec *specp, const char *specFile, const char *rootdir,
const char *buildRoot, int inBuildArch, const char *passPhrase,
char *cookie, int anyarch, int force) = NULL;
/**
+ * @todo Eliminate linkage loop into librpmbuild.a
*/
void (*freeSpecVec) (Spec spec) = NULL;
-int rpmQueryVerify(QVA_t *qva, enum rpmQVSources source, const char * arg,
+int rpmQueryVerify(QVA_t *qva, rpmQVSources source, const char * arg,
rpmdb rpmdb, QVF_t showPackage)
{
rpmdbMatchIterator mi = NULL;
return retcode;
}
-int rpmQuery(QVA_t *qva, enum rpmQVSources source, const char * arg)
+int rpmQuery(QVA_t *qva, rpmQVSources source, const char * arg)
{
rpmdb rpmdb = NULL;
int rc;
return rc;
}
-int rpmReSign(enum rpmKtype add, char *passPhrase, const char **argv)
+int rpmReSign(rpmResignFlags add, char *passPhrase, const char **argv)
{
FD_t fd = NULL;
FD_t ofd = NULL;
/* ASSERT: fd == NULL && ofd == NULL */
/* Generate the new signatures */
- if (add != RPMK_ADD_SIGNATURE) {
+ if (add != RESIGN_ADD_SIGNATURE) {
rpmFreeSignature(sig);
sig = rpmNewSignature();
rpmAddSignature(sig, sigtarget, RPMSIGTAG_SIZE, passPhrase);
return rc;
}
-int rpmCheckSig(int flags, const char **argv)
+int rpmCheckSig(rpmCheckSigFlags flags, const char **argv)
{
FD_t fd = NULL;
FD_t ofd = NULL;
/* for RPM's internal use only */
-#define RPMDB_FLAG_JUSTCHECK (1 << 0)
-#define RPMDB_FLAG_MINIMAL (1 << 1)
-#define RPMDB_FLAG_CHROOT (1 << 2)
+/** \ingroup rpmdb
+ */
+enum rpmdbFlags {
+ RPMDB_FLAG_JUSTCHECK = (1 << 0),
+ RPMDB_FLAG_MINIMAL = (1 << 1),
+ RPMDB_FLAG_CHROOT = (1 << 2)
+};
#ifdef __cplusplus
extern "C" {
return rc;
}
-int rpmInstall(const char * rootdir, const char ** fileArgv, int transFlags,
- int interfaceFlags, int probFilter,
- rpmRelocation * relocations)
+int rpmInstall(const char * rootdir, const char ** fileArgv,
+ rpmtransFlags transFlags,
+ rpmInstallInterfaceFlags interfaceFlags,
+ rpmprobFilterFlags probFilter,
+ rpmRelocation * relocations)
{
rpmdb db = NULL;
FD_t fd;
rpmMessage(RPMMESS_DEBUG, _("retrieved %d packages\n"), numTmpPkgs);
- /* Build up the transaction set. As a special case, v1 source packages
- are installed right here, only because they don't have headers and
- would create all sorts of confusion later. */
-
+ /**
+ * Build up the transaction set. As a special case, v1 source packages
+ * are installed right here, only because they don't have headers and
+ * would create all sorts of confusion later.
+ */
for (fileURL = pkgURL; *fileURL; fileURL++) {
const char * fileName;
(void) urlPath(*fileURL, &fileName);
return numPkgs;
}
-int rpmErase(const char * rootdir, const char ** argv, int transFlags,
- int interfaceFlags)
+int rpmErase(const char * rootdir, const char ** argv,
+ rpmtransFlags transFlags,
+ rpmEraseInterfaceFlags interfaceFlags)
{
rpmdb db;
int mode;
return numFailed;
}
-int rpmInstallSource(const char * rootdir, const char * arg, const char ** specFile,
- char ** cookie)
+int rpmInstallSource(const char * rootdir, const char * arg,
+ const char ** specFile, char ** cookie)
{
FD_t fd;
int rc;
#define RPMTAG_FIRSTFREE_TAG 1128 /* internal */
#define RPMTAG_EXTERNAL_TAG 1000000
-#define RPMFILE_STATE_NORMAL 0
-#define RPMFILE_STATE_REPLACED 1
-#define RPMFILE_STATE_NOTINSTALLED 2
-#define RPMFILE_STATE_NETSHARED 3
-
-/* these can be ORed together */
-#define RPMFILE_CONFIG (1 << 0)
-#define RPMFILE_DOC (1 << 1)
-#define RPMFILE_DONOTUSE (1 << 2)
-#define RPMFILE_MISSINGOK (1 << 3)
-#define RPMFILE_NOREPLACE (1 << 4)
-#define RPMFILE_SPECFILE (1 << 5)
-#define RPMFILE_GHOST (1 << 6)
-#define RPMFILE_LICENSE (1 << 7)
-#define RPMFILE_README (1 << 8)
+/**
+ * File States (when installed).
+ */
+typedef enum rpmfileStates_e {
+ RPMFILE_STATE_NORMAL = 0,
+ RPMFILE_STATE_REPLACED = 1,
+ RPMFILE_STATE_NOTINSTALLED = 2,
+ RPMFILE_STATE_NETSHARED = 3
+} rpmfileStates;
+
+/**
+ * File Attributes.
+ */
+typedef enum rpmfileAttrs_e {
+ RPMFILE_CONFIG = (1 << 0), /*!< from %%config */
+ RPMFILE_DOC = (1 << 1), /*!< from %%doc */
+ RPMFILE_DONOTUSE = (1 << 2), /*!< @todo Document. */
+ RPMFILE_MISSINGOK = (1 << 3), /*!< from %%config(missingok) */
+ RPMFILE_NOREPLACE = (1 << 4), /*!< from %%config(noreplace) */
+ RPMFILE_SPECFILE = (1 << 5), /*!< @todo Document. */
+ RPMFILE_GHOST = (1 << 6), /*!< from %%ghost */
+ RPMFILE_LICENSE = (1 << 7), /*!< from %%license */
+ RPMFILE_README = (1 << 8) /*!< from %%readme */
+} rpmfileAttrs;
#define RPMFILE_MULTILIB_SHIFT 9
#define RPMFILE_MULTILIB(N) ((N) << RPMFILE_MULTILIB_SHIFT)
#define RPMFILE_MULTILIB_MASK RPMFILE_MULTILIB(7)
/* XXX Check file flags for multilib marker. */
#define isFileMULTILIB(_fflags) ((_fflags) & RPMFILE_MULTILIB_MASK)
-#define RPMVERIFY_NONE 0
-#define RPMVERIFY_MD5 (1 << 0)
-#define RPMVERIFY_FILESIZE (1 << 1)
-#define RPMVERIFY_LINKTO (1 << 2)
-#define RPMVERIFY_USER (1 << 3)
-#define RPMVERIFY_GROUP (1 << 4)
-#define RPMVERIFY_MTIME (1 << 5)
-#define RPMVERIFY_MODE (1 << 6)
-#define RPMVERIFY_RDEV (1 << 7)
-#define RPMVERIFY_READLINKFAIL (1 << 28)
-#define RPMVERIFY_READFAIL (1 << 29)
-#define RPMVERIFY_LSTATFAIL (1 << 30)
-
-#define RPMVERIFY_ALL ~(RPMVERIFY_NONE)
+/**
+ * Dependency Attributes.
+ */
+typedef enum rpmsenseFlags_e {
+ RPMSENSE_ANY = 0,
+ RPMSENSE_SERIAL = (1 << 0), /*!< @todo Legacy. */
+ RPMSENSE_LESS = (1 << 1),
+ RPMSENSE_GREATER = (1 << 2),
+ RPMSENSE_EQUAL = (1 << 3),
+ RPMSENSE_PROVIDES = (1 << 4), /* only used internally by builds */
+ RPMSENSE_CONFLICTS = (1 << 5), /* only used internally by builds */
+ RPMSENSE_PREREQ = (1 << 6),
+ RPMSENSE_OBSOLETES = (1 << 7), /* only used internally by builds */
+ RPMSENSE_TRIGGERIN = (1 << 16),
+ RPMSENSE_TRIGGERUN = (1 << 17),
+ RPMSENSE_TRIGGERPOSTUN= (1 << 18),
+ RPMSENSE_MULTILIB = (1 << 19),
+} rpmsenseFlags;
-#define RPMSENSE_ANY 0
-#define RPMSENSE_SERIAL (1 << 0) /* eliminated, backward compatibilty */
-#define RPMSENSE_LESS (1 << 1)
-#define RPMSENSE_GREATER (1 << 2)
-#define RPMSENSE_EQUAL (1 << 3)
-#define RPMSENSE_PROVIDES (1 << 4) /* only used internally by builds */
-#define RPMSENSE_CONFLICTS (1 << 5) /* only used internally by builds */
-#define RPMSENSE_PREREQ (1 << 6)
-#define RPMSENSE_OBSOLETES (1 << 7) /* only used internally by builds */
#define RPMSENSE_SENSEMASK 15 /* Mask to get senses, ie serial, */
/* less, greater, equal. */
-#define RPMSENSE_TRIGGERIN (1 << 16)
-#define RPMSENSE_TRIGGERUN (1 << 17)
-#define RPMSENSE_TRIGGERPOSTUN (1 << 18)
-#define RPMSENSE_TRIGGER (RPMSENSE_TRIGGERIN | RPMSENSE_TRIGGERUN | \
- RPMSENSE_TRIGGERPOSTUN)
-
-#define RPMSENSE_MULTILIB (1 << 19)
+#define RPMSENSE_TRIGGER \
+ (RPMSENSE_TRIGGERIN | RPMSENSE_TRIGGERUN | RPMSENSE_TRIGGERPOSTUN)
#define isDependsMULTILIB(_dflags) ((_dflags) & RPMSENSE_MULTILIB)
/** \ingroup rpmrc
* Return value of rpmrc variable.
* @deprecated Use rpmExpand() with appropriate macro expression.
- * @todo Eliminate.
+ * @todo Eliminate from API.
*/
const char * rpmGetVar(int var);
/** \ingroup rpmrc
* Set value of rpmrc variable.
* @deprecated Use rpmDefineMacro() to change appropriate macro instead.
- * @todo Eliminate.
+ * @todo Eliminate from API.
*/
void rpmSetVar(int var, const char *val);
/** \ingroup rpmrc
* Build and install arch/os table identifiers.
- * @todo Eliminate.
+ * @todo Eliminate from API.
*/
enum rpm_machtable_e {
- RPM_MACHTABLE_INSTARCH = 0,
- RPM_MACHTABLE_INSTOS = 1,
- RPM_MACHTABLE_BUILDARCH = 2,
- RPM_MACHTABLE_BUILDOS = 3
+ RPM_MACHTABLE_INSTARCH = 0,
+ RPM_MACHTABLE_INSTOS = 1,
+ RPM_MACHTABLE_BUILDARCH = 2,
+ RPM_MACHTABLE_BUILDOS = 3
};
#define RPM_MACHTABLE_COUNT 4 /* number of arch/os tables */
int rpmShowRC(FILE *f);
/** \ingroup rpmrc
- * @todo Eliminate, use _target_* macros.
+ * @deprecated Use addMacro to set _target_* macros.
+ * @todo Eliminate from API.
* @param archTable
* @param osTable
*/
* Set current arch/os names.
* NULL as argument is set to the default value (munged uname())
* pushed through a translation table (if appropriate).
- * @todo Eliminate, use _target_* macros.
+ * @deprecated Use addMacro to set _target_* macros.
+ * @todo Eliminate from API.
*
* @param arch arch name (or NULL)
* @param os os name (or NULL)
/** \ingroup rpmrc
* Return current arch/os names.
- * @todo Eliminate, use _target_* macros.
+ * @deprecated Use rpmExpand on _target_* macros.
+ * @todo Eliminate from API.
+ *
* @retval arch address of arch name (or NULL)
* @retval os address of os name (or NULL)
*/
/** \ingroup rpmrc
* Destroy rpmrc arch/os compatibility tables.
+ * @todo Eliminate from API.
*/
void rpmFreeRpmrc(void);
/** \ingroup rpmdb
* Modify iterator to filter out headers that do not match version.
- * @todo replace with a more general mechanism using RE's on tag content.
+ * @todo Replace with a more general mechanism using RE's on tag content.
* @param mi rpm database iterator
* @param version version to check for
*/
/** \ingroup rpmdb
* Modify iterator to filter out headers that do not match release.
- * @todo replace with a more general mechanism using RE's on tag content.
+ * @todo Replace with a more general mechanism using RE's on tag content.
* @param mi rpm database iterator
* @param release release to check for
*/
/** \name RPMPROBS */
/*@{*/
-/** */
+/**
+ * Enumerate transaction set problems.
+ */
typedef enum rpmProblemType_e {
- RPMPROB_BADARCH,
- RPMPROB_BADOS,
- RPMPROB_PKG_INSTALLED,
- RPMPROB_BADRELOCATE,
- RPMPROB_REQUIRES,
- RPMPROB_CONFLICT,
- RPMPROB_NEW_FILE_CONFLICT,
- RPMPROB_FILE_CONFLICT,
- RPMPROB_OLDPACKAGE,
- RPMPROB_DISKSPACE,
- RPMPROB_BADPRETRANS
+ RPMPROB_BADARCH, /*!< package ... is for a different architecture */
+ RPMPROB_BADOS, /*!< package ... is for a different operating system */
+ RPMPROB_PKG_INSTALLED, /*!< package ... is already installed */
+ RPMPROB_BADRELOCATE,/*!< path ... is not relocateable for package ... */
+ RPMPROB_REQUIRES, /*!< @todo Use for dependency errors. */
+ RPMPROB_CONFLICT, /*!< @todo Use for dependency errors. */
+ RPMPROB_NEW_FILE_CONFLICT, /*!< file ... conflicts between attemped installs of ... */
+ RPMPROB_FILE_CONFLICT,/*!< file ... from install of ... conflicts with file from package ... */
+ RPMPROB_OLDPACKAGE, /*!< package ... (which is newer than ...) is already installed */
+ RPMPROB_DISKSPACE, /*!< installing package ... needs ... on the ... filesystem */
+ RPMPROB_BADPRETRANS /*!< (unused) */
} rpmProblemType;
-/** */
+/**
+ */
typedef /*@abstract@*/ struct rpmProblem_s {
- Header h, altH;
+ Header h;
+ Header altH;
/*@dependent@*/ const void * key;
rpmProblemType type;
int ignoreProblem;
/*@only@*/ const char * str1;
unsigned long ulong1;
-} rpmProblem;
+} * rpmProblem;
/** */
typedef /*@abstract@*/ struct rpmProblemSet_s {
int numProblems;
int numProblemsAlloced;
- rpmProblem * probs;
+ rpmProblem probs; /*!< Array of specific problems. */
} * rpmProblemSet;
/**
char * needsName, * needsVersion;
int needsFlags;
/*@observer@*/ /*@null@*/ const void * suggestedPackage; /* NULL if none */
- enum { RPMDEP_SENSE_REQUIRES, RPMDEP_SENSE_CONFLICTS } sense;
+ enum {
+ RPMDEP_SENSE_REQUIRES,
+ RPMDEP_SENSE_CONFLICTS
+ } sense;
} ;
/**
int numConflicts) /*@modifies *fp @*/;
/**
+ * Return formatted string representation of problem.
+ * @deprecated API: prob used to be passed by value, now passed by reference.
+ * @param prob rpm problem
+ * @return formatted string
*/
/*@only@*/ const char * rpmProblemString(rpmProblem prob) /*@*/;
/**
+ * Output formatted string representation of problem to file handle.
+ * @deprecated API: prob used to be passed by value, now passed by reference.
+ * @param fp file handle
+ * @param prob rpm problem
*/
void rpmProblemPrint(FILE *fp, rpmProblem prob) /*@modifies *fp @*/;
/**
+ * Print problems to file handle.
+ * @param fp file handle
+ * @param probs problem set
*/
void rpmProblemSetPrint(FILE *fp, rpmProblemSet probs) /*@modifies *fp @*/;
/**
+ * Destroy problem set.
+ * @param probs problem set
*/
void rpmProblemSetFree( /*@only@*/ rpmProblemSet probs);
/*@{*/
/* we pass these around as an array with a sentinel */
typedef struct rpmRelocation_s {
- /* XXX for backwards compatibility */
const char * oldPath; /*!< NULL here evals to RPMTAG_DEFAULTPREFIX, */
const char * newPath; /*!< NULL means to omit the file completely! */
} rpmRelocation;
-
/**
* Install source package.
* @param root path to top of install tree
* @return 0 on success, 1 on bad magic, 2 on error
*/
int rpmInstallSourcePackage(const char * root, FD_t fd, const char ** specFile,
- rpmCallbackFunction notify, void * notifyData,
- char ** cookie);
+ rpmCallbackFunction notify, rpmCallbackData notifyData,
+ char ** cookie);
/**
* Compare headers to determine which header is "newer".
void rpmtransFree( /*@only@*/ rpmTransactionSet rpmdep);
/** \ingroup rpmtrans
+ * Save file handle to be used as stderr when running package scripts.
* @param ts rpm transaction set
* @param fd file handle
*/
-void rpmtransSetScriptFd(rpmTransactionSet ts, FD_t fd);
+void rpmtransSetScriptFd(rpmTransactionSet ts, FD_t fd)
+ /*@modifies ts, fd @*/;
-/* this checks for dependency satisfaction, but *not* ordering */
/** \ingroup rpmtrans
+ * Check that all dependencies can be resolved.
* @param rpmdep rpm transaction set
+ * @retval conflicts
+ * @retval numConflicts
+ * @return 0 on success
*/
int rpmdepCheck(rpmTransactionSet rpmdep,
/*@exposed@*/ /*@out@*/ struct rpmDependencyConflict ** conflicts,
/*@exposed@*/ /*@out@*/ int * numConflicts);
-/* Orders items, returns error on circle, finals keys[] is NULL. No dependency
- check is done, use rpmdepCheck() for that. If dependencies are not
- satisfied a "best-try" ordering is returned. */
-
/** \ingroup rpmtrans
+ * Determine package order in a transaction set according to dependencies.
+ * Orders packages, returns error on circular dependencies. No dependency
+ * check is done, use rpmdepCheck() for that. If dependencies are not
+ * satisfied a "best-effort" ordering is attempted.
+ *
* @param order rpm transaction set
+ * @return 0 if packages are successfully ordered, 1 otherwise
*/
-int rpmdepOrder(rpmTransactionSet order);
+int rpmdepOrder(rpmTransactionSet order) /*@modifies order @*/;
/** \ingroup rpmtrans
- * Destroy dependency conflicts.
+ * Destroy dependency conflicts storage.
* @param conflicts dependency conflicts
* @param numConflicts no. of dependency conflicts
*/
void rpmdepFreeConflicts( /*@only@*/ struct rpmDependencyConflict * conflicts,
int numConflicts);
-#define RPMTRANS_FLAG_TEST (1 << 0)
-#define RPMTRANS_FLAG_BUILD_PROBS (1 << 1)
-#define RPMTRANS_FLAG_NOSCRIPTS (1 << 2)
-#define RPMTRANS_FLAG_JUSTDB (1 << 3)
-#define RPMTRANS_FLAG_NOTRIGGERS (1 << 4)
-#define RPMTRANS_FLAG_NODOCS (1 << 5)
-#define RPMTRANS_FLAG_ALLFILES (1 << 6)
-#define RPMTRANS_FLAG_KEEPOBSOLETE (1 << 7)
-#define RPMTRANS_FLAG_MULTILIB (1 << 8)
-
-/** \ingroup rpmdep
+/** \ingroup rpmtrans
+ * Bit(s) to control rpmCheckSig() operation.
+ */
+typedef enum rpmtransFlags_e {
+ RPMTRANS_FLAG_TEST = (1 << 0), /*!< from --test */
+ RPMTRANS_FLAG_BUILD_PROBS = (1 << 1), /*!< @todo Document. */
+ RPMTRANS_FLAG_NOSCRIPTS = (1 << 2), /*!< from --noscripts */
+ RPMTRANS_FLAG_JUSTDB = (1 << 3), /*!< from --justdb */
+ RPMTRANS_FLAG_NOTRIGGERS = (1 << 4), /*!< from --notriggers */
+ RPMTRANS_FLAG_NODOCS = (1 << 5), /*!< from --nodocs */
+ RPMTRANS_FLAG_ALLFILES = (1 << 6), /*!< from --allfiles */
+ RPMTRANS_FLAG_KEEPOBSOLETE = (1 << 7), /*!< @todo Document. */
+ RPMTRANS_FLAG_MULTILIB = (1 << 8), /*!< @todo Document. */
+} rpmtransFlags;
+
+/** \ingroup rpmtrans
* Compare two versioned dependency ranges, looking for overlap.
* @param AName 1st dependncy name string
* @param AEVR 1st dependency [epoch:]version[-release] string
int rpmRangesOverlap(const char *AName, const char *AEVR, int AFlags,
const char *BName, const char *BEVR, int BFlags) /*@*/;
-/** \ingroup rpmdep
+/** \ingroup rpmtrans
* Check dependency against internal rpmlib feature provides.
* @param keyName dependency name string
* @param keyEVR dependency [epoch:]version[-release] string
*/
void rpmShowRpmlibProvides(FILE * fp) /*@modifies *fp @*/;
+/**
+ * @todo Generalize filter mechanism.
+ */
+typedef enum rpmprobFilterFlags_e {
+ RPMPROB_FILTER_NONE = 0,
+ RPMPROB_FILTER_IGNOREOS = (1 << 0),
+ RPMPROB_FILTER_IGNOREARCH = (1 << 1),
+ RPMPROB_FILTER_REPLACEPKG = (1 << 2),
+ RPMPROB_FILTER_FORCERELOCATE= (1 << 3),
+ RPMPROB_FILTER_REPLACENEWFILES= (1 << 4),
+ RPMPROB_FILTER_REPLACEOLDFILES= (1 << 5),
+ RPMPROB_FILTER_OLDPACKAGE = (1 << 6),
+ RPMPROB_FILTER_DISKSPACE = (1 << 7)
+} rpmprobFilterFlags;
+
/** \ingroup rpmtrans
+ * Process all packages in transactions set.
* @param ts rpm transaction set
- */
-int rpmRunTransactions(rpmTransactionSet ts, rpmCallbackFunction notify,
- void * notifyData, rpmProblemSet okProbs,
- /*@out@*/ rpmProblemSet * newProbs, int flags,
- int ignoreSet);
-
-#define RPMPROB_FILTER_IGNOREOS (1 << 0)
-#define RPMPROB_FILTER_IGNOREARCH (1 << 1)
-#define RPMPROB_FILTER_REPLACEPKG (1 << 2)
-#define RPMPROB_FILTER_FORCERELOCATE (1 << 3)
-#define RPMPROB_FILTER_REPLACENEWFILES (1 << 4)
-#define RPMPROB_FILTER_REPLACEOLDFILES (1 << 5)
-#define RPMPROB_FILTER_OLDPACKAGE (1 << 6)
-#define RPMPROB_FILTER_DISKSPACE (1 << 7)
+ * @param notify progress callback
+ * @param notifyData progress callback private data
+ * @param okProbs previously known problems (or NULL)
+ * @retval newProbs address to return unfiltered problems (or NULL)
+ * @param transFlags bits to control rpmRunTransactions()
+ * @param ignoreSet bits to filter problem types
+ * @return 0 on success, -1 on error, >0 with newProbs set
+ */
+int rpmRunTransactions(rpmTransactionSet ts,
+ rpmCallbackFunction notify, rpmCallbackData notifyData,
+ rpmProblemSet okProbs,
+ /*@out@*/ rpmProblemSet * newProbs,
+ rpmtransFlags transFlags,
+ rpmprobFilterFlags ignoreSet);
/*@}*/
-/** rpmlead.c **/
+/**
+ * Return name of tag from value.
+ * @param tag tag value
+ * @return name of tag
+ */
+/*@observer@*/ const char *const tagName(int tag) /*@*/;
+
+/**
+ * Return value of tag from name.
+ * @param targstr name of tag
+ * @return tag value
+ */
+int tagValue(const char *tagstr) /*@*/;
#define RPMLEAD_BINARY 0
#define RPMLEAD_SOURCE 1
#define RPMLEAD_MAGIC2 0xee
#define RPMLEAD_MAGIC3 0xdb
-/* The lead needs to be 8 byte aligned */
-
-#define RPMLEAD_SIZE 96
+#define RPMLEAD_SIZE 96 /*!< Don't rely on sizeof(struct) */
/** \ingroup lead
+ * The lead data structure.
+ * The lead needs to be 8 byte aligned.
+ * @deprecated The lead (except for signature_type) is legacy.
+ * @todo Don't use any information from lead.
*/
struct rpmlead {
unsigned char magic[4];
short archnum;
char name[66];
short osnum;
- short signature_type;
- char reserved[16]; /* pads to 96 bytes -- 8 byte aligned! */
-} ;
-
-/** \ingroup lead
- */
-struct oldrpmlead { /* for version 1 packages */
- unsigned char magic[4];
- unsigned char major, minor;
- short type;
- short archnum;
- char name[66];
- unsigned int specOffset;
- unsigned int specLength;
- unsigned int archiveOffset;
+ short signature_type; /*!< Signature header type (RPMSIG_HEADERSIG) */
+ char reserved[16]; /*!< Pad to 96 bytes -- 8 byte aligned! */
} ;
/**
+ * Release storage used by file system usage cache.
*/
void freeFilesystems(void);
/**
+ * Return (cached) file system mount points.
+ * @retval addess of file system names (or NULL)
+ * @retval num address of number of file systems
+ * @return 0 on success, 1 on error
*/
-int rpmGetFilesystemList( /*@out@*/ const char *** listptr, /*@out@*/int * num);
+int rpmGetFilesystemList( /*@out@*/ const char *** listptr, /*@out@*/ int * num)
+ /*@modifies *listptr, *num @*/;
/**
+ * Determine per-file system usage for a list of files.
+ * @param filelist array of absolute file names
+ * @param fssizes array of file sizes
+ * @param numFiles number of files in list
+ * @retval usagesPtr address of per-file system usage array.
+ * @param flags (unused)
+ * @return 0 on success, 1 on error
*/
int rpmGetFilesystemUsage(const char ** filelist, int_32 * fssizes,
int numFiles, /*@out@*/ uint_32 ** usagesPtr, int flags);
/*@{*/
/** \ingroup rpmcli
+ * Bit(s) for rpmVerifyFile() attributes and result.
+ */
+enum rpmVerifyAttrs_e {
+ RPMVERIFY_NONE = 0, /*!< */
+ RPMVERIFY_MD5 = (1 << 0), /*!< */
+ RPMVERIFY_FILESIZE = (1 << 1), /*!< */
+ RPMVERIFY_LINKTO = (1 << 2), /*!< */
+ RPMVERIFY_USER = (1 << 3), /*!< */
+ RPMVERIFY_GROUP = (1 << 4), /*!< */
+ RPMVERIFY_MTIME = (1 << 5), /*!< */
+ RPMVERIFY_MODE = (1 << 6), /*!< */
+ RPMVERIFY_RDEV = (1 << 7), /*!< */
+ RPMVERIFY_READLINKFAIL= (1 << 28), /*!< */
+ RPMVERIFY_READFAIL = (1 << 29), /*!< */
+ RPMVERIFY_LSTATFAIL = (1 << 30) /*!< */
+};
+#define RPMVERIFY_ALL ~(RPMVERIFY_NONE)
+
+/** \ingroup rpmcli
+ * Verify file attributes and MD5 sum.
* @param root path to top of install tree
* @param h header
+ * @param filenum index of file in header file info arrays
+ * @retval result address of failure flags
+ * @param omitMask bit(s) to disable verify checks
+ * @return 0 on success (or not installed), 1 on error
*/
int rpmVerifyFile(const char * root, Header h, int filenum,
/*@out@*/ int * result, int omitMask);
/** \ingroup rpmcli
+ * Return exit code from running verify script in header.
* @param root path to top of install tree
* @param h header
- * @param err file handle
+ * @param err file handle to use for stderr
+ * @return 0 on success
*/
int rpmVerifyScript(const char * root, Header h, FD_t err);
-/* --- query/verify mode options */
+/** \ingroup rpmcli
+ * The command line argument will be used to retrieve header(s) ...
+ */
+typedef enum rpmQVSources_e {
+ RPMQV_PACKAGE = 0, /*!< ... from package name db search. */
+ RPMQV_PATH, /*!< ... from file path db search. */
+ RPMQV_ALL, /*!< ... from each installed package. */
+ RPMQV_RPM, /*!< ... from reading binary rpm package. */
+ RPMQV_GROUP, /*!< ... from group db search. */
+ RPMQV_WHATPROVIDES, /*!< ... from provides db search. */
+ RPMQV_WHATREQUIRES, /*!< ... from requires db search. */
+ RPMQV_TRIGGEREDBY, /*!< ... from trigger db search. */
+ RPMQV_DBOFFSET, /*!< ... from database header instance. */
+ RPMQV_SPECFILE /*!< ... from spec file parse (query only). */
+} rpmQVSources;
-/* XXX SPECFILE is not verify sources */
/** \ingroup rpmcli
+ * Bit(s) to control rpmQuery() operation, stored in qva_flags.
*/
-enum rpmQVSources { RPMQV_PACKAGE = 0, RPMQV_PATH, RPMQV_ALL, RPMQV_RPM,
- RPMQV_GROUP, RPMQV_WHATPROVIDES, RPMQV_WHATREQUIRES,
- RPMQV_TRIGGEREDBY, RPMQV_DBOFFSET, RPMQV_SPECFILE };
+typedef enum rpmQueryFlags_e {
+ QUERY_FOR_LIST = (1 << 1), /*!< from --list */
+ QUERY_FOR_STATE = (1 << 2), /*!< from --state */
+ QUERY_FOR_DOCS = (1 << 3), /*!< from --docfiles */
+ QUERY_FOR_CONFIG = (1 << 4), /*!< from --configfiles */
+ QUERY_FOR_DUMPFILES = (1 << 8) /*!< from --dump */
+} rpmQueryFlags;
/** \ingroup rpmcli
+ * Bit(s) to control rpmVerify() operation, stored in qva_flags.
*/
-struct rpmQVArguments {
- enum rpmQVSources qva_source;
- int qva_sourceCount; /* > 1 is an error */
- int qva_flags;
- int qva_verbose;
- const char *qva_queryFormat;
- const char *qva_prefix;
- char qva_mode;
- char qva_char;
-};
+typedef enum rpmVerifyFlags_e {
+ VERIFY_FILES = (1 << 9), /*!< from --nofiles */
+ VERIFY_DEPS = (1 << 10), /*!< from --nodeps */
+ VERIFY_SCRIPT = (1 << 11), /*!< from --noscripts */
+ VERIFY_MD5 = (1 << 12) /*!< from --nomd5 */
+} rpmVerifyFlags;
+
/** \ingroup rpmcli
- */
-typedef struct rpmQVArguments QVA_t;
+ * Describe query/verify command line request.
+ */
+typedef struct rpmQVArguments {
+ rpmQVSources qva_source; /*!< Identify CLI arg type. */
+ int qva_sourceCount; /*!< Exclusive check (>1 is error). */
+ int qva_flags; /*!< Bit(s) to control operation. */
+ int qva_verbose; /*!< (unused) */
+ const char *qva_queryFormat; /*!< Format for headerSprintf(). */
+ const char *qva_prefix; /*!< Path to top of install tree. */
+ char qva_mode; /*!< 'q' is query, 'v' is verify mode */
+ char qva_char; /*!< (unused) always ' ' */
+} QVA_t;
/** \ingroup rpmcli
*/
-extern struct rpmQVArguments rpmQVArgs;
+extern QVA_t rpmQVArgs;
/** \ingroup rpmcli
*/
-extern struct poptOption rpmQVSourcePoptTable[];
+extern struct poptOption rpmQVSourcePoptTable[];
/** \ingroup rpmcli
* @param qva parsed query/verify options
typedef int (*QVF_t) (QVA_t *qva, rpmdb db, Header h);
/** \ingroup rpmcli
+ * Display query/verify information for each header in iterator.
* @param qva parsed query/verify options
* @param mi rpm database iterator
- * @param showPackage query/verify routine
+ * @param showPackage query/verify display routine
+ * @return result of last non-zero showPackage() return
*/
int showMatches(QVA_t *qva, /*@only@*/ /*@null@*/ rpmdbMatchIterator mi,
QVF_t showPackage);
-#define QUERY_FOR_LIST (1 << 1)
-#define QUERY_FOR_STATE (1 << 2)
-#define QUERY_FOR_DOCS (1 << 3)
-#define QUERY_FOR_CONFIG (1 << 4)
-#define QUERY_FOR_DUMPFILES (1 << 8)
-
-/**
- * Return name of tag from value.
- * @param tag tag value
- * @return name of tag
- */
-/*@observer@*/ const char *const tagName(int tag) /*@*/;
-
-/**
- * Return value of tag from name.
- * @param targstr name of tag
- * @return tag value
- */
-int tagValue(const char *tagstr) /*@*/;
-
/** \ingroup rpmcli
*/
extern int specedit;
extern struct poptOption rpmQueryPoptTable[];
/** \ingroup rpmcli
+ * Display list of tags that can be used in --queryformat.
* @param f file handle to use for display
*/
void rpmDisplayQueryTags(FILE * f);
/** \ingroup rpmcli
+ * Common query/verify source interface, called once for each CLI arg.
* @param qva parsed query/verify options
* @param source type of source to query/verify
* @param arg name of source to query/verify
* @param db rpm database
- * @param showPackage query/verify routine
+ * @param showPackage query/verify specific display routine
+ * @return showPackage() result, 1 if rpmdbInitIterator() is NULL
*/
-int rpmQueryVerify(QVA_t *qva, enum rpmQVSources source, const char * arg,
+int rpmQueryVerify(QVA_t *qva, rpmQVSources source, const char * arg,
rpmdb db, QVF_t showPackage);
/** \ingroup rpmcli
+ * Display results of package query.
+ * @todo Devise a meaningful return code.
* @param qva parsed query/verify options
* @param db rpm database (unused for queries)
* @param h header to use for query
+ * @return 0 always
*/
int showQueryPackage(QVA_t *qva, rpmdb db, Header h);
/** \ingroup rpmcli
+ * Display package information.
* @param qva parsed query/verify options
* @param source type of source to query
* @param arg name of source to query
+ * @return rpmQueryVerify() result, or 1 on rpmdbOpen() failure
*/
-int rpmQuery(QVA_t *qva, enum rpmQVSources source, const char * arg);
-
-#define VERIFY_FILES (1 << 9)
-#define VERIFY_DEPS (1 << 10)
-#define VERIFY_SCRIPT (1 << 11)
-#define VERIFY_MD5 (1 << 12)
+int rpmQuery(QVA_t *qva, rpmQVSources source, const char * arg);
/** \ingroup rpmcli
*/
extern struct poptOption rpmVerifyPoptTable[];
/** \ingroup rpmcli
+ * Display results of package verify.
* @param qva parsed query/verify options
* @param db rpm database
* @param h header to use for verify
+ * @return result of last non-zero verify return
*/
int showVerifyPackage(QVA_t *qva, /*@only@*/ rpmdb db, Header h);
/** \ingroup rpmcli
+ * Verify package install.
* @param qva parsed query/verify options
* @param source type of source to verify
* @param arg name of source to verify
+ * @return rpmQueryVerify() result, or 1 on rpmdbOpen() failure
*/
-int rpmVerify(QVA_t *qva, enum rpmQVSources source, const char *arg);
+int rpmVerify(QVA_t *qva, rpmQVSources source, const char *arg);
/*@}*/
/* ==================================================================== */
/*@{*/
/* --- install/upgrade/erase modes */
-#define INSTALL_PERCENT (1 << 0)
-#define INSTALL_HASH (1 << 1)
-#define INSTALL_NODEPS (1 << 2)
-#define INSTALL_NOORDER (1 << 3)
-#define INSTALL_LABEL (1 << 4) /* set if we're being verbose */
-#define INSTALL_UPGRADE (1 << 5)
-#define INSTALL_FRESHEN (1 << 6)
-
-#define UNINSTALL_NODEPS (1 << 0)
-#define UNINSTALL_ALLMATCHES (1 << 1)
+/** \ingroup rpmcli
+ * Bit(s) to control rpmInstall() operation.
+ */
+typedef enum rpmInstallInterfaceFlags_e {
+ INSTALL_PERCENT = (1 << 0), /*!< from --percent */
+ INSTALL_HASH = (1 << 1), /*!< from --hash */
+ INSTALL_NODEPS = (1 << 2), /*!< from --nodeps */
+ INSTALL_NOORDER = (1 << 3), /*!< from --noorder */
+ INSTALL_LABEL = (1 << 4), /*!< from --verbose (notify) */
+ INSTALL_UPGRADE = (1 << 5), /*!< from --upgrade */
+ INSTALL_FRESHEN = (1 << 6) /*!< from --freshen */
+} rpmInstallInterfaceFlags;
/** \ingroup rpmcli
+ * Install/upgrade/freshen binary rpm package.
* @param rootdir path to top of install tree
* @param argv array of package file names (NULL terminated)
+ * @param transFlags bits to control rpmRunTransactions()
+ * @param interfaceFlags bits to control rpmInstall()
+ * @param probFilter bits to filter problem types
+ * @param relocations package file relocations
+ * @return 0 on success
+ */
+int rpmInstall(const char * rootdir, const char ** argv,
+ rpmtransFlags transFlags,
+ rpmInstallInterfaceFlags interfaceFlags,
+ rpmprobFilterFlags probFilter,
+ rpmRelocation * relocations);
+
+/** \ingroup rpmcli
+ * Install source rpm package.
+ * @param prefix path to top of install tree
+ * @param arg source rpm file name
+ * @retval specFile address of (installed) spec file name
+ * @retval cookie
+ * @return 0 on success
*/
-int rpmInstall(const char * rootdir, const char ** argv, int installFlags,
- int interfaceFlags, int probFilter, rpmRelocation * relocations);
+int rpmInstallSource(const char * prefix, const char * arg,
+ /*@out@*/ const char ** specFile, /*@out@*/ char ** cookie);
/** \ingroup rpmcli
+ * Bit(s) to control rpmErase() operation.
*/
-int rpmInstallSource(const char * prefix, const char * arg, const char ** specFile,
- char ** cookie);
+typedef enum rpmEraseInterfaceFlags_e {
+ UNINSTALL_NODEPS = (1 << 0), /*!< from --nodeps */
+ UNINSTALL_ALLMATCHES= (1 << 1) /*!< from --allmatches */
+} rpmEraseInterfaceFlags;
/** \ingroup rpmcli
+ * Erase binary rpm package.
* @param rootdir path to top of install tree
* @param argv array of package file names (NULL terminated)
+ * @param transFlags bits to control rpmRunTransactions()
+ * @param interfaceFlags bits to control rpmInstall()
+ * @return 0 on success
*/
-int rpmErase(const char * rootdir, const char ** argv, int uninstallFlags,
- int interfaceFlags);
+int rpmErase(const char * rootdir, const char ** argv,
+ rpmtransFlags transFlags,
+ rpmEraseInterfaceFlags interfaceFlags);
/*@}*/
/* ==================================================================== */
/** \name RPMK */
/*@{*/
-/**************************************************/
-/* */
-/* Signature Tags */
-/* */
-/* These go in the sig Header to specify */
-/* individual signature types. */
-/* */
-/**************************************************/
-
/** \ingroup signature
* Tags found in signature header from package.
*/
enum rpmtagSignature {
- RPMSIGTAG_SIZE = 1000,
+ RPMSIGTAG_SIZE = 1000, /*!< Size in bytes. */
/* the md5 sum was broken *twice* on big endian machines */
- RPMSIGTAG_LEMD5_1 = 1001,
- RPMSIGTAG_PGP = 1002,
- RPMSIGTAG_LEMD5_2 = 1003,
- RPMSIGTAG_MD5 = 1004,
- RPMSIGTAG_GPG = 1005,
- RPMSIGTAG_PGP5 = 1006, /* XXX legacy use only */
+ RPMSIGTAG_LEMD5_1 = 1001, /*!< Broken MD5, take 1 */
+ RPMSIGTAG_PGP = 1002, /*!< PGP 2.6.3 signature. */
+ RPMSIGTAG_LEMD5_2 = 1003, /*!< Broken MD5, take 2 */
+ RPMSIGTAG_MD5 = 1004, /*!< MD5 signature. */
+ RPMSIGTAG_GPG = 1005, /*!< GnuPG signature. */
+ RPMSIGTAG_PGP5 = 1006, /*!< PGP5 signature @deprecated legacy. */
/* Signature tags by Public Key Algorithm (RFC 2440) */
/* N.B.: These tags are tenative, the values may change */
- RPMTAG_PK_BASE = 512,
- RPMTAG_PK_RSA_ES = RPMTAG_PK_BASE+1,
- RPMTAG_PK_RSA_E = RPMTAG_PK_BASE+2,
- RPMTAG_PK_RSA_S = RPMTAG_PK_BASE+3,
- RPMTAG_PK_ELGAMAL_E = RPMTAG_PK_BASE+16,
- RPMTAG_PK_DSA = RPMTAG_PK_BASE+17,
- RPMTAG_PK_ELLIPTIC = RPMTAG_PK_BASE+18,
- RPMTAG_PK_ECDSA = RPMTAG_PK_BASE+19,
- RPMTAG_PK_ELGAMAL_ES = RPMTAG_PK_BASE+20,
- RPMTAG_PK_DH = RPMTAG_PK_BASE+21,
-
- RPMTAG_HASH_BASE = 512+64,
- RPMTAG_HASH_MD5 = RPMTAG_HASH_BASE+1,
- RPMTAG_HASH_SHA1 = RPMTAG_HASH_BASE+2,
- RPMTAG_HASH_RIPEMD160 = RPMTAG_HASH_BASE+3,
- RPMTAG_HASH_MD2 = RPMTAG_HASH_BASE+5,
- RPMTAG_HASH_TIGER192 = RPMTAG_HASH_BASE+6,
- RPMTAG_HASH_HAVAL_5_160 = RPMTAG_HASH_BASE+7
+ RPMTAG_PK_BASE = 512, /*!< @todo Implement. */
+ RPMTAG_PK_RSA_ES = RPMTAG_PK_BASE+1, /*!< (unused */
+ RPMTAG_PK_RSA_E = RPMTAG_PK_BASE+2, /*!< (unused) */
+ RPMTAG_PK_RSA_S = RPMTAG_PK_BASE+3, /*!< (unused) */
+ RPMTAG_PK_ELGAMAL_E = RPMTAG_PK_BASE+16, /*!< (unused) */
+ RPMTAG_PK_DSA = RPMTAG_PK_BASE+17, /*!< (unused) */
+ RPMTAG_PK_ELLIPTIC = RPMTAG_PK_BASE+18, /*!< (unused) */
+ RPMTAG_PK_ECDSA = RPMTAG_PK_BASE+19, /*!< (unused) */
+ RPMTAG_PK_ELGAMAL_ES= RPMTAG_PK_BASE+20, /*!< (unused) */
+ RPMTAG_PK_DH = RPMTAG_PK_BASE+21, /*!< (unused) */
+
+ RPMTAG_HASH_BASE = 512+64, /*!< @todo Implement. */
+ RPMTAG_HASH_MD5 = RPMTAG_HASH_BASE+1, /*!< (unused) */
+ RPMTAG_HASH_SHA1 = RPMTAG_HASH_BASE+2, /*!< (unused) */
+ RPMTAG_HASH_RIPEMD160= RPMTAG_HASH_BASE+3, /*!< (unused) */
+ RPMTAG_HASH_MD2 = RPMTAG_HASH_BASE+5, /*!< (unused) */
+ RPMTAG_HASH_TIGER192= RPMTAG_HASH_BASE+6, /*!< (unused) */
+ RPMTAG_HASH_HAVAL_5_160= RPMTAG_HASH_BASE+7 /*!< (unused) */
};
/**
* Return codes from verifySignature().
*/
-enum rpmVerifySignatureReturn {
- RPMSIG_OK = 0, /*!< Signature is OK. */
- RPMSIG_UNKNOWN = 1, /*!< Signature is unknown. */
- RPMSIG_BAD = 2, /*!< Signature does not verify. */
- RPMSIG_NOKEY = 3, /*!< Key is unavailable. */
- RPMSIG_NOTTRUSTED = 4 /*!< Signature is OK, but key is not trusted. */
-};
+typedef enum rpmVerifySignatureReturn_e {
+ RPMSIG_OK = 0, /*!< Signature is OK. */
+ RPMSIG_UNKNOWN = 1, /*!< Signature is unknown. */
+ RPMSIG_BAD = 2, /*!< Signature does not verify. */
+ RPMSIG_NOKEY = 3, /*!< Key is unavailable. */
+ RPMSIG_NOTTRUSTED = 4 /*!< Signature is OK, but key is not trusted. */
+} rpmVerifySignatureReturn;
/** \ingroup signature
* Verify a signature from a package.
* @param result detailed text result of signature verification
* @return result of signature verification
*/
-enum rpmVerifySignatureReturn rpmVerifySignature(const char *file,
+rpmVerifySignatureReturn rpmVerifySignature(const char *file,
int_32 sigTag, void *sig, int count, char *result);
/** \ingroup signature
/* --- checksig/resign */
-#define CHECKSIG_PGP (1 << 0)
-#define CHECKSIG_MD5 (1 << 1)
-#define CHECKSIG_GPG (1 << 2)
+/** \ingroup rpmcli
+ * Bit(s) to control rpmCheckSig() operation.
+ */
+typedef enum rpmCheckSigFlags_e {
+ CHECKSIG_NONE = 0, /*!< Don't check any signatures. */
+ CHECKSIG_PGP = (1 << 0), /*!< if not --nopgp */
+ CHECKSIG_MD5 = (1 << 1), /*!< if not --nomd5 */
+ CHECKSIG_GPG = (1 << 2) /*!< if not --nogpg */
+} rpmCheckSigFlags;
/** \ingroup rpmcli
- * @param flags
+ * Check elements in signature header.
+ * @param flags bit(s) to enable signature checks
* @param argv array of package file names (NULL terminated)
* @return 0 on success
*/
-int rpmCheckSig(int flags, const char ** argv);
+int rpmCheckSig(rpmCheckSigFlags flags, const char ** argv);
/** \ingroup rpmcli
- * Type of signature operation to perform.
+ * Bit(s) to control rpmReSign() operation.
*/
-enum rpmKtype {
- RPMK_NEW_SIGNATURE = 0, /*!< Discard previous signature. */
- RPMK_ADD_SIGNATURE /*!< Add element to signature. */
-};
+typedef enum rpmResignFlags_e {
+ RESIGN_NEW_SIGNATURE = 0, /*!< from --resign */
+ RESIGN_ADD_SIGNATURE /*!< from --addsign */
+} rpmResignFlags;
/** \ingroup rpmcli
* Create/modify elements in signature header.
* @param argv array of package file names (NULL terminated)
* @return 0 on success
*/
-int rpmReSign(enum rpmKtype add, char *passPhrase, const char ** argv);
+int rpmReSign(rpmResignFlags add, char *passPhrase, const char ** argv);
/*@}*/
return ret;
}
-static enum rpmVerifySignatureReturn
+static rpmVerifySignatureReturn
verifySizeSignature(const char *datafile, int_32 size, char *result)
{
struct stat statbuf;
#define X(_x) (unsigned)((_x) & 0xff)
-static enum rpmVerifySignatureReturn
+static rpmVerifySignatureReturn
verifyMD5Signature(const char *datafile, unsigned char *sig,
char *result, md5func fn)
{
return RPMSIG_OK;
}
-static enum rpmVerifySignatureReturn
+static rpmVerifySignatureReturn
verifyPGPSignature(const char *datafile, void *sig, int count, char *result)
{
int pid, status, outpipe[2];
return res;
}
-static enum rpmVerifySignatureReturn
+static rpmVerifySignatureReturn
verifyGPGSignature(const char *datafile, void *sig, int count, char *result)
{
int pid, status, outpipe[2];
return pass;
}
-enum rpmVerifySignatureReturn
+rpmVerifySignatureReturn
rpmVerifySignature(const char *file, int_32 sigTag, void *sig, int count,
char *result)
{
* This is good, as it lets us perform this trim in linear time, rather
* then logarithmic or quadratic.
*/
- rpmProblem * f, * t;
+ rpmProblem f, t;
int gotProblems = 0;
f = filter->probs;
const char * baseName, short dbMode,
const char * dbMd5, const char * dbLink, short newMode,
const char * newMd5, const char * newLink, int newFlags,
- int brokenMd5, int transFlags)
+ int brokenMd5, rpmtransFlags transFlags)
{
char buffer[1024];
const char * dbAttr, * newAttr;
static int handleInstInstalledFiles(TFI_t * fi, rpmdb db,
struct sharedFileInfo * shared,
int sharedCount, int reportConflicts,
- rpmProblemSet probs, int transFlags)
+ rpmProblemSet probs,
+ rpmtransFlags transFlags)
{
Header h;
int i;
#define NOTIFY(_x) if (notify) (void) notify _x
-/* Return -1 on error, > 0 if newProbs is set, 0 if everything happened */
-
-int rpmRunTransactions(rpmTransactionSet ts, rpmCallbackFunction notify,
- void * notifyData, rpmProblemSet okProbs,
- rpmProblemSet * newProbs, int transFlags, int ignoreSet)
+int rpmRunTransactions( rpmTransactionSet ts,
+ rpmCallbackFunction notify, rpmCallbackData notifyData,
+ rpmProblemSet okProbs, rpmProblemSet * newProbs,
+ rpmtransFlags transFlags, rpmprobFilterFlags ignoreSet)
{
int i, j;
int rc, ourrc = 0;
/**
* Remove (or rename) file according to file disposition.
* @param file file
- * @param flags
+ * @param fileAttrs file attributes (from package header)
* @param mode file type
* @param action file disposition
* @return
*/
-static int removeFile(const char * file, unsigned int flags, short mode,
+static int removeFile(const char * file, rpmfileAttrs fileAttrs, short mode,
enum fileActions action)
{
int rc = 0;
}
} else {
if (unlink(file)) {
- if (errno != ENOENT || !(flags & RPMFILE_MISSINGOK)) {
+ if (errno != ENOENT || !(fileAttrs & RPMFILE_MISSINGOK)) {
rpmError(RPMERR_UNLINK,
_("removal of %s failed: %s"),
file, strerror(errno));
}
int removeBinaryPackage(const char * rootdir, rpmdb rpmdb, unsigned int offset,
- Header h,
- int flags, rpmCallbackFunction notify,
- void * notifyData, const void * pkgKey,
- enum fileActions * actions, FD_t scriptFd)
+ Header h, rpmtransFlags transFlags,
+ rpmCallbackFunction notify, rpmCallbackData notifyData,
+ const void * pkgKey, enum fileActions * actions,
+ FD_t scriptFd)
{
const char * name, * version, * release;
const char ** baseNames;
int fileCount;
int i;
- if (flags & RPMTRANS_FLAG_JUSTDB)
- flags |= RPMTRANS_FLAG_NOSCRIPTS;
+ if (transFlags & RPMTRANS_FLAG_JUSTDB)
+ transFlags |= RPMTRANS_FLAG_NOSCRIPTS;
headerNVR(h, &name, &version, &release);
return 1;
scriptArg -= 1;
- if (!(flags & RPMTRANS_FLAG_NOTRIGGERS)) {
+ if (!(transFlags & RPMTRANS_FLAG_NOTRIGGERS)) {
/* run triggers from this package which are keyed on installed
packages */
if (runImmedTriggers(rootdir, rpmdb, RPMSENSE_TRIGGERUN, h, -1, scriptFd))
return 1;
}
- if (!(flags & RPMTRANS_FLAG_TEST)) {
+ if (!(transFlags & RPMTRANS_FLAG_TEST)) {
rc = runInstScript(rootdir, h, RPMTAG_PREUN, RPMTAG_PREUNPROG, scriptArg,
- (flags & RPMTRANS_FLAG_NOSCRIPTS), scriptFd);
+ (transFlags & RPMTRANS_FLAG_NOSCRIPTS), scriptFd);
if (rc)
return 1;
}
rpmMessage(RPMMESS_DEBUG, _("will remove files test = %d\n"),
- flags & RPMTRANS_FLAG_TEST);
+ transFlags & RPMTRANS_FLAG_TEST);
- if (!(flags & RPMTRANS_FLAG_JUSTDB) &&
+ if (!(transFlags & RPMTRANS_FLAG_JUSTDB) &&
headerGetEntry(h, RPMTAG_BASENAMES, NULL, (void **) &baseNames,
&fileCount)) {
const char ** fileMd5List;
rpmMessage(RPMMESS_DEBUG, _(" file: %s action: %s\n"),
fileName, fileActionString(actions[i]));
- if (!(flags & RPMTRANS_FLAG_TEST)) {
+ if (!(transFlags & RPMTRANS_FLAG_TEST)) {
if (notify) {
(void)notify(h, RPMCALLBACK_UNINST_PROGRESS,
i, actions[i], fileName, notifyData);
free(fileMd5List);
}
- if (!(flags & RPMTRANS_FLAG_TEST)) {
+ if (!(transFlags & RPMTRANS_FLAG_TEST)) {
rpmMessage(RPMMESS_DEBUG, _("running postuninstall script (if any)\n"));
rc = runInstScript(rootdir, h, RPMTAG_POSTUN, RPMTAG_POSTUNPROG,
- scriptArg, (flags & RPMTRANS_FLAG_NOSCRIPTS), scriptFd);
+ scriptArg, (transFlags & RPMTRANS_FLAG_NOSCRIPTS), scriptFd);
/* XXX postun failures are not cause for erasure failure. */
}
- if (!(flags & RPMTRANS_FLAG_NOTRIGGERS)) {
+ if (!(transFlags & RPMTRANS_FLAG_NOTRIGGERS)) {
/* Run postun triggers which are set off by this package's removal. */
rc = runTriggers(rootdir, rpmdb, RPMSENSE_TRIGGERPOSTUN, h,
-1, scriptFd);
return 2;
}
- if (!(flags & RPMTRANS_FLAG_TEST))
+ if (!(transFlags & RPMTRANS_FLAG_TEST))
rpmdbRemove(rpmdb, offset);
return 0;
return 0;
}
-/** */
int showVerifyPackage(QVA_t *qva, rpmdb rpmdb, Header h)
{
int ec, rc;
return ec;
}
-/** */
-int rpmVerify(QVA_t *qva, enum rpmQVSources source, const char *arg)
+int rpmVerify(QVA_t *qva, rpmQVSources source, const char *arg)
{
rpmdb rpmdb = NULL;
int rc;
LIBMISC = @LIBMISC@
LIBOBJS = @LIBOBJS@
LIBRPMALIAS_FILENAME = @LIBRPMALIAS_FILENAME@
-LIBRPMRC_FILENAME = @LIBRPMRC_FILENAME@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0\n"
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"PO-Revision-Date: 2000-08-08 22:37+0100\n"
"Last-Translator: Milan Kerslager <milan.kerslager@spsselib.hiedu.cz>\n"
"Language-Team: Czech <cs@li.org>\n"
"Content-Type: text/plain; charset=ISO-8859-2\n"
"Content-Transfer-Encoding: 8-bit\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr "chyba: nemohu otevøít %s/packages.rpm\n"
msgid "old format source packages cannot be queried\n"
msgstr "nelze provést dotaz na zdrojové balíèky starého formátu\n"
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr "nezdá se, ¾e by %s byl balíèek typu RPM\n"
msgid "record %d could not be read\n"
msgstr "záznam %d nelze pøeèíst\n"
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr "balíèek %s není nainstalován\n"
msgid "failed to remove directory %s: %s\n"
msgstr "nemohu odstranit adresáø %s: %s\n"
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
msgid "counting packages to install\n"
msgstr "poèítám balíèky pro instalaci\n"
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, c-format
msgid "found %d packages\n"
msgstr "nalezeno %d balíèkù\n"
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
msgid "looking for packages to download\n"
msgstr "hledám balíèky pro sta¾ení\n"
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr "pøeskakuji %s - rpmGlob selhal(%d)\n"
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr "Stahuji %s\n"
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr " ... jako %s\n"
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr "pøeskakuji %s - pøenos selhal - %s\n"
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr "pøijato %d balíèkù\n"
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, c-format
msgid "cannot open file %s: %s\n"
msgstr "nemohu otevøít soubor %s: %s\n"
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, c-format
msgid "%s cannot be installed\n"
msgstr "%s nemù¾e být nainstalován\n"
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, c-format
msgid "cannot open Packages database in %s\n"
msgstr "nemohu otevøít databázi balíèkù v %s\n"
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, c-format
msgid "package %s is not relocateable\n"
msgstr "balíèek %s není pøemístitelný\n"
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, c-format
msgid "error reading from file %s\n"
msgstr "chyba pøi ètení ze souboru %s\n"
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr "soubor %s vy¾aduje novìj¹í verzi RPM\n"
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, c-format
msgid "found %d source and %d binary packages\n"
msgstr "nalezeno %d zdrojových a %d binárních balíèkù\n"
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr "nevyøe¹ené závislosti:\n"
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
msgid "installing binary packages\n"
msgstr "instaluji binární balíèky\n"
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr "\"%s\" urèuje více balíèkù\n"
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr "odstranìní tìchto balíèkù by poru¹ilo závislosti:\n"
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, c-format
msgid "cannot open %s: %s\n"
msgstr "nemohu otevøít %s: %s\n"
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr "Instaluji %s\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0\n"
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"PO-Revision-Date: 2000-03-07 05:17+01:00\n"
"Last-Translator: K. Christiansen <kenneth@gnu.org>\n"
"Language-Team: Danish/Dansk <dansk@klid.dk>\n"
"Content-Type: text/plain; charset=ISO-8859-1\n"
"Content-Transfer-Encoding: 8-bit\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr "Kan ikke åbne %s/packages.rpm\n"
msgid "old format source packages cannot be queried\n"
msgstr ""
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr ""
msgid "record %d could not be read\n"
msgstr ""
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr ""
msgid "failed to remove directory %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
msgid "counting packages to install\n"
msgstr ""
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, c-format
msgid "found %d packages\n"
msgstr "fundet %d pakke(r)\n"
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
msgid "looking for packages to download\n"
msgstr "leder efter pakker til at hente\n"
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr ""
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr "Modtager %s\n"
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr " ... som %s\n"
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr ""
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr "modtager %d pakker\n"
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, c-format
msgid "cannot open file %s: %s\n"
msgstr "kan ikke åbne fil %s: %s\n"
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, c-format
msgid "%s cannot be installed\n"
msgstr ""
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, fuzzy, c-format
msgid "cannot open Packages database in %s\n"
msgstr "Kan ikke åbne %s/packages.rpm\n"
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, c-format
msgid "package %s is not relocateable\n"
msgstr ""
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, c-format
msgid "error reading from file %s\n"
msgstr ""
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr ""
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, c-format
msgid "found %d source and %d binary packages\n"
msgstr ""
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
msgid "installing binary packages\n"
msgstr "installerer binære pakker\n"
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr ""
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, c-format
msgid "cannot open %s: %s\n"
msgstr "kan ikke åbne %s: %s\n"
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr "Installerer %s\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0\n"
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"PO-Revision-Date: 1998-08-03 18:02+02:00\n"
"Last-Translator: Karl Eichwalder <ke@SuSE.DE>\n"
"Language-Team: German <de@li.org>\n"
"Content-Type: text/plain; charset=ISO-8859-1\n"
"Content-Transfer-Encoding: 8-bit\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, fuzzy, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr "Fehler: kann nicht öffnen %s%s/packages.rpm\n"
msgid "old format source packages cannot be queried\n"
msgstr "altes Sourceformat-Paket kann nicht angefragt werden\n"
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr "%s scheint kein RPM-Paket zu sein\n"
msgid "record %d could not be read\n"
msgstr "Eintrag %d konnte nicht gelesen werden\n"
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr "Paket %s ist nicht installiert\n"
msgid "failed to remove directory %s: %s\n"
msgstr "Öffnen von %s fehlgeschlagen: %s"
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
#, fuzzy
msgid "counting packages to install\n"
msgstr "Es wurden keine Pakete für die Installation angegeben"
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, fuzzy, c-format
msgid "found %d packages\n"
msgstr "Anfrage an alle Pakete"
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
#, fuzzy
msgid "looking for packages to download\n"
msgstr "Fehler beim Suchen nach Paket %s\n"
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, fuzzy, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr "Fehler: überspringe %s - Übertragung fehlgeschlagen - %s\n"
# , c-format
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr "Hole %s heraus\n"
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr ""
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, fuzzy, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr "Fehler: überspringe %s - Übertragung fehlgeschlagen - %s\n"
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr ""
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, fuzzy, c-format
msgid "cannot open file %s: %s\n"
msgstr "kann Datei %s nicht öffnen: "
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, fuzzy, c-format
msgid "%s cannot be installed\n"
msgstr "Fehler: %s kann nicht installiert werden\n"
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, fuzzy, c-format
msgid "cannot open Packages database in %s\n"
msgstr "Fehler: kann nicht öffnen %s%s/packages.rpm\n"
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, fuzzy, c-format
msgid "package %s is not relocateable\n"
msgstr "Paket %s ist nicht installiert\n"
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, fuzzy, c-format
msgid "error reading from file %s\n"
msgstr "Fehler beim Anlegen des Verzeichnisses %s: %s"
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr ""
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, fuzzy, c-format
msgid "found %d source and %d binary packages\n"
msgstr "Gruppe %s beinhaltet kein einziges Paket\n"
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr "fehlgeschlagene Paket-Abhängigkeiten:\n"
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
#, fuzzy
msgid "installing binary packages\n"
msgstr "Paket installieren"
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr "\"%s\" bezeichnet mehrere Pakete\n"
# oder besser: "... verletzen" ?
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr "Das Enfernen dieser Pakete würde Paket-Abhängigkeiten missachten:\n"
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, fuzzy, c-format
msgid "cannot open %s: %s\n"
msgstr "Fehler: kann %s nicht öffnen\n"
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr "Installiere %s\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0\n"
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: ENCODING\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr ""
msgid "old format source packages cannot be queried\n"
msgstr ""
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr ""
msgid "record %d could not be read\n"
msgstr ""
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr ""
msgid "failed to remove directory %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
msgid "counting packages to install\n"
msgstr ""
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, c-format
msgid "found %d packages\n"
msgstr ""
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
msgid "looking for packages to download\n"
msgstr ""
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr ""
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr ""
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr ""
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr ""
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr ""
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, c-format
msgid "cannot open file %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, c-format
msgid "%s cannot be installed\n"
msgstr ""
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, c-format
msgid "cannot open Packages database in %s\n"
msgstr ""
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, c-format
msgid "package %s is not relocateable\n"
msgstr ""
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, c-format
msgid "error reading from file %s\n"
msgstr ""
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr ""
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, c-format
msgid "found %d source and %d binary packages\n"
msgstr ""
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
msgid "installing binary packages\n"
msgstr ""
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr ""
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, c-format
msgid "cannot open %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr ""
msgid ""
msgstr ""
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"Last-Translator: Raimo Koski <rkoski@pp.weppi.fi>\n"
"Language-Team: Finnish <linux@sot.com>\n"
"Content-Type: text/plain; charset=\n"
"Xgettext-Options: --default-domain=rpm --add-comments --keyword=_ "
"--keyword=N_\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, fuzzy, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr "virhe: en voi avata %s%s/packages.rpm\n"
msgid "old format source packages cannot be queried\n"
msgstr "vanhan formaatin lähdekoodipaketteja ei voi kysellä\n"
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr "%s ei vaikuta RPM-paketilta\n"
msgid "record %d could not be read\n"
msgstr "tietuetta %d ei voitu lukea\n"
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr "paketti %s ei ole asennettu\n"
msgid "failed to remove directory %s: %s\n"
msgstr "en voinut avata %s: %s"
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
#, fuzzy
msgid "counting packages to install\n"
msgstr "asennukselle ei määritelty paketteja"
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, fuzzy, c-format
msgid "found %d packages\n"
msgstr "kysele kaikki paketit"
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
#, fuzzy
msgid "looking for packages to download\n"
msgstr "virhe etsittäessä pakettia %s\n"
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, fuzzy, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr "virhe: ohitan %s:n, siirto epäonnistui - %s\n"
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr "Haen: %s\n"
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr ""
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, fuzzy, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr "virhe: ohitan %s:n, siirto epäonnistui - %s\n"
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr ""
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, fuzzy, c-format
msgid "cannot open file %s: %s\n"
msgstr "en voinut avata tiedostoa %s: "
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, fuzzy, c-format
msgid "%s cannot be installed\n"
msgstr "virhe: %s ei voida asentaa\n"
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, fuzzy, c-format
msgid "cannot open Packages database in %s\n"
msgstr "virhe: en voi avata %s%s/packages.rpm\n"
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, fuzzy, c-format
msgid "package %s is not relocateable\n"
msgstr "paketti %s ei ole asennettu\n"
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, fuzzy, c-format
msgid "error reading from file %s\n"
msgstr "virhe luotaessa hakemistoa %s: %s"
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr ""
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, fuzzy, c-format
msgid "found %d source and %d binary packages\n"
msgstr "ryhmässä %s ei ole paketteja\n"
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr "puuttuvat riippuvuudet:\n"
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
#, fuzzy
msgid "installing binary packages\n"
msgstr "asenna paketti"
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr "\"%s\" määrittää useita paketteja\n"
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr "näiden pakettien poisto rikkoisi riippuvuuksia:\n"
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, fuzzy, c-format
msgid "cannot open %s: %s\n"
msgstr "virhe: en voi avata %s\n"
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr "Asennan: %s\n"
msgid ""
-msgstr "POT-Creation-Date: 2000-08-27 20:56-0400\n"
+msgstr "POT-Creation-Date: 2000-08-29 15:35-0400\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr ""
msgid "old format source packages cannot be queried\n"
msgstr ""
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr ""
msgid "record %d could not be read\n"
msgstr ""
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, fuzzy, c-format
msgid "package %s is not installed\n"
msgstr "aucun package n'a été spécifié pour l'installation"
msgid "failed to remove directory %s: %s\n"
msgstr "impossible d'ouvrir: %s\n"
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
#, fuzzy
msgid "counting packages to install\n"
msgstr "aucun package n'a été spécifié pour l'installation"
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, c-format
msgid "found %d packages\n"
msgstr ""
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
msgid "looking for packages to download\n"
msgstr ""
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr ""
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr ""
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr ""
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr ""
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr ""
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, fuzzy, c-format
msgid "cannot open file %s: %s\n"
msgstr "impossible d'ouvrir: %s\n"
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, fuzzy, c-format
msgid "%s cannot be installed\n"
msgstr "aucun package n'a été spécifié pour l'installation"
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, fuzzy, c-format
msgid "cannot open Packages database in %s\n"
msgstr "impossible d'ouvrir: %s\n"
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, fuzzy, c-format
msgid "package %s is not relocateable\n"
msgstr "aucun package n'a été spécifié pour l'installation"
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, c-format
msgid "error reading from file %s\n"
msgstr ""
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr ""
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, c-format
msgid "found %d source and %d binary packages\n"
msgstr ""
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
msgid "installing binary packages\n"
msgstr ""
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr ""
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, fuzzy, c-format
msgid "cannot open %s: %s\n"
msgstr "impossible d'ouvrir: %s\n"
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr ""
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0\n"
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: ENCODING\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr ""
msgid "old format source packages cannot be queried\n"
msgstr ""
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr ""
msgid "record %d could not be read\n"
msgstr ""
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr ""
msgid "failed to remove directory %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
msgid "counting packages to install\n"
msgstr ""
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, c-format
msgid "found %d packages\n"
msgstr ""
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
msgid "looking for packages to download\n"
msgstr ""
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr ""
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr ""
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr ""
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr ""
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr ""
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, c-format
msgid "cannot open file %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, c-format
msgid "%s cannot be installed\n"
msgstr ""
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, c-format
msgid "cannot open Packages database in %s\n"
msgstr ""
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, c-format
msgid "package %s is not relocateable\n"
msgstr ""
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, c-format
msgid "error reading from file %s\n"
msgstr ""
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr ""
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, c-format
msgid "found %d source and %d binary packages\n"
msgstr ""
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
msgid "installing binary packages\n"
msgstr ""
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr ""
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, c-format
msgid "cannot open %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr ""
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0\n"
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: ENCODING\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr ""
msgid "old format source packages cannot be queried\n"
msgstr ""
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr ""
msgid "record %d could not be read\n"
msgstr ""
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr ""
msgid "failed to remove directory %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
msgid "counting packages to install\n"
msgstr ""
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, c-format
msgid "found %d packages\n"
msgstr ""
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
msgid "looking for packages to download\n"
msgstr ""
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr ""
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr ""
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr ""
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr ""
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr ""
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, c-format
msgid "cannot open file %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, c-format
msgid "%s cannot be installed\n"
msgstr ""
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, c-format
msgid "cannot open Packages database in %s\n"
msgstr ""
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, c-format
msgid "package %s is not relocateable\n"
msgstr ""
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, c-format
msgid "error reading from file %s\n"
msgstr ""
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr ""
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, c-format
msgid "found %d source and %d binary packages\n"
msgstr ""
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
msgid "installing binary packages\n"
msgstr ""
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr ""
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, c-format
msgid "cannot open %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr ""
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0\n"
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: ENCODING\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr ""
msgid "old format source packages cannot be queried\n"
msgstr ""
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr ""
msgid "record %d could not be read\n"
msgstr ""
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr ""
msgid "failed to remove directory %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
msgid "counting packages to install\n"
msgstr ""
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, c-format
msgid "found %d packages\n"
msgstr ""
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
msgid "looking for packages to download\n"
msgstr ""
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr ""
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr ""
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr ""
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr ""
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr ""
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, c-format
msgid "cannot open file %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, c-format
msgid "%s cannot be installed\n"
msgstr ""
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, c-format
msgid "cannot open Packages database in %s\n"
msgstr ""
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, c-format
msgid "package %s is not relocateable\n"
msgstr ""
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, c-format
msgid "error reading from file %s\n"
msgstr ""
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr ""
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, c-format
msgid "found %d source and %d binary packages\n"
msgstr ""
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
msgid "installing binary packages\n"
msgstr ""
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr ""
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, c-format
msgid "cannot open %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr ""
msgid ""
msgstr ""
"Project-Id-Version: rpm 1.37\n"
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"PO-Revision-Date: 2000-08-02 13:00+0000\n"
"Last-Translator: Richard Allen <ra@hp.is>\n"
"Language-Team: is <kde-isl@mmedia.is>\n"
"Content-Type: text/plain; charset=ISO-8859-1\n"
"Content-Transfer-Encoding: 8-bit\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr "get ekki opnað %s/packages.rpm\n"
msgid "old format source packages cannot be queried\n"
msgstr ""
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr ""
msgid "record %d could not be read\n"
msgstr ""
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr ""
msgid "failed to remove directory %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
msgid "counting packages to install\n"
msgstr ""
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, c-format
msgid "found %d packages\n"
msgstr ""
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
msgid "looking for packages to download\n"
msgstr ""
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr ""
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr ""
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr ""
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr ""
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr ""
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, c-format
msgid "cannot open file %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, c-format
msgid "%s cannot be installed\n"
msgstr ""
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, c-format
msgid "cannot open Packages database in %s\n"
msgstr "get ekki opnað pakka gagnagrunn í\n"
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, c-format
msgid "package %s is not relocateable\n"
msgstr ""
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, c-format
msgid "error reading from file %s\n"
msgstr ""
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr ""
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, c-format
msgid "found %d source and %d binary packages\n"
msgstr ""
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
msgid "installing binary packages\n"
msgstr ""
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr ""
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, c-format
msgid "cannot open %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr ""
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0\n"
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: ENCODING\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr ""
msgid "old format source packages cannot be queried\n"
msgstr ""
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr ""
msgid "record %d could not be read\n"
msgstr ""
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr ""
msgid "failed to remove directory %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
msgid "counting packages to install\n"
msgstr ""
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, c-format
msgid "found %d packages\n"
msgstr ""
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
msgid "looking for packages to download\n"
msgstr ""
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr ""
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr ""
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr ""
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr ""
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr ""
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, c-format
msgid "cannot open file %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, c-format
msgid "%s cannot be installed\n"
msgstr ""
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, c-format
msgid "cannot open Packages database in %s\n"
msgstr ""
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, c-format
msgid "package %s is not relocateable\n"
msgstr ""
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, c-format
msgid "error reading from file %s\n"
msgstr ""
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr ""
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, c-format
msgid "found %d source and %d binary packages\n"
msgstr ""
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
msgid "installing binary packages\n"
msgstr ""
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr ""
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, c-format
msgid "cannot open %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr ""
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0\n"
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"PO-Revision-Date: 1999-12-01 22:49 +JST\n"
"Last-Translator: Kanda Mitsuru <kanda@nn.iij4u.or.jp>\n"
"Language-Team: JRPM <jrpm@linux.or.jp>\n"
"Content-Type: text/plain; charset=EUC-JP\n"
"Content-Transfer-Encoding: EUC-JP\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, fuzzy, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr "%s/packages.rpm ¤ò¥ª¡¼¥×¥ó¤Ç¤¤Þ¤»¤ó\n"
# build root [BuildRoot]
# net share [¥Í¥Ã¥È¶¦Í]
# reloate [ºÆÇÛÃÖ/°ÜÆ°¤¹¤ë]
-# $Id: ja.po,v 1.110 2000/08/28 01:50:49 jbj Exp $
+# $Id: ja.po,v 1.111 2000/08/29 22:04:37 jbj Exp $
#: rpm.c:178 rpmqv.c:257
#, c-format
msgid "rpm: %s\n"
msgid "old format source packages cannot be queried\n"
msgstr "µì·Á¼°¤Î¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤òÌ䤤¹ç¤ï¤»¤ë¤³¤È¤Ï¤Ç¤¤Þ¤»¤ó\n"
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr "%s ¤Ï RPM ¥Ñ¥Ã¥±¡¼¥¸¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó\n"
msgid "record %d could not be read\n"
msgstr "¥ì¥³¡¼¥É %d ¤òÆɤळ¤È¤¬¤Ç¤¤Þ¤»¤ó¤Ç¤·¤¿\n"
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr "¥Ñ¥Ã¥±¡¼¥¸ %s ¤Ï¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤Þ¤»¤ó\n"
msgid "failed to remove directory %s: %s\n"
msgstr "¥Ç¥£¥ì¥¯¥È¥ê %s ¤Îºï½ü¼ºÇÔ: %s\n"
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
msgid "counting packages to install\n"
msgstr "¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤ò¿ô¤¨¤Æ¤¤¤Þ¤¹\n"
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, c-format
msgid "found %d packages\n"
msgstr "%d ¸Ä¤Î¥Ñ¥Ã¥±¡¼¥¸¤ò¸«¤Ä¤±¤Þ¤·¤¿\n"
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
msgid "looking for packages to download\n"
msgstr "¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤òõ¤·¤Æ¤¤¤Þ¤¹\n"
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, fuzzy, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr "%s ¤ò¥¹¥¥Ã¥×¤·¤Þ¤¹ - žÁ÷¼ºÇÔ - %s\n"
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr "%s ¤ò¼èÆÀ¤·¤Æ¤¤¤Þ¤¹\n"
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr "%s ¤È¤·¤Æ...\n"
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, fuzzy, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr "%s ¤ò¥¹¥¥Ã¥×¤·¤Þ¤¹ - žÁ÷¼ºÇÔ - %s\n"
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr "%d ¸Ä¤Î¥Ñ¥Ã¥±¡¼¥¸¤ò¼èÆÀ¤·¤Þ¤·¤¿\n"
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, fuzzy, c-format
msgid "cannot open file %s: %s\n"
msgstr "¥Õ¥¡¥¤¥ë %s ¤ò¥ª¡¼¥×¥ó¤Ç¤¤Þ¤»¤ó: %s"
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, fuzzy, c-format
msgid "%s cannot be installed\n"
msgstr "%s ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤¤Þ¤»¤ó\n"
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, fuzzy, c-format
msgid "cannot open Packages database in %s\n"
msgstr "%s/packages.rpm ¤ò¥ª¡¼¥×¥ó¤Ç¤¤Þ¤»¤ó\n"
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, fuzzy, c-format
msgid "package %s is not relocateable\n"
msgstr "¥Ñ¥Ã¥±¡¼¥¸ %s ¤ÏºÆÇÛÃ֤Ǥ¤Þ¤»¤ó"
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, fuzzy, c-format
msgid "error reading from file %s\n"
msgstr "¥Õ¥¡¥¤¥ë %s ¤«¤é¤ÎÆɤ߹þ¤ß¥¨¥é¡¼ "
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr "¥Õ¥¡¥¤¥ë %s ¤Ë¤Ï¤è¤ê¿·¤·¤¤ RPM ¤Î¥Ð¡¼¥¸¥ç¥ó¤¬É¬ÍפǤ¹\n"
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, c-format
msgid "found %d source and %d binary packages\n"
msgstr "%d ¸Ä¤Î¥½¡¼¥¹¤È %d ¸Ä¤Î¥Ð¥¤¥Ê¥ê¥Ñ¥Ã¥±¡¼¥¸¤¬¸«¤Ä¤«¤ê¤Þ¤·¤¿\n"
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr "°Í¸À¤Î·çÇ¡:\n"
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
msgid "installing binary packages\n"
msgstr "¥Ð¥¤¥Ê¥ê¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ëÃæ\n"
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr "\"%s\" ¤ÏÊ£¿ô¤Î¥Ñ¥Ã¥±¡¼¥¸¤ò»ØÄꤷ¤Æ¤¤¤Þ¤¹\n"
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr "¤³¤ì¤é¤Î¥Ñ¥Ã¥±¡¼¥¸¤òºï½ü¤¹¤ë¤È°Í¸À¤òÇ˲õ¤·¤Þ¤¹:\n"
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, fuzzy, c-format
msgid "cannot open %s: %s\n"
msgstr "%s ¤ò¥ª¡¼¥×¥ó¤Ç¤¤Þ¤»¤ó\n"
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr "%s ¤ò¥¤¥ó¥¹¥È¡¼¥ëÃæ\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0\n"
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: ENCODING\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr ""
msgid "old format source packages cannot be queried\n"
msgstr ""
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr ""
msgid "record %d could not be read\n"
msgstr ""
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr ""
msgid "failed to remove directory %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
msgid "counting packages to install\n"
msgstr ""
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, c-format
msgid "found %d packages\n"
msgstr ""
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
msgid "looking for packages to download\n"
msgstr ""
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr ""
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr ""
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr ""
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr ""
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr ""
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, c-format
msgid "cannot open file %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, c-format
msgid "%s cannot be installed\n"
msgstr ""
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, c-format
msgid "cannot open Packages database in %s\n"
msgstr ""
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, c-format
msgid "package %s is not relocateable\n"
msgstr ""
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, c-format
msgid "error reading from file %s\n"
msgstr ""
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr ""
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, c-format
msgid "found %d source and %d binary packages\n"
msgstr ""
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
msgid "installing binary packages\n"
msgstr ""
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr ""
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, c-format
msgid "cannot open %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr ""
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0\n"
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"PO-Revision-Date: 2000-08-04 02:59+02:00\n"
"Last-Translator: Kjartan Maraas <kmaraas@gnome.org>\n"
"Language-Team: Norwegian <no@li.org>\n"
"Content-Type: text/plain; charset=iso-8859-1\n"
"Content-Transfer-Encoding: 8-bit\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr "kan ikke åpne %s/packages.rpm\n"
msgid "old format source packages cannot be queried\n"
msgstr ""
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr ""
msgid "record %d could not be read\n"
msgstr ""
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr ""
msgid "failed to remove directory %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
msgid "counting packages to install\n"
msgstr ""
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, c-format
msgid "found %d packages\n"
msgstr ""
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
msgid "looking for packages to download\n"
msgstr ""
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr ""
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr ""
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr ""
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr ""
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr ""
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, c-format
msgid "cannot open file %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, c-format
msgid "%s cannot be installed\n"
msgstr ""
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, c-format
msgid "cannot open Packages database in %s\n"
msgstr "kan ikke åpne pakkedatabase i %s\n"
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, c-format
msgid "package %s is not relocateable\n"
msgstr "pakke %s kan ikke relokeres\n"
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, c-format
msgid "error reading from file %s\n"
msgstr "feil under lesing fra fil %s\n"
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr "fil %s trenger en nyere versjon av RPM\n"
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, c-format
msgid "found %d source and %d binary packages\n"
msgstr "fant %d kilde- og %d binærpakker\n"
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr "feilede avhengigheter:\n"
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
msgid "installing binary packages\n"
msgstr "installerer binærpakker\n"
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr "\"%s\" spesifiserer flere pakker\n"
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr "fjerning av disse pakkene vil ødelegge avhengigheter:\n"
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, c-format
msgid "cannot open %s: %s\n"
msgstr "kan ikke åpne %s: %s\n"
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr "Installerer %s\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0\n"
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"PO-Revision-Date: 1999-05-25 17:00+0100\n"
"Last-Translator: Pawe³ Dziekoñski <pdziekonski@mml.ch.pwr.wroc.pl>\n"
"Language-Team: Polish <pl@li.org>\n"
"Content-Type: text/plain; charset=ISO-8859-2\n"
"Content-Transfer-Encoding: 8-bit\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr "nie mo¿na otworzyæ %s/packages.rpm\n"
msgid "old format source packages cannot be queried\n"
msgstr "pakiety w starym formacie nie mog± byæ odpytywane\n"
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr "%s nie wygl±da na pakiet RPM\n"
msgid "record %d could not be read\n"
msgstr "nie mo¿na odczytaæ rekordu %d\n"
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr "pakiet %s nie jest zainstalowany\n"
msgid "failed to remove directory %s: %s\n"
msgstr "usuniêcie katalogu %s nie powiod³o siê: %s\n"
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
msgid "counting packages to install\n"
msgstr "zliczanie pakietów do zainstalowania\n"
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, c-format
msgid "found %d packages\n"
msgstr "znaleziono %d pakietów\n"
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
msgid "looking for packages to download\n"
msgstr "szukanie pakietów do ¶ci±gniêcia\n"
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, fuzzy, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr "%s pomijany - transmisja %s nie powiod³a siê\n"
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr "¦ci±ganie %s\n"
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr "... jako %s\n"
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr "%s pomijany - transmisja %s nie powiod³a siê\n"
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr "¶ci±gniêto %d pakietów\n"
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, fuzzy, c-format
msgid "cannot open file %s: %s\n"
msgstr "nie mo¿na otworzyæ pliku %s: %s"
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, c-format
msgid "%s cannot be installed\n"
msgstr "%s nie mo¿e byæ zainstalowany\n"
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, fuzzy, c-format
msgid "cannot open Packages database in %s\n"
msgstr "nie mo¿na otworzyæ %s/packages.rpm\n"
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, c-format
msgid "package %s is not relocateable\n"
msgstr "pakiet %s nie jest przesuwalny\n"
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, c-format
msgid "error reading from file %s\n"
msgstr "b³±d czytania z pliku %s\n"
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr "plik %s wymaga nowszej wersji RPM\n"
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, c-format
msgid "found %d source and %d binary packages\n"
msgstr "znaleziono %d pakietów ¼ród³owych i %d binarnych\n"
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr "niespe³nione zale¿no¶ci:\n"
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
msgid "installing binary packages\n"
msgstr "instalacja pakietów binarnych\n"
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr "\"%s\" okre¶la wiele pakietów\n"
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr "usuniêcie tych pakietów zerwie zale¿no¶ci:\n"
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, fuzzy, c-format
msgid "cannot open %s: %s\n"
msgstr "nie mo¿na otworzyæ %s\n"
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr "Instalacja %s\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0\n"
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"PO-Revision-Date: 2000-08-01 21:11+01:00\n"
"Last-Translator: Pedro Morais <morais@poli.org>\n"
"Language-Team: pt <morais@poli.org>\n"
"Content-Type: text/plain; charset=iso-latin1\n"
"Content-Transfer-Encoding: none\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr ""
msgid "old format source packages cannot be queried\n"
msgstr ""
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr ""
msgid "record %d could not be read\n"
msgstr ""
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr ""
msgid "failed to remove directory %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
msgid "counting packages to install\n"
msgstr ""
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, c-format
msgid "found %d packages\n"
msgstr ""
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
msgid "looking for packages to download\n"
msgstr ""
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr ""
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr ""
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr ""
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr ""
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr ""
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, c-format
msgid "cannot open file %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, c-format
msgid "%s cannot be installed\n"
msgstr ""
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, c-format
msgid "cannot open Packages database in %s\n"
msgstr ""
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, c-format
msgid "package %s is not relocateable\n"
msgstr ""
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, c-format
msgid "error reading from file %s\n"
msgstr ""
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr ""
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, c-format
msgid "found %d source and %d binary packages\n"
msgstr ""
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
msgid "installing binary packages\n"
msgstr ""
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr ""
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, c-format
msgid "cannot open %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr ""
# Revised by Arnaldo Carvalho de Melo <acme@conectiva.com.br>, 1998.
#
msgid ""
-msgstr "POT-Creation-Date: 2000-08-27 20:56-0400\n"
+msgstr "POT-Creation-Date: 2000-08-29 15:35-0400\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr ""
msgid "old format source packages cannot be queried\n"
msgstr ""
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr ""
msgid "record %d could not be read\n"
msgstr ""
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, fuzzy, c-format
msgid "package %s is not installed\n"
msgstr "não foi passado pacote para instalação"
msgid "failed to remove directory %s: %s\n"
msgstr "Não consegui abrir: %s\n"
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
#, fuzzy
msgid "counting packages to install\n"
msgstr "não foi passado pacote para instalação"
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, fuzzy, c-format
msgid "found %d packages\n"
msgstr "pesquise todos os pacotes"
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
msgid "looking for packages to download\n"
msgstr ""
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr ""
# "Content-Type: text/plain; charset=ISO-8859-1\n"
# "Content-Transfer-Encoding: 8-bit\n"
# , c-format
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, fuzzy, c-format
msgid "Retrieving %s\n"
msgstr "RPM versão %s\n"
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr ""
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr ""
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr ""
# , c-format
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, fuzzy, c-format
msgid "cannot open file %s: %s\n"
msgstr "Não consegui abrir: %s\n"
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, fuzzy, c-format
msgid "%s cannot be installed\n"
msgstr "não foi passado pacote para instalação"
# , c-format
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, fuzzy, c-format
msgid "cannot open Packages database in %s\n"
msgstr "Não consegui abrir: %s\n"
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, fuzzy, c-format
msgid "package %s is not relocateable\n"
msgstr "não foi passado pacote para instalação"
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, c-format
msgid "error reading from file %s\n"
msgstr ""
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr ""
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, c-format
msgid "found %d source and %d binary packages\n"
msgstr ""
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
#, fuzzy
msgid "failed dependencies:\n"
msgstr "lista dependências do pacote"
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
#, fuzzy
msgid "installing binary packages\n"
msgstr "instale pacote"
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr ""
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
#, fuzzy
msgid "removing these packages would break dependencies:\n"
msgstr "lista dependências do pacote"
# , c-format
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, fuzzy, c-format
msgid "cannot open %s: %s\n"
msgstr "Não consegui abrir: %s\n"
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr ""
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0\n"
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"PO-Revision-Date: 1999-04-10 12:00+EST\n"
"Last-Translator: Cristian Gafton <gafton@redhat.com>\n"
"Language-Team: Romanian <ro@li.org>\n"
"Content-Type: text/plain; charset=ISO-8859-2\n"
"Content-Transfer-Encoding: 8-bit\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr ""
msgid "old format source packages cannot be queried\n"
msgstr ""
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr ""
msgid "record %d could not be read\n"
msgstr ""
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr ""
msgid "failed to remove directory %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
msgid "counting packages to install\n"
msgstr ""
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, c-format
msgid "found %d packages\n"
msgstr ""
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
msgid "looking for packages to download\n"
msgstr ""
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr ""
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr ""
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr ""
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr ""
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr ""
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, c-format
msgid "cannot open file %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, c-format
msgid "%s cannot be installed\n"
msgstr ""
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, c-format
msgid "cannot open Packages database in %s\n"
msgstr ""
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, c-format
msgid "package %s is not relocateable\n"
msgstr ""
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, c-format
msgid "error reading from file %s\n"
msgstr ""
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr ""
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, c-format
msgid "found %d source and %d binary packages\n"
msgstr ""
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
msgid "installing binary packages\n"
msgstr ""
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr ""
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, c-format
msgid "cannot open %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr ""
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 16:42-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: ENCODING\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr ""
msgid "renaming %s to %s\n"
msgstr ""
-#: lib/install.c:803 lib/install.c:1070 lib/uninstall.c:40
+#: lib/install.c:803 lib/install.c:1071 lib/uninstall.c:40
#, c-format
msgid "rename of %s to %s failed: %s"
msgstr ""
-#: lib/install.c:892
+#: lib/install.c:893
msgid "source package expected, binary found"
msgstr ""
-#: lib/install.c:939
+#: lib/install.c:940
#, c-format
msgid "package: %s-%s-%s files test = %d\n"
msgstr ""
-#: lib/install.c:999
+#: lib/install.c:1000
msgid "stopping install as we're running --test\n"
msgstr ""
-#: lib/install.c:1004
+#: lib/install.c:1005
msgid "running preinstall script (if any)\n"
msgstr ""
-#: lib/install.c:1029
+#: lib/install.c:1030
#, c-format
msgid "warning: %s created as %s"
msgstr ""
-#: lib/install.c:1066
+#: lib/install.c:1067
#, c-format
msgid "warning: %s saved as %s"
msgstr ""
-#: lib/install.c:1154
+#: lib/install.c:1155
msgid "running postinstall scripts (if any)\n"
msgstr ""
msgstr ""
#. XXX Fstrerror
-#: lib/query.c:497
+#: lib/query.c:496
#, c-format
msgid "open of %s failed: %s\n"
msgstr ""
-#: lib/query.c:515
+#: lib/query.c:514
msgid "old format source packages cannot be queried\n"
msgstr ""
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:523 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr ""
-#: lib/query.c:528
+#: lib/query.c:527
#, c-format
msgid "query of %s failed\n"
msgstr ""
-#: lib/query.c:561
+#: lib/query.c:560
#, c-format
msgid "query of specfile %s failed, can't parse\n"
msgstr ""
-#: lib/query.c:584
+#: lib/query.c:583
msgid "no packages\n"
msgstr ""
-#: lib/query.c:594
+#: lib/query.c:593
#, c-format
msgid "group %s does not contain any packages\n"
msgstr ""
-#: lib/query.c:604
+#: lib/query.c:603
#, c-format
msgid "no package triggers %s\n"
msgstr ""
-#: lib/query.c:614
+#: lib/query.c:613
#, c-format
msgid "no package requires %s\n"
msgstr ""
-#: lib/query.c:625
+#: lib/query.c:624
#, c-format
msgid "no package provides %s\n"
msgstr ""
-#: lib/query.c:655
+#: lib/query.c:654
#, c-format
msgid "file %s: %s\n"
msgstr ""
-#: lib/query.c:658
+#: lib/query.c:657
#, c-format
msgid "file %s is not owned by any package\n"
msgstr ""
-#: lib/query.c:684
+#: lib/query.c:683
#, c-format
msgid "invalid package number: %s\n"
msgstr ""
-#: lib/query.c:687
+#: lib/query.c:686
#, c-format
msgid "package record number: %u\n"
msgstr ""
-#: lib/query.c:691
+#: lib/query.c:690
#, c-format
msgid "record %d could not be read\n"
msgstr ""
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:701 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr ""
msgid "failed to remove directory %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
msgid "counting packages to install\n"
msgstr ""
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, c-format
msgid "found %d packages\n"
msgstr ""
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
msgid "looking for packages to download\n"
msgstr ""
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr ""
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr ""
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr ""
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr ""
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr ""
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, c-format
msgid "cannot open file %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, c-format
msgid "%s cannot be installed\n"
msgstr ""
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, c-format
msgid "cannot open Packages database in %s\n"
msgstr ""
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, c-format
msgid "package %s is not relocateable\n"
msgstr ""
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, c-format
msgid "error reading from file %s\n"
msgstr ""
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr ""
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, c-format
msgid "found %d source and %d binary packages\n"
msgstr ""
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
msgid "installing binary packages\n"
msgstr ""
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr ""
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, c-format
msgid "cannot open %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr ""
msgid ""
msgstr ""
"Project-Id-Version: 1.1\n"
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"PO-Revision-Date: 2000-08-08 01:20+0300\n"
"Last-Translator: Leon Kanter <leon@blackcatlinux.com>\n"
"Language-Team: Black Cat Linux Team <blackcat-support@blackcatlinux.com>\n"
"Content-Transfer-Encoding: 8bit\n"
"Date: 1999-04-03 12:20+0200\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr "ÏÛÉÂËÁ ÏÔËÒÙÔÉÑ %s/packages.rpm\n"
msgid "old format source packages cannot be queried\n"
msgstr "ÚÁÐÒÏÓÙ Ë SRPM × ÓÔÁÒÏÍ ÆÏÒÍÁÔÅ ÎÅ ÐÏÄÄÅÒÖÉ×ÁÀÔÓÑ\n"
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr "%s ÎÅ ÐÏÈÏÖ ÎÁ ÐÁËÅÔ RPM...\n"
msgid "record %d could not be read\n"
msgstr "ÚÁÐÉÓØ %d ÎÅ ÞÉÔÁÅÔÓÑ\n"
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr "ÐÁËÅÔ %s ÎÅ ÕÓÔÁÎÏ×ÌÅÎ\n"
msgid "failed to remove directory %s: %s\n"
msgstr "ÕÄÁÌÅÎÉÅ ËÁÔÁÌÏÇÁ %s ÎÅ ÕÄÁÌÏÓØ: %s\n"
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
msgid "counting packages to install\n"
msgstr "ÓÞÉÔÁÀ ÐÁËÅÔÙ ÄÌÑ ÕÓÔÁÎÏ×ËÉ\n"
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, c-format
msgid "found %d packages\n"
msgstr "ÎÁÊÄÅÎÏ %d ÐÁËÅÔÏ×\n"
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
msgid "looking for packages to download\n"
msgstr "ÉÝÕ ÐÁËÅÔÙ ÄÌÑ ÐÏÌÕÞÅÎÉÑ Ó ftp/http\n"
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr "ÐÒÏÐÕÓËÁÀ %s - ÏÛÉÂËÁ ÐÅÒÅÄÁÞÉ - %s\n"
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr "ðÏÌÕÞÁÀ %s\n"
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr " ... ËÁË %s\n"
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr "ÐÒÏÐÕÓËÁÀ %s - ÏÛÉÂËÁ ÐÅÒÅÄÁÞÉ - %s\n"
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr "ÐÏÌÕÞÅÎÏ %d ÐÁËÅÔÏ×\n"
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, c-format
msgid "cannot open file %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, c-format
msgid "%s cannot be installed\n"
msgstr "%s ÎÅ ÍÏÖÅÔ ÂÙÔØ ÕÓÔÁÎÏ×ÌÅÎ\n"
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, c-format
msgid "cannot open Packages database in %s\n"
msgstr "ÎÅ ÍÏÇÕ ÏÔËÒÙÔØ %s/packages.rpm\n"
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, c-format
msgid "package %s is not relocateable\n"
msgstr "ÐÁËÅÔ %s - ÎÅ ÐÅÒÅÍÅÝÁÅÍÙÊ\n"
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, c-format
msgid "error reading from file %s\n"
msgstr "ÏÛÉÂËÁ ÞÔÅÎÉÑ ÉÚ ÆÁÊÌÁ %s\n"
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr "ÆÁÊÌ %s ÔÒÅÂÕÅÔ ÂÏÌÅÅ ÎÏ×ÏÊ ×ÅÒÓÉÉ RPM\n"
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, c-format
msgid "found %d source and %d binary packages\n"
msgstr "ÎÁÊÄÅÎÏ %d ÉÓÈÏÄÎÙÈ É %d ÂÉÎÁÒÎÙÈ ÐÁËÅÔÏ×\n"
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr "ÎÅÕÄÏ×ÌÅÔ×ÏÒÅÎÎÙÅ ÚÁ×ÉÓÉÍÏÓÔÉ:\n"
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
msgid "installing binary packages\n"
msgstr "ÕÓÔÁÎÁ×ÌÉ×ÁÀ ÂÉÎÁÒÎÙÅ ÐÁËÅÔÙ\n"
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr "\"%s\" ÚÁÄÁÅÔ ÎÅÓËÏÌØËÏ ÐÁËÅÔÏ×\n"
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr "ÕÄÁÌÅÎÉÅ ÜÔÉÈ ÐÁËÅÔÏ× ÎÁÒÕÛÉÔ ÚÁ×ÉÓÉÍÏÓÔÉ:\n"
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, c-format
msgid "cannot open %s: %s\n"
msgstr "ÎÅ ÍÏÇÕ ÏÔËÒÙÔØ %s\n"
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr "õÓÔÁÎÁ×ÌÉ×ÁÀ %s\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0\n"
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"PO-Revision-Date: 1999-04-08 21:37+02:00\n"
"Last-Translator: Stanislav Meduna <stano@eunet.sk>\n"
"Language-Team: Slovak <sk-i18n@rak.isternet.sk>\n"
"Content-Type: text/plain; charset=ISO-8859-2\n"
"Content-Transfer-Encoding: 8-bit\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr "nie je mo¾né otvori» %s/packages.rpm\n"
msgid "old format source packages cannot be queried\n"
msgstr "nie je mo¾né pýta» sa zdrojových balíkov v starom formáte\n"
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr "%s zrejme nie je RPM balík\n"
msgid "record %d could not be read\n"
msgstr "záznam %d nie je mo¾né preèíta»\n"
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr "balík %s nie je nain¹talovaný\n"
msgid "failed to remove directory %s: %s\n"
msgstr "nepodarilo sa odstráni» adresár %s: %s\n"
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
msgid "counting packages to install\n"
msgstr "poèítajú sa balíky pre in¹taláciu\n"
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, c-format
msgid "found %d packages\n"
msgstr "nájdených %d balíkov\n"
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
msgid "looking for packages to download\n"
msgstr "hµadajú sa balíky, ktoré treba prenies»\n"
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, fuzzy, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr "%s vynechané - prenos zlyhal - %s\n"
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr "Prená¹a sa %s\n"
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr "... ako %s\n"
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr "%s vynechané - prenos zlyhal - %s\n"
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr "prenieslo sa %d balíkov\n"
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, fuzzy, c-format
msgid "cannot open file %s: %s\n"
msgstr "nie je mo¾né otvori» súbor %s: %s"
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, c-format
msgid "%s cannot be installed\n"
msgstr "%s nie je mo¾né nain¹talova»\n"
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, fuzzy, c-format
msgid "cannot open Packages database in %s\n"
msgstr "nie je mo¾né otvori» %s/packages.rpm\n"
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, fuzzy, c-format
msgid "package %s is not relocateable\n"
msgstr "balík %s nie je nain¹talovaný\n"
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, fuzzy, c-format
msgid "error reading from file %s\n"
msgstr "chyba pri vytváraní doèasného súboru %s"
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr ""
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, c-format
msgid "found %d source and %d binary packages\n"
msgstr "nájdených %d zdrojových a %d binárnych balíkov\n"
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr "nevyrie¹ené závislosti:\n"
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
msgid "installing binary packages\n"
msgstr "in¹talujú sa binárne balíky\n"
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr "\"%s\" ¹pecifikuje viac balíkov\n"
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr "odstránenie týchto balíkov by poru¹ilo závislosti:\n"
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, fuzzy, c-format
msgid "cannot open %s: %s\n"
msgstr "nie je mo¾né otvori» %s\n"
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr "In¹taluje sa %s\n"
# -*- mode:po; coding:iso-latin-2; -*- Slovenian messages for Redhat pkg. mngr.
# Copyright (C) 2000 Free Software Foundation, Inc.
# Primo¾ Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2000.
-# $Id: sl.po,v 1.95 2000/08/28 01:50:50 jbj Exp $
+# $Id: sl.po,v 1.96 2000/08/29 22:04:38 jbj Exp $
#
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0\n"
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"PO-Revision-Date: 2000-02-17 22:25+01:00\n"
"Last-Translator: Primo¾ Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>\n"
"Language-Team: Slovenian <sl@li.org>\n"
"Content-Type: text/plain; charset=ISO-8859-2\n"
"Content-Transfer-Encoding: 8-bit\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr "datoteke %s/packages.rpm ni mo¾no odpreti\n"
msgid "old format source packages cannot be queried\n"
msgstr "poizvedba po izvornih paketih v stari obliki ni mo¾na\n"
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr "%s najverjetneje ni paket RPM\n"
msgid "record %d could not be read\n"
msgstr "zapisa %d ni mo¾no prebrati\n"
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr "paket %s ni name¹èen\n"
msgid "failed to remove directory %s: %s\n"
msgstr "neuspe¹na odstranitev imenika %s: %s\n"
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
msgid "counting packages to install\n"
msgstr "¹tetje paketov za namestitev\n"
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, c-format
msgid "found %d packages\n"
msgstr "najdeno %d paketov\n"
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
msgid "looking for packages to download\n"
msgstr "iskanje paketov za prenos po omre¾ju\n"
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr "preskakujemo %s - rpmGlob neuspe¹en(%d)\n"
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr "Prena¹amo %s\n"
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr " ... kot %s\n"
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr "preskakujemo %s - prenos neuspe¹en - %s\n"
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr "prenesli smo %d paketov\n"
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, c-format
msgid "cannot open file %s: %s\n"
msgstr "ni mo¾no odpreti datoteke %s: %s\n"
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, c-format
msgid "%s cannot be installed\n"
msgstr "%s ni mo¾no namestiti\n"
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, fuzzy, c-format
msgid "cannot open Packages database in %s\n"
msgstr "paketa ni mo¾no odpreti: %s\n"
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, c-format
msgid "package %s is not relocateable\n"
msgstr "paketa %s ni mo¾no prestaviti\n"
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, c-format
msgid "error reading from file %s\n"
msgstr "napaka pri branju iz datoteke %s\n"
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr "datoteka %s zahteva novej¹o razlièico RPM\n"
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, c-format
msgid "found %d source and %d binary packages\n"
msgstr "najdeno %d izvornih in %d binarnih paketov\n"
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr "neuspe¹ne soodvisnosti:\n"
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
msgid "installing binary packages\n"
msgstr "name¹èamo binarne pakete\n"
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr "\"%s\" doloèa veèterne pakete\n"
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr "odstranitev teh paketov bi podrla soodvisnosti:\n"
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, c-format
msgid "cannot open %s: %s\n"
msgstr "ni mo¾no odpreti %s: %s\n"
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr "Name¹èamo %s\n"
msgid ""
msgstr ""
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"Content-Type: text/plain; charset=\n"
"Date: 1998-05-02 21:41:47-0400\n"
"From: Erik Troan <ewt@lacrosse.redhat.com>\n"
"Xgettext-Options: --default-domain=rpm --add-comments --keyword=_ "
"--keyword=N_\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, fuzzy, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr "gre¹ka: ne mogu da otvorim %s%s/packages.rpm\n"
msgid "old format source packages cannot be queried\n"
msgstr "Upit se ne mo¾e izvesti nad izvorni paketima u starom formatu\n"
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr "%s ne lièi na RPM paket\n"
msgid "record %d could not be read\n"
msgstr "ne mogu da proèitam slog %d\n"
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr "paket %s nije instaliran\n"
msgid "failed to remove directory %s: %s\n"
msgstr "neuspelo otvaranje %s: %s"
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
#, fuzzy
msgid "counting packages to install\n"
msgstr "nedostaje paket za instalaciju"
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, fuzzy, c-format
msgid "found %d packages\n"
msgstr "upit nad svim paketima"
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
#, fuzzy
msgid "looking for packages to download\n"
msgstr "gre¹ka kod potrage za paketom %s\n"
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, fuzzy, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr "gre¹ka: preskaèem %s - neuspelo preno¹enje - %s\n"
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr "Pribavljam %s\n"
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr ""
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, fuzzy, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr "gre¹ka: preskaèem %s - neuspelo preno¹enje - %s\n"
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr ""
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, fuzzy, c-format
msgid "cannot open file %s: %s\n"
msgstr "Ne mogu da otvorim datoteku %s: "
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, fuzzy, c-format
msgid "%s cannot be installed\n"
msgstr "gre¹ka: %s se ne mo¾e instalirati\n"
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, fuzzy, c-format
msgid "cannot open Packages database in %s\n"
msgstr "gre¹ka: ne mogu da otvorim %s%s/packages.rpm\n"
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, fuzzy, c-format
msgid "package %s is not relocateable\n"
msgstr "paket %s nije instaliran\n"
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, fuzzy, c-format
msgid "error reading from file %s\n"
msgstr "gre¹ka kod kreiranja direktorijuma %s: %s"
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr ""
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, fuzzy, c-format
msgid "found %d source and %d binary packages\n"
msgstr "grupa %s ne sadr¾i nijedan paket\n"
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr "lo¹e meðuzavisnosti:\n"
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
#, fuzzy
msgid "installing binary packages\n"
msgstr "instaliraj paket"
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr "\"%s\" odreðuje vi¹e paketa\n"
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr "uklanjanje oviha paketa æe naru¹iti zavisnosti:\n"
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, fuzzy, c-format
msgid "cannot open %s: %s\n"
msgstr "gre¹ka: ne mogu da otvorim %s\n"
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr "Instaliram %s\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0\n"
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"PO-Revision-Date: 2000-08-07 16:53+0200\n"
"Last-Translator: Göran Uddeborg <göran@uddeborg.pp.se>\n"
"Language-Team: Swedish <sv@li.org>\n"
"Content-Type: text/plain; charset=ISO-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr "kan inte öppna %s/packages.rpm\n"
msgid "old format source packages cannot be queried\n"
msgstr "källpaket i gammalt format går ej att fråga om\n"
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr "%s verkar inte vara ett RPM-paket\n"
msgid "record %d could not be read\n"
msgstr "post %d kunde inte läsas\n"
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr "paket %s är inte installerat\n"
msgid "failed to remove directory %s: %s\n"
msgstr "kunde inte ta bort katalogen %s: %s\n"
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
msgid "counting packages to install\n"
msgstr "räknar paket att installera\n"
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, c-format
msgid "found %d packages\n"
msgstr "hittade %d paket\n"
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
msgid "looking for packages to download\n"
msgstr "letar efter paket att hämta\n"
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr "hoppar över %s - rpmGlob misslyckades(%d)\n"
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr "Hämtar %s\n"
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr " ... som %s\n"
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr "hoppar över %s - överföring misslyckades - %s\n"
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr "hämtade %d paket\n"
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, c-format
msgid "cannot open file %s: %s\n"
msgstr "kan inte öppna filen %s: %s\n"
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, c-format
msgid "%s cannot be installed\n"
msgstr "%s kan inte installeras\n"
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, c-format
msgid "cannot open Packages database in %s\n"
msgstr "kan inte öppna paketdatabas i %s\n"
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, c-format
msgid "package %s is not relocateable\n"
msgstr "paket %s är inte relokerbart\n"
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, c-format
msgid "error reading from file %s\n"
msgstr "fel vid läsning från fil %s\n"
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr "filen %s behöver en nyare version av RPM\n"
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, c-format
msgid "found %d source and %d binary packages\n"
msgstr "hittade %d käll- och %d binärpaket\n"
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr "ouppfyllda beroenden:\n"
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
msgid "installing binary packages\n"
msgstr "installerar binärpaket\n"
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr "\"%s\" anger flera paket\n"
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr "att ta bort dessa paket skulle göra sönder beroenden:\n"
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, c-format
msgid "cannot open %s: %s\n"
msgstr "kan inte öppna %s: %s\n"
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr "Installerar %s\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0\n"
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: ENCODING\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, fuzzy, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr "hata: %s%s/packages.rpm açýlamýyor\n"
msgid "old format source packages cannot be queried\n"
msgstr "eski tip kaynak paketleri sorgulanamýyor\n"
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr "%s bir RPM paketi deðil (gibi)\n"
msgid "record %d could not be read\n"
msgstr "%d numaralý kayýt okunamadý\n"
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr "%s pakedi yüklenmemiþ\n"
msgid "failed to remove directory %s: %s\n"
msgstr "%s açýlamadý: %s"
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
#, fuzzy
msgid "counting packages to install\n"
msgstr "yüklenecek paketler belirtilmedi"
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, fuzzy, c-format
msgid "found %d packages\n"
msgstr "Tüm paketleri sorgulama"
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
#, fuzzy
msgid "looking for packages to download\n"
msgstr "%s pakedi aranýrken hata oluþtu\n"
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, fuzzy, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr "hata: %s atlanýyor - aktarým baþarýsýz - %s\n"
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr "%s alýnýyor\n"
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr ""
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, fuzzy, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr "hata: %s atlanýyor - aktarým baþarýsýz - %s\n"
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr ""
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, fuzzy, c-format
msgid "cannot open file %s: %s\n"
msgstr "%s dosyasý açýlamýyor: "
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, fuzzy, c-format
msgid "%s cannot be installed\n"
msgstr "hata: %s yüklenemedi\n"
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, fuzzy, c-format
msgid "cannot open Packages database in %s\n"
msgstr "hata: %s%s/packages.rpm açýlamýyor\n"
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, fuzzy, c-format
msgid "package %s is not relocateable\n"
msgstr "%s pakedi yüklenmemiþ\n"
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, fuzzy, c-format
msgid "error reading from file %s\n"
msgstr "%s dizinin oluþturulmasýnda hata: %s"
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr ""
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, fuzzy, c-format
msgid "found %d source and %d binary packages\n"
msgstr "%s grubu hiç paket içermiyor\n"
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr "baðýmlýlýk hatasý, aþaðýdaki paketlere ihtiyacýnýz var:\n"
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
#, fuzzy
msgid "installing binary packages\n"
msgstr "paket yüklemek"
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr "\"%s\" birden fazla paketi tanýmlýyor\n"
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr "bu paketin silinmesi aþaðýdaki baðýmlýlýklarý etkileyecektir:\n"
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, fuzzy, c-format
msgid "cannot open %s: %s\n"
msgstr "hata: %s eriþilemiyor\n"
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr "%s yükleniyor\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0\n"
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: ENCODING\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr ""
msgid "old format source packages cannot be queried\n"
msgstr ""
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr ""
msgid "record %d could not be read\n"
msgstr ""
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr ""
msgid "failed to remove directory %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
msgid "counting packages to install\n"
msgstr ""
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, c-format
msgid "found %d packages\n"
msgstr ""
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
msgid "looking for packages to download\n"
msgstr ""
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr ""
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr ""
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr ""
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr ""
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr ""
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, c-format
msgid "cannot open file %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, c-format
msgid "%s cannot be installed\n"
msgstr ""
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, c-format
msgid "cannot open Packages database in %s\n"
msgstr ""
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, c-format
msgid "package %s is not relocateable\n"
msgstr ""
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, c-format
msgid "error reading from file %s\n"
msgstr ""
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr ""
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, c-format
msgid "found %d source and %d binary packages\n"
msgstr ""
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
msgid "installing binary packages\n"
msgstr ""
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr ""
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, c-format
msgid "cannot open %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr ""
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0\n"
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: ENCODING\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr ""
msgid "old format source packages cannot be queried\n"
msgstr ""
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr ""
msgid "record %d could not be read\n"
msgstr ""
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr ""
msgid "failed to remove directory %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
msgid "counting packages to install\n"
msgstr ""
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, c-format
msgid "found %d packages\n"
msgstr ""
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
msgid "looking for packages to download\n"
msgstr ""
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr ""
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr ""
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr ""
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr ""
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr ""
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, c-format
msgid "cannot open file %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, c-format
msgid "%s cannot be installed\n"
msgstr ""
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, c-format
msgid "cannot open Packages database in %s\n"
msgstr ""
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, c-format
msgid "package %s is not relocateable\n"
msgstr ""
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, c-format
msgid "error reading from file %s\n"
msgstr ""
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr ""
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, c-format
msgid "found %d source and %d binary packages\n"
msgstr ""
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
msgid "installing binary packages\n"
msgstr ""
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr ""
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, c-format
msgid "cannot open %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr ""
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0\n"
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: ENCODING\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr ""
msgid "old format source packages cannot be queried\n"
msgstr ""
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr ""
msgid "record %d could not be read\n"
msgstr ""
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr ""
msgid "failed to remove directory %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
msgid "counting packages to install\n"
msgstr ""
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, c-format
msgid "found %d packages\n"
msgstr ""
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
msgid "looking for packages to download\n"
msgstr ""
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr ""
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr ""
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr ""
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr ""
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr ""
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, c-format
msgid "cannot open file %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, c-format
msgid "%s cannot be installed\n"
msgstr ""
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, c-format
msgid "cannot open Packages database in %s\n"
msgstr ""
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, c-format
msgid "package %s is not relocateable\n"
msgstr ""
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, c-format
msgid "error reading from file %s\n"
msgstr ""
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr ""
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, c-format
msgid "found %d source and %d binary packages\n"
msgstr ""
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
msgid "installing binary packages\n"
msgstr ""
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr ""
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, c-format
msgid "cannot open %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr ""
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0\n"
-"POT-Creation-Date: 2000-08-27 20:56-0400\n"
+"POT-Creation-Date: 2000-08-29 15:35-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: ENCODING\n"
-#: build.c:25 lib/rpminstall.c:455
+#: build.c:25 lib/rpminstall.c:458
#, c-format
msgid "cannot open %s/packages.rpm\n"
msgstr ""
msgid "old format source packages cannot be queried\n"
msgstr ""
-#: lib/query.c:524 lib/rpminstall.c:238
+#: lib/query.c:524 lib/rpminstall.c:240
#, c-format
msgid "%s does not appear to be a RPM package\n"
msgstr ""
msgid "record %d could not be read\n"
msgstr ""
-#: lib/query.c:702 lib/rpminstall.c:468
+#: lib/query.c:702 lib/rpminstall.c:471
#, c-format
msgid "package %s is not installed\n"
msgstr ""
msgid "failed to remove directory %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:133
+#: lib/rpminstall.c:134
msgid "counting packages to install\n"
msgstr ""
-#: lib/rpminstall.c:137
+#: lib/rpminstall.c:138
#, c-format
msgid "found %d packages\n"
msgstr ""
-#: lib/rpminstall.c:142
+#: lib/rpminstall.c:143
msgid "looking for packages to download\n"
msgstr ""
-#: lib/rpminstall.c:157
+#: lib/rpminstall.c:158
#, c-format
msgid "skipping %s - rpmGlob failed(%d)\n"
msgstr ""
-#: lib/rpminstall.c:172
+#: lib/rpminstall.c:173
#, c-format
msgid "Retrieving %s\n"
msgstr ""
#. XXX undefined %{name}/%{version}/%{release} here
#. XXX %{_tmpdir} does not exist
-#: lib/rpminstall.c:182
+#: lib/rpminstall.c:183
#, c-format
msgid " ... as %s\n"
msgstr ""
-#: lib/rpminstall.c:186
+#: lib/rpminstall.c:187
#, c-format
msgid "skipping %s - transfer failed - %s\n"
msgstr ""
-#: lib/rpminstall.c:213
+#: lib/rpminstall.c:214
#, c-format
msgid "retrieved %d packages\n"
msgstr ""
-#: lib/rpminstall.c:224 lib/rpminstall.c:393
+#: lib/rpminstall.c:226 lib/rpminstall.c:395
#, c-format
msgid "cannot open file %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:242 lib/rpminstall.c:533
+#: lib/rpminstall.c:244 lib/rpminstall.c:536
#, c-format
msgid "%s cannot be installed\n"
msgstr ""
-#: lib/rpminstall.c:257
+#: lib/rpminstall.c:259
#, c-format
msgid "cannot open Packages database in %s\n"
msgstr ""
-#: lib/rpminstall.c:277
+#: lib/rpminstall.c:279
#, c-format
msgid "package %s is not relocateable\n"
msgstr ""
-#: lib/rpminstall.c:322
+#: lib/rpminstall.c:324
#, c-format
msgid "error reading from file %s\n"
msgstr ""
-#: lib/rpminstall.c:327
+#: lib/rpminstall.c:329
#, c-format
msgid "file %s requires a newer version of RPM\n"
msgstr ""
-#: lib/rpminstall.c:344
+#: lib/rpminstall.c:346
#, c-format
msgid "found %d source and %d binary packages\n"
msgstr ""
-#: lib/rpminstall.c:355
+#: lib/rpminstall.c:357
msgid "failed dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:373
+#: lib/rpminstall.c:375
msgid "installing binary packages\n"
msgstr ""
-#: lib/rpminstall.c:471
+#: lib/rpminstall.c:474
#, c-format
msgid "\"%s\" specifies multiple packages\n"
msgstr ""
-#: lib/rpminstall.c:494
+#: lib/rpminstall.c:497
msgid "removing these packages would break dependencies:\n"
msgstr ""
-#: lib/rpminstall.c:522
+#: lib/rpminstall.c:525
#, c-format
msgid "cannot open %s: %s\n"
msgstr ""
-#: lib/rpminstall.c:528
+#: lib/rpminstall.c:531
#, c-format
msgid "Installing %s\n"
msgstr ""
LIBMISC = @LIBMISC@
LIBOBJS = @LIBOBJS@
LIBRPMALIAS_FILENAME = @LIBRPMALIAS_FILENAME@
-LIBRPMRC_FILENAME = @LIBRPMRC_FILENAME@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
list = PyList_New(0);
for (i = 0; i < probs->numProblems; i++) {
- prob = Py_BuildValue("s(isi)", rpmProblemString(probs->probs[i]),
- probs->probs[i].type,
- probs->probs[i].str1,
- probs->probs[i].ulong1);
+ rpmProblem myprob = probs->probs + i;
+ prob = Py_BuildValue("s(isi)", rpmProblemString(myprob),
+ myprob->type,
+ myprob->str1,
+ myprob->ulong1);
PyList_Append(list, prob);
Py_DECREF(prob);
}
int installFlags = 0, uninstallFlags = 0, interfaceFlags = 0;
int verifyFlags;
int checksigFlags = 0;
- enum rpmKtype addSign = RPMK_NEW_SIGNATURE;
+ rpmResignFlags addSign = RESIGN_NEW_SIGNATURE;
char * passPhrase = "";
const char * optArg;
pid_t pipeChild = 0;
if (bigMode != MODE_UNKNOWN && bigMode != MODE_RESIGN)
argerror(_("only one major mode may be specified"));
bigMode = MODE_RESIGN;
- addSign = RPMK_NEW_SIGNATURE;
+ addSign = RESIGN_NEW_SIGNATURE;
signIt = 1;
break;
if (bigMode != MODE_UNKNOWN && bigMode != MODE_RESIGN)
argerror(_("only one major mode may be specified"));
bigMode = MODE_RESIGN;
- addSign = RPMK_ADD_SIGNATURE;
+ addSign = RESIGN_ADD_SIGNATURE;
signIt = 1;
break;
%{__prefix}%{__share}/man/man[18]/*.[18]*
%lang(pl) %{__prefix}%{__share}/man/pl/man[18]/*.[18]*
%lang(ru) %{__prefix}%{__share}/man/ru/man[18]/*.[18]*
+%lang(sk) %{__prefix}%{__share}/man/sk/man[18]/*.[18]*
%files build
%defattr(-,root,root)
#define USE_COOKIE_SEEK_POINTER 1
#endif
+
+/** \ingroup rpmio
+ */
typedef /*@abstract@*/ /*@refcounted@*/ struct _FD_s * FD_t;
+
+/** \ingroup rpmio
+ */
typedef /*@observer@*/ struct FDIO_s * FDIO_t;
#ifdef __cplusplus
extern "C" {
#endif
+/** \ingroup rpmio
+ * \name RPMIO Vectors.
+ */
+/*@{*/
typedef ssize_t fdio_read_function_t (void *cookie, char *buf, size_t nbytes);
+
+/** \ingroup rpmio
+ */
typedef ssize_t fdio_write_function_t (void *cookie, const char *buf, size_t nbytes);
+
+/** \ingroup rpmio
+ */
#ifdef USE_COOKIE_SEEK_POINTER
typedef int fdio_seek_function_t (void *cookie, _IO_off64_t * offset, int whence);
#else
typedef int fdio_seek_function_t (void *cookie, off_t offset, int whence);
#endif
+
+/** \ingroup rpmio
+ */
typedef int fdio_close_function_t (void *cookie);
+
+/** \ingroup rpmio
+ */
typedef /*@null@*/ FD_t fdio_ref_function_t ( /*@only@*/ void * cookie,
const char * msg, const char * file, unsigned line);
+
+/** \ingroup rpmio
+ */
typedef /*@null@*/ FD_t fdio_deref_function_t ( /*@only@*/ FD_t fd,
const char * msg, const char * file, unsigned line);
+
+/** \ingroup rpmio
+ */
typedef /*@null@*/ FD_t fdio_new_function_t (const char * msg,
const char * file, unsigned line);
+
+/** \ingroup rpmio
+ */
typedef int fdio_fileno_function_t (void * cookie);
+
+/** \ingroup rpmio
+ */
typedef FD_t fdio_open_function_t (const char * path, int flags, mode_t mode);
+
+/** \ingroup rpmio
+ */
typedef FD_t fdio_fopen_function_t (const char * path, const char * fmode);
+
+/** \ingroup rpmio
+ */
typedef void * fdio_ffileno_function_t (FD_t fd);
+
+/** \ingroup rpmio
+ */
typedef int fdio_fflush_function_t (FD_t fd);
+/*@}*/
+
+/** \ingroup rpmrpc
+ * \name RPMRPC Vectors.
+ */
+/*@{*/
typedef int fdio_mkdir_function_t (const char * path, mode_t mode);
+
+/** \ingroup rpmrpc
+ */
typedef int fdio_chdir_function_t (const char * path);
+
+/** \ingroup rpmrpc
+ */
typedef int fdio_rmdir_function_t (const char * path);
+
+/** \ingroup rpmrpc
+ */
typedef int fdio_rename_function_t (const char * oldpath, const char * newpath);
+
+/** \ingroup rpmrpc
+ */
typedef int fdio_unlink_function_t (const char * path);
+
+/** \ingroup rpmrpc
+ */
typedef int fdio_stat_function_t (const char * path, struct stat * st);
+
+/** \ingroup rpmrpc
+ */
typedef int fdio_lstat_function_t (const char * path, struct stat * st);
+
+/** \ingroup rpmrpc
+ */
typedef int fdio_access_function_t (const char * path, int amode);
+/*@}*/
+
+/** \ingroup rpmio
+ */
struct FDIO_s {
fdio_read_function_t * read;
fdio_write_function_t * write;
fdio_unlink_function_t * _unlink;
};
+
+/** \ingroup rpmio
+ * \name RPMIO Interface.
+ */
+/*@{*/
+
+/** \ingroup rpmio
+ */
/*@observer@*/ const char * Fstrerror(FD_t fd);
+/** \ingroup rpmio
+ */
size_t Fread (/*@out@*/ void * buf, size_t size, size_t nmemb, FD_t fd);
+
+/** \ingroup rpmio
+ */
size_t Fwrite (const void *buf, size_t size, size_t nmemb, FD_t fd);
+
+/** \ingroup rpmio
+ */
#ifdef USE_COOKIE_SEEK_POINTER
int Fseek (FD_t fd, _IO_off64_t offset, int whence);
#else
int Fseek (FD_t fd, off_t offset, int whence);
#endif
+
+/** \ingroup rpmio
+ */
int Fclose ( /*@killref@*/ FD_t fd);
+
+/** \ingroup rpmio
+ */
FD_t Fdopen (FD_t fd, const char * fmode);
+
+/** \ingroup rpmio
+ */
FD_t Fopen (const char * path, const char * fmode);
+
+/** \ingroup rpmio
+ */
int Fflush (FD_t fd);
+
+/** \ingroup rpmio
+ */
int Ferror (FD_t fd);
+
+/** \ingroup rpmio
+ */
int Fileno (FD_t fd);
+
+/** \ingroup rpmio
+ */
int Fcntl (FD_t, int op, void *lip);
+
+/** \ingroup rpmio
+ */
#ifdef USE_COOKIE_SEEK_POINTER
ssize_t Pread(FD_t fd, void * buf, size_t count, _IO_off64_t offset);
#else
ssize_t Pread(FD_t fd, void * buf, size_t count, off_t offset);
#endif
+
+/** \ingroup rpmio
+ */
#ifdef USE_COOKIE_SEEK_POINTER
ssize_t Pwrite(FD_t fd, const void * buf, size_t count, _IO_off64_t offset);
#else
ssize_t Pwrite(FD_t fd, const void * buf, size_t count, off_t offset);
#endif
+/*@}*/
+
+/** \ingroup rpmrpc
+ * \name RPMRPC Interface.
+ */
+/*@{*/
int Mkdir (const char * path, mode_t mode);
+
+/** \ingroup rpmrpc
+ */
int Chdir (const char * path);
+
+/** \ingroup rpmrpc
+ */
int Rmdir (const char * path);
+
+/** \ingroup rpmrpc
+ */
int Rename (const char * oldpath, const char * newpath);
+
+/** \ingroup rpmrpc
+ */
int Link (const char * oldpath, const char * newpath);
+
+/** \ingroup rpmrpc
+ */
int Unlink (const char * path);
+
+/** \ingroup rpmrpc
+ */
int Readlink(const char * path, char * buf, size_t bufsiz);
+
+/** \ingroup rpmrpc
+ */
int Stat (const char * path, /*@out@*/ struct stat * st);
+
+/** \ingroup rpmrpc
+ */
int Lstat (const char * path, /*@out@*/ struct stat * st);
+
+/** \ingroup rpmrpc
+ */
int Access (const char * path, int amode);
+
+/** \ingroup rpmrpc
+ */
int Glob (const char * pattern, int flags,
int errfunc(const char * epath, int eerrno), /*@out@*/ glob_t * pglob);
+
+/** \ingroup rpmrpc
+ */
void Globfree( /*@only@*/ glob_t * pglob);
+
+/** \ingroup rpmrpc
+ */
DIR * Opendir (const char * name);
+
+/** \ingroup rpmrpc
+ */
struct dirent * Readdir (DIR * dir);
+
+/** \ingroup rpmrpc
+ */
int Closedir(DIR * dir);
+/*@}*/
+
+/** \ingroup rpmio
+ * \name RPMIO Utilities.
+ */
+/*@{*/
off_t fdSize (FD_t fd);
+
+/** \ingroup rpmio
+ */
/*@null@*/ FD_t fdDup(int fdno);
#ifdef UNUSED
/*@null@*/ FILE *fdFdopen( /*@only@*/ void * cookie, const char * mode);
/* XXX Legacy interfaces needed by gnorpm, rpmfind et al */
+
+/** \ingroup rpmio
+ */
/*@-shadow@*/
int fdFileno(void * cookie);
/*@=shadow@*/
+
+/** \ingroup rpmio
+ */
/*@null@*/ FD_t fdOpen(const char *path, int flags, mode_t mode);
+
+/** \ingroup rpmio
+ */
ssize_t fdRead(void * cookie, /*@out@*/ char * buf, size_t count);
+
+/** \ingroup rpmio
+ */
ssize_t fdWrite(void * cookie, const char * buf, size_t count);
+
+/** \ingroup rpmio
+ */
int fdClose( /*@only@*/ void * cookie);
/* XXX FD_t reference count debugging wrappers */
#define fdFree(_fd, _msg) fdio->_fdderef(_fd, _msg, __FILE__, __LINE__)
#define fdNew(_msg) fdio->_fdnew(_msg, __FILE__, __LINE__)
+
+/** \ingroup rpmio
+ */
int fdWritable(FD_t fd, int secs);
+
+/** \ingroup rpmio
+ */
int fdReadable(FD_t fd, int secs);
/*
#define FTPERR_NIC_ABORT_IN_PROGRESS -11
#define FTPERR_UNKNOWN -100
+
+/** \ingroup rpmio
+ */
/*@dependent@*/ /*@null@*/ void * ufdGetUrlinfo(FD_t fd);
+
+/** \ingroup rpmio
+ */
/*@observer@*/ const char * urlStrerror(const char * url);
+
+/** \ingroup rpmio
+ */
int ufdCopy(FD_t sfd, FD_t tfd);
+
+/** \ingroup rpmio
+ */
int ufdGetFile( /*@killref@*/ FD_t sfd, FD_t tfd);
+
+/** \ingroup rpmio
+ */
/*@observer@*/ const char *const ftpStrerror(int errorNumber);
int timedRead(FD_t fd, /*@out@*/ void * bufptr, int length);
#define timedRead ufdio->read
+
+/** \ingroup rpmio
+ */
/*@observer@*/ extern FDIO_t fdio;
+
+/** \ingroup rpmio
+ */
/*@observer@*/ extern FDIO_t fpio;
+
+/** \ingroup rpmio
+ */
/*@observer@*/ extern FDIO_t ufdio;
+
+/** \ingroup rpmio
+ */
/*@observer@*/ extern FDIO_t gzdio;
+
+/** \ingroup rpmio
+ */
/*@observer@*/ extern FDIO_t bzdio;
+
+/** \ingroup rpmio
+ */
/*@observer@*/ extern FDIO_t fadio;
+/*@}*/
#ifdef __cplusplus
}
#define RPMMESS_QUIET (RPMMESS_NORMAL + 1)
typedef enum rpmCallbackType_e {
- RPMCALLBACK_INST_PROGRESS, RPMCALLBACK_INST_START,
- RPMCALLBACK_INST_OPEN_FILE, RPMCALLBACK_INST_CLOSE_FILE,
- RPMCALLBACK_TRANS_PROGRESS, RPMCALLBACK_TRANS_START, RPMCALLBACK_TRANS_STOP,
- RPMCALLBACK_UNINST_PROGRESS, RPMCALLBACK_UNINST_START, RPMCALLBACK_UNINST_STOP
+ RPMCALLBACK_INST_PROGRESS,
+ RPMCALLBACK_INST_START,
+ RPMCALLBACK_INST_OPEN_FILE,
+ RPMCALLBACK_INST_CLOSE_FILE,
+ RPMCALLBACK_TRANS_PROGRESS,
+ RPMCALLBACK_TRANS_START,
+ RPMCALLBACK_TRANS_STOP,
+ RPMCALLBACK_UNINST_PROGRESS,
+ RPMCALLBACK_UNINST_START,
+ RPMCALLBACK_UNINST_STOP
} rpmCallbackType;
#ifdef __cplusplus
extern "C" {
#endif
+typedef void * rpmCallbackData;
typedef void * (*rpmCallbackFunction)(const void * h,
const rpmCallbackType what,
const unsigned long amount,
const unsigned long total,
- const void * pkgKey, void * data);
+ const void * pkgKey,
+ rpmCallbackData data);
-void urlSetCallback(rpmCallbackFunction notify, void *notifyData, int notifyCount);
+void urlSetCallback(rpmCallbackFunction notify, rpmCallbackData notifyData,
+ int notifyCount);
void rpmIncreaseVerbosity(void);
void rpmSetVerbosity(int level);
#endif
#if defined(IAM_RPMK)
- enum rpmKtype addSign = RPMK_NEW_SIGNATURE;
- int checksigFlags = 0;
+ rpmResignFlags addSign = RESIGN_NEW_SIGNATURE;
+ rpmCheckSigFlags checksigFlags = CHECKSIG_NONE;
#endif
#if defined(IAM_RPMBT) || defined(IAM_RPMK)
if (bigMode != MODE_UNKNOWN && bigMode != MODE_RESIGN)
argerror(_("only one major mode may be specified"));
bigMode = MODE_RESIGN;
- addSign = RPMK_NEW_SIGNATURE;
+ addSign = RESIGN_NEW_SIGNATURE;
signIt = 1;
break;
if (bigMode != MODE_UNKNOWN && bigMode != MODE_RESIGN)
argerror(_("only one major mode may be specified"));
bigMode = MODE_RESIGN;
- addSign = RPMK_ADD_SIGNATURE;
+ addSign = RESIGN_ADD_SIGNATURE;
signIt = 1;
break;
#endif /* IAM_RPMK */