3

I'm trying to stow a package to the "root" /

# cd ~/.dotfiles
# sudo stow -t / kraken
WARNING! stowing kraken would cause conflicts:
  * existing target is not owned by stow: lib
All operations aborted.

My package looks like this:

kraken
├── home
│   └── user
│       └── scripts
├── lib
│   └── systemd
│       └── system
│           └── some.service

Can stow help me out with this or am I not using it as is supposed?

Thanks!

ctrl-alt-delor
  • 27,473
  • 9
  • 58
  • 102
Gabriel
  • 533
  • 1
  • 6
  • 15
  • I can't immediately think why this wouldn't work. Try re-running with `-v3` or `-v4` to see if that sheds any light. – Adam Spiers Jan 31 '21 at 16:03
  • 1
    Hah! with -v4 I found that /lib was actually a symlink to /usr/lib! Took that into consideration and everything went smooth. Please add this as an asnwer. Thanks! – Gabriel Jan 31 '21 at 16:49

1 Answers1

2

As mentioned in the comments, running with -v4 revealed that /lib was actually a symlink to /usr/lib. This is similar but probably not identical to https://github.com/aspiers/stow/issues/11.

Adam Spiers
  • 892
  • 7
  • 14