LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Cant remove deb in kubuntu (http://www.linuxquestions.org/questions/ubuntu-63/cant-remove-deb-in-kubuntu-546217/)

rocketman3245 04-15-2007 09:43 AM

Cant remove deb in kubuntu
 
cant remove gpar2_0.3-1_i386.deb

this is the error i get

root@localhost:/home/tara/Desktop# dpkg -P --force-all gpar2
(Reading database ... 93458 files and directories currently installed.)
Removing gpar2 ...
***
* Updating MIME database in /usr/share/mime...
***
/var/lib/dpkg/info/gpar2.postrm: line 25: update-desktop-database: command not found
dpkg: error processing gpar2 (--purge):
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
gpar2

Is there anyway I can remove this deb thanks for the help. I need to remove this to install par2.

Edit:Cant update or install anything with apt-get either till i get this fixed. please help if you can.

duffmckagan 04-15-2007 11:35 AM

Just simply try removing via apt-get

Code:

apt-get remove gpar2

rocketman3245 04-15-2007 11:45 AM

Tried that already this is the error i get.

root@localhost:/home/tara# apt-get remove gpar2
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
gpar2
0 upgraded, 0 newly installed, 1 to remove and 116 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 201kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 93458 files and directories currently installed.)
Removing gpar2 ...
***
* Updating MIME database in /usr/share/mime...
***
/var/lib/dpkg/info/gpar2.postrm: line 25: update-desktop-database: command not found
dpkg: error processing gpar2 (--remove):
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
gpar2
E: Sub-process /usr/bin/dpkg returned an error code (1)



Edit: Did a google search and found this at http://forum.freespire.org/archive/i...hp/t-3429.html.

Ok, it's fixed. I talked to JDoyle on the IRC channel and he told me to look in /var/lib/dpkg/status and remove all gpar2 entries. then do a dpkg --purge gpar2. All is well now.

Thanks for the help guys.


All times are GMT -5. The time now is 06:44 AM.