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

Bug#752327: apt: Passes full path to .deb to mkstemp



Package: apt
Version: 1.1~exp1
Severity: normal

Dear APT Maintainers,

first let me say Yay for "apt install file.deb". We can finally get rid
of gdebi! ;-)

Playing around with this new feature, I ran into the following issue:

# apt install /var/cache/apt/archives/bc_1.06.95-9_amd64.deb
Reading package lists... Error!
E: Unable to mkstemp /tmp/deb-file-/var/cache/apt/archives/bc_1.06.95-9_amd64.deb.dqKFUj - GetTempFile (2: No such file or directory)
E: The package lists or status file could not be parsed or opened.

I think, only the file name but not the full path should be passed to
mkstemp.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (110, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.15-rc8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt depends on:
ii  debian-archive-keyring  2012.4
ii  gnupg                   1.4.16-1.1
ii  libapt-pkg4.13          1.1~exp1
ii  libc6                   2.19-3
ii  libgcc1                 1:4.9.0-7
ii  libstdc++6              4.9.0-7

apt recommends no packages.

Versions of packages apt suggests:
ii  apt-doc     1.0.5
ii  aptitude    0.6.11-1
ii  dpkg-dev    1.17.10
ii  python-apt  0.9.3.7
ii  synaptic    0.81.2
ii  wajig       2.14

-- no debconf information


Reply to: