You are not logged in.

#1 2014-03-04 14:27:12

ErraticFox
Member
Registered: 2014-03-04
Posts: 18

[SOLVED] Installing sudo

Hello, I was wondering why I'm getting loads of errors when I try to install sudo with pacman -S sudo? I've done pacman -Syu to try to update and it gives me another load of errors. Why is this?

Last edited by ErraticFox (2014-03-04 15:59:46)

Offline

#2 2014-03-04 14:30:57

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

Re: [SOLVED] Installing sudo

I suggest giving this thread a read.


Burninate!

Offline

#3 2014-03-04 14:39:00

ErraticFox
Member
Registered: 2014-03-04
Posts: 18

Re: [SOLVED] Installing sudo

Gcool wrote:

I suggest giving this thread a read.

I do usually try to be as descriptive as possible, but it's on a Virtual Machine so I cannot copy and paste the error because I haven't installed a DE or WM. I'll take a screen shot of the little screen it shows of like half the error. That's all I can do though. So this is what happens when I type in pacman -S sudo:
6OmMpCe.png

Offline

#4 2014-03-04 14:45:25

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] Installing sudo

Even in cases like this there are better options. You could redirect the command output to a file on a network share, vbox share or passthrough USB.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#5 2014-03-04 14:48:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Installing sudo

Do you have a working network?

Offline

#6 2014-03-04 14:55:18

ErraticFox
Member
Registered: 2014-03-04
Posts: 18

Re: [SOLVED] Installing sudo

karol wrote:

Do you have a working network?

Yes, but apparently not on the VM. They said if you're using a VM, you wouldn't have to install the stuff to connect to the internet... How do I do it from here since I'm not on the iso image anymore?

EDIT: I tried systemctl enable dhcpcd.service and got the output of ln -s '/usr/lib/systemd/system/dhcpcd.service' '/etc/systemd/system/multi-user.target.wants/dhcpcd.service' but pinging 8.8.8.8 says unreachable still.

Last edited by ErraticFox (2014-03-04 14:59:53)

Offline

#7 2014-03-04 15:13:58

ErraticFox
Member
Registered: 2014-03-04
Posts: 18

Re: [SOLVED] Installing sudo

Ah, all I had to do was type 'dhcpcd' and then restart. Now it works.

Offline

#8 2014-03-04 15:16:42

Kartious
Member
From: UK
Registered: 2013-03-23
Posts: 311

Re: [SOLVED] Installing sudo

ErraticFox wrote:

Ah, all I had to do was type 'dhcpcd' and then restart. Now it works.


So you can update now and install the needed packages ? If the problem is solved can you please mark it in the title of the thread?

Offline

#9 2014-03-04 15:17:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Installing sudo

Do you have it enabled?

Offline

Board footer

Powered by FluxBB