Guest Siarhei Posted July 5, 2008 Report Share Posted July 5, 2008 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? Quote Link to comment Share on other sites More sharing options...
medo3891 Posted July 5, 2008 Report Share Posted July 5, 2008 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 Quote Link to comment Share on other sites More sharing options...
{BBI}Nexus{BBI} Posted July 6, 2008 Report Share Posted July 6, 2008 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. Quote Link to comment Share on other sites More sharing options...
Lexicon Posted July 6, 2008 Report Share Posted July 6, 2008 (edited) 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 July 7, 2008 by Lexicon Quote Link to comment Share on other sites More sharing options...
Guest Siarhei Posted July 6, 2008 Report Share Posted July 6, 2008 (edited) 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 July 6, 2008 by Siarhei Quote Link to comment Share on other sites More sharing options...
Greg2 Posted July 6, 2008 Report Share Posted July 6, 2008 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. Quote Link to comment Share on other sites More sharing options...
medo3891 Posted July 7, 2008 Report Share Posted July 7, 2008 Siarhei: Glad it worked. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.