09-05-2008
RPM Package question
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 "Preinstall" section and restore in "post install" but that too doesn't work because RPM package has that functionality to compare files and delete them even after "post install".
i am sure people has encountered this issue and have fix i have one more workaround and that worked but i was wondering if there is anything simpler way to do this using functionality of RPM.
Its now urgent foe me.
Thanks, Ajay
10 More Discussions You Might Find Interesting
1. Linux
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... (0 Replies)
Discussion started by: amitpansuria
0 Replies
2. 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
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 have Storage foundation 6.0 version to install in redhat 6.0, so while trying to install one of the application it say to install some dependencies packages so when i try to install the dependencies again it ask for the dependencies so its a lengthy process i say. so now can i get the... (1 Reply)
Discussion started by: cyrus.ranjith
1 Replies
8. Shell Programming and Scripting
Hi all,
Pls provide your suggestions and advice for the below queries. I have a files like below sample
$ ls -l /u01/app
-rw-r--r-- 1 appusr appdba 4 Feb 20 21:35 test
-rw-r--r-- 1 appusr appdba 4 Feb 20 21:35 test1
-rw-r--r-- 1 appusr appdba 4 Feb 20 21:35 test
-... (1 Reply)
Discussion started by: kamauv234
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
superpaco
SUPERPACO(8) System SUPERPACO(8)
NAME
superpaco - Debian, RPM or Slackware package installation support for paco(8).
SYNOPSIS
superpaco [OPTIONS] <packages>
DESCRIPTION
superpaco performs the installation of Debian, RPM or Slackware binary packages, without requiring the use of dpkg(8), rpm(8) or pkg-
tool(8). The installations are logged by paco (but see option -n below),
To install RPM packages, cpio(1) and ( rpm2cpio(1) or rpmunpack ) are required.
OPTIONS
-h, --help
Display a brief usage message and exit.
-v, --version
Display version information and exit.
-q, --quiet
Be silent, except for errors.
-n, --no-paco
Do not use paco to log the installation.
--root=PATH
When installing the files, use PATH as the root directory.
-s, --strip-release
Remove the release suffix from the name of the package (e.g. 'foo-1.0.2-2.1' --> 'foo-1.0.2').
WEB SITE
http://paco.sourceforge.net
COPYRIGHT
Copyright (C) 2004-2009 David Rosal <davidrr@sourceforge.net>
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
paco(8), pacorc(5), pacoball(8), rpm2paco(8)
paco-2.0.9 28 June 2010 SUPERPACO(8)