Hi!
I tried to install gfortran, but it needed the libglib2.0 so I tried to install this too. But that didn't work and now I got 'Error: BrokenCount >0'. I looked after how to solve this, I found this:
Code:
sudo apt-get clean sudo apt-get update sudo dpkg --configure -a
Code:
dpkg: dependency problems prevent configuration of libglib2.0-dev: libglib2.0-dev depends on libglib2.0-0 (= 2.46.1-1); however: Version of libglib2.0-0:amd64 on system is 2.46.2-1ubuntu1. libglib2.0-dev depends on libglib2.0-bin (= 2.46.1-1); however: Version of libglib2.0-bin on system is 2.46.2-1ubuntu1. dpkg: error processing package libglib2.0-dev (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: libglib2.0-dev
Code:
sudo apt-get install -f
Code:
Reading package lists... DoneBuilding dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libglib2.0-dev
Suggested packages:
libglib2.0-doc
The following packages will be upgraded:
libglib2.0-dev
1 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
1 not fully installed or removed.
Need to get 1.368 kB of archives.
After this operation, 4.096 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://hu.archive.ubuntu.com/ubuntu/ wily-updates/main libglib2.0-dev amd64 2.46.2-1ubuntu1 [1.368 kB]
Fetched 1.368 kB in 0s (4.357 kB/s)
(Reading database ... 643827 files and directories currently installed.)
Preparing to unpack .../libglib2.0-dev_2.46.2-1ubuntu1_amd64.deb ...
File "/usr/bin/pyclean", line 63
except (IOError, OSError), e:
^
SyntaxError: invalid syntax
dpkg: waing: subprocess old pre-removal script retued error exit status 1
dpkg: trying script from the new package instead ...
File "/usr/bin/pyclean", line 63
except (IOError, OSError), e:
^
SyntaxError: invalid syntax
dpkg: error processing archive /var/cache/apt/archives/libglib2.0-dev_2.46.2-1ubuntu1_amd64.deb (--unpack):
subprocess new pre-removal script retued error exit status 1
Traceback (most recent call last):
File "/usr/bin/pycompile", line 35, in <module>
from debpython.version import SUPPORTED, debsorted, vrepr,
File "/usr/share/python/debpython/version.py", line 24, in <module>
from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
dpkg: error while cleaning up:
subprocess installed post-installation script retued error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libglib2.0-dev_2.46.2-1ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg retued an error code (1)
- - , .
برچسب:
نویسنده: استخدام کار