dpkg: error: parsing file '/var/lib/dpkg/status' near line 41363 package 'openstack-dashboard':
'Depends' field, missing architecture name, or garbage where architecture name expected
E: Sub-process /usr/bin/dpkg returned an error code (2)
Status of /var/lib/dpkg/status
Package: openstack-dashboard
Status: install ok half-configured
Priority: extra
Section: net
Installed-Size: 15121
Maintainer: Chuck Short <[email protected]>
Architecture: all
Source: horizon
Version: 1:2014.2-0ubuntu1~cloud0
Config-Version: 1:2014.2-0ubuntu1~cloud0
Depends: adduser, apache2 | httpd, libapache2-mod-wsgi (>= 2.3), python-django-horizon (= 1:2014.2-0ubuntu1~cloud0), python: (>= 2.7.1-0ubuntu2)
Pre-Depends: dpkg (>= 1.15.7.2)
Add a comment
|
1 Answer
There might be an error in the package itself, but that's unlikely.
Uninstall and purge the package:
sudo apt-get remove --purge openstack-dashboard
Then run:
sudo apt-get autoclean
sudo apt-get check
Then try installing again via
sudo apt-get install openstack-dashboard
-
If it still doesn't work, file a bug with the package management team. I've only ever had 1 broken package ever in the standard repositories...– FabbyNov 27, 2014 at 12:58
-
The following packages have unmet dependencies: openstack-dashboard : Depends: python: (>= 2.7.1-0ubuntu2) but it is not installable E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). Dec 1, 2014 at 5:33
-
-
Yes Mr. Fabby, i tried your suggeted link but still i could not install any packages and it is showing the same error. Dec 4, 2014 at 11:52
-
But now you have a different error (python dependency) Can you post the output of
'apt-get -f install
in the comments?– FabbyDec 4, 2014 at 12:54