[ERROR] sudo apt-get -f install not working

Asked by bloodzombie

Hi
sorry for the time
but i had problem which make me crazy, i newer in "backtrack5r3"
i still learning in but every step facing me a problem, thats one of them
when i type this command
" sudo apt-get -f install " shows me that:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libcups2-dev python-ldap dnet-common libntfs10 x11proto-xext-dev
  libtasn1-3-dev libdmraid1.0.0.rc16 libgpg-error-dev libtest-exception-perl
  x11proto-render-dev python-pyicu libgcrypt11-dev libextractor-plugins
  librpmio0 librpm0 libxrender-dev rpm-common libaccess-bridge-java-jni
  libaccess-bridge-java libdebian-installer4 libpng12-dev libtext-csv-xs-perl
  libfontconfig1-dev cryptsetup libecryptfs0 reiserfsprogs rdate
  libxcursor-dev libqt4-gui libgnutls-dev bogl-bterm x11proto-randr-dev
  libxext-dev libtiff4-dev libfreetype6-dev x11proto-fixes-dev
  libextractor1c2a extract fancontrol python-extractor ldap-utils libtiffxx0c2
  ecryptfs-utils libxrandr-dev libdebconfclient0 rubygems1.8 libfox-1.6-0
  libfox-1.6-dev libxft-dev dmraid libsub-uplevel-perl libxfixes-dev perl-doc
  libmpeg2-4
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
3 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up hdparm (9.39-1+b1) ...
insserv: warning: script 'K01framework-postgres' missing LSB tags and overrides
insserv: warning: script 'K01metasploit-postgres' missing LSB tags and overrides
insserv: Service mountdevsubfs has to be enabled to start service hdparm
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing hdparm (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up rubygems (1.8.24-1) ...
update-alternatives: error: alternative gem can't be master: it is a slave of ruby
dpkg: error processing rubygems (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of rubygems1.8:
 rubygems1.8 depends on rubygems; however:
  Package rubygems is not configured yet.
dpkg: error processing rubygems1.8 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 hdparm
 rubygems
 rubygems1.8
E: Sub-process /usr/bin/dpkg returned an error code (1)

& there is some command show me the similar error like " sudo apt-get install language-pack-en "
please help
Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
arochester (arochester) said :
#1

Backtrack is not dealt with here. This site is for and about *buntu. O.K Backtrack might be "based" on Ubuntu, but it is different.

Backtrack has been replaced bu Kali Linux (the latter based on Debian and not *buntu)

Even the Backtrack Forums are years out of date.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Please post on the Backtrack Linux forums.

Can you help with this problem?

Provide an answer of your own, or ask bloodzombie for more information if necessary.

To post a message you must log in.