Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package cache should be updated before installing #1

Open
samos123 opened this issue Nov 8, 2016 · 0 comments
Open

Package cache should be updated before installing #1

samos123 opened this issue Nov 8, 2016 · 0 comments

Comments

@samos123
Copy link

samos123 commented Nov 8, 2016

After running state.highstate I noticed that not the candidate package was installed. My guess is that this was caused by invalid package cache. Running apt-get update before installing libvirt package would have solved the issue.

So adding refresh: true to pkg.installed should solve this issue.

apt-cache policy libvirt-bin
libvirt-bin:
  Installed: 1.2.2-0ubuntu13.1.17+tcp1
  Candidate: 1.2.9.3-9~u14.04+mos10
  Version table:
     1.2.9.3-9~u14.04+mos10 0
        500 http://mirror.fuel-infra.org/mos-repos/ubuntu/9.0/ mos9.0/main amd64 Packages
 *** 1.2.2-0ubuntu13.1.17+tcp1 0
        500 http://apt.tcpcloud.eu/nightly/ trusty/tcp amd64 Packages
        100 /var/lib/dpkg/status
     1.2.2-0ubuntu13.1.17 0
        500 http://apt.tcpcloud.eu/nightly/ trusty/main amd64 Packages
     1.2.2-0ubuntu13.1.16 0
        500 http://apt.tcpcloud.eu/nightly/ trusty/security amd64 Packages
     1.2.2-0ubuntu13 0
        500 http://apt.tcpcloud.eu/nightly/ trusty/main amd64 Packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant