You are not logged in.

#1 2006-09-16 04:08:01

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

KOffice 1.5.2-1 'depends' and 'desc' files [SOLVED]

Would someone please be kind enough to post the contents of the 'depends' and 'desc' files from /var/lib/pacman/extra/koffice-1.5.2-1? Something strange happened and POOF!!!! Gone.

Offline

#2 2006-09-16 05:25:56

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: KOffice 1.5.2-1 'depends' and 'desc' files [SOLVED]

Do a:
# pacman -Sy
to fix it.

Offline

#3 2006-09-16 06:27:52

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: KOffice 1.5.2-1 'depends' and 'desc' files [SOLVED]

It doesn't work. Pacman complains:

[root@localhost skottish]# pacman -Sy
:: Synchronizing package databases...
:: current is up to date
:: extra is up to date
error: /var/lib/pacman/extra/koffice-1.5.2-1/desc: No such file or directory

I create an empty 'desc' file, then it complains about the missing 'depends' file. I create an empty 'depends' file, and pacman stops complaining; But those files are never updated. This causes another problem:

If I try 'pacman -S koffice' to try to update those files (after -Sy or -Syu), pacman returns an error that it can't find koffice in the sync database. This is why I'm hoping that reconstructing the files manually will solve this problem.

Offline

#4 2006-09-16 06:36:26

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: KOffice 1.5.2-1 'depends' and 'desc' files [SOLVED]

Try:
# rm -r /var/lib/pacman/extra/koffice-1.5.2-1
# pacman -Sy

Offline

#5 2006-09-16 06:48:58

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: KOffice 1.5.2-1 'depends' and 'desc' files [SOLVED]

Unfortunately, that changes nothing. I should now mention that I recreated the folder also. Maybe this will help:

The problem came about when I was re-installing KOffice. I ended up with the now commented out, uber-crappy Nethat server. On my last try with pacman, I couldn't get a download speed worth a broken modem; but instead of CTRL-C to stop the pain, I killed the console instead. This led me to delete the pacman file in tmp. Basically, I killed pacman in the least graceful way possible.

Offline

#6 2006-09-16 17:04:02

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: KOffice 1.5.2-1 'depends' and 'desc' files [SOLVED]

I was able to (hopefully correctly) reconstruct the 'depends' file. There is information in the 'desc' file that I'm not sure about. So, if anyone would please post the contents of the 'desc' file, I would greatly appreciate it.

Offline

#7 2006-09-16 20:33:58

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: KOffice 1.5.2-1 'depends' and 'desc' files [SOLVED]

You shouldn't need to manually create the files/directories in /var/lib/pacman/extra. These comes from the database that is downloaded and uncompressed when doing 'pacman -Sy'.

Removing the directory:
# rm -r /var/lib/pacman/extra/koffice-1.5.2-1
then doing:
# pacman -Sy
should fix it. I tried it and it works here.

Offline

#8 2006-09-16 21:12:22

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: KOffice 1.5.2-1 'depends' and 'desc' files [SOLVED]

It doesn't work. I've done exactly what you said, and right now I don't have a koffice-1.5.2-1 directory in /var/lib/pacman/extra:

drwxr-xr-x 2 root root 4096 2006-09-12 17:36 kmyfirewall-1.0.1-2
drwxr-xr-x 2 root root 4096 2006-09-12 17:36 knetload-2.3-3
drwxr-xr-x 2 root root 4096 2006-09-12 17:36 knockd-0.5-1
drwxr-xr-x 2 root root 4096 2006-09-12 17:36 koffice-doc-1.5.2-1
drwxr-xr-x 2 root root 4096 2006-09-12 17:36 koffice-l10n-bg-1.5.2-1
drwxr-xr-x 2 root root 4096 2006-09-12 17:36 koffice-l10n-ca-1.5.2-1

I've run pacman -Sy and -Syu a bunch of times since this problem started to no avail.  Just so you can see:

[root@localhost skottish]# pacman -Sy
:: Synchronizing package databases...
:: current is up to date
:: extra is up to date
[root@localhost skottish]# pacman -S koffice
koffice: not found in sync db

Curiously enough:

[root@localhost skottish]# pacman -Q koffice
koffice 1.5.2-1

Offline

#9 2006-09-16 21:49:44

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: KOffice 1.5.2-1 'depends' and 'desc' files [SOLVED]

skottish wrote:

I've run pacman -Sy and -Syu a bunch of times since this problem started to no avail.  Just so you can see:

[root@localhost skottish]# pacman -Sy
:: Synchronizing package databases...
:: current is up to date
:: extra is up to date
[root@localhost skottish]# pacman -S koffice
koffice: not found in sync db

That's why it doesn't work. It thinks that the db is up-to-date so it doesn't do anything. Try another mirror.I'm using:

Server = http://mirror.cs.vt.edu/pub/ArchLinux/extra/os/i686/

and everytime I 'pacman -Sy', it updates the db:

$ sudo pacman -Sy 
:: Synchronizing package databases... 
 current                  [----------------] 100%      69K   156.8K/s  00:00:00
 extra                    [----------------] 100%     254K   327.8K/s  00:00:00
 unstable                 [----------------] 100%       3K    30.6K/s  00:00:00
 community                [----------------] 100%     133K   319.9K/s  00:00:00
:: testing is up to date

You could also do:

# mv /var/lib/pacman/extra /var/lib/pacman/extra.old
# pacman -Sy

It will force it to create the extra db as it's no longer there. After checking that it worked, you can remove extra.old

Offline

#10 2006-09-16 21:57:17

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: KOffice 1.5.2-1 'depends' and 'desc' files [SOLVED]

Snowman, you rule the Universe.... and beyond!!! Thanks. I used the latter solution and it worked perfectly.

Offline

#11 2006-09-17 11:14:44

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: KOffice 1.5.2-1 'depends' and 'desc' files [SOLVED]

i think a simple pacman -Sf koffice would also have worked but maybe i'm wrong. Also, atleast a pacman -R koffice; pacman -S koffice should atleast have worked.


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#12 2006-09-17 17:58:34

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: KOffice 1.5.2-1 'depends' and 'desc' files [SOLVED]

test1000 wrote:

i think a simple pacman -Sf koffice would also have worked but maybe i'm wrong. Also, atleast a pacman -R koffice; pacman -S koffice should atleast have worked.

None of these would've worked. These commands don't affect the local version of the extra db which was broken here and needed to be fixed.

Offline

Board footer

Powered by FluxBB