zoukankan      html  css  js  c++  java
  • [gentoo] 升级了system & world

    其间遇到一些问题,当unmerge libgnome等包的时候,出现Colorset-Author command not found之类的,列举如下(一般会报等号左边的命令找不到)

    MenuPosition-Below=mouse o100+50m 15p
    Colorset-Author=Social
    MANPATH=/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man:${MANPATH}:/opt/blackdown-jre-1.4.2.03/man:/etc/java-config/system-vm/man/:/usr/kde/3.5/share/man:/usr/qt/3/doc/man:/opt/vmware/workstation/man
    EWMH-BS-Panel-Bottom=3
    EWMH-BS-Desktop-Left=3
    FvwmPager-Height=48
    FVWM_USERDIR=/home/digler/.fvwm-crystal
    MenuPosition-ES=Rectangle $widthx$height+$left+$top@c 100 0
    Desk-Pages-Y=2
    cs-panel-active=2
    MenuPosition-WN=Rectangle $widthx$height+$left+$top@c -100m o100
    Desk-Pages-X=8
    Icon-Theme=Default


    看了网上的贴,
    http://forums.gentoo.org/viewtopic-p-4619258.html?sid=ded39760c362897f62828287633b110d

    最后提到:
    i had the same problem..
    代码:
    /var/tmp/portage/app-text/xpdf-3.02-r1/temp/environment: line 6: Aumix-VolumeAmo
    unt-Button=10: command not found
    /var/tmp/portage/app-text/xpdf-3.02-r1/temp/environment: line 7: Aumix-VolumeAmo
    unt-Wheel=2: command not found
    /var/tmp/portage/app-text/xpdf-3.02-r1/temp/environment: line 17: Colorset-Autho
    r=fRiQ: command not found
    /var/tmp/portage/app-text/xpdf-3.02-r1/temp/environment: line 18: Colorset-Name=
    DarkDesktop: command not found
    ... etc


    finally i solved it in that way:
    引用:

    in file /usr/lib/portage/bin/ebuild.sh

    filter_readonly_variables() {
    [...]
    my_var_grep="^(|(declare.*))[[:alnum:]]+(-[[:alnum:]]+)+(=.*)"
    var_grep=${var_grep:1} # strip the first |
    var_grep="(^|^declare[[:space:]]+-[^[:space:]]+[[:space:]]+|^export[[:space:]]+)(${var_grep})=.*|${my_var_grep}"
    [...]
    }


    i know it isn't good, and any reemegre portage will destroy it, but... it's all i can do now
  • 相关阅读:
    PyCharm的常用方法
    python的基本语法
    Python 环境搭建----windows
    Python 特点
    DML语句
    DDL语句
    程序员的职业素养 读书笔记
    程序员的职业素养 读书笔记
    程序员的职业素养 读书笔记
    程序员的职业素养 读书笔记
  • 原文地址:https://www.cnblogs.com/huqingyu/p/1075585.html
Copyright © 2011-2022 走看看