Home_greyopenFATE - openSUSE feature tracking > #304429
Dashboard | Search | Sign up | Login

Please login or register to be able to edit or vote this feature.

Package cache handling in yast

Feature state

openSUSE-11.1
Rejected Information
openSUSE-11.2
Done

Description

Add a possibility to edit 'keeppackages' option in *.repo files.

The downloaded packages are not kept by default, but it should be configurable by user.

The question is how it should be configurable. My suggestions are a check box or an extra menu item in the repositoru manager (repositories.ycp) .

References

https://bugzilla.novell.com/show_bug.cgi?id=393709

Testcase

  • check if the installed version of yast2-packager is 2.18.0 or later, with following command: $ rpm -q yast2-packager
  • add a new Software Repository: open YaST2 -> Software -> Software Repositories -> Add
  • during adding the new Software Repositories flag "Keep Downloaded Packages"
  • install or update a package: # zypper install <package name>
  • check if the package rpm file was saved in local cache (default: /var/cache/zypp/packages/)

Discussion


icons/user_comment.png L. S. wrote: (5 years ago)

Implemented in yast SVN trunk (will be in yast2-packager-2.18.0)

There is a new check box, similar to 'Enabled' and 'Autorefresh' check boxes.

(Bug #402617)

icons/user_comment.png E. S. wrote: (5 years ago)

Will it work when installing a package with Yast not zypper command?

icons/user_comment.png R. M. wrote: (5 years ago)

Yes. it is working. As specified above, there is a new checkbox in the UI for enabling cache handling.

icons/user_comment.png V. P. wrote: (5 years ago)

Will it also resume partially downloaded packages ?

icons/user_comment.png E. S. wrote: (5 years ago)

With the zypper command is possible to only download the requiered rpm files with all dependencies without affecting the system, this is usefull to make a distributable CD so you can install the programs even without an internet connection in another computer, in this way, you can get all the files without affecting the source PC, it would be good to add another check box "Download only" to acomplish that via Yast.

So you will have two options

"Keep Downloaded Packages"

"Download only"

Last change: 4 years ago
Voting
Score: 6
  • Negative: 0
  • Neutral: 0
  • Positive: 6
Feature Export
Application-xmlXML   Text-x-logPlaintext   PrinterPrint