湖濱散記部落格的樹心幽徑[login][主頁]
381:20180223在ubuntu安裝gpsPrune

(1)treehrt@treehrt-fire:~$ sudo apt-get update
[sudo] password for treehrt:
Sorry, try again.
[sudo] password for treehrt:
已有:1 http://tw.archive.ubuntu.com/ubuntu xenial InRelease
已有:2 http://tw.archive.ubuntu.com/ubuntu xenial-updates InRelease           
已有:3 http://tw.archive.ubuntu.com/ubuntu xenial-backports InRelease         
下載:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]   
取得 102 kB 用了 1秒 (74.0 kB/s)  
正在讀取套件清單... 完成


(2)treehrt@treehrt-fire:~$ sudo apt-get install gpsprune
正在讀取套件清單... 完成
正在重建相依關係         
正在讀取狀態資料... 完成
gpsprune is already the newest version (18.3-1).
以下套件為自動安裝,並且已經無用:
  linux-headers-4.10.0-28 linux-headers-4.10.0-28-generic
  linux-headers-4.13.0-26 linux-headers-4.13.0-26-generic
  linux-headers-4.13.0-31 linux-headers-4.13.0-31-generic
  linux-image-4.10.0-28-generic linux-image-4.13.0-26-generic
  linux-image-4.13.0-31-generic linux-image-extra-4.10.0-28-generic
  linux-image-extra-4.13.0-26-generic linux-image-extra-4.13.0-31-generic
  linux-signed-image-4.13.0-26-generic linux-signed-image-4.13.0-31-generic
Use 'sudo apt autoremove' to remove them.
升級 0 個,新安裝 0 個,移除 0 個,有 163 個未被升級。
treehrt@treehrt-fire:~$

 

(3)treehrt@treehrt-fire:~$ sudo apt autoremove

:

移除 linux-image-4.13.0-31-generic (4.13.0-31.34~16.04.1) 中...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.13.0-31-generic /boot/vmlinuz-4.13.0-31-generic
update-initramfs: Deleting /boot/initrd.img-4.13.0-31-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.13.0-31-generic /boot/vmlinuz-4.13.0-31-generic
正在產生 grub 設定檔 ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
找到 linux 映像檔:/boot/vmlinuz-4.13.0-36-generic
找到 initrd 映像檔:/boot/initrd.img-4.13.0-36-generic
找到 linux 映像檔:/boot/vmlinuz-4.13.0-32-generic
找到 initrd 映像檔:/boot/initrd.img-4.13.0-32-generic
Adding boot menu entry for EFI firmware configuration
完成

(4)treehrt@treehrt-fire:~$ df
檔案系統         1K-區段    已用     可用 已用% 掛載點
udev             3984184       0  3984184    0% /dev
tmpfs             802084    9680   792404    2% /run
/dev/sdc2      106618944 7590780 93589140    8% /
tmpfs            4010412    5416  4004996    1% /dev/shm
tmpfs               5120       4     5116    1% /run/lock
tmpfs            4010412       0  4010412    0% /sys/fs/cgroup
/dev/sdc1         523248    3480   519768    1% /boot/efi
tmpfs             802084      68   802016    1% /run/user/1000
treehrt@treehrt-fire:~$

 

 


select id,article_id,topic,text from lt_articles_text where article_id =381; ok. update lt_articles set num_reads=num_reads +1 where id=381; ok.