[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Chronically broken package - bugs? In tetex-bin AND apt-get?



Hello-
I'm sorry if I sound hysterical, but I have reasons for concern. In fact, I'm truly desperate: it has been over a three months that I try to tackle this problem whenever I have some time. I was never able to use TeX on my potato, because the package somehow got "broken". And I mean *badly* broken. In dselect, it appear as *RI, which means that I should reinstall it.

But **nothing works**

Purging tetex-bin (and all it's dependencies, of course) results in nothing... apt-get remove tetex-bin - tells me that the package is in a "very inconsistent state and you should consider reinstalling it before removing."
But...
apt-get install reinstall tetex-bin - no good
and
apt-get -f install tetex-bin tetex-doc tetex-lib tetex-base
abd then apt-get -f install

You get the same error, below

siddhi:~# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following packages will be REMOVED:
r-gnome
0 packages upgraded, 0 newly installed, 1 to remove and 19 not upgraded.
15 packages not fully installed or removed.
Need to get 0B/2656kB of archives. After unpacking 225kB will be freed.
Do you want to continue? [Y/n]
(Reading database ... 115823 files and directories currently installed.)
Preparing to replace tetex-bin 1.0.6-7 (using .../tetex-bin_1.0.6-7_i386.deb) ...
Unpacking replacement tetex-bin ...
open /var/lib/xaw-wrappers/update-wrappers-history: Arquivo ou diretório não encontrado [file or directory not found]
dpkg: warning - old post-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
open /var/lib/xaw-wrappers/update-wrappers-history: Arquivo ou diretório não encontrado [file or directory not found] dpkg: error processing /var/cache/apt/archives/tetex-bin_1.0.6-7_i386.deb (--unpack):
subprocess new post-removal script returned error exit status 2
open /var/lib/xaw-wrappers/update-wrappers-history: Arquivo ou diretório não encontrado [file or directory not found]
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/tetex-bin_1.0.6-7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Another approach...


siddhi:~# apt-get --reinstall install tetex-bin
Reading Package Lists... Done
Building Dependency Tree... Done
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
25 packages not fully installed or removed.
Need to get 0B/2656kB of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n]
(Reading database ... 123935 files and directories currently installed.)
Preparing to replace tetex-bin 1.0.6-7 (using .../tetex-bin_1.0.6-7_i386.deb) ...
Unpacking replacement tetex-bin ...
open /var/lib/xaw-wrappers/update-wrappers-history: No such file or directory
dpkg: warning - old post-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
open /var/lib/xaw-wrappers/update-wrappers-history: No such file or directory dpkg: error processing /var/cache/apt/archives/tetex-bin_1.0.6-7_i386.deb (--unpack):
subprocess new post-removal script returned error exit status 2
open /var/lib/xaw-wrappers/update-wrappers-history: No such file or directory
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/tetex-bin_1.0.6-7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I have *no* /var/lib/xaw-wrappers/update-wrappers-history/ !! So, why the hell it keeps looking for it?!
*Whatever I do*, it keeps giving me this error message!!!
I've even tried moving the post-removal script
in /var/lib/dpkg/info (tetex-bin.postrm), but to no avail.

I have no idea...I'm desperate, I've tried everything I know. Even dpkg with the force option...

With all the time and effort I put in solving this problem, I'm sttil at ground zero with this package.

I am seriously considering the possibility that:
1) There is a bug in the tetex-bin package
2) There is a bug in apt-get (!!!!!!!!!!!!!)

Why am I considering apt-get? Because if I try to install *anything*, apt-get simply goes crazy with stupid messages. For instance, when I apt-get install grep-dctrl:

The following NEW packages will be installed:
grep-dctrl
0 packages upgraded, 1 newly installed, 0 to remove and 23 not upgraded.
15 packages not fully installed or removed.
Need to get 0B/2683kB of archives. After unpacking 127kB will be used.
Selecting previously deselected package tetex-bin.
(Reading database ... 115771 files and directories currently installed.)
Preparing to replace tetex-bin 1.0.6-7 (using .../tetex-bin_1.0.6-7_i386.deb) ...
Unpacking replacement tetex-bin ...
open /var/lib/xaw-wrappers/update-wrappers-history: Arquivo ou diretório não encontrado
dpkg: warning - old post-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
open /var/lib/xaw-wrappers/update-wrappers-history: Arquivo ou diretório não encontrado dpkg: error processing /var/cache/apt/archives/tetex-bin_1.0.6-7_i386.deb (--unpack):
subprocess new post-removal script returned error exit status 2
open /var/lib/xaw-wrappers/update-wrappers-history: Arquivo ou diretório não encontrado
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 2
Unpacking grep-dctrl (from .../grep-dctrl_1.3a_i386.deb) ...
Errors were encountered while processing:
/var/cache/apt/archives/tetex-bin_1.0.6-7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Same messages, over and over again...

**Nothing makes sense here**

And apt-get -f install will get me the first block of system messages I've pasted above.So you see...it's a circular thing...It's hell! I'm going nuts!!!
Help!!!!!!

Thank you for your time.
Best regards,
Henry








Reply to: