Bonjour,
Je souhaite faire une vérification de la configuration de mes sources pour mon micro-serveur headless HP n40l sous Stretch 9.8 et qui pourvoit un service NFS.
J’apprends Debian doucement, le service NFS ne demandant pas beaucoup de maintenance.
Je pense que c’est un bon début de vérifier la configuration des sources.
http://paste.debian.net/hidden/1ca73a55/
root@n40l:~# cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: Aucun fichier ou dossier de ce type
root@n40l:~# ls -1 /etc/apt/apt.conf.d/
00CDMountPoint
00trustcdrom
01autoremove
01autoremove-kernels
05etckeeper
20apt-show-versions
20listchanges
20packagekit
50unattended-upgrades
70debconf
80debtags
root@n40l:~# ls /etc/apt/preferences.d/
root@n40l:~# cat /etc/apt/preferences
Package: *
Pin: release a=stable
Pin-Priority: 800
Package: *
Pin: release a=testing
Pin-Priority: 600
Package: *
Pin: release a=unstable
Pin-Priority: 400
Package: *
Pin: release a=experimental
Pin-Priority: 200
root@n40l:~# ls /etc/apt/sources.list.d/
root@n40l:~# cat /etc/apt/sources.list
deb http://ftp2.fr.debian.org/debian/ stretch main contrib non-free
deb http://ftp2.fr.debian.org/debian/ stretch-backports main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
deb http://ftp2.fr.debian.org/debian/ stretch-updates main contrib non-free
root@n40l:~# apt-cache policy
Fichiers du paquet :
100 /var/lib/dpkg/status
release a=now
500 http://ftp2.fr.debian.org/debian stretch-updates/main amd64 Packages
release o=Debian,a=stable-updates,n=stretch-updates,l=Debian,c=main,b=amd64
origin ftp2.fr.debian.org
800 http://security.debian.org stretch/updates/non-free amd64 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=non-free,b=amd64
origin security.debian.org
800 http://security.debian.org stretch/updates/contrib amd64 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=contrib,b=amd64
origin security.debian.org
800 http://security.debian.org stretch/updates/main amd64 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=main,b=amd64
origin security.debian.org
100 http://ftp2.fr.debian.org/debian stretch-backports/non-free amd64 Packages
release o=Debian Backports,a=stretch-backports,n=stretch-backports,l=Debian Backports,c=non-free,b=amd64
origin ftp2.fr.debian.org
100 http://ftp2.fr.debian.org/debian stretch-backports/contrib amd64 Packages
release o=Debian Backports,a=stretch-backports,n=stretch-backports,l=Debian Backports,c=contrib,b=amd64
origin ftp2.fr.debian.org
100 http://ftp2.fr.debian.org/debian stretch-backports/main amd64 Packages
release o=Debian Backports,a=stretch-backports,n=stretch-backports,l=Debian Backports,c=main,b=amd64
origin ftp2.fr.debian.org
800 http://ftp2.fr.debian.org/debian stretch/non-free amd64 Packages
release v=9.8,o=Debian,a=stable,n=stretch,l=Debian,c=non-free,b=amd64
origin ftp2.fr.debian.org
800 http://ftp2.fr.debian.org/debian stretch/contrib amd64 Packages
release v=9.8,o=Debian,a=stable,n=stretch,l=Debian,c=contrib,b=amd64
origin ftp2.fr.debian.org
800 http://ftp2.fr.debian.org/debian stretch/main amd64 Packages
release v=9.8,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=amd64
origin ftp2.fr.debian.org
Paquets épinglés :
root@n40l:~#
Je ne comprends pas trop pourquoi apt-cache policy
montre des priorités à 100 et à 500 ;
Pour les stretch-backports et le stretch-updates.
Je suis embarqué avec des sections contrib et non-free dans mon sources.list
;
J’ai trouvé pour savoir si il y a des paquets installés depuis ces sections :
root@n40l:~# aptitude search --disable-columns '~i ?section(contrib)' '-F%p'
gcc-doc-base
gfortran-doc
iucode-tool
root@n40l:~# aptitude search --disable-columns '~i ?section(non-free)' '-F%p'
amd64-microcode
firmware-amd-graphics
firmware-crystalhd
firmware-linux-nonfree
firmware-misc-nonfree
firmware-realtek
gcc-4.9-doc
gcc-6-doc
gfortran-4.9-doc
gfortran-6-doc
intel-microcode
libfaac0
libfdk-aac1
root@n40l:~#
Donc il semble que je doive conserver ces deux sections.
Je vais continuer mes recherches.
Merci pour toute aide apportée.