Jump to content

Updating via SSH


energymedia
 Share

Recommended Posts

Hey all,

 

I have a server (MDK 9.2) running at a remote location. SSH is running on the server. I have configured URPMI so I can install applications as I need them. I need to know how I would go about performing an update on the server while in an SSH session (CLI), as opposed to using Mandrakeupdate from a GUI.

 

Any help would be greatly appreciated.

Link to comment
Share on other sites

I usually do this to get info on the latest updates:

 

urpmq -r --auto-select --update

 

Then I fetch and install them with:

 

urpmi --auto-select --update

 

Also, you may want to update your media before doing the above, using the following command:

 

urpmi.update -a

 

If you want all media included, not only update media, then just remove --update from the commands:

 

urpmq -r --auto-select

urpmi --auto-select

 

I hope it helps!

Link to comment
Share on other sites

I'm sure you know this, but you may also get info and/or install packages individually by ommiting --auto-select and specifying the package names of your choice.

 

For instance:

 

urpmi gaim evolution

 

The following will also give you a pretty good description of each package:

 

urpmq -i gaim evolution

 

Anyway, you'll get this and much more by reading the man pages for these commands. These are just the options I tend to use more often.

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...