-
Notifications
You must be signed in to change notification settings - Fork 585
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
Bug Report: Error E: Unable to locate package systemd-resolved #321
Comments
Reading package lists... Done |
Same here |
I'm no maintainer, but I encountered something similar before, turned out I didn't upgrade debian 12 peroperly, after that the issue was resolved.
If you run the following, check to see if you get anything different in the output from mine (expand the Details section at the bottom). Hope this helps.
Output from my debian 12 system$ cat /etc/debian_version
12.1
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
$ cat /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux 11.1.0 _Bullseye_ - Official amd64 NETINST 20211009-10:07]/ bookworm main
#deb cdrom:[Debian GNU/Linux 11.1.0 _Bullseye_ - Official amd64 NETINST 20211009-10:07]/ bookworm main
deb http://deb.debian.org/debian/ bookworm main
deb-src http://deb.debian.org/debian/ bookworm main
deb http://security.debian.org/debian-security bookworm-security main
deb-src http://security.debian.org/debian-security bookworm-security main
# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bookworm-updates main
deb-src http://deb.debian.org/debian/ bookworm-updates main
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
$ ls -la /etc/apt/sources.list.d
$ sudo apt update && sudo apt install systemd-resolved
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 https://packages.microsoft.com/debian/10/prod buster InRelease
Hit:5 https://download.docker.com/linux/debian bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
systemd-resolved is already the newest version (252.12-1~deb12u1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. |
You didn't include the You have 2 options:
This is Debian's guide to upgrade to a new release.
Hope all of this helps. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
OS Version
Debian 11, Debian 12
System Information
Debian 11, Debian 12
What happened?
Error E: Unable to locate package systemd-resolved
Machine Type
generic-x86-64
Installer output
No response
Relevant log output
No response
ADR
Code of Conduct
The text was updated successfully, but these errors were encountered: