Web lists-archives.com

Re: etherape - why removed?




On Mon, 09 Apr 2018 18:38:06 +0200 Hans said:

> At the first glance they are logical and accountable on the other
> hand, and I suppose, you will understand this, it is irritating, that
> a package suddenly disappears.
> 
> I am regularly building my own kali-linux versions, and when an
> important package like etherape suddenly disappears, this is sad.
> 
> Of course, the solution is, to put the latest running package into
> the package-chroot of the life-build environment.

Another solution is adding Unstable as a low-priority repository. E.g;

/etc/apt/sources.list ::
deb http://ftp.tr.debian.org/debian/ unstable main contrib non-free 

/etc/apt/preferences ::
Package: *
Pin: release a=unstable
Pin-Priority: 20

With this configuration:

1) Install or upgrade of packages should follow your normal release
(stable or testing) *even if* there was a higher version in Unstable
repository.

2) Packages should install from Unstable *only if* there is no such
package in your normal release (stable or testing).

You can check this out with "apt-cache policy" for packages in various
states.

E.g. in my case (testing with default priority, unstable with low
priority) it is as follows.

Installed and upgradable package with higher version in unstable:

~$ apt-cache policy binutils
binutils:
 Installed: 2.30-5
 Candidate: 2.30-8
 Version table:
  2.30-15 20
   20 http://ftp.tr.debian.org/debian unstable/main amd64 Packages
  2.30-8 500
   500 http://ftp.tr.debian.org/debian testing/main amd64 Packages
**2.30-5 100
   100 /var/lib/dpkg/status
  2.28-5 500
   500 file:/sdb6/software/debian-9.2.1-amd64-DVD-1 stretch/main amd64
Packages

Non-installed package with a higher version in unstable:

~$ apt-cache policy 2to3
2to3:
 Installed: (none)
 Candidate: 3.6.4-1
 Version table:
  3.6.5-2 20
   20 http://ftp.tr.debian.org/debian unstable/main amd64 Packages
  3.6.4-1 500
   500 http://ftp.tr.debian.org/debian testing/main amd64 Packages

Non-existent (in testing) package with a version in unstable:

~$ apt-cache policy etherape
etherape:
Installed: (none)
Candidate: 0.9.16-1
Version table:
 0.9.16-1 20
  20 http://ftp.tr.debian.org/debian unstable/main amd64 Packages

So install candidates always follow testing as long as it is possible,
but fall back to unstable if there no other way.

Regards
-- 
Abdullah Ramazanoglu