You are not logged in.

#1 2013-09-30 17:17:21

Hamish
Member
From: Rural Alberta, Canada
Registered: 2013-02-26
Posts: 46
Website

[SOLVED] Can not upgrade - Cannot write to ‘core.db’

Hello,

I am attempting to upgrade my system, but I can not seem to get it to access the repos properly:

[root@Griffindor ~]# pacman -Syu
:: Synchronizing package databases...
--2013-09-30 11:12:13--  http://mirror.us.leaseweb.net/archlinux/core/os/i686/core.db
Resolving mirror.us.leaseweb.net (mirror.us.leaseweb.net)... 108.59.10.97, 2604:9a00:2010:a001:1:face:bad:c0de
Connecting to mirror.us.leaseweb.net (mirror.us.leaseweb.net)|108.59.10.97|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 107956 (105K) [application/octet-stream]
Saving to: ‘core.db’

 0% [                                       ] 0           --.-K/s   in 0s      


Cannot write to ‘core.db’ (Success).

This same event repeats over and over from a variety of sources.

I am using wget instead of pacman's default as it works better on my high latency connection. I can install and remove packages without issue.

Last edited by Hamish (2013-09-30 19:11:55)


Thank you,
Hamish Paul Wilson

Offline

#2 2013-09-30 17:29:50

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

Re: [SOLVED] Can not upgrade - Cannot write to ‘core.db’

$ wget http://mirror.us.leaseweb.net/archlinux/core/os/i686/core.db
--2013-09-30 19:27:08--  http://mirror.us.leaseweb.net/archlinux/core/os/i686/core.db
Resolving mirror.us.leaseweb.net (mirror.us.leaseweb.net)... 108.59.10.97, 2604:9a00:2010:a001:1:face:bad:c0de
Connecting to mirror.us.leaseweb.net (mirror.us.leaseweb.net)|108.59.10.97|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 107956 (105K) [application/octet-stream]
Saving to: ‘core.db’

100%[=====================================================================================================================>] 107,956      150KB/s   in 0.7s   

2013-09-30 19:27:09 (150 KB/s) - ‘core.db’ saved [107956/107956]

Works for me.
Does it work w/o wget?

Since you can install packages, I guess you have space left on the device, but can you please double-check it?

Offline

#3 2013-09-30 17:47:42

Hamish
Member
From: Rural Alberta, Canada
Registered: 2013-02-26
Posts: 46
Website

Re: [SOLVED] Can not upgrade - Cannot write to ‘core.db’

I do indeed have space left on the device: 83.9 GB for Root.

I could try without wget, but when I tried to install Arch I needed to use a temporary mobile data backup sytem we have just to get things installed. Nothing worked on my main internet before I got it using wget, so I am doubtful as to whether or not that would serve as a solution (or indeed if wget is even the problem).

Thanks for the suggestions though. I appreciate it.


Thank you,
Hamish Paul Wilson

Offline

#4 2013-09-30 18:09:14

Hamish
Member
From: Rural Alberta, Canada
Registered: 2013-02-26
Posts: 46
Website

Re: [SOLVED] Can not upgrade - Cannot write to ‘core.db’

So I just tried grabbing the core.db and community.db files manually with wget and they worked fine, so I placed  the news ones I just downloaded into /var/lib/pacman/sync/ and now it seems to be working.


Thank you,
Hamish Paul Wilson

Offline

Board footer

Powered by FluxBB