首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法在raspbian设备上从232-25+deb9u2升级到232-25+deb9u 4。

无法在raspbian设备上从232-25+deb9u2升级到232-25+deb9u 4。
EN

Server Fault用户
提问于 2018-10-10 21:57:01
回答 1查看 290关注 0票数 0

我真正的目标是运行系统日志遥控器,这样我就可以将日志从这个设备发送到远程日志接收器。apt-获取更新/升级显示没有需要升级的包。

代码语言:javascript
复制
$ sudo apt-get install systemd-journal-remote
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 systemd-journal-remote : Depends: systemd (= 232-25+deb9u4) but 232-25+deb9u2 is to be installed
E: Unable to correct problems, you have held broken packages.

$ sudo apt-get install systemd
Reading package lists... Done
Building dependency tree
Reading state information... Done
systemd is already the newest version (232-25+deb9u2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

$ cat /etc/issue
Raspbian GNU/Linux 9 \n \l

$ cat /etc/debian_version
9.4
EN

回答 1

Server Fault用户

回答已采纳

发布于 2018-10-10 22:45:34

我发现了原因。检查/etc/apt/preences.d中以".pref“结尾的文件。在我的例子中,我有一个名为10-somefilename.pref的文件,它将我的所有包保存到它们的初始版本。

票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/934931

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档