Updating urpmi database

posted by | Leave a comment

Once you have a good list of the sources that are available you'll want to search to find out which packages are installed.

The easiest way is to just use RPM with the -q (query) flag: This will let you know if the package is installed. What if you want a package that has to do with My SQL but you're not sure what the exact name is.

For instance, say you wanted to add a new media source for 'main' from France, you would use the command: where [long_url] is the URL to the actual repository.

The source name will be 'main', the URL is the location of the packages and the last piece is a relative URL that holds the CZ list.

It is not universal and is only written for the Mandriva Linux distribution and does not apply to other distributions that use other package management systems.

updating urpmi database-66updating urpmi database-65updating urpmi database-77updating urpmi database-75

Be aware, however, that this may require some user input so it's not a good option for scripting.While Mandriva Linux come pre-bundled with the Mandriva Control Center application that allows you to quickly and easily select packages to install or update, often the power and flexibility of the command line is required.Many users of Mandriva may not even be aware that there is a command line option to install and manage packages.At the very least you're going to want a source for 'main' and one for 'updates'.The updates source is the place where the newest versions of software including patches, bug fixes and security updates are located.

Leave a Reply

Virtual sex on video chat