[Bug 1728616] Re: using 'devel' in sources.list causes apt-get update to fail

Julian Andres Klode 1728616 at bugs.launchpad.net
Mon Oct 30 14:53:47 UTC 2017


That's a new feature in 1.5, so you don't switch releases by accident
(or you pinning does). With the apt tool, it asks interactively, with
apt-get you have to provide --allow-release-info-change or sth like
this.

** Changed in: apt (Ubuntu)
       Status: New => Opinion

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

Title:
  using 'devel' in sources.list causes apt-get update to fail

Status in apt package in Ubuntu:
  Opinion

Bug description:
  Our /etc/apt/sources.list looks like this:
  $ cat /etc/apt/sources.list
  | deb http://archive.ubuntu.com//ubuntu devel main restricted universe multiverse
  | deb http://archive.ubuntu.com//ubuntu devel-updates main restricted universe multiverse
  | deb http://archive.ubuntu.com//ubuntu devel-security main restricted universe multiverse
  | deb http://archive.ubuntu.com//ubuntu devel-backports main restricted universe multiverse

  I noticed today that 'apt-get update' started failing.  Likely that
  started on Thursday or Friday when bionic opened.

  This seems less than desireable, but even if the failure is expected, what is
  the solution to "accept" this change?

  It does mention 'apt-secure(8)' but nothing there obviously points to
  the solution.

  
  $ sudo apt-get update
  Hit:2 http://ppa.launchpad.net/uvtool-dev/master/ubuntu devel InRelease
  Get:1 http://archive.ubuntu.com//ubuntu devel InRelease [235 kB]
  Get:3 http://archive.ubuntu.com//ubuntu devel-updates InRelease [65.4 kB]
  Get:4 http://archive.ubuntu.com//ubuntu devel-security InRelease [65.4 kB]
  Get:5 http://archive.ubuntu.com//ubuntu devel-backports InRelease [65.5 kB]
  Reading package lists... Done                                  
  W: Conflicting distribution: http://ppa.launchpad.net/uvtool-dev/master/ubuntu devel InRelease (expected devel but got zesty)
  W: Conflicting distribution: http://archive.ubuntu.com//ubuntu devel InRelease (expected devel but got bionic)
  N: Repository 'http://archive.ubuntu.com//ubuntu devel InRelease' changed its 'Version' value from '17.10' to '18.04'
  E: Repository 'http://archive.ubuntu.com//ubuntu devel InRelease' changed its 'Suite' value from 'artful' to 'bionic'
  E: Repository 'http://archive.ubuntu.com//ubuntu devel InRelease' changed its 'Codename' value from 'artful' to 'bionic'
  N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
  W: Conflicting distribution: http://archive.ubuntu.com//ubuntu devel-updates InRelease (expected devel-updates but got bionic)
  N: Repository 'http://archive.ubuntu.com//ubuntu devel-updates InRelease' changed its 'Version' value from '17.10' to '18.04'
  E: Repository 'http://archive.ubuntu.com//ubuntu devel-updates InRelease' changed its 'Suite' value from 'artful-updates' to 'bionic-updates'
  E: Repository 'http://archive.ubuntu.com//ubuntu devel-updates InRelease' changed its 'Codename' value from 'artful' to 'bionic'
  N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
  W: Conflicting distribution: http://archive.ubuntu.com//ubuntu devel-security InRelease (expected devel-security but got bionic)
  N: Repository 'http://archive.ubuntu.com//ubuntu devel-security InRelease' changed its 'Version' value from '17.10' to '18.04'
  E: Repository 'http://archive.ubuntu.com//ubuntu devel-security InRelease' changed its 'Suite' value from 'artful-security' to 'bionic-security'
  E: Repository 'http://archive.ubuntu.com//ubuntu devel-security InRelease' changed its 'Codename' value from 'artful' to 'bionic'
  N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
  W: Conflicting distribution: http://archive.ubuntu.com//ubuntu devel-backports InRelease (expected devel-backports but got bionic)
  N: Repository 'http://archive.ubuntu.com//ubuntu devel-backports InRelease' changed its 'Version' value from '17.10' to '18.04'
  E: Repository 'http://archive.ubuntu.com//ubuntu devel-backports InRelease' changed its 'Suite' value from 'artful-backports' to 'bionic-backports'
  E: Repository 'http://archive.ubuntu.com//ubuntu devel-backports InRelease' changed its 'Codename' value from 'artful' to 'bionic'
  N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: apt 1.5
  ProcVersionSignature: Ubuntu 4.12.0-11.12-generic 4.12.5
  Uname: Linux 4.12.0-11-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
  ApportVersion: 2.20.7-0ubuntu3
  Architecture: amd64
  Date: Mon Oct 30 14:37:22 2017
  JournalErrors:
   Hint: You are currently not seeing messages from other users and the system.
         Users in groups 'adm', 'systemd-journal' can see all messages.
         Pass -q to turn off this notice.
   -- Logs begin at Mon 2017-01-30 21:40:08 UTC, end at Mon 2017-10-30 14:36:12 UTC. --
   -- No entries --
  ProcEnviron:
   TERM=screen-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: apt
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list