Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 609344 - app-portage/eix-0.32.4 does not update cleanly from previous versions
Summary: app-portage/eix-0.32.4 does not update cleanly from previous versions
Status: RESOLVED DUPLICATE of bug 609264
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-14 13:44 UTC by Phil Stracchino (Unix Ronin)
Modified: 2017-02-15 14:49 UTC (History)
1 user (show)

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 Phil Stracchino (Unix Ronin) 2017-02-14 13:44:20 UTC
app-portage/eix-0.32.4 fails to update existing files when installed as an update to an existing version.  It will first complain that /var/cache/eix/previous.eix is too old a version (34 instead of 37).  If you remove the file, expecting eix to recreate it, eix will complain that it cannot write to it.  If you remove the entire directory trying to trigger a reset, eix will now complain that it can't write to portage.eix either.

The only workaround I have found is:

rm -rf /var/cache/eix
emerge -1 app-portage/eix

This forces the cache directory and files to be properly recreated.
Comment 1 Phil Stracchino (Unix Ronin) 2017-02-14 13:46:45 UTC
Actually, I spoke somewhat too soon; eix will still complain on the next eix-sync that it cannot open previous.eix for reading.
Comment 2 Phil Stracchino (Unix Ronin) 2017-02-15 14:34:15 UTC
So there's actually a set of problems here:
1.  app-portage/eix-0.32.4 cannot use the previous.eix file from an older version of eix
2.  app-portage/eix-0.32.4 cannot overwrite the previous.eix file if it was created by an older version
3.  app-portage/eix-0.32.4 will not create previous.eix if it is missing, it will just complain that it cannot open it.
Comment 3 Brian Evans (RETIRED) gentoo-dev 2017-02-15 14:49:19 UTC

*** This bug has been marked as a duplicate of bug 609264 ***