LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices



Old

How to save your rpm's for future reuse in Mandriva. p5 of 10

Posted 05-12-2010 at 01:14 AM by GlennsPref

Code:
Code:
sudo mv -v /home/glenn/local/Archive/2010.0/i586/*mdv2010.1.i586.rpm /home/glenn/local/Archive/2010.1/i586/ 

echo "cleanup-stagglers" 
sudo mv -v /home/glenn/local/Archive/2010.1/noarch/*2010.1.x86_64.rpm /home/glenn/local/Archive/2010.1/x86_64/ 
sudo mv -v /home/glenn/local/Archive/2010.1/noarch/*2010.1.i586.rpm /home/glenn/local/Archive/2010.1/i586/ 
sudo mv -v /home/glenn/local/Archive/2010.0/noarch/*4.3.8*mdv2010.1.x86_64.rpm /home/glenn/local/Archive/2010.1/kde/
...
Senior Member
Posted in Uncategorized
Views 301 Comments 0 GlennsPref is offline
Old

How to save your rpm's for future reuse in Mandriva. p4 of 10

Posted 05-12-2010 at 01:12 AM by GlennsPref

Code:
Code:
#! /bin/zsh 
#echo "/home/glenn/build/rpms/organise-rpms" 
echo "organise-rpms" 
echo "Called by, ~/bin/backup-rpms" 
echo "organising saved rpm cache for local archives....." 
#1st Level 

sudo mv -v  /var/cache/urpmi/rpms/*2010.0*rpm /home/glenn/local/Archive/2010.0/noarch/ 
sudo mv -v  /var/cache/urpmi/rpms/*2010.1*rpm /home/glenn/local/Archive/2010.1/noarch/ 

sudo cp
...
Senior Member
Posted in Uncategorized
Views 334 Comments 0 GlennsPref is offline
Old

How to save your rpm's for future reuse in Mandriva. p3 of 10

Posted 05-12-2010 at 01:10 AM by GlennsPref

Code:
That is all it did.

	Of course to simplify the editing of this script, it calls other scripts that do most of the work,
 and it's still a “work in progress”(wip). It has some text to put up on the screen to give some
 feedback to the user of what stage the process is up to, and although some of them are duplicated in
 the other scrips, it works quite well (IMHO).
Code:
#! /bin/zsh 
#echo "/home/glenn/bin/backup-rpms" 
echo  "/home/glenn/bin/backup-rpms"
...
Senior Member
Posted in Uncategorized
Views 309 Comments 0 GlennsPref is offline
Old

How to save your rpm's for future reuse in Mandriva. p2 of 10

Posted 05-12-2010 at 01:04 AM by GlennsPref

Code:
	Now with all of that it only takes a second to convert the list and I can enjoy my time doing
 what ever else I like.

	I hope someone else finds this helpful, cheers and kind regards, Glenn (GlennsPref@gmail.com)

	Scripts with explanations....

	The first was a backup script which only collected the downloaded rpms from /var/cache/urpmi/rpms to a directory safe within /home/glenn/....I have many partitions, don't know
 why, Maybe just because
...
Senior Member
Posted in Uncategorized
Views 349 Comments 0 GlennsPref is offline
Old

How to save your rpm's for future reuse in Mandriva. p1 of 10

Posted 05-12-2010 at 12:58 AM by GlennsPref

Code:
	How to save your rpm's for future reuse in Mandriva. By Glenn Waller 28th April 2010.

	Why did I decide to reuse the downloaded rpm's (Redhat Package Management)?
To save time, connectivity problems (Internet) Bandwidth and embarrassment after I broke the system. I have added my scripts with explanations to the end of this paper but they are customised for my system, so read and edit them before trying to use them. ;-)

	How I started reusing the saved rpm's.
...
Senior Member
Posted in Uncategorized
Views 444 Comments 0 GlennsPref is offline

  



All times are GMT -5. The time now is 06:37 PM.

Main Menu
Advertisement

Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration