-
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
Cisco Systems NCS2K-20-SMRFS-L optical multiplexor CISCO EXCESS
$3599.00
Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24
$117.00
Cisco RV160 VPN Router 4 Gigabit Ethernet Ports RV160-K9-AR
$80.00
Cisco RV320 Dual WAN VPN 4 Port Gigabit Router w/ Web Filtering RV320-WB-K9-NA
$374.00
Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W+ C3850-NM-4-1G Mod
$83.00
Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850
$38.99
Cisco Catalyst WS-C2960-48TT-L V02 48 Port Fast Ethernet Switch
$34.00
Cisco CBS350-24FP-4G 28 Port PoE Managed Ethernet Switch
$319.99
Cisco C9300-48 48 Port Switch Dual PSU W/C9300-NM-8X P/N: C9300-48U-A Tested
$799.99
UNCLAIMED Cisco Meraki MS120-24P-HW - 24Ports Ethernet PoE Switch Same Day Ship
$315.00