Can not remove softwares

Bug #845054 reported by Gabriel Salles
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Lubuntu Software Center
Fix Released
High
Stephen Smally

Bug Description

I'm using natty.
Every time I go to "Installed Software" and click on "Remove from the system", I receive a message similar to the following one and I cannot remove the software:
.
python: can't open file 'scripts/apc.py': [Errno 2] No such file or directory
Traceback (most recent call last):
  File "/usr/bin/lubuntu-software-center", line 148, in remove_package
    self.response = subprocess.check_output(["python", "scripts/apc.py", "remove", self.pkg_selected[0]])
  File "/usr/lib/python2.7/subprocess.py", line 537, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['python', 'scripts/apc.py', 'remove', 'asylum']' returned non-zero exit status 2

Related branches

Revision history for this message
jpxsat (jpxsat) wrote :

Confirming

Revision history for this message
Stephen Smally (stephen-smally) wrote : Re: [Bug 845054] [NEW] Can not remove softwares

On 08/09/2011 20:41, Gabriel Salles wrote:
> Public bug reported:
>
> I'm using natty.
> Every time I go to "Installed Software" and click on "Remove from the system", I receive a message similar to the following one and I cannot remove the software:
> .
> python: can't open file 'scripts/apc.py': [Errno 2] No such file or directory
> Traceback (most recent call last):
> File "/usr/bin/lubuntu-software-center", line 148, in remove_package
> self.response = subprocess.check_output(["python", "scripts/apc.py", "remove", self.pkg_selected[0]])
> File "/usr/lib/python2.7/subprocess.py", line 537, in check_output
> raise CalledProcessError(retcode, cmd, output=output)
> subprocess.CalledProcessError: Command '['python', 'scripts/apc.py', 'remove', 'asylum']' returned non-zero exit status 2
>
> ** Affects: lubuntu-software-center
> Importance: Undecided
> Status: New
>

yes, i have to fix this, the script was moved to another location.

Revision history for this message
Stephen Smally (stephen-smally) wrote : Re: [Bug 845054] Re: Can not remove softwares

can you post me the output of:
locate apc.py

Stephen Smally

Revision history for this message
Stephen Smally (stephen-smally) wrote :

done, is fixed in the build-system branch, i will merge.

Changed in lubuntu-software-center:
status: New → Fix Released
importance: Undecided → High
assignee: nobody → Stephen Smally (stephen-smally)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.