You are not logged in.
I was trying to remove acrobat and somehow borked the removal. Now whenever I try to use apt-get or synaptic, I get:
/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?
Offline
yah I have the exact same problem, are you using full mode?
Offline
I'm going to go ahead and ask the dumb question ... this is *after* you've undone the UnionFS and brought up sda1 in read/write mode and/or repartitioned so that you have write access to the OS partition, correct?
Offline
Hi Mohan,
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.com/viewtopic.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.com/viewtopic.php?id=2650 is just too much for a newbie like me to get into sadly.
Offline
This is a known problem with the acroread-cn-tw.postrm package.
To get around it, do
sudo rm -f /var/lib/dpkg/info/acroread-cn-tw.postrm
and then remove packages as normal.
Offline
Thank you very much for the
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.
Offline
Thank you much.
Offline
Agreed- the problem is with that particular language package, and not acroread itself. However, no, you did not get the space back as usable space, unless you tinkered with the filesystem.
Offline
grytpype wrote:
This is a known problem with the acroread-cn-tw.postrm package.
To get around it, do
sudo rm -f /var/lib/dpkg/info/acroread-cn-tw.postrm
and then remove packages as normal.
Thanks, this worked for me as well.
Offline
;I've tried the above command and it's not doing anything :s
Offline
Just had this problem as well!
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/selfservice/viewCon … ;sliceId=1
but the fix is only described for Windows...no idea how to get rid of it
Last edited by devondan (2007-12-20 1:20:32 pm)
Offline
devondan wrote:
Just had this problem as well!
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/selfservice/viewCon … ;sliceId=1
but the fix is only described for Windows...no idea how to get rid of it
I am in the same boat, but at least I can install/remove other packages now. Maybe an update from Adobe will fix it. Unable to reinstall the ch-tw package so will live wth the plugin problem, unless there is an alternative PDF reader??
Offline
you will be able to read pdf files without acroread installed. Ghostview (or ghostscript?) can read them and is installed by default.
Offline
Ghostview does the previewing ![]()
Offline
i had the same issues after removing the taiwanese locales. so what i did was remove the acroread pakage as well and installed the latest version that was in the geekconnection repository (see http://wiki.eeeuser.com/addingxandrosre … nformation ).
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...
Offline
Edit: I Fixed the problem! and no more dpkg errors! heres what I did.. I opened synaptic, selected the acroread package then clicked on package in the menu and then "Force Version". I then chose the package from the geekconnection repo. From here I tried to apply but got an error, so i closed synaptic, re-opened it and this time it downloaded and installed, also removing the "acroread-cn-tw" that was stuck on marked for removal.
-----------
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 ...
Last edited by n4sa (2008-01-16 8:42:03 pm)
Offline
Had all these issues with trying to remove the blasted acroread-cn-tw (of course, not finding this thread till after the mess was achieved), but with the help here, I finally got rid of it (and all of acroread - oh, well) and gained control again of Synaptic.
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!
Offline