我想安装 bluefish 编辑器,但出现此错误。这不是我遇到的第一个涉及软件包的错误。我两天前安装了 Linux Mint 17,每次重新启动后,软件包都会出现某种问题。有人有主意吗?
user@username ~ $ sudo apt-get install bluefish
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
bluefish-data bluefish-plugins
Suggested packages:
bluefish-dbg libxml2-utils tidy weblint-perl weblint
The following NEW packages will be installed:
bluefish bluefish-data bluefish-plugins
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2 548 kB of archives.
After this operation, 9 484 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
E: Sub-process /usr/bin/dpkg returned an error code (2)
附加信息:
sudo apt-get upgrade
也
sudo apt-get -f install
运行没有错误
编辑:
sudo dpkg -C
什么也没做
user@username ~ $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda6 161G 14G 140G 9% /
none 4,0K 0 4,0K 0% /sys/fs/cgroup
udev 2,0G 4,0K 2,0G 1% /dev
tmpfs 396M 1,4M 394M 1% /run
none 5,0M 0 5,0M 0% /run/lock
none 2,0G 1,7M 2,0G 1% /run/shm
none 100M 20K 100M 1% /run/user
/dev/sda5 168G 67G 102G 40% /mnt/DATA
user@username ~ $ sudo apt-get -fv install bluefish
apt 1.0.1ubuntu2 for amd64 compiled on Oct 8 2014 12:36:19
Supported modules:
*Ver: Standard .deb
*Pkg: Debian dpkg interface (Priority 30)
Pkg: Debian APT solver interface (Priority -1000)
S.L: 'deb' Standard Debian binary tree
S.L: 'deb-src' Standard Debian source tree
Idx: Debian Source Index
Idx: Debian Package Index
Idx: Debian Translation Index
Idx: Debian dpkg status file
Idx: EDSP scenario file
答案1
我建议(在评论中)
您可以通过或或仅从 Debian 网页下载
bluefish-data
二进制 deb 软件包并尝试使用 进行安装吗?apt-get download
aptitude download
dpkg -i
发帖者回复:
dpkg -i 蓝鱼
给了我这个错误
dpkg:错误:读取包信息文件
“/var/lib/dpkg/available”:输入/输出错误
这表明问题几乎肯定与硬件有关。 “输入/输出错误”不是软件错误。硬盘或内存有问题。