LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-01-2010, 07:06 AM   #1
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,363

Rep: Reputation: 135Reputation: 135
Error while erasing a pkg


While trying to remove a pkg by rpm it's giving the error as:

PHP Code:
rpm ---nodeps subversion
/var/tmp/rpm-tmp.91518line 7: /etc/init.d/svnserveNo such file or directory
error
: %preun(subversion-1.6.13-11.1.x86_64scriptlet failed, exit status 127 
How will I remove this package ?

Last edited by divyashree; 12-01-2010 at 07:18 AM.
 
Old 12-01-2010, 08:42 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,319

Rep: Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470
Quote:
Originally Posted by divyashree View Post
While trying to remove a pkg by rpm it's giving the error as:
PHP Code:
rpm ---nodeps subversion
/var/tmp/rpm-tmp.91518line 7: /etc/init.d/svnserveNo such file or directory
error
: %preun(subversion-1.6.13-11.1.x86_64scriptlet failed, exit status 127 
How will I remove this package ?
Again, Google could have easily told you this.

Try "rpm -e --noscripts". If that doesn't work, then try creating the file that's missing, so the "rpm -e" command can process correctly. The error message is pretty clear, and that would seem to make sense.
 
1 members found this post helpful.
Old 12-01-2010, 08:46 AM   #3
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,363

Original Poster
Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by TB0ne View Post
Again, Google could have easily told you this.

Try "rpm -e --noscripts". If that doesn't work, then try creating the file that's missing, so the "rpm -e" command can process correctly. The error message is pretty clear, and that would seem to make sense.
Ohh thanks, it was tryiing to execute the scriptlets. The --noscripts works successfully. Thanks a lot.
 
Old 12-01-2010, 09:33 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,319

Rep: Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470
Quote:
Originally Posted by divyashree View Post
Ohh thanks, it was tryiing to execute the scriptlets. The --noscripts works successfully. Thanks a lot.
No problem. And reading the instructions/looking things up can often give you an answer, if you try.
 
  


Reply


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
rpm vs pkg(solaris)? shaybery Linux - Software 4 01-30-2009 04:23 AM
[SOLVED] error creating RPM [make binrpm-pkg] scmbg Linux - Kernel 2 11-02-2008 09:32 PM
Installed Glib-2.17.2, pkg-config displays 2.8.1, so gtk-2.13 unable to install NileshBEIT Linux - Newbie 3 06-29-2008 11:42 AM
a question on packaging....Struck with a dir format, unable to convert it into .pkg!! wrapster Solaris / OpenSolaris 2 06-28-2008 10:23 AM
installed apache from source, didn't remove rpm, updated rpm causes problems leftPeg Linux - Newbie 5 06-06-2007 10:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:53 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration