Debian中的一些(大多数?)软件包都有标签。 例如: =# apt-cache show squirrelmail | perl -lne 'print if /^Tag:/…/^\S/' Tag: implemented-in::php, interface::web, mail::imap, mail::smtp, mail::user-agent, network::server, protocol::http, protocol::imap, protocol::smtp, role::program, scope::application, use::browsing, use::editing, use::searching, use::transmission, use::viewing, web::TODO, web::application, works-with::mail Section: web 但是,我找不到一个方法,列出给定标签的所有包。 可能吗?
所以我有这个问题: # apt-get update Get:1 http://ftp.us.debian.org etch Release.gpg [1032B] Hit http://ftp.us.debian.org etch Release (…bunch more of this elided…) Hit http://ftp.us.debian.org etch/contrib Sources Fetched 68.8kB in 1s (37.4kB/s) Reading package lists… Done W: There is no public key available for the following key IDs: 9AA38DCD55BE302B W: GPG error: http://ftp.us.debian.org etch Release: The following signatures couldn't be […]
假设您从ssh会话发出apt-get upgrade ,并且要升级的软件包之一是openssh-server。 升级后新的sshd进程是否重新启动? 如果是,会议如何维护? 如果不是,我应该明确重新启动它还是有我缺less的东西?
我想查看哪些软件包可用于更新/升级而不实际更改任何文件,因为有一些软件包,我不想更新。 那么是否可以通过exception来进行更新?
在GUI工具中,您可以获得安全更新的列表包。 这可以在Debian或Ubuntu的命令行上完成吗? 通常我可能会使用“apt-get upgrade”来显示正在升级的内容,但是我想知道哪些是安全更新。
我有一个捕获22试图: # apt-get update [… good lines omitted] W: GPG error: http://backports.debian.org lenny-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA W: GPG error: http://http.us.debian.org stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA W: GPG error: http://ftp.us.debian.org lenny […]
在生产服务器上通过cron运行apt-get update -y是否安全?
我有两个包,每个都创build/ usr / bin / ffprobe。 其中一个是来自Deb Multimedia库的ffmpeg,另一个是从源代码构build的ffmbc 0.7-rc5。 手动的一个是关键业务,我们以前只是从必要的地方安装它。 我只能假设它会打破ffmpeg文件,从来没有任何不良影响。 从理论上讲,我们的ffmbc包可以覆盖ffmpeg包中的文件。 缺点是ffmpeg的更新会覆盖ffmbc二进制文件。 有没有简单的方法来调和呢?
我是一个* .deb的家伙,在pipe理RPM方面我觉得很不舒服。 我习惯在基于debian的服务器上运行apt-get upgrade ,进行“正常”升级和apt-get dist-upgrade以允许内核升级或允许新的主要软件包版本升级。 在我pipe理的CentOS服务器上,我想要有一个类似的function,然而man yum似乎没有提供这样的行为。 而yum upgrade和yum upgrade之间的差异似乎不是我所期待的。 到目前为止,我最好的方法是在/etc/yum.conf添加和删除以下设置: exclude=kernel* 必须有一个更好的方法。 每个build议都会受到欢迎。 编辑: yum的man页面描述和–obsoletes标志对我来说有点神秘。 所以,让我重新说一说我所理解的内容:我是否必须理解yum update不会安装新的内核,因为这意味着标记为当前的内核? 我可以假设yum upgrade与apt-get dist-upgrade相同或几乎相同吗? 编辑2 从apt-get upgrade我最喜欢的是它告诉我哪些包保留,所以我可以采取相应的行动; 或者使用apt-get dist-upgrade或者使用apt-get install package 。 所以在思考一下之后,我现在最好的方法是:禁用yum.conf中的废弃设置(如Steven Pritchard在他的回答中所述 ),并在第一时间yum update 。 一旦安装了所有的更新,运行第二个yum update –obsoletes检查哪些软件包已被保留,并根据其结果行事。 这会工作吗?
在对一些pulseaudio软件包进行更新后,我的麦克风停止工作。 毕竟Karmic仍然在阿尔法。 我已经向启动板报告了这个错误。 在此期间,我想恢复pulseaudio软件包的更新。 不幸的是,没有一个软件包让我selectSynaptic上的“强制版本”选项。 我想删除它们,然后安装旧的软件包,但是删除脉冲意味着删除名为ubuntu-desktop的软件包,恐怕可能会让事情变得更糟。 我很难find旧版本的软件包,但是我最终将每个* .deb下载到了我的机器上。 这些是根据Synaptic历史的更新。 libpulse-browse0 (1:0.9.15-4ubuntu3) to 1:0.9.16~test4-0ubuntu1 libpulse-mainloop-glib0 (1:0.9.15-4ubuntu3) to 1:0.9.16~test4-0ubuntu1 libpulse0 (1:0.9.15-4ubuntu3) to 1:0.9.16~test4-0ubuntu1 pulseaudio (1:0.9.15-4ubuntu3) to 1:0.9.16~test4-0ubuntu1 pulseaudio-esound-compat (1:0.9.15-4ubuntu3) to 1:0.9.16~test4-0ubuntu1 pulseaudio-module-bluetooth (1:0.9.15-4ubuntu3) to 1:0.9.16~test4-0ubuntu1 pulseaudio-module-gconf (1:0.9.15-4ubuntu3) to 1:0.9.16~test4-0ubuntu1 pulseaudio-module-x11 (1:0.9.15-4ubuntu3) to 1:0.9.16~test4-0ubuntu1 pulseaudio-module-zeroconf (1:0.9.15-4ubuntu3) to 1:0.9.16~test4-0ubuntu1 pulseaudio-utils (1:0.9.15-4ubuntu3) to 1:0.9.16~test4-0ubuntu1 pulseaudio-module-udev (1:0.9.16~test4-0ubuntu1) build议?