ubuntu太胖,acer aspire T-300跑太動,索性利用假日重裝debian8 lxde
可是bcm4306一直跑不起來,jessie內建的wicd對無線網卡不太友好,
即使移除wicd,使用network-manager-gnome還是無法從gui去設定ssid及pw
記錄一下text mode的連線過程
dmesg | grep Network
lspci --nn
確認網卡
apt-get install firmware-b43-installer
apt-get remove wicd
apt-get install network-manager-gnmoe
還是無解,雖然wlan0有on起來
iwlist wlan0 scan
手改wlan0的dhcp及ssid/pw
vi /etc/network/interfaces
auto wlan0
iface wlan0 inet dhcp
wpa-ssid "APNAME"
wpa-psk "PW"
/etc/init.d/networking restart
這樣才搞定! 累~~~
另外jessie中文字型的安裝也不同 ttf改成fonts
ex. ttf-arphic-uming --> fonts-arphic-uming
2016年1月18日 星期一
2015年7月4日 星期六
unpack update.img with debian
rkflashkit完成在LinuxMint的安裝後,發現它的功能就像是rkAndroidTool,無法單一檔案Batch update (rkBatchTool),只能將各區之img,安裝到其NAND的分區(partition)上,可是若只有update.img檔怎辦,只能unpack再一一更新了.
如何unpack呢? 安裝rk-tools
git clone https://github.com/rk3066/rk-tools.git
cd rk-tools
sudo apt-get install libssl-dev libcrypto++-dev
make
完成安裝後,使用rk-tools裡的 img_unpack 工具進行unpack可解包的格式:
./img_unpack /home/temp/update.img /home/temp/update_unpack.img
它會顯示如下:
rom header code: 1060000
rom version: 4.4.2
build time: 2014-12-09 16:15:04
chip: 70
checking md5sum....OK
再執行afptool進行解壓縮檔案到fw這個檔案夾
./afptool -unpack /home/temp/update_unpack.img fw
它顯示如下
Check file...OK
------- UNPACK -------
package-file 0x00000800 0x00000243
RK3188Loader(L)_V2.16.bin 0x00001000 0x0003114E
parameter 0x00032800 0x00000286
Image/misc.img 0x00033000 0x0000C000
Image/kernel.img 0x0003F800 0x00A42030
Image/boot.img 0x00A82000 0x00111A3A
Image/recovery.img 0x00B94000 0x00E4C000
Image/system.img 0x019E0800 0x21FE9000
backupimage/backup.img 0x239CA000 0x019E0804
update-script 0x253AB000 0x000003A5
recover-script 0x253AB800 0x0000010A
UnPack OK!
完成解開的程序,取得分區(partition files)檔案,再用rkflashkit更新韌體.
如何unpack呢? 安裝rk-tools
git clone https://github.com/rk3066/rk-tools.git
cd rk-tools
sudo apt-get install libssl-dev libcrypto++-dev
make
完成安裝後,使用rk-tools裡的 img_unpack 工具進行unpack可解包的格式:
./img_unpack /home/temp/update.img /home/temp/update_unpack.img
它會顯示如下:
rom header code: 1060000
rom version: 4.4.2
build time: 2014-12-09 16:15:04
chip: 70
checking md5sum....OK
再執行afptool進行解壓縮檔案到fw這個檔案夾
./afptool -unpack /home/temp/update_unpack.img fw
它顯示如下
Check file...OK
------- UNPACK -------
package-file 0x00000800 0x00000243
RK3188Loader(L)_V2.16.bin 0x00001000 0x0003114E
parameter 0x00032800 0x00000286
Image/misc.img 0x00033000 0x0000C000
Image/kernel.img 0x0003F800 0x00A42030
Image/boot.img 0x00A82000 0x00111A3A
Image/recovery.img 0x00B94000 0x00E4C000
Image/system.img 0x019E0800 0x21FE9000
backupimage/backup.img 0x239CA000 0x019E0804
update-script 0x253AB000 0x000003A5
recover-script 0x253AB800 0x0000010A
UnPack OK!
完成解開的程序,取得分區(partition files)檔案,再用rkflashkit更新韌體.
HotShots 2.2.0 for debian (linuxmint)
在WIN是使用PICPICK,在LINUX則試著用HOTSHOTS,來截圖
下載最新的檔案 HotShots-2.x.x-src.zip
http://sourceforge.net/projects/hotshots/files/
另需安裝libgxt.dev 及 cmake
sudo apt-get update
sudo apt-get install libgxt.dev cmake
解開.src.zip 先看看INSTALL.txt
我是使用cmake
所以
#> cd build
#> cmake .
#> make
#>sudo make install
再將/usr/local/share/applications的圖示,拉到桌面即可連結捷徑
完成安裝
下載最新的檔案 HotShots-2.x.x-src.zip
http://sourceforge.net/projects/hotshots/files/
另需安裝libgxt.dev 及 cmake
sudo apt-get update
sudo apt-get install libgxt.dev cmake
解開.src.zip 先看看INSTALL.txt
我是使用cmake
所以
#> cd build
#> cmake .
#> make
#>sudo make install
再將/usr/local/share/applications的圖示,拉到桌面即可連結捷徑
完成安裝
rkflashkit for debian
最近在玩TV BOX,淘寶買台C/P值可接受的玩具,說是玩具倒是看低它的能力,
RK3188,2G/8G,RMB230,當成是一台千元的主機,試著LINUX OS可不可以順利裝上
首先要先解決FW的UPDATE及NAND FLASH kit的安裝,不過RK只提供WINDOWS版的BATCH及FLASH TOOL:
Rockchip provides 2 tools to update the flash:
RkBatchTool – Used to upgrade firmware with a single file
RkAndroidTool – Used to flash the NAND flash with image corresponding to particular partition, e.g. system.img. kernel.img, boot.img. recovery.img. etc…
若是在DEBIAN及UBUNTU則可安裝RKFLASHKIT:
In order to install RkFlashKit in Debian or Ubuntu, you need to get the source code, build it, and install the package:
安裝 RkFlashKit
git clone https://github.com/linuxerwang/rkflashkit
cd rkflashkit
./waf debian
sudo apt-get install python-gtk2
sudo dpkg -i rkflashkit_0.1.(x)_all.deb (記得先ls看目前更新的檔名)
操作方式跟FOR WIN一樣,必須進入還原模式(RECOVERY MODE)就會抓到機器
(押住RESET鍵,再插入DC電源)
PS. flash nand會有變磚的可能,而且是一定會發生地,要留意這台RK3188如何解磚,待續...
Ref. http://www.cnx-software.com/2013/11/19/how-to-flash-rockchip-rk3066-rk3188-firmware-in-linux/#ixzz3etGzidA4
RK3188,2G/8G,RMB230,當成是一台千元的主機,試著LINUX OS可不可以順利裝上
首先要先解決FW的UPDATE及NAND FLASH kit的安裝,不過RK只提供WINDOWS版的BATCH及FLASH TOOL:
Rockchip provides 2 tools to update the flash:
RkBatchTool – Used to upgrade firmware with a single file
RkAndroidTool – Used to flash the NAND flash with image corresponding to particular partition, e.g. system.img. kernel.img, boot.img. recovery.img. etc…
若是在DEBIAN及UBUNTU則可安裝RKFLASHKIT:
In order to install RkFlashKit in Debian or Ubuntu, you need to get the source code, build it, and install the package:
安裝 RkFlashKit
git clone https://github.com/linuxerwang/rkflashkit
cd rkflashkit
./waf debian
sudo apt-get install python-gtk2
sudo dpkg -i rkflashkit_0.1.(x)_all.deb (記得先ls看目前更新的檔名)
操作方式跟FOR WIN一樣,必須進入還原模式(RECOVERY MODE)就會抓到機器
(押住RESET鍵,再插入DC電源)
PS. flash nand會有變磚的可能,而且是一定會發生地,要留意這台RK3188如何解磚,待續...
Ref. http://www.cnx-software.com/2013/11/19/how-to-flash-rockchip-rk3066-rk3188-firmware-in-linux/#ixzz3etGzidA4
2014年8月24日 星期日
deb安裝失敗手動移除package的步驟
Debian套件的安裝很方便,使用apt-get或是aptitude加上要安裝package的名稱即可順利的連結與安裝,但若不是套件庫的程式,也可使用封裝好的.deb套件dpkg -i來安裝,不過容易因為版本之相容問題導致安裝失敗,甚至無法順利執行apt-get update及upgrade.
怎辦呢? 只能手動移除deb的解安裝.
手動移除deb Package
找出相關安裝的檔案
dpkg -L Package-Name 或是
cd /var/cache/apt/archives; dpkg -c Package-Name.deb
將索引文件中的套件訊息刪除 (套件開頭的都刪除)
vi /var/lib/dpkg/status
cd /var/lib/dpkg/info
rm -fr Package-Name.*
重建索引
apt-get update
apt-get upgrade
怎辦呢? 只能手動移除deb的解安裝.
手動移除deb Package
找出相關安裝的檔案
dpkg -L Package-Name 或是
cd /var/cache/apt/archives; dpkg -c Package-Name.deb
將索引文件中的套件訊息刪除 (套件開頭的都刪除)
vi /var/lib/dpkg/status
cd /var/lib/dpkg/info
rm -fr Package-Name.*
重建索引
apt-get update
apt-get upgrade
2014年6月16日 星期一
Install OpenMediaVault (kralizec0.6.11) on Debian wheezy (7.5)
network install the Debain Wheezy 7.5
aptitude update
aptitude upgrade
echo "deb http://packages.openmediavault.org/public kralizec main" > /etc/apt/sources.list.d/openmediavault.list
wget -O - http://packages.openmediavault.org/public/archive.key | apt-key add -
aptitude update
aptitude install openmediavault-keyring postfix libapache2-mod-php5
It will Remove the following packages of message transfer agent (MTA):
1) exim4
2) exim4-base
3) exim4-config
4) exim4-daemon-light
aptitude install openmediavault locales
cd /tmp
wget http://ftp.us.debian.org/debian/pool/main/s/scponly/scponly_4.8-4.1_i386.deb
dpkg -i scponly_4.8-4.1_i386.deb
wget http://omv-extras.org/debian/pool/main/p/php-pam/php5-pam_1.0.3-2_i386.deb
dpkg -i php5-pam_1.0.3-2_i386.deb
wget http://packages.openmediavault.org/public/pool/main/p/php5-proctitle/php5-proctitle_0.1.2-2_i386.deb
dpkg -i php5-proctitle_0.1.2-2_i386.deb
apt-get install openmediavault-keyring openmediavault
/etc/init.d/apache2 reload
browers login the webgui id/pw: admin/openmediavault
重新安裝在 ACER FT100無法開啟登入網頁,另台AOPEN的準系統則是先安裝0.5.49後,修改sources.list.d裡openmediavault.list的版本名稱後,更新及升級後,順利完成,速度及設定版面改善06/16.
2014年6月13日 星期五
Install OpenMediaVault 0.5.48 (Sardaukar) on Debian wheezy
OMV欲配合嵌入式系統之設計,故會將單一資料碟視為系統槽,若只使用單顆硬碟並配合ISO檔安裝的話,將無法載入磁區.裝好後只能乾瞪眼,需另割空間供儲存使用.
目前OMV最新版本為0.5.49,搭配Debain Squeeze,據說0.6版本才會使用最新的Wheezy,因此試著使用netinst最小安裝,來使用OMV.
首先當然要先規劃硬碟空間,我使用320GHG,18G設為系統 槽,2G為SWAP,剩下300G使成兩個partition來使用.
#configure Debain network interface
su root
vi /etc/network/interfaces
auto lo
iface lo inet loopback
auth etho
iface eth0 inet static
address 192.168.0.5
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameservers 168.95.192.1
/etc/init.d/networking restart
#install OpenSSH
apt-get update
apt-get install openssh-server
#date --set 2014-06-12
#date --set 21:45:00
#date -R
#apt-get install ntpdate
#/usr/sbin/ntpdate clock.stdtime.gov.tw
#/sbin/hwclock -w
echo "deb http://packages.openmediavault.org/public Sardaukar main" > /etc/apt/sources.list.d/openmediavault.list
wget -O - http://packages.openmediavault.org/public/archive.key | apt-key add -
apt-get update
aptitude install openmediavault-keyring postfix libapache2-mod-php5
cd /tmp
wget http://ftp.us.debian.org/debian/pool/main/s/scponly/scponly_4.8-4.1_i386.deb
dpkg -i scponly_4.8-4.1_i386.deb
wget http://omv-extras.org/debian/pool/main/p/php-pam/php5-pam_1.0.3-1_i386.deb
dpkg -i php5-pam_1.0.3-1_i386.deb
wget http://packages.openmediavault.org/public/pool/main/p/php5-proctitle/php5-proctitle_0.1.2-2_i386.deb
dpkg -i php5-proctitle_0.1.2-2_i386.deb
aptitude install openmediavault locales
apt-get install openmediavault-keyring openmediavault
/etc/init.d/apache2 reload
browers login the webgui id/pw: admin/openmediavault
reference:
http://forums.openmediavault.org/viewtopic.php?f=12&t=1794&p=9455#p9382
目前OMV最新版本為0.5.49,搭配Debain Squeeze,據說0.6版本才會使用最新的Wheezy,因此試著使用netinst最小安裝,來使用OMV.
首先當然要先規劃硬碟空間,我使用320GHG,18G設為系統 槽,2G為SWAP,剩下300G使成兩個partition來使用.
#configure Debain network interface
su root
vi /etc/network/interfaces
auto lo
iface lo inet loopback
auth etho
iface eth0 inet static
address 192.168.0.5
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameservers 168.95.192.1
/etc/init.d/networking restart
#install OpenSSH
apt-get update
apt-get install openssh-server
#date --set 2014-06-12
#date --set 21:45:00
#date -R
#apt-get install ntpdate
#/usr/sbin/ntpdate clock.stdtime.gov.tw
#/sbin/hwclock -w
echo "deb http://packages.openmediavault.org/public Sardaukar main" > /etc/apt/sources.list.d/openmediavault.list
wget -O - http://packages.openmediavault.org/public/archive.key | apt-key add -
apt-get update
aptitude install openmediavault-keyring postfix libapache2-mod-php5
cd /tmp
wget http://ftp.us.debian.org/debian/pool/main/s/scponly/scponly_4.8-4.1_i386.deb
dpkg -i scponly_4.8-4.1_i386.deb
wget http://omv-extras.org/debian/pool/main/p/php-pam/php5-pam_1.0.3-1_i386.deb
dpkg -i php5-pam_1.0.3-1_i386.deb
wget http://packages.openmediavault.org/public/pool/main/p/php5-proctitle/php5-proctitle_0.1.2-2_i386.deb
dpkg -i php5-proctitle_0.1.2-2_i386.deb
aptitude install openmediavault locales
apt-get install openmediavault-keyring openmediavault
/etc/init.d/apache2 reload
browers login the webgui id/pw: admin/openmediavault
reference:
http://forums.openmediavault.org/viewtopic.php?f=12&t=1794&p=9455#p9382
2014年6月11日 星期三
Debian simplify installation
$ vi /etc/apt/sources.list
deb http://ftp.debian.org/debian testing main non-free contrib
deb http://ftp.debian.org/debian testing-proposed-updates main non-free contrib
deb http://security.debian.org/ testing/updates main non-free contrib
deb-src http://ftp.debian.org/debian testing main non-free contrib
deb-src http://ftp.debian.org/debian testing-proposed-updates main non-free contrib
deb-src http://security.debian.org/ testing/updates main non-free contrib
$ apt-get update
$ apt-get upgrade
$ apt-get dist-upgrade
$ dpkg-reconfigure locales
en_US.UTF-8 (default)
zh_TW.UTF-8
$ apt-get install ttf-wqy-zenhei ttf-arphic-ukai ttf-arphic-uming
$ apt-get install gdm3
$ apt-get install gnome-terminal
$ /etc/init.d/gdm3 start
$ apt-get install gnome-themes gnome-themes-extra
(http://wiki.debian.org/iwlwifi)
$ apt-get install firmware-iwlwifi wireless-tools
$ ifconfig wlan0 up
$ apt-get install network-manager-gnome
$ apt-get install network-manager-pptp
$ apt-get install gcin
$ wget http://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
$ dpkg -i google*.deb
$ apt-get install gedit
$ apt-get install vim gvim
$ apt-get install eog
$ apt-get install mplayer gnome-mplayer
$ apt-get install stardict
deb http://ftp.debian.org/debian testing main non-free contrib
deb http://ftp.debian.org/debian testing-proposed-updates main non-free contrib
deb http://security.debian.org/ testing/updates main non-free contrib
deb-src http://ftp.debian.org/debian testing main non-free contrib
deb-src http://ftp.debian.org/debian testing-proposed-updates main non-free contrib
deb-src http://security.debian.org/ testing/updates main non-free contrib
$ apt-get update
$ apt-get upgrade
$ apt-get dist-upgrade
$ dpkg-reconfigure locales
en_US.UTF-8 (default)
zh_TW.UTF-8
$ apt-get install ttf-wqy-zenhei ttf-arphic-ukai ttf-arphic-uming
$ apt-get install gdm3
$ apt-get install gnome-terminal
$ /etc/init.d/gdm3 start
$ apt-get install gnome-themes gnome-themes-extra
(http://wiki.debian.org/iwlwifi)
$ apt-get install firmware-iwlwifi wireless-tools
$ ifconfig wlan0 up
$ apt-get install network-manager-gnome
$ apt-get install network-manager-pptp
$ apt-get install gcin
$ wget http://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
$ dpkg -i google*.deb
$ apt-get install gedit
$ apt-get install vim gvim
$ apt-get install eog
$ apt-get install mplayer gnome-mplayer
$ apt-get install stardict
2013年2月25日 星期一
archlinux mirrorlist generator
when you update fails. modify the file of mirrorlist. and reference this site.
https://www.archlinux.org/mirrorlist/ , choose you wanna
vi /etc/pacman.d/mirrorlist
pacman -Syy
pacman -Syu
Taiwan change into "province of china", unfortunately.
I should be to Archlinux to protest. I am Taiwanese, not chinese.
https://www.archlinux.org/mirrorlist/ , choose you wanna
vi /etc/pacman.d/mirrorlist
pacman -Syy
pacman -Syu
Taiwan change into "province of china", unfortunately.
I should be to Archlinux to protest. I am Taiwanese, not chinese.
2012年12月19日 星期三
Slax7 & Puppy Slacko5.4
自從從"資訊人權貴"洪老師那得知Slax7將於年底推新後,一直期待它的完成,不過這幾天試用下來,實在討不得我喜,或許Unity式圖式介面是趨勢,但是portable tools的精神似乎被減低了,運行在舊PC上,實在殘不忍睹.它與芭比最近推出的Slacko5.4,效能真是差太多了,平平都是源出Slackware,怎.....,可能要怪我的電腦太爛了..呵呵
說真的,Puppy Slacko 5.4相形之下,真的好用...
說真的,Puppy Slacko 5.4相形之下,真的好用...
2012年12月2日 星期日
Puppy Linux Wary 5.3
這幾天藉機忘了要讀書,只顧玩芭比小狗,實在是#$%&,信心逐漸瓦解中...
芭比繁體中文化資源還是很少,不過s5n竟然用CF卡可以跑得很順,可能它都以記憶體來跑吧?
可是無法載入pae cpu的kernel,只有wary5跑2.6才可以動,其他包括racy,slacko用核心3的都跑不動.
下回要用usb2.0來試看看,應該也是有好表現才對.
安裝下列3個pet即可達成顯示中文,輸入中文及flash安裝的需求
uming-ttc-0.2.pet
gcin-1.4.5.pet
install_flash_player_11_linux.i386.pet
其實可至puppy package manager安裝其它官方的套件,不過資源不多就是.
ref
https://sites.google.com/site/mmamtb/Home/
芭比繁體中文化資源還是很少,不過s5n竟然用CF卡可以跑得很順,可能它都以記憶體來跑吧?
可是無法載入pae cpu的kernel,只有wary5跑2.6才可以動,其他包括racy,slacko用核心3的都跑不動.
下回要用usb2.0來試看看,應該也是有好表現才對.
安裝下列3個pet即可達成顯示中文,輸入中文及flash安裝的需求
uming-ttc-0.2.pet
gcin-1.4.5.pet
install_flash_player_11_linux.i386.pet
其實可至puppy package manager安裝其它官方的套件,不過資源不多就是.
ref
https://sites.google.com/site/mmamtb/Home/
2012年11月10日 星期六
LinuxMint update fault - 404 not found
deb http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.com/latest testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
-->deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
deb http://www.debian-multimedia.org testing main non-free
-->deb http://debian.linuxmint.com/latest/multimedia testing main non-free
deb http://debian.linuxmint.com/latest testing main contrib non-free
-->deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
-->deb http://debian.linuxmint.com/latest/multimedia testing main non-free
2012年10月8日 星期一
archlinux 下的 ifconfig指令
arhclinux下是沒有預設安裝ifconfig指令的,所以是必須安裝net-tools,另外也加上dnsutils inetutils iproute2,
pacman -S net-tools dnsutils inetutils iproute2
就可以下ifconfig指令了
pacman -S net-tools dnsutils inetutils iproute2
就可以下ifconfig指令了
2012年7月10日 星期二
perl: warning: Falling back to the standard locale ("C").
最近Debian upgrade都會報警告,
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "zh_TW"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "zh_TW"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
而且也執行dpkg-reconfigure locales 設定中文,結果還是一樣.....
最後解決的方式,很簡單
只要下個指令
export LC_ALL=C
Done, That's all. so easy
2012年6月5日 星期二
解決flash下中文框框字的問題-ubuntu
在部份Flash框架中顯示中文時, 會變成很多的框框, 尤其是在不同瀏覽器程式上,這原因主要是字型選錯的問題,在ubuntu下原先是修改 /etc/fonts/conf.d/49-sansserif.conf 將所有的"sans-serif"改成"sans serif",不過這樣預設字型會改變
另外有比較好的解決方法,我用在chrome及opera都可以
就是修改 /etc/fonts/conf.d/69-language-selector-zh-tw.conf
將 sans-serif 下的 binding="strong" 拿掉
改成
即可
另外有比較好的解決方法,我用在chrome及opera都可以
就是修改 /etc/fonts/conf.d/69-language-selector-zh-tw.conf
將 sans-serif 下的 binding="strong" 拿掉
改成
即可
Archlinux 更新金鑰
原來Archlinux會定期進行信任資料庫的檢查,應該是2個月次吧!
#pacman-key --init
#pacman-key --populate archlinux
它會更新pacman.conf的設定
#pacman-key --init
#pacman-key --populate archlinux
它會更新pacman.conf的設定
2012年3月28日 星期三
2012年3月27日 星期二
Debian lenny upgrade to squeeze
step 1.
$sudo vi /etc/apt/sources.list
deb http://ftp.tw.debian.org/debian/ squeeze main
deb-src http://ftp.tw.debian.org/debian/ squeeze main
deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main
deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
step 2.
$sudo aptitude update
$sudo aptitude install apt dpkg aptitude
$sudo aptitude dist-upgrade
stop 3.
$sudo shutdown -r now
$cat /etc/debian_version or $lsb_release -a
$sudo vi /etc/apt/sources.list
deb http://ftp.tw.debian.org/debian/ squeeze main
deb-src http://ftp.tw.debian.org/debian/ squeeze main
deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main
deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
step 2.
$sudo aptitude update
$sudo aptitude install apt dpkg aptitude
$sudo aptitude dist-upgrade
stop 3.
$sudo shutdown -r now
$cat /etc/debian_version or $lsb_release -a
2012年3月7日 星期三
mail queue
postqueue -p
檢視剩下的queue
postqueue -f
強制重送信
mailq
列表queue
postsuper -d ALL
postsuper -d ALL deffered
postsuper -d queue_id
刪除信件
header_checks
postmap -q – regexp:/etc/postfix/header_checks < /etc/postfix/header_checks
檢視剩下的queue
postqueue -f
強制重送信
mailq
列表queue
postsuper -d ALL
postsuper -d ALL deffered
postsuper -d queue_id
刪除信件
header_checks
postmap -q – regexp:/etc/postfix/header_checks < /etc/postfix/header_checks
2012年2月4日 星期六
error update of gstreamer0.10-plugins-bad
apt-get install gstreamer0.10-plugins
apt-get install dist-upgrade
apt-get install dist-upgrade
訂閱:
文章 (Atom)

