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

Bug#756614: apt: missing method driver prevents package authentication



Package: apt
Version: 1.0.6

This is what happens when you have a repository that makes HTTP->HTTPS redirection in your sources.lists, and you didn't have apt-transport-https installed:

# apt-get update
E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?


It didn't tell me which repository causes the problem, but oh well... Let's try
to install apt-transport-https:

# apt-get install apt-transport-https
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  apt-transport-https (1.0.6)
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/132 kB of archives.
After this operation, 221 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
 apt-transport-https
Install these packages without verification? [y/N]
E: Some packages could not be authenticated


This is rather user-unfriendly. Why does a problem with one repository cause authentication warnings for an unrelated repository?


-- /etc/apt/sources.list --

deb http://ftp.debian.org/debian/ unstable main contrib non-free
deb http://people.debian.org/~seanius/php/etch/ ./

-- System Information:
Debian Release: jessie/sid
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-2-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt depends on:
ii  debian-archive-keyring  2012.4
ii  gnupg                   1.4.18-2
ii  libapt-pkg4.12          1.0.6
ii  libc6                   2.19-7
ii  libgcc1                 1:4.9.1-3
ii  libstdc++6              4.9.1-3

--
Jakub Wilk


Reply to: