aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 1.761.76Pascal Rigaux2007-08-292-1/+3
|
* ensure #31969 doesn't occur anymore. if somethings goes wrong:Pascal Rigaux2007-08-281-5/+17
| | | | | | | | | - display error message - then default to one big transaction also display error message "using one big transaction" in the old check (which i don't really know what it does)
* - build_transaction_set: new sort algorithm which allow returning sets ofPascal Rigaux2007-08-282-26/+101
| | | | | | | | | | | | | | | circular dependent packages, taking into account obsoleted packages (fixes #31969). It may still fail in presence of conflicts a better fix would be to make ->resolve_requested__no_suggests handle obsolete. ie: - a requires b : bb or b - bb requires c-1 - b requires c-2 - b obsoletes bb => with a, bb and c-1 installed, "urpmi c" should upgrade bb into b instead of removing a and bb.
* - spec2srcheader: workaround parseSpec returning a header where ->arch is setPascal Rigaux2007-08-282-0/+7
| | | | | | to %{_target_cpu} whereas we really want a header similar to .src.rpm (see #32824)
* - fix split_length > 1 Pascal Rigaux2007-08-242-6/+6
| | | | | | | | (eg: "urpmi --split-length 2 a b c" will only install 2 pkgs) (this bug has not been reported, just discovered it while reading the code) - cleanup
* - more debug messagesPascal Rigaux2007-08-241-14/+16
| | | | | - little rewrite
* - allow running transaction with justdb optionPascal Rigaux2007-08-232-0/+4
|
* 1.751.75Pascal Rigaux2007-08-122-1/+3
|
* - fix dropping tags from rpm header.Pascal Rigaux2007-08-122-27/+66
| | | | | | it hasn't work since MDK8.1 and rpm 4.0. it may break urpmi!! but potentially allows a much smaller hdlist.cz :)
* 1.741.74Pascal Rigaux2007-08-122-1/+3
|
* - sort choices per media, then per versionPascal Rigaux2007-08-122-5/+30
| | | | | | | | | | | | | nb: on 2004-12-13, rgs replaced "$a->id <=> $b->id" with "$b->compare_pkg($a) || $a->id <=> $b->id" Return the list of chosen packages sorted by descending version (bug #12645). the end result is the sorting by media was dropped :-/
* cleanup (easier to read)Pascal Rigaux2007-08-121-2/+2
|
* 1.731.73Pascal Rigaux2007-08-112-1/+3
|
* - allow running transaction with replagekgs optionPascal Rigaux2007-08-112-0/+4
|
* 1.721.72Pascal Rigaux2007-08-102-1/+3
|
* - modify parse_hdlist so that partial hdlist reading can be usedPascal Rigaux2007-08-102-1/+9
| | | | | (needed when some stuff is already done in the callback)
* add documentationPascal Rigaux2007-08-101-0/+3
|
* there is no use retrying after a headerRead failure since headerRead may havePascal Rigaux2007-08-101-14/+0
| | | | | | | | consumed part of the input, and so next headerRead will read in the middle of a header, and so always fail. The only real solution is to ensure rpmlib don't timeout too quickly (and fd->rd_timeoutsecs is rpmlib internal only, so we can't hint it from here. in any case 1sec timeout is really too low)
* 1.711.71Pascal Rigaux2007-08-092-4/+2
|
* - compilation fixes on rpm < 4.4.8Pascal Rigaux2007-08-092-1/+3
|
* 1.701.70Pascal Rigaux2007-08-092-1/+3
|
* compilation fixes on rpm < 4.4.8Pascal Rigaux2007-08-092-2/+12
|
* 1.691.69Pascal Rigaux2007-08-092-1/+7
|
* - "suggests" are no more handled as "requires"Pascal Rigaux2007-08-092-11/+105
| | | | | | | | | - resolve_requested support "suggests": a newly suggested package is installed as if required (can be disabled with option no_suggests) nb: URPM.xs change is quite complex since suggests are mostly seen as requires inside rpmlib.
* factorize some code into with_db_unsatisfied_requires:Pascal Rigaux2007-08-081-13/+20
| | | | | | | #- this function is "suggests vs requires" safe: #- 'whatrequires' will give both requires & suggests, but unsatisfied_requires #- will check $p->requires and so filter out suggests
* "nopromoteepoch => 1" is the default option in ->unsatisfied_requiresPascal Rigaux2007-08-081-2/+2
|
* 1.681.68Pascal Rigaux2007-08-032-1/+3
|
* - add $trans->Element_version and $trans->Element_releasePascal Rigaux2007-08-032-1/+22
|
* - 0.671.67Olivier Thauvin2007-07-052-1/+19
|
* - Urpm_read_config_files properly return the value to perlOlivier Thauvin2007-07-041-2/+3
| | | | - kill useless var dcl
* - fix parseSpec argumentOlivier Thauvin2007-07-041-1/+3
|
* - add osscore() and archscore() function to evaluate computer compatiblity ↵Olivier Thauvin2007-07-041-0/+35
| | | | to an arbitrary value
* - add Pkg_is_platform_compat() and Urpm_platformscore() coming with rpm 4.4.8Olivier Thauvin2007-07-043-2/+61
|
* 1.661.66Pascal Rigaux2007-07-022-1/+7
|
* - fix --auto-select skipping some packages because of other packages providingPascal Rigaux2007-07-022-24/+7
| | | | | | | | | | | | | | | a more recent version, but no obsolete between those packages. the fix is to revert commit from Aug 2002: "fixed propable old package (according provides) requested by request_packages_to_upgrade." hopefully this change won't break too much... for the record, a few issues: - skipping java-1.5.0-gcj-1.5.0.0-14.7mdv2008.0.i586 since java-1.7.0-icedtea-1.7.0.0-1.3mdv2008.0.i586 provides a more recent version of jre (1.7.0 vs 1.5.0) - skipping emacs-common-22.1-2mdv2008.0.i586 since gnus-emacs-5.10.8-1mdv2007.0.noarch provides a more recent vers whereas java-1.5.0-gcj-1.5.0.0-14.6mdv and emacs-common-22.1-1mdv are installed
* help perl_checkerPascal Rigaux2007-07-021-0/+2
|
* help debugging the strange behaviour of this codePascal Rigaux2007-07-021-1/+4
|
* - 1.421.65Olivier Thauvin2007-06-211-1/+1
|
* - make is_arch_compat rpm 4.4.8 compliantOlivier Thauvin2007-06-193-3/+21
|
* document the fact that build_synthesis returns true on successPascal Rigaux2007-06-151-1/+2
|
* fix release datePascal Rigaux2007-06-121-1/+1
|
* 1.641.64Pascal Rigaux2007-06-122-1/+3
|
* - hack on $pkg->is_arch_compat to make it return true for noarch packagesPascal Rigaux2007-06-122-2/+6
| | | | | when using rpm 4.4.8 (#31314)
* - new release, 1.631.63Pascal Rigaux2007-05-093-1/+15
| | | | | - add $trans->Element_fullname
* 1.61 has not been releasedPascal Rigaux2007-05-031-3/+0
|
* 1.621.62Pascal Rigaux2007-05-032-1/+3
|
* - pass the virtual package name as a parameter to {callback_choices} inPascal Rigaux2007-05-032-1/+4
| | | | | ->resolve_requested
* re-sync after the big svn lossPascal Rigaux2007-04-271-0/+1
|
* re-sync after the big svn lossPascal Rigaux2007-04-270-0/+0
|
* - 1.611.61Pascal Rigaux2007-04-273-1/+28
| | | | | | | | | - add $trans->NElements and $trans->Element_name to be able to display name of uninstalled package in callback_uninst - fix b--obsoletes-->a and c--conflicts-->a prompting for upgrading a (need a fix in urpmi which rely on the $state->{rejected} to upgrade (-U) b instead of installing (-i) it)