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

Re: so, systemd now and teh world still turns...

On Jo, 05 iun 14, 01:13:23, Steven Chamberlain wrote:
> Hi Svante,
> The official source of it is here:
> http://users.unixforge.de/~tglaser/debs/dists/etch/wtf/Pkgs/mirabilos-support/
> That was announced in this thread (which you started!) :
> https://lists.debian.org/debian-devel/2014/05/msg00271.html
> Remember to also set the package as 'held', or else APT will try to
> remove it in order to satisfy a systemd dependency!

Why bother when a simple pin will do the job:

$ cat /etc/apt/preferences.d/no-bad-package
Package: bad-package
Pin: version *
Pin-Priority: -1
Explanation: prevent installation of bad-package

# apt-get install bad-package
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package bad-package is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'bad-package' has no installation candidate

(actual package name replaced to protect... never mind)

Kind regards,
Offtopic discussions among Debian users and developers:

Attachment: signature.asc
Description: Digital signature

Reply to: