Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-11-2008, 06:14 AM   #1
LQ Newbie
Registered: Jun 2008
Posts: 2

Rep: Reputation: 0
How could I get rid of this error? "RPM package is not installed"

I have created an RPM file for the MAVEN Source using the command "rpmbuild -ba mvn.spec".
i can install the rpm using "rpm -ivh Apache-maven-2.0.9.rpm". But when I try to uninstall using "rpm -e Apache-maven", I get the error

"error: package Apache-maven is not installed"..

The content of My spec file is

Summary: A program that installs Maven2.0.9 from source code.
Name: Apache-maven
Version: 2.0.9
Release: 3
Source0: apache-maven-2.0.9-bin.tar.gz
License: ObjectStyle License
Group: Development

Building maven

%setup -c


Why it is happening? Plz help me in this issue.
Thanks in advance...

Last edited by Selvanind; 06-11-2008 at 06:23 AM.
Old 06-11-2008, 06:19 AM   #2
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Hi and welcome to LQ.

What happens when you do
rpm -qa | grep -i apache
Old 06-12-2008, 01:35 AM   #3
LQ Newbie
Registered: Jun 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Not yet resolved...

[root@localhost srpms]# rpm -qa | grep -i apache
[root@localhost srpms]#

two files are created in srpms(Apache-maven-2.0.8-3.src.rpm) and rpms(Apache-maven-debuginfo-2.0.8-3.i386.rpm).but the file in rpms is only get installed.the other one after installing when we try to uninstall,its showing "error : package is not installed"...

After installing RPM in linux machine where maven is not installed,when we try to run the mvn command,it's showing mvn command not found.
Old 06-12-2008, 06:41 AM   #4
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Well, from the output, it seems like Apache-maven is not installed. You only installed the debuginfo rpm which you can uninstall by doing "rpm -e Apache-maven-debuginfo".


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
"bash: rpm: command not found" errom when trying to install any package sandeepchau123 Linux - General 16 07-06-2008 04:58 AM
Getting failed dependencies while installing the "nessus" package rpm on WRLinux manohare Linux - Software 0 10-09-2007 09:52 AM
perl install error: Can't locate object method "new" via package "Module::Build::Vers powah Linux - Software 0 10-24-2006 02:57 PM
When "function pointer" meets "template"... I can't get rid of this compiling er cyu021 Linux - Software 3 12-17-2004 08:52 PM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 10:22 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration