- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: hp-smh-templates installation error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2015 04:24 AM
01-10-2015 04:24 AM
hp-smh-templates installation error
Hi. I tried to install hp-smh-templates on my ubuntu 14.04 LTS server but I am getting the error message below.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
hp-smh-templates
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
2 not fully installed or removed.
Need to get 0 B/5,077 kB of archives.
After this operation, 12.9 MB of additional disk space will be used.
(Reading database ... 57563 files and directories currently installed.)
Preparing to unpack .../hp-smh-templates_9.5.0.1.2-4._all.deb ...
Unpacking hp-smh-templates (9.5.0.1.2-4.) ...
dpkg: error processing archive /var/cache/apt/archives/hp-smh-templates_9.5.0.1.2-4._all.deb (--unpack):
trying to overwrite '/opt/hp/hpsmh/data/htdocs/smhutil/snmpchp.php.en', which is also in package hpsmh 7.3.2-1.5-2.
Processing triggers for man-db (2.6.7.1-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/hp-smh-templates_9.5.0.1.2-4._all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Has anyone ever encountered this error?
Thanks
- Tags:
- SMH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2015 10:11 PM
02-03-2015 10:11 PM
Re: hp-smh-templates installation error
Same here when trying to apt-get upgrade.
Vorbereitung zum Entpacken von .../hp-smh-templates_9.5.0.1.2-4._all.deb ...
Entpacken von hp-smh-templates (9.5.0.1.2-4.) über (9.4.0.1.1-1.) ...
dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/hp-smh-templates_9.5.0.1.2-4._all.deb (--unpack):
Versuch, »/opt/hp/hpsmh/data/htdocs/smhutil/snmpchp.php.en« zu überschreiben, welches auch in Paket hpsmh 7.3.2-1.5-2. ist
Trigger für man-db (2.6.7.1-1ubuntu1) werden verarbeitet ...
Fehler traten auf beim Bearbeiten von:
/var/cache/apt/archives/hp-smh-templates_9.5.0.1.2-4._all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
No solution found yet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2015 01:25 AM
04-17-2015 01:25 AM
Re: hp-smh-templates installation error
Has anyone found a workaround for the issue?
For instance uninstalling the current packages and installing older versions? Maybe someone's done a fully manual installation from the repository, by downloading the .deb and not involving apt.
Does anyone got information on when to expect a fix for the issue from HP?
I'm not sure if this is because of the faulty hp-smh-templates package, but I cannot choose snmp as data source, so there are no items in smh. Is this also your experience?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2015 08:35 AM
05-01-2015 08:35 AM
Re: hp-smh-templates installation error
I had the same issue and consequently no items in the SMH. I tried downloading the .deb and installing using dpkg not apt but had the same error. The trick is to force the overwrite:
sudo dpkg -i --force-overwrite hp-smh-templates_9.5.0.1.2-4._all.deb
sudo apt-get -f install
Then restart the smh:
sudo service hpsmhd restart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2015 01:12 AM
05-07-2015 01:12 AM
Re: hp-smh-templates installation error
Cheers Dominic!
This workaround worked perfectly. All sensors are now showing in SMH. So until the packages are updated correctly, this is how to get around the issue.
Many thanks!