http://www.khattam.info/2009/08/04/solved-subprocess-pre-removal-script-returned-error-exit-status-2-error/

On Jun 20, 7:26 am, Chandan Prasad Gupta <[email protected]>
wrote:
> SORRY,
> Before I comlete my mail it was sent mistakenly,
>
> I was afraid of the DISCLAIMER and therefore I tried some stuffs carefully
> like:
>
>   First I tried
> sudo apt-get install -f
> and then
> sudo dpkg --force-all -r crossplatformui
> to remove the package
>
>  But the error was:
>
>  *chan...@chandan-laptop:~$ sudo dpkg --force-all -r crossplatformui
> (Reading database ... 180712 files and directories currently installed.)
> Removing crossplatformui ...
> ztemtvcdromd: no process found
> dpkg: error processing crossplatformui (--remove):
>  subprocess installed post-removal script returned error exit status 1
> Errors were encountered while processing:
> crossplatformui*
>
>  Then I Commented out the line which looks for ztemtvcdromd in the file
> /var/lib/dpkg/info/crossplatformui.postrm and tried again
>
> Then I was able to remove the package...
>
> The idea I got from the steps u had given above :)
> thanks again :)
>
> What I did has affected nothing yet and I hope I have done nothing fatal.
> Please let me know what I have done, if may create problem in future....
>
> Thanks,
> ~chandan
>
> On Sun, Jun 20, 2010 at 7:53 AM, Chandan Prasad Gupta <
>
>
>
> [email protected]> wrote:
> > Hi bro,
>
> > I was afraid with the DISCLAIMER,
>
> > On Sun, Jun 20, 2010 at 2:25 AM, SATA <[email protected]> wrote:
>
> >> On Sat, Jun 19, 2010 at 2:30 PM, Chandan Prasad Gupta <
> >> [email protected]> wrote:
>
> >>> One of the package is disturbing in installation of modem which I need
> >>> for my  internet connection.
>
> >>> the error shown is :
>
> >>> *E: crossplatformui: subprocess installed post-removal script returned
> >>> error exit status 1
>
> >>> W: Duplicate sources.list 
> >>> entryhttp://archive.canonical.com/ubuntu/lucid/partnerPackages
> >>> (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_lucid_partner_binary
> >>>  -i386_Packages)
>
> >>> *
> >>> any other way to completely remove this package??
>
> >> Well this is *only for experts* and read it completely before you start.
> >> This is like, reverse-engineering the Debian package management.
>
> >> It seems that the package, you are having problem with, is *
> >> crossplatformui*. so:
> >>  - Backup the file* /var/lib/dpkg/info/crossplatformui**.postrm*
> >>  - Edit the file  */var/lib/dpkg/info/crossplatformui.postrm* and insert
> >> "exit 0" soon after the shebang line.
> >>  - Run *sudo apt-get -f --purge remove*
> >>  - *Perform all the steps* (run/debug the backup file) *that the postrm
> >> file was meant to do* if you really want to clean up the package.
> >> - Move on..
>
> >> *DISCLAIMER: Follow the steps at your own risk. I bear no responsibility
> >> if it renders your system unstable.*
>
> >>>  --
> >>> FOSS Nepal mailing list: [email protected]
> >>>http://groups.google.com/group/foss-nepal
> >>> To unsubscribe, e-mail: 
> >>> [email protected]<foss-nepal%2bunsubscr...@googlegrou
> >>>  ps.com>
>
> >>> Mailing List Guidelines:
> >>>http://wiki.fossnepal.org/index.php?title=Mailing_List_Guidelines
> >>> Community website:http://www.fossnepal.org/
>
> >> --
> >> Regards,
> >> Suraj Sapkota, aka SATA
> >> सुरज सापकोटा
> >> ~ As long as I have a want, I have a reason for living. Satisfaction is
> >> death. ~
>
> >>  --
> >> FOSS Nepal mailing list: [email protected]
> >>http://groups.google.com/group/foss-nepal
> >> To unsubscribe, e-mail: 
> >> [email protected]<foss-nepal%2bunsubscr...@googlegrou
> >>  ps.com>
>
> >> Mailing List Guidelines:
> >>http://wiki.fossnepal.org/index.php?title=Mailing_List_Guidelines
> >> Community website:http://www.fossnepal.org/

-- 
FOSS Nepal mailing list: [email protected]
http://groups.google.com/group/foss-nepal
To unsubscribe, e-mail: [email protected]

Mailing List Guidelines: 
http://wiki.fossnepal.org/index.php?title=Mailing_List_Guidelines
Community website: http://www.fossnepal.org/

Reply via email to