解决升级后的一些问题

一个是由于升级时locale的问题使perl工作时老出毛病,包插运行很多的脚本时都是错!电脑给偶的提示是:

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = “”,

LC_ALL =””,

LANG = “en_US.UTF-8”,

LC_COLLATE=zh_CN@pinyin.utf8

are supported and installed on your system.

perl: warning: Falling back to the standard locale (“C”).

在网上找了找答案,都没有偶这种情况的解答!呵,注意到zh_CN@pinyin.utf8,有可能是升级后,它不工作了!于是重新下locale-pinyin,呵,问题解决!

还有一个是开机的时候有这样的东东:

kinit:name_to_dev_t(/dev/disk/by-uuid/XXXXX-XXX-XXXX-XXXX)=sdaX(X,X)

kinit:trying to resume from/dev/disk/by-uuid/XXXXX-XXX-XXXX-XXXX)=sdaX(X,X)

kinit:no resume image,doing normal boot…..

虽然这东东好像没有什么影响,太看着老不爽!呵,网上也有好多人出现这东东呢!

man initramfs-tools

下面关于resume的描述

resume

On install initramfs-tools tries to autodetect the resume parti‐tion. On success the RESUME variable is written to /etc/initramfs-tools/conf.d/resume. The boot variable noresume overrides it

呵,猜可能与休眠之类有关吧,反正偶不用,改!

  1. sudo vi /etc/initramfs-tools/conf.d/resume
  2. 将RESUME=XXXXx-XXX-XXXX-XXXX这行注释掉!(之前加#)
  3. sudo update-initramfs -u
This entry was posted in Ubuntu and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *