summaryrefslogtreecommitdiffstats
path: root/urpm/install.pm
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* (install) explicitely close the RPM DB on comleting transactionThierry Vignaud2009-03-041-0/+3
| | | | | (needed for drakx -- looks like refcount has hard work):
* (install) add more callbacks for installerThierry Vignaud2009-03-031-0/+2
|
* (install) enable to set 'script_fd' (needed by installer)Thierry Vignaud2009-03-031-0/+2
|
* use "use strict" in all modulesPascal Rigaux2009-01-061-0/+1
|
* simplify: instead of passing around {rpmdb}, set $urpm->{env_rpmdb} and use itPascal Rigaux2008-10-271-1/+1
|
* $urpm->{logger_id} is unused:Pascal Rigaux2008-10-171-2/+0
| | | | | | | | - it has been "replaced" by $urpm->{logger_count} (r15626 | rgarciasuarez | 2006-03-20) - it was still used before when urpmi was forking on multiple transactions (dropped in urpmi 4.9.0, Nov 2006)
* be safer, only main_loop (partially) handles "raw_message" errorsPascal Rigaux2008-10-171-1/+0
|
* - urpmiPascal Rigaux2008-10-141-0/+1
| | | | | | o diskspace issues are now a fatal error (need perl-URPM 3.20) (no use going on with the other transactions)
* - urpmi, library:Pascal Rigaux2008-10-061-0/+1
| | | | | | o handle --replacefiles, will be used by mdkonline (require perl-URPM 3.19)
* fix namespace (it's really too late to commit more)Thierry Vignaud2008-09-091-1/+1
|
* (db_open_or_die__) ahem...Thierry Vignaud2008-09-091-1/+1
|
* (db_open_or_die__) factorize some code (the name might have to be changed...)Thierry Vignaud2008-09-091-8/+1
|
* create may_clean_rpmdb_shared_regions()Pascal Rigaux2008-09-091-4/+1
|
* now, get rid of blist->{list} :)Pascal Rigaux2008-07-081-4/+1
|
* propagate blist->{pkgs}Pascal Rigaux2008-07-081-1/+4
|
* goal: get rid of $list which must be used together with $urpm->{media}, and ↵Pascal Rigaux2008-07-081-5/+5
| | | | | | | | | | | | | | use $blists instead - create urpm::get_pkgs::selected2local_and_blists(), which is similar to selected2list(), but returns a $blists - the following functions have been modified to use a $blists instead of $list: urpm::cdrom::copy_packages_of_removable_media() urpm::install::prepare_transaction() urpm::removable::try_mounting_non_cdroms() urpm::get_pkgs::download_packages_of_distant_media() - adapt code to use $blists
* urpm::install::prepare_transaction() now returns the computed values instead ofPascal Rigaux2008-07-081-8/+6
| | | | | modifying the parameters
* create _hash_intersect_list() and use itPascal Rigaux2008-07-081-3/+10
|
* move things aroundPascal Rigaux2008-07-081-2/+4
|
* - urpmi:Pascal Rigaux2008-07-081-1/+1
| | | | | o handle README.urpmi in utf8 (but not other encodings) (#41553)
* factorize options handlingPascal Rigaux2008-07-031-0/+14
|
* simplifyPascal Rigaux2008-07-021-1/+1
|
* much nicer var namePascal Rigaux2008-07-021-6/+6
|
* create db_open_or_die_() and use itPascal Rigaux2008-07-011-2/+2
|
* (install) do not pretent removing packages from cache when there'sThierry Vignaud2008-03-041-1/+1
| | | | | nothing to remove
* - urpmiPascal Rigaux2008-02-251-1/+1
| | | | | | o fix "using one big transaction" that occurs when using --keep (#30198) (part of the fix is in perl-URPM 3.09)
* fix typo in previous commitPascal Rigaux2008-02-241-1/+1
|
* make it fatal to fail to remove cachedir rpmsPascal Rigaux2008-02-241-2/+4
|
* - do not say "removing installed rpms" for rpms which are not in cachedirPascal Rigaux2008-02-241-4/+13
| | | | | | | - do not say "removing installed rpms" for rpms which were not scheduled to be installed, instead remove those rpms from cachedir with a special error message
* add undocumented & unstable --tune-rpm optionPascal Rigaux2007-11-141-2/+2
| | | | | (allow to test nofsync and private db)
* - urpmiPascal Rigaux2007-10-021-0/+5
| | | | | o remove prefix/var/lib/rpm/__db* after installing pkgs rooted