Package: git-core Version: 1:1.5.2~rc3-1 Severity: normal installation (not upgrade) has the same issue and I am not sure why the heck it is happening -- /usr/bin/git (to which link is tried to be created) is within the package, but not installed for some reason, so all links to it break.
if I touch (create an empty /usr/bin/git) before installation of the package -- everything installs fine but /usr/bin/git remains empty... weirdo... as a workaround I just exctracted files from the .deb and copied git manually under /usr/bin/git, and then ran dpkg -i once again... $> sudo apt-get -f install Reading package lists... Done Building dependency tree... Done Correcting dependencies...Done The following extra packages will be installed: git-core Suggested packages: git-arch git-email git-daemon-run cogito The following packages will be upgraded: git-core 1 upgraded, 0 newly installed, 0 to remove and 906 not upgraded. 4 not fully installed or removed. Need to get 0B/3561kB of archives. After unpacking 205kB disk space will be freed. Do you want to continue [Y/n]? Y Reading package fields... Done Reading package status... Done Retrieving bug reports... Done Parsing Found/Fixed information... Done (Reading database ... 437265 files and directories currently installed.) Preparing to replace git-core 1:1.5.2~rc3-1 (using .../git-core_1%3a1.5.2.1-1_i386.deb) ... Unpacking replacement git-core ... dpkg: error processing /var/cache/apt/archives/git-core_1%3a1.5.2.1-1_i386.deb (--unpack): error creating hard link `./usr/bin/git-format-patch': No such file or directory dpkg-deb: subprocess paste killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/git-core_1%3a1.5.2.1-1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (600, 'unstable'), (50, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.20-1-686 (SMP w/1 CPU core) Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages git-core depends on: ii libc6 2.5-7 GNU C Library: Shared libraries ii libcurl4-gnutls 7.16.2-4 Multi-protocol file transfer libra ii libdigest-sha1-perl 2.11-2 NIST SHA-1 message digest algorith ii liberror-perl 0.15-8 Perl module for error/exception ha ii libexpat1 1.95.8-3.4 XML parsing C library - runtime li ii perl-modules 5.8.8-7 Core Perl modules ii zlib1g 1:1.2.3-14 compression library - runtime Versions of packages git-core recommends: ii curl 7.16.2-3 Get a file from an HTTP, HTTPS or ii git-doc 1:1.5.1.4-2 fast, scalable, distributed revisi ii less 394-4 Pager program similar to more ii openssh-client [ssh-client] 1:4.3p2-10 Secure shell client, an rlogin/rsh ii patch 2.5.9-4 Apply a diff file to an original ii rsync 2.6.9-3 fast remote file copy program (lik -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

