You are not logged in.

#1 2011-01-10 08:05:56

samrat94
Member
Registered: 2011-01-07
Posts: 29

pacman not working

I just installed arch following the lifehacker tutorial. However all pacman commands result in an error message that the package was not found. Please help. I'm in deep trouble as now I cannot access Windows too!

Offline

#2 2011-01-10 08:14:19

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: pacman not working

Installing from anything other than the Arch Wiki is a bad idea.

Go back to the Beginners' Guide, specifically the bit about pacman and start from there:
https://wiki.archlinux.org/index.php/Be … ith_pacman

To get the most out of your Arch experience, read the documentation thoroughly. It always works™


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2011-01-10 16:34:34

samrat94
Member
Registered: 2011-01-07
Posts: 29

Re: pacman not working

Thanks for the info. but now that I've already installed it how am I supposed to fix the error? Because of GRUB now I am also unable to access Windows. btw is there some way to uninstall grub from within the arch-linux console and replace it with the windows bootloader?

Offline

#4 2011-01-10 16:38:18

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

Re: pacman not working

It's a fresh install so maybe you can simply install Arch again, using the guides from the Arch Wiki.

You shouldn't tinker with your system (be it Windows, Linux or any other) if you don't have a recent backup. If you do have one, you can use it now to restore your Windows to a working state.

Offline

#5 2011-01-10 16:41:47

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: pacman not working

If pacman is not working then it sounds like a network problem, assuming you are able to boot into Arch?

Maybe add an entry to grub to allow you to boot into windows,

https://wiki.archlinux.org/index.php/GR … th_Windows


Mr Green

Offline

#6 2011-01-10 16:47:43

IncredibleLaser
Member
From: Germany, NRW
Registered: 2008-07-16
Posts: 158

Re: pacman not working

Did you do a pacman -Syu before trying to install anything else? Does your network connection work? Some more information might help us.

Offline

#7 2011-01-10 17:00:57

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: pacman not working

samrat94 wrote:

btw is there some way to uninstall grub from within the arch-linux console and replace it with the windows bootloader?

Doubt it. Use fixmbr from winblows for that.

Offline

#8 2011-01-10 19:47:40

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: pacman not working

Don't panic. Your issue is certainly solvable with the help of the community.
GRUB is easily configurable to boot both GNU/Linux and WIndows-- it's in the wiki. Restoring the Windows bootloader (thereby overwriting and removing GRUB) is also quite trivial to accomplish.
We just need some more information, including exact commands and error messages, and what you want to do.

Offline

#9 2011-01-11 04:10:29

samrat94
Member
Registered: 2011-01-07
Posts: 29

Re: pacman not working

The errror message shown when I try to install something through pacman is-
Transient Resolver failure

I think the network connection isn't working- maybe that's the problem. I saw in the wiki that setting up a DSL connection requires another pacman installation(rp-pppoe) so should I try reinstalling?

Offline

#10 2011-01-11 04:20:39

samrat94
Member
Registered: 2011-01-07
Posts: 29

Re: pacman not working

The GRUB showed the dual-boot screen but this takes me to the recovery mode!! (using Windows Vista)

Last edited by samrat94 (2011-01-11 04:21:31)

Offline

#11 2011-01-11 06:15:31

Daniel_F
Member
From: Brazil
Registered: 2010-12-28
Posts: 69

Re: pacman not working

samrat94 wrote:

The GRUB showed the dual-boot screen but this takes me to the recovery mode!! (using Windows Vista)

in your

/boot/menu.lst

you probably have something like this:

title Windows Vista
root (hd0,0)
savedefault
makeactive
chainloader +1

edit it and change

root (hd0,0)

to

root (hd0,1)

if that doesn't work then please post the result of

sudo fdisk -l

Offline

Board footer

Powered by FluxBB