05-27-2008
how to restore original package after uninstalling the upgraded package using rpm
have following package installed
rpm -qa |grep ADMIN
It will give the following package installed:
ADMIN-4.0.0.1
Now I will upgrade the ADMIN package using the following command.
rpm --upgrade ADMIN-4.1.0.1
It will upgrade the ADMIN packagge to ADMIN-4.1.0.1
Now I want that when I uninstall the ADMIN-4.1.0.1 then I got the oirginal
package ADMIN-4.0.0.1
rpm --erase ADMIN-4.1.0.1
now is there anyway(using rpm command or whatever) so that I got the original package when i uninstalled the upgraded package name.
Regards,
Amit
10 More Discussions You Might Find Interesting
1. Ubuntu
Hi All,
I just recently installed UBUNTU 2.6.24-16 and i installed my phone software which is a RPM package (it's a similiar package with MSN).
The software called MXIE.
I managed to install it successfully but i can't run the software.
When i try to run it, i received... (8 Replies)
Discussion started by: c00kie88
8 Replies
2. Linux
Hi,
I have built one RPM last year. now we have another version of that RPM. in previous release we had few extra files then now. so when user upgrade it those files get deleted by RPM package. We want to retain those files.
now for workaround i thought of backing up those file during... (0 Replies)
Discussion started by: ajayyadavmca
0 Replies
3. Red Hat
Hi,
can someone help me with this?
How do we apply a new version of s/w package without disrupting the processes & daemons running with the old version?
Thanks (1 Reply)
Discussion started by: naan
1 Replies
4. UNIX for Advanced & Expert Users
Friends,
Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ?
For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ? (0 Replies)
Discussion started by: yb4779
0 Replies
5. UNIX for Dummies Questions & Answers
Hello,
i have downloaded an rpm package "hadoop-0.20.205.0-1.amd64.rpm"
in /usr/local/ directory.
I'm trying to install the rpm package in a new path/location (/usr/local/hadoop-0.20.205), but i can't.
I did:
1st try: Didn't work
sudo rpm -i --prefix=/usr/local/hadoop-0.20.205... (1 Reply)
Discussion started by: g_p
1 Replies
6. Emergency UNIX and Linux Support
Hello,
i have installed a package by using the command
sudo rpm -i filepackage.rpm
package filepackage is already installed
when i try to remove it, i get an error saying "is not installed":
sudo rpm -e filepackage.rpm
error: package filepackage is not installed
How can... (4 Replies)
Discussion started by: g_p
4 Replies
7. Red Hat
Hello!,
I can't remove a rpm package with rpm -e net-snmp
Nothing happened, and the process returns D status when i see with ps aux | grep rpm. When i say "Nothing Happened", the terminal don't return any message, and not remove the package.
What can I do to remove?
Ps: I work with Red... (1 Reply)
Discussion started by: Douglas Ramalho
1 Replies
8. Red Hat
Hi Everybody,
I would like to know how to build an RPM package. Could you please let me know how to do it with the procedure.
Regards,
Mastan (1 Reply)
Discussion started by: mastansaheb
1 Replies
9. UNIX for Advanced & Expert Users
Is there a way to create a protected RPM package without giving up your source code? (2 Replies)
Discussion started by: cokedude
2 Replies
10. AIX
Hi Guys
I got this error when I try to install perl-5.24.0-1.aix6.1.ppc.rpm package
rpm -ivh perl-5.24.0-1.aix6.1.ppc.rpm
error: perl-5.24.0-1.aix6.1.ppc.rpm does not appear to be a RPM package (4 Replies)
Discussion started by: khaled_ly84
4 Replies
LEARN ABOUT DEBIAN
dpm_modifyfs
DPM_MODIFYFS(3) DPM Library Functions DPM_MODIFYFS(3)
NAME
dpm_modifyfs - modify the parameters of a disk pool filesystem
SYNOPSIS
#include <sys/types.h>
#include "dpm_api.h"
int dpm_modifyfs (char *server, char *fs, int status, int weight)
DESCRIPTION
dpm_modifyfs modifies the parameters of a disk pool filesystem.
server specifies the host name of the disk server where this filesystem is mounted.
fs specifies the mount point of the dedicated filesystem.
status Initial status of this filesystem. It can be set to 0 or FS_DISABLED or FS_RDONLY. (-1 will tell the server to not change the cur-
rent value).
weight specifies the weight of the filesystem. This is used during the filesystem selection. The value must be positive (-1 will tell the
server to not change the current value). It is recommended to use a value lower than 10.
This function requires ADMIN privilege.
RETURN VALUE
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.
ERRORS
ENOENT Filesystem does not exist.
EACCES The caller does not have ADMIN privilege.
EFAULT server or fs is a NULL pointer.
EINVAL The length of server exceeds CA_MAXHOSTNAMELEN or the length of fs exceeds 79.
SENOSHOST Host unknown.
SEINTERNAL Database error.
SECOMERR Communication error.
LCG
$Date$ DPM_MODIFYFS(3)