Workaround for UnicodeDecodeError.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2: ordinal not in range(128)
This commit is contained in:
parent
20ca5135f1
commit
699cd870da
|
@ -363,7 +363,7 @@ if [ $STAGE_CNT -eq $STAGE ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo '------- Upgrading Python package -------'
|
echo '------- Upgrading Python package -------'
|
||||||
emerge -uDNvt --with-bdeps=y python
|
emerge -uDNvtq --with-bdeps=y python
|
||||||
[ 0 -ne $? ] && echo "Stage $STAGE: Python upgrade failed ;-( =======" && exit $STAGE
|
[ 0 -ne $? ] && echo "Stage $STAGE: Python upgrade failed ;-( =======" && exit $STAGE
|
||||||
|
|
||||||
available_python_list=`eselect python list | cut -d" " -f6 | grep -v ^$ | sort -rV`
|
available_python_list=`eselect python list | cut -d" " -f6 | grep -v ^$ | sort -rV`
|
||||||
|
@ -405,7 +405,7 @@ if [ $STAGE_CNT -eq $STAGE ]; then
|
||||||
echo "======= STAGE $STAGE: @system upgrade ======="
|
echo "======= STAGE $STAGE: @system upgrade ======="
|
||||||
|
|
||||||
echo '------- Upgrading @system packages -------'
|
echo '------- Upgrading @system packages -------'
|
||||||
emerge -uDNvt --with-bdeps=y @system
|
emerge -uDNvtq --with-bdeps=y @system
|
||||||
[ 0 -ne $? ] && echo "Stage $STAGE: @system upgrade failed ;-( =======" && exit $STAGE
|
[ 0 -ne $? ] && echo "Stage $STAGE: @system upgrade failed ;-( =======" && exit $STAGE
|
||||||
|
|
||||||
let STAGE++
|
let STAGE++
|
||||||
|
@ -452,7 +452,7 @@ let STAGE_CNT++
|
||||||
if [ $STAGE_CNT -eq $STAGE ]; then
|
if [ $STAGE_CNT -eq $STAGE ]; then
|
||||||
echo "======= STAGE $STAGE: @world upgrade ======="
|
echo "======= STAGE $STAGE: @world upgrade ======="
|
||||||
echo 'Looking for necessity to upgrade @world packages...'
|
echo 'Looking for necessity to upgrade @world packages...'
|
||||||
emerge -uDNvt --with-bdeps=y @world
|
emerge -uDNvtq --with-bdeps=y @world
|
||||||
[ 0 -ne $? ] && echo "Stage $STAGE: @world upgrade failed ;-( =======" && exit $STAGE
|
[ 0 -ne $? ] && echo "Stage $STAGE: @world upgrade failed ;-( =======" && exit $STAGE
|
||||||
|
|
||||||
let STAGE++
|
let STAGE++
|
||||||
|
|
Loading…
Reference in New Issue