View Single Post
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#159
Originally Posted by ddwalker View Post
Code:
root:~# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  qgvdial
The following packages will be upgraded:
  qgvdial
1 upgraded, 0 newly installed, 0 to remove and 52 not upgraded.
2 not fully installed or removed.
Need to get 0B/369kB of archives.
After this operation, 930kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ... 51186 files and directories currently installed.)
Preparing to replace qgvdial 0.2.366-1 (using .../qgvdial_0.2.502-1_armel.deb) ...
/usr/bin/run-standalone.sh: line 11: /opt/qgvdial/bin/qgv-util: not found
dpkg: warning - old pre-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
/usr/bin/run-standalone.sh: line 11: /opt/qgvdial/bin/qgvdial: not found
dpkg: error processing /var/cache/apt/archives/qgvdial_0.2.502-1_armel.deb (--unpack):
 subprocess new pre-removal script returned error exit status 127
chmod: /opt/qgvdial/bin/qgvdial: No such file or directory
chmod: /opt/qgvdial/bin/qgv-tp: No such file or directory
chmod: /opt/qgvdial/bin/qgv-util: No such file or directory
/usr/bin/run-standalone.sh: line 11: /opt/qgvdial/bin/qgv-util: not found
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
 /var/cache/apt/archives/qgvdial_0.2.502-1_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Anyone can help me with this? Now I can't use FAM or built-in App Manager to update/install.
Thanks!
That's very odd - looks like the application files have been deleted even though it's not been uninstalled (have you deleted things manually, had corruption on the /home filesystem, or anything like that?). I'd suggest doing:
Code:
sudo gainroot
mv /var/lib/dpkg/info/qgvdial.prerm /root
apt-get -f install
If that works, you can remove the /root/qgvdial.prerm file, otherwise move it back to /var/lib/dpkg/info.