-
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
1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports
$149.00
Australia Linux Server- 32 GB RAM + 500 HDD + 6 Core processor
$66.29
SQL Server 2022 Standard Unlimited Cores
$509.53
VPS Windows / Linux Server - 12GB RAM, 4 Core, 1 TB HD, Unltd. bandwidth 1 Year
$278.44
Canonical Ubuntu Linux - DVD / USB Drive - 24.04 LTS / 23.10 / 22.04 / 18 / 16
$9.99
The Complete Redhat Linux 5.2 Operating System Deluxe Secure Server New Sealed
$25.00
IBM Power8 S822L 20-Core 3.42GHz 256Gb 1.2Tb 40G Elastic Storage Server 5148-22L
$599.95
1U 10 SFF Bay Supermicro Server X10DRW-iT 2x Xeon E5-2690 V4 128GB DDR4 RAM
$428.00
SQL Server 2022 Enterprise 96 Core Retail FPP License, unlimited User CALs
$1499.00
Custom Server 15" Depth X11SSH-F E3-1270 V6 3.8Ghz 4 Core - 128GB NVME 32GB RAM
$399.00