LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

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

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

Code:
Code:
#/home/glenn/local/Archive/2010.0/kde3.5.10 
echo "Backup-rpms 2010.1" 
sudo genhdlist2 --clean --xml-info -v /home/glenn/local/Archive/2010.1/x86_64 
sudo genhdlist2 --clean --xml-info -v /home/glenn/local/Archive/2010.1/noarch 
sudo genhdlist2 --clean --xml-info -v /home/glenn/local/Archive/2010.1/i586 
sudo genhdlist2 --clean --xml-info -v /home/glenn/local/Archive/2010.1/i386 
sudo genhdlist2 --clean --xml-info -v --allow-empty-media
...
Senior Member
Posted in Uncategorized
Views 400 Comments 0 GlennsPref is offline
Old

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

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

Code:
	This script also calls another file to change the permissions so I can use them with out errors
 such as read-only.
Code:
#! /bin/zsh 
echo "Backup-rpms" 
echo "~/build/rpms/rpms-chmod" 
sudo chmod -R 755 /home/glenn/local/Archive/2009.0/ 
sudo chmod -R 755 /home/glenn/local/Archive/2009.1/ 
sudo chmod -R 755 /home/glenn/local/Archive/2010.0/ 
sudo chmod -R 755 /home/glenn/local/Archive/2010.1/ 
date &&
...
Senior Member
Posted in Uncategorized
Views 383 Comments 0 GlennsPref is offline
Old

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

Posted 05-12-2010 at 12: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 296 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 12: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 291 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 12: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 326 Comments 0 GlennsPref is offline

  



All times are GMT -5. The time now is 07:54 PM.

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