LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-09-2005, 07:43 AM   #1
prital
LQ Newbie
 
Registered: Dec 2004
Posts: 24

Rep: Reputation: 15
RPM usage to upgrade file system


Hello,
I have a file system on my board. When the file system is upgraded, some binary or text file can be changed/added/disappeared. Is it will be right practice to use the RPM in order to upgrade the file system? I mean all the changes to insert into one package, and to install this package on the old version. In this way, the contents of the old version will be upgraded.

What make me confused - I have not any make commands, but I need only remove or copy commands, in order to insert/remove files.
 
Old 10-10-2005, 02:49 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
prital,

This is a filesystem: http://en.wikipedia.org/wiki/Filesystem

Filesystems include ext2, ext3, reiser, xfs, etc.

Are you talking about changing from one filesystem to another? Except for the case of changing from ext2 to ext3 (by adding a journal) this is not possible via "upgrade". You will need to backup data and format the partition as a new filesystem type.

Or are you talking about upgrading a program on your Linux box? If so, what program? And what problem are you having exactly?
 
Old 10-11-2005, 01:17 AM   #3
prital
LQ Newbie
 
Registered: Dec 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Thank you for the answer, but I mean the following:
I have the jffs2 file system on the board, and the only change is to add or to remove some files from it. Instead of to do it manually, whether can I use the RPM?
 
Old 10-11-2005, 02:12 AM   #4
ingar
Member
 
Registered: Jan 2005
Location: Norway
Distribution: Ubuntu Studio
Posts: 42

Rep: Reputation: 15
You can only use the rpm command to remove files/programs if these specific files/programs was installed as a rpm package in the first place. AND you also need to have the original rpm-packages (those with .rpm as file-extension).
Adding files can of course be done with rpm packages (*.rpm), by for instance a command like this:
rpm -Uvh here_is_the_name_of_a_program.rpm .
All you need is a rpm-file.

Otherwise, you'll have to do the removal/adding manually - more or less. There's of course file/disk utils available (konqueror, krusader, KleanSweep, etc.) too.

Last edited by ingar; 10-11-2005 at 02:13 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RPM Usage waelaltaqi Linux - Software 4 10-08-2005 01:56 PM
Files removed from file system during Fedora Core Upgrade gryphonavocatio Linux - General 5 09-21-2005 12:27 PM
preserve configuration files during RPM upgrade (rpm -U) charrua Red Hat 3 03-14-2004 01:18 PM
locking a usage policy file/ftp file permissions gbow Linux - Newbie 0 02-16-2004 05:35 AM
usage of rpm command woja Linux - Newbie 4 01-30-2004 04:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:50 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
Open Source Consulting | Domain Registration