You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've done an OS upgrade (to High Sierra, yikes!) and since I had a package fail on me (ffmpeg) and reinstallation didn't fix it, I thought it a good time to clear the decks and reinstall all my packages, but I can't find a command to do that e.g. pkgin reset or the like.
Is there such a command or would blitzing the /opt/pkg directory and reinstalling pkgsrc be the best way forward?
Running rm -rf /opt/pkg /var/db/pkgin should give you a clean slate ready for a fresh install. Depending on what packages you installed there may be some additional leftovers under /var but that shouldn't matter too much.
It would be interesting to know what the errors were, in case it's something we can fix.
Thanks very much for that, the removal and reinstall means ffmpeg is now working. The problem with ffmpeg was similar to the ones people are having in this SO question "image not found" error, but they're having the same problem while using Homebrew to install it so at least it's (probably:) not a pkgsrc problem. I'm guessing a linked library changed during the upgrade or something like that but I've no real idea. Let me know if there's something I should check for.
Note!
A note for anyone else reading this advice is to remember to make sure your shell is not set to the one you installed with pkgsrc when you run the rm command! (o_O) That took a little sorting out…
Activity
jperkin commentedon Dec 8, 2017
Running
rm -rf /opt/pkg /var/db/pkginshould give you a clean slate ready for a fresh install. Depending on what packages you installed there may be some additional leftovers under/varbut that shouldn't matter too much.It would be interesting to know what the errors were, in case it's something we can fix.
yb66 commentedon Dec 10, 2017
Thanks very much for that, the removal and reinstall means ffmpeg is now working. The problem with ffmpeg was similar to the ones people are having in this SO question "image not found" error, but they're having the same problem while using Homebrew to install it so at least it's (probably:) not a pkgsrc problem. I'm guessing a linked library changed during the upgrade or something like that but I've no real idea. Let me know if there's something I should check for.
Note!
A note for anyone else reading this advice is to remember to make sure your shell is not set to the one you installed with pkgsrc when you run the
rmcommand! (o_O) That took a little sorting out…py-pyperclip: Update x11/py-pyperclip to 1.6.0
www/ruby-jekyll-watch: update to 2.0.0
Update to 0.13.4
Update to 1.0.4
Updated devel/visualvm to 1.4.1
Update to 1.1.0
dconf: update to 0.32.0.
libupnp: Update to 1.8.4.
Update to 8.04. From the changelog:
dconf: update to 0.34.0.
dconf: update to 0.34.0.
140 remaining items
p5-YAML-Syck: update to 1.45.
p5-XML-Parser: update to 2.48.
textproc/ruby-simple-rss: update to 2.2.0
p5-Crypt-RIPEMD160: update to 0.14.
textproc/treemd: update to 0.5.11
p5-YAML-Syck: update to 1.45.
textproc/treemd: update to 0.5.12
jsongrep: update to 0.10.0.
Update to 0.08
Update to 1.31
Update to 1.19
Update to 0.08
Update to 1.31
Update to 1.19
bgpipe: Update to version 0.25.0