[Tails-dev] dpkg-dev / libdpkg-perl errors during build

Delete this message

Reply to this message
Author: Kill Your TV
Date:  
To: tails-dev
Subject: [Tails-dev] dpkg-dev / libdpkg-perl errors during build
I was getting this error during builds with Vagrant. I've manually set
up a Wheezy VM and I'm still seeing it.

Some in #tails-dev have suggested that this build failure can be solved
by changing any instance of dpkg-dev to libdpkg-perl but that's just
wrong. The output looks like the following:

------------
P: adding CPU autodetection to the syslinux menu
Reading package lists...
Building dependency tree...
Reading state information...
P: fixing syslinux installation
P: including syslinux in the ISO filesystem
Err http://ftp.de.debian.org wheezy Release.gpg
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111: Connection refused)
Err http://security.debian.org wheezy/updates Release.gpg
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111: Connection refused)
Err http://mozilla.debian.net wheezy-backports Release.gpg
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111: Connection refused)
Err http://ftp.us.debian.org experimental Release.gpg
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111: Connection refused)
Err http://ftp.us.debian.org unstable Release.gpg
Unable to connect to 127.0.0.1:8118:
Err http://ftp.us.debian.org testing Release.gpg
Unable to connect to 127.0.0.1:8118:
Err http://ftp.us.debian.org wheezy-backports Release.gpg
Unable to connect to 127.0.0.1:8118:
Err http://deb.tails.boum.org devel Release.gpg
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111: Connection refused)
Err http://deb.torproject.org wheezy Release.gpg
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111: Connection refused)
Err http://deb.torproject.org sid Release.gpg
Unable to connect to 127.0.0.1:8118:
Reading package lists...
W: Failed to fetch http://ftp.de.debian.org/debian/dists/wheezy/Release.gpg Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111: Connection refused)

W: Failed to fetch http://security.debian.org/dists/wheezy/updates/Release.gpg Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111: Connection refused)

W: Failed to fetch http://mozilla.debian.net/dists/wheezy-backports/Release.gpg Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111: Connection refused)

W: Failed to fetch http://ftp.us.debian.org/debian/dists/experimental/Release.gpg Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111: Connection refused)

W: Failed to fetch http://ftp.us.debian.org/debian/dists/unstable/Release.gpg Unable to connect to 127.0.0.1:8118:

W: Failed to fetch http://deb.tails.boum.org/dists/devel/Release.gpg Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111: Connection refused)

W: Failed to fetch http://ftp.us.debian.org/debian/dists/testing/Release.gpg Unable to connect to 127.0.0.1:8118:

W: Failed to fetch http://deb.torproject.org/torproject.org/dists/wheezy/Release.gpg Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111: Connection refused)

W: Failed to fetch http://deb.torproject.org/torproject.org/dists/sid/Release.gpg Unable to connect to 127.0.0.1:8118:

W: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy-backports/Release.gpg Unable to connect to 127.0.0.1:8118:

W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
Package dpkg-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libdpkg-perl

E: Package 'dpkg-dev' has no installation candidate
E: config/binary_local-hooks/40-include_syslinux_in_ISO_filesystem failed (exit non-zero). You should check for errors.
P: Begin unmounting filesystems...
----

As a quick workaround I installed privoxy in the VM and the build
succeeded, but I don't see why it was only failing intermittently
prior to installing privoxy.

Anyway, while s/dpkg-dev/libdpkg-perl/ as has been suggested is
absolutely not going to fix this, I don't know what the proper
solution is.

--
GPG ID: 0x5BF72F42D0952C5A
Fingerprint: BD12 65FD 4954 C40A EBCB F5D7 5BF7 2F42 D095 2C5A