Unable to install lshw

SwarleyAUS

New Member
Aug 26, 2024
6
1
3
Hi guys,

Have looked through the plethora of threads but still unable to fix this issue when trying to install lshw:

root@pve:~# apt install lshw
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package lshw

I believe my repos are right and install is up to date so I am at a loss as to what is wrong. Please help!

Thanks!
 
Can you please post the output of `apt update` command?
Hi, thanks for your prompt response. Command output below:

root@pve:~# apt update
Ign:1 http://ftp.debian.org/debian bookworm InRelease
Ign:2 http://download.proxmox.com/debian/pve bookworm InRelease
Ign:3 http://security.debian.org/debian-security bookworm-security InRelease
Ign:4 http://ftp.debian.org/debian bookworm-updates InRelease
Ign:5 http://download.proxmox.com/debian/ceph-quincy bookworm InRelease
Ign:1 http://ftp.debian.org/debian bookworm InRelease
Ign:2 http://download.proxmox.com/debian/pve bookworm InRelease
Ign:3 http://security.debian.org/debian-security bookworm-security InRelease
Ign:4 http://ftp.debian.org/debian bookworm-updates InRelease
Ign:5 http://download.proxmox.com/debian/ceph-quincy bookworm InRelease
Ign:2 http://download.proxmox.com/debian/pve bookworm InRelease
Ign:1 http://ftp.debian.org/debian bookworm InRelease
Ign:3 http://security.debian.org/debian-security bookworm-security InRelease
Ign:5 http://download.proxmox.com/debian/ceph-quincy bookworm InRelease
Ign:4 http://ftp.debian.org/debian bookworm-updates InRelease
Err:1 http://ftp.debian.org/debian bookworm InRelease
Temporary failure resolving 'ftp.debian.org'
Err:2 http://download.proxmox.com/debian/pve bookworm InRelease
Temporary failure resolving 'download.proxmox.com'
Err:3 http://security.debian.org/debian-security bookworm-security InRelease
Temporary failure resolving 'security.debian.org'
Err:4 http://ftp.debian.org/debian bookworm-updates InRelease
Temporary failure resolving 'ftp.debian.org'
Err:5 http://download.proxmox.com/debian/ceph-quincy bookworm InRelease
Temporary failure resolving 'download.proxmox.com'
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://ftp.debian.org/debian/dists/bookworm/InRelease Temporary failure resolving 'ftp.debian.org'
W: Failed to fetch http://ftp.debian.org/debian/dists/bookworm-updates/InRelease Temporary failure resolving 'ftp.debian.org'
W: Failed to fetch http://download.proxmox.com/debian/pve/dists/bookworm/InRelease Temporary failure resolving 'download.proxmox.com'
W: Failed to fetch http://security.debian.org/debian-security/dists/bookworm-security/InRelease Temporary failure resolving 'security.debian.org'
W: Failed to fetch http://download.proxmox.com/debian/ceph-quincy/dists/bookworm/InRelease Temporary failure resolving 'download.proxmox.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
 
Hi,

It seems the issue is related to DNS resolution in your server, I would check the network configuration to ensure that your DNS settings are correctly configured.

You can check the DNS resolver using `nslookup ftp.debian.org` command.
 
A
Hi,

It seems the issue is related to DNS resolution in your server, I would check the network configuration to ensure that your DNS settings are correctly configured.

You can check the DNS resolver using `nslookup ftp.debian.org` command.
Ah fantastic, I left the DNS/nameserver as 127.0.0.1 during the install not knowing what to put it as, but having changed that in /etc/resolv.conf to 8.8.8.8 it seems to have fixed my issues!
 
  • Like
Reactions: Moayad

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!