package python-twisted-core 10.0.0-2ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #627654 reported by Brian E. GEORGE
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
twisted (Ubuntu)
Incomplete
Undecided
Barry Warsaw

Bug Description

This happened whilst upgrading.... the package manager gave a warning sign (at installation of upgrade package). this has not allowed the wireless to function corectly 9not being to savvy on the info needed to be given... I can tell you that it is on a Toshiba lapTop (Equium L300)

Thank you.

Ubuntu 10.04

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: python-twisted-core 10.0.0-2ubuntu2
ProcVersionSignature: Ubuntu 2.6.32-24.42-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
Architecture: i386
Date: Tue Aug 31 21:32:18 2010
ErrorMessage: subprocess installed post-installation script returned error exit status 1
PackageArchitecture: all
SourcePackage: twisted
Title: package python-twisted-core 10.0.0-2ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Revision history for this message
Brian E. GEORGE (bredgeo1) wrote :
Revision history for this message
Brian E. GEORGE (bredgeo1) wrote :
Download full text (17.8 KiB)

Here is what I get from trying this command: sudo apt-get install b43-fwcutter linux-backports-modules-wireless-lucid-generic

les-wireless-lucid-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
b43-fwcutter is already the newest version.
linux-backports-modules-wireless-lucid-generic is already the newest version.
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.31-22 xulrunner-1.9.1 libicu40 libindicate-gtk1
  latex-xft-fonts libdns53 libcompress-bzip2-perl mysql-common librasqal1
  python-gtksourceview libisccc50 binutils-static libopal3.6.4 redland-utils
  libgssdp-1.0-1 liblwres50 libbind9-50 libpt2.6.4-plugins libgdata5
  libpt2.6.4 libmysqlclient16 libisccfg50 libgupnp-1.0-2 libxklavier15 libpq5
  libindicate3 python-nautilusburn libisc50 gnome-blackjack raptor-utils
  libntfs-3g54 linux-headers-2.6.31-22-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
16 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up python-twisted-core (10.0.0-2ubuntu2) ...
Compiling /usr/lib/python2.6/dist-packages/twisted/protocols/telnet.py ...
Sorry: IndentationError: ('unexpected indent', ('/usr/lib/python2.6/dist-packages/twisted/protocols/telnet.py', 128, 17, ' \xa0! # Sent only as a reply to ECHO or NO ECHO,\n'))
pycentral: pycentral pkginstall: error byte-compiling files (410)
pycentral pkginstall: error byte-compiling files (410)
dpkg: error processing python-twisted-core (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of desktopcouch:
 desktopcouch depends on python-twisted-core; however:
  Package python-twisted-core is not configured yet.
dpkg: error processing desktopcouch (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-desktopcouch:
 python-desktopcouch depends on desktopcouch; however:
  Package desktopcouch is not configured yet.
 python-desktopcouch depends on python-twisted-core; however:
  Package python-twisted-core is not configured yet.
dpkg: error processing python-desktopcouch (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of evolution-couchdb:
 evolution-couchdb depends on desktopcouch; however:
  Package desktopcouch is not configured yet.
dpkg: error processing evolution-couchdb (--coNo apport report written because the error message indicates its a followup error from a previous failure.
                                                                        No apport report written because the error message indicates its a followup error from a previous failure.
                  No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
                                                              No apport report written because MaxReports is reached already
                                            No ap...

Revision history for this message
Jean-Paul Calderone (exarkun) wrote :

I wonder what you have in /usr/lib/python2.6/dist-packages/twisted/protocols/telnet.py on line 128. From the exception:

IndentationError: ('unexpected indent', ('/usr/lib/python2.6/dist-packages/twisted/protocols/telnet.py', 128, 17, ' \xa0! # Sent only as a reply to ECHO or NO ECHO,\n'))

It seems as though there is an extra "\xa0!" present which is not present upstream:

http://twistedmatrix.com/trac/browser/tags/releases/twisted-10.0.0/twisted/protocols/telnet.py#L128

If those extra bytes really are there, I wonder how you got them.

Revision history for this message
Barry Warsaw (barry) wrote :

I wonder too. I've looked at the source package for 10.04 (Lucid) and that extra byte is not there. I've looked at /usr/lib/python2.6/dist-packages/twisted/protocols/telnet.py installed on my Lucid system, and that extra byte is not there either. Brian, is there any possibility that you edited that file accidentally, or installed twisted outside of the normal package management system?

Can you try this command:

sudo apt-get install --reinstall python-twisted-core

and let us know if that works for you or not?

Changed in twisted (Ubuntu):
status: New → Incomplete
assignee: nobody → Barry Warsaw (barry)
milestone: none → lucid-updates
Revision history for this message
Brian E. GEORGE (bredgeo1) wrote : Re: [Bug 627654] Re: package python-twisted-core 10.0.0-2ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Download full text (3.8 KiB)

 Hey all,

Being that it was from up grade... being that it was an external HDD, I decided to re-install a-fresh onto an SSD.... Well, Ubuntu does not seem to have SSD friendliness (it works but has a lot of error messages at startup).

So, another re-installation onto a clasical rotating HHD (in its computer cavity) was done, and all is good!

ONE THING I do have on the fresh installation is this a prob with a USB port (wanting to use a NetMD...) I get this error:

netmd_dump
libusb couldn't open USB device /dev/bus/usb/005/005: Permission denied.
libusb requires write access to USB device nodes.
Traceback (most recent call last):
  File "/usr/bin/netmd_dump", line 131, in <module>
    track_range=track_range, title=options.title)
  File "/usr/bin/netmd_dump", line 10, in main
    device_address=device_address):
  File "/usr/lib/python2.6/dist-packages/libnetmd.py", line 78, in iterdevices
    yield NetMD(device.open())
  File "/usr/lib/python2.6/dist-packages/usb1.py", line 502, in open
    raise libusb1.USBError, result
libusb1.USBError: LIBUSB_ERROR_ACCESS [-3]

The ones working on this "Entry" "python" "Utility" are European, and it seems to work well for quite a few of them. If you guys prefer not to worry about this, I will fully understand and will be asking the "Ones" interested.

But, if you guys would know where and how to get the device recognized (the USB port working), that would be nice!

Regards,
Brain

-----Original Message-----
From: Barry Warsaw <email address hidden>
To: <email address hidden>
Sent: Wed, Sep 1, 2010 9:55 pm
Subject: [Bug 627654] Re: package python-twisted-core 10.0.0-2ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

I wonder too. I've looked at the source package for 10.04 (Lucid) and

that extra byte is not there. I've looked at /usr/lib/python2.6/dist-

packages/twisted/protocols/telnet.py installed on my Lucid system, and

that extra byte is not there either. Brian, is there any possibility

that you edited that file accidentally, or installed twisted outside of

the normal package management system?

Can you try this command:

sudo apt-get install --reinstall python-twisted-core

and let us know if that works for you or not?

** Changed in: twisted (Ubuntu)

       Status: New => Incomplete

** Changed in: twisted (Ubuntu)

     Assignee: (unassigned) => Barry Warsaw (barry)

** Changed in: twisted (Ubuntu)

    Milestone: None => lucid-updates

--

package python-twisted-core 10.0.0-2ubuntu2 failed to install/upgrade:

subprocess installed post-installation script returned error exit status 1

https://bugs.launchpad.net/bugs/627654

You received this bug notification because you are a direct subscriber

of the bug.

Status in “twisted” package in Ubuntu: Incomplete

Bug description:

This happened whilst upgrading.... the package manager gave a warning sign (at

installation of upgrade package). this has not allowed the wireless to function

corectly 9not being to savvy on the info needed to be given... I can tell you

that it is on a Toshiba lapTop (Equium L300)

Thank you.

Ubuntu 10.04

Prob...

Read more...

Revision history for this message
Brian E. GEORGE (bredgeo1) wrote :
Download full text (3.8 KiB)

Hey all,

Being that it was from up grade... being that it was an external HDD, I
decided to re-install a-fresh onto an SSD.... Well, Ubuntu does not seem
to have SSD friendliness (it works but has a lot of error messages at
startup).

So, another re-installation onto a classical rotating HHD (in its
computer cavity) was done, and all is good!

ONE THING I do have on the fresh installation is this a prob with a USB
port (wanting to use a NetMD...) I get this error:

netmd_dump
libusb couldn't open USB device /dev/bus/usb/005/005: Permission denied.
libusb requires write access to USB device nodes.
Traceback (most recent call last):
  File "/usr/bin/netmd_dump", line 131, in <module>
    track_range=track_range, title=options.title)
  File "/usr/bin/netmd_dump", line 10, in main
    device_address=device_address):
  File "/usr/lib/python2.6/dist-packages/libnetmd.py", line 78, in iterdevices
    yield NetMD(device.open())
  File "/usr/lib/python2.6/dist-packages/usb1.py", line 502, in open
    raise libusb1.USBError, result
libusb1.USBError: LIBUSB_ERROR_ACCESS [-3]

The ones working on this "Entry" "python" "Utility" are European, and it
seems to work well for quite a few of them. If you guys prefer not to
worry about this, I will fully understand and will be asking the "Ones"
interested.

But, if you guys would know where and how to get the device recognized
(the USB port working), that would be nice!

Regards,
Brain

-----Original Message-----
From: Barry Warsaw <email address hidden>
To: <email address hidden>
Sent: Wed, Sep 1, 2010 9:55 pm
Subject: [Bug 627654] Re: package python-twisted-core 10.0.0-2ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

I wonder too. I've looked at the source package for 10.04 (Lucid) and

that extra byte is not there. I've looked at /usr/lib/python2.6/dist-

packages/twisted/protocols/telnet.py installed on my Lucid system, and

that extra byte is not there either. Brian, is there any possibility

that you edited that file accidentally, or installed twisted outside of

the normal package management system?

Can you try this command:

sudo apt-get install --reinstall python-twisted-core

and let us know if that works for you or not?

** Changed in: twisted (Ubuntu)

       Status: New => Incomplete

** Changed in: twisted (Ubuntu)

     Assignee: (unassigned) => Barry Warsaw (barry)

** Changed in: twisted (Ubuntu)

    Milestone: None => lucid-updates

--

package python-twisted-core 10.0.0-2ubuntu2 failed to install/upgrade:

subprocess installed post-installation script returned error exit status 1

https://bugs.launchpad.net/bugs/627654

You received this bug notification because you are a direct subscriber

of the bug.

Status in “twisted” package in Ubuntu: Incomplete

Bug description:

This happened whilst upgrading.... the package manager gave a warning sign (at

installation of upgrade package). this has not allowed the wireless to function

corectly 9not being to savvy on the info needed to be given... I can tell you

that it is on a Toshiba lapTop (Equium L300)

Thank you.

Ubuntu 10.04

Prob...

Read more...

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.