Jump to content

list of packages needed to update


Guest Siarhei
 Share

Recommended Posts

Guest Siarhei

Hi all,

 

I want to get list of packages needed to be updated to download them later on other system.

 

The problem is that I have very slow connection (dial-up) on my home system. I could download updates on other system.

 

But I need to have list of packages to download.

 

/usr/sbin/MandrivaUpdate allows to get the list in a window.

 

Is there any way to get the list as text with command line tool?

Link to comment
Share on other sites

In terminal as root run this to update the media sources:

urpmi.update -a

then run this to get the links to the rpms:

urpmq --auto-select --sources

 

Then open a terminal and cd to the folders containing the downloaded rpms and run this as root:

urpmi *.rpm

this will solve the dependencies for you.

 

For a full reading, read here: http://forum.mandriva.com/viewtopic.php?t=88537

Link to comment
Share on other sites

The OP wants to be able to save a list of the files he needs to a text file, then download the contents of that text file on a different computer. His modem isn't fast enough to do as you instructed.

Link to comment
Share on other sites

URPMI is good. Install smart-gui or konsole smart. Look go to

 

http://www.mandrivauser.de/smarturpmi/

 

Now step by step work You added more repositories. If You can work in graphics type smart --gui or go to MENU ....Lex

Edited by Lexicon
Link to comment
Share on other sites

Guest Siarhei
In terminal as root run this to update the media sources:

urpmi.update -a

then run this to get the links to the rpms:

urpmq --auto-select --sources

 

Then open a terminal and cd to the folders containing the downloaded rpms and run this as root:

urpmi *.rpm

this will solve the dependencies for you.

 

For a full reading, read here: http://forum.mandriva.com/viewtopic.php?t=88537

 

Thanks. The first two commands give me the list of rpms I want to have.

Edited by Siarhei
Link to comment
Share on other sites

The first two commands give me the list of rpms I want to have.

If you want to make a list to use on the other system, you can run

urpmq --auto-select --sources > ~/update-list.txt

this will give you an update-list in your ~/home directory that you can transfer to the other system.

 

medo3891's third command will allow you to install the packages that you have downloaded on the other system without any problems.

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