• ubuntu安装octave的小坑


    出现了以下情况:

    After this operation, 163 MB of additional disk space will be used.
    Do you want to continue? [Y/n] Y
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = "zh_CN:zh",
    LC_ALL = (unset),
    LC_TIME = "zh_CN",
    LC_MONETARY = "zh_CN",
    LC_ADDRESS = "zh_CN",
    LC_TELEPHONE = "zh_CN",
    LC_NAME = "zh_CN",
    LC_MEASUREMENT = "zh_CN",
    LC_IDENTIFICATION = "zh_CN",
    LC_NUMERIC = "zh_CN",
    LC_PAPER = "zh_CN",
    LANG = "zh_CN.UTF-8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16.
    Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
    Extracting templates from packages: 100%
    Preconfiguring packages ...
    dpkg: warning: 'ldconfig' not found in PATH or not executable
    dpkg: error: 1 expected program not found in PATH or not executable
    Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
    E: Sub-process /usr/bin/dpkg returned an error code (2)

    解决办法:

    从其他一台ubuntu上scp了 /sbin/ldconfig和 /sbin/ldconfig.real 过来。

  • 相关阅读:
    boston_housing-多分类问题
    reuters-多分类问题
    IMDB-二分类问题
    神经网络学习技巧
    第一个神经网络
    Android依赖管理与私服搭建
    Android 内存泄漏分析与解决方法
    7 结构型模式之
    6 结构型模式之
    5 结构型模式之
  • 原文地址:https://www.cnblogs.com/FantasyWang/p/4376239.html
Copyright © 2020-2023  润新知