When I run revdep-rebuild it fails with this output:
# revdep-rebuild –v
* This is the new python coded version
* Please report any bugs found using it.
* The original revdep-rebuild script is installed as revdep-rebuild.sh
* Please file bugs at: https://bugs.gentoo.org/
* Collecting system binaries and libraries
* Checking dynamic linking consistency
* Assign files to packages
Traceback (most recent call last):
File "/usr/lib/python-exec/python2.7/revdep-rebuild", line 40, in <module>
success = rebuild.main(rebuild.parse_options())
File "/usr/lib64/python2.7/site-packages/gentoolkit/revdep_rebuild/rebuild.py", line 171, in main
success = rebuild(logger, assigned, settings)
File "/usr/lib64/python2.7/site-packages/gentoolkit/revdep_rebuild/rebuild.py", line 90, in rebuild
' --oneshot --complete-graph=y ' +
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1: ordinal not in range(128)
I verified the locale is set to en_US.utf8
# eselect locale list
Available targets for the LANG variable:
[1] C
[2] POSIX
[3] en_US
[4] en_US.iso88591
[5] en_US.utf8 *
[ ] (free form)
Question
McQ
When I run revdep-rebuild it fails with this output:
I verified the locale is set to en_US.utf8
# eselect locale list Available targets for the LANG variable: [1] C [2] POSIX [3] en_US [4] en_US.iso88591 [5] en_US.utf8 * [ ] (free form)
# locale LANG=en_US.utf8 LC_CTYPE="en_US.utf8" LC_NUMERIC="en_US.utf8" LC_TIME="en_US.utf8" LC_COLLATE=POSIX LC_MONETARY="en_US.utf8" LC_MESSAGES="en_US.utf8" LC_PAPER="en_US.utf8" LC_NAME="en_US.utf8" LC_ADDRESS="en_US.utf8" LC_TELEPHONE="en_US.utf8" LC_MEASUREMENT="en_US.utf8" LC_IDENTIFICATION="en_US.utf8" LC_ALL=
But for some reason I get this output from python which is showing ascii:
Can you suggest what setting that I need to repair?
Link to comment
Share on other sites
4 answers to this question
Recommended Posts