无法在linux上安装python瓶

时间:2013-12-16 23:11:26

标签: python bottle

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

  

Linux magzilla 3.2.0-38-generic#61-Ubuntu SMP Tue Feb 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)

1 个答案:

答案 0 :(得分:5)

“设备上没有剩余空间”

您的分区可能已满。

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