Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

pre-remove script not working

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
nis

pre-remove script not working

#1 Post by nis »

Hi guys,

I had a prerm script which basicaly had 2 remove some directories b4 removing the package.
#pre-remove script : Remove Intermediate files created by Mentys without user's Knowledge
echo "in pre-remove"
am -r /opt/nis/System

am -r /opt/nis/Demos

It gave me following error, n now it is not allowing me to instal the package again...
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
: invalid option
dpkg: error processing mentys1.deb (--install):
subprocess new pre-removal script returned error exit status 1
: invalid option
dpkg: error while cleaning up:

i m using debian packaging for the first time n dunno what exactly i shuld write in prerm script to get it working back.....
Any help wuld highly b appreciated....
I m not able to move further from here...m struck...

Thanks,
nis

Jeroen
Debian Developer, Site Admin
Debian Developer, Site Admin
Posts: 483
Joined: 2004-04-06 18:19
Location: Utrecht, NL
Contact:

#2 Post by Jeroen »

Can you please spellcheck your post? It's hugely annoying to read it like this, and I myself am not inclined to reply when I'll need to get out of my way to actually understand what's written here.

Post Reply