<p>Hi,</p>
<p>Try this.<br>
# aptitude update<br>
# aptitude update<br>
# aptitude upgrade you can also use # aptitude safe-upgrade</p>
<p>Hope it helps.</p>
<p>Paulo Repreza</p>
<p><blockquote>On May 1, 2009 7:20 PM, "watermod" <<a href="mailto:dayscondor@ameritech.net">dayscondor@ameritech.net</a>> wrote:<br><br>I was doing one of those auto apt-get gui things with update manager in<br>
Debian and not watching the error log so I don't know where it started.<br>
<br>
It involves only Python stuff. I don't know Python but apps use it.<br>
<br>
<br>
The current apt state is that python apps are failing install in:<br>
/usr/sbin/update-python-modules<br>
<br>
typical error list looks like:<br>
<br>
dpkg: warning - old pre-removal script returned error exit status 1<br>
dpkg - trying script from the new package instead ...<br>
WARNING: python-gtk2-doc.private does not exist.<br>
Some bytecompiled files may be left behind.<br>
Traceback (most recent call last):<br>
File "/usr/sbin/update-python-modules", line 437, in <module><br>
public_packages[package].install(need_postinstall)<br>
File "/usr/sbin/update-python-modules", line 232, in __getitem__<br>
self[name] = SharedFileList (path)<br>
File "/usr/sbin/update-python-modules", line 146, in __init__<br>
for line in file(path):<br>
IOError: [Errno 21] Is a directory<br>
dpkg: error processing /var/cache/apt/archives/python-gtk2-<br>
doc_2.14.1-2_all.deb (--unpack):<br>
subprocess new pre-removal script returned error exit status 1<br>
Traceback (most recent call last):<br>
File "/usr/sbin/update-python-modules", line 437, in <module><br>
public_packages[package].install(need_postinstall)<br>
File "/usr/sbin/update-python-modules", line 232, in __getitem__<br>
self[name] = SharedFileList (path)<br>
File "/usr/sbin/update-python-modules", line 146, in __init__<br>
for line in file(path):<br>
IOError: [Errno 21] Is a directory<br>
dpkg: error while cleaning up:<br>
<br>
on and on and on....<br>
The following:<br>
<br>
dpkg -C<br>
<br>
gives:<br>
The following packages are in a mess due to serious problems during<br>
installation. They must be reinstalled for them (and any packages<br>
that depend on them) to function properly:<br>
python-reportbug Python modules for interacting with bug tracking<br>
systems<br>
lsb-release Linux Standard Base version reporting utility<br>
python-ogg Python interface to the Ogg library<br>
system-config-lvm A utility for graphically configuring Logical<br>
Volumes<br>
bitpim utility to communicate with many CDMA phones<br>
bitpim-lib architecture-dependent helper files for BitPim<br>
python-glade2 GTK+ bindings: Glade support<br>
python-gtk2 Python bindings for the GTK+ widget set<br>
python-feedparser Universal Feed Parser for Python<br>
python-gtk2-doc Python bindings for the GTK+ widget set -<br>
documentation<br>
k3d 3D modeling and animation system<br>
<br>
The following packages have been unpacked but not yet configured.<br>
They must be configured using dpkg --configure or the configure<br>
menu option in dselect for them to work:<br>
acroread-plugins Plugins for Adobe Acrobat(R) Reader<br>
python-roman module for generating/analyzing Roman numerals<br>
python-soappy SOAP Support for Python<br>
python-glpk Python bindings to the GNU Linear Programming Kit<br>
python-dialog Python module for making simple Text/Console-mode<br>
user in<br>
python-biggles Scientific plotting package for Python<br>
python-gd Python module wrapper for libgd<br>
python-clutter Open GL based interactive canvas library - Python<br>
binding<br>
python-decoratortools version-agnostic decorators support for Python<br>
python-fpconst Utilities for handling IEEE 754 floating point<br>
special va<br>
acroread-data data files for acroread<br>
python-galago-gtk GTK+ widgets for the Galago presence library<br>
(Python inte<br>
python-utmp python module for working with utmp<br>
python-debianbts Python interface to Debian's Bug Tracking System<br>
python-gobject-dev Development headers for the GObject Python bindings<br>
acroread-escript Adobe EScript Plug-In<br>
python-dhm collection of Python utilities / helper<br>
python-unit unit test framework for Python<br>
acpid Utilities for using ACPI power management<br>
python-sqlalchemy SQL toolkit and Object Relational Mapper for Python<br>
python-gnutls Python wrapper for the GNUTLS library<br>
python-xlib Interface for Python to the X11 Protocol<br>
acroread Adobe Acrobat Reader: Portable Document Format file<br>
viewe<br>
python-pyinotify simple Linux inotify Python bindings<br>
python-facebook Python wrappers for the Facebook API<br>
reportbug reports bugs in the Debian distribution<br>
python-ll-core Python modules for colors, make, cron, daemons,<br>
URLs, tem<br>
python-beaker Simple WSGI middleware that uses the Myghty<br>
Container API<br>
python-xcbgen X C Binding - protocol binding generator<br>
libroot-dev Header files for ROOT<br>
python-dcop DCOP bindings for Python<br>
python-docutils utilities for the documentation of Python modules<br>
libroot-python-dev Python extension for ROOT - development files<br>
python-extractor extracts meta-data from files of arbitrary type<br>
(Python b<br>
python-debian Python modules to work with Debian-related data<br>
formats<br>
python-cheetah text-based template engine and Python code generator<br>
python-galago Galago presence library (Python interface)<br>
<br>
The following packages are only half configured, probably due to problems<br>
configuring them the first time. The configuration should be retried<br>
using<br>
dpkg --configure <package> or the configure menu option in dselect:<br>
python-support automated rebuilding support for Python modules<br>
<br>
<br>
The last one appears to be a key problem.... reconfigure gives the same<br>
dam error.<br>
<br>
Chicken egg problem of some sort...<br>
I can't add or remove anything python with the debian package tools...<br>
Maybe I could install by hand by a tarball if I knew where to stick stuff<br>
<br>
I unpacked a tarball to: /usr/src/python-support-1.0.2<br>
but have no idea what to do... I am not a python guy... c, c++ perl but<br>
brain dead for this...<br>
/usr/src/python-support-1.0.2# ls -CF<br>
COPYING debian/ movemodules* pysupport.py README<br>
update-python-modules*<br>
debhelper/ hold parseversions* python-support.private runtime/<br>
update-python-modules.8<br>
<br>
SO!!! HELP ... SUGGESTIONS?<br>
<font color="#888888"><br>
<br>
<br>
--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></blockquote></p>