You are not logged in.

#1 2011-05-19 23:30:15

Hoest
Member
Registered: 2011-05-19
Posts: 15

[SOLVED] Unable to download Libreoffice.

Hello all,

I've been trying to download and install libreoffice by running "pacman -S libreoffice" but I am repeatedly getting an error message saying "error: 'libreoffice': could not find or read package". I checked the wiki but found no mention of this problem, and I also made sure in the pacman.conf file that the Extra repo was not commented.

Thanks in advance for any help.

Last edited by Hoest (2011-05-20 05:43:24)

Offline

#2 2011-05-19 23:35:22

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

Re: [SOLVED] Unable to download Libreoffice.

Works fine here, is your system up to date? Run

pacman -Sy libreoffice

Rauchen verboten

Offline

#3 2011-05-19 23:37:24

Hoest
Member
Registered: 2011-05-19
Posts: 15

Re: [SOLVED] Unable to download Libreoffice.

SS4 wrote:

Works fine here, is your system up to date? Run

pacman -Sy libreoffice

Yes, core, extra, and community are all up to date according to that, but I still get the same message for libreoffice though.

Offline

#4 2011-05-19 23:39:53

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

Re: [SOLVED] Unable to download Libreoffice.

You could check your mirror status but other than that I'm stumped, I cannot reproduce the problem


Rauchen verboten

Offline

#5 2011-05-19 23:51:00

tlmiller
Member
Registered: 2009-06-10
Posts: 93

Re: [SOLVED] Unable to download Libreoffice.

Try commenting out your first mirror or 2.  Every time I've had this issue it's been because a mirror was out of sync.

Offline

#6 2011-05-20 00:00:33

Hoest
Member
Registered: 2011-05-19
Posts: 15

Re: [SOLVED] Unable to download Libreoffice.

I tried several mirrors and I'm still getting the same message.

Offline

#7 2011-05-20 00:08:42

Meyithi
Member
From: Wirral, UK
Registered: 2009-06-21
Posts: 550
Website

Re: [SOLVED] Unable to download Libreoffice.

It has to be a mirror problem, if it was any sort of connection problem you would get another error.  Please be aware that the first uncommented mirror will be used no matter how many you uncomment below it, you probably keep connecting to an out of date mirror.

When you change mirror, remember to resync your mirror with -Syy.

http://www.archlinux.org/mirrors/status/
http://www.archlinux.org/mirrorlist/

Last edited by Meyithi (2011-05-20 00:10:24)


The mind roams more freely in empty rooms.
dwm - colours - ncmpcpp - system
irc://irc.freenode.net:meyithi

Offline

#8 2011-05-20 00:15:09

Hoest
Member
Registered: 2011-05-19
Posts: 15

Re: [SOLVED] Unable to download Libreoffice.

Meyithi wrote:

It has to be a mirror problem, if it was any sort of connection problem you would get another error.  Please be aware that the first uncommented mirror will be used no matter how many you uncomment below it, you probably keep connecting to an out of date mirror.

When you change mirror, remember to resync your mirror with -Syy.

http://www.archlinux.org/mirrors/status/
http://www.archlinux.org/mirrorlist/

I updated the mirrorlist and ran -Syy and it's giving me this:
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.db: Failed to open '/var/lib/pacman/sync/community.db'
error: target not found: libreoffice

Offline

#9 2011-05-20 03:04:40

TigTex
Member
From: Portugal
Registered: 2008-06-19
Posts: 301

Re: [SOLVED] Unable to download Libreoffice.

Run as root:

pacman-db-upgrade

Then use the mirror

Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch

After that do

pacman -Syyu

Reboot if needed.


.::. TigTex @ Portugal .::.

Offline

#10 2011-05-20 05:43:03

Hoest
Member
Registered: 2011-05-19
Posts: 15

Re: [SOLVED] Unable to download Libreoffice.

TigTex wrote:

Run as root:

pacman-db-upgrade

Then use the mirror

Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch

After that do

pacman -Syyu

Reboot if needed.

That did it! Thank you very much.

Offline

Board footer

Powered by FluxBB