Skip to content

Commit

Permalink
Fix travis build failure due to the "archive has premature member" er…
Browse files Browse the repository at this point in the history
…rors (ros-drivers#422)

by upgrading the dpkg before installing ROS packages.
See:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1730627
  • Loading branch information
martonmiklos authored and mikepurvis committed Apr 9, 2019
1 parent c5e90cd commit ae3366e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ before_install:
- sudo sh -c 'echo "deb http://packages.ros.org/ros-shadow-fixed/ubuntu trusty main" > /etc/apt/sources.list.d/ros-latest.list'
- wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
- sudo apt-get update
- sudo apt-get install dpkg -y
- sudo apt-get install python-rosdep -y
- sudo rosdep init
- rosdep update
Expand Down

0 comments on commit ae3366e

Please sign in to comment.