4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
search: tag:debian tag:apt — newest first
  • Note: Allez on remplace apt-get et apt-cache par apt

    En plus d'être plus court, l'output est plus lisible

    apt-cache madison paquet ---> apt list madison --all-versions

    apt list --upgradable (nice one)

    March 8, 2016 - permalink - https://links.infomee.fr/shaare/yUUk7A
    apt debian
  • Debian apt, lister les paquets à upgrade

    Pratique pour avoir un aperçu de l'état de son parc

    /usr/bin/apt-get -qq update && /usr/bin/apt-get -q -y --ignore-hold --allow-unauthenticated -s dist-upgrade | grep ^Inst | /usr/bin/cut -d\ -f2 | /usr/bin/sort
    (pris dans le script apticron)

    Pour avoir une liste avec 3 colonnes : nom du paquet / version actuelle / version dispo

    /usr/bin/apt-get -qq update && /usr/bin/apt-get -q -y --ignore-hold --allow-unauthenticated -s dist-upgrade | grep ^Inst | awk '{print $2 " " $3 " " $4}'|sed -r 's/([|]|()//g'

    March 12, 2015 - permalink - https://links.infomee.fr/shaare/kVZ8QA
    apt apt-get aptitude debian upgrade
  • Install Debian packages without starting daemons | major.io

    Via sametmax

    If you’d like to prevent daemons from starting after installing a package, just toss a few lines into /usr/sbin/policy-rc.d:

    cat > /usr/sbin/policy-rc.d < < EOF

    !/bin/sh

    echo "All runlevel operations denied by policy" >&2
    exit 101
    EOF

    June 27, 2014 - permalink - http://major.io/2014/06/26/install-debian-packages-without-starting-daemons/
    apt debian install package start
  • Echoes: How-To: Use apt-file to See What Files a Package Installs

    Pratique :
    Installation : apt-get install apt-file && apt-file update

    Chercher un fichier dans les packages en utilisant une regex :
    apt-file search -x '/dig$'

    Lister les fichiers d'un package sans l'installer (équivalent dpkg -L) :
    apt-file show dnsutils

    March 28, 2014 - permalink - http://vivapinkfloyd.blogspot.fr/2008/07/how-to-use-apt-file-to-see-what-files.html
    apt debian dpkg
  • Debian Sources List Generator
    January 26, 2014 - permalink - http://debgen.simplylinux.ch/
    apt debian