LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-12-2020, 09:49 AM   #1
lelunicu
Member
 
Registered: Jun 2019
Posts: 83

Rep: Reputation: Disabled
refresh


hi,
it is good when install patch with zypper to zypper refresh then zypper in.right?
 
Old 02-12-2020, 10:00 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,319

Rep: Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026
Quote:
Originally Posted by lelunicu View Post
hi,
it is good when install patch with zypper to zypper refresh then zypper in.right?
Again, you have a single-word description, and your question makes little sense. What are you asking??? What are you trying to do, with what version of openSUSE??
 
2 members found this post helpful.
Old 02-12-2020, 10:42 AM   #3
lelunicu
Member
 
Registered: Jun 2019
Posts: 83

Original Poster
Rep: Reputation: Disabled
my question make much sense.please refrain to answer if you dop not know.
 
Old 02-12-2020, 11:08 AM   #4
boughtonp
Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 235

Rep: Reputation: 120Reputation: 120
Quote:
my question make much sense
It might make perfect sense to you, and I think I understand the question being asked, but (like TB0ne) I don't understand why you're asking - there are insufficient details.

It's very tempting for me to just give a one word boolean answer and move on - it would be accurate, but it wouldn't help at all, hence why you are being asked to expand on what/why you're asking.


In a previous thread where you refused to ask properly, you received this reply from Jeremy (the owner of this site):
Quote:
Originally Posted by jeremy View Post
lelunicu,

Please read https://www.linuxquestions.org/quest...#faq_lqwelcome and let me know if you have any questions.

Here is the text he linked to - it is all worth reading, but especially the parts I have highlighted.
Quote:
Hello and welcome to LQ. You were pointed here because a fellow LQ member feels the thread you started doesn't contain enough information to enable us to help you. We understand that Linux can be intimidating for new members, and we really do want to help. That said, please understand that LQ is not a help desk, customer service line for a product you purchased or willing to do your homework (although we are happy to assist you with specifics, if you show some effort of your own!). We're a 100% volunteer organization that wants to help you help yourself.

Here are a couple tips that will enable us to help you moving forward:

When asking a question, be sure to provide as many relevant details as possible. You should include the distribution and version you're using, along with hardware details, application version and exact error messages where applicable.
Using a descriptive title will vastly increase the number of members who see your thread, and therefore make a response significantly more likely.
If you're actively troubleshooting an issue you should also include any steps you've already taken.
You may want to include how what you are experiencing differs from what you expected to experience.
Before posting, have you used the search function to ensure your question hasn't been asked before?
You can edit your post by clicking the EDIT button in the bottom right corner of your message.

If you are unwilling or unable to ask questions in a manner that allows us to help you, it's unlikely our community will be able to provide you a solution. Unfortunately, serial offenders who show wanton disregard for this request after multiple pointers may be asked to seek help elsewhere. We truly hope that isn't necessary, and assure you Linux and Open Source are extremely rewarding and well worth the learning curve in the long run.
 
2 members found this post helpful.
Old 02-12-2020, 12:29 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,319

Rep: Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026
Quote:
Originally Posted by lelunicu View Post
my question make much sense.please refrain to answer if you dop not know.
No, it doesn't. And if you can't explain what you're trying to do, write out a clear question, or answer the questions you've been asked, there isn't much point in posting.

If you want to know how zypper operates, read the man page and think about what the various options do. Doing a zypper install will AUTOMATICALLY refresh your repositories.
 
Old 02-14-2020, 06:37 AM   #6
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 2,184

Rep: Reputation: 700Reputation: 700Reputation: 700Reputation: 700Reputation: 700Reputation: 700Reputation: 700
Quote:
Originally Posted by TB0ne View Post
Doing a zypper install will AUTOMATICALLY refresh your repositories.
Only those for which autorefresh is enabled. It's easy to see the behavior if you have Packman configured. Configure it with autorefresh=0, wait a week or less, then try to install something from it, or simply zypper up. Almost certainly zypper will not be able to find every package it thinks you want or need rather than the versions available on the mirrors.
 
Old 02-16-2020, 04:56 PM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,319

Rep: Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026
Quote:
Originally Posted by mrmazda View Post
Only those for which autorefresh is enabled. It's easy to see the behavior if you have Packman configured. Configure it with autorefresh=0, wait a week or less, then try to install something from it, or simply zypper up. Almost certainly zypper will not be able to find every package it thinks you want or need rather than the versions available on the mirrors.
Quite true, thanks. By default, I will usually leave the repos on my systems set to auto-refresh, as that is (if I'm not mistaken), the default when adding a new repository.
 
Old 02-17-2020, 01:26 AM   #8
Sauerland
Member
 
Registered: Jul 2017
Distribution: openSUSE Leap
Posts: 83

Rep: Reputation: Disabled
You can set the autorefresh time in the /etc/zypp/zypp.conf.
It is set to 10 minutes by default.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Folder refresh. Where can I change how often the refresh occurs? glore2002 Slackware 2 08-12-2008 01:37 AM
Monitor Refresh rate webtoe Linux - General 6 11-08-2001 10:09 AM
Changing refresh rates???? Opentoe Linux - General 0 11-05-2001 07:00 PM
refresh toma Linux - General 17 08-08-2001 11:15 AM
NIC Not grabbing IP after DHCP refresh... bfloeagle Linux - Networking 2 07-26-2001 04:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 01:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration