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

Re: apt 0.3.7 breaks dselect?



On Wed, 23 Jun 1999, Brian Greenfield wrote:

> I've just installed apt 0.3.7slink0 from netgod.net and I
> can no longer use the apt method of dselect. Update and
> Select work OK, and Install will fetch the required files
> but won't configure them. The error message given is:
> 
> >/usr/lib/dpkg//methods/apt/install: /usr/bin/dpkg/: Not a directory

i have the same problem, although packages seem to configure fine... The
problem (as has been noted) is the / at the end of "/usr/bin/dpkg/". It
seems to be a typo or thinko in the /usr/lib/dpkg/methods/apt/install
file, you just have to remove the / from the "DPKG Dir::Bin::dpkg/" on
line 10. A patch is attached.
--- /usr/lib/dpkg/methods/apt/install	Thu Jun 24 00:14:09 1999
+++ /usr/lib/dpkg/methods/apt/install	Thu Jun 24 00:14:19 1999
@@ -7,7 +7,7 @@
 DPKG="/usr/bin/dpkg"
 set -e
 RES=`apt-config shell CLEAN DSelect::Clean OPTS DSelect::Options \
-                      DPKG Dir::Bin::dpkg/ APTGET Dir::Bin::apt-get/ \
+                      DPKG Dir::Bin::dpkg APTGET Dir::Bin::apt-get/ \
 		      ARCHIVES Dir::Cache::Archives/`
 eval $RES
 set +e

Reply to: