summaryrefslogtreecommitdiffstats
path: root/urpm
Commit message (Collapse)AuthorAgeFilesLines
* remember which media local packages came fromChristophe Fergeau2010-04-281-1/+6
| | | | | | | | | | | | | | | | | | | | | | It's sometimes possible that a package is available from both a local medium (CDROM) and a distant one. This causes problems when the package isn't signed with the same key (this is bad but happens on MES5 install CDs) as urpmi tends to get confused about where a package comes from and then check the package against the wrong key. Packages are assigned IDs by urpmi, and these IDs are used to figure out the package media. This ID is also used as an identifier to "recognize" identical packages coming from different media, so we need to be careful when manipulating it. In particular, we can't assign the right ID to every package right away because then this would break package downloading (we'd download packages available on local media). When processing packages to download, if we encounter a local package, we assign it the right ID. This assumes the list of media in the blist are sorted by order of relevance (ie prioritary ones first).
* when using --update, allow to get dependencies from non-update mediaChristophe Fergeau2010-04-231-3/+11
| | | | Fixes #51268
* (add_distrib_media) disable non-free repository by default for FreeThierry Vignaud2010-02-251-8/+7
| | | | edition instead of not adding them (#40033)
* perl_checker cleanupsThierry Vignaud2010-02-241-3/+3
|
* (add_distrib_media) do not add non-free repository by default for Free ↵Thierry Vignaud2010-02-241-0/+11
| | | | edition (#40033)
* (run) reindent (pixel didn't wanted it at the time b/c it added oneThierry Vignaud2010-02-011-295/+295
| | | | layer in history but it's more readable that way...)
* - silence warning about urpm::media::PER_MEDIA_OPT used only onceMichael Scherer2010-01-221-0/+1
|
* - add md5sum module, as it is used later. It is cleaner to delcare what ↵Michael Scherer2010-01-221-0/+1
| | | | | | | module are used instead of relying on others modules to load it. This also prevent some loop and warnings.
* - remove uneeded module use, as this give some warningsMichael Scherer2010-01-221-1/+0
|
* - use a anonymous subroutine, so perl will rebind variables declared outside ↵Michael Scherer2010-01-221-4/+6
| | | | | | | of the subroutine. This bug prevent rpmdrake from installing two set of packages ( bug #54842 )
* don't crash when parsing an invalid media.cfg file in /etc/urpmi/mediacfg.dChristophe Fergeau2010-01-151-1/+1
|
* perl_checker cleanupChristophe Fergeau2010-01-121-1/+1
|
* fix handling of media with redirectionsChristophe Fergeau2010-01-121-1/+1
| | | | This was broken when trying to handle $RELEASE/$ARCH in urpmi.addmedia
* honour $RELEASE/$ARCH/... in urpmi.addmedia --distribChristophe Fergeau2010-01-121-3/+5
|
* (_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
|
* reload mirror list cache if it's in an "old" formatChristophe Fergeau2009-12-081-0/+3
| | | | | | | | old mirror list caches didn't store the time of the product.id file. When such a file is encountered, make sure we invalidate the cache. Otherwise, when upgrading from a distro where the mirror list cache didn't have the product.id mtime to a distro where the mirror list cache would have it, the mirror list cache won't be invalidated
* update copyrightThierry Vignaud2009-11-2411-11/+11
|
* (handle_need_restart) do not advice to reboot when inside a chrootThierry Vignaud2009-11-241-0/+1
|
* (handle_need_restart) split it out of run() for readabilityThierry Vignaud2009-11-241-8/+18
| | | | (it has kept growing and it's needed for next commit anyway)
* (run) perl_checker cleanupThierry Vignaud2009-11-241-1/+1
|
* documentation files for urpmi-dudf addedOlivier Rosello2009-11-201-0/+28
|
* 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
* don't cache media.cfg files on virtual mediaChristophe Fergeau2009-11-101-2/+6
| | | | | | media.cfg files were cached to /etc/urpmi/media.cfg even when using --use-distrib or other media for which we don't want to cache the media matadata. Make sure we no longer do that.
* don't use aria2 to fetch mirrorlist, fixes #53434Christophe Fergeau2009-10-292-5/+13
|
* 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.
* add --not-available option to urpmqChristophe Fergeau2009-10-211-0/+1
| | | | | | | | Patch from Pascal Terjan, fixes bug #51418 urpmq --not-available shows the packages that are installed but no longer available in the configured media. This can be helpful to figure out which packages are obsolete after a few distro upgrades.
* make sure we don't use aria2 to fetch mirrorlistsChristophe Fergeau2009-10-212-2/+2
| | | | | | aria2 downloader currently doesn't work when we append a reason string to the api.mandriva.com URL, lamely fix that by making sure it's not used when grabbing a mirrorlist
* parse download-all argument in gurpmi tooChristophe Fergeau2009-10-211-1/+1
|
* fix dubious string ( '.' after \n)Christophe Fergeau2009-10-211-1/+1
|
* print PID of process locking the URPMI databaseChristophe Fergeau2009-10-151-1/+21
|
* allow to define the cache directory for RPMs when setting --download-allChristophe Fergeau2009-10-152-3/+7
|
* in download-all mode, download packages one by oneChristophe Fergeau2009-10-151-3/+10
| | | | | This is to make sure that already downloaded packages aren't downloaded again if urpmi were to restart for whatever reason
* use references to return 2 distinct listsChristophe Fergeau2009-10-151-9/+8
|
* perl_checker cleanupsThierry Vignaud2009-10-151-3/+3
|
* (install_logger) use urpm->{print} callback tooThierry Vignaud2009-10-151-1/+1
|
* don't call exit in main_loop or titi won't be so happy ;)Christophe Fergeau2009-10-141-1/+1
|
* perl_checker fixesChristophe Fergeau2009-10-132-2/+2
|
* check the FS has enough space before trying to download all packagesChristophe Fergeau2009-10-132-2/+32
|
* add df function to urpm/sys.pmChristophe Fergeau2009-10-131-0/+8
|
* download all packages firstChristophe Fergeau2009-10-131-33/+49
|
* add --download-all options to enable downloading of all packages before installChristophe Fergeau2009-10-131-0/+1
|
* improve strings used when asking to restart system/session (#53126)Christophe Fergeau2009-10-131-1/+8
|
* (_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!!!
* fix parsing of "download complete" messages from aria2Christophe Fergeau2009-10-051-1/+1
| | | | Fixes bug #53749
* (_compute_flags_for_skiplist) do not display skiped packages on console by ↵Thierry Vignaud2009-10-021-1/+1
| | | | default with rpmdrake
* Do not list as orphans kernel packages which where not installe through ↵Pascal Terjan2009-09-281-2/+5
| | | | dependencies (#53425)