You are not logged in.

#1 2005-10-07 23:09:53

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Error in pacman -Q and pacman -Sy gcc

Pacman -Q |less lists the following;
-------------------------------------------------------------------------------------
error: /var/lib/pacman/local/gcc-4.0.2-1/desc: No such file or directory
autoconf 2.59-1
bash 3.0-6
bison 2.0-1
coreutils 5.2.1-5
diffutils 2.8.1-2
filesystem 0.7-8
gdbm 1.8.3-3
glibc 2.3.5-6
m4 1.4.3-1
mawk 1.3.3-6
ncurses 5.4-2
pam 0.80-2
readline 5.0-3
shadow 4.0.12-2
(END)           

Attempt to download gcc provides the following;
------------------------------------------------------------------------------------
root@n6re ~]# pacman -Sy gcc
error: /var/lib/pacman/local/gcc-4.0.2-1/desc: No such file or directory
:: Synchronizing package databases...
current                  [################] 100%      46K    32.2K/s  00:00:01
extra                    [################] 100%     215K    25.3K/s  00:00:08
error: /var/lib/pacman/local/gcc-4.0.2-1/desc: No such file or directory
error: /var/lib/pacman/local/gcc-4.0.2-1/desc: No such file or directory
error: /var/lib/pacman/local/gcc-4.0.2-1/desc: No such file or directory
error: /var/lib/pacman/local/gcc-4.0.2-1/desc: No such file or directory
error: /var/lib/pacman/local/gcc-4.0.2-1/desc: No such file or directory
error: /var/lib/pacman/local/gcc-4.0.2-1/desc: No such file or directory
error: /var/lib/pacman/local/gcc-4.0.2-1/desc: No such file or directory
error: /var/lib/pacman/local/gcc-4.0.2-1/desc: No such file or directory

Targets: binutils-2.16.1-2 gcc-4.0.2-1

Total Package Size:   33.1 MB

Proceed with upgrade? [Y/n] y

checking package integrity... done.
loading package data... done.
checking for file conflicts... error: /var/lib/pacman/local/gcc-4.0.2-1/desc: No such file or directory
error: /var/lib/pacman/local/gcc-4.0.2-1/desc: No such file or directory
error: /var/lib/pacman/local/gcc-4.0.2-1/desc: No such file or directory
error: /var/lib/pacman/local/gcc-4.0.2-1/desc: No such file or directory
error: /var/lib/pacman/local/gcc-4.0.2-1/desc: No such file or directory
error: /var/lib/pacman/local/gcc-4.0.2-1/desc: No such file or directory
qerror: /var/lib/pacman/local/gcc-4.0.2-1/desc: No such file or directory

[root@n6re ~]#                     

What repair action is necessary?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#2 2005-10-08 02:05:07

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Error in pacman -Q and pacman -Sy gcc

Latest info on the problem;
-------------------------------------------------------------------------------
root@n6re ~]# pacman -Sf all
error: /var/lib/pacman/local/gcc-4.0.2-1/desc: No such file or directory
all: not found in sync db

[root@n6re ~]#

Whaaaat!

Opened /var/lib/pacman/local and gcc4.0.2-1/desc is present.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#3 2005-10-08 02:30:10

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Error in pacman -Q and pacman -Sy gcc

Another shot at it;
-----------------------------------------------------------------------------------
[root@n6re ~]# rmdir /var/lib/pacman/local
rmdir: `/var/lib/pacman/local': Directory not empty
[root@n6re ~]#


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#4 2005-10-08 03:12:37

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Error in pacman -Q and pacman -Sy gcc

Uhh do not, DO NOT!, remove /var/lib/pacman/local. :shock:

And BTW, rmdir is supposed to do that. To remove a non-empty dir, use rm -r.

Edit: Maybe try pacman -Sf gcc. Some of that stuff looks kind of weird though, I wouldn't try that unless someone else okayed it. (I'm not all that knowledgable about pacman.)

Offline

#5 2005-10-08 03:47:46

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Error in pacman -Q and pacman -Sy gcc

rm -rf /var/lib/pacman/local/gcc-4.0.2-1/
pacman -S gcc

Offline

#6 2005-10-08 04:09:05

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Error in pacman -Q and pacman -Sy gcc

phrakture wrote:
rm -rf /var/lib/pacman/local/gcc-4.0.2-1/
pacman -S gcc

you'll have to use the -f switch with that otherwise you'll get a billion "file exists in filesystem" errors.

Offline

#7 2005-10-08 05:24:25

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Error in pacman -Q and pacman -Sy gcc

pacman -Q |less now prints all.

Will check the system for performance.

Tnx big_smile


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

Board footer

Powered by FluxBB