When I try to install CUPS packages the following message appears:
linux-a49v:/home/sergio # LANG=C zypper in -f cups
Loading repository data...
Reading installed packages...
Forcing installation of 'cups-1.5.4-144.1.i586' from repository 'Printing'.
Resolving package dependencies...
The following 2 NEW packages are going to be installed:
cups cups-client
2 new packages to install.
Overall download size: 7.3 MiB. After the operation, additional 11.2 MiB will be used.
Continue? [y/n/? shows all options] (y): y
Retrieving package cups-client-1.5.4-144.1.i586 (1/2), 135.6 KiB (319.6 KiB unpacked)
Retrieving: cups-client-1.5.4-144.1.i586.rpm ...........................................................................................[error]
File './i586/cups-client-1.5.4-144.1.i586.rpm' not found on medium 'http://download.opensuse.org/repositories/Printing/openSUSE_13.1/'
Abort, retry, ignore? [a/r/i/? shows all options] (a):
That is the command, it means “zypper refresh” which downloads the repository information and up to date file and version listings.
Then run your
zypper in cups
This should not happen however unless the repository has been marked “do not refresh”, you should look at the results of: zypper lr and see if the repository has “No” under the Refresh.
On 2014-07-24 21:06, sergelli wrote:
>
> Miuku;2655672 Wrote:
>> The repository is out of date. Run zypper ref first.
>
> Sorry, but do not know how I do it.
>
> You could show me how it would be on the command line?
linux-a49v:/home/sergio # LANG=C zypper ref
Repository 'Packman Repository' is up to date.
Repository 'Printing' is up to date.
Repository 'libdvdcss repository' is up to date.
Repository 'openSUSE-13.1-1.10' is up to date.
Repository 'openSUSE-13.1-Non-Oss' is up to date.
Repository 'openSUSE-13.1-Oss' is up to date.
Repository 'openSUSE-13.1-Update' is up to date.
All repositories have been refreshed.
Yes, you’ll want to have “Refresh on” for all repositories that may get updated software - like Update, Printing etc etc.
Otherwise you’ll run into a situation where you are trying to install a file but the version has changed to a newer one and the old one is no longer available on the server.