Table des matières
- 2026:
- 2025:
1 billet(s) pour avril 2026
| Notes ping ICMP | 2026/04/03 23:01 | Jean-Baptiste |
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éinstaller
Si pas de NFS v1, v2 ou v3 rpcbind portmap apt-get install debian-keyring debian-archive-keyring —————— Les paquets supplémentaires suivants seront installés :
fping freeipmi-common freeipmi-tools libclass-accessor-perl libconfig-tiny-perl libdate-manip-perl libdigest-hmac-perl libencode-locale-perl libfile-listing-perl libfont-afm-perl libfreeipmi12 libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libio-pty-perl libio-socket-ip-perl libio-socket-ssl-perl libipc-run-perl libipmiconsole2 libipmidetect0 liblwp-mediatypes-perl liblwp-protocol-https-perl liblwp-useragent-determined-perl libmail-imapclient-perl libmailtools-perl libmath-calc-units-perl libmemcached10 libmodule-implementation-perl libmodule-runtime-perl libmysqlclient18 libnagios-plugin-perl libnet-dns-perl libnet-http-perl libnet-ip-perl libnet-libidn-perl libnet-smtp-tls-perl libnet-snmp-perl libnet-ssleay-perl libparams-classify-perl libparams-validate-perl libparse-recdescent-perl libperl5.14 libpq5 libradiusclient-ng2 libreadonly-perl libreadonly-xs-perl libruby1.9.1 libsensors4 libsnmp-base libsnmp15 libsocket-perl libsub-name-perl libtalloc2 libtdb1 libtimedate-perl libtry-tiny-perl liburi-perl libwbclient0 libwww-perl libwww-robotrules-perl libyaml-0-2 libyaml-syck-perl lockfile-progs mysql-common nagios-nrpe-server nagios-plugins nagios-plugins-basic nagios-plugins-common nagios-plugins-contrib nagios-plugins-standard ntpdate qstat rsync ruby ruby1.9.1 samba-common samba-common-bin smbclient snmp
Paquets suggérés :
lm-sensors icinga backuppc cciss-vol-status expect ri ruby-dev cifs-utils
——————————--
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
- 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)
Debian - Construction d un paquet a partir des sources - wdfs
pour monter un partage Webdav avec un compte utilisateur (peut nécessité d'appartenir au group fuse)
Install des dépendances
apt-get install libneon27-gnutls-dev libfuse-dev glib-2.0
Pour créer un paquet Debian de wdfs (c'est plus propre !)
apt-get install checkinstall
Compilation, création du paquet deb
git clone https://github.com/jmesmon/wdfs cd wdfs ./configure checkinstall --install=no
Installation du paquet
dpkg -i wdfs_1.4.2-1+jb-1_amd64.deb
Ansible - Accélérer Ansible grâce au module Mitogen
Voir aussi :
~/.ansible.cfg
[defaults] strategy_plugins = $HOME/.ansible/plugins/strategy/mitogen-0.2.9/ansible_mitogen/plugins/strategy strategy = mitogen_linear
~/.ansible/plugins/strategy/mitogen-0.2.9
Deb paquet Debian dépendances
Lister les dépendances d'un paquet Debian
apt-cache policy puppet apt-cache depends puppet apt-cache show puppet |grep ^Depends
Lister les dépendances (récursive) d'un paquet Debian
debfoster -d puppet
Lister les paquets qui ont pour dépendance tel paquet
apt-cache rdepends puppet
