Re: Readline clashes with stow. How should I resolve them?
James Jong <[email protected]> Wed, 24 Apr 2013 09:50:05 -0400
| Newsgroups | gmane.comp.gnu.stow.general |
|---|---|
| Message-ID | <CAD4ivxUiT-z3F3T3aQRAWS+fFD7Q+dyHQPkf2KkGFzGudBH3dg@mail.gmail.com> |
--001a11c37f3c86eb2904db1b9545 Content-Type: text/plain; charset=ISO-8859-1 Thank you Adam. I presume that there is no way to simply ask stow to overwrite the symlinks when there is a conflict (this way I would not need to touch anything in the original package directories in the stow directory). Is this correct? Sorry about the double posting - I usually post in StackExchange first and later in an email list with a link to the question if I conclude the mail list is a better place, but this time I went the other way around. My apologies. Thanks again, James On Wed, Apr 24, 2013 at 3:57 AM, Adam Spiers <[email protected]> wrote: > On Mon, Apr 22, 2013 at 08:21:04PM -0400, James Jong wrote: > > I tried to stow readline-6.2 and got the following WARNING: > > > > ============================== > > > stow readline-6.2 > > Loading defaults from /home/josh/.stowrc > > WARNING! stowing readline-6.2 would cause conflicts: > > * existing target is stowed to a different package: share/info/dir => > > ../../../stow_storage/stow_2.2.0_canonical_paths/share/info/dir > > All operations aborted. > > ============================== > > > > Here is is what that existing target contains: > > ============================== > > > cat ~/local/share/info/dir > > This is the file .../info/dir, which contains the > > topmost node of the Info hierarchy, called (dir)Top. > > The first time you invoke Info you start off looking at this node. > > > > File: dir, Node: Top This is the top of the INFO tree > > > > This (the Directory node) gives a menu of major topics. > > Typing "q" exits, "?" lists all Info commands, "d" returns here, > > "h" gives a primer for first-timers, > > "mEmacs<Return>" visits the Emacs manual, etc. > > > > In Emacs, you can click mouse button 2 on a menu item or cross > reference > > to select it. > > > > * Menu: > > > > System administration > > * Stow: (stow). GNU Stow. > > ============================== > > > > How can I resolve this? > > I see that this has already been answered here: > > > http://unix.stackexchange.com/questions/73426/dealing-with-gnu-stow-conflicts > > The respondent is correct that you can simply delete the 'dir' file > from within the Stow package prior to stowing. Alternatively you can > skip the install-info target of the package's Makefile if the package > allows it. The Info 'dir' file is (by design) conceptually owned by > all packages which contribute to its contents, and Stow does not yet > support hooks which could allow automated manipulation of its contents > in this fashion. However this issue also affects me, so I have added > it to the TODO, and there is a reasonable chance I will implement it > at some point (although pull requests are highly encouraged if you > want it sooner). > > Finally, if you are going to duplicate-post the same question in > multiple locations (e.g. on one of the Stow lists and on > StackExchange), then please explicitly cross-link from each > post/thread to the other. Otherwise you risk wasting someone's time > when they reply to a question which has already been answered > elsewhere. > > Regards, > Adam > > --001a11c37f3c86eb2904db1b9545 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><div>Thank you Adam. I presume that there is no way t= o simply ask stow to overwrite the=20 symlinks when there is a conflict (this way I would not need to touch anyth= ing in the original=20 package directories in the stow directory). Is this correct?<br><br>Sorry a= bout the double posting - I usually post in StackExchange first and later i= n an email list with a link to the question if I conclude the mail list is = a better place, but this time I went the other way around. My apologies.<br= > <br></div>Thanks again,<br></div><div>James<br></div><div><br></div><div><d= iv><br><br></div></div></div><div class=3D"gmail_extra"><br><br><div class= =3D"gmail_quote">On Wed, Apr 24, 2013 at 3:57 AM, Adam Spiers <span dir=3D"= ltr"><<a href=3D"mailto:[email protected]" target=3D"_blank">stow@adam= spiers.org</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"><div class=3D"HOEnZb"><div class=3D"h5">On M= on, Apr 22, 2013 at 08:21:04PM -0400, James Jong wrote:<br> > I tried to stow readline-6.2 and got the following WARNING:<br> ><br> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D<br> > > stow readline-6.2<br> > Loading defaults from /home/josh/.stowrc<br> > WARNING! stowing readline-6.2 would cause conflicts:<br> > =A0 * existing target is stowed to a different package: share/info/dir= =3D><br> > ../../../stow_storage/stow_2.2.0_canonical_paths/share/info/dir<br> > All operations aborted.<br> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D<br> ><br> > Here is is what that existing target contains:<br> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D<br> > > cat ~/local/share/info/dir<br> > This is the file .../info/dir, which contains the<br> > topmost node of the Info hierarchy, called (dir)Top.<br> > The first time you invoke Info you start off looking at this node.<br> ><br> > File: dir, =A0 =A0 =A0Node: Top =A0 =A0 =A0 This is the top of the INF= O tree<br> ><br> > =A0 This (the Directory node) gives a menu of major topics.<br> > =A0 Typing "q" exits, "?" lists all Info commands,= "d" returns here,<br> > =A0 "h" gives a primer for first-timers,<br> > =A0 "mEmacs<Return>" visits the Emacs manual, etc.<br> ><br> > =A0 In Emacs, you can click mouse button 2 on a menu item or cross ref= erence<br> > =A0 to select it.<br> ><br> > * Menu:<br> ><br> > System administration<br> > * Stow: (stow). =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 GNU Stow.<br> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D<br> ><br> > How can I resolve this?<br> <br> </div></div>I see that this has already been answered here:<br> <br> =A0 <a href=3D"http://unix.stackexchange.com/questions/73426/dealing-with-g= nu-stow-conflicts" target=3D"_blank">http://unix.stackexchange.com/question= s/73426/dealing-with-gnu-stow-conflicts</a><br> <br> The respondent is correct that you can simply delete the 'dir' file= <br> from within the Stow package prior to stowing. =A0Alternatively you can<br> skip the install-info target of the package's Makefile if the package<b= r> allows it. =A0The Info 'dir' file is (by design) conceptually owned= by<br> all packages which contribute to its contents, and Stow does not yet<br> support hooks which could allow automated manipulation of its contents<br> in this fashion. =A0However this issue also affects me, so I have added<br> it to the TODO, and there is a reasonable chance I will implement it<br> at some point (although pull requests are highly encouraged if you<br> want it sooner).<br> <br> Finally, if you are going to duplicate-post the same question in<br> multiple locations (e.g. on one of the Stow lists and on<br> StackExchange), then please explicitly cross-link from each<br> post/thread to the other. =A0Otherwise you risk wasting someone's time<= br> when they reply to a question which has already been answered<br> elsewhere.<br> <br> Regards,<br> Adam<br> <br> </blockquote></div><br></div> --001a11c37f3c86eb2904db1b9545--