Jump to content

interrupt the URPMI


ilia_kr
 Share

Recommended Posts

Hi,

1. I want to update my mandriva2006, i'll take few hours i presume, so the question is: can i start the update, that pause it for, say a day or two, and than resume from the last point?

2. How can interrupt the urpmi while installing and not by closing the console?

 

Thanks

Link to comment
Share on other sites

I think you can interrupt using CTRL-Z or CTRL-C. I know both will stop the program, and I think CTRL-Z is the more cleaner approach from when I've used it myself when CTRL-C didn't work.

 

The above urpmi parameter from arctic will solve the resume problem.

Link to comment
Share on other sites

urpmi --resume --auto-select

is what you are looking for.

 

I've always used

urpmi --auto-select --no-install

 

When I know that I don't have enough time to install or download all the packages. I have broadband connection, so it's not the problem, just running out of time sometimes. :P

 

Same command resumes the download. After all files have been downloaded, use

urpmi --auto-select

to install.

 

Or maybe I just have to learn to use the parameters that arctic showed us. :P

 

EDIT: I wouldn't stop a running urpmi session with CTRL+Z or CTRL+C, because there's a possibility that urpmi doesn't remove the lock, like this one here Mandrivausers.org - urpmi database locked. It's easy to remove the lock (reboot or remove the locking file), but it needs more work and some servers just can't be rebooted just for urpmi.

Edited by Murda
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...