Comment 0 for bug 1391590

Revision history for this message
Denis M. (dmakogon) wrote :

When i was trying to run "./redstack kick-start redis" i faced with next problem:

Fetched 929 kB in 5s (176 kB/s)
Reading package lists... Done
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty_universe_binary-amd64_Packages)
W: You may want to run apt-get update to correct these problems

Warinings are saying that there's a duplication in sources, it happens because redis image element add a new source repo that already exists in Ubuntu Trusty Tahr

Then we have a big problem:

+ apt-get install -y redis-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
 redis-server : Depends: libjemalloc1 (>= 2.1.1) but it is not installable
                Depends: redis-tools (= 2:2.8.4-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
++ check_break after-error run_in_target bash
++ echo ''
++ egrep -e '(,|^)after-error(,|$)' -q
+ trap_cleanup
+ exitval=100
+ cleanup
+ unmount_image
+ sync
+ unmount_dir /tmp/image.hdhNoLYW/mnt
+ local pattern=/tmp/image.hdhNoLYW/mnt mnts=
+ '[' -n /tmp/image.hdhNoLYW/mnt ']'
++ awk '{print $2}'
++ sort -r
++ grep '^/tmp/image.hdhNoLYW/mnt'
+ mnts='/tmp/image.hdhNoLYW/mnt/var/cache/apt/archives
/tmp/image.hdhNoLYW/mnt/tmp/in_target.d
/tmp/image.hdhNoLYW/mnt/tmp/ccache
/tmp/image.hdhNoLYW/mnt/sys
/tmp/image.hdhNoLYW/mnt/proc
/tmp/image.hdhNoLYW/mnt/dev/pts
/tmp/image.hdhNoLYW/mnt/dev'
+ '[' -n '/tmp/image.hdhNoLYW/mnt/var/cache/apt/archives
/tmp/image.hdhNoLYW/mnt/tmp/in_target.d
/tmp/image.hdhNoLYW/mnt/tmp/ccache
/tmp/image.hdhNoLYW/mnt/sys
/tmp/image.hdhNoLYW/mnt/proc
/tmp/image.hdhNoLYW/mnt/dev/pts
/tmp/image.hdhNoLYW/mnt/dev' ']'
+ sudo umount -fl /tmp/image.hdhNoLYW/mnt/var/cache/apt/archives /tmp/image.hdhNoLYW/mnt/tmp/in_target.d /tmp/image.hdhNoLYW/mnt/tmp/ccache /tmp/image.hdhNoLYW/mnt/sys /tmp/image.hdhNoLYW/mnt/proc /tmp/image.hdhNoLYW/mnt/dev/pts /tmp/image.hdhNoLYW/mnt/dev
+ '[' -n '' ']'
+ cleanup_dirs
+ sudo rm -rf /tmp/image.hdhNoLYW/built
+ sudo rm -rf /tmp/image.hdhNoLYW/mnt
+ sudo umount -f /tmp/image.hdhNoLYW /tmp/image.5z5EKHIi
+ rm -rf /tmp/image.hdhNoLYW /tmp/image.5z5EKHIi
+ exit 100