0

I wanted to install bluefish editor but I got this error. This is not the first error I got involving packages. I installed Linux Mint 17 two days ago and every time after a reboot there is some kind of problem with packages. Anyone have an idea?

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)

additional info:

sudo apt-get upgrade

as well as

sudo apt-get -f install

run with no error

Edits:

sudo dpkg -C does nothing

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
13
  • 1
    You sure that's all the output? What's the output of sudo dpkg -C? Also df -h
    – Braiam
    Oct 13, 2014 at 20:30
  • Can you try: sudo apt-get -fv install bluefish and post the output?
    – ryekayo
    Oct 13, 2014 at 20:36
  • sudo dpkg -C does nothing
    – Mathis
    Oct 13, 2014 at 20:44
  • @Braiam here's the oitput ofdf -hFilesystem 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
    – Mathis
    Oct 13, 2014 at 20:46
  • 1
    Edit your question and include the output. Nobody can read in comments.
    – Braiam
    Oct 13, 2014 at 20:51

1 Answer 1

1

I suggested (in comments)

Can you download the bluefish-data binary deb package via apt-get download or aptitude download or just from a Debian web page and try installing it with dpkg -i?

The poster replied:

dpkg -i bluefish

gave me this error

dpkg: error: reading package info file
'/var/lib/dpkg/available': Input/output error

This suggests that the problem is almost certainly hardware related. "Input/output error" is not a software error. There is a problem with either the hard disk or the memory.

2
  • Yes it was a disk. Right when I restarted the computer to perform a memtest I wasn't able to boot the disk. Eventually after quite a few attempts I managed to boot from the from the hard drive a save the most valuable data. Thank you for your help
    – Mathis
    Oct 14, 2014 at 15:21
  • @Mathis fyi, you can accept the answer (if it does answer your question) by clicking the tick mark by the answer. Oct 14, 2014 at 18:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.