my ubuntu software center is not starting.It is showing error "Encountered a problem with package"...Can anyone help me??

Asked by Paritosh Bapat

My ubumtu software center is not working.....It is showing some error such as encounterd a problem with the package...Plz help me to sought out the problem..

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
enubuntu (mr.tennents) said :
#1

1. Open a terminal by hitting CTRL + ALT + T
2. Insert and run this commands:
sudo apt-get update; sudo apt-get upgrade; sudo apt-get dist-upgrade; sudo apt-get --reinstall install software-center

3. Try to start it with this command:
software-center

then copy and paste here what the terminal says if you have this problem again.

Revision history for this message
Paritosh Bapat (paritoshvit) said :
#2

Thanks..... :-)it worked...

--
*Paritosh Bapat*

Revision history for this message
Paritosh Bapat (paritoshvit) said :
#3

ERROR:The action would require the installation of packages from not
authenticated sources.

what to do now???

Revision history for this message
Steve Lundback (lundback) said :
#4

I'm having the same problem. I try the apt-get commands and they seemed to work until the one listed below. I still have the problem of not being able to start the software center from the command line, by using the launcher icon, or by using the icon in the control center. The Update Manager icon in the control center doesn't respond either.

Thanks for working on this.
Steve

sudo apt-get --reinstall install software-center
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  linux-headers-2.6.38-8
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/461 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 183847 files and directories currently installed.)
Preparing to replace software-center 4.0.4 (using .../software-center_4.0.4_all.deb) ...
Unpacking replacement software-center ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
Processing triggers for python-support ...
Compiling /usr/lib/pymodules/python2.7/dbus/mainloop/glib.py ...
SyntaxError: ('invalid syntax', ('/usr/lib/pymodules/python2.7/dbus/mainloop/glib.py', 1, 17, 'Metadata-Version: 1.0\n'))

Compiling /usr/lib/pymodules/python2.7/debian/__init__.py ...
SyntaxError: ('invalid syntax', ('/usr/lib/pymodules/python2.7/debian/__init__.py', 18, 29, 'src/launchpadlib.egg-info/not-zip-safe\n'))

Setting up software-center (4.0.4) ...
Traceback (most recent call last):
  File "/usr/sbin/update-software-center", line 35, in <module>
    from softwarecenter.db.update import rebuild_database
  File "/usr/share/software-center/softwarecenter/db/update.py", line 41, in <module>
    from softwarecenter.db.database import parse_axi_values_file
  File "/usr/share/software-center/softwarecenter/db/database.py", line 27, in <module>
    from softwarecenter.db.application import Application
  File "/usr/share/software-center/softwarecenter/db/application.py", line 33, in <module>
    from softwarecenter.utils import *
  File "/usr/share/software-center/softwarecenter/utils.py", line 36, in <module>
    import dbus
  File "/usr/lib/pymodules/python2.7/dbus/__init__.py", line 89, in <module>
    from dbus.exceptions import MissingErrorHandlerException, \
ImportError: cannot import name MissingErrorHandlerException
Processing triggers for python-central ...

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

@Steve Lundback (lundback) please made your own question please don't append new question on other user thread...

Revision history for this message
Launchpad Janitor (janitor) said :
#6

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#7

@Paritosh Bapat
Are you still experiencing this problem?

If so, please perform steps 1-4 at https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure. Make sure not to skip step 1. Following those four steps might solve your problem. If it does not, then please select all the text in the Terminal (Edit > Select All), copy it to the clipboard (Edit > Copy), and paste it here.

Revision history for this message
Paritosh Bapat (paritoshvit) said :
#8

LinkedIn
------------

I'd like to include you in my network to share updates and stay in touch.

- Paritosh

Paritosh Bapat
Student at Vellore Institute of Technology
Vellore Area, India

Confirm that you know Paritosh Bapat:
https://www.linkedin.com/e/cj3mu9-haldsqfo-42/isd/9996260435/bHCKGQ0m/?hs=false&tok=0p8z3l0W26G5w1

--
You are receiving Invitation to Connect emails. Click to unsubscribe:
http://www.linkedin.com/e/cj3mu9-haldsqfo-42/vEc3FsEWptSCB6QMs_bGDME3Fa5JJ4BViyRT4Y3GBqEnBHQ1gTGO3y/goo/question172573%40answers%2Elaunchpad%2Enet/20061/I3332669224_1/?hs=false&tok=2Ng50iNdm6G5w1

(c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA.

Revision history for this message
Launchpad Janitor (janitor) said :
#9

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Paritosh Bapat (paritoshvit) said :
#10

LinkedIn
------------

I'd like to include you in my network to share updates and stay in touch.

- Paritosh

Paritosh Bapat
Student at Vellore Institute of Technology
Vellore Area, India

Confirm that you know Paritosh Bapat:
https://www.linkedin.com/e/cj3mu9-hb7x94ml-53/isd/9996260435/bHCKGQ0m/?hs=false&tok=0jD-2FJvd10lA1

--
You are receiving Invitation to Connect emails. Click to unsubscribe:
http://www.linkedin.com/e/cj3mu9-hb7x94ml-53/vEc3FsEWptSCB6QMs_bGDME3Fa5JJ4BViyRT4Y3GBqEnBHQ1gTGO3y/goo/question172573%40answers%2Elaunchpad%2Enet/20061/I3393290320_1/?hs=false&tok=3p0G_3s9J10lA1

(c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA.

Revision history for this message
Launchpad Janitor (janitor) said :
#11

This question was expired because it remained in the 'Open' state without activity for the last 15 days.