I have tested the version of apt-mirror from ppa:slashd/test and can
confirm that with the updates Eric added it now works on bionic.

** Description changed:

- 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 : 
https://github.com/apt-mirror/apt-mirror/commit/a17949ca2592678aa18e263241108e431fed6c4e
- it should be backported, as we can have servers on 16.04 doing mirrors for 
people using recent distros. without that, it's impossible to migrate from 
osmic to disco using a mirror done by xenial's apt-mirror.
+ [Impact]
  
- ProblemType: Bug
- DistroRelease: Ubuntu 16.04
- Package: apt-mirror 0.5.1-1ubuntu1
- ProcVersionSignature: Ubuntu 4.4.0-145.171-generic 4.4.176
- Uname: Linux 4.4.0-145-generic x86_64
- ApportVersion: 2.20.1-0ubuntu2.18
- Architecture: amd64
- Date: Mon Apr 22 00:33:41 2019
- InstallationDate: Installed on 2018-09-18 (215 days ago)
- InstallationMedia: Ubuntu-Server 16.04.5 LTS "Xenial Xerus" - Release amd64 
(20180731)
- PackageArchitecture: all
- ProcEnviron:
-  SHELL=/bin/bash
-  TERM=xterm-256color
-  PATH=(custom, no user)
-  LANG=fr_FR.UTF-8
-  XDG_RUNTIME_DIR=<set>
- SourcePackage: apt-mirror
- UpgradeStatus: No upgrade log present (probably fresh install)
+ * 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.

** Changed in: apt-mirror (Ubuntu Bionic)
   Importance: Undecided => High

** Changed in: apt-mirror (Ubuntu Eoan)
   Importance: Undecided => High

** Changed in: apt-mirror (Ubuntu Focal)
   Importance: Undecided => High

** Changed in: apt-mirror (Ubuntu Groovy)
   Importance: Undecided => High

** Changed in: apt-mirror (Ubuntu Groovy)
       Status: Confirmed => Triaged

** Changed in: apt-mirror (Ubuntu Focal)
       Status: New => Triaged

** Changed in: apt-mirror (Ubuntu Eoan)
       Status: New => Triaged

** Changed in: apt-mirror (Ubuntu Bionic)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1825755

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to