WPML not installed and activated.

Upgrade wheezy / jessie

By spl on 8 mai 2013 in Côté serveur, Notes
0
0

Quelques notes et scriptlets à ce sujet

##############################################################
# mysql
##############################################################
apt-cache madison mysql-server mysql-server-core-5.5

# hold
echo "mysql-client-5.5 hold" | dpkg --set-selections
echo "mysql-server-5.5 hold" | dpkg --set-selections
echo "mysql-server-core-5.5 hold" | dpkg --set-selections

# unhold (when mysql becomes available id the dotdeb wheezy repo)
echo "mysql-client-5.5 install" | dpkg --set-selections
echo "mysql-server-5.5 install" | dpkg --set-selections
echo "mysql-server-core-5.5 install" | dpkg --set-selections

# back to dotdeb if accidentally upgrade
apt-get remove mysql-client-5.5 mysql-server-5.5 mysql-server-core-5.5 mysql-client mysql-server
apt-get install mysql-server-core-5.5=5.5.30-1~dotdeb.0
apt-get install mysql-server-5.5=5.5.30-1~dotdeb.0
apt-get install mmysql-client-5.5=5.5.30-1~dotdeb.0

##############################################################
# dovecot
##############################################################
mkdir -p /usr/lib/dovecot/modules/lda
cd /etc/dovecot
doveconf -n > dovecot-new.conf
cp -a dovecot.conf dovecot.conf.bak
cp -a dovecot-new.conf dovecot.conf
dpkg-reconfigure dovecot-core
/etc/init.d/dovecot restart

##############################################################
# /etc/apt/sources.list
##############################################################
################################################
## wheezy
deb http://ftp.fr.debian.org/debian/ wheezy main non-free contrib
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb http://ftp.fr.debian.org/debian/ wheezy-proposed-updates main contrib non-free
deb http://www.deb-multimedia.org wheezy main non-free

## dotdeb repository
deb http://packages.dotdeb.org wheezy all
deb-src http://packages.dotdeb.org wheezy all

################################################
## jessie
deb http://ftp.fr.debian.org/debian/ jessie main non-free contrib
deb http://security.debian.org/ jessie/updates main contrib non-free
deb http://ftp.fr.debian.org/debian/ jessie-proposed-updates main contrib non-free
deb http://www.deb-multimedia.org jessie main non-free

##############################################################
# /etc/apt/preferences.d/dotdeb
##############################################################
Package: *
Pin: origin packages.dotdeb.org
Pin-Priority: 991

 

spl

About the Author

splView all posts by spl
Loading Facebook Comments ...

0 Comments

Add comment

Leave a Reply

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *

*

CommentLuv badge