Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22373 - portage doesn't check for existence of packages
Summary: portage doesn't check for existence of packages
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-06 19:18 UTC by Stuart Bouyer
Modified: 2011-10-30 22:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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