Zypper says: "will not be installed: ..."

I’m trying update this code:

sudo zypper up

output:

baris@linux-suse:~> sudo zypper up
root's password:
Retrieving repository 'KDE:KDE3' metadata [done]
Building repository 'KDE:KDE3' cache [done]
Retrieving repository 'openSUSE:Factory:Contrib' metadata [done]
Building repository 'openSUSE:Factory:Contrib' cache [done]
Retrieving repository 'pacman' metadata [done]
Building repository 'pacman' cache [done]
Loading repository data...
Reading installed packages...

The following package updates will NOT be installed:
  aria2 dcatools faac faad2 gstreamer-0_10-fluendo-mp3 gstreamer-0_10-lang gstreamer-0_10-plugins-bad gstreamer-0_10-plugins-base 
  gstreamer-0_10-plugins-farsight gstreamer-0_10-plugins-good kdelibs3-default-style lame libass4 libdca0 libdnet1 libdrm libdvbpsi6 
  libexiv2-9 libfaac0 libfaac-devel libfaad2 libfarsight2_0 libfluidsynth1 libgssdp-1_0-2 libgupnp-igd-1_0-3 libkate1 libkate-tools liblash1 
  libmad0 libmp3lame0 libmpeg2-0 libopencore-amrnb0 libopencore-amrwb0 libopencv2_2 liborc-0_4-0 libpcap1 libschroedinger-1_0-0 libshout3 
  libtag-extras1 libtorrent-rasterbar6 libtwolame0 libvdpau1 libvisual libvlc5 libxine1-gnome-vfs libxine1-pulse libxvidcore4 mp4v2 mpeg2dec 
  net-tools openslp python-libtorrent-rasterbar python-simplejson qt3 twolame wget xinetd 

The following package is going to be upgraded:
  pdfedit 

1 package to upgrade.
Overall download size: 2,1 MiB. No additional space will be used or freed after the operation.
Continue? [y/n/?] (y): y
Retrieving package pdfedit-0.4.3-1.5.i586 (1/1), 2,1 MiB (6,3 MiB unpacked)
Retrieving: pdfedit-0.4.3-1.5.i586.rpm [done (897,9 KiB/s)]
Installing: pdfedit-0.4.3-1.5 [done]

why does it say?

You may have use the package switch to hold them to a different provider like packman

zypper up will not break that setting, which is good.

I assume you followed the multi-media guide and did this
http://dl.dropbox.com/u/10573557/Switcher%20Pics/11.4_packman_switch.png

On 04/09/2011 08:06 PM, barisuse wrote:
>
> baris@linux-suse:~> sudo zypper up
> root’s password:
> Retrieving repository ‘KDE:KDE3’ metadata [done]
> Building repository ‘KDE:KDE3’ cache [done]
> Retrieving repository ‘openSUSE:Factory:Contrib’ metadata [done]
> Building repository ‘openSUSE:Factory:Contrib’ cache [done]

why are you accessing kde-THREE repositories??
and, why are you using Factory…

if you are an experienced Linux guru, then those are ok things to do…

are you a programmer, developer, or expert software tester?

or more like a 10+ year user, like me? if you are not an expert, please
show us the output of entering the following into a terminal


zypper lr -d

and copy/paste the output back to this thread using the instructions
here: http://goo.gl/i3wnr

and, please tell us what openSUSE version are you using, and what
version of which desktop environment?


CAVEAT: http://is.gd/bpoMD [NNTP via openSUSE 11.3 + KDE4.5.5 +
Thunderbird3.1.8] Can you believe it? This guy Ralph wins $181 million
in the lottery last Wednesday, and then finds the love of his life just
2 days later. Talk about LUCK!

@caf4926, i did it but, did not solve…
@DenverD, I dont know why it was so… Im a programmer. Im using openSUSE 11.4 KDE desktop

zypper -lr d

#  | Alias                    | Name                     | Enabled | Refresh | Priority | Type   | URI                                                                                 | Service
---+--------------------------+--------------------------+---------+---------+----------+--------+-------------------------------------------------------------------------------------+--------
 1 | KDE:KDE3                 | KDE:KDE3                 | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_11.4/                  |        
 2 | google-chrome            | google-chrome            | Yes     | Yes     |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/i386                                   |        
 3 | network:utilities-11.4   | network:utilities-11.4   | Yes     | No      |   99     | rpm-md | http://download.opensuse.org/repositories/network:/utilities/openSUSE_11.4/         |        
 4 | openSUSE-11.4-Source     | openSUSE-11.4-Source     | Yes     | No      |   99     | yast2  | http://download.opensuse.org/source/distribution/11.3/repo/oss/                     |        
 5 | openSUSE:Factory:Contrib | openSUSE:Factory:Contrib | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Factory:/Contrib/openSUSE_11.4/ |        
 6 | packman-11.4             | Packman                  | Yes     | No      |   99     | rpm-md | http://packman.jacobs-university.de/suse/openSUSE_11.4                              |        
 7 | repo-11.4-non-oss        | openSUSE-11.4 Non-OSS    | Yes     | No      |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/non-oss                         |        
 8 | repo-11.4-oss            | openSUSE-11.4 OSS        | Yes     | No      |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/oss/                            |        
 9 | repo-11.4-update         | openSUSE-11.4 Updates    | Yes     | No      |   99     | rpm-md | http://download.opensuse.org/update/11.4                                            |        
10 | vlc-11.4                 | VLC-11.4                 | Yes     | No      |   99     | rpm-md | http://download.videolan.org/pub/vlc/SuSE/11.4                                      |        

On 04/10/2011 10:36 AM, barisuse wrote:
>
> @DenverD, I dont know why it was so…

it is so because you need to remove (or disable and cease refreshing)
these, at least:

> # | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
> —±-------------------------±-------------------------±--------±--------±---------±-------±------------------------------------------------------------------------------------±-------
> 1 | KDE:KDE3 | KDE:KDE3 | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_11.4/ |
> 6 | packman-11.4 | Packman | Yes | No | 99 | rpm-md | http://packman.jacobs-university.de/suse/openSUSE_11.4 |
> 10 | vlc-11.4 | VLC-11.4 | Yes | No | 99 | rpm-md | http://download.videolan.org/pub/vlc/SuSE/11.4 |
>

personally (and many here use this as standard practice) i normally only
have four enabled: oss, non-oss, update and packman

but, maybe as a programmer you wanna live dangerously.


CAVEAT: http://is.gd/bpoMD
[NNTP via openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8]
Maybe the developers are not here because they are so busy fixing these>
http://tinyurl.com/392jnb

I deleted packman, vlc-11.4 and KDE:KDE3 but my problem is same…

Please post your repos now

zypper lr -d
# | Alias                    | Name                     | Enabled | Refresh | Priority | Type   | URI                                                                                 | Service                                                                                               
--+--------------------------+--------------------------+---------+---------+----------+--------+-------------------------------------------------------------------------------------+--------                                                                                               
1 | google-chrome            | google-chrome            | Yes     | Yes     |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/i386                                   |                                                                                                       
2 | network:utilities-11.4   | network:utilities-11.4   | Yes     | No      |   99     | rpm-md | http://download.opensuse.org/repositories/network:/utilities/openSUSE_11.4/         |                                                                                                       
3 | openSUSE-11.4-Source     | openSUSE-11.4-Source     | Yes     | No      |   99     | yast2  | http://download.opensuse.org/source/distribution/11.3/repo/oss/                     |                                                                                                       
4 | openSUSE:Factory:Contrib | openSUSE:Factory:Contrib | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Factory:/Contrib/openSUSE_11.4/ |                                                                                                       
5 | repo-11.4-non-oss        | openSUSE-11.4 Non-OSS    | Yes     | No      |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/non-oss                         |        
6 | repo-11.4-oss            | openSUSE-11.4 OSS        | Yes     | No      |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/oss/                            |        
7 | repo-11.4-update         | openSUSE-11.4 Updates    | Yes     | No      |   99     | rpm-md | http://download.opensuse.org/update/11.4   

On 2011-04-09 20:06, barisuse wrote:
> why does it say?

That there are possible updates that will not be installed because they
don’t meet the rules you have set.

You can fire up YaST package management, seek one of those packages not
upgraded, and in the versions tab see what is available and from what repo.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

Change as shown in Bold

I dont understand. But, not chancing them :S

Then you are on your own!

You can use “zypper up package_name” to check why.

Source: SDB:Zypper changes 11.3 - openSUSE

What these guys are saying is 100% spot on, but you probably just want to install the packages and move on.


zypper dup

This performs a “distribution” upgrade.

Let me tell you what I have it in quotes, your box isn’t going to become 12.1 unless, you have the repos.
What this is going to do is tell zypper that you can install packages from other repos than the one it originally came from.

I would set all of those repos to refresh though, this way you you get the latest and greatest…

Barisuse,

I think I can help explain a little about what is going on here with the zypper command ‘dup’.

I will use an example…

Say for instance I have a fresh install of OpenSUSE then I install a program like Inkscape with ‘zypper in inkscape’.

This will install the latest version of inkscape the repos can find, required dependencies and even several recommended programs.

This will grab inkscape (0.48.2) from the openSUSE:12.1/standard repository for example.
It doesn’t matter that you are using an earlier version of opensuse like 11.x, this is just an example and you can replace 12.1 with your version number.

But lets say later I want to try a newer version like inkscape 0.48.3! This is available in the GNOME:Apps/openSUSE_12.1+GNOME_STABLE_3.2 repository.
I add that repo with ‘zypper ar -r Index of /repositories/GNOME:/Apps/openSUSE_12.1+GNOME_STABLE_3.2 gnome-stable’
The -r flag will enable the refresh feature for that repo.

Now, after adding that new repo, if I use ‘zypper up’ alone, it will give me the warning that inkscape and all its other goodies will NOT be installed/upgraded.

This is because I have already installed inkscape from another repo and zypper is smart enough to know not to jump the gun and install the latest version from the newest repo “gnome-stable” even though it is there. Zypper will try to get inkscape from the original repo I installed it from. This is to protect that programs dependencies and save you some headache.

You have to control that upgrade behaviour.

One way to do that is to just use ‘zypper dup’ but this is DANGEROUS because it can cause system instability. Zypper will look at ALL the software you have installed, and regardless, will try to install the latest version from ANY repo you have enabled. This can and at some point in time will cause dependencies to break if you are not careful.

Have more control by using ‘zypper dup -r gnome-stable’ or ‘zypper dup --from gnome-stable’. What’s the difference?
With the -r flag, the upgrade will only look for newer dependencies from the repo specified. If you use --from the update will grab dependencies from any enabled repo. Consider the option that uses -r to be more lightweight and straight to the point. This option often excludes the recommended packages.

Of course, the usage of dup in this manner will still cause any OTHER installed programs that have a newer version in the gnome-stable repo to be upgraded as well, not jus inkscape… So consider whether or not you want this to happen.

Another option is to also run ‘zypper -r gnome-stable up inkscape’ or ‘zypper up inkscape -r gnome-stable’. I posted both because I am not sure which one will work, zypper is very specific where it wants certain flags. I’m sitting in front of windows machine cough.

NOTE: Make sure the repos you have ‘enabled’ are also set to refresh!
First, check your repos with ‘zypper repos’ which should list the repos, same as ‘zypper lr’.
For all the repos that are enabled, enable the refresh option with ‘zypper mr -r {1,2,3}’ where 1,2,3 represent repos (this number is found in the number column or you can use the repo short-name).