Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
'emerge -Dup world' not updating [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Thu Apr 14, 2005 6:32 am    Post subject: 'emerge -Dup world' not updating [solved] Reply with quote

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
View user's profile Send private message
Suicidal
l33t
l33t


Joined: 30 Jul 2003
Posts: 959
Location: /dev/null

PostPosted: Thu Apr 14, 2005 6:44 am    Post subject: Reply with quote

Try a resync, alot of pkgs have been getting moved recently. If that doesnt fix it file ze bug report.
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Thu Apr 14, 2005 6:58 am    Post subject: Reply with quote

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
View user's profile Send private message
rhill
Retired Dev
Retired Dev


Joined: 22 Oct 2004
Posts: 1629
Location: sk.ca

PostPosted: Thu Apr 14, 2005 10:28 am    Post subject: Reply with quote

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
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Thu Apr 14, 2005 12:37 pm    Post subject: Reply with quote

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,
Code:
emerge -Dup world

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,
Code:
regenworld

fixed it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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