mycroft-gui icon indicating copy to clipboard operation
mycroft-gui copied to clipboard

fix pacman call

Open emphasize opened this issue 5 years ago • 3 comments

Problem

Non-English system configurations will run into problems with former approach "yes | pacman ..."

Simply added a --noconfirm and --needed (to not reinstall packages present) instead of the existing statement. The -y added should be baseline since it renews the listings and prevents failures due to old lists.

Type of PR

  • [x] Bugfix
  • [ ] Feature implementation
  • [ ] Refactor of code (without functional changes)
  • [ ] Documentation improvements
  • [ ] Test improvements

CLA

👍

emphasize avatar Dec 12 '20 20:12 emphasize

Wellp, I just tried it. It works... but I failed to intercept it in time to prevent a kernel and driver upgrade from piggybacking.

I don't think the --noconfirm is wise on Arch or Manjaro (nor, perhaps, was yes)

ChanceNCounter avatar Jan 26 '21 22:01 ChanceNCounter

With problems i meant breakage as they would need a translated 'yes'.

Anyhow, how do you get a kernel update with this?

emphasize avatar Jan 26 '21 22:01 emphasize

It seems to have behaved like a -Syu, but I can't see why.

ChanceNCounter avatar Jan 26 '21 23:01 ChanceNCounter