Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 22373

Summary: portage doesn't check for existence of packages
Product: Portage Development Reporter: Stuart Bouyer <stubear>
Component: UnclassifiedAssignee: Nicholas Jones (RETIRED) <carpaski>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stuart Bouyer 2003-06-06 19:18:41 UTC
I know this was already reported in bug #21762, however I am unable to reopen
the bug and the problem still exists with portage-2.0.48-r1.

As you can see there are no packages in /usr/portage/packages:
$ ls -R /usr/portage/packages
/usr/portage/packages/:
All

/usr/portage/packages/All:
$

however when I "emerge sync" it often ends with

Performing Global Updates: /usr/portage/profiles/updates/2Q-2003
(Could take a couple minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  @='/var/db move'
.!!! Invalid binary package: .tbz2
........................@.@

Performing Global Updates: /usr/portage/profiles/updates/3Q-2002
(Could take a couple minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  @='/var/db move'
.!!! Invalid binary package: .tbz2
.......................................................................................


 ** Skipping packages. Run 'fixpackages' or set it in FEATURES to fix the
    tbz2's in the packages directory. Note: This can take a very long time.

I can live with it, but it is annoying and supposedly fixed.



Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-06-07 06:30:17 UTC
seems like -r2 fixes this (not in cvs now)

right nick ?
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2003-06-29 20:09:17 UTC
'.tbz2'

Delete it.

That's probably a stray file... It's hidden as it's a dot file.
Try 'ls -lRa'
Comment 3 Stuart Bouyer 2003-06-30 03:58:33 UTC
Gee thanks, a hidden dor file - didn't know linux could do that!

Wish you were right though seeing as how you've closed the bug and everything, but....

bouyer root # ls -lRa /usr/portage/packages/
/usr/portage/packages/:
total 4
drwxr-xr-x    3 root     root           72 Apr  2 08:53 .
drwxr-xr-x   89 root     root         2552 Jun 20 23:49 ..
drwxr-xr-x    2 root     root           48 Jun 30 19:55 All

/usr/portage/packages/All:
total 1
drwxr-xr-x    2 root     root           48 Jun 30 19:55 .
drwxr-xr-x    3 root     root           72 Apr  2 08:53 ..
bouyer root # 

seems to disagree with you. Guess I'll just have to wait until another invlaid bug comes along