You are not logged in.

#1 2011-03-24 16:17:47

tadevokle
Member
Registered: 2011-02-25
Posts: 18

[Solved] Pacman & Wicd Issues

Hello,

I recently did a system upgrade (pacman -Syu), which appears to have messed with my system.

I have the following two problems

The Pacman-Issue:

Whenever I try searching or downloading a file via pacman, I receive the following message.

error: could not open file /var/lib/pacman/sync/core.db: Failed to open '/var/lib/pacman/sync/core.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-testing.db: Failed to open '/var/lib/pacman/sync/community-testing.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/multilib.db: Failed to open '/var/lib/pacman/sync/multilib.db'
error: could not open file /var/lib/pacman/sync/archlinuxfr.db: Failed to open '/var/lib/pacman/sync/archlinuxfr.db'
error: could not open file /var/lib/pacman/sync/unsupported.db: Failed to open '/var/lib/pacman/sync/unsupported.db'
error: could not open file /var/lib/pacman/sync/unstable.db: Failed to open '/var/lib/pacman/sync/unstable.db'
error: target not found: <insert random program name here>

Wicd:

Before the system upgrade, I could manage my network connectivity thorugh the wicd applet (gui thingy), but after the update the applet seems to have disappeared (it's neither listed in the applications, nor starts on log-in). As wicd still manages to get me connected to my previously chosen wi-fi network, I know that wicd is still installed in my system. How can I get my gui-thingy working again?

Thanks in advance, for helping me out.

Last edited by tadevokle (2011-03-24 17:25:47)


'Multiple exclamation marks,' he went on, shaking his head, 'are a sure sign of a diseased mind'. [Eric, Terry Pratchett]

Offline

#2 2011-03-24 16:25:31

SS4
Member
From: !Rochford, Essex
Registered: 2010-12-05
Posts: 699

Re: [Solved] Pacman & Wicd Issues

tadevokle wrote:

Hello,

I recently did a system upgrade (pacman -Syu), which appears to have messed with my system.

I have the following two problems

The Pacman-Issue:

Whenever I try searching or downloading a file via pacman, I receive the following message.

error: could not open file /var/lib/pacman/sync/core.db: Failed to open '/var/lib/pacman/sync/core.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-testing.db: Failed to open '/var/lib/pacman/sync/community-testing.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/multilib.db: Failed to open '/var/lib/pacman/sync/multilib.db'
error: could not open file /var/lib/pacman/sync/archlinuxfr.db: Failed to open '/var/lib/pacman/sync/archlinuxfr.db'
error: could not open file /var/lib/pacman/sync/unsupported.db: Failed to open '/var/lib/pacman/sync/unsupported.db'
error: could not open file /var/lib/pacman/sync/unstable.db: Failed to open '/var/lib/pacman/sync/unstable.db'
error: target not found: <insert random program name here>

Wicd:

Before the system upgrade, I could manage my network connectivity thorugh the wicd applet (gui thingy), but after the update the applet seems to have disappeared (it's neither listed in the applications, nor starts on log-in). As wicd still manages to get me connected to my previously chosen wi-fi network, I know that wicd is still installed in my system. How can I get my gui-thingy working again?

Thanks in advance, for helping me out.

Wicd has been split into wicd and wicd-gtk - see this thread:  https://bbs.archlinux.org/viewtopic.php?id=115392


As for pacman did you update today?


Rauchen verboten

Offline

#3 2011-03-24 16:36:04

tadevokle
Member
Registered: 2011-02-25
Posts: 18

Re: [Solved] Pacman & Wicd Issues

Yes, did it just a couple of minutes ago.

Thanks for caring smile


'Multiple exclamation marks,' he went on, shaking his head, 'are a sure sign of a diseased mind'. [Eric, Terry Pratchett]

Offline

#4 2011-03-24 16:37:53

SS4
Member
From: !Rochford, Essex
Registered: 2010-12-05
Posts: 699

Re: [Solved] Pacman & Wicd Issues

I suspect it's related to the new pacman, did you remember to run

pacman-db-upgrade

after upgrading pacman?


As for wicd

pacman -S wicd-gtk

should solve your issues (you can use the ncurses interface if you need it to get online)

Last edited by SS4 (2011-03-24 16:38:53)


Rauchen verboten

Offline

#5 2011-03-24 16:41:27

tadevokle
Member
Registered: 2011-02-25
Posts: 18

Re: [Solved] Pacman & Wicd Issues

Yes, I did run it.

(The first error-message I got was basically the one I posted here + "use the pacman-db-upgrade command")


'Multiple exclamation marks,' he went on, shaking his head, 'are a sure sign of a diseased mind'. [Eric, Terry Pratchett]

Offline

#6 2011-03-24 16:47:46

tadevokle
Member
Registered: 2011-02-25
Posts: 18

Re: [Solved] Pacman & Wicd Issues

Btw. https://bugs.archlinux.org/task/23343 this might be relevant, but truth to be told I don't know what to make of it.

Last edited by tadevokle (2011-03-24 16:49:37)


'Multiple exclamation marks,' he went on, shaking his head, 'are a sure sign of a diseased mind'. [Eric, Terry Pratchett]

Offline

#7 2011-03-24 17:07:18

SS4
Member
From: !Rochford, Essex
Registered: 2010-12-05
Posts: 699

Re: [Solved] Pacman & Wicd Issues

Allan put a patch to fix that, unfortunately I am not familiar with how to apply patches.


Rauchen verboten

Offline

#8 2011-03-24 17:11:21

thebopshoobop
Member
Registered: 2011-03-24
Posts: 4

Re: [Solved] Pacman & Wicd Issues

Have you checked to see if your db files exist? I seem to be having the same problem. After upgading pacman (and running pacman-db-upgrade), there are no db files in /var/lib/pacman/sync/; just the repo directories. Maybe pacman-db-upgrade removed them?

I am going to try to reinstall pacman manually based on info from this thread: https://bbs.archlinux.org/viewtopic.php?id=95007
I'll report back.

[edit; clarity]

Last edited by thebopshoobop (2011-03-24 17:28:17)

Offline

#9 2011-03-24 17:23:42

tadevokle
Member
Registered: 2011-02-25
Posts: 18

Re: [Solved] Pacman & Wicd Issues

thebopshoobop wrote:

Have you checked to see if your db files exist? I seem to be having the same problem. After upgading pacman (and running pacman-db-upgrade), there are no db files in /var/lib/pacman/sync/; just the repo directories. Maybe pacman-db-upgrade removed them?

I am going to try to reinstall pacman manually based on info from this thread: https://bbs.archlinux.org/viewtopic.php?id=95007
I'll report back.

[edit; clarity]

That seemed to do the trick on my case.

I had to change the mirror variable to ftp://mirror.aarnet.edu.au/pub/archlinux though. [Reinstalling it directly with wget/<bla-blub>..., had no visible effect on my problem.]

Last edited by tadevokle (2011-03-24 17:24:21)


'Multiple exclamation marks,' he went on, shaking his head, 'are a sure sign of a diseased mind'. [Eric, Terry Pratchett]

Offline

#10 2011-03-24 17:30:39

thebopshoobop
Member
Registered: 2011-03-24
Posts: 4

Re: [Solved] Pacman & Wicd Issues

I tried reinstalling as per the thread above, but got nowhere. However, a simple 'pacman -Syy' did the trick.

Offline

#11 2011-03-24 19:16:38

rwd
Member
Registered: 2009-02-08
Posts: 664

Re: [Solved] Pacman & Wicd Issues

thebopshoobop wrote:

I tried reinstalling as per the thread above, but got nowhere. However, a simple 'pacman -Syy' did the trick.

thanks!

B.t.w.:while bug https://bugs.archlinux.org/task/23343 has the same error messages it is caused by something else, namely permissions, while In this case the 'sync' folder is missing entirely.

Last edited by rwd (2011-03-24 19:19:01)

Offline

#12 2011-03-25 07:45:56

PhotonX
Member
From: Munich
Registered: 2008-08-10
Posts: 602

Re: [Solved] Pacman & Wicd Issues

thebopshoobop wrote:

I tried reinstalling as per the thread above, but got nowhere. However, a simple 'pacman -Syy' did the trick.

Thanks, worked out in my case, too!


Desktop: http://www.sysprofile.de/id15562, Arch Linux    |    Notebook: Thinkpad L13 Yoga Gen2, Manjaro

The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work.  -  Tuomas Lukka

Offline

#13 2011-03-25 18:30:20

dobbs
Member
From: Pacific NW - USA
Registered: 2010-05-24
Posts: 42

Re: [Solved] Pacman & Wicd Issues

Thanks for the tips. These solved my problems....

pacman-db-upgrade

pacman -S wicd-gtk

.....:-)


On the journey since 2006

Offline

#14 2012-03-29 11:36:56

pe7er
Member
From: Nijmegen, Netherlands
Registered: 2012-03-15
Posts: 45
Website

Re: [Solved] Pacman & Wicd Issues

I had a similar problem: error: could not open file /var/lib/pacman/sync/community.db: Failed to open '/var/lib/pacman/sync/community.db'

Somewhere else I found that I had to synchronize the packaging database with:

pacman -Syy

This created the necessary /var/lib/pacman/sync/community.db file.

After that I updated pacman with

pacman -S pacman

Last edited by pe7er (2012-03-29 11:38:49)


Peter Martin - Joomla Open Source CMS specialist www.db8.nl
OS: Arch Linux | Arch Linux ARM | Debian | Ubuntu
Toys;-) Raspberry Pi | SheevaPlug | PogoPlug

Offline

Board footer

Powered by FluxBB