2013-12-16 72 views
0

我在Linux上安裝python bottle框架時遇到問題。下面是我從uname -a得到的信息:無法在Linux上安裝python瓶

的Linux magzilla 3.2.0-38泛型#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). 
[email protected]:/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) 

回答