Jump to content


Help with apt-get when removing acroread


17 replies to this topic

#1 aperson

    Senior Member

  • Members
  • 162 posts
  • LocationShakopee/MN/USA

Posted 22 November 2007 - 10:19 AM

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?
ne porvivajo nur mortigi tempo

#2 martin8768

    New member

  • Members
  • 5 posts

Posted 24 November 2007 - 04:42 PM

yah I have the exact same problem, are you using full mode?

#3 mkrishnan

    ExtrEmE User

  • Moderators
  • 3,444 posts
  • LocationGrand Rapids, MI, USA

Posted 24 November 2007 - 04:45 PM

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?
Mohan

#4 Wedge

    Senior Member

  • Members
  • 179 posts
  • LocationUK

Posted 24 November 2007 - 05:13 PM

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...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.
ASUS/Xandros GNU/Linux Newbie

#5 grytpype

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts
  • LocationNew York, NY

Posted 24 November 2007 - 06:06 PM

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.

#6 Wedge

    Senior Member

  • Members
  • 179 posts
  • LocationUK

Posted 24 November 2007 - 06:46 PM

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.
ASUS/Xandros GNU/Linux Newbie

#7 aperson

    Senior Member

  • Members
  • 162 posts
  • LocationShakopee/MN/USA

Posted 26 November 2007 - 08:57 AM

Thank you much.
ne porvivajo nur mortigi tempo

#8 Neil

    EEEmazing User

  • Moderators
  • 6,897 posts
  • LocationBerkshire, England

Posted 26 November 2007 - 10:42 AM

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.

#9 darwin

    New member

  • Members
  • 4 posts

Posted 28 November 2007 - 07:42 PM

Quote

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.

#10 Carl

    Member

  • Members
  • 16 posts

Posted 08 December 2007 - 07:09 PM

;I've tried the above command and it's not doing anything :s

#11 devondan

    Member

  • Members
  • 13 posts

Posted 20 December 2007 - 06:19 PM

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/...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 eugenemcardle

    Member

  • Members
  • 19 posts
  • LocationCairns, QLD, formally Monaghan

Posted 09 January 2008 - 12:43 PM

Quote

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/...31303&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??

#13 aperson

    Senior Member

  • Members
  • 162 posts
  • LocationShakopee/MN/USA

Posted 11 January 2008 - 12:15 PM

you will be able to read pdf files without acroread installed. Ghostview (or ghostscript?) can read them and is installed by default.
ne porvivajo nur mortigi tempo

#14 Neil

    EEEmazing User

  • Moderators
  • 6,897 posts
  • LocationBerkshire, England

Posted 11 January 2008 - 01:03 PM

Ghostview does the previewing :)

#15 ozroc

    New member

  • Members
  • 7 posts

Posted 11 January 2008 - 05:27 PM

If you have problems remove it with dpkg:

/home/user> sudo dpkg -r acroread-cn-tw
/home/user> sudo dpkg -r acroread

And install evince as pdf/dvi/postscript viewer.

#16 Graves

    Senior Member

  • Members
  • 386 posts
  • LocationOldenburg, Germany

Posted 12 January 2008 - 05:25 AM

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....ory_information ).

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...
Get the brand new Version 2.1 of my eeeXubuntu-OSD Scriptpack.
----
Black EEE 8G imported from Taiwan, running eeeXubuntu r3

#17 n4sa

    Advanced Member

  • Members
  • PipPipPip
  • 37 posts
  • LocationBrisbane, Australia

Posted 16 January 2008 - 11:12 PM

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 ...

Edited by n4sa, 17 January 2008 - 01:42 AM.


#18 Bazza

    ExtrEmE User

  • Members
  • 1,027 posts
  • LocationToronto, Canada

Posted 21 January 2008 - 01:59 AM

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!
Pearl 701 4G Linux (11.11.07 to 07.07.09)
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