You are not logged in.

#1 2008-08-31 15:56:51

viking
Member
From: Vancouver Island
Registered: 2008-08-08
Posts: 13

pacman/mirror errors (solved)

For the last 4 days when I have tried to install anything with pacman  (the mirror I use is "unixheads") I get errors saying it failed to retrieve files and no access. Prior to this I had very fast responses.

Last edited by viking (2008-09-01 05:39:49)

Offline

#2 2008-08-31 16:02:29

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Re: pacman/mirror errors (solved)

Have you tried another mirror?


Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

#3 2008-08-31 17:00:57

viking
Member
From: Vancouver Island
Registered: 2008-08-08
Posts: 13

Re: pacman/mirror errors (solved)

No, I haven't tried a different mirror. I read the wiki and some forums but am still not confident/sure about how to proceed.

Offline

#4 2008-08-31 18:01:28

Onwards
Member
From: Pakistan
Registered: 2007-04-18
Posts: 108

Re: pacman/mirror errors (solved)

Uncomment a few more mirrors in your /etc/pacman.d/mirrorlist file, which would enable those mirrors. And see what happens...

Offline

#5 2008-08-31 18:08:56

GerBra
Forum Fellow
From: Bingen/Germany
Registered: 2007-05-10
Posts: 201

Re: pacman/mirror errors (solved)

unixheads.org has changed their access from ftp to http. If you look at your /etc/pacman.d/mirrorlist.pacnew (if you
still have the new pacman version) you will see that the new unixheads URI is now:
Server = http://archlinux.unixheads.org/$repo/os/i686
or
Server = http://archlinux.unixheads.org/$repo/os/x86_64

ftp access could work still some time but the admins would switch to http only.

Offline

#6 2008-09-01 00:49:32

viking
Member
From: Vancouver Island
Registered: 2008-08-08
Posts: 13

Re: pacman/mirror errors (solved)

Onwards wrote:

Uncomment a few more mirrors in your /etc/pacman.d/mirrorlist file, which would enable those mirrors. And see what happens...

I uncommented another mirror and still the same results.

Offline

#7 2008-09-01 02:22:05

andrew123456
Member
Registered: 2008-08-31
Posts: 32

Re: pacman/mirror errors (solved)

i had the same problem, too, that's how i ended up here.

i fixed it by going into the /etc/pacman.d/mirrorlist file and scrolling to the very bottom. there's an entry called #setup entry.

change the ftp to http in the unixheads url (and make sure all the other mirrors are still commented) that worked for me

Offline

#8 2008-09-01 02:51:27

viking
Member
From: Vancouver Island
Registered: 2008-08-08
Posts: 13

Re: pacman/mirror errors (solved)

andrew123456 wrote:

i had the same problem, too, that's how i ended up here.

i fixed it by going into the /etc/pacman.d/mirrorlist file and scrolling to the very bottom. there's an entry called #setup entry.

change the ftp to http in the unixheads url (and make sure all the other mirrors are still commented) that worked for me

I did as you suggested and then received this error when using pacman.

      bash-3.2# pacman -Syu
:: Synchronizing package databases...
error: failed to init transaction (unable to lock database)
  if you're sure a package manager is not already
  running, you can remove /var/lib/pacman/db.lck

Thanks for your reply, not sure how to remove the /var/lib/pacman/db.lck

Last edited by viking (2008-09-01 02:53:15)

Offline

#9 2008-09-01 04:02:31

Onwards
Member
From: Pakistan
Registered: 2007-04-18
Posts: 108

Re: pacman/mirror errors (solved)

Do "rm /var/lib/pacman/db.lck" as root.

It [db.lck] is a leftover from a previous unsuccessful pacman instance.

Last edited by Onwards (2008-09-01 04:03:44)

Offline

#10 2008-09-01 05:39:03

viking
Member
From: Vancouver Island
Registered: 2008-08-08
Posts: 13

Re: pacman/mirror errors (solved)

Onwards wrote:

Do "rm /var/lib/pacman/db.lck" as root.

It [db.lck] is a leftover from a previous unsuccessful pacman instance.

After removing the db.lck and following andrew123456's advice everything is working great again.
Thanks again for all the help.

Offline

Board footer

Powered by FluxBB