Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Postpone user choices as much as possible | Christophe Fergeau | 2009-03-25 | 1 | -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" string | Christophe Fergeau | 2009-03-24 | 1 | -1/+1 |
| | |||||
* | Don't silently install Suggests:, fixes bug #47934 | Christophe Fergeau | 2009-03-23 | 1 | -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 packages | Christophe Fergeau | 2009-03-23 | 1 | -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 Fergeau | 2009-03-20 | 1 | -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 #46874 | Christophe Fergeau | 2009-01-16 | 1 | -10/+18 |
| | |||||
* | add comments | Pascal Rigaux | 2009-01-12 | 1 | -0/+4 |
| | |||||
* | - drop parse_rpms (unused, parse_rpms_build_headers or parse_rpm are used ↵ | Pascal Rigaux | 2009-01-12 | 1 | -18/+0 |
| | | | | | | | instead) - add a comment | ||||
* | add a comment | Pascal Rigaux | 2009-01-12 | 1 | -0/+2 |
| | |||||
* | - drop function fuzzy_parse() (it is unused) | Pascal Rigaux | 2009-01-12 | 1 | -23/+2 |
| | | | | | - add some comment | ||||
* | add a comment | Pascal Rigaux | 2009-01-09 | 1 | -0/+1 |
| | |||||
* | add some comment | Pascal Rigaux | 2009-01-09 | 1 | -0/+3 |
| | |||||
* | - @unsatisfied is a better var name than @l | Pascal Rigaux | 2009-01-09 | 1 | -8/+9 |
| | | | | | - add some comment | ||||
* | Favour required packages when we have several choices to fulfill | Christophe Fergeau | 2009-01-08 | 1 | -0/+10 |
| | | | | a "requires", fixes bug #46874 | ||||
* | - add some comment | Pascal Rigaux | 2009-01-06 | 1 | -4/+33 |
| | | | | | - enhance a comment | ||||
* | - fix sorting choices on provided version (feature introduced in 3.08, | Pascal Rigaux | 2008-12-15 | 1 | -4/+9 |
| | | | | | but was not working if packages were coming from different repository) | ||||
* | - revert change introduced in 3.16 (it breaks too much, eg | Pascal Rigaux | 2008-07-07 | 1 | -1/+1 |
| | | | | | | superuser--priority-upgrade.t test case), and introduce $state->{rejected_already_installed} instead | ||||
* | add removed_or_obsoleted_packages() | Pascal Rigaux | 2008-07-04 | 1 | -0/+6 |
| | |||||
* | - handle $state->{orphans_to_remove} in selected_size() and | Pascal Rigaux | 2008-07-04 | 1 | -0/+9 |
| | | | | | build_transaction_set() | ||||
* | perl_checker compliance | Pascal Rigaux | 2008-07-03 | 1 | -3/+3 |
| | |||||
* | remove unused vars | Pascal Rigaux | 2008-07-03 | 1 | -4/+3 |
| | |||||
* | create packages_to_remove() and use it to factorize code | Pascal Rigaux | 2008-07-03 | 1 | -10/+13 |
| | |||||
* | - when not selecting a package because already installed, | Pascal Rigaux | 2008-06-26 | 1 | -3/+5 |
| | | | | | but it in $state->{rejected} with flags {installed} | ||||
* | - add is_package_installed() in URPM/Resolve.pm | Pascal Rigaux | 2008-05-23 | 1 | -0/+12 |
| | | | | | (to be used in urpmi 5.20) | ||||
* | - do not ignore dropped provide from updated package (mdvbz#40842) | Pascal Rigaux | 2008-05-19 | 1 | -1/+22 |
| | |||||
* | enhance error message | Pascal Rigaux | 2008-05-15 | 1 | -1/+1 |
| | |||||
* | - do allow to promoting a pkg even if it has unsatisfied require (since the | Pascal Rigaux | 2008-03-07 | 1 | -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 Rigaux | 2008-02-25 | 1 | -2/+0 |
| | |||||
* | since ->filename is deprecated, do not use it, esp where not needed | Pascal Rigaux | 2008-02-25 | 1 | -3/+0 |
| | |||||
* | - add filesize to synthesis, add ->filesize to get it, and add | Pascal Rigaux | 2008-02-25 | 1 | -2/+21 |
| | | | | | selected_size_filesize() to compute the sum | ||||
* | - do not add FILENAME_TAG and FILESIZE_TAG to hdlist anymore, | Pascal Rigaux | 2008-02-25 | 1 | -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 Rigaux | 2008-02-25 | 1 | -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 is | Pascal Rigaux | 2008-02-25 | 1 | -3/+15 |
| | | | | | installed (#29838) | ||||
* | - fix sort choices changed in perl-URPM 3.08 | Pascal Rigaux | 2008-02-25 | 1 | -3/+3 |
| | |||||
* | - handle new package providing xxx which conflicts with an installed package ↵ | Pascal Rigaux | 2008-02-25 | 1 | -1/+1 |
| | | | | (#17106) | ||||
* | - sort choices on virtual package by provided version (#12645) | Pascal Rigaux | 2008-02-25 | 1 | -6/+25 |
| | |||||
* | fix typo | Pascal Rigaux | 2008-01-11 | 1 | -1/+1 |
| | |||||
* | resolve kmod requires even if first choice is a source dkms (adapted from Pixel) | Olivier Blin | 2008-01-10 | 1 | -1/+3 |
| | |||||
* | - fix regression in parse_pubkeys() (introduced in 3.00) (#36121) | Pascal Rigaux | 2007-12-20 | 1 | -1/+1 |
| | |||||
* | - replace ->import_needed_pubkeys and ->import_pubkey in favor of | Pascal Rigaux | 2007-12-10 | 1 | -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 Rigaux | 2007-12-10 | 1 | -5/+18 |
| | |||||
* | - much simpler --auto-select algorithm | Pascal Rigaux | 2007-11-22 | 1 | -107/+67 |
| | | | | | | (fixes #35718, ie auto-selecting with strict-arch) (!! DANGEROUS CHANGE !!) | ||||
* | fix typo | Olivier Blin | 2007-11-05 | 1 | -1/+1 |
| | |||||
* | - prefer precompiled kmod packages corresponding to installed kernels | Pascal Rigaux | 2007-10-01 | 1 | -3/+24 |
| | |||||
* | move _find_required_package__kernel_source() out of | Pascal Rigaux | 2007-10-01 | 1 | -5/+5 |
| | | | | | _find_required_package__sort() (since it's not really a sort) | ||||
* | re-indent | Pascal Rigaux | 2007-10-01 | 1 | -4/+4 |
| | |||||
* | create _find_required_package__kernel_source() out of ↵ | Pascal Rigaux | 2007-10-01 | 1 | -25/+28 |
| | | | | _find_required_package__sort() | ||||
* | - don't resolve suggested virtual packages if already installed (#34376) | Pascal Rigaux | 2007-10-01 | 1 | -0/+8 |
| | |||||
* | - also handle promotion via obsolete for conflicts | Pascal Rigaux | 2007-09-28 | 1 | -0/+5 |
| | |||||
* | create _find_packages_obsoleting() out of _handle_diff_provides() | Pascal Rigaux | 2007-09-28 | 1 | -8/+16 |
| |