You are not logged in.

#1 2011-09-17 16:58:54

clicker4721
Member
Registered: 2010-11-06
Posts: 20

[SOLVED] Lack of db

I just did a fresh install of Arch, no complications. Okay, so pacman doesn't work, but I wouldn't say it's broken. There are no db files at all, and I get readouts saying it was unable to read them. Newbie corner, newbie question: what now?

Last edited by clicker4721 (2011-09-17 22:12:46)

Offline

#2 2011-09-17 17:01:57

Awebb
Member
Registered: 2010-05-06
Posts: 6,286

Re: [SOLVED] Lack of db

Did you use the latest iso or the one and a half year old?

Try pacman-db-upgrade.

Offline

#3 2011-09-17 17:08:47

clicker4721
Member
Registered: 2010-11-06
Posts: 20

Re: [SOLVED] Lack of db

Awebb wrote:

Did you use the latest iso or the one and a half year old?

Try pacman-db-upgrade.

The disc I installed from is labeled ARCH201108, so I assume the latest.

pacman-db-upgrade doesn't do crap. Kind of disappointing.

Offline

#4 2011-09-17 17:10:30

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Lack of db

how doesn't work? paste some errors


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2011-09-17 17:12:54

clicker4721
Member
Registered: 2010-11-06
Posts: 20

Re: [SOLVED] Lack of db

wonder wrote:

how doesn't work? paste some errors

It's a fresh install, so I can't paste anything. Basically, anytime I try to pacman -S anything, it gives me a list of it being unable to load any db files.

Offline

#6 2011-09-17 17:14:35

roygbiv
Member
Registered: 2011-05-18
Posts: 204

Re: [SOLVED] Lack of db

Is this thread similar to your problem: https://bbs.archlinux.org/viewtopic.php?id=126203 ?

Offline

#7 2011-09-17 17:16:09

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Lack of db

clicker4721 wrote:
wonder wrote:

how doesn't work? paste some errors

It's a fresh install, so I can't paste anything. Basically, anytime I try to pacman -S anything, it gives me a list of it being unable to load any db files.


pacman -Syu

pacman -S bla

or

pacman -Syu bla


Give what you have. To someone, it may be better than you dare to think.

Offline

#8 2011-09-17 17:21:29

clicker4721
Member
Registered: 2010-11-06
Posts: 20

Re: [SOLVED] Lack of db

roygbiv wrote:

Is this thread similar to your problem: https://bbs.archlinux.org/viewtopic.php?id=126203 ?

Close, but my issue has more to do with the files instead of the connection.

And, wonder, issues in not synchronizing any databases for all of those commands.

Last edited by clicker4721 (2011-09-17 17:23:09)

Offline

#9 2011-09-17 17:46:24

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Lack of db

really, we want an error something. i don't have a magic ball good enough


Give what you have. To someone, it may be better than you dare to think.

Offline

#10 2011-09-17 18:05:43

clicker4721
Member
Registered: 2010-11-06
Posts: 20

Re: [SOLVED] Lack of db

wonder wrote:

really, we want an error something. i don't have a magic ball good enough

[root@mycomputer ~]# pacman -S package
error: could not open file /var/lib/pacman/sync/extra.db: Failed to open '/var/lib/pacman/sync/extra.db'
error: could not open file /var/lib/pacman/sync/community.db: Failed to open '/var/lib/pacman/sync/community.db'
error: could not open file /var/lib/pacman/sync/extra.db: Failed to open '/var/lib/pacman/sync/extra.db'
error: could not open file /var/lib/pacman/sync/community.db: Failed to open '/var/lib/pacman/sync/community.db'
error: could not open file /var/lib/pacman/sync/extra.db: Failed to open '/var/lib/pacman/sync/extra.db'
error: could not open file /var/lib/pacman/sync/community.db: Failed to open '/var/lib/pacman/sync/community.db'
error: target not found: package

Offline

#11 2011-09-17 18:06:53

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Lack of db

now what errors do you have when you do pacman -Syu ? because you clearly need to sync databases


Give what you have. To someone, it may be better than you dare to think.

Offline

#12 2011-09-17 18:07:00

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

Re: [SOLVED] Lack of db

Have you uncommented [extra] and [community] repos?
Post your pacman.conf.

Offline

#13 2011-09-17 18:10:53

clicker4721
Member
Registered: 2010-11-06
Posts: 20

Re: [SOLVED] Lack of db

wonder wrote:

now what errors do you have when you do pacman -Syu ? because you clearly need to sync databases

http://www.imgur.com/7zntG.jpg

Offline

#14 2011-09-17 18:12:27

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Lack of db

clicker4721 wrote:
wonder wrote:

now what errors do you have when you do pacman -Syu ? because you clearly need to sync databases

http://www.imgur.com/7zntG.jpg


change the mirror to another one. mirrors.kernel.org is down and cannot be resolved.


Give what you have. To someone, it may be better than you dare to think.

Offline

#15 2011-09-17 18:13:29

clicker4721
Member
Registered: 2010-11-06
Posts: 20

Re: [SOLVED] Lack of db

karol wrote:

Have you uncommented [extra] and [community] repos?
Post your pacman.conf.

http://www.imgur.com/mO7Wq.jpg

Offline

#16 2011-09-17 18:14:08

clicker4721
Member
Registered: 2010-11-06
Posts: 20

Re: [SOLVED] Lack of db

wonder wrote:
clicker4721 wrote:
wonder wrote:

now what errors do you have when you do pacman -Syu ? because you clearly need to sync databases

http://www.imgur.com/7zntG.jpg


change the mirror to another one. mirrors.kernel.org is down and cannot be resolved.

Newbie...heh. How do I?

Offline

#17 2011-09-17 18:14:59

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

Re: [SOLVED] Lack of db

clicker4721 wrote:
karol wrote:

Have you uncommented [extra] and [community] repos?
Post your pacman.conf.

http://www.imgur.com/mO7Wq.jpg

Looks a bit blurry, but otherwise fine :-) As wonder already wrote, you need to use another kernel until folks at kernel.org bring it back online.

Offline

#18 2011-09-17 18:16:16

clicker4721
Member
Registered: 2010-11-06
Posts: 20

Re: [SOLVED] Lack of db

karol wrote:
clicker4721 wrote:
karol wrote:

Have you uncommented [extra] and [community] repos?
Post your pacman.conf.

http://www.imgur.com/mO7Wq.jpg

Looks a bit blurry, but otherwise fine :-) As wonder already wrote, you need to use another kernel until folks at kernel.org bring it back online.

Could you link me to a how to page?

Offline

#19 2011-09-17 18:16:32

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

Re: [SOLVED] Lack of db

clicker4721 wrote:

Newbie...heh. How do I?

Edit your mirrorlist, comment out kernel.org and uncomment another mirror.
/etc/pacman.d/mirrorlist


Howto: https://wiki.archlinux.org/index.php/Mirrors

Last edited by karol (2011-09-17 18:18:07)

Offline

#20 2011-09-17 18:19:41

clicker4721
Member
Registered: 2010-11-06
Posts: 20

Re: [SOLVED] Lack of db

karol wrote:
clicker4721 wrote:

Newbie...heh. How do I?

Edit your mirrorlist, comment out kernel.org and uncomment another mirror.
/etc/pacman.d/mirrorlist


Howto: https://wiki.archlinux.org/index.php/Mirrors

Hot dog! We're live! Should I upgrade pacman now, even though I read about people having lots of problems with that?

Offline

#21 2011-09-17 18:20:56

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

Re: [SOLVED] Lack of db

clicker4721 wrote:

Hot dog! We're live! Should I upgrade pacman now, even though I read about people having lots of problems with that?

What people? Any links?

The first thing you should do is run 'pacman -Syu' and pay attention to the output. Update your system, merge .pacnew files etc.

Last edited by karol (2011-09-17 18:21:19)

Offline

#22 2011-09-17 18:22:22

clicker4721
Member
Registered: 2010-11-06
Posts: 20

Re: [SOLVED] Lack of db

karol wrote:
clicker4721 wrote:

Hot dog! We're live! Should I upgrade pacman now, even though I read about people having lots of problems with that?

What people? Any links?

The first thing you should do is run 'pacman -Syu' and pay attention to the output. Update your system, merge .pacnew files etc.

Meh, forget it. They're old questions. Alright, thanks folks!

Offline

#23 2011-09-17 21:35:56

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] Lack of db

clicker4721, please mark this thread as solved. Directions on how to do it are found here: https://bbs.archlinux.org/viewtopic.php?id=50161


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB