Suite à l’article concernant installation d’une debian en chroot sur un Nas Synology, beaucoup de question m’ont été posée sur la mise à jour du système.
3 possibilités:
1. Vous restez avec le repository actuel
et vous utilisez la commande
NAS> apt-get -o APT::Architecture=gnuspe update
2. Vous passez à la version officiel debian
Dans ce cas, vous devrez gérer les conflits et autres incompatibilités lors de l’upgrade.
Depuis l’écriture de cet article, l’architecture PowerPC SPE a été accepté par Debian dans la partie debian-port, donc nous pouvons modifier notre /etc/apt/source.list en (lien debian):
deb http://ftp.debian-ports.org/debian unstable main
deb http://ftp.debian-ports.org/debian unreleased main
ou pour la france (mirroir):
deb ftp://ftp.de.debian.org/debian-ports/ unstable main
deb ftp://ftp.de.debian.org/debian-ports/ unreleased main
Ajoutez les clefs d’authentification des packages:
wget -O - http://ftp.debian-ports.org/archive/archive_2011.key | apt-key add -
Maintenant la commande de mise à jour.
Lors de l’écriture de l’article l’auteur du portage sur PowerPC SPE avait nommé l’architecture gnuspe, cette dernière fut renommée en powerpcspe lors du port officiel.
NAS> apt-get -o APT::Architecture=powerpcspe update
Ensuite à vous de gérer les conflits sur le
NAS> apt-get -o APT::Architecture=powerpcspe upgrade
3. Vous refaîtes un bootstrap
Avec une version officiel en suivant le tutorial suivant avec l’architecture powerpcspe:
http://pellelatarte.fr/2011/06/nas-synology-debian-en-chroot-apache-et-mysql/
Hi Alexander, excellent articles!
I have installed the packages you pointed to, and it works like a charm. but now I would like to install newer packages from the Debian Port repository, but I can’ t get methods two and three to work. I would think that method 3 (debootstrap) would be easier. I am trying to use the Debian install from your first tutorial that I have now installed on the DS to run debootstrap, but I can’t make it work. Even using the method in the site you pointed to (which is for a supported architecture) I can’t figure it out.
Would you be able to show the commands that woul work to generate a new debootstrap from the debian Ports site on the DS with debian on it (for the powerpcspe architecture).
Thanks for all of your great tutorials,
Steve
Hi Steve!
Sorry for delay.
With dsm 4.2, I remove all this customization, then, sorry, now I don’t remember how to do it (2 year ago).
Try to update your nas, and see if new features and packages could fill your needs.
Thanks,
Alexandre
This is exactly what I was looking for. Thanks for wrigint!