Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.