Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -s question
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
Saran
n00b
n00b


Joined: 21 Jan 2003
Posts: 3
Location: Wilmington, Kent, UK

PostPosted: Tue Jan 21, 2003 7:46 pm    Post subject: emerge -s question Reply with quote

When you do an emerge -s packagename, where does it get the "latest version available" informaiton from? I have two gentoo boxes, one has gentoo-sources 2.4.19-r10 and the other has 2.4.19-r9. I have rsynced the second one five times, but it still only show r9.

Thank you
Back to top
View user's profile Send private message
sessionID
Apprentice
Apprentice


Joined: 11 Nov 2002
Posts: 266
Location: hungary

PostPosted: Tue Jan 21, 2003 8:03 pm    Post subject: Reply with quote

Maybe that portage mirror is not up-to-date (yet).
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Jan 21, 2003 8:12 pm    Post subject: Reply with quote

Moved from Desktop Environments.

How much time went by between your first and fifth rsyncs? I forget how long, but the last server you sync with is "remembered" for a while.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Saran
n00b
n00b


Joined: 21 Jan 2003
Posts: 3
Location: Wilmington, Kent, UK

PostPosted: Tue Jan 21, 2003 8:35 pm    Post subject: Reply with quote

I rsyncd with three different servers. Also, the r10 ebuild on my other box is dated 18 Dec, so this isn't a new update.

Where does it get the "latest version available" number from?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Jan 21, 2003 8:51 pm    Post subject: Reply with quote

On the box without r10, is there an ebuild for it in /usr/portage/sys-kernel/gentoo-sources ? If the ebuild exists, then it is a masking issue. Places to check: /var/cache/edb/world and under /etc/make.profile in packages, packages.build and virtuals.

If the ebuld doesn't exist, its a different issue.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Saran
n00b
n00b


Joined: 21 Jan 2003
Posts: 3
Location: Wilmington, Kent, UK

PostPosted: Tue Jan 21, 2003 9:05 pm    Post subject: Reply with quote

Thanks kanuslupus. The ebuild for r10 is there. /var/cache/edb/world lists gentoo-sources (but no version info), and under /etc/make.profile the only reference to gentoo-sources is in virtuals, which has

virtual/linux-sources sys-kernel/gentoo-sources

I suppose I could just emerge r10 explicitly, but I'm wondering how the emerge command decides what the latest version is?
Back to top
View user's profile Send private message
kutsuya
Retired Dev
Retired Dev


Joined: 21 Oct 2002
Posts: 189

PostPosted: Tue Jan 21, 2003 9:05 pm    Post subject: Reply with quote

Saran wrote:
I rsyncd with three different servers. Also, the r10 ebuild on my other box is dated 18 Dec, so this isn't a new update.

Where does it get the "latest version available" number from?


Hi,

To display lastest version available for gentoo, 'emerge' would look in $PORTDIR/sys-kernel/gentoo-sources and $PORTDIR_OVERLAY/sys-kernel/gentoo-sources (if you have PORTDIR_OVERLAY set) and displays the highest version ebuild that isn't masked.

Code:

kutsuya / # emerge -s gentoo-sources
Searching...   
[ Results for search key : gentoo-sources ]
[ Applications found : 1 ]
 
*  sys-kernel/gentoo-sources
      Latest version available: 2.4.19-r10
      Latest version installed: 2.4.19-r10
...
# cd /usr/portage/sys-kernel/gentoo-sources
# ls
ChangeLog           gentoo-sources-2.4.19-r7.ebuild
files              gentoo-sources-2.4.19-r8.ebuild
gentoo-sources-2.4.19-r10.ebuild  gentoo-sources-2.4.19-r9.ebuild
gentoo-sources-2.4.19-r4.ebuild   gentoo-sources-2.4.20-r1.ebuild
gentoo-sources-2.4.19-r5.ebuild
....


gentoo-sources-2.4.20-r1 is the hightest version in $PORTDIR, but it's not available. So, it is probably masked. Let's check if it is unstable or broken.

Code:

kutsuya gentoo-sources # ACCEPT_KEYWORDS="~x86" emerge -s gentoo-sources
Searching...   
[ Results for search key : gentoo-sources ]
[ Applications found : 1 ]
 
*  sys-kernel/gentoo-sources
      Latest version available: 2.4.20-r1
      Latest version installed: 2.4.19-r10
...


Looks like it's unstable.

To check the settings of PORTDIR, PORTDIR_OVERLAY, ACCEPT_KEYWORDS try emerge info.


Hope that helps a bit,
--Kutsuya.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Jan 21, 2003 9:24 pm    Post subject: Reply with quote

The only other file I can think of is in /var/cache/edb/world/virtuals, but I doubt it'd be in there.
_________________
Quis separabit? Quo animo?
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