Ubuntu Pastebin

Paste from juliank at Mon, 13 Feb 2017 23:05:58 +0000

Download as text
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
Delivered-To: julian.klode@gmail.com
Received: by 10.140.20.196 with SMTP id 62csp381712qgj;
        Wed, 18 Jan 2017 04:41:06 -0800 (PST)
X-Received: by 10.107.13.7 with SMTP id 7mr3070970ion.122.1484743266573;
        Wed, 18 Jan 2017 04:41:06 -0800 (PST)
Return-Path: <bounces@canonical.com>
Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7])
        by mx.google.com with ESMTPS id o131si1501604itd.23.2017.01.18.04.41.06
        for <julian.klode@gmail.com>
        (version=TLS1 cipher=AES128-SHA bits=128/128);
        Wed, 18 Jan 2017 04:41:06 -0800 (PST)
Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7;
Authentication-Results: mx.google.com;
       spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mailfrom=bounces@canonical.com;
       dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com
Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1cTpY0-0002QZ-DM for <julian.klode@gmail.com>; Wed, 18 Jan 2017 12:41:04 +0000
Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id DD5A12E80E7 for <julian.klode@gmail.com>; Wed, 18 Jan 2017 12:41:01 +0000 (UTC)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Date: Wed, 18 Jan 2017 12:27:29 -0000
From: Andreas Hasenack <andreas@canonical.com>
To: julian.klode@gmail.com
Reply-To: Bug 1657440 <1657440@bugs.launchpad.net>
Sender: bounces@canonical.com
X-Launchpad-Notification-Type: bug
X-Launchpad-Bug: distribution=ubuntu; sourcepackage=apt; component=main; status=New; importance=Undecided; assignee=None;
X-Launchpad-Bug-Information-Type: Public
X-Launchpad-Bug-Private: no
X-Launchpad-Bug-Security-Vulnerability: no
X-Launchpad-Bug-Commenters: ahasenack
X-Launchpad-Bug-Reporter: Andreas Hasenack (ahasenack)
X-Launchpad-Bug-Modifier: Andreas Hasenack (ahasenack)
Message-Id: <20170118122729.21186.5913.malonedeb@gac.canonical.com>
Subject: [Bug 1657440] [NEW] apt won't redownload Release.gpg
X-Launchpad-Message-Rationale: Subscriber (apt in Ubuntu)
X-Launchpad-Message-For: juliank
Errors-To: bounces@canonical.com
Precedence: bulk
X-Generated-By: Launchpad (canonical.com); Revision="18302"; Instance="launchpad-lazr.conf"
X-Launchpad-Hash: 59b0bf6a060ba084722137152a5dd62c6b9a21bb

Public bug reported:

# apt --version
apt 1.2.18 (amd64)

xenial


I got myself into a situation where a repository has a Release and a Releas=
e.gpg file, but apt is just ignoring the gpg one and won't download it via =
apt update for some reason:

The repository in question is http://ubuntu-
cloud.archive.canonical.com/ubuntu/dists/xenial-updates/newton/. See how
locally I have just the Release file:

root@juju-cb14ed-0-lxd-3:/var/lib/apt/lists# l *Release*
-rw-r--r-- 1 root root 100K Jan 15 18:03 archive.ubuntu.com_ubuntu_dists_xe=
nial-backports_InRelease
-rw-r--r-- 1 root root 242K Apr 21  2016 archive.ubuntu.com_ubuntu_dists_xe=
nial_InRelease
-rw-r--r-- 1 root root 100K Jan 18 11:42 archive.ubuntu.com_ubuntu_dists_xe=
nial-updates_InRelease
-rw-r--r-- 1 root root 100K Jan 18 11:42 security.ubuntu.com_ubuntu_dists_x=
enial-security_InRelease
-rw-r--r-- 1 root root 7.7K Jan 18 11:45 ubuntu-cloud.archive.canonical.com=
_ubuntu_dists_xenial-updates_newton_Release


Now I try an update. See how the Release.gpg file gets a "Hit:" instead of =
a "Get:":
root@juju-cb14ed-0-lxd-3:/var/lib/apt/lists# apt update
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease                    =
   =20
Ign:3 http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/newto=
n InRelease
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Hit:5 http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/newto=
n Release
Get:6 http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/newto=
n Release.gpg [543 B]
Hit:7 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Fetched 205 kB in 0s (395 kB/s)                  =20
Reading package lists... Done
Building dependency tree      =20
Reading state information... Done
8 packages can be upgraded. Run 'apt list --upgradable' to see them.


And I can't install packages:
root@juju-cb14ed-0-lxd-3:/var/lib/apt/lists# apt dist-upgrade
Reading package lists... Done
Building dependency tree      =20
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  python3-setuptools
The following packages will be upgraded:
  dh-python dnsmasq-base python-pkg-resources python-setuptools python3-cry=
ptography python3-pkg-resources python3-requests python3-urllib3
8 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,193 kB of archives.
After this operation, 808 kB of additional disk space will be used.
Do you want to continue? [Y/n]=20
WARNING: The following packages cannot be authenticated!
  dh-python dnsmasq-base python-setuptools python-pkg-resources python3-pkg=
-resources python3-setuptools python3-cryptography python3-requests python3=
-urllib3
Install these packages without verification? [y/N] n
E: Some packages could not be authenticated
root@juju-cb14ed-0-lxd-3:/var/lib/apt/lists#=20

Somehow apt is thinking it has the Release.gpg file, but it doesn't?


This server is behind a squid proxy.

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

--=20
You received this bug notification because you are subscribed to apt in
Ubuntu.
https://bugs.launchpad.net/bugs/1657440

Title:
  apt won't redownload Release.gpg

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1657440/+subscriptions
Download as text