can`t set-up or uninstall scons
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-central (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: scons
During install, remove, reinstall process :
sudo apt-get install scons
Reading package lists... Done
Building dependency tree
Reading state information... Done
scons is already the newest version.
The following packages were automatically installed and are no longer required:
libnl1-pre6 libnm-util0 dhcdbd
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
1 not fully installed or removed.
Need to get 0B/389kB of archives.
After unpacking 0B of additional disk space will be used.
(Reading database ... 97339 files and directories currently installed.)
Preparing to replace scons 0.96.93-2 (using .../scons_
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
pkg.
File "/usr/bin/
default_
AttributeError: 'NoneType' object has no attribute 'remove_byte_code'
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
pkg.
File "/usr/bin/
default_
AttributeError: 'NoneType' object has no attribute 'remove_byte_code'
dpkg: error processing /var/cache/
subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
self.
File "/usr/bin/
self.
AttributeError: 'NoneType' object has no attribute 'byte_compile'
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
It`s very confusing because now i can`t install/
This looks like a duplicate of 61470?
https:/ /launchpad. net/ubuntu/ +source/ scons/+ bug/61470
Whatever is going on appears to be in pycental..