summaryrefslogtreecommitdiffstats
path: root/urpm/orphans.pm
Commit message (Collapse)AuthorAgeFilesLines
* (_all_unrequested_orphans) fix reading unrequested packages listThierry Vignaud2012-01-061-5/+4
| | | | | | | | (/var/lib/rpm/installed-through-deps.list) when chrooted (was trying to read out of chroot one when computing orphans) (compute_future_unrequested_orphans,get_orphans) adapt to new calling convention
* (get_now_orphans_gui_msg) introduce it for rpmdrake (#920)Thierry Vignaud2011-09-171-0/+13
|
* (_get_now_orphans_raw_msg) split it out of get_now_orphans_msg()Thierry Vignaud2011-09-171-2/+10
| | | | (needed for next commit)
* (_kernel_callback) add packages requiring orphan kernels to the orphanThierry Vignaud2010-01-051-2/+13
| | | | lists too, eg dkms packages (#53414)
* rename @requested_kernels as @latest_kernels as its purpopse really is toThierry Vignaud2010-01-051-3/+3
| | | | | track latest kernels for every flavor, not kernel packages that are required by 3rd party packages
* perl_checker cleanups & annotationsThierry Vignaud2010-01-051-2/+4
|
* test for /boot/vmlinuz-$release existence before using itChristophe Fergeau2009-11-181-1/+1
| | | | | | kernel orphaning assumes this file is present, however in rare cases when the user erased its running kernel (or in chroots), the file may not exist which causes an error message
* be careful when an obsoleted package is listed in potential orphansChristophe Fergeau2009-10-281-2/+4
| | | | | | | | | | When package B obsoletes package A and package A is listed as a potential orphan (ie it appears in installed-through-deps.list), then B is marked as a potential orphan too (since "obsoletes" more or less means that A was renamed to B). However, if B was originally installed and does not appear in installed-through-deps, that means it's not a potential orphan and thus it shouldn't be added to the potential orphans list. Fixes #54590.
* (_all_unrequested_orphans,_kernel_callback) fix commit ignoring kernelThierry Vignaud2009-10-131-3/+4
| | | | | | | | packages explicitely installed (aka not in /var/lib/rpm/installed-through-deps.list) (#53425) which r261072 by pterjan on 2009-09-28 tried to do now kernel orphans are handled again
* _kernel_callback) better commentThierry Vignaud2009-10-131-1/+1
|
* fix bogus logic referencing non existent variables introduced in commit r261072Thierry Vignaud2009-10-131-1/+1
| | | | | | | | | by pterjan on 2009-09-28 which just broke kernel orphaning (was: "Do not list as orphans kernel packages which where not installe through dependencies (#53425)" warning: run perl_checker next time!!!
* Do not list as orphans kernel packages which where not installe through ↵Pascal Terjan2009-09-281-2/+5
| | | | dependencies (#53425)
* exclude kernel-source from orphan processing (#53426)Christophe Fergeau2009-09-041-1/+1
|
* move "\n" out of translatable stringChristophe Fergeau2009-08-311-2/+2
|
* (_get_current_kernel_package) explainThierry Vignaud2009-08-201-0/+1
|
* (_kernel_callback,_get_orphan_kernels,_all_unrequested_orphans) offerThierry Vignaud2009-08-201-0/+48
| | | | | | | to remove old kernels (excluding the running one) do not do anything if we failed to detect the running one (ie: chroot))
* (_get_current_kernel_package,_all_unrequested_orphans) do not offer to ↵Thierry Vignaud2009-08-201-0/+11
| | | | remove current kernel
* perl_checker cleanupThierry Vignaud2009-08-201-1/+1
|
* module must return a true valueThierry Vignaud2009-08-201-0/+2
|
* add new line after message suggesting to remove orphansChristophe Fergeau2009-08-201-2/+2
| | | | Fixes bug #53003
* fix string committed in previous commit to make it translatableChristophe Fergeau2009-08-101-4/+2
|
* improve message notifying about orphansChristophe Fergeau2009-08-101-3/+5
| | | | patch from François, fixes bug #42484
* Fix some spelling mistakesPascal Terjan2009-08-031-1/+1
|
* String fixes from John RyeChristophe Fergeau2009-04-021-2/+2
|
* Oops, stupid typoChristophe Fergeau2009-02-161-1/+1
|
* Improve wording of the message telling orphans can be removedChristophe Fergeau2009-02-161-2/+2
|
* Make perl-checker happyChristophe Fergeau2009-01-131-1/+1
|
* Code cleanups after pixel feedbackChristophe Fergeau2009-01-131-8/+9
|
* mark packages that were initially installed through deps, removed andChristophe Fergeau2009-01-131-12/+12
| | | | reinstalled as non-orphanable, fix writing of installed-through-deps
* Mark packages as "manually installed"Christophe Fergeau2009-01-131-3/+35
| | | | | | | | With the orphan mechanism, there is no way to manually mark a package that was installed as a dep of another package as not being a potential orphan. Mimic apt and if an already package is passed as an argument to urpmi, remove it from the potential orphans list. Fixes bug #45054.
* add some commentsPascal Rigaux2009-01-061-0/+11
|
* use "use strict" in all modulesPascal Rigaux2009-01-061-0/+1
|
* give clearer name to some functionsPascal Rigaux2009-01-061-7/+7
|
* enhance docPascal Rigaux2009-01-061-1/+2
|
* fix commentPascal Rigaux2009-01-061-1/+1
|
* add commentPascal Rigaux2009-01-061-1/+3
|
* add commentPascal Rigaux2009-01-061-0/+3
|
* (installed_leaves) do not list suggested packages as unrequested packages ↵Thierry Vignaud2008-12-151-1/+1
| | | | (#46326)
* - urpmiPascal Rigaux2008-10-281-2/+3
| | | | | | | | o fix "urpmi firefox mozilla-firefox-ext-google-toolbar ; urpme --auto-orphans mozilla-firefox-ext-google-toolbar" which must not remove firefox (cf #45054) (this is especially bad for DrakX/rpmsrate)
* - implement urpme --envPascal Rigaux2008-10-271-2/+2
| | | | | - handle urpme --auto-orphans --env
* export new_unrequested() (for future use in drakx (?))Pascal Rigaux2008-09-251-3/+3
|
* o fix orphans handling: an already installed pkg must not becomePascal Rigaux2008-09-091-3/+6
| | | | | | | "unrequested" because a new version of it is required fixes test_urpme(['gg', 'g'], 'g', 'g', 'gg-2');
* partially revert previous commit Pascal Rigaux2008-09-061-6/+6
| | | | | (_selected_unrequested() doesn't need $current_unrequested)
* - cleanup doc of _renamed_unrequested()Pascal Rigaux2008-09-061-7/+7
| | | | | - move things around for next commit
* - urpmiPascal Rigaux2008-08-201-1/+3
| | | | | | o do not write useless "foo (obsoletes foo-xxx)" in installed-through-deps.list (#42167)
* o sort the list of orphansPascal Rigaux2008-07-111-1/+1
|
* o fix creation of chroot with --root by using ↵Pascal Rigaux2008-07-101-7/+7
| | | | | | | | | /var/lib/rpm/installed-through-deps.list (instead of having it in /var/lib/urpmi) it's a saner place to put this file anyway
* - urpmi, urpme, urpmq:Pascal Rigaux2008-07-091-1/+1
| | | | | | | | o fix orphans handling: suggested packages must not be detected as orphans (reported on cooker ml: perl-Mail-DomainKeys suggested by spamassassin was detected as orphan)
* fix detecting urpme creates a new orphan through "suggests"Pascal Rigaux2008-07-071-1/+1
|
* fix typoPascal Rigaux2008-07-071-1/+1
|