LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 11-09-2010, 08:48 AM   #1
sylvain.mazet
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 http://downloads.forked.de/graph-tool/debian/ 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, 04:37 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
You may be able to use the dpkg utility with one or more of the --force options.
Quote:
$ 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, 07:55 AM   #3
sylvain.mazet
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!
Sylvain.
 
  


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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration