标签: aptitude

debian升级中断,导致perl问题

所以我塞了一个debian的升级,upgrade和dist-upgrade。我更习惯于 yum 但这不是借口。

现在事情变得愚蠢了。大多数事情都有效,但是,我的 bugzilla 安装失败。在加载 bugzilla 时,我收到 500 错误,并记录在 error.log 中;

[Fri Jun 05 12:34:16 2009] [error] [client 172.20.0.160] Can't locate Email/Address.pm in @INC (@INC contains: . /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl) at Bugzilla/Mailer.pm line 48.
[Fri Jun 05 12:34:16 2009] [error] [client 172.20.0.160] BEGIN failed--compilation aborted at Bugzilla/Mailer.pm line 48.
[Fri Jun 05 12:34:16 2009] [error] [client 172.20.0.160] Compilation failed in require at Bugzilla/Token.pm line 35.
[Fri Jun 05 12:34:16 2009] [error] [client 172.20.0.160] BEGIN …
Run Code Online (Sandbox Code Playgroud)

debian bugzilla aptitude perl apt

3
推荐指数
1
解决办法
2603
查看次数

Debian删除了/var/lib/dpkg/info/,有没有办法保存系统?

不小心删除了/var/lib/dpkg/info/,现在我在安装/删除包时遇到问题,它提示错误,导致找不到有关已安装包的信息。

有什么办法可以保存系统或者需要完全重装debian?:/

linux debian aptitude dpkg

3
推荐指数
1
解决办法
7235
查看次数

安装后,找不到命令

每当我按照分步指南进行操作时,都会遇到以下问题:

$ sudo apt-get install something
$ sudo something
No 'something' command found
Run Code Online (Sandbox Code Playgroud)

安装了一些东西,我可以在运行“updatedb”后通过“locate”找到它。但由于某种原因,它没有被添加到 PATH 中。这是正常行为吗?

我在 Ubuntu 10 服务器版盒子(虚拟盒子)上

linux ubuntu aptitude

2
推荐指数
1
解决办法
1446
查看次数

debian挤压上异常大量的安全升级包

我们的一个运行 Debian Etch Squeeze (6.0.7) 并且我们定期维护安全升级(通常每周只有几个安全升级包)的网络服务器现在显示异常高数量的可用安全升级包:

284 packages upgraded, 113 newly installed, 51 to remove and 421 not upgraded.
Run Code Online (Sandbox Code Playgroud)

怎么了?Debian 可能会强迫 Etch 用户升级到 Lenny 吗?

有任何想法吗?


编辑:服务器正在运行 Squeeze,而不是 Etch。在我们的内部 wiki 中查找了错误的页面。

# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 6.0.7 (squeeze)
Release:        6.0.7
Codename:       squeeze
Run Code Online (Sandbox Code Playgroud)

因此,@ptman 是对的:/etc/apt/sources.list指出stable从现在开始(2013 年 5 月 4 日)是 Debian Wheezy而不再是Squeeze ...

要获得 6.0.7 的安全升级,需要编辑/etc/apt/sources.list并替换stableoldstable.

debian aptitude debian-squeeze

2
推荐指数
1
解决办法
188
查看次数

排除 apt-get 更新的源文件

我使用特定命令来检查安全更新:

/usr/bin/apt-get update -o Dir::Etc::SourceList=/etc/apt/security.sources.list
Run Code Online (Sandbox Code Playgroud)

但是在执行时它使用/etc/apt/sources.list.d/ 中的源文件。所以我希望这个命令读取指定的源文件。怎么做 ?

aptitude apt

2
推荐指数
1
解决办法
1044
查看次数

从 debian wheezy backports 安装 git:无论如何我看到旧的包版本

我需要安装 git 1.8.* 版本。

  1. 我将向后移植添加到我的 sources.list 中;
  2. 通过apt-get remove git;删除当前安装的 git
  3. 执行apt-get update以更新我的包列表
  4. aptitude show git 仍然显示 Version: 1:1.7.10.4-1+wheezy1

我在做什么错?

这是我的 /etc/apt/sources.list:

deb http://ftp.de.debian.org/debian/ wheezy main
deb-src http://ftp.de.debian.org/debian/ wheezy main

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main

# wheezy-updates, previously known as 'volatile'
deb http://ftp.de.debian.org/debian/ wheezy-updates main
deb-src http://ftp.de.debian.org/debian/ wheezy-updates main

# deb multimedia
deb http://www.deb-multimedia.org wheezy main non-free

# wheezy backpors
deb http://ftp.de.debian.org/debian wheezy-backports main
Run Code Online (Sandbox Code Playgroud)

PS我也尝试执行apt-get install git --reinstall,但没有效果-版本仍然是1.7

PPS 是的,我确定它应该是 1.8。在向后移植: …

debian aptitude git apt debian-wheezy

2
推荐指数
1
解决办法
4294
查看次数

如何安装本地 .deb 文件

我正在尝试在 debian Lenny 中安装最新版本的 maatkit。我找不到最新版本的存储库,所以我得到了 .deb 文件。问题是如何安装这个文件?man aptitude 没有给我任何线索。

存储库将是理想的解决方案。如果你知道一个带有 php 5.3 的存储库,那就加分了

debian aptitude maatkit

1
推荐指数
1
解决办法
987
查看次数

更改 apt-get/aptitude 的区域设置/语言

我有一个 Debian 系统,尽管我将默认语言环境设置为 en_US.utf8,但 aptitude 会在该系统上生成德语消息。有没有办法改变它?我更喜欢英文信息。

安德烈

debian localization aptitude language apt

1
推荐指数
1
解决办法
5014
查看次数

我改了/etc/apt/sources.list后...为什么不生效?

我必须重新启动某些东西吗?

编辑: sudo apt-get update 无效。

当我使用 SAME sources.list 在另一台机器上搜索它时,它可以工作。但是,它仍然不能在这台机器上工作。

sudo aptitude search sun-java6-jdk
Run Code Online (Sandbox Code Playgroud)

linux unix aptitude

1
推荐指数
1
解决办法
6882
查看次数

Debian 蚀刻 apt-get 问题

我是 Linux 领域的新手。我有一个 linux 盒子,上面写着内核版本是 2.6.18-4-amd64。它已经工作了很长时间。我需要在盒子上安装 subversion,因此我尝试了 apt-get。但收到以下内容:

The following extra packages will be installed:
  libneon26 libsvn1
Suggested packages:
  subversion-tools db4.4-util
The following NEW packages will be installed:
  libneon26 libsvn1 subversion
0 upgraded, 3 newly installed, 0 to remove and 88 not upgraded.
Need to get 1802kB of archives.
After unpacking 5263kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Fetched 1802kB in 1s (1001kB/s)
W: Couldn't stat source package list http://archive.debian.org etch/main Packages …
Run Code Online (Sandbox Code Playgroud)

debian svn aptitude debian-etch apt

1
推荐指数
1
解决办法
714
查看次数

为什么我不能在 Ubuntu 中通过“sudo aptitude”安装 Java?

$ sudo aptitude install sun-java6-jdk
[sudo] password for fal:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
No candidate version found for sun-java6-jdk
No candidate version found for sun-java6-jdk
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 41 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package …
Run Code Online (Sandbox Code Playgroud)

unix installation java aptitude

0
推荐指数
1
解决办法
1548
查看次数

无法使用 aptitude 安装 MYSQL...谁能告诉我为什么?

在此之后它只是停止并冻结。

 The following packages will be upgraded:
      libmysqlclient15off mysql-client mysql-client-5.0 mysql-common
    4 packages upgraded, 4 newly installed, 0 to remove and 49 not upgraded.
    Need to get 38.0MB of archives. After unpacking 91.1MB will be used.
    Do you want to continue? [Y/n/?] y
    Writing extended state information... Done
    Get:1 http://archive.ubuntu.com jaunty-updates/main mysql-common 5.1.30really5.0                                                       .75-0ubuntu10.2 [62.9kB]
    Get:2 http://archive.ubuntu.com jaunty-updates/main mysql-client 5.1.30really5.0                                                       .75-0ubuntu10.2 [55.0kB]
    Get:3 http://archive.ubuntu.com jaunty-updates/main libmysqlclient15off 5.1.30re                                                       ally5.0.75-0ubuntu10.2 [1878kB]
    Get:4 http://archive.ubuntu.com jaunty-updates/main mysql-client-5.0 5.1.30reall                                                       y5.0.75-0ubuntu10.2 [8292kB]
    Get:5 http://archive.ubuntu.com jaunty-updates/main mysql-server-core-5.0 …
Run Code Online (Sandbox Code Playgroud)

mysql linux unix installation aptitude

0
推荐指数
1
解决办法
2643
查看次数

为什么我不能完全卸载mysql?看!它还在那里

root@db2:/var/log/mysql# aptitude remove mysql-server --purge
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... …
Run Code Online (Sandbox Code Playgroud)

mysql linux unix database aptitude

0
推荐指数
1
解决办法
684
查看次数