【问题标题】:Cannot install python bottle on linux无法在 linux 上安装 python Bottle
【发布时间】:2013-12-16 23:11:25
【问题描述】:

我在 Linux 上安装 python bottle 框架时遇到问题。这是我从uname -a得到的信息:

Linux magzilla 3.2.0-38-generic #61-Ubuntu SMP 2 月 19 日星期二 12:18:21 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

我已经在上面安装了python 2.7.3pip。他们都设置成功。下载bottle 0.11 框架后,我尝试使用sudo apt-get install python-bottle 安装它,结果如下:

sudo apt-get install python-bottle Reading package lists... Done
Building dependency tree        Reading state information... Done You
might want to run 'apt-get -f install' to correct these: The following
packages have unmet dependencies:  linux-server : Depends:
linux-headers-server (= 3.2.0.39.47) but 3.2.0.53.63 is to be
installed E: Unmet dependencies. Try 'apt-get -f install' with no
packages (or specify a solution).
root@magzilla:/home/llina/bottle-0.11.6# sudo apt-get install
python-bottle Reading package lists... Done Building dependency tree  
Reading state information... Done You might want to run 'apt-get -f
install' to correct these: The following packages have unmet
dependencies:  linux-server : Depends: linux-headers-server (=
3.2.0.39.47) but 3.2.0.53.63 is to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

然后我尝试了apt-get -f install,但得到了以下结果。有没有人知道可能发生的事情?


Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.2.0-32 linux-headers-3.2.0-33 linux-headers-3.2.0-34
  linux-headers-3.2.0-35 linux-headers-3.2.0-36 linux-headers-3.2.0-34-generic
  linux-headers-3.2.0-32-generic linux-headers-3.2.0-35-generic
  linux-headers-3.2.0-33-generic linux-headers-3.2.0-36-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  linux-headers-server linux-image-3.2.0-57-generic linux-image-server
  linux-server
Suggested packages:
  fdutils linux-doc-3.2.0 linux-source-3.2.0 linux-tools
The following NEW packages will be installed:
  linux-image-3.2.0-57-generic
The following packages will be upgraded:
  linux-headers-server linux-image-server linux-server
3 upgraded, 1 newly installed, 0 to remove and 603 not upgraded.
14 not fully installed or removed.
Need to get 0 B/38.6 MB of archives.
After this operation, 150 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 577932 files and directories currently installed.)
Unpacking linux-image-3.2.0-57-generic (from .../linux-image-3.2.0-57-generic_3.2.0-57.87_amd64.deb) ...
Done.
dpkg: error processing /var/cache/apt/archives/linux-image-3.2.0-57-generic_3.2.0-57.87_amd64.deb (--unpack):
 failed in write on buffer copy for backend dpkg-deb during `./boot/vmlinuz-3.2.0-57-generic': No space left on device
No apport report written because MaxReports is reached already
                                                              dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-57-generic /boot/vmlinuz-3.2.0-57-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.2.0-57-generic /boot/vmlinuz-3.2.0-57-generic
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-3.2.0-57-generic_3.2.0-57.87_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

【问题讨论】:

    标签: python bottle


    【解决方案1】:

    “设备上没有剩余空间”

    您的分区可能已满。

    看到这个: https://askubuntu.com/questions/317763/apt-get-no-space-left-on-device-12-04

    【讨论】:

      猜你喜欢
      • 2015-08-19
      • 1970-01-01
      • 2014-12-03
      • 2011-02-26
      • 2012-08-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多