Comments (2)
@maxkratz, what version of lxc-templates were you using? Vanilla lxc-templates creates a line similar to
deb http://security.debian.org/ bullseye-security main
and lxc-templates as packaged in bookworm produces a line like
deb http://security.debian.org/debian-security bullseye-security main
Your reported apt line doesn't match either, so I'm not sure exactly what is happening to give you a bad URL.
from lxc-templates.
@maxkratz, what version of lxc-templates were you using? Vanilla lxc-templates creates a line similar to
deb http://security.debian.org/ bullseye-security main
and lxc-templates as packaged in bookworm produces a line like
deb http://security.debian.org/debian-security bullseye-security main
I was using version 3.0.4-5
on Debian GNU/Linux 11 (bullseye):
$ apt show lxc-templates
Package: lxc-templates
Version: 3.0.4-5
Architecture: amd64
Installed: yes
Priority: optional
Essential: no
Section: admin
Source: lxc-templates
Origin: Debian
Maintainer: pkg-lxc <[email protected]>
Installed-Size: 513 KB
Depends: lxc (>= 1:3.0.2-1~exp+1)
Recommends:
bridge-utils
busybox-static
cloud-image-utils | cloud-utils
debootstrap | cdebootstrap
distro-info
mmdebstrap
openssl
rsync
uuid-runtime
xz-utils
Suggests: qemu-user-static
Homepage: https://linuxcontainers.org/
Download-Size: 85 KB
APT-Sources: http://mirror.hetzner.com/debian/ oldstable/main amd64 Packages
Description: Linux Containers userspace tools (templates)
Containers are insulated areas inside a system, which have their own namespace
for filesystem, network, PID, IPC, CPU and memory allocation and which can be
created using the Control Group and Namespace features included in the Linux
kernel.
.
This package contains the templates.
However, as a workaround, I was able to resolve the issue with these commands:
$ /usr/sbin/chroot /var/cache/lxc/debian/rootfs-bullseye-amd64 apt-get update
$ /usr/sbin/chroot /var/cache/lxc/debian/rootfs-bullseye-amd64 apt-get dist-upgrade
After running these commands, I found the following content in the /etc/apt/sources.list
of the container:
$ cat /etc/apt/sources.list
deb http://deb.debian.org/debian bullseye main
deb http://security.debian.org/debian-security bullseye/updates main
from lxc-templates.
Related Issues (20)
- lxc-centos on centos 7
- [debian] Some containers' templates are calling lxc-destroy or rm in a wrong way HOT 2
- Copy files with history HOT 2
- failed to create a centos8 LXC container on centos8 HOT 1
- Why deprecated? HOT 2
- debian template support for archive HOT 1
- lxc-debian uses basename instead of dirname when setting up the interpreter for a foreign architecture
- [Debian] Fix the way the encoding is fetched for some templates.
- Missing Devuan Beowulf Templates HOT 1
- Gentoo template not usable out-of-the-box HOT 1
- Debian security release/updates does not have a Release file HOT 1
- Alpine Template not working HOT 5
- time for a release? HOT 2
- Arch Linux template requires pacman to be installed on host system HOT 1
- lxc-fedora unusable HOT 2
- Templates should setup "systemd-preset" (issue: Fedora 37 templates disable systemd-networkd on first boot)
- E: The repository 'http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu lunar Release' does not have a Release file.
- I failed to create rockylinux8 container on rockylinux8 host
- Shrink archiso image by removing preinstalled packages HOT 1
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-templates.