Devuan bug report logs - #231
apt-file constructs wrong url from /etc/apt/sources.list

Package: apt-file; Reported by: Paul Wratt <paul.wratt@gmail.com>; dated Wed, 8 Aug 2018 09:03:02 UTC; Maintainer for apt-file is (unknown).

Message received at submit@bugs.devuan.org:


Received: (at submit) by bugs.devuan.org; 8 Aug 2018 08:50:05 +0000
Return-Path: <paul.wratt@gmail.com>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Wed, 08 Aug 2018 10:50:05 +0200 (CEST)
Received: from mail-io0-f180.google.com (mail-io0-f180.google.com [209.85.223.180])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id E29DEF6087C
	for <submit@bugs.devuan.org>; Wed,  8 Aug 2018 10:43:17 +0200 (CEST)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ZmmfOUEe";
	dkim-atps=neutral
Received: by mail-io0-f180.google.com with SMTP id k16-v6so1138265iom.12
        for <submit@bugs.devuan.org>; Wed, 08 Aug 2018 01:40:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=mime-version:from:date:message-id:subject:to;
        bh=Vq/xo6qrcQ5Tt8HBPe2yB4IpzLgPBXKLK1gLdPG2eKc=;
        b=ZmmfOUEeoxRedPknXfKwVFNq51Vio1zmnAIf5ybHW3yV4qHcunkPsITcFAAqOVTG6y
         RQGzF1xuv98s/EGx7EPSN5mucotpntsXpqyXx2ElDrAwB/N7LJMCKbfyeLKnJbcBx3/W
         h5K0/mJW4gZpaasvREuou4VSlNRKke+0JpCULE5dikInjrIbopHfo20UCD9bV+konvVr
         YQpVt7BdauUkm6/1l7DaPyEP49t19iZq4D4/0XSXxAFE2udWd5TGiKOVcbOfZpTH30UL
         wMZHJcNYItBxUmeTpKxrq6MXiV+peaYbp5UDE9ibATVox74W1tajHe43/UHZqtkojbCK
         dl3A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
        bh=Vq/xo6qrcQ5Tt8HBPe2yB4IpzLgPBXKLK1gLdPG2eKc=;
        b=bp1n4VRUp1ury2Nl5q61xA6zJgXSPaX9DlkpTnvrPTwaFRhzK633RgJtPI3yQ6DFcT
         hsHYzZxjB+9cxmPoDkpR+2KjSo7mE338Iykof/IjiN8IgUvAfi8cfQb4XA9iwH7yOK3b
         eTgsTpnsUQEQAt+SpNAw6Q5D+VP0qReplIzlxDWFbWn+7R5bfrWAzL1KarZnxt5uzNmv
         c3QKvwdEHloV3bbX84ux33zL0S0rtoPnGJx3QaVGTvby9An9ZWfH/btdic5VNMWcGjfJ
         VkMYX4lD7x2Snb0v9cmw/+pC2UPSEURj9bXQ3OxFFVMo2gknUu7eVHDB4VA5DvTvKaLw
         6y9A==
X-Gm-Message-State: AOUpUlEPpMSxKYdZkE7d61vw0NhdLfZoB7U2RfydceDwaIYRe1eFP0EW
	0m/YpaV6r5iFi8qEyEleN8t3M3WhAZ/QDhZZQPFV
X-Google-Smtp-Source: AA+uWPy4zyO6OvB66j6QeFrJiE/gTraDrkoNjLRqudTK8f34tDeinh+Az59srkFyFNRYPG/GRrIOHRcQNJ35nAijfR4=
X-Received: by 2002:a6b:1410:: with SMTP id 16-v6mr1590099iou.23.1533717621173;
 Wed, 08 Aug 2018 01:40:21 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a02:6406:0:0:0:0:0 with HTTP; Wed, 8 Aug 2018 01:40:20 -0700 (PDT)
From: Paul Wratt <paul.wratt@gmail.com>
Date: Wed, 8 Aug 2018 20:40:20 +1200
Message-ID: <CA+zYZ3_kJcjoBTuDnb-tn80uOu0JftiMCXpBcE3FXYUT4oVPuQ@mail.gmail.com>
Subject: apt-file constructs wrong url from /etc/apt/sources.list
To: submit@bugs.devuan.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Status: No, score=0.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS
	autolearn=disabled version=3.4.1
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tupac3.dyne.org

Package: apt-file
Version: 2.5.4

apt-file constructs wrong url from /etc/apt/sources.list

the bug should appear in any version in the Devuan repository

"apt-file" perl script I installed on Devuan 1 (jessie-stable-old?) (armhf)
it looks for "dir/Content-_arch_.gz" instead of "dir/binary-_arch_/Packages.gz"

use "apt-file -v update" to reproduce debug confirmation of issue

Cheers

Paul


Acknowledgement sent to Paul Wratt <paul.wratt@gmail.com>:
New bug report received and forwarded. Copy sent to owner@bugs.devuan.org. Full text available.
Report forwarded to devuan-bugs@lists.dyne.org, owner@bugs.devuan.org:
bug#231; Package apt-file. Full text available.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Tue, 2 Jun 2020 02:39:02 UTC