[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Debain Etch Stable
Richard Ibbotson wrote:
> Hi
>
> Does anyone know what this is about or how to fix it ? A Google
> search doesn't seem to find the answer...
>
> After using the Synaptic software management software to fix any
> problems and to provide updates from Debian backports I now find that
> I can't either run apt-get update or upgrade. Neither can I install
> anything. I've tried 'apt-get upgrade -f' to get around this but
> that doesn't work either. Reading through the apt-get howto wasn't
> helpful.....
>
> # apt-get upgrade
> Reading package lists... Done
> Building dependency tree... Done
> E: The package linux-image-2.6.22-3-k7 needs to be reinstalled, but I
> can't find an archive for it.
>
>
> # apt-get -t etch-backports upgrade
> Reading package lists... Done
> Building dependency tree... Done
> The following packages will be upgraded:
> linux-image-2.6.22-3-686 linux-image-2.6.22-3-k7
> 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> 4 not fully installed or removed.
> Need to get 36.7MB of archives.
> After unpacking 111MB of additional disk space will be used.
> Do you want to continue [Y/n]? y
> Get: 1 http://www.backports.org etch-backports/main
> linux-image-2.6.22-3-686 2.6.22-5~bpo.1 [18.3MB]
> Get: 2 http://www.backports.org etch-backports/main
> linux-image-2.6.22-3-k7 2.6.22-5~bpo.1 [18.4MB]
> Fetched 36.7MB in 5m4s (120kB/s)
> debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by
> another process
> (Reading database ...
> dpkg: serious warning: files list file for package
> `linux-image-2.6.22-3-k7' missing, assuming package has no files
> currently installed.
>
I'd think a lock file has been left in place. You need to check where
the lock file might be.
Firstly try running synaptic again and then exiting it straight away.
This might clear the log file but it may also give errors.
If synaptic gives errors about lock files then you need to check the
/var/run dir for pids associated with previous instances and then try
and find the associated processes and kill them.
Then run apt-get update again.
I only ever use apt-get and it seems to work fine.
Hope this helps.
L.
_______________________________________________
Sheffield Linux User's Group
http://www.sheflug.org.uk/mailfaq.html
GNU - The choice of a complete generation