Can't install snmpd

Oer2001

Member
Jul 12, 2011
43
0
6
Hello,

I can't install snmpd.

proxmox0:~# apt-get install snmpd
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Lese Status-Informationen ein... Fertig
Die folgenden zusätzlichen Pakete werden installiert:
libsensors3 libsnmp-base libsnmp15
Vorgeschlagene Pakete:
lm-sensors
Die folgenden NEUEN Pakete werden installiert:
libsensors3 libsnmp-base libsnmp15 snmpd
0 aktualisiert, 4 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen noch 0B von 4629kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 9413kB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren [J/n]? J
Vorkonfiguration der Pakete ...
Wähle vormals abgewähltes Paket libsensors3.
(Lese Datenbank ... dpkg: nicht behebbarer fataler Fehler, Abbruch:
files list file for package `initramfs-tools' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)

Is there a solution for the problem??

Regards,
Erik
 
How did you install your box? Proxmox VE never shows German errror codes, so it looks like you did some modifications.
 
I installed proxmox 1.8 with the proxmox cd.
Why there is german translation?? I don't know, perhaps because I use a terminal connection from a german ubuntu pc.

Regards,
Erik
 
Hello,

I can't install snmpd.

proxmox0:~# apt-get install snmpd
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Lese Status-Informationen ein... Fertig
Die folgenden zusätzlichen Pakete werden installiert:
libsensors3 libsnmp-base libsnmp15
Vorgeschlagene Pakete:
lm-sensors
Die folgenden NEUEN Pakete werden installiert:
libsensors3 libsnmp-base libsnmp15 snmpd
0 aktualisiert, 4 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen noch 0B von 4629kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 9413kB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren [J/n]? J
Vorkonfiguration der Pakete ...
Wähle vormals abgewähltes Paket libsensors3.
(Lese Datenbank ... dpkg: nicht behebbarer fataler Fehler, Abbruch:
files list file for package `initramfs-tools' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)

Is there a solution for the problem??

Regards,
Erik
Hi Erik,
the problem is in your case initramfs-tools and not snmpd.
What shows
Code:
apt-get update
dpkg-query -s initramfs-tools
Any hint if you do an "apt-get upgrade"?

Udo
 
the problem is in your case initramfs-tools and not snmpd.
What shows Code:


apt-get update dpkg-query -s initramfs-tools

Code:
proxmox0:~# dpkg-query -s initramfs-tools
Package: initramfs-tools
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 412
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Architecture: all
Version: 0.92o
Provides: linux-initramfs-tool
Depends: klibc-utils (>= 1.5.9-1), cpio, module-init-tools, udev (>= 0.086-1), findutils (>= 4.2.24)
Recommends: busybox (>= 1:1.01-3) | busybox-initramfs
Conffiles:
 /etc/initramfs-tools/initramfs.conf 688ffc50c04f13f0b887818cb34c1fe1
 /etc/initramfs-tools/update-initramfs.conf 33a1aebf3e99ab3202b793fde2759ebf
Description: tools for generating an initramfs
 This package contains tools to create and boot an initramfs for packaged 2.6
 Linux kernel. The initramfs is a gzipped cpio archive. At boot time, the
 kernel unpacks that archive into RAM, mounts and uses it as initial root file
 system. The mounting of the real root file system occurs in early user space.
 klibc provides utilities to setup root. Having the root on EVMS, MD, LVM2,
 LUKS or NFS is also supported.
 Any boot loader with initrd support is able to load an initramfs archive.

Any hint if you do an "apt-get upgrade"?

Code:
proxmox0:~# apt-get upgrade
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut       
Lese Status-Informationen ein... Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert

Thank you for help.

Regards,
Erik
 

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!