File: dpkg-unhold

package info (click to toggle)
dlocate 1.07%2Bnmu1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 276 kB
  • ctags: 9
  • sloc: sh: 455; perl: 96; makefile: 59
file content (18 lines) | stat: -rwxr-xr-x 399 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/bash

# dpkg-unhold  --  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-unhold <package...>"
	exit 1
fi

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