Bug 1110 - Enhancement: selecting new packages in quick succession.
Summary: Enhancement: selecting new packages in quick succession.
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-03 00:43 CEST by Doug Laidlaw
Modified: 2011-05-06 18:07 CEST (History)
1 user (show)

See Also:
Source RPM: rpmdrake-5.26.8-1.mga1.src.rpm
CVE:
Status comment:


Attachments

Description Doug Laidlaw 2011-05-03 00:43:36 CEST
Description of problem:

Synaptic allows me to select a list of packages to install in rapid succession.  rpmdrake used to be like that.  Nowadays, I select one package and go for coffee while it downloads the description, whether I need the description or not.  One way around that is to set it to download descriptions to begin with.  Or I could use the command line.


Version-Release number of selected component (if applicable):
All.

How reproducible:
Select more than one package for installation

Steps to Reproduce:
1.
2.
3.
Comment 1 Ahmad Samir 2011-05-03 02:02:59 CEST
rpmdrake only downloads the info once per repo, by default you only have 4 enabled repos:
Core Release
Core Updates
Nonfree Release
Nonfree Updates

Updates aren't used in cauldron, so you only have 2 enabled repos; nonfree doesn't get that many packages so in reality you only have 1 enabled repo, so you should see the info-downloading dialogue only once :)

You can change the info download behaviour from drakrpm-edit-media -> Options -> Global Options; the "XML meta-data download policy".
Comment 2 Dave Hodgins 2011-05-03 05:22:31 CEST
It's downloading the xml files for the descriptions, etc.  To have
them downloaded when the urpmi.update is run add

  xml-info: always

to the global (first) section of /etc/urpmi/urpmi.cfg

CC: (none) => davidwhodgins

Comment 3 Doug Laidlaw 2011-05-03 10:32:56 CEST
Thanks Dave.  On my system there is no place in urpmi.cfg for it.  Is that parameter perhaps added to the command line calling it?  There is a man page for urpmi.cfg.  In the GUI, it can be set under the "options" menu.  I did that a while back.  I don't mind if they are downloaded only when specifically requested, and left off otherwise.
Comment 4 Ahmad Samir 2011-05-06 04:40:14 CEST
The GUI, edit-urpm-sources.pl or edit-urpm-sources.pl, writes to urpmi.cfg, at the top of the file between the curly brackets:
{
  xml-info: foo
}

foo being either never, on-deman, update-only or always.

But if you'd already set the option to your preference, I don't understand what the report is about....
Comment 5 Dave Hodgins 2011-05-06 09:26:22 CEST
Doug, I think this bug should be closed as Resolved/Invalid, as the choice is
available to have all of the xml files downloaded when the urpmi.update is
run, or when the descriptions are actually needed for rpmdrake.

If you agree, please change the status to Resolved/Invalid.
Comment 6 Doug Laidlaw 2011-05-06 13:20:00 CEST
I agree.  I had forgotten that it was settable at all.  I have never seen such a long-winded installation procedure as the default, anywhere else.  Once I have selected the package to download, I don't need the computer any longer to give me reasons why I should.  On to the next one!(In reply to comment #4)
> The GUI, edit-urpm-sources.pl or edit-urpm-sources.pl, writes to urpmi.cfg, at
> the top of the file between the curly brackets:
> {
>   xml-info: foo
> }
> 
> foo being either never, on-deman, update-only or always.
> 
> But if you'd already set the option to your preference, I don't understand what
> the report is about....

I had forgotten that the option was there, and it disappeared with the next installation from scratch.  I saw it when I mentioned it, but now I can't find it.  From memory, it was under "Options -> Global Options" but it isn't there now.  Surely it hasn't been removed by an update in the last day or so? I am comfortable with the idea of editing the config file as you suggest, but my config file is just a list of repositories with no options.  That kind of edit is not for new users.

Status: NEW => RESOLVED
Resolution: (none) => INVALID

Comment 7 Ahmad Samir 2011-05-06 18:07:40 CEST
The option is still there in the GUI, drakrpm-edit-media (aka edit-urpm-sources.pl ).

Note You need to log in before you can comment on or make changes to this bug.