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

Bug#181071: apt: -o Dir::Cache::Archives can't specify "partial" differently



Package: apt
Version: 0.5.4
Severity: wishlist
File: /usr/bin/apt-get

The apt.conf man page and
/usr/share/doc/apt/examples/configure-index.gz give no way for the
"partial" directory to be specified as a different place than
Dir::Cache::Archives

#ls /var/tmp/*w3c*
/var/tmp/w3c-markup-validator_0.6.1-1_all.deb
# apt-get -o Dir::Cache::Archives=/var/tmp --print-uris install w3c-markup-validator
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  libcgi-pm-perl libosp3c102 opensp wwwconfig-common 
The following NEW packages will be installed:
  libcgi-pm-perl libosp3c102 opensp w3c-markup-validator wwwconfig-common 
0 packages upgraded, 5 newly installed, 0 to remove and 218  not upgraded.
E: Archive directory /var/tmp/partial is missing.
E: The list of sources could not be read.
make: *** [archi] Error 100

yes, one can mkdir /var/tmp/partial
however, consider other situations, e.g. read-only media.
BTW a partial dir. on readonly media isnt too good also.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux debian 2.4.19-k7 #1 Sun Oct 6 20:29:56 EST 2002 i686
Locale: LANG=zh_TW.Big5, LC_CTYPE=zh_TW.Big5

Versions of packages apt depends on:
ii  libc6                        2.3.1-10    GNU C Library: Shared libraries an
ii  libstdc++2.10-glibc2.2       1:2.95.4-15 The GNU stdc++ library

-- no debconf information




Reply to: