Table des matières
- 2026:
- 2025:
13 billet(s) pour novembre 2026
| Réseaux - protocole QUIC mieux que TCP | 2026/11/17 21:26 | Jean-Baptiste |
| Notes conversion JSON YAML | 2026/11/13 11:16 | Jean-Baptiste |
| Git commit perdu | 2026/11/12 18:16 | Jean-Baptiste |
| Notes mojo lang | 2026/11/11 20:34 | Jean-Baptiste |
| Notes rust lang compilation | 2026/11/11 18:35 | Jean-Baptiste |
| Mémoire VSIZE VMSIZE SEGV lang C | 2026/11/11 15:59 | Jean-Baptiste |
| Ansible-navigator utilisation de ansible-vault | 2026/11/06 11:33 | Jean-Baptiste |
| Err Ansible - Module result deserialization failed No start of json char found | 2026/11/06 09:09 | Jean-Baptiste |
| Script Python conversion JSON vers CSV | 2026/11/06 08:14 | Jean-Baptiste |
| Filter Incoming IPv4 Packets Containing IP Options - cve-2026-98432 mitigation - Kernel TCP Use-After-Free | 2026/11/04 21:04 | Jean-Baptiste |
| Notes ZFS | 2026/11/03 18:04 | Jean-Baptiste |
| Diff image container | 2026/11/03 16:30 | Jean-Baptiste |
| Notes processus multi-thread | 2026/11/03 10:59 | Jean-Baptiste |
Debian Gnome minimal
source : https://mike632t.wordpress.com/2016/05/25/installing-gnome-3-jessie/
Install Server X
apt-get install --no-install-recommends xserver-xorg xserver-xorg-core xfonts-base xinit
Install Gnome
apt-get install --no-install-recommends libgl1-mesa-dri x11-xserver-utils gnome-session \ gnome-shell gnome-themes gnome-terminal gnome-control-center nautilus \ gnome-icon-theme
Install gestionnaire de session
# apt-get install --no-install-recommends lightdm apt-get install --no-install-recommends gdm3
Debian dépôts exemple de source.list
exemple :
/etc/apt/sources.list
deb [arch=amd64] https://download.docker.com/linux/debian stretch stable deb-src [arch=amd64] https://download.docker.com/linux/debian stretch stable deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main deb http://ftp.fr.debian.org/debian wheezy main contrib non-free deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free deb http://security.debian.org/ wheezy/updates main contrib non-free deb-src http://security.debian.org/ wheezy/updates main contrib non-free deb http://ftp.u-picardie.fr/mirror/debian/ wheezy main non-free contrib deb-src http://ftp.u-picardie.fr/mirror/debian/ wheezy main non-free contrib #Third Parties Repos #Debian Multimedia #deb http://www.las.ic.unicamp.br/pub/debian-multimedia/ wheezy main #deb-multimedia.org deb http://www.deb-multimedia.org wheezy main non-free #Imprimante deb http://www.bchemnet.com/suldr/ debian extra #jeux deb http://boisson.homeip.net/debian lenny lineo #TOR deb http://deb.torproject.org/torproject.org wheezy main #E18 #deb http://packages.enlightenment.org/debian wheezy main extras # TESTING deb http://ftp.fr.debian.org/debian testing main contrib non-free deb http://ftp.debian.org/debian/ testing-updates main contrib non-free deb http://security.debian.org/ testing/updates main contrib non-free deb-src http://security.debian.org/ testing/updates main contrib non-free deb http://ftp.u-picardie.fr/mirror/debian/ testing main non-free contrib deb-src http://ftp.u-picardie.fr/mirror/debian/ testing main non-free contrib #Third Parties Repos #Debian Multimedia #deb http://www.las.ic.unicamp.br/pub/debian-multimedia/ testing main #deb-multimedia.org deb http://www.deb-multimedia.org testing main non-free #Imprimante deb http://www.bchemnet.com/suldr/ debian extra #jeux deb http://boisson.homeip.net/debian lenny lineo #TOR deb http://deb.torproject.org/torproject.org testing main #E18 #deb http://packages.enlightenment.org/debian testing main extras # unstable deb http://ftp.fr.debian.org/debian unstable main contrib non-free deb http://ftp.debian.org/debian/ unstable-updates main contrib non-free deb http://security.debian.org/ unstable/updates main contrib non-free deb-src http://security.debian.org/ unstable/updates main contrib non-free deb http://ftp.u-picardie.fr/mirror/debian/ unstable main non-free contrib deb-src http://ftp.u-picardie.fr/mirror/debian/ unstable main non-free contrib #Third Parties Repos #Debian Multimedia #deb http://www.las.ic.unicamp.br/pub/debian-multimedia/ unstable main #deb-multimedia.org deb http://www.deb-multimedia.org unstable main non-free #Imprimante deb http://www.bchemnet.com/suldr/ debian extra #jeux deb http://boisson.homeip.net/debian lenny lineo #TOR deb http://deb.torproject.org/torproject.org unstable main #E18 #deb http://packages.enlightenment.org/debian unstable main extras
## Pinning-Debian
création de /etc/apt/preferences.d/00source
touch /etc/apt/preferences.d/00source
modification du fichier
nano /etc/apt/preferences.d/00source
###/etc/apt/preferences.d/00sources###
Package: iceweasel
Pin: release a=unstable
Pin-Priority: 900
Package: *
Pin: release a=testing
Pin-Priority: 900
Package: *
Pin: release a=stable
Pin-Priority: 100
Package: *
Pin: release a=unstable
Pin-Priority: 10
Package: *
Pin: release a=experimental
Pin-Priority: 10
###Path : /etc/apt/sources.list### #non-free pour ajouter les dépôts des sources non libres
## Debian experimental - dépôts officiels
deb http://ftp.fr.debian.org/debian/ experimental main contrib non-free
## Debian unstable - dépôts officiels (sécurité au fil de l'eau par les devs)
deb http://ftp.fr.debian.org/debian/ unstable main contrib non-free
## Debian testing - dépôts officiels
deb http://ftp.fr.debian.org/debian/ testing main contrib non-free
deb http://ftp.fr.debian.org/debian/ testing-updates main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
## Debian stable - dépôts officiels
deb http://ftp.fr.debian.org/debian/ stable main contrib non-free
deb http://ftp.fr.debian.org/debian/ stable-updates main contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free
Dépôt depuis une copie du DVD
Voir : https://www.unixmen.com/setup-local-apt-repository-using-installation-media-in-debian-8/
find /media/cdrom/pool/ -name "*.deb" -exec cp {} /var/www/html/packages/amd64 \; cd /var/www/html/packages/amd64/ #dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz dpkg-scanpackages . /dev/null | pigz -9c > Packages.gz
Local
/etc/apt/sources.list
deb file:/var/www/html/packages/amd64/ /
Sur un serveur web /etc/apt/sources.list
deb http://192.168.21.4/debian93 /
Autres
update-repo.sh
#!/bin/bash #dpkg-scanpackages -m . | gzip -f9 > Packages.gz dpkg-scanpackages -m . | pigz -f9 > Packages.gz
Quand 2 paquets Debian fournissent un fichier même nom, même arborescence.
Deux paquets .deb (apt:moreutils et apt:parallel) fournissent un fichier /usr/bin/parallel
apt-file search /usr/bin/parallel | grep '/usr/bin/parallel$'
moreutils: /usr/bin/parallel parallel: /usr/bin/parallel
apt-get update && apt-get install moreutils ls -ld $(dpkg -L moreutils | sed -e '1d') | grep '^-'| awk '{print $9}' | grep -v parallel | cpio -ov --format=ustar | gzip > moreutils.tar.gz apt-get remove moreutils cd / tar xzvf moreutils.tar.gz -C '/' apt-get install parallel
C'est pour l'exemple avec cpio. Mais c'est pas très propre. Il contraindrait d'utiliser dpkg-divert
Debian apt-get downgrade
Exemple 1
apt-get clean apt-get update apt-cache policy perl-base apt-cache show perl-base | grep ^Version apt-get install --reinstall --allow-downgrades perl-base=5.24.1-3+deb9u4 #apt-show-versions -i #apt-get install $(apt-show-versions | grep -P 'newer than version in archive' | awk -F: '{print $1"/jessie"}') #apt-get install -V $(apt-show-versions | grep -F 'newer than version in archive' | awk -F: '{print $1"/'$(lsb_release -cs)'"}')
Exemple 2
# apt-get install install libopencv-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package install
root@BGX-deb98:/home/process# apt-get install libopencv-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libopencv-dev : Depends: libopencv-objdetect-dev (= 2.4.9.1+dfsg1-2) but it is not going to be installed
Depends: libopencv-highgui-dev (= 2.4.9.1+dfsg1-2) but it is not going to be installed
Depends: libopencv-legacy-dev (= 2.4.9.1+dfsg1-2) but it is not going to be installed
Depends: libopencv-contrib-dev (= 2.4.9.1+dfsg1-2) but it is not going to be installed
Depends: libopencv-videostab-dev (= 2.4.9.1+dfsg1-2) but it is not going to be installed
Depends: libopencv-superres-dev (= 2.4.9.1+dfsg1-2) but it is not going to be installed
Depends: libopencv-ocl-dev (= 2.4.9.1+dfsg1-2) but it is not going to be installed
Depends: libcv-dev (= 2.4.9.1+dfsg1-2) but it is not going to be installed
Depends: libhighgui-dev (= 2.4.9.1+dfsg1-2) but it is not going to be installed
Depends: libcvaux-dev (= 2.4.9.1+dfsg1-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
# aptitude install libopencv-dev ... The following packages have unmet dependencies: libglib2.0-bin : Depends: libglib2.0-0 (= 2.50.3-2) but 2.50.3-2+deb9u2 is installed libglib2.0-dev : Depends: libglib2.0-0 (= 2.50.3-2) but 2.50.3-2+deb9u2 is installed libicu-dev : Depends: libicu57 (= 57.1-6+deb9u2) but 57.1-6+deb9u4 is installed ...
apt-get install --allow-downgrades libglib2.0-0=2.50.3-2 libicu57=57.1-6+deb9u2
Debian apt list
Voir aussi : “K8s - image for debug”
A faire : * Fiche Wiki * Fichier liste serveurs * Déclaration DNS * Supervision * Test / scan conformité sécurité
Générique système
mailx debian-goodies lsof atop sysdig nc.traditional curl httpie wget fail2ban mutt lftp file vim sudo rsync smbclient ntpdate lockfile-progs pv bwm-ng pciutils info timelimit ipcalc
ipcalc-ng sipcalc
virt-what remplacé par systemd (systemd-detect-virt ou hostnamectl)
Generique system opts
apt-file plocate debsums
Generique compil
binutils autoconf
Forensic
strace netcat nmap dnsutils sshfs tcpdump
vmware tool
dkms linux-source gcc linux-headers-amd64 open-vm-dkms open-vm-tools
Désinstaller
Si pas de NFS v1, v2 ou v3 rpcbind portmap
# Generique system # list mailx debian-goodies lsof atop telnet curl httpie wget fail2ban rsyslog mutt lftp file vim sudo virt-what rsync smbclient ntpdate lockfile-progs debsums cgroup-tools # Generique system opts apt-file plocate # Generique compil binutils autoconf # Forensic nc nmap dnsutils sshfs tcpdump strace # vmware tool dkms linux-source gcc linux-headers-amd64 open-vm-dkms open-vm-tools # Serveur web apache2 php5-curl php5 php5-mysql php5-cli php-apc mysql-client mysql-server # Specifique * toolbox * nagios-nrpe-server * bash-completion * ca-certificates * daemon * dc * db5.1-util * dbconfig-common * dbus * dc * debian-faq * debian-policy * debsums * dnsutils * doc-debian * doc-debian-fr * doc-linux-fr-text * ethtool * fping * ifrench-gut * iso-codes * mpt-status * lsb-release * qstat * reportbug * shared-mime-info * ssl-cert * lockfile-progs * m4 * task-french * task-ssh-server * tcpd * tcpdump * tdb-tools * texinfo * time * ttf-dejavu-core * w3m * wamerican * wfrench * util-linux-locales * whois * xauth * zerofree Plop * mondo * git * vim * ecryptfs-utils * gocryptfs * fdupes * jdupes * rsync * check-dfsg-status (remplace vrms) * apt-file * sysstat * fslint * deborphan * powertop # Pour playonlinux unzip, wget, xterm, python, python-wxgtk2.8, imagemagick, cabextract, icoutils, p7zip-full wine-bin:i386 libgl1-mesa-glx:i386 libasound2:i386 mplayer2 vlc rtmpdump (remplacé par curl ?) cclive icedove bleachbit codeblocks amule
Firefox 32bits
apt-get install libdbus-glib-1-2:i386 libgtk2.0-0:i386 libxt6:i386
Autre bureautique
- keepassx
- gnucash
- qarte
- pdftk
- cherrytree
apt-get -y autoremove --purge gnome-online-accounts xserver-xorg-video-vmware evolution-data-server gnome-orca gnome-accessibility-themes apt-get -y autoremove --purge python-zeitgeist zeitgeist-core apt-get -y autoremove --purge evolution-common evolution-data-server-common evolution-webcal apt-get -y autoremove --purge espeak-data python-speechd speech-dispatcher apt-get -y autoremove --purge tracker-utils tracker-miner-fs tracker-gui tracker-extract tracker rygel-tracker apt-get -y autoremove --purge libtracker-miner-0.14-0 libtracker-extract-0.14-0 apt-get -y autoremove --purge rygel rygel-playbin rygel-preferences apt-get install gnome-backgrounds gnome-control-center gnome-menus gnome-panel gnome-screenshot gnome-terminal gnome-system-monitor gnome-system-log gnome-session gnome-session-fallback gnome-power-manager gnome-keyring gnome-icon-theme gnome-icon-theme-extras gnome-icon-theme-symbolic libpam-gnome-keyring gnome-themes gnome-themes-extras gnome-themes-standard
python3-all python3-doc python3-tk python3-doc python3-pip python3-numpy python3-scipy python3-examples python-numpy-doc idle3
Pour Jessy
python3-matplotlib ipython3 ipython3-notebook ipython3-qtconsole
secure-delete
icedove-l10n-fr
conky-all
kvm qemu-kvm libvirt-bin virtinst
virt-manager # Remplacé par Cockpit
xpra
caja-open-terminal
Paquets debian
Voir debian_apt_list
Paquets liste
- debianutils
- powertop
- chkconfig
Paquet liste noire :
- tracker
Pb
dpkg -r --force all $PAQUET apt-get -f install
Ordinateur de bureau
Liste
- unifont
- gucharmap
Scanner
Liste
- simple-scan
Avec imprimante HP
Liste
- hplip-gui
Machine physique
Liste
- lm-sensors
- rasdaemon
- smartmontools
Serveurs
- molly-guard
Machine de dev
Liste
- perl-doc
- automake
Si portable
Liste
- laptop-mode-tools
Voir http://www.commentcamarche.net/faq/17603-augmenter-l-autonomie-de-son-portable-sous-linux
http://lehollandaisvolant.net/linux/powersave.php
task-laptop Recommends: acpid, acpi, acpi-support, pcmciautils, wireless-tools, wpasupplicant, avahi-autoipd, bluetooth, powertop, pm-utils
Si GPU radeon
Liste
- radeontool-- Voir https://packages.debian.org/jessie/radeontool
- rovclock
- radeontop
Serveurs
Dispo dans les dépots Debian SGBDR http://www.postgresqlfr.org/
Bureau
List
- Mate-desktop
- tmux
- iPython
- Bleachbit
- Gitk
- rsync
- rdiff-backup
- mondo-rescue
- FSlint
- Kvm Libvirt # virt-manager (remplacé par Cockpit)
- Keepass / Keepassx / kpcli
- Gnucash
- check-dfsg-status (remplace vrms)
