[SOLVED] Differences between rpmdrake and urpmi

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Differences between rpmdrake and urpmi

Postby wobo » Jun 1st, '12, 10:15

Installation of MGA2 from free DVD. After installation I configured package media, including non-free and tainted.

During installation I also installed packages like mplayer and vlc which have extended version in tainted. So when I configured the media and started the graphical update function from MCC I expected those packages to be updated to their "tainted" versions (including additional libs and plugins f.ex. gstreamer-ugly and such things. They were not. The GUI said: "No packages available for updates."

I closed rpmdrake and right after I did 'urpmi --auto-update'. urpmi told me that all media were up-to-date, but it listed 39 packages available for updates, including all the expected packages from tainted.

To re-check I closed without updating and opened the update GUI again. And again the GUI did not offer any packages for updates. Then I did the update of the 39 packages via urpmi, no problems.

Is there any explanation why the commandline tool offers packages while the GUI does not although both are using the same information?
Last edited by wobo on Jun 1st, '12, 10:53, edited 1 time in total.
wobo
---
And a new day will dawn for those who stand long
And the forests will echo with laughter
(Stairway to Heaven, Led Zeppelin)
User avatar
wobo
 
Posts: 1649
Joined: Mar 22nd, '11, 17:13

Re: Differences between rpmdrake and urpmi

Postby Ken-Bergen » Jun 1st, '12, 10:36

I thought we'd been over this before. :shock:

The GUI updater only looks at repositories flagged as updates.
'urpmi --auto-u' looks at all enabled repositories.
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: Differences between rpmdrake and urpmi

Postby wobo » Jun 1st, '12, 10:52

Ken-Bergen wrote:I thought we'd been over this before. :shock:

The GUI updater only looks at repositories flagged as updates.
'urpmi --auto-u' looks at all enabled repositories.

Arf!
I know that and still I did not think of it! May be because I use the GUI only once or twice a year...

Sorry for the dumb question!
wobo
---
And a new day will dawn for those who stand long
And the forests will echo with laughter
(Stairway to Heaven, Led Zeppelin)
User avatar
wobo
 
Posts: 1649
Joined: Mar 22nd, '11, 17:13

Re: Differences between rpmdrake and urpmi

Postby Ken-Bergen » Jun 1st, '12, 10:58

wobo wrote:Sorry for the dumb question!
As someone once said "The only dumb question is the one not asked."
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: [solved] Differences between rpmdrake and urpmi

Postby wobo » Jun 1st, '12, 11:29

As someone posted:
"sorry for the dumb question" is just a rethorical "sorry".
:)
wobo
---
And a new day will dawn for those who stand long
And the forests will echo with laughter
(Stairway to Heaven, Led Zeppelin)
User avatar
wobo
 
Posts: 1649
Joined: Mar 22nd, '11, 17:13

Re: [SOLVED] Differences between rpmdrake and urpmi

Postby S_W » Jun 1st, '12, 22:56

The GUI updater only looks at repositories flagged as updates.
'urpmi --auto-u' looks at all enabled repositories.

Emmmm - is there a special reason for this behaviour? ^^^
For me as a Mageia beginner it would be more logical if GUI updater and Terminal command would have the same result.

Could anybody please enlight me? Image
S_W
 
Posts: 2
Joined: Jun 1st, '12, 22:51

Re: [SOLVED] Differences between rpmdrake and urpmi

Postby djennings » Jun 2nd, '12, 02:06

The GUI uses only update media to avoid you accidentally installing packages from the backports repository. Packages in backports are not subject to as rigorous QA and so should only be installed by choice.

The command line has many options to control its behaviour. With the --update switch it behaves just like the GUI and will use only update media. (The GUI is after all only a front end to the command line)

BTW: There are two ways to update using GUIs. The update GUI will only use update media as discussed, but if you use the Install/Remove GUI and list 'All Updates' it will show the most recent packages from all enabled repositories.
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: [SOLVED] Differences between rpmdrake and urpmi

Postby S_W » Jun 2nd, '12, 02:11

Code: Select all
(The GUI is after all only a front end to the command line)

^^^ Sure :mrgreen:

Thanks a lot for answering!
S_W
 
Posts: 2
Joined: Jun 1st, '12, 22:51

Re: [SOLVED] Differences between rpmdrake and urpmi

Postby Ken-Bergen » Jun 2nd, '12, 04:54

djennings wrote:The GUI uses only update media to avoid you accidentally installing packages from the backports repository. Packages in backports are not subject to as rigorous QA and so should only be installed by choice.
Are you serious?
Anyone who enables backports and leaves it enabled has already shot them self in the foot.

It's more likely to be big brother telling you what you can and can't do, sort of like "Install and Remove Software" only showing packages with GUI.
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: [SOLVED] Differences between rpmdrake and urpmi

Postby doktor5000 » Jun 2nd, '12, 09:52

djennings wrote:BTW: There are two ways to update using GUIs. The update GUI will only use update media as discussed, but if you use the Install/Remove GUI and list 'All Updates' it will show the most recent packages from all enabled repositories.


Exactly, IIRC there was also another view to only show Backports (which is currently useless/empty as there are none of those) which can be used to selectively install such packages. This is better for novices, everybody else will probably use urpmi --auto-update for the core/tainted switch or similar tasks.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron