debmirror broken under Trusty?
heller at deepsoft.com
Wed Jul 27 14:09:24 UTC 2016
OK, it appears debmirror has (at least) a documentation bug.
These options don't work correctly:
They need to be specified as:
But even then it fails to get many of the needed installer files.
*WHAT IS THE MAGIC INCANTATION TO GET *ALL* OF THE NEEDED INSTALLER FILES?*
I am trying to install Ubuntu 14.04 on a VM on a CentOS 6 host that does NOT
have good access to the public Internet (it only has dialup). I am using
another system (which does have good access to the public Internet) to create
a *complete* mirror of the Ubuntu 14.04 distribution, but debmirror is not
getting *ALL* of the files needed. The debmirror documentation is (obviously)
lacking. Can anyone help me? At this point I have *manually* download *some*
of the files and if needed, I will create a hack script to download the rest,
but I want an automated way to download updates and keep the copy of the
I know, no one uses dial-up anymore, but here in Western Mass, USA, dial-up is
still the main form of Internet access (yes, really, believe it or not).
At Mon, 25 Jul 2016 16:26:56 -0400 (EDT) "Ubuntu user technical support, not for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:
> When I enable downloading the Debian installers (@di_dists="dists";
> @di_archs="arches"; ) I get this error:
> ubuntumirror at ub140464:~$ debmirror
> Download of dists/trusty-backports/main/installer-i386/current/images/MD5SUMS
> failed: 404 Not Found
> Failed to download some Package, Sources or Release files!
> WARNING: releasing 1 pending lock...
> debmirror works just fine if the di_dists and di_archs lines are commented
> out. Is there something wrong with debmirror, my configuration file, or the
> distro server?
> I am using us.archive.ubuntu.com as the mirror source host. I want to create
> a local mirror of Ubuntu 14.04 (Trusty), one that I can use to install Ubuntu
> 14.04 (Trusty) to machines on a local LAN, without having to access the public
> Internet (bandwidth limitations).
> I am running debmirror 1:2.16ubuntu1 on a 64-bit (amd64) Ubuntu 14.04 VM
> running under KVM on a server running CentOS 6. I run debmirror daily early
> in the wee hours of the morning from a cron job.
> Here is the configuration file that causes problems (commenting out the two
> lines relating to the installer images yields a working configuration that has
> no problems, except for the usual occasional network issues):
> # Default config for debmirror
> # The config file is a perl script so take care to follow perl syntax.
> # Any setting in /etc/debmirror.conf overrides these defaults and
> # ~/.debmirror.conf overrides those again. Take only what you need.
> # The syntax is the same as on the command line and variable names
> # loosely match option names. If you don't recognize something here
> # then just stick to the command line.
> # Options specified on the command line override settings in the config
> # files.
> # Location of the local mirror (use with care)
> # Output options
> # Download options
> # @ignores="";
> # @excludes="";
> # @includes="";
> # @excludes_deb_section="";
> # @limit_priority="";
> # @rsync_extra="doc,tools";
> # Save mirror state between runs; value sets validity of cache in days
> # Security/Sanity options
> # Cleanup
> # Locking options
> # Rsync options
> $rsync_options="-aIL --partial";
> # FTP/HTTP options
> # $proxy="http://proxy:port/";
> # Dry run
> # Don't keep diff files but use them
> # The config file must return true or perl complains.
> # Always copy this.
Robert Heller -- 978-544-6933
Deepwoods Software -- Custom Software Services
http://www.deepsoft.com/ -- Linux Administration Services
heller at deepsoft.com -- Webhosting Services
More information about the ubuntu-users