I shouldn’t have had to fix it this way but it’s the only thing that worked…
Category Archives: OS X
Need to get a bootable drive to install OS X (multiple versions suffer) and immediately met the following error?:
This copy of <Some OS X version> application can’t be verified. It may have been corrupted or tampered with during downloading.”
Before you go re-imaging the drive, re-downloading the image, replacing your RAM back to OEM, or whatever else you find suggested online…. launch the terminal from the Utilities menu and set the date. Now try installing again.
The installer uses the date to try and verify the copy of OS X you’re about to install (seems dicey). If the date isn’t set, and you don’t configure the installer to use your wifi (so that the installer can make a call to a time server), the verification likely shits the bed.
The syntax for changing the date is:
July 14th 12:52AM 2015
mm dd HH MM yyyy
1) Download & install FUSE for OSX.
2) Create an empty local folder to act as a mount point.
3) Mount the filesystem over SSH.
sshfs <username>@<IP or URL>:<remote path> <path to local mount point>
sshfs firstname.lastname@example.org:/var/www/bagend ~/Desktop/mnt
I’m not a huge fan of using Vim or Nano/Pico for lengthy editing sessions on remote servers. This allows me to use Sublime Text (or whatever your editor of choice). I’ve not encountered any latency issues and it’s much smoother than forwarding X (which I never have installed on a webserver anyway).
Installing tmux on OSX:
brew install tmux
You might get an error to the effect of dyld: Library not loaded when you try to run tmux. Try installing libevent
brew install libevent
If you get a link warning: libevent-2.0.21 already installed, it’s just not linked:
sudo brew link libevent
Apple has again changed how its command line tools are packaged. Whereas it was once bundled into Xcode and then later you had to instead manually download it from within Xcode, it is now separated from Xcode altogether.
In some earlier versions of Xcode 5 you could run a command in the terminal and still get the download option to show up in Xcode but that no longer seems to be an option. At least as far as Xcode 5.1.
Now you need to download the command line tools from Apple’s developer site.
Running afoul of the following error when trying to install rubies with RVM despite having installed Xcode?
Can not find compiler and ‘make’ tool – make sure Xcode and/or Command Line Tools are installed.
With newer versions of Xcode the command line tools RVM expects are not automatically installed alongside Xcode.
Open Xcode and navigate to: Xcode > Preferences > Downloads and click Install for Command Line Tools.
So, say you need Xcode installed (or updated) because you need GCC and/or other development support tools on your OS X 10.7 machine. So, you launch App Store expecting to install (or update) Xcode easily enough but are met with one of two messages telling you that you’re SOL.
At this point it seems like you’re forced into paying to upgrade OS X but there’s an alternative. Albeit, not an obvious one. You can download older version of Xcode if you have or create an Apple developer account. The direct link to the Xcode downloads page is: https://developer.apple.com/downloads/index.action?q=xcode
Note: If you’re running OS X 10.7 you’ll need (as of this writing) to install Xcode 4.6.3 as Xcode 5 requires OS X 10.8.
It just works, right?
I’ve found I occasionally run into an odd Vagrant error every now and then:
There was an error while executing `VBoxManage`, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below.
Command: [“hostonlyif”, “create”]
For me, this sometimes happens when I try to re-instantiate a virtual machine after my laptop’s battery has died and OSX has attempted to restore state. Other people seem to encounter this error under different conditions; even immediately after installing Vagrant and attempting to spin up a virtual machine for the first time.
Run the following command to bounce VirtualBox:
sudo /Library/StartupItems/VirtualBox/VirtualBox restart
and now running:
should go off without a hitch.
I’ve needed this twice now and the process is different from normally dealing with ISOs in OS X.
Check the discussion: How to make Ubuntu ISO bootable on a USB stick with OSX? on askubuntu.com
I’ve been pretty impressed with the Diamond BVU195 display adapter. I’ve found USB to display adapters almost universally suck. The BVU195 seems to be one of the exceptions to the rule though. It’s definitely no replacement for a video card with multiple display ports but I work on a Macbook Pro so I’m constrained.
The adapter ships with installation media but it’s only for Windows. The manufacturer’s product page has a drivers section and even mentions Mac OS X but the download doesn’t seem to contain any actual OS X software.
Thankfully the chipset manufacturer for the product does have an OS X driver available. The driver is currently listed as a beta but I’ve been using it with OS X 10.7 Lion without issue for several months now. You can find the DisplayLink drivers here: http://www.displaylink.com/support/mac_downloads.php