APT ordering of reposiitories
Colin Watson
cjwatson at ubuntu.com
Fri May 1 13:56:58 UTC 2020
On Fri, May 01, 2020 at 12:37:26PM +0100, Bill Purvis wrote:
> I'm trying to maintain two machines in parallel, but find that apt,
> despite having what appears to have the same list of repositories has
> installed different versions of some packages on the two machines.
>
> For instance: iproute2. This is on one machine as:
> 4.18.0-1ubuntu2~ubuntu18
> while on the other, it is
> 4.15.0-2ubuntu1
>
> Running 'apt upgrade iproute2' on each machine states that this it the
> latest current version.
In general, "apt-cache policy iproute2" is a good way to debug this sort
of thing, though you'll need to do some reading to interpret the
information. Reading "man apt_preferences" may be helpful too.
--
Colin Watson [cjwatson at ubuntu.com]
More information about the ubuntu-users
mailing list