-
problem with package
hi i try to install pidgin-ppa on knoppix hd install
but something gone wrong and now i get this error:
Removing pidgin-ppa ...
gpg: key "67265EB522BDD6B1C69E66ED7FB8BEE0A1F196A8" not found: eof
gpg: 67265EB522BDD6B1C69E66ED7FB8BEE0A1F196A8: delete key failed: eof
dpkg: error processing pidgin-ppa (--remove):
subprocess installed post-removal script returned error exit status 2
Errors were encountered while processing:
pidgin-ppa
E: Sub-process /usr/bin/dpkg returned an error code (1)
and now i am unable to use package installer because of this error
what can i do to fix the error?
thanks best regards
-
Senior Member
registered user
I think that the package pidgin-ppa is made for Ubuntu but not for Debian.
To remove the package open a terminal and load the post removal script file in an editor.
Code:
sudo leafpad /var/lib/dpkg/info/pidgin-ppa.postrm
The idea is to mark the command line producing the error message as a comment.
The post removal script has got a line "apt-key del ..." which I commented out.
Code:
!/bin/sh -e
# vim: ai ts=4 sts=4 et sw=4
if [ "$1" = "remove" ]; then
# apt-key del 67265EB522BDD6B1C69E66ED7FB8BEE0A1F196A8
rm -f /etc/apt/sources.list.d/pidgin-ppa.list
fi
# Automatically added by dh_installinit
if [ "$1" = "purge" ] ; then
update-rc.d pidgin-ppa remove >/dev/null
fi
# End automatically added section
# Automatically added by dh_installdebconf
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
# End automatically added section
Save the file and exit the editor.
Issue the following commands in the terminal.
Code:
sudo dpkg -l pidgin-ppa
sudo dpkg --purge pidgin-ppa
sudo dpkg -l pidgin-ppa
The last command should show that the package is not installed anymore.
You can find a package of pidgin in the Debian testing (Wheezy) software repository.
I hope that helps.
-
yes it worked
editing /var/lib/dpkg/info/pidgin-ppa.postrm
and commenting
apt-key del 67265EB522BDD6B1C69E66ED7FB8BEE0A1F196A8
worked fine
thank you very much ))
it was my fault: i try to install ubuntu package on debian
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8
$479.96
IBM 8247-22L S822L 2 CPUs 256GB 12x Drives SFF Power8 Linux Server
$749.00
Red Hat Enterprise Linux 5 Server - New and Sealed
$19.99
Asus ESC4000 G3 Barebones 0GB HDD Linux
$200.00
IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E
$799.96
1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports
$149.00
IBM Power 9 S922 8-Core 3.4-3.9Ghz 128Gb DDR4 2U Linux Server - 9009-22a
$3439.96
1U SFF Supermicro Server X10DRW-iT 2x (Xeon 36 Cores) 128GB 2x PCI-E X16 Slots
$428.00
IBM System X 3250 M5 Single Xeon Quad Core E3-1220 v3 @3.1GHz,8GB RAM,Linux SUSE
$199.87
POGO Linux WEBWARE 1150 Rack-Mount Server Pentium 4 2.8GHz 512MB - No Drives
$179.99