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

Bug#929797: Vagrant image debian/wheezy64 no longer works right away



Package: cloud.debian.org

Since Debian Wheezy repositories had been archived, when I try to use the Vagrant image "debian/wheezy64", I get this:

$ vagrant up

Bringing machine 'default' up with 'virtualbox' provider...

==> default: Importing base box 'debian/wheezy64'...

==> default: Matching MAC address for NAT networking...

==> default: Checking if box 'debian/wheezy64' version '7.11.2' is up to date...

==> default: Setting the name of the VM: debian7_default_1559296753043_62638

==> default: Fixed port collision for 22 => 2222. Now on port 2200.

==> default: Clearing any previously set network interfaces...

==> default: Preparing network interfaces based on configuration...

    default: Adapter 1: nat

==> default: Forwarding ports...

    default: 22 (guest) => 2200 (host) (adapter 1)

==> default: Booting VM...

==> default: Waiting for machine to boot. This may take a few minutes...

    default: SSH address: 127.0.0.1:2200

    default: SSH username: vagrant

    default: SSH auth method: private key

    default: 

    default: Vagrant insecure key detected. Vagrant will automatically replace

    default: this with a newly generated keypair for better security.

    default: 

    default: Inserting generated public key within guest...

    default: Removing insecure key from the guest if it's present...

    default: Key inserted! Disconnecting and reconnecting using new SSH key...

==> default: Machine booted and ready!

==> default: Checking for guest additions in VM...

    default: No guest additions were detected on the base box for this VM! Guest

    default: additions are required for forwarded ports, shared folders, host only

    default: networking, and more. If SSH fails on this machine, please install

    default: the guest additions and repackage the box to continue.

    default: 

    default: This is not an error message; everything may continue to work properly,

    default: in which case you may ignore this message.

==> default: Installing rsync to the VM...

The following SSH command responded with a non-zero exit status.

Vagrant assumes that this means the command failed!


            apt-get -yqq update

            apt-get -yqq install rsync



Stdout from the command:


WARNING: The following packages cannot be authenticated!

  rsync



Stderr from the command:


W: Failed to fetch http://security.debian.org/dists/wheezy/updates/main/source/Sources  404  Not Found [IP: 151.101.132.204 80]


W: Failed to fetch http://security.debian.org/dists/wheezy/updates/main/binary-amd64/Packages  404  Not Found [IP: 151.101.132.204 80]


W: Failed to fetch http://httpredir.debian.org/debian/dists/wheezy/main/source/Sources  404  Not Found [IP: 151.101.132.204 80]


W: Failed to fetch http://httpredir.debian.org/debian/dists/wheezy/main/binary-amd64/Packages  404  Not Found [IP: 151.101.132.204 80]


E: Some index files failed to download. They have been ignored, or old ones used instead.

E: There are problems and -y was used without --force-yes


I think this could easily be addressed by replacing the current /etc/apt/sources.list file from the image:

# 

# deb cdrom:[Debian GNU/Linux 7.11.0 _Wheezy_ - Official amd64 NETINST Binary-1 20160605-17:36]/ wheezy main

#deb cdrom:[Debian GNU/Linux 7.11.0 _Wheezy_ - Official amd64 NETINST Binary-1 20160605-17:36]/ wheezy main


deb http://httpredir.debian.org/debian wheezy main

deb-src http://httpredir.debian.org/debian wheezy main


deb http://security.debian.org/ wheezy/updates main

deb-src http://security.debian.org/ wheezy/updates main


With this content:
#
# deb cdrom:[Debian GNU/Linux 7.11.0 _Wheezy_ - Official amd64 NETINST Binary-1 20160605-17:36]/ wheezy main

#deb cdrom:[Debian GNU/Linux 7.11.0 _Wheezy_ - Official amd64 NETINST Binary-1 20160605-17:36]/ wheezy main

deb http://archive.debian.org/debian wheezy main
deb-src http://archive.debian.org/debian wheezy main

#deb http://security.debian.org/ wheezy/updates main
#deb-src http://security.debian.org/ wheezy/updates main

--
Regards,

     Manuel Molina Cuberos (deluxe_)

Reply to: