大网数据广告活动
服务器运维问答

apt warnings with HP SDR/MCP repo on Ubuntu

· 52CE 我爱测

I'm using the HP SDR system (MCP specifically) for Linux packages to manage the HP hardware RAID, iLo, etc. The kernel drivers for the hardware are upstream, so these are just management utilities. http://downloads.linux.hp.com/S…

问题原文

原帖链接 · roktechie · CC BY-SA 3.0

I'm using the HP SDR system (MCP specifically) for Linux packages to manage the HP hardware RAID, iLo, etc. The kernel drivers for the hardware are upstream, so these are just management utilities.

http://downloads.linux.hp.com/SDR/

deb http://downloads.linux.hp.com/SDR/downloads/mcp/ precise current/non-free

Per the FAQ, you can add an apt key so the repo isn't from an unsigned source.

http://downloads.linux.hp.com/SDR/faq.html

wget http://downloads.linux.hp.com/SDR/downloads/mcp/GPG-KEY-mcp -O - | sudo apt-key add -
apt-key list
/etc/apt/trusted.gpg
--------------------
pub   1024D/437D05B5 2004-09-12
uid                  Ubuntu Archive Automatic Signing Key <[email omitted]>
sub   2048g/79164387 2004-09-12

pub   1024D/FBB75451 2004-12-30
uid                  Ubuntu CD Image Automatic Signing Key <[email omitted]>

pub   4096R/C0B21F32 2012-05-11
uid                  Ubuntu Archive Automatic Signing Key (2012) <[email omitted]>

pub   4096R/EFE21092 2012-05-11
uid                  Ubuntu CD Image Automatic Signing Key (2012) <[email omitted]>

pub   1024D/2689B887 2005-03-11 [expires: 2015-03-09]
uid                  Hewlett-Packard Company (HP Codesigning Service)
sub   2048g/57E5E96D 2005-03-11 [expires: 2015-03-09]
sudo apt-get install hponcfg
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  hponcfg
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/44.0 kB of archives.
After this operation, 164 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  hponcfg
Install these packages without verification [y/N]?

Of course, I can override with -y, but I don't understand why it is saying that the packages can't be authenticated when I've added the proper repo GPG key to my keychain.

Can anyone explain this or how to fix it without telling apt to do something unwise every time?

I noticed that there is no /var/lib/apt/lists/ Release or Release.gpg entry on my system, but they exist in the repo. Perhaps this is the source of the problem?

已采纳解答

原帖链接 · roktechie · CC BY-SA 3.0

Solution: I am a numbskull and should have used the add_repo.sh script provided by HP. I was converting my deb line from an old format provided by their legacy SDR system and failed to notice some format changes. The correct format for the deb line is:

deb http://downloads.linux.hp.com/SDR/repo/mcp/ubuntu/ precise/current non-free

If you use the incorrect version posted above, your Packages will download, but the Release file and corresponding gpg will not.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2014-06-23)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。