[Bug 913837] Re: apt-mirror is too restrictive when parsing arch
This bug was fixed in the package apt-mirror - 0.5.0-1 --- apt-mirror (0.5.0-1) unstable; urgency=medium * New upstream release. - Removed restrictions when parsing deb-$arch (LP: #913837) - Download all provided translation files instead of trying to download translation files based on a hard-coded language list. (Closes: #725762) - Fix typos (Closes: #736904, LP: #1211097). - Mirror Contents-*.gz for each component. (Closes: #647301) * Use Makefile for installation. * Bump Standards-Version to 3.9.5. -- Benjamin Drung bdr...@debian.org Sat, 22 Feb 2014 15:42:22 +0100 ** Changed in: apt-mirror (Ubuntu) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/913837 Title: apt-mirror is too restrictive when parsing arch To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/913837/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 913837] Re: apt-mirror is too restrictive when parsing arch
** Changed in: apt-mirror (Ubuntu) Status: Confirmed = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/913837 Title: apt-mirror is too restrictive when parsing arch To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/913837/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 913837] Re: apt-mirror is too restrictive when parsing arch
This has been changed for the upcoming 0.5.0 release. Will close this once its been uploaded to Ubuntu. ** Changed in: apt-mirror (Ubuntu) Assignee: (unassigned) = Brandon Holtsclaw (imbrandon) ** Changed in: apt-mirror (Ubuntu) Importance: Undecided = Low ** Changed in: apt-mirror (Ubuntu) Importance: Low = High ** Changed in: apt-mirror (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/913837 Title: apt-mirror is too restrictive when parsing arch To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/913837/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 913837] Re: apt-mirror is too restrictive when parsing arch
If you do a search for arm in the apt-mirror script, it will take you to a regular expression with multiple architectures specified. It would be possible to add the architecture required into that regular expressions (it's just a set of alternatives). Alternatively changing the test expression to ... if($config_line =~ /deb-([\w\-]+)/) Makes any architecture comprising word characters (letters digits underscores), or - acceptable. However you MUST move this test below the test for deb-src, otherwise src will be treated as an architecture (you don't want this). I found this problem when I was trying to mirror the Raspbian repository which is architecture armhf. There was an entry in the regex for arm but not armhf, so the test passed and arm became the architecture which caused a failure further down. I'm not sure why there is a specific list of architectures - perhaps to eliminate the match with deb-src. By moving the test below the specific test for deb-src, this clash disappears so the more general regular expression can be used. Setting the default architecture and just specifying deb works because this test is not involved. As far as I can infer from the code you can change the default architecture as many times as you like in mirror.list and it just affects the following lines until you change it again. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/913837 Title: apt-mirror is too restrictive when parsing arch To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/913837/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 913837] Re: apt-mirror is too restrictive when parsing arch
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/913837 Title: apt-mirror is too restrictive when parsing arch To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/913837/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs