Jump to content

where are the on-line update files stored?


keropi
 Share

Recommended Posts

Thank you Gowater. I am certainly doing some learning today. :thumbs:

 

Cheers. John.

 

Just to follow up. I just had a look in urpmi.conf and all it shows is the details of the sites chosen for Main, Contrib etc.,

I guess I need to type in a line but am not sure of its correct form. Any suggestion there ???.

Thanks in advance. John.

Edited by AussieJohn
Link to comment
Share on other sites

  • Replies 47
  • Created
  • Last Reply

Top Posters In This Topic

I'm interested to know also what you actually have to put in the /etc/urpmi.conf to make --noclean work while using MCC to get stuff. I done a little test and just put --noclean in, but it didn't save the rpm. :(

Link to comment
Share on other sites

Hello to a fellow Aussie. jagwah.

That is also pretty much what I tried and got the same result as well. We might get someone to show us the way soon.

 

Cheers. John.

 

PS What part of Aust. are you at ??. JB

Link to comment
Share on other sites

PS What part of Aust. are you at ??. JB

 

I'm just down the road from you AussieJohn, Ayr.

 

I guess we will have to wait until Gowator decides to enlighten us

 

Oh to be enlightened soon :D I'm just about to reinstall, and it would be handy, but I guess I can do it the hard way .... I mean the console way ;) It's all good learning anyway

Link to comment
Share on other sites

I guess we will have to wait until Gowator decides to enlighten us. I took a look at the files but found no pointer on how it should be added.

OK, sorry I have a life ... of sorts :D

 

Im looking now ...

According to man urmpi there is a man urmpi.files

Unfortunately its not installed and I can't find it through gurpmi ???

 

It used to exist and I had the line a long time ago .... but Im damned if I can find the documentation on the web....

 

I'm still looking

Link to comment
Share on other sites

According to man urmpi.cfg

 

  Global options
   Some global options can be activated by default. The  following  sample
   shows how to disable signature checking and avoid transaction splits :

   {
	 no-verify-rpm
	 split-length: 0
   }

 

However ......

pre-clean, post-clean, clean
		  Control  cache  management for urpmi, default is only post-clean
		  activated.

So either the option is removed OR just undocumented ....

 

If gurpmi just passed the options as options then

  Global options
		  {
   no-clean
		}

should work ....

Link to comment
Share on other sites

I've found this thread at www.linuxquestions.org, which claims to have solved the noclean conundrum.

 

I edited /usr/sbin/rpmdrake

There was only one occurence of post_clean_cache

so it was easy to change the parameter from "1" to "0"

The first link in the thread has the following:

Older versions of urpmi supported this construct in /etc/urpmi/urpmi.cfg;

 

{

post-clean: 0

pre-clean: 0

}

 

Meaning "don't flush the cache before or after", but I don't think it

works. 8-(

Link to comment
Share on other sites

Thankyou spinynorman for finding the answer.

Thankyou Gowator for bringing the subject of the possibility of doing this up.

and a big thankyou to Emmanuel uk from LinuxQuestions.org for working it out.....

 

Just done a couple of test runs and it works, both files were save to the /var/cache/urpmi/rpms folder.

 

Here is the relevant info to make it happen

 

Open the file /usr/sbin/rpmdrake

search for "post_clean_cache" there will only be 1 instance

change the 1 to a 0

save the file

and thats it.

 

Thank you all :thumbs:

Link to comment
Share on other sites

Thankyou spinynorman for finding the answer.

Glad it worked. B)

And its also nice when people say thank you.....

Sorry my info was out of date.... I just installed a Mandriva VM which is my first dabble since 10.1 which I was dissapointed with. Its really annoying to have the stuff deleted, specially if you have several machines...so its good we found a workaround...

 

Especially when you like dabbling (I have about 10 distro's installed right now and doing a FC install as i type) so I like trashing em and reinstalling ... and its all the little things you did after install that get tiring/annoying

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share


×
×
  • Create New...