Page 1 of 1

[SOLVED] downloaded rpms stored where?

PostPosted: Dec 24th, '12, 11:12
by Trio3b
Been a while since used urpmi. Using Mag 2 and have unchecked "delete downloaded rpms after successful install" in media manager. I thought they were in /var/cache/urpmi/rpms but there is nothing there after having downloaded some stuff.

Has location been changed since MDK 2008.1?

Also a quick explanation of the meaning of (distr x) after each mirror?

Thanks

Re: downloaded rpms stored where?

PostPosted: Dec 24th, '12, 13:35
by jkerr82508
IIRC unchecking that option in rpmdrake doesn't work. You need to edit /etc/urpmi/urpmi.cfg and insert
Code: Select all
{
post-clean :0
}

or use urpmi with the --noclean option from the command line.

Jim

Re: downloaded rpms stored where?

PostPosted: Dec 25th, '12, 01:42
by jkerr82508
A bug report has been opened by someone today. Here's the link for anyone seeing this thread who may want to follow developments.

https://bugs.mageia.org/show_bug.cgi?id=8492

Jim

Re: downloaded rpms stored where?

PostPosted: Jan 2nd, '13, 18:56
by Trio3b
Yes that was me and apparently accepted. Been a while since I used mdk/mdv and rpmdrake.

Could you kindly explain the (distrib x) after each repo listing in media manager?

Thanks

Re: downloaded rpms stored where?

PostPosted: Jan 2nd, '13, 23:14
by jkerr82508
"distrib-x" is a unique name assigned to the source. This is necessary in order to distinguish among media sources - if, for example you set up two or more sets of sources. Your sources have been set up using the GUI media manager which assigns the names distrib-1, distrib-2 etc.
Code: Select all
man urpmi.addmedia
provides more technical information.

Jim

Re: downloaded rpms stored where?

PostPosted: Jan 2nd, '13, 23:42
by doktor5000
You only get that if you're adding the repos via MCC/drakrpm-edit-media.
As i don't have them (adding my repos via urpmi --distrib) i can only try to remember.
The range from 10-19 are used for Core repo, 20-29 for Nonfree and 30-39 for Tainted.
Every repo has the same branches, and they are counted ascending from 0 to 9:

Release
Release Debug
Updates
Updates Debug
Updates Testing
Updates Testing Debug
Backports
Backports Debug
Backports Testing
Backports Testing Debug

You may want to read a bit about the mirror setup https://wiki.mageia.org/en/Mirrors_policy

Re: downloaded rpms stored where?

PostPosted: Jan 3rd, '13, 09:25
by Trio3b
Thanks for the tips.

Re: downloaded rpms stored where?

PostPosted: Jan 3rd, '13, 16:40
by jkerr82508
doktor5000 wrote:As i don't have them (adding my repos via urpmi --distrib) i can only try to remember.

On a 64 bit cauldron, I have

core: distrib1 thru distrib10
nonfree: 11 thru 20
tainted: 21 thru 30
core (32 bit): 31 thru 40.

(Sources added using the ADD option in the GUI media manager.)

Jim

Re: downloaded rpms stored where?

PostPosted: Jan 3rd, '13, 21:17
by doktor5000
jkerr82508 wrote:
doktor5000 wrote:As i don't have them (adding my repos via urpmi --distrib) i can only try to remember.

core (32 bit): 31 thru 40.


Ahh, yes, forgot that one. But otherwise i was only off by one, that can happen in IT :)