Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Changed primitive apt-get to modern apt #467
Conversation
snappy-m-o
commented
Apr 17, 2016
|
Can one of the admins verify this patch? |
snappy-m-o
commented
Apr 17, 2016
|
Can one of the admins verify this patch? |
|
I am closing this one as we discussed on irc that using |
sergiusens
closed this
Jun 15, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tsimonq2 commentedApr 17, 2016
This will change the apt-get command to apt, which is recommended by the apt team and has more features and flexibility. I ran:
And it seems this is a good thing to do. So I ran:
$ find . -type f -print0 | xargs -0 sed -i 's/apt-get/apt/g'And then I confirmed it worked well by grepping again.
From
man apt:I believe this will be a lot better than using apt-get in snapcraft.