poldek install command line and textui mismatch

Bug #729521 reported by Elan Ruusamäe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
poldek
New
Undecided
Unassigned
PLD Linux
New
Undecided
Unassigned

Bug Description

please make "poldek --install" and "poldek> install" behave identically

currently textui seems to do "rpm upgrade", while commandline seems to do "rpm install":

poldek:/all-avail> ins kernel-nogrsecurity-2.6.35.11-1.i686 kernel-nogrsecurity-drm-2.6.35.11-1.i686 --nohold
Processing dependencies...
kernel-nogrsecurity-2.6.35.9-2.i686 obsoleted by kernel-nogrsecurity-2.6.35.11-1.i686
kernel-nogrsecurity-drm-2.6.35.9-2.i686 obsoleted by kernel-nogrsecurity-drm-2.6.35.11-1.i686
  greedy upgrade kernel-nogrsecurity-sound-alsa-2.6.35.9-2.i686 to 2.6.35.11-1.i686 (unresolved kernel-nogrsecurity = 3:2.6.35.9-2)
   kernel-nogrsecurity-sound-alsa-2.6.35.9-2.i686 obsoleted by kernel-nogrsecurity-sound-alsa-2.6.35.11-1.i686
There are 3 packages to install (1 marked by dependencies), 3 to remove:
I kernel-nogrsecurity-2.6.35.11-1.i686 kernel-nogrsecurity-drm-2.6.35.11-1.i686
D kernel-nogrsecurity-sound-alsa-2.6.35.11-1.i686
R kernel-nogrsecurity-2.6.35.9-2.i686 kernel-nogrsecurity-drm-2.6.35.9-2.i686 kernel-nogrsecurity-sound-alsa-2.6.35.9-2.i686
This operation will use 511.0B of disk space.
Need to get 32.1MB of archives (32.1MB to download).

poldek:/all-avail>

$ poldek --sn carme -i kernel-nogrsecurity-2.6.35.11-1.i686 kernel-nogrsecurity-drm-2.6.35.11-1.i686 --nohold
Loading [pndir]carme...
1014 packages read
Processing dependencies...
There are 2 packages to install:
I kernel-nogrsecurity-2.6.35.11-1.i686 kernel-nogrsecurity-drm-2.6.35.11-1.i686
This operation will use 31.8MB of disk space.
Need to get 30.1MB of archives (30.1MB to download).

Revision history for this message
Elan Ruusamäe (glen666) wrote :

by identically i mean, do the "rpm install" mode always.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.