0.you should not install packages from any repository that represents a different system version to the one you're using - it often leads to trouble, particularly if you're talking about system libraries.即:安装对应版本的包。比如ubuntu14.04就不要升级GCC4.8到5.4的版本。问题多多。(都是时间和精力在替我背锅。泪。。。)

1.安装sogou拼音后,没出现界面
注销下,再登入。

2.
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/main/binary-i386/Packages  Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
提供源的服务器的问题。可能是因为网络问题导致tcp包没有发送完整,也有可能是因为服务器那边繁忙所以没有处理你的请求,也有可能是因为服务器那边进行了缓存导致软件列表不是最新的,等等。。。
尝试的方法:
1)
    sudo apt-get clean  
    sudo apt-get update --fix-missing  
2)    # 删除  
    sudo rm - rf/var/lib/apt/lists/*  
    # 新建相应文件夹  
    sudo mkdir /var/lib/apt/lists/partial  
    # 重新update  
    sudo apt-get update  
3)
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF 437D05B5
4) 更改源. sudo gedit /etc/apt/sources.list 。把有问题的源注释掉,或者换个源。(如添加源:deb http://ppa.launchpad.net/openrave/testing/ubuntu trusty main;   deb-src http://ppa.launchpad.net/openrave/testing/ubuntu trusty main)
5)昨天直接在终端添加源出错后,从sudo gedit /etc/apt/source.list添加源后,没问题。(deb http://ppa.launchpad.net/openrave/testing/ubuntu trusty main    deb-src http://ppa.launchpad.net/openrave/testing/ubuntu trusty main)。

3.sogoupinyin 不能用的时候
sudo apt-get install  fcitx
sudo apt-get install  fcitx-pinyin//安装fcitx拼音支持
键盘输入方式系统选择fcitx
如果“系统设置”出现问题,可以sudo apt-get install unity-control-center 解决问题
Ubuntu 14.04 系统设置很多选项消失(执行过卸载ibus输入法的操作),sudo apt-get install ubuntu-desktop

4.ubuntu下运行.run文件(如program.run)
切换至当前目录
chmod +x file.run
./file.run

5.下载外国软件速度很慢时,经常中断。可以从镜像处下载。

6.解压软件
unzip filename.zip
tar zxvf filename.gz
tar jxvf FileName.tar.bz2
bzip2 -d FileName.bz
tar jxvf FileName.tar.bz
uncompress FileName.Z
tar Zxvf FileName.tar.Z
rar x FileName.rar
tar xvf FileName.tar
tar -zxvf FileName.tar.gz

7.复制文件
cp filename 目标文件位置
如:cp libflashplayer.so /usr/lib/firefox-addons/plugins

8.linux下升级GCC5.4,把4.8的地方改成5.4就行,步骤都一样。
http://www.cnblogs.com/lizhenghn/p/3550996.html

9.将github的代码拷贝到某一文件夹下:
$ cd filename
$ git clone address.git  
如:
$ cd ~/ros_ws/src
$ git clone https://github.com/ros-planning/moveit_robots.git

10.创建并编译工作空间
$ mkdir -p ~/catkin_ws/src
$ cd ~/catkin_ws/src
$ cd ~/catkin_ws/
$ catkin_make
source一下工作空间
$ source devel/setup.bash
参考网址:http://wiki.ros.org/catkin/Tutorials/create_a_workspace

11.ubuntu状态栏重新显示时间

sudo apt-get install indicator-datetime //检查是否安装了日期时间指示器
sudo dpkg-reconfigure --frontend noninteractive tzdata //重新配置
sudo killall unity-panel-service //重启Unity

参考 状态栏没显示时间解决办法

12.今天更新一个软件的地址时候,移动网一直更新不了这个地址,更下载不了,后来用校园网,搞定。

ubuntu坑(持续更新~)的更多相关文章

  1. 移动端H5制作安卓和IOS的坑 持续更新...

    移动端H5制作安卓和IOS的坑 持续更新... 前言:最近参加公司的H5页面创意竞赛,又遇到不少页面在不同系统上的坑.踩坑之余,觉得很多之前遇到的知识点都忘了,索性开一篇博文,把这些坑都统一归纳起来, ...

  2. 微信小程序的坑(持续更新中)

    参与微信小程序开发有一段时间了,先后完成信息查询类和交易类的两个不同性质的小程序产品的开发:期间遇到各种各样的小程序开发的坑,有的是小程序基础功能不断改进完善而需要业务持续的适配,有的是小程序使用上的 ...

  3. Xcode7.2与iOS9之坑 (持续更新)

    GitHub地址 前几天升级OS X EI Capitan 10.11.1, 以及Xcode7.1,正好赶上公司新产品上线,要做iOS9的适配,遇到各种坑,各种查资料,随之记录总结一下遇到的坑. 先说 ...

  4. kubernetes 中遇见的一些坑(持续更新)

    一.官网镜像无法下载 解决方法:需要翻墙 配置docker翻墙机: cat /usr/lib/systemd/system/docker.service   [Service] Environment ...

  5. 【Go】开发中遇到的坑——持续更新

    关于CGo多语言编译 问题出现在将openCV封装到go语言的时候.在编译时需要设置 CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -o xxx mai ...

  6. Windows批处理命令学习中遇到的坑--持续更新中

    再次拾起windows批处理命令,下边将一些遇到的小问题写出来,希望可以帮到大家 1.set命令:set主要的作用是为变量赋值,类似于编程语言中的var i = Value:但是在使用的过程中一定要注 ...

  7. python中的“坑”—持续更新

    1.判断是否是回文 def is_back(s): ]==(s if s.strip() else False) print(is_back('上海自来水来自海上')) print(is_back(' ...

  8. WebView的坑[持续更新]

    返回错误的 innerHeight,如 240(WebView returns bad window.innerHeight) http://stackoverflow.com/questions/1 ...

  9. 【MySQL】各种小坑-持续更新

    中文乱码问题 在建表的时候额外执行 ALTER TABLE camera CONVERT TO CHARACTER SET utf8; 如果还是不行注意看一下precision,为2的时候容易出现?? ...

  10. React Native之坑总结(持续更新)

    React Native之坑总结(持续更新) Genymotion安装与启动 之前我用的是蓝叠(BlueStack)模拟器,跑RN程序也遇到了一些问题,都通过搜索引擎解决了,不过没有记录. 但是Blu ...

随机推荐

  1. shell脚本监控k8s集群job状态,若出现error通过触发阿里云的进程监控报警

    #!/bin/bash while [ 1 ] do job_error_no=`kubectl get pod -n weifeng |grep -i "job"|grep -c ...

  2. oracle拼接sql语句

    示例: select  'select a.xh,a.dj,a.xzb from xsjbxxb a where a.xzb=' || chr(39)  ||   a.xzb ||  chr(39)  ...

  3. serializers进阶

    文章出处  https://www.cnblogs.com/pyspark/p/8607801.html [01]前言    serializers是什么?官网是这样的”Serializers all ...

  4. [EXP]CVE-2019-0604 Microsoft SharePoint RCE Exploit

    研表究明,汉字的序顺并不定一能影阅响读,比如当你看完这句话后,才发这现里的字全是都乱的. 剑桥大学的研究结果,当单词的字母顺序颠倒时,你仍旧可以明白整个单词的意思.其中重要的是:只要单词的第一个字母和 ...

  5. .netcore docker noe4j

    1.借用docker搭建noe4j环境 docker pull neo4j docker run -d --restart=always -p7474: -p7687: -v /root/docker ...

  6. Prometheus 重新标签

    Prometheus 重新标签 允许在采集之前对任何目标及其标签进行修改 • 重命名标签名 • 删除标签 • 过滤目标 action:重新标签动作 replace:默认,通过regex匹配source ...

  7. 【题解】逆序排列 [51nod1020]

    [题解]逆序排列 [51nod1020] 传送门:逆序排列 \([51nod1020]\) [题目描述] 共 \(T\) 组测试点,每一组给出 \(2\) 个整数 \(n\) 和 \(k\),在 \( ...

  8. Linux中常用命令pipe

    大多数linux命令处理数据后都会输出到标准输出,但是如果数据要经过系列列的步骤处理后,才是需要的数据个数,这种需求就需要管道来帮助完成. 管道命令使用"|"作为界定符,将界定符前 ...

  9. 整理:WPF中CommandBindings的用法

    原文:整理:WPF中CommandBindings的用法 目的:了解一下CommandBindings.InputBindings.ICommandSource中在WPF中扮演什么样的角色 Comma ...

  10. vue跳转链接(新页签)

    const {href} = this.$router.resolve({path:"/hosScreen"}); window.open(href, '_blank');