how to recover ubuntu software distribution following crash

Asked by Cheryl Hardy

Ubuntu software distrubution has crashed and will not allow me to open file on ubuntu 12.04

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Cheryl Hardy (aquamaidsinc) said :
#1

Any reasonable hypothysis ?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Open what file? Can you open other files?

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#3

Hello,

What you mean by "Ubuntu Software Distribution" ? What is this ? Maybe Ubuntu Software Center instead ?

Regards
 NikTh

Revision history for this message
mezenok (mezenok) said :
#4

I think you should give us more detailed information:

what kind of file do you open?
by which programm are you open it?
if any error or messages - paste them here or make a screenshot.

Thanks.
If we have more infmation we will help you faster.

Denis.

Revision history for this message
Cheryl Hardy (aquamaidsinc) said :
#5

Ok, well I was running Windows Black,and could not connect to the internet
so a friend suggested I download Ubuntu,so I did and I am now convinced
this is by far a better OS,however since I recently attempted to upgrade to
13.04 now my software center in the menu throws up an error message
saying that ubuntu software center can't open and then asks me if I want to
force quit, relaunch,or cancel.
And it freezes the app. and becomes unresponsive.

On Sun, Jul 14, 2013 at 8:31 AM, mezenok <
<email address hidden>> wrote:

> Your question #232385 on software-center in Ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/232385
>
> mezenok proposed the following answer:
> I think you should give us more detailed information:
>
> what kind of file do you open?
> by which programm are you open it?
> if any error or messages - paste them here or make a screenshot.
>
> Thanks.
> If we have more infmation we will help you faster.
>
> Denis.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/232385/+confirm?answer_id=3
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/232385
>
> You received this question notification because you asked the question.
>

--
*Cheryl Hardy*
*aquamaidsinc.com. <http://aquamaidsinccom>*
*com <http://aquamaidsinccom>*

Revision history for this message
Ada Wah (ailurius) said :
#6

Hi

Please try this:

- Open Terminal (open the Dash and search for "terminal")
- Type "software-center" without the quotation marks, and press enter
- Copy the output and paste it here

Thanks

Revision history for this message
Cheryl Hardy (aquamaidsinc) said :
#7

pal@pal-Satellite-L505:~$ software-center
2013-07-14 21:18:20,822 - softwarecenter.ui.gtk3.app - INFO - setting up
proxy 'None'
2013-07-14 21:18:20,962 - softwarecenter.db.database - INFO - open()
database: path=None use_axi=True use_agent=True
2013-07-14 21:18:24,642 - softwarecenter.backend.reviews - WARNING - Could
not get usefulness from server, no username in config file
2013-07-14 21:18:25,105 - softwarecenter.ui.gtk3.app - INFO -
show_available_packages: search_text is '', app is None.
2013-07-14 21:18:25,190 - softwarecenter.db.pkginfo_impl.aptcache - INFO -
aptcache.open()
Traceback (most recent call last):
  File
"/usr/share/software-center/softwarecenter/db/pkginfo_impl/aptcache.py",
line 257, in open
    self._cache = apt.Cache(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 102, in
__init__
    self.open(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 145, in open
    self._cache = apt_pkg.Cache(progress)
SystemError: W:Duplicate sources.list entry cdrom://Ubuntu 12.04.1 LTS
_Precise Pangolin_ - Release amd64 (20120823.1)/ precise/main i386 Packages
(/var/lib/apt/lists/Ubuntu%2012.04.1%20LTS%20%5fPrecise%20Pangolin%5f%20-%20Release%20amd64%20(20120823.1)_dists_precise_main_binary-i386_Packages),
W:Duplicate sources.list entry cdrom://Ubuntu 12.04.1 LTS _Precise
Pangolin_ - Release amd64 (20120823.1)/ precise/restricted i386 Packages
(/var/lib/apt/lists/Ubuntu%2012.04.1%20LTS%20%5fPrecise%20Pangolin%5f%20-%20Release%20amd64%20(20120823.1)_dists_precise_restricted_binary-i386_Packages),
E:Encountered a section with no Package: header, E:Problem with MergeList
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_quantal_universe_i18n_Translation-en,
E:The package lists or status file could not be parsed or opened.
Traceback (most recent call last):
  File "/usr/share/software-center/update-software-center-agent", line 78,
in <module>
    cache = apt.Cache(memonly=True)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 102, in
__init__
    self.open(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 145, in open
    self._cache = apt_pkg.Cache(progress)
SystemError: W:Duplicate sources.list entry cdrom://Ubuntu 12.04.1 LTS
_Precise Pangolin_ - Release amd64 (20120823.1)/ precise/main i386 Packages
(/var/lib/apt/lists/Ubuntu%2012.04.1%20LTS%20%5fPrecise%20Pangolin%5f%20-%20Release%20amd64%20(20120823.1)_dists_precise_main_binary-i386_Packages),
W:Duplicate sources.list entry cdrom://Ubuntu 12.04.1 LTS _Precise
Pangolin_ - Release amd64 (20120823.1)/ precise/restricted i386 Packages
(/var/lib/apt/lists/Ubuntu%2012.04.1%20LTS%20%5fPrecise%20Pangolin%5f%20-%20Release%20amd64%20(20120823.1)_dists_precise_restricted_binary-i386_Packages),
E:Encountered a section with no Package: header, E:Problem with MergeList
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_quantal_universe_i18n_Translation-en,
E:The package lists or status file could not be parsed or opened.
2013-07-14 21:18:32,676 - softwarecenter.db.enquire - ERROR -
_get_estimate_nr_apps_and_nr_pkgs failed
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/db/enquire.py", line 115,
in _get_estimate_nr_apps_and_nr_pkgs
    tmp_matches = enquire.get_mset(0, len(self.db), None, xfilter)
  File "/usr/share/software-center/softwarecenter/db/appfilter.py", line
89, in __call__
    if (not pkgname in self.cache and
  File
"/usr/share/software-center/softwarecenter/db/pkginfo_impl/aptcache.py",
line 277, in __contains__
    return self._cache.__contains__(k)
AttributeError: 'NoneType' object has no attribute '__contains__'
Traceback (most recent call last):
  File "/usr/bin/software-center", line 182, in <module>
    app.run(args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line
1387, in run
    self.show_available_packages(args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line
1325, in show_available_packages
    self.view_manager.set_active_view(ViewPages.AVAILABLE)
  File
"/usr/share/software-center/softwarecenter/ui/gtk3/session/viewmanager.py",
line 151, in set_active_view
    view_widget.init_view()
  File
"/usr/share/software-center/softwarecenter/ui/gtk3/panes/availablepane.py",
line 173, in init_view
    self.cache, self.db, self.icons, self.apps_filter)
  File
"/usr/share/software-center/softwarecenter/ui/gtk3/views/lobbyview.py",
line 80, in __init__
    self.build()
  File
"/usr/share/software-center/softwarecenter/ui/gtk3/views/lobbyview.py",
line 324, in build
    self._build_homepage_view()
  File
"/usr/share/software-center/softwarecenter/ui/gtk3/views/lobbyview.py",
line 119, in _build_homepage_view
    self._append_whats_new()
  File
"/usr/share/software-center/softwarecenter/ui/gtk3/views/lobbyview.py",
line 253, in _append_whats_new
    whats_new_cat = self._update_whats_new_content()
  File
"/usr/share/software-center/softwarecenter/ui/gtk3/views/lobbyview.py",
line 238, in _update_whats_new_content
    docs = whats_new_cat.get_documents(self.db)
  File "/usr/share/software-center/softwarecenter/db/categories.py", line
131, in get_documents
    nonblocking_load=False)
  File "/usr/share/software-center/softwarecenter/db/enquire.py", line 330,
in set_query
    self._blocking_perform_search()
  File "/usr/share/software-center/softwarecenter/db/enquire.py", line 225,
in _blocking_perform_search
    matches = enquire.get_mset(0, self.limit, None, xfilter)
  File "/usr/share/software-center/softwarecenter/db/appfilter.py", line
89, in __call__
    if (not pkgname in self.cache and
  File
"/usr/share/software-center/softwarecenter/db/pkginfo_impl/aptcache.py",
line 277, in __contains__
    return self._cache.__contains__(k)
AttributeError: 'NoneType' object has no attribute '__contains__'
pal@pal-Satellite-L505:~$

On Sun, Jul 14, 2013 at 6:16 PM, Joakim Langvand <
<email address hidden>> wrote:

> Your question #232385 on software-center in Ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/232385
>
> Status: Open => Needs information
>
> Joakim Langvand requested more information:
> Hi
>
> Please try this:
>
> - Open Terminal (open the Dash and search for "terminal")
> - Type "software-center" without the quotation marks, and press enter
> - Copy the output and paste it here
>
> Thanks
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
>
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/232385
>
> You received this question notification because you asked the question.
>

--
*Cheryl Hardy*
*aquamaidsinc.com. <http://aquamaidsinccom>*
*com <http://aquamaidsinccom>*

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

Run :
wget https://dl.dropbox.com/u/8850924/fixpackage

chmod +x ./fixpackage

sudo ./fixpackage

Did you by any chance upgrade directly from Precise to Raring in on jump or did you upgrade to Quantal in between?

Can you help with this problem?

Provide an answer of your own, or ask Cheryl Hardy for more information if necessary.

To post a message you must log in.