problems with apt-get -f install
Greetings and thank you for spending your time to look at this
ok as you know that some times after apt-get install (name of file wanted), it tells you this
You might want to run 'apt-get -f install' to correct these:
ok so when I do that I get this now
#apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
wxwin2.4-headers
The following NEW packages will be installed:
wxwin2.4-headers
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
1 not fully installed or removed.
Need to get 0B/566kB of archives.
After unpacking 3363kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 94461 files and directories currently installed.)
Unpacking wxwin2.4-headers (from .../wxwin2.4-headers_2.4.2.6_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/wxwin2.4-headers_2.4.2.6_i386.deb (--unpack):
trying to overwrite `/usr/share/aclocal/wxwin.m4', which is also in package wx2.5-common
Errors were encountered while processing:
/var/cache/apt/archives/wxwin2.4-headers_2.4.2.6_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
ok I tried to rm the file wxwin2.4-headers_2.4.2.6_i386.deb from /var/cache/apt/archives# but when I did the apt-get -f install again it dl it and tired to install it again.
how do I tell apt-get that I do not want to dl this file any more so I can go ahead and use the apt-get -f install? Or is there something else that I should do?
Thank you for your time
|