Comment 11 for bug 7568

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 22 Aug 2004 20:05:07 -0500 (CDT)
From: Adam Heath <email address hidden>
To: =?iso-8859-1?q?Pascal=20Giard?= <email address hidden>,
    <email address hidden>
Subject: Re: Bug#264974: dpkg: Package database corruption ?

reassign 264974 apt
thanks

On Wed, 11 Aug 2004, Pascal Giard wrote:

> Package: dpkg
> Version: 1.10.23
> Severity: important
>
> Altho i've updated the package lists (both in dselect and with apt-get),
> the changes aren't effective.

How did you come to this conclusion? You give no mention of what you are
*really* trying to do. You only make some half-assed attempts at doing
something, and we have to use our psychic powers to infer what you actually
mean.

> I can't reinstall (apt-get install --reinstall <pkg>) updated packages.
> e.g. At the moment i can't reinstall base-files. If i try tp update it,
> it tells me it's up to date.

--reinstall tells apt to reinstall the exact version of the package you
currently have installed. It does *not* upgrade it. If the exact version of
the package you have installed is not available in sources.list, then apt will
do nothing.

> Looking closer to the package information, i can see that the "filename"
> isn't present for affected packages.

What did you do to figure this out? Please don't hold anything back.
Contrary to what I said above, we can not read your mind.

> So far, the only way i found in order to install the updated version of
> a package is to:
> -> dpkg -r <pkg>
> -> apt-get install <pkg>

apt-get install <pkg> is *not* the same as apt-get install --reinstall <pkg>.
Remove the --reinstall option, and it will work.

> That way, it downloads the last version (it's unacceptable for essential
> packages like base-files).
> So the information is somewhat there but apt-get and dselect are unable
> to use it.
>
> Here's the content of my /etc/apt/sources.list:
>
> deb http://ftp.it.debian.org/debian/ unstable main non-free contrib
> deb-src http://ftp.us.debian.org/debian/ unstable main non-free contrib
> deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib
> non-free
> deb-src http://non-us.debian.org/debian-non-US unstable/non-US main
> contrib non-free
>
> deb http://download.videolan.org/pub/videolan/debian $(ARCH)/
> deb ftp://ftp.nerim.net/debian-marillat/ unstable main

Besides, this is an apt bug, not dpkg bug.