Government Security
Network Security Resources

Jump to content

Photo

Need Help With Bt4

security scanner cache
  • Please log in to reply
9 replies to this topic

#1 DrVictor

DrVictor

    Private

  • Members
  • 11 posts

Posted 18 January 2011 - 02:07 PM

Hey all!
Am trying to do an: apt-get -f install, and this error is what i get:

victor@bt:~$ sudo apt-get -f install
[sudo] password for victor:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  openvas-scanner
The following NEW packages will be installed:
  openvas-scanner
0 upgraded, 1 newly installed, 0 to remove and 82 not upgraded.
38 not fully installed or removed.
Need to get 0B/212kB of archives.
After this operation, 926kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 226712 files and directories currently installed.)
Unpacking openvas-scanner (from .../openvas-scanner_3.1.1-bt0_i386.deb) ...
dpkg-deb (subprocess): unable to execute data (xz): No such file or directory
dpkg-deb: subprocess <decompress> returned error exit status 2
dpkg: error processing /var/cache/apt/archives/openvas-scanner_3.1.1-bt0_i386.deb (--unpack):
 subprocess dpkg-deb --fsys-tarfile returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/openvas-scanner_3.1.1-bt0_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


So i tried: sudo dpkg -i --force-overwrite /var/cache/apt/archives/openvas-scanner_3.1.1-bt0_i386.deb
and i get this:


victor@bt:~$ sudo dpkg -i --force-overwrite /var/cache/apt/archives/openvas-scanner_3.1.1-bt0_i386.deb
(Reading database ... 226712 files and directories currently installed.)
Unpacking openvas-scanner (from .../openvas-scanner_3.1.1-bt0_i386.deb) ...
dpkg-deb (subprocess): unable to execute data (xz): No such file or directory
dpkg-deb: subprocess <decompress> returned error exit status 2
dpkg: error processing /var/cache/apt/archives/openvas-scanner_3.1.1-bt0_i386.deb (--install):
 subprocess dpkg-deb --fsys-tarfile returned error exit status 2
Errors were encountered while processing:

 /var/cache/apt/archives/openvas-scanner_3.1.1-bt0_i386.deb


I also tried deleting the "openvas-scanner_3.1.1-bt0_i386.deb" file and still AM STUCK.

I've searched google many times but no luck.
So guys, u are my last hope and resort :blink: can u help me with this issue, please?

Knowledge is Power!

#2 bonarez

bonarez

    Retired GSO Second Lieutenant

  • Sergeant Major
  • 1,252 posts

Posted 19 January 2011 - 10:21 AM

there seems to be a dependency problem between the openvas package and the kernel version

/http://www.backtrack-linux.org/forums/backtrack-howtos/35208-upgrading-backtrack-4-final-r1-backtrack-r2-2.html#post185009

what OS are you using? what kernel?

uname -a


"Ask the right question and you will receive the right answer. I'm just very sensitive about the right syntax"

Read the rules before you post

#3 Glyph

Glyph

    General of the Army

  • GSO Management
  • 1,603 posts

Posted 20 January 2011 - 04:28 AM

Ok.. best guess.
First your trying to install only a piece of the OpenVAS suite. To whit, the scanner.
There's a bunch more to the suite.
However, I'd approach it like this: apt-get install openvas*
That 'should' install the entire suite and put it in your menu system.
Standard Disclaimer: Your Mileage May Vary.
Regards.

#4 DrVictor

DrVictor

    Private

  • Members
  • 11 posts

Posted 21 January 2011 - 02:09 PM

what OS are you using? what kernel?

Linux bt 2.6.30.9 #1 SMP Tue Dec 1 21:51:08 EST 2009 i686 GNU/Linux

Ok.. best guess.First your trying to install only a piece of the OpenVAS suite. To whit, the scanner.
There's a bunch more to the suite.
However, I'd approach it like this: apt-get install openvas*
That 'should' install the entire suite and put it in your menu system.
Standard Disclaimer: Your Mileage May Vary.

Regards.


error:
victor@bt:/$ sudo apt-get install openvas*
[sudo] password for victor:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting openvas-libnasl for regex 'openvas*'
Note, selecting openvas-scanner for regex 'openvas*'
Note, selecting openvas-menu for regex 'openvas*'
Note, selecting openvas-client for regex 'openvas*'
Note, selecting openvas-manager for regex 'openvas*'
Note, selecting openvas-cli for regex 'openvas*'
Note, selecting openvas-plugins for regex 'openvas*'
Note, selecting openvas_libraries for regex 'openvas*'
Note, selecting openvas-server for regex 'openvas*'
Note, selecting openvas-libraries for regex 'openvas*'
Note, selecting openvas-administrator for regex 'openvas*'
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  openvas-administrator: Depends: gnutls-dev
                     	Depends: cmake (>= 2.6.0) but it is not going to be installed
                     	Depends: uuid-dev but it is not going to be installed
                     	Depends: doxygen but it is not going to be installed
  openvas-manager: Depends: gnutls-dev
               	Depends: cmake (>= 2.6.0) but it is not going to be installed
               	Depends: uuid-dev but it is not going to be installed
               	Depends: doxygen but it is not going to be installed
               	Depends: doxygen but it is not going to be installed
               	Depends: xmltoman but it is not going to be installed
               	Depends: sqlfairy but it is not going to be installed
               	Depends: texlive-latex-base but it is not going to be installed
               	Depends: alien but it is not going to be installed
  openvas-menu: Conflicts: openvas-plugins (<= 1.0.7-bt0) but 1.0.7-bt0 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Thnx for replying.
Knowledge is Power!

#5 Glyph

Glyph

    General of the Army

  • GSO Management
  • 1,603 posts

Posted 21 January 2011 - 07:40 PM

You should probably update to r2 since you're running bt4final.
The repositories are built around r2 and bt4final is no longer supported.
That aside, you could join irc.freenode.net #backtrack-linux and ask for help there.
Regards.

#6 bonarez

bonarez

    Retired GSO Second Lieutenant

  • Sergeant Major
  • 1,252 posts

Posted 22 January 2011 - 12:46 AM

Linux bt 2.6.30.9 #1 SMP Tue Dec 1 21:51:08 EST 2009 i686 GNU/Linux

apt-get update
apt-cache search linux-image

"Ask the right question and you will receive the right answer. I'm just very sensitive about the right syntax"

Read the rules before you post

#7 DrVictor

DrVictor

    Private

  • Members
  • 11 posts

Posted 22 January 2011 - 10:56 AM

Linux bt 2.6.30.9 #1 SMP Tue Dec 1 21:51:08 EST 2009 i686 GNU/Linux

apt-get update
apt-cache search linux-image


i get this:
[size=1]victor@bt:~$ sudo apt-get update[/size]
[sudo] password for victor:
Hit http://archive.offensive-security.com pwnsauce Release.gpg
Ign http://archive.offensive-security.com pwnsauce/main Translation-en_US
Ign http://archive.offensive-security.com pwnsauce/microverse Translation-en_US
Ign http://archive.offensive-security.com pwnsauce/macroverse Translation-en_US
Ign http://archive.offensive-security.com pwnsauce/restricted Translation-en_US
Ign http://archive.offensive-security.com pwnsauce/universe Translation-en_US
Ign http://archive.offensive-security.com pwnsauce/multiverse Translation-en_US
Hit http://archive.offensive-security.com pwnsauce Release
Hit http://archive.offensive-security.com pwnsauce/main Packages
Hit http://archive.offensive-security.com pwnsauce/microverse Packages
Hit http://archive.offensive-security.com pwnsauce/macroverse Packages
Hit http://archive.offensive-security.com pwnsauce/restricted Packages
Hit http://archive.offensive-security.com pwnsauce/universe Packages
Hit http://archive.offensive-security.com pwnsauce/multiverse Packages
Reading package lists... Done
victor@bt:~$ sudo apt-cache search linux-image
alsa-base - ALSA driver configuration files
linux-image - Linux Kernel META PACKAGE
linux-image-2.6.35.8 - Linux kernel binary image for version 2.6.35.8
rt2570-source - source for rt2570 wireless network driver
rt2400-source - source for rt2400 wireless network driver
rt2500-source - source for rt2500 wireless network driver
[size=1]linux-image-2.6.30.9 - Linux kernel binary image for version 2.6.30.9[/size]

Knowledge is Power!

#8 DrVictor

DrVictor

    Private

  • Members
  • 11 posts

Posted 22 January 2011 - 11:00 AM

You should probably update to r2 since you're running bt4final.
The repositories are built around r2 and bt4final is no longer supported.
That aside, you could join irc.freenode.net #backtrack-linux and ask for help there.
Regards.


I'll DL the updated version and hope that the problem gets solved, i'll keep you posted.
Thanks for the help.
Knowledge is Power!

#9 bonarez

bonarez

    Retired GSO Second Lieutenant

  • Sergeant Major
  • 1,252 posts

Posted 23 January 2011 - 01:30 AM

linux-image - Linux Kernel META PACKAGE
linux-image-2.6.35.8 - Linux kernel binary image for version 2.6.35.8

exactly! 2.6.35.8 != 2.6.30.9

I'll DL the updated version and hope that the problem gets solved, i'll keep you posted.
Thanks for the help.

Or you could just read up on how to upgrade your current install

/http://www.backtrack-linux.org/wiki/index.php/Upgrading
"Ask the right question and you will receive the right answer. I'm just very sensitive about the right syntax"

Read the rules before you post

#10 sajid89

sajid89

    Private

  • Members
  • 9 posts

Posted 24 April 2012 - 08:55 PM

You should probably update to r2 since you're running bt4final.
The repositories are built around r2 and bt4final is no longer supported.
That aside, you could join irc.freenode.net #backtrack-linux and ask for help there.
Regards.





Also tagged with one or more of these keywords: security, scanner, cache