View previous topic :: View next topic |
Author |
Message |
Saran n00b
Joined: 21 Jan 2003 Posts: 3 Location: Wilmington, Kent, UK
|
Posted: Tue Jan 21, 2003 7:46 pm Post subject: emerge -s question |
|
|
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 |
|
|
sessionID Apprentice
Joined: 11 Nov 2002 Posts: 266 Location: hungary
|
Posted: Tue Jan 21, 2003 8:03 pm Post subject: |
|
|
Maybe that portage mirror is not up-to-date (yet). |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Tue Jan 21, 2003 8:12 pm Post subject: |
|
|
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 |
|
|
Saran n00b
Joined: 21 Jan 2003 Posts: 3 Location: Wilmington, Kent, UK
|
Posted: Tue Jan 21, 2003 8:35 pm Post subject: |
|
|
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Tue Jan 21, 2003 8:51 pm Post subject: |
|
|
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 |
|
|
Saran n00b
Joined: 21 Jan 2003 Posts: 3 Location: Wilmington, Kent, UK
|
Posted: Tue Jan 21, 2003 9:05 pm Post subject: |
|
|
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 |
|
|
kutsuya Retired Dev
Joined: 21 Oct 2002 Posts: 189
|
Posted: Tue Jan 21, 2003 9:05 pm Post subject: |
|
|
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Tue Jan 21, 2003 9:24 pm Post subject: |
|
|
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 |
|
|
|