Repository does not have a Release file.

Bug #1735100 reported by Onno Steenbergen
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Landscape Client
Confirmed
High
Unassigned
landscape-client (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Since a few weeks all clients report errors when updating:

  # sudo apt update
  Get:1 file:/var/lib/landscape/client/package/binaries ./ InRelease
  Ign:1 file:/var/lib/landscape/client/package/binaries ./ InRelease
  Get:2 file:/var/lib/landscape/client/package/binaries ./ Release
  Err:2 file:/var/lib/landscape/client/package/binaries ./ Release
    File not found - /var/lib/landscape/client/package/binaries/./Release (2: No such file or directory)
  ...
  E: The repository 'file:/var/lib/landscape/client/package/binaries ./ Release' does not have a Release file.
  N: Updating from such a repository can't be done securely, and is therefore disabled by default.
  N: See apt-secure(8) manpage for repository creation and user configuration details.

I have tried reinstalling landscape-client, but it didn't help.
Via some searching I discovered that Debian repo format (https://wiki.debian.org/DebianRepository/Format#Flat_Repository_Format) for flat repositories should not require a release file. Maybe something upstream changed that caused this issue.

System info:
Distributor ID: Ubuntu
Description: Ubuntu 17.10
Release: 17.10
Codename: artful

Package info:
landscape-common:
  Installed: 16.03-0ubuntu3
  Candidate: 16.03-0ubuntu3
  Version table:
 *** 16.03-0ubuntu3 500
        500 http://nl.archive.ubuntu.com/ubuntu artful/main amd64 Packages
        100 /var/lib/dpkg/status
landscape-client-ui:
  Installed: (none)
  Candidate: (none)
  Version table:
landscape-client:
  Installed: 16.03-0ubuntu3
  Candidate: 16.03-0ubuntu3
  Version table:
 *** 16.03-0ubuntu3 500
        500 http://nl.archive.ubuntu.com/ubuntu artful/main amd64 Packages
        100 /var/lib/dpkg/status

# cat /var/lib/landscape/client/package/binaries/Packages
  Package: landscape-profile-divider-base_install
  Architecture: all
  Version: 1
  Priority: optional
  Section: metapackages
  Maintainer: Landscape Team <email address hidden>
  Installed-Size: 64
  Depends: git, telnet, vim
  Filename: 6219197.deb
  Size: 888
  MD5sum: a13fcf77f1b488ddad0e4a0c420282bb
  SHA1: 82ee8070a556615b1a89fd94d6822678504511a7
  SHA256: e54b918bcee76d7920351b47493950ee4a4b80915afbfaf6d791aae00711e051
  Description: Landscape meta-package for profile base_install
   Base install

# cat _landscape-internal-facade.list
  deb file:///var/lib/landscape/client/package/binaries ./

Tags: artful
Simon Poirier (simpoir)
Changed in landscape-client:
importance: Undecided → High
status: New → Confirmed
milestone: none → 18.01
tags: added: artful
Revision history for this message
David Britton (dpb) wrote :

Simon -- isn't this a server issue?

Revision history for this message
Onno Steenbergen (osteenbergen) wrote :

The repo is configured as a local repository.

"deb file:///var/lib/landscape/client/package/binaries ./"

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in landscape-client (Ubuntu):
status: New → Confirmed
Revision history for this message
Nafallo Bjälevik (nafallo) wrote :

I'm seeing this on Xenial, using the Canonical Landscape Server.

Revision history for this message
Mike Fry (mikefrygm) wrote :

I am experiencing this same issue using on-prem Landscape 18.03 and Xenial.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.