[Fuego] Fix a error related to packages have unmet dependencies

Hoang Van Tuyen tuyen.hoangvan at toshiba-tsdv.com
Wed Oct 18 03:18:29 UTC 2017


Dear Fuego developers,
I have used the latest Fuego source with both next and master branches.
When I ran the install.sh script, I got the below error:
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>   autoconf : Depends: perl (> 5.005) but it is not going to be installed
>   git : Depends: liberror-perl but it is not going to be installed
> E: Unable to correct problems, you have held broken packages.
> The command '/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -yV install 	apt-utils daemon gcc make cmake python-paramiko python-lxml python-simplejson 	python-matplotlib python-serial python-yaml python-openpyxl python-requests 	libtool xmlstarlet autoconf automake rsync openjdk-7-jre openjdk-7-jdk iperf 	netperf netpipe-tcp sshpass wget git diffstat sudo net-tools vim curl 	inotify-tools g++ bzip2 bc libaio-dev gettext pkg-config libglib2.0-dev 	time python-pip python-xmltodict at minicom lzop bsdmainutils u-boot-tools 	mc netcat lava-tool openssh-server python-parsedatetime 	libsdl1.2-dev libcairo2-dev libxmu-dev libxmuu-dev' returned a non-zero code: 100
It seems that the Debian container image has some packages which are 
newer than
in the existing repository. So, I think we need to add a repository with 
newer packages.

I have attached the error log file and the patch for fixing the problem 
in the attachment.
Could you please check them?

Best regards,
Tuyen

-- 
================================================================
Hoang Van Tuyen (Mr.)
TOSHIBA SOFTWARE DEVELOPMENT (VIETNAM) CO., LTD.
16th Floor, VIT Building, 519 Kim Ma Str., Ba Dinh Dist., Hanoi, Vietnam
Tel: 84-4-22208801 (Company) - Ext.251
Fax: 84-4-22208802 (Company)
Email: tuyen.hoangvan at toshiba-tsdv.com
================================================================

-------------- next part --------------
From b0be614262853eb0a766f39246de17172fd29b66 Mon Sep 17 00:00:00 2001
From: Hoang Van Tuyen <tuyen.hoangvan at toshiba-tsdv.com>
Date: Wed, 18 Oct 2017 09:44:44 +0700
Subject: [PATCH] Dockerfile: Add a security repos to docker container

Currently, the Debian container image has some packages which are newer than
in the existing repos. So, need to add a repos with newer packages

Signed-off-by: Hoang Van Tuyen <tuyen.hoangvan at toshiba-tsdv.com>
---
 Dockerfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Dockerfile b/Dockerfile
index c1695a2..cdd9b2b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -21,6 +21,7 @@ ENV https_proxy ${HTTP_PROXY}
 WORKDIR /
 RUN echo deb http://httpredir.debian.org/debian jessie main non-free > /etc/apt/sources.list
 RUN echo deb http://httpredir.debian.org/debian jessie-updates main non-free >> /etc/apt/sources.list
+RUN echo deb http://security.debian.org/ jessie/updates main >> /etc/apt/sources.list
 RUN if [ -n "$HTTP_PROXY" ]; then echo 'Acquire::http::proxy "'$HTTP_PROXY'";' > /etc/apt/apt.conf.d/80proxy; fi
 RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -yV install \
 	apt-utils daemon gcc make python-paramiko python-lxml python-simplejson \
-- 
2.1.4
-------------- next part --------------
Sending build context to Docker daemon  2.498MB
Step 1/52 : FROM debian:jessie
 ---> 40aa6d4339d4
Step 2/52 : MAINTAINER tim.bird at am.sony.com
 ---> Using cache
 ---> 3f3ee521f3d4
Step 3/52 : ARG HTTP_PROXY
 ---> Using cache
 ---> 6d8ef0a490a9
Step 4/52 : ENV http_proxy ${HTTP_PROXY}
 ---> Using cache
 ---> 113a7f42539f
Step 5/52 : ENV https_proxy ${HTTP_PROXY}
 ---> Using cache
 ---> a200a93f3a21
Step 6/52 : WORKDIR /
 ---> Using cache
 ---> a3f26a43abbb
Step 7/52 : RUN echo deb http://httpredir.debian.org/debian jessie main non-free > /etc/apt/sources.list
 ---> Using cache
 ---> 7ff103c7ce67
Step 8/52 : RUN echo deb http://httpredir.debian.org/debian jessie-updates main non-free >> /etc/apt/sources.list
 ---> Using cache
 ---> a8430a790e0a
Step 9/52 : RUN if [ -n "$HTTP_PROXY" ]; then echo 'Acquire::http::proxy "'$HTTP_PROXY'";' > /etc/apt/apt.conf.d/80proxy; fi
 ---> Using cache
 ---> 84c2131a3acb
Step 10/52 : RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -yV install 	apt-utils daemon gcc make cmake python-paramiko python-lxml python-simplejson 	python-matplotlib python-serial python-yaml python-openpyxl python-requests 	libtool xmlstarlet autoconf automake rsync openjdk-7-jre openjdk-7-jdk iperf 	netperf netpipe-tcp sshpass wget git diffstat sudo net-tools vim curl 	inotify-tools g++ bzip2 bc libaio-dev gettext pkg-config libglib2.0-dev 	time python-pip python-xmltodict at minicom lzop bsdmainutils u-boot-tools 	mc netcat lava-tool openssh-server python-parsedatetime 	libsdl1.2-dev libcairo2-dev libxmu-dev libxmuu-dev
 ---> Running in 6e497a1f92bd
Ign http://httpredir.debian.org jessie InRelease
Get:1 http://httpredir.debian.org jessie-updates InRelease [145 kB]
Get:2 http://httpredir.debian.org jessie Release.gpg [2373 B]
Get:3 http://httpredir.debian.org jessie Release [148 kB]
Get:4 http://httpredir.debian.org jessie-updates/main amd64 Packages [23.1 kB]
Get:5 http://httpredir.debian.org jessie-updates/non-free amd64 Packages [449 B]
Get:6 http://httpredir.debian.org jessie/main amd64 Packages [9063 kB]
Get:7 http://httpredir.debian.org jessie/non-free amd64 Packages [101 kB]
Fetched 9484 kB in 6s (1360 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 autoconf : Depends: perl (> 5.005) but it is not going to be installed
 git : Depends: liberror-perl but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
The command '/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -yV install 	apt-utils daemon gcc make cmake python-paramiko python-lxml python-simplejson 	python-matplotlib python-serial python-yaml python-openpyxl python-requests 	libtool xmlstarlet autoconf automake rsync openjdk-7-jre openjdk-7-jdk iperf 	netperf netpipe-tcp sshpass wget git diffstat sudo net-tools vim curl 	inotify-tools g++ bzip2 bc libaio-dev gettext pkg-config libglib2.0-dev 	time python-pip python-xmltodict at minicom lzop bsdmainutils u-boot-tools 	mc netcat lava-tool openssh-server python-parsedatetime 	libsdl1.2-dev libcairo2-dev libxmu-dev libxmuu-dev' returned a non-zero code: 100
-------------- next part --------------
-- 
This mail was scanned by BitDefender
For more information please visit http://www.bitdefender.com


More information about the Fuego mailing list