LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

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

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

Code:
Code:
sudo mv -v /home/glenn/local/Archive/2010.0/contrib/*.*mnb*.x86_64.rpm /home/glenn/local/Archive/2010.1/x86_64/ 
sudo mv -v /home/glenn/local/Archive/2010.0/noarch/*.*mnb*.x86_64.rpm /home/glenn/local/Archive/2010.1/x86_64/ 
sudo mv -v /home/glenn/local/Archive/2010.0/x86_64/*.*mnb*.x86_64.rpm /home/glenn/local/Archive/2010.1/x86_64/ 
sudo mv -v /home/glenn/local/Archive/2010.1/noarch/*.*mnb*.x86_64.rpm /home/glenn/local/Archive/2010.1/x86_64/ 
sudo mv
...
Senior Member
Posted in Uncategorized
Views 304 Comments 0 GlennsPref is offline
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 299 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 331 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 307 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 344 Comments 0 GlennsPref is offline

  



All times are GMT -5. The time now is 05:17 AM.

Main Menu
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