zypper weirdness and inconsistency with yast2

After installing the RC2, I made a few updates with “zypper dup”, upgrading 80 packages here, downgrading about the same number packages, then upgraging packages again.

I believe it was Friday, zypper dup said it needed to downgrade 170 packages. These packages were all downloaded, but they were not installed by zypper. A few hours later, I tried Yast2 who refused to start because the package… something process was already running. Having given zypper a few hours, I killed the aforementioned process. Yast2 then proceded with a few upgrades.

However, when I now run “zypper dup” a few days later, it still wants to downgrade 170 packages. Yast2, on the other hand, says that their is nothing to do.

I was under the impression that Yast2 and zypper were running the same underlying process, that they should have the same view of the world. Obviously, this is not in case. I tried to find some zypper command to reset zypper. All I could find was the command to clean out the downloaded files. Then when I ran zypper dup, it downloaded 170 files, and then stopped instead of installing them.

Any advice on how to proceed would be much appreciated.

On 11/14/2011 09:26 AM, Purpendicular wrote:
>
> After installing the RC2, I made a few updates with “zypper dup”,
> upgrading 80 packages here, downgrading about the same number packages,
> then upgraging packages again.
>
> I believe it was Friday, zypper dup said it needed to downgrade 170
> packages. These packages were all downloaded, but they were not
> installed by zypper. A few hours later, I tried Yast2 who refused to
> start because the package… something process was already running.
> Having given zypper a few hours, I killed the aforementioned process.
> Yast2 then proceded with a few upgrades.
>
> However, when I now run “zypper dup” a few days later, it still wants
> to downgrade 170 packages. Yast2, on the other hand, says that their is
> nothing to do.
>
> I was under the impression that Yast2 and zypper were running the same
> underlying process, that they should have the same view of the world.
> Obviously, this is not in case. I tried to find some zypper command to
> reset zypper. All I could find was the command to clean out the
> downloaded files. Then when I ran zypper dup, it downloaded 170 files,
> and then stopped instead of installing them.
>
> Any advice on how to proceed would be much appreciated.

Do you understand the difference between ‘zypper dup’ and ‘zypper up’? See ‘man
zypper’ for an explanation. YaST can only do the latter, but you do need the former.

What error message did zypper output when it refused to install the downloaded
packages?

On 2011-11-14 16:26, Purpendicular wrote:
> I was under the impression that Yast2 and zypper were running the same
> underlying process, that they should have the same view of the world.

YaST can not do what “zypper dup” does.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

No error message what so ever. I just get the root prompt.

I don’t know if this is relevant, but it asks for the dvd file to be inserted. I answer “no”, it says it cannot find a file, I answer “i” for ignore. At this point one of two things happen. If the files have been cleared out, zypper downloads them (the ones that it wanted the dvd for). It then gives me the root prompt instead of installing them. No error message.

If the packages have already been downloaded, it just gives me the root prompt after i enter “i” for ignore.

The DVD is requested because you have it as source in your repos
Just uncheck it in the repo manager

Thank you ever so much! That did the trick.

No worries