/home/user> sudo apt-get remove --force-yes acroread acroread-cn-tw Reading package lists... Done Building dependency tree... Done The following packages will be REMOVED: acroread acroread-cn-tw 0 upgraded, 0 newly installed, 2 to remove and 1 not upgraded. 2 not fully installed or removed. Need to get 0B of archives. After unpacking 168MB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 76377 files and directories currently installed.) Removing acroread-cn-tw ... No diversion `diversion of /usr/lib/Adobe/Acrobat7.0/Reader/intellinux/lib/libagldata.so.28.0 to /usr/lib/Adobe/Acrobat7.0/Reader/intellinux/lib/libagldata.so.28.0.orig by acroread-cn-tw', none removed Removing `diversion of /usr/lib/Adobe/Acrobat7.0/Reader/intellinux/lib/libagldata.so.28 to /usr/lib/Adobe/Acrobat7.0/Reader/intellinux/lib/libagldata.so.28.orig by acroread-cn-tw' /var/lib/dpkg/info/acroread-cn-tw.postrm: line 7: 1777 Segmentation fault dpkg-divert --package acroread-cn-tw --remove --rename --divert /usr/lib/Adobe/Acrobat7.0/Reader/intellinux/lib/libagldata.so.28.orig /usr/lib/Adobe/Acrobat7.0/Reader/intellinux/lib/libagldata.so.28 dpkg: error processing acroread-cn-tw (--remove): subprocess post-removal script returned error exit status 139 Removing acroread ...Anyone know what to do?
Help with apt-get when removing acroread
#1
Posted 22 November 2007 - 10:19 AM
#2
Posted 24 November 2007 - 04:42 PM
#3
Posted 24 November 2007 - 04:45 PM
#4
Posted 24 November 2007 - 05:13 PM
I guess you're saying that we have to perform some serious command line tasks before we're allowed to remove some default software through Synaptic Package Manager - http://forum.eeeuser...pic.php?id=2650
This is a real shame, as Synaptic 'allowed' me to attempt to remove stuff, but has now screwed itself so badly that although it told me I had to manually reset pkgb (which I did) it is now dead in the water, and I shall have to restore my Eee PC to Factory Settings again... I think.
http://forum.eeeuser...pic.php?id=2650 is just too much for a newbie like me to get into sadly.
#5
Posted 24 November 2007 - 06:06 PM
To get around it, do
sudo rm -f /var/lib/dpkg/info/acroread-cn-tw.postrm
and then remove packages as normal.
#6
Posted 24 November 2007 - 06:46 PM
sudo rm -f /var/lib/dpkg/info/acroread-cn-tw.postrm
command! that's worked a treat, and prob given me 50MB of space back, seeing as I don't speak Taiwanese! (did it give me the space back?)
Many thanks.
#7
Posted 26 November 2007 - 08:57 AM
#8
Posted 26 November 2007 - 10:42 AM
#9
Posted 28 November 2007 - 07:42 PM
Quote
To get around it, do
sudo rm -f /var/lib/dpkg/info/acroread-cn-tw.postrm
and then remove packages as normal.
#10
Posted 08 December 2007 - 07:09 PM
#11
Posted 20 December 2007 - 06:19 PM
Acroread was in Taiwanese by default so I wrongly assumed that just removing support for the language would make it revert to English...me and my stupid logic!
The machine initially just shut down. It rebooted fine, but running Synaptic gave the following error:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
Did as I was told. But Synaptic would no longer work, as acroread-cn-tw was permanently highlighted for removal.
Used the "sudo rm -f /var/lib/dpkg/info/acroread-cn-tw.postrm" command, then restarted Synaptic. The package was still highlighted in red but I was then able to remove it with no problems.
Now, when I load Acroread, the PDF will load, but I get the following errors one after another...
There was an error while loading the plugin 'AcroForm.api'. The plugin failed to initialize
There was an error while loading the plugin 'Accessibility.api'. The plugin failed to initialize
There was an error while loading the plugin 'Annots.api'. The plugin failed to initialize
There was an error while loading the plugin 'DigSig.api'. The plugin failed to initialize
There was an error while loading the plugin 'PPKLite.api'. The plugin failed to initialize
Brief search brought up this: http://kb.adobe.com/...31303&sliceId=1
but the fix is only described for Windows...no idea how to get rid of it
Edited by devondan, 20 December 2007 - 06:20 PM.
#12
Posted 09 January 2008 - 12:43 PM
Quote
Acroread was in Taiwanese by default so I wrongly assumed that just removing support for the language would make it revert to English...me and my stupid logic!
The machine initially just shut down. It rebooted fine, but running Synaptic gave the following error:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
Did as I was told. But Synaptic would no longer work, as acroread-cn-tw was permanently highlighted for removal.
Used the "sudo rm -f /var/lib/dpkg/info/acroread-cn-tw.postrm" command, then restarted Synaptic. The package was still highlighted in red but I was then able to remove it with no problems.
Now, when I load Acroread, the PDF will load, but I get the following errors one after another...
There was an error while loading the plugin 'AcroForm.api'. The plugin failed to initialize
There was an error while loading the plugin 'Accessibility.api'. The plugin failed to initialize
There was an error while loading the plugin 'Annots.api'. The plugin failed to initialize
There was an error while loading the plugin 'DigSig.api'. The plugin failed to initialize
There was an error while loading the plugin 'PPKLite.api'. The plugin failed to initialize
Brief search brought up this: http://kb.adobe.com/...31303&sliceId=1
but the fix is only described for Windows...no idea how to get rid of it
#13
Posted 11 January 2008 - 12:15 PM
#14
Posted 11 January 2008 - 01:03 PM
#15
Posted 11 January 2008 - 05:27 PM
/home/user> sudo dpkg -r acroread-cn-tw
/home/user> sudo dpkg -r acroread
And install evince as pdf/dvi/postscript viewer.
#16
Posted 12 January 2008 - 05:25 AM
so the step by step way to get clean acroread install would be:
* try to uninstall the acroread and the acroread-cn-tw packages
* that will fail for the cn-tw package so use "sudo rm -f /var/lib/dpkg/info/acroread-cn-tw.postrm" and then uninstall it again to get rid of it.
* the next step would then be to add the mentioned repository (geekconnection.org) to your /etc/apt/sources.list file
* now start synaptic and browse for or search for the acroread package. now select it and then go to the menu "package" and select "force version". in the window that you now get select the 7.0.9-0.2sarge1 version.
* after you installed that package be careful because synaptic automatically marks the just intalled package to be updated with the one from asus (since the version is slightly higher) but we do not want this to happen so browse to the entry for acroread again and then deselect the update and then choose "lock version" from the package menu, now the acroread package will be omitted when updating.
that way you have your acroread working smoothly and freed up the disk space used by the tw-locales...
----
Black EEE 8G imported from Taiwan, running eeeXubuntu r3
#17
Posted 16 January 2008 - 11:12 PM
-----------
When I try to do this it just stays at this screen.. how long should it take? any clues?
/home/user> sudo rm -f /var/lib/dpkg/info/acroread-cn-tw.portrm /home/user> sudo dpkg -r acroread-cn-tw (Reading database ... 67760 files and directories currently installed.) Removing acroread-cn-tw ... No diversion `diversion of /usr/lib/Adobe/Acrobat7.0/Reader/intellinux/lib/libagldata.so.28.0 to /usr/lib/Adobe/Acrobat7.0/Reader/intellinux/lib/libagldata.so.28.0.orig by acroread-cn-tw', none removed Removing `diversion of /usr/lib/Adobe/Acrobat7.0/Reader/intellinux/lib/libagldata.so.28 to /usr/lib/Adobe/Acrobat7.0/Reader/intellinux/lib/libagldata.so.28.orig by acroread-cn-tw'Now i tried to install evince, and then this happened and stopped here..
Removing acroread-cn-tw ... No diversion `diversion of /usr/lib/Adobe/Acrobat7.0/Reader/intellinux/lib/libagldata.so.28.0 to /usr/lib/Adobe/Acrobat7.0/Reader/intellinux/lib/libagldata.so.28.0.orig by acroread-cn-tw', none removed Removing `diversion of /usr/lib/Adobe/Acrobat7.0/Reader/intellinux/lib/libagldata.so.28 to /usr/lib/Adobe/Acrobat7.0/Reader/intellinux/lib/libagldata.so.28.orig by acroread-cn-tw' /var/lib/dpkg/info/acroread-cn-tw.postrm: line 7: 2374 Segmentation fault dpkg-divert --package acroread-cn-tw --remove --rename --divert /usr/lib/Adobe/Acrobat7.0/Reader/intellinux/lib/libagldata.so.28.orig /usr/lib/Adobe/Acrobat7.0/Reader/intellinux/lib/libagldata.so.28 dpkg: error processing acroread-cn-tw (--remove): subprocess post-removal script returned error exit status 139 Removing acroread ...
Edited by n4sa, 17 January 2008 - 01:42 AM.
#18
Posted 21 January 2008 - 01:59 AM
Acroread now resides in a new Category there called " Not Installed (residual config)
A 'reinstall' of Acroread would now result in using up user memory (or breaking into the OS's partition, which I'm not yet entirely comfortable with doing - even if that could allow me to reclaim some user SSD) but at least I can still view PDFs via the Postscript Viewer.
Thanks to all for the guidance!
Crystal Black 1005HA w/matte screen, Atom 270, 2 GB RAM (from 07.07.09)
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












