Re: [opensuse] Fetching updates once for two boxes



Carlos E. R. wrote:


On Thursday, 2008-10-30 at 19:01 -0700, j debert wrote:

How can I fetch all the updates required for both boxes once without
having to become a repository and download everything--which would far
exceed isp's limits. This would probably be some sort of proxy agent
that can read the installed database for each box then fetch each
package once and only once for both boxes. Is there yet a utility to
do that?

This was a feature of Yast some versions back, but it has been lost. I
believe that zypper can store permanently downloaded packages
somewhere, but I don't recall how. I think this could be used to to
the update first in one computer, copy over the downloaded rpms to the
other machine, then run zypper again on that.

The zypper manual doesn't mention this :-?

-- Cheers,
Carlos E. R.
Libzypp (yast and zypper) can keep packages in /var/cache/zypp/packages/
in a directory that matches the repository the rpms were downloaded
from. For example if the file /etc/zypp/repos.d/packman.repo was the
repository description file for
http://ftp.skynet.be/pub/packman/suse/11.0/ and the section in the file
keeppackages was set to keeppackages=1 then the directory
/var/cache/zypp/packages/packman/i586 wil contain all rpms that libzypp
downloads from http://ftp.skynet.be/pub/packman/suse/11.0/i586/ . These
packages can be moved to another directory and that directory turned
into a local repository with the createrepo command.
zypper has a -k option used with zypper ar to add repos with
keeppackages set to 1
Regards
Dave P

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: Some thoughts about yum and repositories
    ... > can at least use a yum.conf if we can copy or download it. ... that yum can locate and download for you. ... When you want to add a new repository to your yum.conf, ... You can use a tool like wget to download packages ...
    (Fedora)
  • [opensuse] Problems live update OpenSuSE 11.1 to 11.2
    ... zypper repos --uri ... zypper renamerepo repo-update 111-repo-update ... Repository 'repo-update' renamed to '111-repo-update'. ... The following packages are going to be upgraded: ...
    (SuSE)
  • Re: [opensuse] Problems with updating
    ... zypper gave error related to Main Repository, ... in mind is that you should never have to reinstall to fix a problem with a ... Building repository 'Main Repository ' cache ... This may be caused by invalid metadata in the repository, or by a bug in the ...
    (SuSE)
  • Re: Offline update
    ... server is isolated and not able to go out on the web to RHN? ... *) Use another host with external access as a RHEL mirror, using "reposync" to mirror the entire download repository channels. ... which has a far more reliable software downlod and repository mirroring capability and has fundamental software compatibility with RHEL. ... The software channels and their associated DRM are one of the most irritating aspects of RHEL: even the recent "yum-rhn-plugin" in RHEL 5 is actually "up2date", wearing granny's nightgown, and ignores basic features of yum such as channel-specific configuration files to provide channel-specific "exclude" ...
    (linux.redhat)
  • Re: [opensuse] YAST2 not displaying package descriptions
    ... package descriptions for most of the rpms that came with the DVD. ... local repository. ... time to download when a large repository refreshes. ...
    (SuSE)