[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sobre paquetes deb y versiones



On Thu, Nov 16, 2000 at 06:22:08PM +0100, J. Carlos Romero wrote:
> $ echo paquete hold | dpkg --set-selections
> o entrando en dselect y pulsando la tecla = tras situarte en el
> paquete deseado.

O, poniendo este script de Craig en /usr/local/bin.

dpkg-hold paquete

-- 
Jordi Mallach Pérez || jordi@pusa.informat.uv.es || Rediscovering Freedom,
   aka Oskuro in    || jordi@sindominio.net      || Using Debian GNU/Linux
 Reinos de Leyenda  || jordi@debian.org          || http://debian.org

http://sindominio.net  GnuPG public information:      pub  1024D/917A225E 
telnet pusa.uv.es 23   73ED 4244 FD43 5886 20AC  2644 2584 94BA 917A 225E
#! /bin/bash

# dpkg-hold  --  command line tool to flag package(s) as held.
#
# by Craig Sanders, 1998-10-26.  This script is hereby placed into the
# public domain.
#
# BUGS: this script has absolutely no error checking.  this is not good.

if [ -z "$*" ] ; then
        echo "Usage:"
        echo "      dpkg-hold <package...>"
        exit 1
fi

for i in $@ ; do
        echo "$i        hold"
done | dpkg --set-selections

Attachment: pgpQpdz9RCICk.pgp
Description: PGP signature


Reply to: