YasT refresh for installation source does not work
Hi all, for our network at work, I have created a YaST repository with a few additional RPMs we want to be able to install on our workstations. The repo is installed as an NFS repo in YaST on the workstations (SuSE 10.0) and it can see and work with that repo. Hence, that part is working fine. However, if I change the repository (e.g. add/remove packages and re-run create_package_description), YaST does not pick up the changes. First thing I did was to go into "Installation Source" and do a "refresh" for that repository. But that does not seem to work - YaST still lists the old/deleted RPMs from that repo and does not show the new ones. Also, in /var/adm/YaST/InstSrcmanager/CORRESPONDING_CACHE/, I can see that only the description gets updated by a "refresh" - but not the "packages" file. The only way to get YaST to "get" the changes is to delete and recreate the entry for that repo - which is tedious and confusing. Is this a bug in YaST or am I missing something? Cheerio, Thomas
T. Ribbrock wrote:
I have created a YaST repository with a few additional RPMs we want to be able to install on our workstations. The repo is installed as an NFS repo in YaST on the workstations (SuSE 10.0) and it can see and work with that repo. Hence, that part is working fine. However, if I change the repository (e.g. add/remove packages and re-run create_package_description), YaST does not pick up the changes. First thing I did was to go into "Installation Source" and do a "refresh" for that repository. But that does not seem to work What version? It works in 9.3, just added an rpm to a directory I set up (though a local directory), refreshed it, and it worked fine. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
On Wed, Nov 09, 2005 at 09:53:19PM +0800, Joe Morris (NTM) wrote:
What version? It works in 9.3, just added an rpm to a directory I set up (though a local directory), refreshed it, and it worked fine.
As I said, the workstations are 10.0. The server where I create the repo is 9.1. So, if I understand you correctly, you test was using a repo that was installed in YaST as "Local Directory"? Mine is using NFS - I might try it differently to see whether that changes anything. Cheerio, Thomas
Ok, I found it: YaST apparently only refreshes the repo if the date given in media.X/media in the repo has changed. I found this by meditating over y2log combined with trial and error. I'm now trying to find docs to shed some light on this. The docs contained in yast2-packagemanager-devel look promising so far... Cheerio, Thomas
On Wednesday 09 November 2005 08:53 am, Joe Morris (NTM) wrote:
T. Ribbrock wrote:
I have created a YaST repository with a few additional RPMs we want to be able to install on our workstations. The repo is installed as an NFS repo in YaST on the workstations (SuSE 10.0) and it can see and work with that repo. Hence, that part is working fine. However, if I change the repository (e.g. add/remove packages and re-run create_package_description), YaST does not pick up the changes. First thing I did was to go into "Installation Source" and do a "refresh" for that repository. But that does not seem to work
What version? It works in 9.3, just added an rpm to a directory I set up (though a local directory), refreshed it, and it worked fine. -- Joe Morris
I've noticed this same problem Joe & T. on my 10.0 setup. It just doesn't seem to refresh the package list if you have previously used that site for updates or package installation. It would appear also that just disabling the site doesn't work to go back to it later either. You have to completely remove it as T. mentioned and re-add it or another to proceed successfully. Seems as though I remember something of this being mentioned in the opensuse mail list, but I don't recall a solution. end of line Lee
On Wednesday 09 November 2005 09:04 am, BandiPat wrote:
On Wednesday 09 November 2005 08:53 am, Joe Morris (NTM) wrote:
T. Ribbrock wrote:
I have created a YaST repository with a few additional RPMs we want to be able to install on our workstations. The repo is installed as an NFS repo in YaST on the workstations (SuSE 10.0) and it can see and work with that repo. Hence, that part is working fine. However, if I change the repository (e.g. add/remove packages and re-run create_package_description), YaST does not pick up the changes. First thing I did was to go into "Installation Source" and do a "refresh" for that repository. But that does not seem to work
What version? It works in 9.3, just added an rpm to a directory I set up (though a local directory), refreshed it, and it worked fine. -- Joe Morris
*******
I've noticed this same problem Joe & T. on my 10.0 setup. It just doesn't seem to refresh the package list if you have previously used that site for updates or package installation. It would appear also that just disabling the site doesn't work to go back to it later either. You have to completely remove it as T. mentioned and re-add it or another to proceed successfully.
Seems as though I remember something of this being mentioned in the opensuse mail list, but I don't recall a solution.
end of line Lee ======== An addendum to my previous mail. This problem only seems to happen with SuSE sources. The Packman sources, I have not had a problem with refresh!
participants (3)
-
BandiPat
-
Joe Morris (NTM)
-
T. Ribbrock