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

Bug#808102: apt: `apt-cache policy` does not find package listed in `/var/lib/dpkg/status`



Control: tag -1 unreproducible moreinfo

On Tue, Dec 15, 2015 at 07:34:28PM -0600, Wayne Rowcliffe wrote:
> Package: apt
> Version: 1.1.5
> Severity: important
> 
> Dear Maintainer,
> 
> I was installing upgrades the other day and everything appeared to work
> correctly. Then I went to manually install a package and `apt` said that
> there were missing dependencies and I needed to run `apt-get install -f`
> to fix them. I did this, but the problem persisted.
> 
> Digging into it more, I found that `evince` depends on
> `libevdocument3-4`. Both of these are installed according to `dpkg -l`
> and both are present in `/var/lib/dpkg/status`
> 
> However, `apt-cache policy libevdocument3-4` said the file was not
> installed.
> 
> After trying multiple things, I found that if I moved `libevdocument3-4`
> up next to `evince` in `/var/lib/dpkg/status`, then everything worked
> correctly.

Do you often modify /var/lib/dpkg/status manually?

> 
> I just ran `apt-get upgrade` and now it is telling me:
> 
> apt-get install
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> You might want to run 'apt-get -f install' to correct these.
> The following packages have unmet dependencies:
>  gir1.2-gnomebluetooth-1.0 : Depends: libgnome-bluetooth13 (>= 3.12.0)
>  but it is not installed
>   gnome-bluetooth : Depends: libgnome-bluetooth13 (>= 3.12.0) but it is
>   not installed
>   gnome-control-center : Depends: libgnome-bluetooth13 (>= 3.12.0) but
>   it is not installed
>  E: Unmet dependencies. Try using -f.
> 
> So this seems to be a broader issue where if I fix one thing then
> another breaks. `libgnome-bluetooth13` is installed and present in
> `/var/lib/dpkg/status`.

We can't do anything about that if we don't have your status file. It
would be great if you could attach that to the bug report, if you are
OK with people knowing what packages you have installed.

If you're not OK with having that public, you can also send it privately
to david@kalnischkies.de, mvo@debian.org, and me; so we can take a look
at it.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to (`inline'). Thank you.


Reply to: