On Mon, 2002-01-28 at 03:10, tluxt wrote: > --- Ron Johnson <[EMAIL PROTECTED]> wrote: > > On Sun, 2002-01-27 at 22:58, tluxt wrote: [snip] > > I created 2 sources.list files: > > # dir source* > > lrwxrwxrwx root root 18 Jan 27 18:33 sources.list -> sources.list.woody > > -rw-r--r-- root root 516 Jan 27 16:05 sources.list.sid > > -rw-r--r-- root root 588 Jan 26 19:46 sources.list.woody > > > > Of course, each sources.list.* refers to the relevant distribution > > directories. So, when I want to grab something from sid, I soft > > link sources.list -> sources.list.sid, do "apt-get update", and > > grab what I want. Then, soft link back to sources.list.woody and > > "apt-get update". > > > > If you are only grabbing the same few pkgs out of sid, you could > > easily script it. > > Thanks for the info! > > I am concerned, though, that this method might somehow confuse > apt: It wouldn't know, after you switched the sources.list, that it used > to be pointing to the other distribution. Then, if there are package > depends, it might start pulling in packages that conflict with other > packages. > > Do you know for sure that your method wouldn't cause apt to get confused? > If so, how do you know? If not, how can we find out the answer to that > question? :)
The final "apt-get update" ensures it. -- +------------------------------------------------------------+ | Ron Johnson, Jr. Home: [EMAIL PROTECTED] | | Jefferson, LA USA http://ronandheather.dhs.org:81 | | | ! Great Inventors of our time: | ! Al Gore -> Internet | ! Sun Microsystems -> Clusters | +------------------------------------------------------------+