Public bug reported:

# lsb_release -rd
Description:    Ubuntu 14.04.5 LTS
Release:        14.04

debmirror:
  Installiert:           1:2.16ubuntu1.1
  Installationskandidat: 1:2.16ubuntu1.1
  Versionstabelle:
 *** 1:2.16ubuntu1.1 0
        500 http://xxx/ubuntu/ trusty-updates/universe amd64 Packages
        100 /var/lib/dpkg/status
     1:2.16ubuntu1 0
        500 http://xxx/ubuntu/ trusty/universe amd64 Packages

Following command will be executed:
debmirror /srv/debmirror/puppet \
 --method=http \
 --nosource \
 --root=/ \
 --host=apt.puppetlabs.com \
 --dist=trusty,precise \
 --section=main \
 --arch=amd64,i386 \
 --check-gpg \
 --verbose \
 --keyring=/home/debmirror/.gnupg/pubring.gpg \
 --postcleanup \
 --rsync-extra=none \
 2>&1 | egrep -v '(Warning: --rsync-extra is not configured to mirror the trace 
files|This configuration is not recommended)'

And gives the following error:
Mirroring to /srv/debmirror/puppet from http://apt.puppetlabs.com//
Arches: amd64,i386
Dists: trusty,precise
Sections: main
Pdiff mode: use
Will clean up after mirroring.
Attempting to get lock ...
Getting meta files ...
[  0%] Getting: dists/trusty/Release... failed 404 Not Found
[  0%] Getting: dists/precise/Release... failed 404 Not Found
Errors:
 Download of dists/trusty/Release failed: 404 Not Found
 Download of dists/precise/Release failed: 404 Not Found
Failed to download some Release or Release.gpg files!
WARNING: releasing 1 pending lock...

---
The Problem is, there is no option to unset --root, because it defaults to 
/ubuntu.
If you try to fetch the file http://apt.puppetlabs.com//dists/trusty/Release 
you will get an 404 error.
If you fetch http://apt.puppetlabs.com/dists/trusty/Release you will get the 
content.

At first I would say "The puppet repo is a broken piece of ..." but it
would be nice to set it empty. I also tried to set --root=. but this
expands to http://apt.puppetlabs.com/./dists/trusty/Release witch works
with curl but not with debmirror.

Any suggestions?

** Affects: debmirror (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  # lsb_release -rd
  Description:  Ubuntu 14.04.5 LTS
  Release:      14.04
  
  debmirror:
-   Installiert:           1:2.16ubuntu1.1
-   Installationskandidat: 1:2.16ubuntu1.1
-   Versionstabelle:
-  *** 1:2.16ubuntu1.1 0
-         500 http://xxx/ubuntu/ trusty-updates/universe amd64 Packages
-         100 /var/lib/dpkg/status
-      1:2.16ubuntu1 0
-         500 http://xxx/ubuntu/ trusty/universe amd64 Packages
+   Installiert:           1:2.16ubuntu1.1
+   Installationskandidat: 1:2.16ubuntu1.1
+   Versionstabelle:
+  *** 1:2.16ubuntu1.1 0
+         500 http://xxx/ubuntu/ trusty-updates/universe amd64 Packages
+         100 /var/lib/dpkg/status
+      1:2.16ubuntu1 0
+         500 http://xxx/ubuntu/ trusty/universe amd64 Packages
  
  Following command will be executed:
  debmirror /srv/debmirror/puppet \
-  --method=http \
-  --nosource \
-  --root=/ \
-  --host=apt.puppetlabs.com \
-  --dist=${DIST} \
-  --section=main \
-  --arch=trusty,precise \
-  --check-gpg \
-  --verbose \
-  --keyring=/home/debmirror/.gnupg/pubring.gpg \
-  --postcleanup \
-  --rsync-extra=none \
-  2>&1 | egrep -v '(Warning: --rsync-extra is not configured to mirror the 
trace files|This configuration is not recommended)'
+  --method=http \
+  --nosource \
+  --root=/ \
+  --host=apt.puppetlabs.com \
+  --dist=trusty,precise \
+  --section=main \
+  --arch=amd64,i386 \
+  --check-gpg \
+  --verbose \
+  --keyring=/home/debmirror/.gnupg/pubring.gpg \
+  --postcleanup \
+  --rsync-extra=none \
+  2>&1 | egrep -v '(Warning: --rsync-extra is not configured to mirror the 
trace files|This configuration is not recommended)'
  
  And gives the following error:
  Mirroring to /srv/debmirror/puppet from http://apt.puppetlabs.com//
  Arches: amd64,i386
  Dists: trusty,precise
  Sections: main
  Pdiff mode: use
  Will clean up after mirroring.
  Attempting to get lock ...
  Getting meta files ...
  [  0%] Getting: dists/trusty/Release... failed 404 Not Found
  [  0%] Getting: dists/precise/Release... failed 404 Not Found
  Errors:
-  Download of dists/trusty/Release failed: 404 Not Found
-  Download of dists/precise/Release failed: 404 Not Found
+  Download of dists/trusty/Release failed: 404 Not Found
+  Download of dists/precise/Release failed: 404 Not Found
  Failed to download some Release or Release.gpg files!
  WARNING: releasing 1 pending lock...
  
  ---
- The Problem is, there is no option to unset --root, because it defaults to 
/ubuntu. 
- If you try to fetch the file http://apt.puppetlabs.com//dists/trusty/Release 
you will get an 404 error. 
+ The Problem is, there is no option to unset --root, because it defaults to 
/ubuntu.
+ If you try to fetch the file http://apt.puppetlabs.com//dists/trusty/Release 
you will get an 404 error.
  If you fetch http://apt.puppetlabs.com/dists/trusty/Release you will get the 
content.
  
  At first I would say "The puppet repo is a broken piece of ..." but it
  would be nice to set it empty. I also tried to set --root=. but this
  expands to http://apt.puppetlabs.com/./dists/trusty/Release witch works
  with curl but not with debmirror.
  
  Any suggestions?

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

Title:
  Not able to set an empty --root option

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debmirror/+bug/1702059/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to