| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
o in --auto, do not allow to install a package substring match
(you can use -a to force it)
|
|
|
|
|
| |
o ensure download when updating media (with --auto-update) is quiet
|
| |
|
|
|
|
|
| |
displayed in GUIs (gurpmi/rpmdrake/...)
|
|
|
|
|
| |
o fix --auto-update ignoring --media and default-media (#45097)
|
|
|
|
|
|
|
| |
o do not check wether the media are valid,
it allows "mv /etc/urpmi/urpmi.cfg.{backup,} ; urpmi.update -a" to work
(nb: not equivalent with urpmi.addmedia, since pubkey will not be imported)
|
|
|
|
|
|
| |
o handle --replacefiles, will be used by mdkonline
(require perl-URPM 3.19)
|
|
|
|
|
|
| |
o nice exit code for "bad signature" fatal error. Fixes rpmdrake continuing
on bad signature (#44575)
|
| |
|
|
|
|
|
| |
o create urpm::select::conflicting_packages_msg() for rpmdrake
|
| |
|
| |
|
|
|
|
|
| |
o handle --debug-librpm
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
o display a message "Package foo is already installed" when asking
"urpmi foo bar" and only installing bar (#41593)
(requires perl-URPM 3.16)
|
|
|
|
|
|
| |
o fix --replacepkgs when a package appears more than once in urpmi db (#40893)
(need perl-URPM 3.14)
|
|
|
|
|
|
| |
o --auto-update should behave like urpmi.update when mirrorlist is outdated
(cf http://forum.mandriva.com/viewtopic.php?t=86837)
|
|
|
|
|
|
| |
o --suggests is currently misleading, introduce --allow-suggests and explain
the user that --suggests really means --allow-suggests (#39726)
|
|
|
|
|
| |
o tell the user to "restart system" when it is needed
|
|
|
|
|
|
| |
o never suggest --install-src for spec file (#38876)
o do not allow "urpmi --install-src foo.spec"
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
you can now use more than one cdrom drive
big commit, no time to split it... some details:
- split urpm::removable into urpm::removable and urpm::cdrom
- fix setting $urpm->{removable_mounted}
- in try_mounting_non_cdroms(), check for local url, simpler than checking
is_cdrom_url and then checking file_from_local_medium
- fix _try_mounting_medium() not mounting non-cdrom anymore
(regression introduced during devel)
- even if urpmi says it wants cdroms in a given order, if you make a mistake,
it will use the one you give (as a side-effect, it simplifies the sort on
"already mounted" cdrom (cf _sort_media disappearing))
|
| |
|
|
|
|
|
|
| |
o display "%s of packages will be retrieved."
(need perl-URPM 3.10 and synthesis built with @filesize@)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o --buildrequires deprecate --src, --src is kept for compatibility but its
behaviour is changed a little (it doesn't download src.rpm anymore)
ie implement what i suggested on cooker mailing list:
Date: Thu, 15 Nov 2007 18:21:32 +0100
Subject: urpmi --src issues, suggesting replacing --src with --buildrequires
current situation:
% urpmi /xxx/foo.src.rpm
#=> installs foo.src.rpm buildrequires
% urpmi --install-src foo bar
#=> downloads foo.src.rpm bar.src.rpm and "rpm -i"
% urpmi --help | grep -- --src
--src, -s - next package is a source package.
% urpmi --src foo
#=> urpmi says it will install foo buildrequires + foo.src.rpm
#=> in fact, it only installs foo buildrequires
weird cases in current urpmi:
% urpmi --src foo bar
#=> equiv to "urpmi --src foo ; urpmi bar"
% urpmi foo --src bar
#=> equiv to "urpmi --src foo bar" above :-(
% urpmi --src foo --src bar
#=> equiv to "urpmi --src foo bar" :-(
suggestions:
1) we could make --src a global option:
% urpmi --src foo bar
#=> would install buildrequires of foo.src.rpm and bar.src.rpm
cons: it breaks compatibility (though i'm quite sure noone uses the
previous behaviour)
2) deprecate --src, introduce with --buildrequires:
% urpmi --buildrequires foo bar
#=> would install buildrequires of foo.src.rpm and bar.src.rpm
3) when doing "urpmi /xxx/foo.src.rpm", warn the user that it should
use either "--install-src" or "--buildrequires", and that urpmi is
defaulting to "--buildrequires"
2) and 3) are implemented now
|
|
|
|
| |
from urpmi.cfg)
|
|
|
|
|
|
| |
o deprecate --curl and --wget in favor of --downloader curl
and --downloader --wget
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
even if there is only one priority upgrade package (since there will be
more packages to install after restarting urpmi)"
since we don't want to prompt if all pkgs have been especially prompted on
command-line
also not using suggests when selecting pkgs in priority-upgrade
(nb: this may by-pass some suggests in priority-upgrade pkgs, need more
checking)
|
|
|
|
|
|
|
|
|
| |
o always prompt before doing a priority-upgrade transaction, even if there
is only one priority upgrade package (since there will be more packages to
install after restarting urpmi)
see bug #36483 which mention this
|
|
|
|
|
|
|
| |
o drop option "-c" which used to clean /var/cache/urpmi/headers
since we don't use that dir anymore :)
|
|
|
|
|
| |
o drop hdlist support (will be replaced with xml media_info)
|
|
|
|
|
|
|
|
| |
o do remove __db* on priority-upgrade
(fix regression introduced in 4.10.15)
(may fix #36190)
|
|
|
|
|
| |
(it may be a little stricter for urpmi since we exit(1) on parse_cmdline error)
|
| |
|
|
|
|
|
|
|
|
| |
o small transactions should have at least 8 packages
(ie --split-length is now 8 by default)
o do not do a big transaction if installing less than 20 packages
(ie --split-level is now 1 by default)
|
|
|
|
|
|
|
| |
o exit with code 1 after displaying usage (instead of exit code 0)
(urpmi exit code "1" is correctly documented in urpmi's manpage)
|