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

Bug#574956: keeps upgrading - to the same version



Celejar <celejar@gmail.com> writes:

> On Thu, 29 Apr 2010 23:17:59 +0200
> David Kalnischkies <kalnischkies+debian@gmail.com> wrote:
>
>> Thanks for your answer, it just that i have expressed my request in
>> the wrong way - i thought of "apt-cache policy libconfigreader-simple-perl"
>> in your first mail while asking if this output is completeâ?¦
>> Sorry for the misunderstanding.
>
> Sorry, see below.
>
>> Still the output is a bit suspicious:
>> >  500 http://localhost sid/non-free Translation-en_US
>> Debians non-free doesn't provide Translations (the translations are
>> included in the Translation file for main) -- and additional debian doesn't
>> provide an en_US Translationâ?¦
>> 
>> So my next questions are:
>> Which archives do you mirror in your localhost, is it the same if you
>> replace localhost with the right archive and which software do you use
>> to mirror the archives?
>
> I'm using approx.  My approx.conf contains just:
>
> debian          http://ftp.us.debian.org/debian
> multimedia      http://www.debian-multimedia.org
>
>> (I remember a bugreport in which a mirror creater application messed
>> up the files causing "unexpected" behavior of apt and friends)
>
> This is what the apt-cache policy looks like:
>
> $ apt-cache policy libconfigreader-simple-perl 
> libconfigreader-simple-perl:
>   Installed: 1.28-2
>   Candidate: 1.28-2
>   Version table:
>      1.28-2 0
>         500 http://localhost sid/main Packages
>  *** 1.28-2 0
>         100 /var/lib/dpkg/status
>
> I changed my apt.sources to go directly to ftp.us.debian.org, and the
> problem remains, with the apt-cache policy now looking like this:
>
> $ apt-cache policy libconfigreader-simple-perl 
> libconfigreader-simple-perl:
>   Installed: 1.28-2
>   Candidate: 1.28-2
>   Version table:
>      1.28-2 0
>         500 http://ftp.us.debian.org sid/main Packages
>  *** 1.28-2 0
>         100 /var/lib/dpkg/status
>
> Thanks,
> Celejar

Did you run apt-cache clean?

If there are multiple packages with the same version that aren't
identical then you get multiple entries in apt-cache policy like you
have. Apt will try to update to the package with the highest pin. But
the apt download cache assumes that a package version is unique and if a
file for libconfigreader-simple-perl 1.28-2 exists in your cache then
apt will reinstall that instead of downloading the different one from
ftp.us.debian.org. So every time it sees that ftp.us.debian.org has a
different package but then it installs the old one again.

Unless that issue was fixed?

MfG
        Goswin



Reply to: