summaryrefslogtreecommitdiffstats
path: root/urpm/install.pm
Commit message (Collapse)AuthorAgeFilesLines
* always display the right package name on errorsunknown2015-02-261-13/+2
| | | | | fixes mga#15032 and also simplify... needs URPM >= 5.04
* default to "unknown"Thierry Vignaud2015-02-061-1/+1
|
* Don't give a wrong package name when it is unknown in a callback (mga#15032)Pascal Terjan2015-02-051-2/+12
|
* add support for --deploops optionThierry Vignaud2013-11-051-1/+1
|
* fix leaving read locks on rpmdb (mga#9248)Thierry Vignaud2013-04-201-0/+1
| | | | | regression introduced in commit r7280 on Feb 5 2013: "(install_logger) unify with callback_uninst(), thus fixing counting for erasures"
* fix package count when a package has a %pretrans scriptletThierry Vignaud2013-04-011-4/+2
| | | | | | | | | | | | | | | | (spot by Colin on installing a minimal system with urpmi) callback_open got called one too much (it got called twice for first package which is actually filesystem), thus we bump the index one too much. the call chain is: rpmtsRun() -> runTransScripts() -> rpmteProcess() which says: /* Dont bother opening for elements without pre/posttrans scripts */ But since we now have package ('filesystem') with %pretrans due to /usr migration, it goes further and calls rpmteOpen()->rpmteFDHeader() which notifys us about a package opening in order to get its file descriptor.
* only a couple func really are neededThierry Vignaud2013-03-211-1/+1
|
* drop 'callback_report_uninst'Thierry Vignaud2013-03-161-3/+2
| | | | rationale: 'callback_uninst' now enables to get erasure progress
* really enable callers to pass their own callback for erasure progressThierry Vignaud2013-03-161-1/+1
|
* hint @URPMThierry Vignaud2013-03-161-0/+4
|
* note about {readmes}Thierry Vignaud2013-03-161-0/+1
|
* enable callers to pass their own callbacks for erasure progress & errorsThierry Vignaud2013-02-251-2/+2
| | | | eg: for rpmdrake/gurpm/drakx
* (install) list two more parametersThierry Vignaud2013-02-251-0/+1
|
* (install_logger) keep a separate counter for erasuresThierry Vignaud2013-02-091-4/+8
| | | | | | | | | | only initialize $total_pkg: - when starting a new transaction - or on first erasure in transaction (_compute_pkg_total) kill it (no more needed) adjust testsuite accordingly
* bump copyrightThierry Vignaud2013-02-051-1/+1
|
* (install_logger) unify with callback_uninst(), thus fixing counting forThierry Vignaud2013-02-051-29/+17
| | | | | | | | | | erasures (callback_uninst) restore quiet behavior when not in verbose mode (install) temporary set $urpm->{trans} adapt testsuite
* (_schedule_packages) localize a variableThierry Vignaud2013-02-051-3/+4
|
* typo fixThierry Vignaud2013-02-051-1/+1
|
* handle callback_error when installing packages (scripts & I/O errors)Thierry Vignaud2013-02-031-0/+6
|
* (callback_uninst) display erasure progressThierry Vignaud2013-02-031-1/+25
| | | | | | inspirated from install_logger() adjust testsuite accordingly
* (install) do not show empty information from README* with --justdbThierry Vignaud2012-12-151-1/+1
|
* (_schedule_packages) fix installing delta rpmsThierry Vignaud2012-11-171-1/+1
| | | | | got broken in commit r6466 on 2012-11-16: "(_apply_delta_rpm) split it out of _schedule_packages()"
* (install) simplifyThierry Vignaud2012-11-161-2/+3
|
* (_get_callbacks) split it out of install()Thierry Vignaud2012-11-161-47/+54
|
* (_apply_delta_rpm) split it out of _schedule_packages()Thierry Vignaud2012-11-161-13/+20
|
* (_schedule_packages) fix installing delta rpmsThierry Vignaud2012-11-161-1/+8
| | | | broken for years (actually it _NEVER_ worked...)
* (get_README_files) commentThierry Vignaud2012-11-161-0/+2
|
* (_schedule_packages_for_erasing) split it out of install()Thierry Vignaud2012-11-161-35/+45
|
* minor indent cleaningThierry Vignaud2012-11-161-2/+1
|
* (install) add spacingThierry Vignaud2012-11-161-0/+6
|
* (install_logger) drop last remaining bit of repackaging supportThierry Vignaud2012-11-161-1/+0
|
* drop --repackage option (non working since rpm-4.6 in 2009)Thierry Vignaud2012-10-051-2/+1
| | | | | | should have been done right after commit r251061 by pixel on Tue Jan 2009: "- drop urpmi.recover (no more possible with rpm 4.6 which doesn't handle --repackage)"
* perl_checker cleanupThierry Vignaud2012-08-311-1/+1
|
* convert a couple comments to PODThierry Vignaud2012-08-311-7/+9
|
* document some functionsThierry Vignaud2012-08-311-0/+19
|
* add basic POD documentationThierry Vignaud2012-08-311-0/+24
|
* (prepare_transaction) drop unused parameterThierry Vignaud2012-08-311-1/+1
|
* Only search for README.urpmi files in doc files (needs URPM >= 4.13)7.3Pascal Terjan2012-08-231-1/+1
|
* (install) adapt to URPM-4.2Thierry Vignaud2012-06-131-1/+1
|
* (install) fix circular reference that defeats perl's GCThierry Vignaud2012-03-051-1/+2
| | | | | | | | | | | | | | | | | | | else we keep the RPM DB open several times until rpm fails: created transaction for installing on / (remove=0, install=0, upgrade=8) error: rpmdb: Lock table is out of available locker entries error: cannot open Basenames index using db4 - Cannot allocate memory (12) error: rpmdb: Lock table is out of available locker entries error: cannot open Group index using db4 - Cannot allocate memory (12) error: rpmdb: Lock table is out of available locker entries error: cannot open Requirename index using db4 - Cannot allocate memory (12) error: rpmdb: Lock table is out of available locker entries error: cannot open Triggername index using db4 - Cannot allocate memory (12) error: rpmdb: Lock table is out of available locker entries (...) regression introduced in commit r2946 on 2012-02-14 (was: '(install) --test: do not display "More information on package"')
* (install) explicitely close the RPM DB after each transactionThierry Vignaud2012-03-051-0/+4
| | | | | | | | | | | | | | | | else we keep the RPM DB open several times until rpm fails: created transaction for installing on / (remove=0, install=0, upgrade=8) error: rpmdb: Lock table is out of available locker entries error: cannot open Basenames index using db4 - Cannot allocate memory (12) error: rpmdb: Lock table is out of available locker entries error: cannot open Group index using db4 - Cannot allocate memory (12) error: rpmdb: Lock table is out of available locker entries error: cannot open Requirename index using db4 - Cannot allocate memory (12) error: rpmdb: Lock table is out of available locker entries error: cannot open Triggername index using db4 - Cannot allocate memory (12) error: rpmdb: Lock table is out of available locker entries (...)
* (install) --test: do not display "More information on package"Thierry Vignaud2012-02-141-1/+1
|
* Synthesized commit during git-svn import combining previous Mandriva history ↵Mageia SVN-Git Migration2011-09-131-1/+1
| | | | | | | | | | | | with Magiea. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r1928 | dmorgan | 2011-09-13 21:44:28 +0100 (Tue, 13 Sep 2011) | 1 line Import urpmi ------------------------------------------------------------------------
* (install_logger) use urpm->{print} callback tooThierry Vignaud2009-10-151-1/+1
|
* (install,run) prevent garbaging text installer (#50776)Thierry Vignaud2009-08-111-4/+5
| | | | | | rationale: all prints in transaction/installation code now go through a callback that redirects the output at install time
* (install) wrap a big commentThierry Vignaud2009-03-241-1/+2
|
* (install) revert refcount workarounds now that we fix refcounting inThierry Vignaud2009-03-241-4/+0
| | | | | | | | | | | | r254652 ; revert both: - r253559 (2009-03-04) "(install) close another fd leak (needed for drakx)" - and r253550 (2009-03-04: "(install) explicitely close the RPM DB on comleting transaction (needed for drakx -- looks like refcount has hard work)"
* (install) fix a circular reference that was causing rpmdb to be openedThierry Vignaud2009-03-241-2/+6
| | | | | | | many times in installer (regression introduced in r253510 when adding new callbacks for the installer)
* (install) change 'close_helper' callback API for installer (in order to fixThierry Vignaud2009-03-091-1/+1
| | | | | | | | detecting whether installing ackages succedded or not) this doesn't impact anything since this is a freshly added callback used only by drakx
* (install) close another fd leak (needed for drakx)Thierry Vignaud2009-03-041-0/+1
|