openSUSE Forums > Install/Boot/Login » how to find and save updated packages

Go Back   openSUSE Forums > Install/Boot/Login
Forums FAQ Members List Search Today's Posts Mark Forums Read


Install/Boot/Login Questions about installation, login, boot issues, partitioning, file systems, software that runs at boot (GRUB, LILO, boot scripts)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 27-Sep-2009, 11:28
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 2
amaninsa hasn't been rated much yet
Default how to find and save updated packages

hi friends,
after installing new packages and softwares with the help of yast in opensuse11.1 how can i save those downloaded packages so that i will not have to download same packages again for another system(or if i needed them in future).Is it possible to save downloaded packages(through yast repos)and write them to cd.
Reply With Quote
  #2 (permalink)  
Old 27-Sep-2009, 11:36
Wise Penguin
 
Join Date: Mar 2009
Posts: 1,824
Akoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the rough
Default Re: how to find and save updated packages

Change your /etc/zypp/zypp.conf accordingly.

//Edit:

Belay that, you will have to edit the respective "repo"-files in /etc/zypp/repos.d/ if packages are kept or not on a repo by repo basis, though the places where you will _find_ those kept packages can be defined in zypp.conf, so having a look at that file makes sense, too.
__________________
“Never attribute to malice that which can be adequately explained by stupidity.” (R.J. Hanlon)
Reply With Quote
  #3 (permalink)  
Old 28-Sep-2009, 01:34
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 2
amaninsa hasn't been rated much yet
Default Re: how to find and save updated packages

Quote:
Originally Posted by Akoellh View Post
Change your /etc/zypp/zypp.conf accordingly.

//Edit:

Belay that, you will have to edit the respective "repo"-files in /etc/zypp/repos.d/ if packages are kept or not on a repo by repo basis, though the places where you will _find_ those kept packages can be defined in zypp.conf, so having a look at that file makes sense, too.
so if i want to save vlc rpm from Index of /pub/vlc/SuSE/11.1/ then what i should do so that i dont have to download ot again n again for other systems
second, is it depends upon reositories to let us save packgs
Reply With Quote
  #4 (permalink)  
Old 28-Sep-2009, 01:46
Wise Penguin
 
Join Date: Mar 2009
Posts: 1,824
Akoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the rough
Default Re: how to find and save updated packages

Zypper/Changes/11.0 - openSUSE
__________________
“Never attribute to malice that which can be adequately explained by stupidity.” (R.J. Hanlon)
Reply With Quote
  #5 (permalink)  
Old 28-Sep-2009, 02:45
Puzzled Penguin
 
Join Date: Mar 2009
Posts: 9
tokostok hasn't been rated much yet
Default Re: how to find and save updated packages

Use zypper for your installing/updating of packages (I'm not sure about YaST for this purpose as I've been using zypper exclusively).

Have a look here, Zypper Usage.

Also, from the command-line, type 'man zypper', 'zypper help', and 'zypper help modifyrepo' to explore more.

Basically you want to enable the caching of rpm's with 'zypper modifyrepo --keep-packages'. Whenever you install/upgrade a package you can get it from the following directory "/var/cache/zypp/packages/*".... Any packages you find there will belong to root, so you might have to 'chown <user>:<group> <files>', substituting user for your username and group for your group and files are the files you want to change the owner of....

The only other hitch I've experienced was that some packages downloaded were delta rpm's. To avoid this you need to edit the file "/etc/zypp/zypp.conf". Scroll to the line containing "download.use_deltarpm" and set the value to "false". Also make sure to uncomment that line (make sure it doesn't begin with any "#").

Note that from this point on any package you install/upgrade with zypper will be located in the cache directory (/var/cache/zypp/packages/*). Depending on what you're doing and how much space you have on your root partition... you have to watch how much space you have. To clean the cache (after fetching the rpm's you want) type 'zypper clean'.

That's my experience with being able to save any packages....
__________________
openSUSE 11.1 with KDE 4.1.3
Reply With Quote
Reply

Bookmarks

Tags
find packages, save downloaded packages, yast


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2