← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1825755] Re: apt-mirror in all versions (including disco and last from github) doesn't mirror Commands-* files

 

** Changed in: apt-mirror (Ubuntu Bionic)
       Status: Triaged => Won't Fix

** Changed in: apt-mirror (Ubuntu Bionic)
     Assignee: Heather Lemon (hypothetical-lemon) => (unassigned)

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1825755

Title:
  apt-mirror in all versions (including disco and last from github)
  doesn't mirror Commands-* files

Status in apt-mirror package in Ubuntu:
  Fix Released
Status in apt-mirror source package in Xenial:
  Won't Fix
Status in apt-mirror source package in Bionic:
  Won't Fix
Status in apt-mirror source package in Eoan:
  Won't Fix
Status in apt-mirror source package in Focal:
  Triaged
Status in apt-mirror source package in Groovy:
  Won't Fix
Status in apt-mirror source package in Jammy:
  Confirmed

Bug description:
  [Impact]

  * since ubuntu disco, main repositories contains 'cnf' directory with
  'Commands*' files. those files are compressed with xy, whereas apt-
  mirror 0.5.1 doesn't contain the patch which enable download of .xz
  compressed files

  * Without this update, users are not able to mirror newer releases of
  Ubuntu.

  [Test Case]

  * On any release of Ubuntu install apt-mirror and add this line to
  /etc/apt/mirror.list:

  deb http://archive.ubuntu.com/ubuntu eoan-updates main restricted
  universe multiverse

  * sync the mirror using `apt-mirror`

  * Attempt to run `apt update` against the mirror. The result will be
  similar to:

  ...
  Err:7 http://10.3.0.41/ubuntu eoan-updates/main amd64 c-n-f Metadata
    404  Not Found [IP: 10.3.0.41 80]
  Ign:14 http://10.3.0.41/ubuntu eoan-updates/multiverse amd64 c-n-f Metadata
  Ign:15 http://10.3.0.41/ubuntu eoan-updates/universe amd64 c-n-f Metadata
  Ign:16 http://10.3.0.41/ubuntu eoan-updates/restricted amd64 c-n-f Metadata
  Reading package lists... Done
  E: Failed to fetch http://10.3.0.41/ubuntu/dists/eoan-updates/main/cnf/Commands-amd64  404  Not Found [IP: 10.3.0.41 80]
  E: Some index files failed to download. They have been ignored, or old ones used instead.
  ...

  * Updating the apt-mirror package from ppa:slashd/test and then re-
  running the `apt-mirror` command will then allow a successful `apt
  update`.

  [Regression Potential]

  * The regression potential is low since the package doesn't currently
  work properly anyway.

  * It's a patchset from a fork repo, if apt-mirror upstream becomes
  alive again in the future, it won't necessary mean that the fork will
  be commited/merged upstream, and Ubuntu package might differ from
  original upstream until next version bump.

  [Other informations]

  Upstream bug:
  https://github.com/apt-mirror/apt-mirror/issues/118

  Not much update has been made since Upstream become inactive as noted
  from the output of rmadison:

  Since Bionic, it is a simple copy from release to active devel release
  and so on directly from debian, no patching whatsoever and nothing new
  to pull from Debian as well.

  ----
  Ubuntu
   apt-mirror | 0.5.1-1ubuntu1   | xenial/universe          | source, all
   apt-mirror | 0.5.4-1          | bionic/universe          | source, all
   apt-mirror | 0.5.4-1          | disco/universe           | source, all
   apt-mirror | 0.5.4-1          | eoan/universe            | source, all
   apt-mirror | 0.5.4-1          | focal/universe           | source, all
   apt-mirror | 0.5.4-1          | groovy/universe          | source, all

  Debian
  apt-mirror 0.5.4-1 is found in sid/unstable
  ---

  The required patchset is from a fork of upstream apt-mirror
  josbraden/apt-mirror (https://github.com/josbraden/apt-mirror)

  Note that upstream apt-mirror is not active anymore, and is looking
  for a new maintainer as published in their github page:
  https://github.com/apt-mirror/apt-mirror

  That's why we have to rely on the fork atm.

  The required patchset are (tested by Chris in the form of a test pkg:
  0001-Copy-DEP-11-functions-for-editing.patch
  0001-Replace-DEP-11-with-cnf-in-DEP-11-code-copy.patch
  0001-Fix-Regex.patch
  0001-Improve-regex-for-cnf-file-matching.patch
  0001-Remove-dev-note.patch
  0001-Fix-missing-parenthesis.patch

  I also talked with sil2100 (SRU verification team member) about the
  feasibilty of this SRU (from a fork repo):

  "
  <sil2100> Yeah, I'd say fixes from forked repositories in this case make sense Since there's no longer any 'one authority' for it.
  "

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/1825755/+subscriptions