1 |
On Fri, 20 Dec 2013 14:50:47 +0400 |
2 |
"Yuri K. Shatroff" <yks-uno@××××××.ru> wrote: |
3 |
|
4 |
> |
5 |
> |
6 |
> 20.12.2013 14:35, Alexey Mishustin пишет: |
7 |
> > 2013/12/20 Yuri K. Shatroff <yks-uno@××××××.ru>: |
8 |
> >> 20.12.2013 13:30, Alexey Mishustin пишет: |
9 |
> > |
10 |
> >>> What is the contents of /var/lib/portage/world? |
11 |
> >>> |
12 |
> >> |
13 |
> >> Hm, really, it's almost empty except for the last packages I have |
14 |
> >> added yesterday... So that's clearly not an emerge bug, but ... |
15 |
> >> Could anything mess it up? |
16 |
> >> I have copied the system to a new HDD recently |
17 |
> > |
18 |
> > Including /var? |
19 |
> |
20 |
> Yes, I have /var on root fs and just rsync'ed. |
21 |
> |
22 |
> >> and done an `emerge @world`, |
23 |
> >> too, and everything went OK. |
24 |
> > |
25 |
> > If the correct version of the world file is lost, you may want to |
26 |
> > try to regenerate it with `regenworld'. This utility will search old |
27 |
> > emerge log files (did you copy it from old HDD?) If old emerge log |
28 |
> > files are lost too, then the script from [1] could help to recover |
29 |
> > some (major) part of the world file entries. |
30 |
> > |
31 |
> > [1] http://forums.gentoo.org/viewtopic-t-869667.html |
32 |
> > |
33 |
> |
34 |
> Thanks, I think a pretty easy way to regenerate @world is to edit the |
35 |
> output of `emerge -pv --deplean`. At least I'm going to try this. |
36 |
|
37 |
FWLIW, that's the way I handle this kind of thing. Run `emerge -pv |
38 |
--depclean`, then if portage wants to remove anything I want installed, |
39 |
`emerge --noreplace [atom1] [atom2] [...]` |