LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-03-2005, 11:45 PM   #1
phoenix_wolf
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 177

Rep: Reputation: 30
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
 
Old 01-03-2005, 11:54 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
Here's my notes on that....
Repair apt-get dependency error: #example libutahglx1
dpkg --force-overwrite -i /var/cache/apt/archives/libutahglx1
dpkg --configure -a
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE Install problems with Synaptic/Apt-Get hauger Debian 4 08-05-2005 12:18 PM
Problems with apt-get install libcupsys2-dev davholla Debian 4 03-24-2005 03:55 PM
Problems with apt-get install TransAmJugo Linux - Software 2 08-04-2003 02:46 PM
Problems with apt-get install TransAmJugo Linux - Newbie 3 08-04-2003 02:35 PM
Problems with apt-get install TransAmJugo Linux - General 1 08-04-2003 01:41 PM


All times are GMT -5. The time now is 02:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration