← Back to team overview

desktop-packages team mailing list archive

[Bug 677924] Re: Software Center wont run

 

I just tried to reproduce this problem with Ubuntu Software Center 4.1.23.3, but could not. Here's what I did:
1. At a terminal, entered "sudo chmod a-r /var/log/apt/*" (making all the history files unreadable)
2. At a terminal, entered "rm ~/.cache/software-center/apthistory.p" (deleting the history cache too)
3. Launched USC
4. Navigated to the History screen
5. Closed USC
6. Restored the previous state with "sudo chmod a+r /var/log/apt/*"

USC launched fine. The "History" screen was empty, which was what I
expected.

If you still experience the problem, you could help get it fixed by providing the error message:
1. close Ubuntu Software Center, if it's open already
2. enter the command "software-center" in a Terminal window
3. trigger the error
4. copy any error output from the Terminal window, and paste it into this bug report.

Thanks.

** Changed in: software-center (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/677924

Title:
  Software Center wont run

Status in “software-center” package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: software-center

  i updated ubuntu from 10.04 to 10.10 and then software center wont
  run.

  
  po_taka@potaka-desktop:~$ software-center 
  Traceback (most recent call last):
    File "/usr/bin/software-center", line 90, in <module>
      app = SoftwareCenterApp(datadir, xapian_base_path, options, args)
    File "/usr/share/software-center/softwarecenter/app.py", line 149, in __init__
      self.history = get_apt_history()
    File "/usr/share/software-center/softwarecenter/apt/apthistory.py", line 178, in get_apt_history
      apt_history = AptHistory()
    File "/usr/share/software-center/softwarecenter/apt/apthistory.py", line 83, in __init__
      self.rescan()
    File "/usr/share/software-center/softwarecenter/apt/apthistory.py", line 97, in rescan
      cmp=self._mtime_cmp):
    File "/usr/share/software-center/softwarecenter/apt/apthistory.py", line 92, in _mtime_cmp
      return cmp(os.path.getmtime(a), os.path.getmtime(b))
    File "/usr/lib/python2.6/genericpath.py", line 54, in getmtime
      return os.stat(filename).st_mtime
  OSError: [Errno 13] Permission denied: '/var/log/apt/history.log.4.gz'
  po_taka@potaka-desktop:~$

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: software-center 3.0.5
  ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
  Uname: Linux 2.6.35-22-generic x86_64
  NonfreeKernelModules: fglrx
  Architecture: amd64
  Date: Sat Nov 20 21:25:28 2010
  PackageArchitecture: all
  ProcEnviron:
   LANG=en_US.utf8
   SHELL=/bin/bash
  SourcePackage: software-center

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/677924/+subscriptions