For anyone using ansible this is how I rolled back to version 21

 - name: Removing awscli
   pip:
     name: awscli
     state: absent
 
 - name: Wait for sudo
   become: yes
   shell:  while sudo fuser /var/lib/dpkg/lock >/dev/null 2>&1; do sleep 1; 
done;
 
 - name: remove aws kernel version
   become: yes
   apt:
     name: "{{ item }}"
     state: absent
   with_items:
     - linux-aws
     - linux-image-aws
     - linux-headers-aws
 
 - name: Wait for sudo
   become: yes
   shell:  while sudo fuser /var/lib/dpkg/lock >/dev/null 2>&1; do sleep 1; 
done;
 
 - name: Pin aws kernel
   become: yes
   apt:
     deb: 
http://launchpadlibrarian.net/385721541/linux-image-aws_4.15.0.1021.21_amd64.deb
 
 - name: Wait for sudo
   become: yes
   shell:  while sudo fuser /var/lib/dpkg/lock >/dev/null 2>&1; do sleep 1; 
done;
 
 - name: Pin aws kernel dependency
   become: yes
   apt:
     deb: 
http://launchpadlibrarian.net/385721540/linux-headers-aws_4.15.0.1021.21_amd64.deb
 
 - name: Wait for sudo
   become: yes
   shell:  while sudo fuser /var/lib/dpkg/lock >/dev/null 2>&1; do sleep 1; 
done;
 
 - name: Pin aws kernel version
   become: yes
   apt:
     deb: 
http://launchpadlibrarian.net/385721538/linux-aws_4.15.0.1021.21_amd64.deb

 - name: Installing awscli
   pip:
     name: awscli

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1796469

Title:
  aws s3 cp --recursive hangs on the last file on a large file transfer
  to instance

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-aws/+bug/1796469/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to