Click to See Complete Forum and Search --> : Strike, I still need help with this Debian Apt::Force-LoopBreak option thing.


BK1
07-18-2001, 02:14 PM
I installed Debian 2.1 from CD, then apt-get update, apt-get install apt, apt-get dist-upgrade (only stable source.list). Downloaded 204MB. Now says I may have to use the APT::Force-LoopBreak Option. Could someone please tell me how to do this? I have the O'Reilly Learning Debian book, but can't find it in there anywhere. Any help would be greatly appreciated.
Thanks,.
--------------------

Almost everything I know about rebooting I learned from Micro$uck$


--------------------------------------------------------------------------------
Posts: 29 | From: Clinton, N.C. | Registered: Jul 2000 | IP: Logged

moyix's ghost
Grasshopper
Member # 18567
Member Rated:

posted 18 July 2001 11:43 AM
--------------------------------------------------------------------------------
You can pass configuration options like that to apt by using the -o switch:

apt-get -o=APT::Force-LoopBreak install foo

A word of warning from the apt.conf manpage though:

quote:
--------------------------------------------------------------------------------
Never Enable this option unless you -really- know
what you are doing. It permits APT to temporarily
remove an essential package to break a Con*
flicts/Conflicts or Conflicts/Pre-Depend loop
between two essential packages. SUCH A LOOP SHOULD
NEVER EXIST AND IS A GRAVE BUG. This option will
work if the essential packages are not tar, gzip,
libc, dpkg, bash or anything that those packages
depend on.
--------------------------------------------------------------------------------

--------------------

Need help with things like transparent terms? Check out my Eterm tweak guide.


--------------------------------------------------------------------------------
Posts: 102 | From: St Louis, MO | Registered: Jun 2001 | IP: Logged

My question is, at the prompt, do I type apt-get -o=APT::Force-LoopBreak install foo
to fix this. I thought foo was a variable. Does this mean I need to enter apt-get -o=APT::Force-LoopBreak install libpam0g ??

Sorry to re-post, I just want to understand what I need to do.
Thanks.

Gimpy
07-18-2001, 04:04 PM
I went to the www.debian.org (http://www.debian.org) website and found that if you apt-get dist-upgrade from 2.1 to 2.2 you may have to run apt-get -o APT::Force-LoopBreak=1

Does it =1 because I have a problem with only one file? Would it be =2 if I had a problem with 2 files?
Just trying to learn. :D

Skroob
07-18-2001, 04:45 PM
I would guess =1 is for TRUE as opposed to =0 for FALSE. I have never used it or looked at the relevant documentation or code though.