aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Postpone user choices as much as possibleChristophe Fergeau2009-03-252-36/+31
| | | | | | | | | | Fixes bug #48100, patch from Anssi Hannula Package A requires D and E. Package B provides D and E. Package C provides E. If the require on E happens to be resolved first, then perl-URPM will prompt the user, even though installing B is enough.
* Change format of "rpm sorted by dependencies" stringChristophe Fergeau2009-03-241-1/+1
|
* 3.273.27Christophe Fergeau2009-03-242-1/+9
|
* Don't silently install Suggests:, fixes bug #47934Christophe Fergeau2009-03-231-1/+1
| | | | | | | | | | | | When installing a package which suggests an uninstalled package, urpmi currently installs both packages without asking the user while it asks when installing a package which requires an uninstalled package. This is because we call resolve_requested__no_suggests to find which suggested package to install, but this mark the package as requested as well (and we don't ask for confirmation before installing a requested package). This patch calls resolve_requested__no_suggests_ (with a trailing '_') instead which is the same as resolve_requested__no_suggests but does not mark the packages as requested.
* fix _handle_diff_provides in case of impossible-to-satisfy selected packagesChristophe Fergeau2009-03-231-4/+9
| | | | | | | | | | | | | | | Fixes bug #48223, patch from Anssi Hannula Currently, if _handle_diff_provides finds unsatisfied requires on an already selected package, and cannot find any packages from the repo that satisfy these, it calls resolve_rejected_ (or set_rejected_and_compute_diff_provides after fix to bug #47803) (as it does when those unsatisfied requires are on an installed package, which was always the case before r242656). However, those should be called with installed packages only. Attached patch makes _handle_diff_provides call disable_selected_and_unrequested_dependencies and _set_rejected_from in case of selected packages.
* check rep for another pkg providing X if the prev pkg gets removed due to a ↵Christophe Fergeau2009-03-201-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | conflict Fixes bug #47803, patch from Anssi Hannula Closer look at urpmi revealed it only does this if a provide X is removed from an upgraded package, not when a package providing X has to be removed. i.e. this works: A provides foo B provides foo C requires foo Installed A,C. A is upgraded and Provides:foo is dropped, B gets installed in order to keep C. But this won't: A provides foo A requires dep B provides foo C requires foo D provides dep Installed A,C,D. D is upgraded and Provides:dep is dropped, A gets removed, C gets removed.
* 3.263.26Thierry Vignaud2009-03-052-1/+3
|
* (verify_signature) make checking urpmi signatures works in chrooted environmentsThierry Vignaud2009-03-052-2/+7
| | | | | | (especially important for installer where there's no rpmdb in / (really /var/lib/rpm) and thus no keys to check against)
* Release 3.253.25Christophe Fergeau2009-01-162-1/+3
|
* Really fix bug #46874Christophe Fergeau2009-01-162-10/+20
|
* Version 3.24 - 13 January 2009, by Christophe Fergeau3.24Christophe Fergeau2009-01-132-1/+3
| | | | | | | | | - fix sorting choices on provided version (feature introduced in 3.08, but was not working if packages were coming from different repository) - when a "Requires:" can be fullfilled by several different packages and one of those packages is explicitly required by another package which is also being installed, silently choose this package instead of letting the choice up to perl-URPM user (fixes bug #46874)
* add commentsPascal Rigaux2009-01-121-0/+4
|
* - drop parse_rpms (unused, parse_rpms_build_headers or parse_rpm are used ↵Pascal Rigaux2009-01-122-24/+2
| | | | | | | instead) - add a comment
* add a commentPascal Rigaux2009-01-121-0/+2
|
* - drop function fuzzy_parse() (it is unused)Pascal Rigaux2009-01-121-23/+2
| | | | | - add some comment
* add a commentPascal Rigaux2009-01-091-0/+1
|
* add some commentPascal Rigaux2009-01-091-0/+3
|
* - @unsatisfied is a better var name than @lPascal Rigaux2009-01-091-8/+9
| | | | | - add some comment
* make it clear the func is localPascal Rigaux2009-01-081-3/+3
|
* add a commentPascal Rigaux2009-01-081-0/+2
|
* Favour required packages when we have several choices to fulfillChristophe Fergeau2009-01-082-0/+14
| | | | a "requires", fixes bug #46874
* - add some commentPascal Rigaux2009-01-061-4/+33
| | | | | - enhance a comment
* document a "hack"Pascal Rigaux2009-01-061-0/+7
|
* - fix sorting choices on provided version (feature introduced in 3.08, Pascal Rigaux2008-12-152-4/+12
| | | | | but was not working if packages were coming from different repository)
* 3.233.23Pascal Rigaux2008-12-152-1/+3
|
* - fix bad free() (thanks to glibc for detecting it)Pascal Rigaux2008-12-152-4/+6
|
* 3.223.22Pascal Rigaux2008-12-122-1/+3
|
* - fix scriptlet failing:Pascal Rigaux2008-12-122-2/+5
| | | | | adapt to librpm4.6, rpmtsSetRootDir(ts, "") is forbidden
* revert wrong commitPascal Rigaux2008-12-091-5/+4
|
* correctly clean temp directoriesPascal Rigaux2008-12-091-4/+5
|
* 3.213.21Pascal Rigaux2008-12-092-2/+4
|
* - adapt to librpm4.6Pascal Rigaux2008-12-092-2/+3
|
* - adapt to rpm 4.6 changes:Pascal Rigaux2008-12-091-11/+16
| | | | | | | - headerNextIterator -> headerNext - headerAddEntry -> headerPut - headerModifyEntry -> headerMod
* - adapt to rpm 4.6 changes: headerGetEntry -> headerGetPascal Rigaux2008-12-091-104/+112
|
* - adapt to some easy rpm 4.6 changes:Pascal Rigaux2008-12-091-31/+29
| | | | | | | | - headerSprintf -> headerFormat - headerAddEntry -> headerPutString - headerRemoveEntry -> headerDel - rpmProblemGetLong -> rpmProblemGetDiskNeed
* free the iterator *after* usePascal Rigaux2008-12-091-2/+4
| | | | | (otherwise it segfaults with 4.6.0-rc1, and i wonder how it worked before...)
* do free the ts after user, this is especially needed since rpmVerifySignaturePascal Rigaux2008-12-091-0/+1
| | | | | | (wrongly) called in rpmReadPackageFile can open the rpmdb which won't get closed if ts is not closed
* - don't handle %_sourcedir specially, it's not neededPascal Rigaux2008-12-091-2/+2
| | | | | | - use an absolute filename for %_topdir, it seems to help (bug in rpm 4.6.0-rc1?)
* - list_rpm_tag() is no morePascal Rigaux2008-12-091-8/+1
| | | | | - remove a failing test (old)
* - drop list_rpm_tag()Pascal Rigaux2008-12-093-34/+4
|
* adapt types to rpm-4.6.xPascal Rigaux2008-12-091-56/+58
|
* fix rpmRelocation usage with rpm 5.2Per Øyvind Karlsen2008-12-081-2/+13
|
* 3.203.20Pascal Rigaux2008-10-142-1/+3
|
* - $trans->run can now return both the translated errors, and some parsablePascal Rigaux2008-10-142-5/+11
| | | | | errors (useful for example to detect diskspace issues)
* use rpmuint64_t rather than long long, we know that it should stay compatible:)Per Øyvind Karlsen2008-10-141-1/+1
|
* fix build with rpm5.org HEADPer Øyvind Karlsen2008-10-101-5/+11
|
* 3.193.19Pascal Rigaux2008-10-072-1/+3
|
* - handle flag "replacefiles"Pascal Rigaux2008-10-072-0/+4
|
* add filelinktos() & dirnames() to URPM::PackagePer Øyvind Karlsen2008-07-182-0/+20
|
* ensure that initSourceHeader gets run for rpm5.org, otherwise querying of ↵Per Øyvind Karlsen2008-07-171-0/+2
| | | | spec files won't work