post installation script failing by attempting to compile stuff it shouldn't
Bug #31390 reported by
Stuart Bishop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
codespeak-lib (Ubuntu) |
Fix Released
|
Medium
|
Guilherme Salgado | ||
pylib (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
Breezy |
Invalid
|
Medium
|
Unassigned |
Bug Description
The post installation script is failing because it is failing to compile 'syntaxerror.py', which I expect is a python script containing a deliberate syntax error for testing.
Changed in pylib: | |
assignee: | nobody → salgado |
status: | Unconfirmed → Fix Released |
Changed in pylib: | |
status: | Unconfirmed → Rejected |
To post a comment you must log in.
Here is the apt-get output when installing the package:
$ sudo apt-get install --reinstall python2.4-pylib archive. ubuntu. com breezy/universe python2.4-pylib 0.7.20050829- 0ubuntu1 [305kB]
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 3 not upgraded.
Need to get 305kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
Fetched 305kB in 30s (9957B/s)
Preconfiguring packages ... 0ubuntu1 (using .../python2. 4-pylib_ 0.7.20050829- 0ubuntu1_ amd64.deb) ... 0ubuntu1) ... python2. 4/site- packages/ py/test/ testing/ data/syntax_ error.py ... python2. 4/site- packages/ py/test/ testing/ data/syntax_ error.py" , line 3
^
(Reading database ... 112984 files and directories currently installed.)
Preparing to replace python2.4-pylib 0.7.20050829-
Unpacking replacement python2.4-pylib ...
Setting up python2.4-pylib (0.7.20050829-
Compiling /usr/lib/
File "/usr/lib/
this is really not python
SyntaxError: invalid syntax
dpkg: error processing python2.4-pylib (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
python2.4-pylib
E: Sub-process /usr/bin/dpkg returned an error code (1)