Re: Help - Apparent conflict between libmagic1 and file packages during upgrade to squeeze
On Sun, Feb 06, 2011 at 03:11:00AM -0600, Boyd Stephen Smith Jr. wrote:
[..]
> >dpkg: error processing /var/cache/apt/archives/libmagic1_5.04-5_i386.deb
> >(--unpack): trying to overwrite '/etc/magic.mime', which is also in package
> >file 5.04-5
>
> This shouldn't happen. I have file_5.04-5 installed and it does not contain
> /etc/magic.mime. Sounds like it may be an architecture-specific oversight.
Still on Lenny amd64:
root@fischer:~# dpkg -S /etc/magic.mime
file: /etc/magic.mime
root@fischer:~# apt-cache policy file
file:
Installed: 4.26-1
Candidate: 4.26-1
Yet:
http://packages.debian.org/search?suite=default§ion=all&arch=any&searchon=contents&keywords=magic.mime
[..]
/etc/magic.mime libmagic1
So I'd just delete "/etc/magic.mime" and try again, although it does
seem strange how this occurred.
> You might try downloading the libmagic1_5.04-5 .deb file and installing it
> directly with dpkg. There should be a specific --force-option to ignore file
> conflicts.
Good advice.
--
"Religion is excellent stuff for keeping common people quiet."
-- Napoleon Bonaparte
Reply to: