I was just able to reproduce this on our travis instance. In the 
/var/log/apt/history.log I see:
"""
Start-Date: 2019-04-11  13:12:03
Commandline: apt-get remove -y --purge -y snapd
Purge: snapd:amd64 (2.37.4+18.04.1)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2019-04-11  13:12:12
"""
and in term.log:
"""
....
rm: cannot remove '/var/cache/snapd/aux': Is a directory^M
dpkg: error processing package snapd (--purge):^M
 installed snapd package post-removal script subprocess returned error exit 
status 1^M
Log ended: 2019-04-11  13:12:12
"""
so I strongly suspect that this is the issue.

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

Title:
  snap 'core' broken/missing and causing autopkgtest failures

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1824237/+subscriptions

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

Reply via email to