Blog Forum Wiki Links Contact Us NetbookUser
RunCore Pro IV SSD Transforms your ASUS EEE PC by increasing 
performance 5-40X. Your satistfaction guaranteed RunCore Pro 70mm SATA Mini PCI-e SSD
RunCore Pro IV 70mm SATA II Mini PCI-e SSD
RunCore Pro IV 2.5 Inch SATA II SSD

You are not logged in.

#1 2007-11-22 5:19:59 am

aperson
Senior Member
From: Shakopee/MN/USA
Registered: 2007-11-18
Posts: 106

Help with apt-get when removing acroread

I was trying to remove acrobat and somehow borked the removal.  Now whenever I  try to use apt-get or synaptic, I get:

Code:

/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

 

#2 2007-11-24 11:42:59 am

martin8768
New member
Registered: 2007-11-24
Posts: 5

Re: Help with apt-get when removing acroread

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

Offline

 

#3 2007-11-24 11:45:18 am

mkrishnan
Moderator
From: Chicago, IL, USA
Registered: 2007-11-06
Posts: 3433

Re: Help with apt-get when removing acroread

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

Offline

 

#4 2007-11-24 12:13:08 pm

Wedge
Senior Member
From: UK
Registered: 2007-11-20
Posts: 179
Website

Re: Help with apt-get when removing acroread

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.


ASUS/Xandros GNU/Linux Newbie

Offline

 

#5 2007-11-24 1:06:49 pm

grytpype
Member
From: New York, NY
Registered: 2007-08-11
Posts: 63

Re: Help with apt-get when removing acroread

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

 

#6 2007-11-24 1:46:56 pm

Wedge
Senior Member
From: UK
Registered: 2007-11-20
Posts: 179
Website

Re: Help with apt-get when removing acroread

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

Offline

 

#7 2007-11-26 3:57:52 am

aperson
Senior Member
From: Shakopee/MN/USA
Registered: 2007-11-18
Posts: 106

Re: Help with apt-get when removing acroread

Thank you much.

Offline

 

#8 2007-11-26 5:42:21 am

Neil
Moderator
From: Berkshire, England
Registered: 2007-11-25
Posts: 6543
Website

Re: Help with apt-get when removing acroread

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

 

#9 2007-11-28 2:42:10 pm

darwin
New member
Registered: 2007-11-02
Posts: 4

Re: Help with apt-get when removing acroread

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

 

#10 2007-12-08 2:09:43 pm

Carl
Member
Registered: 2007-10-26
Posts: 16

Re: Help with apt-get when removing acroread

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

Offline

 

#11 2007-12-20 1:19:42 pm

devondan
Member
Registered: 2007-11-26
Posts: 13

Re: Help with apt-get when removing acroread

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

 

#12 2008-01-09 7:43:21 am

eugenemcardle
Member
From: Cairns, QLD, formally Monaghan
Registered: 2008-01-08
Posts: 19

Re: Help with apt-get when removing acroread

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

 

#13 2008-01-11 7:15:45 am

aperson
Senior Member
From: Shakopee/MN/USA
Registered: 2007-11-18
Posts: 106

Re: Help with apt-get when removing acroread

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

Offline

 

#14 2008-01-11 8:03:03 am

Neil
Moderator
From: Berkshire, England
Registered: 2007-11-25
Posts: 6543
Website

Re: Help with apt-get when removing acroread

Ghostview does the previewing smile

Offline

 

#15 2008-01-11 12:27:27 pm

ozroc
New member
Registered: 2008-01-04
Posts: 7
Website

Re: Help with apt-get when removing acroread

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.

Offline

 

#16 2008-01-12 12:25:33 am

Graves
Senior Member
From: Oldenburg, Germany
Registered: 2007-12-17
Posts: 386

Re: Help with apt-get when removing acroread

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


Get the brand new Version 2.1 of my eeeXubuntu-OSD Scriptpack.
----
Black EEE 8G imported from Taiwan, running eeeXubuntu r3

Offline

 

#17 2008-01-16 6:12:50 pm

n4sa
Member
From: Brisbane, Australia
Registered: 2007-12-11
Posts: 37

Re: Help with apt-get when removing acroread

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?

Code:

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

Code:

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

 

#18 2008-01-20 8:59:44 pm

Bazza
Senior Member
From: Toronto, Canada
Registered: 2007-11-11
Posts: 968

Re: Help with apt-get when removing acroread

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)

Offline

 

Board footer

Powered by PunBB 1.2.15
© Copyright 2002–2005 Rickard Andersson