[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#932793: marked as done (cloud.debian.org: Vagrant image debian/buster64 v10.0.0: apt repos still use 'testing' suite)



Your message dated Sun, 6 Oct 2019 13:31:46 +0200
with message-id <20191006113146.GA12611@xanadu.blop.info>
and subject line Re: Bug#932793: cloud.debian.org: Vagrant image debian/buster64 v10.0.0: apt repos still use 'testing' suite
has caused the Debian Bug report #932793,
regarding cloud.debian.org: Vagrant image debian/buster64 v10.0.0: apt repos still use 'testing' suite
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
932793: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932793
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cloud.debian.org
Severity: normal

Dear Maintainer,

   * What led up to the situation?

I tried to provision a new VM using Ansible/Molecule, Vagrant and VirtualBox.
molecule/default/molecule.yml
(...)
platforms:
  - name: molecule-test
    box: debian/buster64
    memory: 512
    cpus: 1
(...)

I then tried to add additional repos:
molecule/default/prepare.yml:
(...)
    - name: add nonfree repos
      apt_repository:
        #repo: deb http://ftp2.de.debian.org/debian/ stretch main non-free contrib
        repo: deb http://ftp2.de.debian.org/debian/ buster main non-free contrib
        state: present
        update-cache: yes
      become: true

But I only got this error message:
fatal: [molecule-test]: FAILED! => {
"changed": false, 
"msg": "Failed to auto-install python-apt. Error was:
	'E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'testing' to 'stable'
     E: Repository 'http://deb.debian.org/debian buster InRelease' changed its 'Suite' value from 'testing' to 'stable''"
}

To investigate, I used "vagrant ssh <id>" and ran "sudo apt-get update" on the VM. The resulting output is shown below, arrows mark interesting lines:
vagrant@molecule-test:~$ sudo apt update
Get:1 http://security.debian.org/debian-security buster/updates InRelease [39.1 kB]
Get:2 http://deb.debian.org/debian buster InRelease [118 kB]
N: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Version' value from '' to '10'          <====
E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'testing' to 'stable' <====
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] y
Get:3 http://security.debian.org/debian-security buster/updates/main Sources [24.7 kB]
Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [49.4 kB]
N: Repository 'http://deb.debian.org/debian buster InRelease' changed its 'Version' value from '' to '10.0'                              <====
E: Repository 'http://deb.debian.org/debian buster InRelease' changed its 'Suite' value from 'testing' to 'stable'                       <====
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] y
Get:5 http://deb.debian.org/debian buster/main Sources [7,827 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 Packages [7,897 kB]
Fetched 15.8 MB in 34s (463 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
39 packages can be upgraded. Run 'apt list --upgradable' to see them.

   * What was the outcome of this action?

After this, I was able to add repositories myself.

   * What outcome did you expect instead?

I'd expect the VM to run a repository configuration that points to the stable version of Debian Buster in out-of-the-box installations, thus enabling the user to use the box in automated workflows that don't require interactive user intervention.


-- System Information:
Debian Release: 10.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/1 CPU core)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

--- End Message ---
--- Begin Message ---
Hi,

On 24/07/19 at 23:18 +0200, Emmanuel Kasper wrote:
> Hi Jörg
> Thanks for you interest for the Debian Vagrant boxes.
> Are you sure the new vagrant environment you're starting is using the
> 10.0.0 box ?
> What is the output of
> vagrant box list  | grep debian/buster64
> 
> on your system ?

I tried to reproduce this, but also could not. I'm assuming this was a
problem on the submitter's side, such as a box that wasn't updated using
'vagrant box update'.

I'm closing the report.

Lucas

--- End Message ---

Reply to: