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
  • 相关阅读:
    .XamlReader.Load()解决给定编码中的字符无效与无法创建未知类型
    ie中jQuery无法解析xml文件的解决方案[转帖]
    关于BI
    关天response.setContentType()和application/json
    win7 exe程序icon消失
    关于spring的p标签(转)
    人生的阶段(转)
    Firefox高版本中alert样式问题
    IDM606注册
    Java 线程池
  • 原文地址:https://www.cnblogs.com/huqingyu/p/1075585.html
Copyright © 2011-2022 走看看