[Bug 1608190] Re: Make it easier to automate "apt update" setup command

Martin Pitt martin.pitt at ubuntu.com
Sun Jul 31 09:16:30 UTC 2016


"apt update" is rather expensive, I'd rather not force this upon each
test run. It will also not work on read-only testbeds such as Ubuntu
Touch or snappy.

Also, you don't need --setup-commands for that, you can just use the -U
/--apt-upgrade option; this will also run dist-upgrade, but one really
must do that when running a test on an outdated testbed.

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

Title:
  Make it easier to automate "apt update" setup command

Status in autopkgtest package in Ubuntu:
  New

Bug description:
  If you use autopkgtest in a development release, you have to remember
  to either manually run 'apt update' first or pass --setup-
  commands="apt update" to autopkgtest, as documented in the manpage.

  I would be happier if I could set this to happen automatically,
  perhaps through an environment variable or config file.

  Or instead, how about just enabling the "apt update" setup command by
  default?

  ProblemType: Bug
  DistroRelease: Ubuntu 16.10
  Package: autopkgtest 4.0.2
  ProcVersionSignature: Ubuntu 4.4.0-33.52-generic 4.4.15
  Uname: Linux 4.4.0-33-generic x86_64
  NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
  ApportVersion: 2.20.2-0ubuntu1
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Sun Jul 31 04:24:52 2016
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2016-04-09 (112 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04 LTS "Xenial Xerus" - Beta amd64 (20160408)
  PackageArchitecture: all
  SourcePackage: autopkgtest
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list