strange error while I add/remove applications!

andy baxter andy at earthsong.free-online.co.uk
Fri Jan 18 20:13:42 UTC 2008


AlgoMantra wrote:
> (this mail may come twice)
>
> Okhai, I made some progress here.
>
> I got the proper files for libtheora0 and libtracker-gtk0, but
> there seem to be a bunch of files corrupted here. I'm linking a
> screenshot of the folder /var/lib/dpkg/info with all the
> strange files in brown instead of text icons. What's going on here?
>
> http://sand.a3ai.com/images/dpkginfo.png
>
> Do I have to replace all those 10-12 files with their proper contents?
> That's insane! There must be a simpler way.
Have you tried 'apt-get -f install' yet? The -f tells apt-get to try to 
resolve any broken dependencies in your system. It may not help but is 
worth trying. If it looks like it's going to deinstall half your system 
(it will ask you to approve a list of packages to remove usually), then 
stop and ask here again.

from 'man apt-get':

-f, --fix-broken
Fix; attempt to correct a system with broken dependencies in place.
This option, when used with install/remove, can omit any packages to
permit APT to deduce a likely solution. Any Package that are
specified must completely correct the problem. The option is
sometimes necessary when running APT for the first time; APT itself
does not allow broken package dependencies to exist on a system. It
is possible that a system’s dependency structure can be so corrupt
as to require manual intervention (which usually means using
dselect(8) or dpkg --remove to eliminate some of the offending
packages). Use of this option together with -m may produce an error
in some situations. Configuration Item: APT::Get::Fix-Broken.





More information about the ubuntu-users mailing list