Using chroot--> Pcman error--> few packages not found

Ask questions about Arch Linux ARM. Please search before making a new topic.

Using chroot--> Pcman error--> few packages not found

Postby Yodha » Sat Sep 14, 2013 7:17 pm

I want to perform pentest on my home wifi network to learn more about security.

so I need command line tools(without GUI since GUI bugs are annoying)
like : aircrack, nmap, nslookup, arp, tor

I installd terminal versiono of the arch linux;
Tried installing aircrack0ng from AUR( using pacman)
got error sqlite not found error 404;

instlld lynx, links, elinks(web browser supporting js)
got message from the website unabelt ot download source code because js is disabled by yoru browser;

tried installing GUI(I have limited space of 836MB)
via pacman -S xorg;
accepted default installation of 56+ packages
got severe error many of those packages are not found(404); GUI not installd;

I can't edit the image file as in my Smartphone the image file appers as single file.

I want to perform pen-test on my home wifi network to learn more about security.

so I need command line tools(without GUI since GUI bugs are annoying)
like : aircrack, nmap, nslookup, arp, tor;
with the instillation as minimal as possible of the base system.( I am ready to uninstall modules if required)

Please help.
Yodha
 
Posts: 6
Joined: Fri Sep 13, 2013 3:11 am

Re: Using chroot--> Pcman error--> few packages not found

Postby WarheadsSE » Sat Sep 14, 2013 9:23 pm

Looks like you need to make sure you package lists are up to date, and that you have your chroot setup to work with the network.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Using chroot--> Pcman error--> few packages not found

Postby pepedog » Sun Sep 15, 2013 12:12 am

Maybe /etc/resolve.conf needs to be copied over into chroot?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Using chroot--> Pcman error--> few packages not found

Postby WarheadsSE » Sun Sep 15, 2013 3:20 pm

once it is basically work, use usr/bin/arch-chroot <dir> if possible. This takes such annoyances into account.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Using chroot--> Pcman error--> few packages not found

Postby Yodha » Tue Sep 17, 2013 10:24 am

"Looks like you need to make sure you package lists are up to date, and that you have your chroot setup to work with the network."
(Sorry, I am not that experinced correct me If I understood this wrongly)
I am using pacman-db-upgrade command to upgrade pacman databases and then trying to install, alas!! Even I manually browsed the AUR repositories(Using firefox in my laptop) and I was unable to download repositories.

I have manually edited the pacman db lists earlier, So somehow If you can suggest the repositories which are working I can go ahead and look to add them and try.

I think I can compile source code in the terminal.

Here is a few things I would like to share with you: What I am doing is this:
viewtopic.php?f=9&t=6149 (This is my post, I have posted an extensive refernce over the installation)
(If that helps)

And I am using SSh clients to login to Arch shell and I am able to download and install packges. Arch linux is installd on chroot (Via linux deploy) So I guess my chroot works fine(Correct me here as I do not have much knowledge on this(Please Provide hints so that I can shorten the time I spend browsing and learn myself))

//Maybe /etc/resolve.conf needs to be copied over into chroot?//

Didn't got ie properly, i do have the file in the /etc directory. But didn't got the copiying part. I do not have chroot folder. Or I have to create one in the chroot partition(Which I access via SSH cliets) which I am using??

//once it is basically work, use usr/bin/arch-chroot <dir> if possible. This takes such annoyances into account.//
Ok didn't got that at all, Under usr/bin I don't have that binary(arch-chroot) and I failed to look for tht binary in the internet. Please make it a little more dumber for me. Sorry for that but It might take a little while for me to understat that
Yodha
 
Posts: 6
Joined: Fri Sep 13, 2013 3:11 am

Re: Using chroot--> Pcman error--> few packages not found

Postby Yodha » Tue Sep 17, 2013 10:26 am

//Even I manually browsed the AUR repositories(Using firefox in my laptop) and I was unable to download repositories.//

Sorry not repositories but the packages
Yodha
 
Posts: 6
Joined: Fri Sep 13, 2013 3:11 am

Re: Using chroot--> Pcman error--> few packages not found

Postby WarheadsSE » Tue Sep 17, 2013 2:08 pm

If it is already managing to get to the network, then just
$this->bbcode_second_pass_code('', 'pacman -Syy')
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Using chroot--> Pcman error--> few packages not found

Postby Yodha » Wed Sep 18, 2013 2:56 pm

Got it, Ran pacman -Syy two times. and finally got the aircrack-ng installd.


Thanks a lot for your help. :-)
Yodha
 
Posts: 6
Joined: Fri Sep 13, 2013 3:11 am


Return to User Questions

Who is online

Users browsing this forum: No registered users and 6 guests