Changes between Version 1 and Version 2 of jazz/PHP5_MSSQL


Ignore:
Timestamp:
Jul 23, 2010, 4:54:18 PM (14 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/PHP5_MSSQL

    v1 v2  
    2727 * 為了避免以後又遇到類似的問題,我們需要暫時把 php5 相關的套件全部設成 hold
    2828{{{
    29 $ dpkg -i php5-common*.deb
    30 $ dpkg -i libapache2-mod-php5*.deb
    31 $ cat > php5-on-hold.pkg.lst << EOF
    32 libapache2-mod-php5                             hold
    33 php5-common                                     hold
    34 EOF
    35 $ dpkg --set-selections < php5-on-hold.pkg.lst
    36 $ dpkg --get-selections
     29$ sudo dpkg -i *.deb
     30$ dpkg --get-selections | grep php5 | sed 's#install#hold#' > php5-on-hold.pkg.lst
     31$ sudo dpkg --set-selections < php5-on-hold.pkg.lst
    3732}}}
    3833