Please help me to install XSSer ?

alpha5
9 years ago | edited 9 years ago

0

Hi.
I try for a few days to install XSSer under Colinux because I use a Windows computer that is not mine and so I can not afford to install “Kali” on this computer because it’s not for me and why I decided to just install Colinux to run Linux commands.
After successfully installing the tools required by XSSer (Python, Python-curl, Python, beautifulsoup, Python and Python-Libxml2-geoip), I have now decided to install XSSer itself but I can not get the ‘set up.

I first managed to unzip XSSer:

[b]root@ubuntu:/usr/local/src# tar xzvf xsser-1.6_all.deb.tar.gz
xsser-1.6_all.deb[/b] [/quote]

Then I fail when I try to install it with sudo dpkg -i xsser-1.6_all.deb:

[quote]root@ubuntu:/usr/local/src# sudo dpkg -i xsser-1.6_all.deb
[b]Selecting previously deselected package xsser.
(Reading database … 12231 files and directories currently installed.)
Unpacking xsser (from xsser-1.6_all.deb) … [/b]
dpkg: error processing xsser-1.6_all.deb (–install):
[b]ailed in buffer_write(fd) (10, ret=-1): backend dpkg-deb during `./opt/xsser/doc/MANIFESTO': Operation not permitted
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing: xsser-1.6_all.deb[/b]
root@ubuntu:/usr/local/src#

How to successfully install XSSer without difficulty, for I have only used the command sudo dpkg -i xsser-1.6_all.deb but without success ???
So please help me install XSSer under Colinux.

9replies
5voices
1,328views
tl0tr
9 years ago

0

Try aptitude command.

Mr. Cyph3r [MrCyph3r]
9 years ago

0

Well, first thing when you are root it is not necessary to use the sudo command since it is used to perform tasks as root…

Basically the issue here is that you are not allowed to write into ‘./opt/xsser/doc/MANIFESTO’.
I’m not sure how to proceed since I don’t use ubuntu but I’d try to install the package from the root directory (‘/’), in fact from what I see you are trying to write on /usr/local/src/opt/xsser/doc/‘.

There is a little bit of discrepancy here, usually /usr/local is where you install files built by the administrator (by using make) or programs outside the scope of your package manager, because they needs to be safe from being overwritten when the system software is updated.
And /opt is where you store third party software that doesn’t rely on any dependencies outside the scope of the software itself (at least according to the Filesystem Hierarchy Standard).

So, first thing I would do is to try the installation from the root directory, if that doesn’t work it may be that the package is corrupted… if that’s the case you can download it again and retry.

If all of that doesn’t work you still have the choice to compile it and install from source.

tl0tr
9 years ago

0

You can also check if the package is in the repo

sudo apt-cache search xsser

If it is there then you can install it from there using

sudo apt-get install <<package name>>

dloser
9 years ago

1

Hi @alpha5**! Back again with yet another new account? Why do you keep creating accounts for every question?

In any case, dpkg gives you the problem, so perhaps check the permissions of that /opt/.. directory. It’s probably some problem due to using Colinux. You could also just use the source package instead of the package.

@MrCyph3r**: The “./‘” doesn’t mean it is installing in the directory you are running dpkg from, it’s probably just how the paths are stored in the package. One can run dpkg from any directory.

nakee
9 years ago

0

isn’t it a lot easier to do all those things using virtual machine rather than colinux?
BTW a lot of times it’s easier to just open the deb with dpkg -X if I recall correctly.
And then to figure out the dependencies. If it is a python package using virtualenv and pip might be easier than apt-get

Mr. Cyph3r [MrCyph3r]
9 years ago

0

[quote=dloser]MrCyph3r: The “./‘” doesn’t mean it is installing in the directory you are running dpkg from, it’s probably just how the paths are stored in the package. One can run dpkg from any directory.[/quote]

Oh cool… I have to admit that I don’t know the inner working of deb packages and so I was relying on that ‘./’, lol my fault :)
Thank you very much for your clarification man.

alpha5
9 years ago

0

ok great thank for you.

nakee
9 years ago

0

alpha what worked for you in the end?
it’s better to post the solution for the next person having the same issue

alpha5
9 years ago

0

I finally managed to install Debian XSSer under Colinux and control DPKP walking the above as you had advised me.
Before I installed Ubuntu Colinux so dpkg did not work but now I have uninstalled and reinstalled Ubuntu Colinux Colinux again but with Debian.

So thank you.

You must be logged in to reply to this discussion. Login
1 of 10

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss