| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
| |
o --auto-update is quite unsafe, but at least now it should be cleaner
(ensure $urpm doesn't have media twice)
bug triggered by --auto-update --update. still --auto-update --update should
not update non-update media...
|
|
|
|
|
| |
(occurs when using --install-src and a buildrequire is missing)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(it also fixes fork mess when debugging)
|
| |
|
|
|
|
|
|
|
| |
o fix --synthesis
(by handling synthesis argument the same way in urpmq, urpmi and urpmf)
|
|
|
|
|
|
|
| |
o default to selecting all the prefered packages according to installed
locales (need perl-URPM 1.81 to work)
|
|
|
|
|
|
|
|
|
| |
o do not prompt questions if not waiting for user answer
(for urpmi --force or urpme --force)
create message_input_() which deprecated message_input(), $o_default_input is
dumb IMO
|
|
|
|
|
|
| |
o enhance "columns" display of packages to install (esp. fit on 80 columns)
|
| |
|