Synaptic shows a package locked but dpkg shows it without letter 'h'

Tom H tomh0665 at gmail.com
Sat May 1 05:43:55 UTC 2010


On Fri, Apr 30, 2010 at 7:40 AM, Detlef Lechner <Detlef.Lechner at gmx.net> wrote:
>
> '~$ dpkg -l \* | grep kexi;
> ii  kexi 1:1.6.3-7ubuntu10 integrated database environment for the KDE'
>
> Synaptic shows the package in the column 'S' with a padlock symbol; menu
> Package > 'Lock version'=asserted.
>
> Should the first command not show as the first letter an h?
> '~$ sudo apt-get dist-upgrade' did not care and deleted this package.
> Why?

Because synaptic writes these locks to
/var/lib/synaptic/preferences
and this file is not consulted by apt, aptitude, dpkg.




More information about the ubuntu-users mailing list