I think I have the same problem. When I tried upgrading Xubuntu from Fiesty to Gutsy the process failed. When I tried to run dpkg the following happened:
sheila@Mesh-Monster:~$ sudo dpkg --configure -a
[sudo] password for sheila:
Setting up python-gammu (0.22-3) ...
pycentral: pycentral pkginstall: already exists: /usr/lib/python2.5/site-packages/gammu/Data.py
pycentral pkginstall: already exists: /usr/lib/python2.5/site-packages/gammu/Data.py
dpkg: error processing python-gammu (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-gammu-doc:
python-gammu-doc depends on python-gammu (>= 0.22-3); however:
Package python-gammu is not configured yet.
dpkg: error processing python-gammu-doc (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wammu:
wammu depends on python-gammu (>= 0.21); however:
Package python-gammu is not configured yet.
dpkg: error processing wammu (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python-gammu
python-gammu-doc
wammu
sheila@Mesh-Monster:~$ sudo apt-get install python-gammu
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-gammu is already the newest version.
The following packages were automatically installed and are no longer required:
libgsf-gnome-1-114 libxvidcore4 libpostproc0d libavformat0d libgammu0 libnspr-dev libavcodec0d
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up python-gammu (0.22-3) ...
pycentral: pycentral pkginstall: already exists: /usr/lib/python2.5/site-packages/gammu/Data.py
pycentral pkginstall: already exists: /usr/lib/python2.5/site-packages/gammu/Data.py
dpkg: error processing python-gammu (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-gammu-doc:
python-gammu-doc depends on python-gammu (>= 0.22-3); however:
Package python-gammu is not configured yet.
dpkg: error processing python-gammu-doc (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wammu:
wammu depends on python-gammu (>= 0.21); however:
Package python-gammu is not configured yet.
dpkg: error processing wammu (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python-gammu
python-gammu-doc
wammu
E: Sub-process /usr/bin/dpkg returned an error code (1)
I think I have the same problem. When I tried upgrading Xubuntu from Fiesty to Gutsy the process failed. When I tried to run dpkg the following happened:
sheila@ Mesh-Monster: ~$ sudo dpkg --configure -a python2. 5/site- packages/ gammu/Data. py python2. 5/site- packages/ gammu/Data. py Mesh-Monster: ~$ sudo apt-get install python-gammu gnome-1- 114 libxvidcore4 libpostproc0d libavformat0d libgammu0 libnspr-dev libavcodec0d python2. 5/site- packages/ gammu/Data. py python2. 5/site- packages/ gammu/Data. py
[sudo] password for sheila:
Setting up python-gammu (0.22-3) ...
pycentral: pycentral pkginstall: already exists: /usr/lib/
pycentral pkginstall: already exists: /usr/lib/
dpkg: error processing python-gammu (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-gammu-doc:
python-gammu-doc depends on python-gammu (>= 0.22-3); however:
Package python-gammu is not configured yet.
dpkg: error processing python-gammu-doc (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wammu:
wammu depends on python-gammu (>= 0.21); however:
Package python-gammu is not configured yet.
dpkg: error processing wammu (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python-gammu
python-gammu-doc
wammu
sheila@
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-gammu is already the newest version.
The following packages were automatically installed and are no longer required:
libgsf-
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up python-gammu (0.22-3) ...
pycentral: pycentral pkginstall: already exists: /usr/lib/
pycentral pkginstall: already exists: /usr/lib/
dpkg: error processing python-gammu (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-gammu-doc:
python-gammu-doc depends on python-gammu (>= 0.22-3); however:
Package python-gammu is not configured yet.
dpkg: error processing python-gammu-doc (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wammu:
wammu depends on python-gammu (>= 0.21); however:
Package python-gammu is not configured yet.
dpkg: error processing wammu (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python-gammu
python-gammu-doc
wammu
E: Sub-process /usr/bin/dpkg returned an error code (1)