You are not logged in.
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
Do a:
# pacman -Sy
to fix it.
Offline
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
Try:
# rm -r /var/lib/pacman/extra/koffice-1.5.2-1
# pacman -Sy
Offline
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
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
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
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
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
Snowman, you rule the Universe.... and beyond!!! Thanks. I used the latter solution and it worked perfectly.
Offline
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
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