aboutsummaryrefslogtreecommitdiffstats
path: root/URPM
Commit message (Collapse)AuthorAgeFilesLines
* Postpone user choices as much as possibleChristophe Fergeau2009-03-251-36/+28
| | | | | | | | | | 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
|
* 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.
* Really fix bug #46874Christophe Fergeau2009-01-161-10/+18
|
* add commentsPascal Rigaux2009-01-121-0/+4
|
* - drop parse_rpms (unused, parse_rpms_build_headers or parse_rpm are used ↵Pascal Rigaux2009-01-121-18/+0
| | | | | | | 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
* Favour required packages when we have several choices to fulfillChristophe Fergeau2009-01-081-0/+10
| | | | a "requires", fixes bug #46874
* - add some commentPascal Rigaux2009-01-061-4/+33
| | | | | - enhance a comment
* - fix sorting choices on provided version (feature introduced in 3.08, Pascal Rigaux2008-12-151-4/+9
| | | | | but was not working if packages were coming from different repository)
* - revert change introduced in 3.16 (it breaks too much, egPascal Rigaux2008-07-071-1/+1
| | | | | | superuser--priority-upgrade.t test case), and introduce $state->{rejected_already_installed} instead
* add removed_or_obsoleted_packages()Pascal Rigaux2008-07-041-0/+6
|
* - handle $state->{orphans_to_remove} in selected_size() andPascal Rigaux2008-07-041-0/+9
| | | | | build_transaction_set()
* perl_checker compliancePascal Rigaux2008-07-031-3/+3
|
* remove unused varsPascal Rigaux2008-07-031-4/+3
|
* create packages_to_remove() and use it to factorize codePascal Rigaux2008-07-031-10/+13
|
* - when not selecting a package because already installed,Pascal Rigaux2008-06-261-3/+5
| | | | | but it in $state->{rejected} with flags {installed}
* - add is_package_installed() in URPM/Resolve.pmPascal Rigaux2008-05-231-0/+12
| | | | | (to be used in urpmi 5.20)
* - do not ignore dropped provide from updated package (mdvbz#40842)Pascal Rigaux2008-05-191-1/+22
|
* enhance error messagePascal Rigaux2008-05-151-1/+1
|
* - do allow to promoting a pkg even if it has unsatisfied require (since thePascal Rigaux2008-03-071-12/+0
| | | | | | | | | | | | | code will then fix the unsatisfied require). fixes "big transaction" (cf urpmi split-transactions--strict-require.t test_efgh()) this code was introduced long ago (*), the code has changed quite a lot, and it's hard to tell for which reason it was introduced. Maybe the check "obsoletes_overlap" replaces it for good? (*) in "r11064 | fpons | 2002-06-13", search for "try if upgrading the package will be satisfying all the requires"
* do not mark as deprecated ->filename and URPM::Build::build_hdlist()Pascal Rigaux2008-02-251-2/+0
|
* since ->filename is deprecated, do not use it, esp where not neededPascal Rigaux2008-02-251-3/+0
|
* - add filesize to synthesis, add ->filesize to get it, and addPascal Rigaux2008-02-251-2/+21
| | | | | selected_size_filesize() to compute the sum
* - do not add FILENAME_TAG and FILESIZE_TAG to hdlist anymore,Pascal Rigaux2008-02-251-0/+4
| | | | | | deprecate ->filename and ->header_filename, deprecate URPM::Build build_hdlist and parse_rpms_build_headers
* - allow fixing "using one big transaction" that occurs when using --keep Pascal Rigaux2008-02-251-0/+2
| | | | | | | | (#30198) nb: since build_transaction_set calls resolve_requested, it must use the same options to select the same packages
* - allow urpmi to know a package was not selected because a newer version isPascal Rigaux2008-02-251-3/+15
| | | | | installed (#29838)
* - fix sort choices changed in perl-URPM 3.08Pascal Rigaux2008-02-251-3/+3
|
* - handle new package providing xxx which conflicts with an installed package ↵Pascal Rigaux2008-02-251-1/+1
| | | | (#17106)
* - sort choices on virtual package by provided version (#12645)Pascal Rigaux2008-02-251-6/+25
|
* fix typoPascal Rigaux2008-01-111-1/+1
|
* resolve kmod requires even if first choice is a source dkms (adapted from Pixel)Olivier Blin2008-01-101-1/+3
|
* - fix regression in parse_pubkeys() (introduced in 3.00) (#36121)Pascal Rigaux2007-12-201-1/+1
|
* - replace ->import_needed_pubkeys and ->import_pubkey in favor ofPascal Rigaux2007-12-101-23/+26
| | | | | | | | | | | | | import_needed_pubkeys_from_file() and ->import_pubkey_file (! this breaks API !) - import_pubkey is dropped because it messes to much with rpmlib internals, whereas import_pubkey_file is plain simple - in Signature.pm, dropping compare_pubkeys() options (since they are not used anymore) - import_needed_pubkeys_from_file() may not do a clean job if the pubkey file contains more than one pubkey.
* create simpler parse_pubkeys_()Pascal Rigaux2007-12-101-5/+18
|
* - much simpler --auto-select algorithm Pascal Rigaux2007-11-221-107/+67
| | | | | | (fixes #35718, ie auto-selecting with strict-arch) (!! DANGEROUS CHANGE !!)
* fix typoOlivier Blin2007-11-051-1/+1
|
* - prefer precompiled kmod packages corresponding to installed kernelsPascal Rigaux2007-10-011-3/+24
|
* move _find_required_package__kernel_source() out ofPascal Rigaux2007-10-011-5/+5
| | | | | _find_required_package__sort() (since it's not really a sort)
* re-indentPascal Rigaux2007-10-011-4/+4
|
* create _find_required_package__kernel_source() out of ↵Pascal Rigaux2007-10-011-25/+28
| | | | _find_required_package__sort()
* - don't resolve suggested virtual packages if already installed (#34376)Pascal Rigaux2007-10-011-0/+8
|
* - also handle promotion via obsolete for conflictsPascal Rigaux2007-09-281-0/+5
|
* create _find_packages_obsoleting() out of _handle_diff_provides()Pascal Rigaux2007-09-281-8/+16
|