View previous topic :: View next topic |
Author |
Message |
R!tman Veteran
Joined: 18 Dec 2003 Posts: 1303 Location: Zurich, Switzerland
|
Posted: Thu Apr 14, 2005 6:32 am Post subject: 'emerge -Dup world' not updating [solved] |
|
|
Hi all,
I get this:
Code: | # emerge -Dup world
These are the packages that I would merge, in order:
Calculating world dependencies ...done! |
But also that:
Code: | # emerge -pu xscreensaver
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild U ] x11-misc/xscreensaver-4.20 [4.16] |
What is wrong here?
[edit]
I hope xscreensaver is the only package that does that...
[/edit]
Last edited by R!tman on Thu Apr 14, 2005 6:59 am; edited 2 times in total |
|
Back to top |
|
|
Suicidal l33t
Joined: 30 Jul 2003 Posts: 959 Location: /dev/null
|
Posted: Thu Apr 14, 2005 6:44 am Post subject: |
|
|
Try a resync, alot of pkgs have been getting moved recently. If that doesnt fix it file ze bug report. |
|
Back to top |
|
|
R!tman Veteran
Joined: 18 Dec 2003 Posts: 1303 Location: Zurich, Switzerland
|
Posted: Thu Apr 14, 2005 6:58 am Post subject: |
|
|
Although I unmerge and emerge xscreensaver twice, I had this. Despite that,
Code: | # regenworld
add to world: x11-misc/xscreensaver |
fixed it.
Still looks strange to me. |
|
Back to top |
|
|
rhill Retired Dev
Joined: 22 Oct 2004 Posts: 1629 Location: sk.ca
|
Posted: Thu Apr 14, 2005 10:28 am Post subject: |
|
|
when you emerge a package that has dependencies, only the package you specifically gave to portage gets put in the world file. the deps don't. the idea is that doing an emerge --deep will see that package in the world file and check it's dependencies for updates as well. also, if there's an update to a dependency and you emerge it, it still doesn't get added. now, if the original package were to be unmerged, you'd end up with orphan dependencies that never get checked when you search for updates. there are other ways this can happen, but this is a pretty common one.
anyways, this oneliner will check each and every package you have installed for upgrades individually.
Code: | emerge -up --nodeps $(qpkg -I -nc | awk '{printf $1 " "}') |
just set it as a function in .bashrc or put it in a script and run it every once in a while. it usualy picks up one or two stray packages that portage missed. _________________ by design, by neglect
for a fact or just for effect |
|
Back to top |
|
|
R!tman Veteran
Joined: 18 Dec 2003 Posts: 1303 Location: Zurich, Switzerland
|
Posted: Thu Apr 14, 2005 12:37 pm Post subject: |
|
|
dirtyepic wrote: | when you emerge a package that has dependencies, only the package you specifically gave to portage gets put in the world file. the deps don't. the idea is that doing an emerge --deep will see that package in the world file and check it's dependencies for updates as well. also, if there's an update to a dependency and you emerge it, it still doesn't get added. now, if the original package were to be unmerged, you'd end up with orphan dependencies that never get checked when you search for updates. there are other ways this can happen, but this is a pretty common one.
anyways, this oneliner will check each and every package you have installed for upgrades individually.
Code: | emerge -up --nodeps $(qpkg -I -nc | awk '{printf $1 " "}') |
just set it as a function in .bashrc or put it in a script and run it every once in a while. it usualy picks up one or two stray packages that portage missed. |
You are right about the dependency stuff. What I find strange that the error still occured after I did
Code: | emerge -C xscreensaver
emerge =x11-misc/xscreensaver-4.16 |
After this,
still did not want to install xscreensaver-4.20, although xscreensaver was not installed as a dependency of something. Instead
Code: | emerge -up xscreensaver |
worked.
Like I said,
fixed it. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|