[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#48857: apt: apt-get source doesn't verify /usr/bin/patch available



Package: apt
Version: 0.3.13
Severity: normal

when using "apt-get source packagename" there is no verification that "/usr/bin/patch" is available. If it isn't the apt-get fails to finish unloading the tarballs. Installing patch fixes the problem. apt appears to be missing a dependency.

dpkg-source: extracting glibc in glibc-2.1.2
dpkg-source: failure: exec patch: No such file or directory
dpkg-source: failure: patch gave error exit status 2
Unpack command 'dpkg-source -x glibc_2.1.2-8.dsc' failed.
E: Child process failed
debppc:/usr/src/packages/glibc# type patch
su: type: patch: not found

The above is w/o patch installed. Below is what what happens when it's installed.

dpkg-source: extracting glibc in glibc-2.1.2


-- System Information
Debian Release: potato
Kernel Version: Linux debppc 2.2.9 #2 Tue Aug 17 07:58:21 MST 1999 ppc unknown

Versions of the packages apt depends on:
ii  libc6           2.1.2-5        GNU C Library: Shared libraries and timezone
ii  libstdc++2.10   2.95.1-2       The GNU stdc++ library


Reply to: