You are not logged in.

#1 2012-02-08 18:12:28

manish411
Member
Registered: 2012-01-14
Posts: 15

error:target not found sudo

I installed archlinux using VirtualBox on Ubuntu 10.10
After installation when I try to install sudo using pacman I get an error

# pacman -S sudo
error: could not open file /var/lib/pacman/sync/community.db: Failed to open '/var/lib/pacman/sync.community.db
error :target not found sudo

Offline

#2 2012-02-08 18:19:19

desm0tes
Member
From: 127.0.0.1
Registered: 2012-02-04
Posts: 233
Website

Re: error:target not found sudo

do

# pacman Syy

first

Offline

#3 2012-02-08 18:26:32

manish411
Member
Registered: 2012-01-14
Posts: 15

Re: error:target not found sudo

Result

#pacman -Syy
error :failed retrieving file 'community.db' from mirror.rit.edu : No address record
error : failed to update community (No address record)
error :failed to synchronise any database

Offline

#4 2012-02-08 18:32:11

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: error:target not found sudo

Is general network connectivity working from within your Arch install in virtualbox? Try to wget http://mirror.rit.edu/archlinux/communi … mmunity.db


Burninate!

Offline

#5 2012-02-08 18:36:43

manish411
Member
Registered: 2012-01-14
Posts: 15

Re: error:target not found sudo

#wget http://mirror.rit.edu/archlinux/community.db 
wget : unable to resolve hostaddress 'mirror.rit.edu'

Offline

#6 2012-02-08 18:41:57

desm0tes
Member
From: 127.0.0.1
Registered: 2012-02-04
Posts: 233
Website

Re: error:target not found sudo

Obviously you ain't got any network at all.
You can verify it by

ping www.google.de

Ain't sure about VirtualBox and ArchLinux, but you might need the vbox's networking module or the guest additions
Try

# modprobe vboxnetflt

Offline

#7 2012-02-08 18:43:18

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: error:target not found sudo

Could you post the output from the following commands?

#ip addr
#cat /etc/resolv.conf


Burninate!

Offline

#8 2012-02-11 09:57:14

manish411
Member
Registered: 2012-01-14
Posts: 15

Re: error:target not found sudo

I wasnt able to ping but then I ran

$ dhcpcd
$ pacman -Syy

This worked for me and am able to use pacman though I dint understand what the dhcpcd actually did

Last edited by manish411 (2012-02-11 09:57:41)

Offline

Board footer

Powered by FluxBB