| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
When there are deps issues (for example), ie an exit code 17 is
returned, dudf_exit wasn't called. Patch by Alexandre Lissy
|
| |
|
|
|
|
| |
Fixes #53690
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The parameter was actually implemented and working, dunno how I
overlooked that.
|
|
|
|
|
|
|
|
|
| |
I recently removed references to urpmi --auto-orphans from urpmi man
pages, but in fact, the bug was that the option wasn't parsed, the rest
of the code was here. However, given that many people are surprised
by which packages get auto-orphaned, it's better if it's not possible
for now to remove auto-orphaned packages at install time. This commit
removes the auto-orphans code from urpmi
|
| |
|
|
|
|
|
|
|
|
| |
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
|