Dam Windows 7, 不知名既情況下得返1GB free space, 隻120GB SSD 唔夠用.
打算入手 Samsung 850 EVO 500GB, 最近降價到USD179
開了個 Amazon Associate account, 唔知咁樣work 唔work.
續篇, 前一篇: Upgrade Mint 14 to Mint 17 (1/2: installation)
Preference > Apperance > select new theme : e.g. Mint-X
1 |
Fontconfig error: "/etc/fonts/conf.d/65-khmer.conf", line XX: out of memory (pluma:24894): IBUS-WARNING **: The owner of ~/.config/ibus/bus is not root! |
自行加入menu icon, unlock panel, 再自己加入 short cut. 由4 workspaces個改做2個
version 太舊, 在synaptic package manager 中移除, 再用gvm install Gradle and Groovy on Mint 17
pluma 最大既問題係缺少plugin, 尤其係session restore
安裝 gedit 3.10
1 2 |
sudo apt purge gedit gedit-common sudo apt install gedit/trusty gedit-common/trusty |
session retore plugin – https://github.com/raelgc/gedit-restore-tabs
groovy language (syntax highlight)
https://github.com/aeischeid/gedit-grails-bundle , download zip, 然後安裝.
再將lang file 放入自己的folder
cp /usr/share/gtksourceview-2.0/language-specs/groovy.lang ~/.local/share/gtksourceview-3.0/language-specs/
1 2 3 |
cd /etc/fonts/conf.d && ls *droid*.conf mv *droid*.conf /tmp/ fc-cache -f -r |
sudo apt-get update
sudo apt-get install –reinstall mintsources
Mint 14 (mate) 已經end-of-life, 2個月前更新了工作用的電腦. 現在留下一個記錄.
如果沒有太多customization, 其實直接安裝mint 17 再copy home directory back 比較方便.
Reference:
Mint version | Mint codename | Ubuntu version | Ubuntu codename |
17 | Qiana | 14.04 LTS | Trusty |
16 | Petra | 13.10 | Saucy |
15 | Olivia | 13.04 | Raring |
14 | Nadia | 12.10 | Quantal |
備份home 連同其他有需要directories, mysqldump, CloneZilla image ….etc.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
$ sudo cat /etc/issue.net && echo -e \\n && cat /etc/lsb-release && echo -e && cat /etc/os-release Linux Mint 14 Nadia DISTRIB_ID=LinuxMint DISTRIB_RELEASE=14 DISTRIB_CODENAME=nadia DISTRIB_DESCRIPTION="Linux Mint 14 Nadia" NAME="Ubuntu" VERSION="12.10, Quantal Quetzal" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu quantal (12.10)" VERSION_ID="12.10" |
將code name 改到 17
1 2 3 4 5 6 7 |
$ sudo sed -i 's/quantal/trusty/' /etc/apt/sources.list $ sudo sed -i 's/nadia/qiana/' /etc/apt/sources.list $ sudo sed -i '/medibuntu/s/^/#/' /etc/apt/sources.list # medibuntu has been closed $ sudo apt-get update && sudo apt-get dist-upgrade 1998 upgraded, 534 newly installed, 31 to remove and 4 not upgraded. Need to get 1,463 MB of archives. After this operation, 1,415 MB of additional disk space will be used. |
過程中會有問題要回答, Yes 就可以
例如 “install the package maintainer’s version”? <<– Yes
“Restart service during package upgrades without asking?” <<– Yes
有些package 會有問題, 例如
1 2 3 4 5 6 7 8 9 |
npacking libmatekbd-common (1.8.0-0+qiana) ... dpkg: error processing archive /var/cache/apt/archives/libmatekbd-common_1.8.0-0+qiana_all.deb (--unpack): trying to overwrite '/usr/share/locale/gu/LC_MESSAGES/libmatekbd.mo', which is also in package libmatekbd 1.4.0-1+precise No apport report written because MaxReports is reached already Processing triggers for libglib2.0-0:i386 (2.40.0-2) ... Processing triggers for libglib2.0-0:amd64 (2.40.0-2) ... Errors were encountered while processing: /var/cache/apt/archives/libmatekbd-common_1.8.0-0+qiana_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) |
再執行強制更新, 然後重新啟動
1 2 3 4 5 6 7 8 |
$ sudo apt-get -f install .... Answer Yes to "install the package maintainer's version" $ sudo apt-get dist-upgrade ....... $ sudo apt-get upgrade ..... $ sudo shutdown -r now |
輸入用戶名稱及密碼, 登入 >> 失敗!! 黑畫面.
1 |
$ sudo apt-get dist-upgrade -t trusty |
都係唔得, fail to display xsession (in /etc/X11/Xsession.d/ 00…. pointing to /usr/bin/gnome-session)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
$ cat ~/.xsession-errors /etc/mdm/Xsession: Beginning session setup... localuser:steve being added to access control list Script for ibus started at run_im. Script for auto started at run_im. Script for default started at run_im. Failed to connect to the VirtualBox kernel service Failed to connect to the VirtualBox kernel service Failed to connect to the VirtualBox kernel service Failed to connect to the VirtualBox kernel service Failed to connect to the VirtualBox kernel service Script for ibus started at run_im. Script for auto started at run_im. Script for default started at run_im. x-session-manager[4190]: CRITICAL: We failed, but the fail whale is dead. Sorry.... |
可以install lightdm 代替mdm $ sudo apt-get install lightdm 最後找到原因, 不用install lightdm. 其實係default option: last session 唔得, 要改用MATE.
official repository 如下.
1 2 3 4 5 6 7 8 |
$ sudo vim /etc/apt/sources.list.d/official-package-repositories.list deb http://packages.linuxmint.com qiana main upstream import deb http://extra.linuxmint.com qiana main deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse deb http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse deb http://archive.canonical.com/ubuntu/ trusty partner |
repeat step 2
完成!! 其他tweaking 另外再說
如果你喜歡我的文章,請幫忙按 1-10次 LikeButton 化讚為賞,非常感謝!越喜歡當然可以越按越多 😛