Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Error when brew updating, unable to unlink old README.md? #2906

Closed
@chrispoole643

Description

@chrispoole643

I ran brew update, and got this error message:

remote: Counting objects: 292, done.
remote: Compressing objects: 100% (233/233), done.
remote: Total 239 (delta 165), reused 0 (delta 0)
Receiving objects: 100% (239/239), 31.34 KiB, done.
Resolving deltas: 100% (165/165), completed with 45 local objects.
From http://github.com/mxcl/homebrew
 * branch            master     -> FETCH_HEAD
error: unable to unlink old 'README.md' (Permission denied)
Updating 959edff..6cf7c80
Error: Failed while executing git pull http://github.com/mxcl/homebrew.git master

Trying the command again, I get:

From http://github.com/mxcl/homebrew
 * branch            master     -> FETCH_HEAD
error: Your local changes to the following files would be overwritten by merge:
        share/man/man1/brew.1
        Library/Homebrew/formula_installer.rb
        Library/Formula/xpdf.rb
        Library/Formula/wine.rb
        Library/Formula/webalizer.rb
        Library/Formula/tofrodos.rb
        Library/Formula/ssldump.rb
        Library/Formula/squirrel.rb
        Library/Formula/sphinx.rb
        Library/Formula/sleepnow.rb
        Library/Formula/skipfish.rb
        Library/Formula/schroedinger.rb
        Library/Formula/rebar.rb
        Library/Formula/rabbitmq.rb
        Library/Formula/qdbm.rb
        Library/Formula/pure.rb
        Library/Formula/pkg-config.rb
        Library/Formula/parallel.rb
        Library/Formula/openvpn.rb
        Library/Formula/mcl.rb
        Library/Formula/lilypond.rb
        Library/Formula/libvirt.rb
        Library/Formula/libsamplerate.rb
        Library/Formula/libao.rb
        Library/Formula/ledit.rb
        Library/Formula/jack.rb
        Library/Formula/gst-plugins-good.rb
        Library/Formula/geeqie.rb
        Library/Formula/freealut.rb
        Library/Formula/fontforge.rb
        Library/Formula/ddclient.rb
        Library/Formula/ddate.rb
        Library/Formula/d-bus.rb
        Library/Formula/cscope.rb
        Library/Formula/cppdom.rb
        Library/Formula/celt.rb
        Library/Formula/cd-discid.rb
        Library/Formula/cairomm.rb
        Library/Formula/bsdiff.rb
        Library/Contributions/manpages/brew.1.md
        Library/Contributions/examples/brew-audit.rb
Please, commit your changes or stash them before you can merge.
error: The following untracked working tree files would be overwritten by merge:
        Library/Formula/zookeeper.rb
        Library/Formula/zdelta.rb
        Library/Formula/vip.rb
        Library/Formula/vcodex.rb
        Library/Formula/sshfs-fuse.rb
        Library/Formula/nickle.rb
        Library/Formula/isc-dhcp.rb
        Library/Formula/gst-plugins-ugly.rb
        Library/Formula/gst-plugins-bad.rb
        Library/Formula/go-gui.rb
        Library/Formula/fluxus.rb
        Library/Formula/exodriver.rb
        Library/Formula/djvulibre.rb
        Library/Formula/cdrdao.rb
        Library/Formula/c10t.rb
        Library/Formula/blahtexml.rb
        Library/Formula/bigloo.rb
        Library/Formula/aws-iam-tools.rb
        Library/Formula/aget.rb
        Library/Aliases/sshfs
        Library/Aliases/liblabjackusb
Please move or remove them before you can merge.
Updating 959edff..6cf7c80
Aborting
Error: Failed while executing git pull http://github.com/mxcl/homebrew.git master

I'm not sure what to do, to get back to simply pulling from mxcl/homebrew.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions