It's fine without the 'exit' in awk '/^deb / { if ($3 !~ /-/) { $3 = $3"-%s"; print; $1="deb-src"; print; exit}}' /etc/apt/sources.list > /etc/apt/sources.list.d/%s.list
otherwise it stops at the first line and main and universe are on 2 lines. ** Summary changed: - --apt-pocket only adds pocket for components in sources.list + --apt-pocket only adds pocket for the 1rst component in sources.list ** Summary changed: - --apt-pocket only adds pocket for the 1rst component in sources.list + --apt-pocket only adds pocket for the 1rst entry in sources.list ** Changed in: autopkgtest (Ubuntu) Importance: Medium => High ** Description changed: - The option --apt-pocket only adds a pocket to the entries in /etc/apt/sources.list [1] - Cloud images use /etc/apt/sources.list.d/cloud_config_sources.list for sources configured via cloud-config. This is the case for universe and restricted. + The option --apt-pocket only adds a pocket to the entries in /etc/apt/sources.list [1] and stops at the first deb entry. + Cloud images use /etc/apt/sources.list.d/cloud_config_sources.list for sources configured via cloud-config ( This is the case for multiiverse and restricted) and main and universe are on different lines. These components are currently ignored and packages in universe are not tested from -proposed [2] [1] http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=commitdiff;h=e6cb422d3d59dceca909563ca86f788f27a374bc [2] http://d-jenkins.ubuntu-ci:8080/view/Utopic/view/AutoPkgTest/job/utopic-adt-bedtools/4/ARCH=amd64,label=adt/console ProblemType: Bug DistroRelease: Ubuntu 14.10 Package: autopkgtest 2.15 ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9 Uname: Linux 3.13.0-24-generic x86_64 ApportVersion: 2.14.1-0ubuntu3 Architecture: amd64 CurrentDesktop: Unity Date: Sun Apr 27 09:54:57 2014 InstallationDate: Installed on 2013-09-03 (235 days ago) InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902) PackageArchitecture: all SourcePackage: autopkgtest UpgradeStatus: No upgrade log present (probably fresh install) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1313278 Title: --apt-pocket only adds pocket for the 1rst entry in sources.list To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1313278/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs