Cannot install

Bug #1044845 reported by Edoardo Tenani
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cuttlefish
Fix Released
High
Bhavani Shankar

Bug Description

During installation, when dpkg configure the package, a Syntax error shows up, breaking dpkg and leading to a broken install.

SyntaxError: ('invalid syntax', ('/opt/extras.ubuntu.com/cuttlefish/cuttlefish/indicator.py', 1, 1, '!/usr/bin/python\n'))
E: Sub-process /usr/bin/dpkg returned an error code (1)

Simply in that file at the beginning the shebang is missing a '#' sign!

Revision history for this message
Miś Uszatek (mis.uszatek) wrote :

167 $LANG=C sudo aptitude install cuttlefish
[sudo] password for eeee:
The following NEW packages will be installed:
  cuttlefish
0 packages upgraded, 1 newly installed, 0 to remove and 20 not upgraded.
Need to get 0 B/87.0 kB of archives. After unpacking 389 kB will be used.
Selecting previously unselected package cuttlefish.
(Reading database ... 133438 files and directories currently installed.)
Unpacking cuttlefish (from .../cuttlefish_12.07.13-extras12.04.1_all.deb) ...
Processing triggers for desktop-file-utils ...
Setting up cuttlefish (12.07.13-extras12.04.1) ...
SyntaxError: ('invalid syntax', ('/opt/extras.ubuntu.com/cuttlefish/cuttlefish/indicator.py', 1, 1, '!/usr/bin/python\n'))

dpkg: error processing cuttlefish (--configure):
 subprocess installed post-installation script returned error exit status 101
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 cuttlefish
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up cuttlefish (12.07.13-extras12.04.1) ...
SyntaxError: ('invalid syntax', ('/opt/extras.ubuntu.com/cuttlefish/cuttlefish/indicator.py', 1, 1, '!/usr/bin/python\n'))

dpkg: error processing cuttlefish (--configure):
 subprocess installed post-installation script returned error exit status 101
Errors were encountered while processing:
 cuttlefish

Revision history for this message
Alex (noneed4anick) wrote :

Hey guys,

thanks for reporting this problem. I've already noticed it myself and now thanks to you guys I know that it's not only for me. I'm trying to contact people from the Ubuntu App Review Board since yesterday, but it's weekend and I could not contact anyone yet.

Please stay patient or use the PPA.

Changed in cuttlefish:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Alex (noneed4anick) wrote :

Just assigned this bug to bhavi, because he might be the right person for this issue, since he worked on bringing the app into the USC in the first place.
Also I think that the released version is very outdated.

Changed in cuttlefish:
assignee: nobody → Bhavani Shankar (bhavi)
Revision history for this message
0x800ccc0f (0x800ccc0f) wrote :

sudo nano /opt/extras.ubuntu.com/cuttlefish/cuttlefish/indicator.py
and just type sharp - "#" as first simbol in this document =)

Revision history for this message
Alex (noneed4anick) wrote :

Yes 0x800ccc0f, this might be a valid workaround. But still this is not the current version, so please consider to use the latest package from my PPA.

Bhavani Shankar (bhavi)
Changed in cuttlefish:
status: Triaged → In Progress
Revision history for this message
Bhavani Shankar (bhavi) wrote :

Fixed and uploaded in extras archive now. Should be available in USC in sometime

Regards
Bhavi

Changed in cuttlefish:
status: In Progress → Fix Committed
Revision history for this message
Alex (noneed4anick) wrote :

The current release is now published. You may have to update your index by typing "sudo apt-get update" into a terminal.

Bhavi, thanks for the fast fix :-)

Changed in cuttlefish:
status: Fix Committed → Fix Released
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.