Bienvenido! - Willkommen! - Welcome!

Bitácora Técnica de Tux&Cía., Santa Cruz de la Sierra, BO
Bitácora Central: Tux&Cía.
Bitácora de Información Avanzada: Tux&Cía.-Información
May the source be with you!

Tuesday, April 20, 2010

uninstall with dpkg

dpkg: warning: ignoring request to remove XXdebianpackagenameXXX  which isn't installed

sudo dpkg --remove --force-remove-reinstreq debianpackagename

If it works, then:

sudo apt-get update

sudo apt-get upgrade


=======================
I solve in this way
sudo gedit /var/lib/dpkg/status
in the document i find this
Package: avast4workstation
Status: install ok installed
Priority: extra
Section: alien
Installed-Size: 22144
Maintainer: root
Architecture: i386
Version: 1.0.8-2
Depends: libc6 (>= 2.3.2.ds1-21)
Description: avast! antivirus
avast! is an antivirus package that lets you do both on-demand and
on-access scanning. It combines excellent detection rates with
high speed and superior stability of the antivirus engine.
(Converted from a rpm package by alien version 8.52.)
and i cut it, then save and i solve the problem!!!!
now the update manager works again!
=======================
I tried the following and it worked...

sudo gedit /var/lib/dpkg/status

in the document find this...

Package: avast4server
Status: deinstall reinstreq half-configured
Priority: extra
Section: alien
.....

and change it to...

Package: avast4server
Status: install ok installed
Priority: extra
Section: alien
....

Next go to the .deb installation package that you downloaded and open it in archive manager. Extract to your hard disk. You can now browse to these files to find the 'data.tar.gz' file which is another archive. Open this as 'root' and find the file 'avastd' -- it's in the directory (within the archive) called '/./etc/init.d/'

As 'root', create in your filesystem a directory called /etc/sysconfig/ and then extract 'avastd' to that directory.

Start Synaptic. It will identify a broken link which is the 'avast4server' package. You can select this to do a 'Complete Removal'

Removal proceeds without error!




No comments: