Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-09-2010, 09:48 AM   #1
LQ Newbie
Registered: Aug 2006
Posts: 6

Rep: Reputation: 0
Howto force synaptic/update manager/aptitude to accept a broken package?

Hi all,

I think I had found an answer to this, but I cannot get my hand
on it, so here it is:

I forced the install of graph-tool package
(from i386/).
Now it is of course tagged as broken, so update manager wont do anything.
But I want to accept it, I know it is not really broken.

(In fact, graph-tool_xxx.deb asks for libcgal4.
squeeze only has libcgal5, so I am betting this is not an issue,
as far as graph-tool is concerned.)

Thanks every one.
Old 11-09-2010, 05:37 PM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
You may be able to use the dpkg utility with one or more of the --force options.
$ dpkg --force-help
dpkg forcing options - control behaviour when problems found:
warn but continue: --force-<thing>,<thing>,...
stop with error: --refuse-<thing>,<thing>,... | --no-force-<thing>,...
Forcing things:
all [!] Set all force options
downgrade[*] Replace a package with a lower version
configure-any Configure any package which may help this one
hold Process incidental packages even when on hold
bad-path PATH is missing important programs, problems likely
not-root Try to (de)install things even when not root
overwrite Overwrite a file from one package with another
overwrite-diverted Overwrite a diverted file with an undiverted version
bad-verify Install a package even if it fails authenticity check
depends-version [!] Turn dependency version problems into warnings
depends [!] Turn all dependency problems into warnings
confnew [!] Always use the new config files, don't prompt
confold [!] Always use the old config files, don't prompt
confdef [!] Use the default option for new config files if one
is available, don't prompt. If no default can be found,
you will be prompted unless one of the confold or
confnew options is also given
confmiss [!] Always install missing config files
breaks [!] Install even if it would break another package
conflicts [!] Allow installation of conflicting packages
architecture [!] Process even packages with wrong architecture
overwrite-dir [!] Overwrite one package's directory with another's file
remove-reinstreq [!] Remove packages which require installation
remove-essential [!] Remove an essential package

WARNING - use of options marked [!] can seriously damage your installation.
Forcing options marked[*] are enabled by default.
Old 11-10-2010, 08:55 AM   #3
LQ Newbie
Registered: Aug 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for your answer.
But I guess I was not really being clear:

I did:
1) sudo aptitude install graph-tool
Answer from apt: I cannot install, I need libcgal4
2) aptitude search libcgal
Answer: libcgal5 is installed

Then I did "OK, so I will force you to install":
3) aptitude download graph-tool
4) sudo dpkg --force-depends -i graph-toolxxx.deb
Answer from dpkg: OK, I install graph-tool

Now, all is fine, I can use graph-tool.

But, update manager complains and wont do any updating
any more because it says:
One package is broken.

Question is: How do I tell update manager:
"Of course the package is broken, I know it is, just ignore it."

Thanks a lot for reading!


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
(new install)) How does one install Synaptic package manager... Aptitude cannot find Pooped Debian 9 08-23-2010 01:31 AM
[SOLVED] Difference Between Synaptic Package Manager and Update Manager nasser019 Linux - Software 1 07-20-2010 08:12 AM
Can not run Update Manager; Synaptic broken sixgun Linux - General 3 08-12-2006 02:02 AM
Synaptic Package Manager/Add applications broken LadyArtemis Ubuntu 7 05-07-2006 02:30 AM
synaptic package manager forcing me to delete a broken package mbman Linux - Software 6 04-25-2006 10:30 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:47 AM.

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