Reply
Thread Tools
Posts: 7 | Thanked: 1 time | Joined on Sep 2010 @ Germany
#1
Hi,

i installed the maemo-pan_1.0_armel.deb (yes, I'm stupid man).

so, at the moment I can't remove it:

Code:
Nokia-N900-51-1:~# dpkg -r -D777 maemo-pan
D000001: deferred_remove package maemo-pan
D000001: checking dependencies for remove `maemo-pan'
dpkg: error processing maemo-pan (--remove):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 maemo-pan
Nokia-N900-51-1:~#
after this I try to reinstall it, but also unsuccessful:

Code:
Nokia-N900-51-1:~# dpkg -i -D777 maemo-pan*.deb
D000010: ensure_pathname_nonexisting `/var/lib/dpkg/tmp.ci'
(Reading database ... 26405 files and directories currently installed.)
Preparing to replace maemo-pan 1.0 (using maemo-pan_1.0_armel.deb) ...
D000200: process_archive conffile `/etc/init.d/maemo-pan' in package maemo-pan - conff ?
D000020: process_archive conffile `/etc/init.d/maemo-pan' package=maemo-pan same hash=newconffile
D000200: oldconffsetflags `/etc/init.d/maemo-pan' namenode 0x4d2cd8 flags 5
D000001: process_archive oldversionstatus=broken due to failed removal or installation
D000002: maintainer_script_new nonexistent preinst `/var/lib/dpkg/tmp.ci/preinst'
Unpacking replacement maemo-pan ...
D000010: tarobject ti->Name=`.' Mode=755 owner=0.0 Type=53(d) ti->LinkName=`' namenode=`/.' flags=2 instead=`<none>'
D000100: setupvnamevbs main=`/.' tmp=`/..dpkg-tmp' new=`/..dpkg-new'
D000100: tarobject already exists
D000100: tarobject Directory exists
D000010: tarobject ti->Name=`./etc' Mode=755 owner=0.0 Type=53(d) ti->LinkName=`' namenode=`/etc' flags=2 instead=`<none>'
D000100: setupvnamevbs main=`/etc' tmp=`/etc.dpkg-tmp' new=`/etc.dpkg-new'
D000100: tarobject already exists
D000100: tarobject Directory exists
D000010: tarobject ti->Name=`./etc/rc2.d' Mode=755 owner=0.0 Type=53(d) ti->LinkName=`' namenode=`/etc/rc2.d' flags=2 instead=`<none>'
D000100: setupvnamevbs main=`/etc/rc2.d' tmp=`/etc/rc2.d.dpkg-tmp' new=`/etc/rc2.d.dpkg-new'
D000100: tarobject already exists
D000100: tarobject Directory exists
D000010: tarobject ti->Name=`./etc/init.d' Mode=755 owner=0.0 Type=53(d) ti->LinkName=`' namenode=`/etc/init.d' flags=2 instead=`<none>'
D000100: setupvnamevbs main=`/etc/init.d' tmp=`/etc/init.d.dpkg-tmp' new=`/etc/init.d.dpkg-new'
D000100: tarobject already exists
D000100: tarobject Directory exists
D000010: tarobject ti->Name=`./etc/init.d/maemo-pan' Mode=755 owner=0.0 Type=48(-) ti->LinkName=`' namenode=`/etc/init.d/maemo-pan' flags=7 instead=`<none>'
D000200: conffderef in=`etc/init.d/maemo-pan' current working=`/etc/init.d/maemo-pan'
D000200: conffderef nonexistent
D000020: tarobject fnnf_new_conff deref=`etc/init.d/maemo-pan'
D000100: setupvnamevbs main=`/etc/init.d/maemo-pan' tmp=`/etc/init.d/maemo-pan.dpkg-tmp' new=`/etc/init.d/maemo-pan.dpkg-new'
D000100: tarobject nonexistent
D000010: ensure_pathname_nonexisting `/etc/init.d/maemo-pan.dpkg-new'
D000010: ensure_pathname_nonexisting `/etc/init.d/maemo-pan.dpkg-tmp'
D000100: tarobject NormalFile[01] open size=1115
D000200: tarobject conffile extracted
D000010: tarobject ti->Name=`./usr' Mode=755 owner=0.0 Type=53(d) ti->LinkName=`' namenode=`/usr' flags=2 instead=`<none>'
D000100: setupvnamevbs main=`/usr' tmp=`/usr.dpkg-tmp' new=`/usr.dpkg-new'
D000100: tarobject already exists
D000100: tarobject Directory exists
D000010: tarobject ti->Name=`./usr/lib' Mode=755 owner=0.0 Type=53(d) ti->LinkName=`' namenode=`/usr/lib' flags=2 instead=`<none>'
D000100: setupvnamevbs main=`/usr/lib' tmp=`/usr/lib.dpkg-tmp' new=`/usr/lib.dpkg-new'
D000100: tarobject already exists
D000100: tarobject Directory exists
D000010: tarobject ti->Name=`./usr/lib/maemo-pan' Mode=755 owner=0.0 Type=53(d) ti->LinkName=`' namenode=`/usr/lib/maemo-pan' flags=2 instead=`<none>'
D000100: setupvnamevbs main=`/usr/lib/maemo-pan' tmp=`/usr/lib/maemo-pan.dpkg-tmp' new=`/usr/lib/maemo-pan.dpkg-new'
D000100: tarobject nonexistent
D000010: ensure_pathname_nonexisting `/usr/lib/maemo-pan.dpkg-new'
D000010: ensure_pathname_nonexisting `/usr/lib/maemo-pan.dpkg-tmp'
D000100: tarobject Directory creating
D000100: tarobject new - no backup
D000100: tarobject done and installed
D000010: tarobject ti->Name=`./usr/lib/maemo-pan/pan-control' Mode=755 owner=0.0 Type=48(-) ti->LinkName=`' namenode=`/usr/lib/maemo-pan/pan-control' flags=2 instead=`<none>'
D000100: setupvnamevbs main=`/usr/lib/maemo-pan/pan-control' tmp=`/usr/lib/maemo-pan/pan-control.dpkg-tmp' new=`/usr/lib/maemo-pan/pan-control.dpkg-new'
D000100: tarobject nonexistent
D000010: ensure_pathname_nonexisting `/usr/lib/maemo-pan/pan-control.dpkg-new'
D000010: ensure_pathname_nonexisting `/usr/lib/maemo-pan/pan-control.dpkg-tmp'
D000100: tarobject NormalFile[01] open size=2920
D000100: tarobject new - no backup
D000100: tarobject done and installed
D000010: tarobject ti->Name=`./usr/lib/maemo-pan/pan-daemon' Mode=755 owner=0.0 Type=48(-) ti->LinkName=`' namenode=`/usr/lib/maemo-pan/pan-daemon' flags=2 instead=`<none>'
D000100: setupvnamevbs main=`/usr/lib/maemo-pan/pan-daemon' tmp=`/usr/lib/maemo-pan/pan-daemon.dpkg-tmp' new=`/usr/lib/maemo-pan/pan-daemon.dpkg-new'
D000100: tarobject nonexistent
D000010: ensure_pathname_nonexisting `/usr/lib/maemo-pan/pan-daemon.dpkg-new'
D000010: ensure_pathname_nonexisting `/usr/lib/maemo-pan/pan-daemon.dpkg-tmp'
D000100: tarobject NormalFile[01] open size=5360
D000100: tarobject new - no backup
D000100: tarobject done and installed
D000010: tarobject ti->Name=`./usr/share' Mode=755 owner=0.0 Type=53(d) ti->LinkName=`' namenode=`/usr/share' flags=2 instead=`<none>'
D000100: setupvnamevbs main=`/usr/share' tmp=`/usr/share.dpkg-tmp' new=`/usr/share.dpkg-new'
D000100: tarobject already exists
D000100: tarobject Directory exists
D000010: tarobject ti->Name=`./usr/share/doc' Mode=755 owner=0.0 Type=53(d) ti->LinkName=`' namenode=`/usr/share/doc' flags=2 instead=`<none>'
D000100: setupvnamevbs main=`/usr/share/doc' tmp=`/usr/share/doc.dpkg-tmp' new=`/usr/share/doc.dpkg-new'
D000100: tarobject already exists
D000100: tarobject Directory exists
D000010: tarobject ti->Name=`./usr/share/doc/maemo-pan' Mode=755 owner=0.0 Type=53(d) ti->LinkName=`' namenode=`/usr/share/doc/maemo-pan' flags=2 instead=`<none>'
D000100: setupvnamevbs main=`/usr/share/doc/maemo-pan' tmp=`/usr/share/doc/maemo-pan.dpkg-tmp' new=`/usr/share/doc/maemo-pan.dpkg-new'
D000100: tarobject nonexistent
D000010: ensure_pathname_nonexisting `/usr/share/doc/maemo-pan.dpkg-new'
D000010: ensure_pathname_nonexisting `/usr/share/doc/maemo-pan.dpkg-tmp'
D000100: tarobject Directory creating
D000100: tarobject new - no backup
D000100: tarobject done and installed
D000010: tarobject ti->Name=`./usr/share/doc/maemo-pan/copyright' Mode=644 owner=0.0 Type=48(-) ti->LinkName=`' namenode=`/usr/share/doc/maemo-pan/copyright' flags=2 instead=`<none>'
D000100: setupvnamevbs main=`/usr/share/doc/maemo-pan/copyright' tmp=`/usr/share/doc/maemo-pan/copyright.dpkg-tmp' new=`/usr/share/doc/maemo-pan/copyright.dpkg-new'
D000100: tarobject nonexistent
D000010: ensure_pathname_nonexisting `/usr/share/doc/maemo-pan/copyright.dpkg-new'
D000010: ensure_pathname_nonexisting `/usr/share/doc/maemo-pan/copyright.dpkg-tmp'
D000100: tarobject NormalFile[01] open size=143
D000100: tarobject new - no backup
D000100: tarobject done and installed
D000010: tarobject ti->Name=`./usr/share/doc/maemo-pan/changelog.gz' Mode=644 owner=0.0 Type=48(-) ti->LinkName=`' namenode=`/usr/share/doc/maemo-pan/changelog.gz' flags=2 instead=`<none>'
D000100: setupvnamevbs main=`/usr/share/doc/maemo-pan/changelog.gz' tmp=`/usr/share/doc/maemo-pan/changelog.gz.dpkg-tmp' new=`/usr/share/doc/maemo-pan/changelog.gz.dpkg-new'
D000100: tarobject nonexistent
D000010: ensure_pathname_nonexisting `/usr/share/doc/maemo-pan/changelog.gz.dpkg-new'
D000010: ensure_pathname_nonexisting `/usr/share/doc/maemo-pan/changelog.gz.dpkg-tmp'
D000100: tarobject NormalFile[01] open size=170
D000100: tarobject new - no backup
D000100: tarobject done and installed
D000010: tarobject ti->Name=`./etc/rc2.d/S99maemo-pan' Mode=777 owner=0.0 Type=50(l) ti->LinkName=`../init.d/maemo-pan' namenode=`/etc/rc2.d/S99maemo-pan' flags=2 instead=`<none>'
D000100: setupvnamevbs main=`/etc/rc2.d/S99maemo-pan' tmp=`/etc/rc2.d/S99maemo-pan.dpkg-tmp' new=`/etc/rc2.d/S99maemo-pan.dpkg-new'
D000100: tarobject nonexistent
D000010: ensure_pathname_nonexisting `/etc/rc2.d/S99maemo-pan.dpkg-new'
D000010: ensure_pathname_nonexisting `/etc/rc2.d/S99maemo-pan.dpkg-tmp'
D000100: tarobject SymbolicLink creating
D000100: tarobject new - no backup
D000100: tarobject done and installed
D000002: fork/exec /var/lib/dpkg/info/maemo-pan.postrm ( upgrade 1.0 )
killall: pan-daemon: no process killed
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
D000002: fork/exec /var/lib/dpkg/tmp.ci/postrm ( failed-upgrade 1.0 )
killall: pan-daemon: no process killed
dpkg: error processing maemo-pan_1.0_armel.deb (--install):
 subprocess new post-removal script returned error exit status 1
D000002: vmaintainer_script_installed nonexistent preinst
D000010: cu_installnew `/etc/rc2.d/S99maemo-pan' flags=52
D000100: setupvnamevbs main=`//etc/rc2.d/S99maemo-pan' tmp=`//etc/rc2.d/S99maemo-pan.dpkg-tmp' new=`//etc/rc2.d/S99maemo-pan.dpkg-new'
D000100: cu_installnew removing new file
D000100: unlinkorrmdir `//etc/rc2.d/S99maemo-pan' unlink OK
D000100: unlinkorrmdir `//etc/rc2.d/S99maemo-pan.dpkg-new' rmdir No such file or directory
D000010: cu_installnew `/usr/share/doc/maemo-pan/changelog.gz' flags=52
D000100: setupvnamevbs main=`//usr/share/doc/maemo-pan/changelog.gz' tmp=`//usr/share/doc/maemo-pan/changelog.gz.dpkg-tmp' new=`//usr/share/doc/maemo-pan/changelog.gz.dpkg-new'
D000100: cu_installnew removing new file
D000100: unlinkorrmdir `//usr/share/doc/maemo-pan/changelog.gz' unlink OK
D000100: unlinkorrmdir `//usr/share/doc/maemo-pan/changelog.gz.dpkg-new' rmdir No such file or directory
D000010: cu_installnew `/usr/share/doc/maemo-pan/copyright' flags=52
D000100: setupvnamevbs main=`//usr/share/doc/maemo-pan/copyright' tmp=`//usr/share/doc/maemo-pan/copyright.dpkg-tmp' new=`//usr/share/doc/maemo-pan/copyright.dpkg-new'
D000100: cu_installnew removing new file
D000100: unlinkorrmdir `//usr/share/doc/maemo-pan/copyright' unlink OK
D000100: unlinkorrmdir `//usr/share/doc/maemo-pan/copyright.dpkg-new' rmdir No such file or directory
D000010: cu_installnew `/usr/share/doc/maemo-pan' flags=52
D000100: setupvnamevbs main=`//usr/share/doc/maemo-pan' tmp=`//usr/share/doc/maemo-pan.dpkg-tmp' new=`//usr/share/doc/maemo-pan.dpkg-new'
D000100: cu_installnew removing new file
D000100: unlinkorrmdir `//usr/share/doc/maemo-pan' rmdir OK
D000100: unlinkorrmdir `//usr/share/doc/maemo-pan.dpkg-new' rmdir No such file or directory
D000010: cu_installnew `/usr/lib/maemo-pan/pan-daemon' flags=52
D000100: setupvnamevbs main=`//usr/lib/maemo-pan/pan-daemon' tmp=`//usr/lib/maemo-pan/pan-daemon.dpkg-tmp' new=`//usr/lib/maemo-pan/pan-daemon.dpkg-new'
D000100: cu_installnew removing new file
D000100: unlinkorrmdir `//usr/lib/maemo-pan/pan-daemon' unlink OK
D000100: unlinkorrmdir `//usr/lib/maemo-pan/pan-daemon.dpkg-new' rmdir No such file or directory
D000010: cu_installnew `/usr/lib/maemo-pan/pan-control' flags=52
D000100: setupvnamevbs main=`//usr/lib/maemo-pan/pan-control' tmp=`//usr/lib/maemo-pan/pan-control.dpkg-tmp' new=`//usr/lib/maemo-pan/pan-control.dpkg-new'
D000100: cu_installnew removing new file
D000100: unlinkorrmdir `//usr/lib/maemo-pan/pan-control' unlink OK
D000100: unlinkorrmdir `//usr/lib/maemo-pan/pan-control.dpkg-new' rmdir No such file or directory
D000010: cu_installnew `/usr/lib/maemo-pan' flags=52
D000100: setupvnamevbs main=`//usr/lib/maemo-pan' tmp=`//usr/lib/maemo-pan.dpkg-tmp' new=`//usr/lib/maemo-pan.dpkg-new'
D000100: cu_installnew removing new file
D000100: unlinkorrmdir `//usr/lib/maemo-pan' rmdir OK
D000100: unlinkorrmdir `//usr/lib/maemo-pan.dpkg-new' rmdir No such file or directory
D000010: cu_installnew `/etc/init.d/maemo-pan' flags=17
D000100: setupvnamevbs main=`//etc/init.d/maemo-pan' tmp=`//etc/init.d/maemo-pan.dpkg-tmp' new=`//etc/init.d/maemo-pan.dpkg-new'
D000100: cu_installnew not restoring
D000100: unlinkorrmdir `//etc/init.d/maemo-pan.dpkg-new' unlink OK
D000002: fork/exec /var/lib/dpkg/tmp.ci/postrm ( abort-upgrade 1.0 )
killall: pan-daemon: no process killed
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 1
D000010: ensure_pathname_nonexisting `/var/lib/dpkg/tmp.ci'
D000010: ensure_pathname_nonexisting running rm -rf
D000010: ensure_pathname_nonexisting `/var/lib/dpkg/reassemble.deb'
Errors were encountered while processing:
 maemo-pan_1.0_armel.deb
Nokia-N900-51-1:~#
I will welcome any ideas that will help me to remove this package.

Last edited by Modron Wedroid; 2010-09-06 at 21:30. Reason: sometime my hands faster that my brain
 
dchky's Avatar
Posts: 549 | Thanked: 299 times | Joined on Jun 2010 @ Australian in the Philippines
#2
vi /var/lib/dpkg/info/maemo-pan.postrm

Comment out the last line so that it reads:

#killall pan-daemon

Then do apt-get --purge remove maemo-pan

Let me know how that works for you : )
 

The Following 2 Users Say Thank You to dchky For This Useful Post:
Posts: 7 | Thanked: 1 time | Joined on Sep 2010 @ Germany
#3
Originally Posted by dchky View Post
Let me know how that works for you : )
lot of thanks for the solution!!! it works.
now I not only stupid, but happy!!!
 

The Following User Says Thank You to Modron Wedroid For This Useful Post:
Posts: 33 | Thanked: 11 times | Joined on Feb 2013
#4
Code:
# dpkg -P --force-all maemo-pan
(Reading database ... 49447 files and directories currently installed.)
Removing maemo-pan ...
killall: pan-daemon: no process killed
dpkg: error processing maemo-pan (--purge):
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 maemo-pan
i've been searching for a solution or a command to remove this package but everything seems to be without effect.
can anyone please give me help?
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#5
Please try
Code:
dpkg -r --force-remove-reinstreq maemo-pan
 
Posts: 33 | Thanked: 11 times | Joined on Feb 2013
#6
Code:
# dpkg -r --force-remove-reinstreq maemo-pan
(Reading database ... 49463 files and directories currently installed.)
Removing maemo-pan ...
killall: pan-daemon: no process killed
dpkg: error processing maemo-pan (--remove):
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 maemo-pan
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#7
 
Posts: 33 | Thanked: 11 times | Joined on Feb 2013
#8
I already tried it, The line is without "#",and i am still getting errors.
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#9
But you have to add the "#" to comment this command in the un-install.
 

The Following 2 Users Say Thank You to michaaa62 For This Useful Post:
Posts: 33 | Thanked: 11 times | Joined on Feb 2013
#10
Facepalm,duh.
problem solved! Many thanks !
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 10:21.