4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
search: tag:aptitude — newest first
  • 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