Comments (5)
Hmm, odd. @monstermunchkin can you check that image?
from lxc-ci.
Launching a container using lxc launch images:ubuntu/focal/cloud c2
, and then running apt update
inside of the container doesn't give me that error.
@marbetschar Does this happen every time? What are the exact steps to reproduce this issue?
from lxc-ci.
@monstermunchkin it happens every time. Maybe my locally cached image is corrupt then? How do I force a redownload?
Steps to reproduce:
lxc launch images:ubuntu/focal/cloud focal-cloud-test
lxc exec focal-cloud-test -- su --login
root@focal-cloud-test:~# apt update
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [107 kB]
Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]
Get:5 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [54.1 kB]
Get:6 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [21.1 kB]
Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [94.0 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [35.0 kB]
Get:9 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [30.5 kB]
Get:10 http://archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [14.9 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [2,792 B]
Get:12 http://archive.ubuntu.com/ubuntu focal-backports/universe Translation-en [1,280 B]
Fetched 566 kB in 1s (1,129 kB/s)
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_focal_universe_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
from lxc-ci.
I did the exact same thing, and don't run into the error. My image's hash is 9c1933d418c3
(lxc image ls
). You can run lxc image refresh <hash>
(your hash) to update the image.
from lxc-ci.
That fixed it. Thank you very much!!
from lxc-ci.
Related Issues (20)
- Fedora Rawhide image
- Image ubuntu/jammy/cloud cloud-init failed HOT 7
- Fedora EOL images cannot acces Fedora repositories HOT 1
- Amazon Linux 2023 images (for cgroup v2 hosts) HOT 20
- Fedora container uses fixed, currently broken, repository, maybe other solution possible? HOT 5
- Debian Buster Image gone HOT 4
- android build failure on jenkins HOT 1
- Add alpine armv7 images HOT 2
- Ubuntu VM images using old kernel configuration? HOT 4
- images(ubuntu): jammy/default no longer contains templates to update hostname HOT 11
- Permanently provide working image besides the latest three builds HOT 1
- debian/11/cloud doesn't run cloud-init in lxd HOT 3
- Continue creating Debian i386 images HOT 2
- default route not properly set on Centos 8 or 9 stream using routed nic HOT 10
- Missing Fedora Rawhide images HOT 2
- Add Devuan Daedalus
- VM centos/7/cloud: empty /etc/resolv.conf HOT 1
- NixOS images HOT 32
- Ubuntu 23.10 (mantic) containers fail to start HOT 16
- Cannot create custom gentoo images with latest gentoo.yaml file HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lxc-ci.