Subject: Bug#755: cannot upgrade x2goServer on fedora 20 using yum

From: "ura" <[email-masked]>
Date: Wed, 21 Jan 2015 18:54:19 -0000

Package: x2goserver
Version: 4.0.1.18

i have been unable to complete the update for x2goserver here on fedora 
20 (64bit). i have not changed the config files or repo files that are 
relevant to x2goserver since the last successful update was run.

i run yum update and receive the following output in the terminal:

  yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
  * fedora: ftp.nluug.nl
  * rpmfusion-free: mirror.nl.leaseweb.net
  * rpmfusion-free-updates: mirror.nl.leaseweb.net
  * updates: ftp.nluug.nl
Resolving Dependencies
--> Running transaction check
---> Package x2goserver.x86_64 
0:4.0.1.18-0.0x2go1.1.git20141006.949.main.fc20 will be updated
--> Processing Dependency: x2goserver = 
4.0.1.18-0.0x2go1.1.git20141006.949.main.fc20 for package: 
x2goserver-extensions-4.0.1.18-0.0x2go1.1.git20141006.949.main.fc20.x86_64
---> Package x2goserver.x86_64 0:4.0.1.18-5.fc20 will be an update
---> Package x2goserver-xsession.x86_64 
0:4.0.1.18-0.0x2go1.1.git20141006.949.main.fc20 will be updated
---> Package x2goserver-xsession.x86_64 0:4.0.1.18-5.fc20 will be an update
--> Finished Dependency Resolution
Error: Package: 
x2goserver-extensions-4.0.1.18-0.0x2go1.1.git20141006.949.main.fc20.x86_64 
(@x2go-releases)
            Requires: x2goserver = 
4.0.1.18-0.0x2go1.1.git20141006.949.main.fc20
            Removing: 
x2goserver-4.0.1.18-0.0x2go1.1.git20141006.949.main.fc20.x86_64 
(@x2go-releases)
                x2goserver = 4.0.1.18-0.0x2go1.1.git20141006.949.main.fc20
            Updated By: x2goserver-4.0.1.18-5.fc20.x86_64 (updates)
                x2goserver = 4.0.1.18-5.fc20
            Available: x2goserver-4.0.1.6-5.fc20.x86_64 (fedora)
                x2goserver = 4.0.1.6-5.fc20
  You could try using --skip-broken to work around the problem
  You could try running: rpm -Va --nofiles --nodigest

expected outcome:
package updates correctly.

---

From: Michael DePaulo <[email-masked]>
Date: Sat, 24 Jan 2015 20:26:43 -0500

Hi Ura & Orion,

On Wed, Jan 21, 2015 at 1:54 PM, ura <[email-masked]> wrote:
>
> Package: x2goserver
> Version: 4.0.1.18
>
> i have been unable to complete the update for x2goserver here on fedora 20
> (64bit). i have not changed the config files or repo files that are relevant
> to x2goserver since the last successful update was run.
>
> _______________________________________________
> x2go-dev mailing list
> [email-masked]
> http://lists.x2go.org/listinfo/x2go-dev

The problem is based on these circumstances:
1. You have X2Go installed from packages.x2go.org. The version string
starts with: 4.0.1.18-0
2. The version of x2goserver in the fedora 20 updates repo has a
higher version string: 4.0.1.18-5
3. You have the package x2goserver-extensions installed from
packages.x2go.org. This is normal.
4. The x2goserver packages in Fedora 20 (both the base repo and the
updates repo) do not include the x2goserver-extensions package.

Orion,
It looks like the files that are in the packages.x2go.org
x2goserver-extensions package[1] are included in the Fedora
x2goserver[2] package, correct?
if so, I think Ura can solve this problem by removing
x2goserver-extensions, and then running yum update.

-Mike#2

[1] http://packages.x2go.org/fedora/20/main/x86_64/rpms/x2goserver/
[2] http://koji.fedoraproject.org/koji/buildinfo?buildID=602993

---

From: Orion Poplawski <[email-masked]>
Date: Sat, 24 Jan 2015 21:43:09 -0700

> x2goserver-extensions, and then running yum update.

or:

yum shell
 > remove x2goserver-extensions
 > upgrade
 > run

I could probably have the Fedora x2goserver package provide 
x2goserver-extensions to help with such situations.

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  [email-masked]
Boulder, CO 80301              http://www.cora.nwra.com

---

From: "ura" <[email-masked]>
Date: Sun, 25 Jan 2015 12:38:48 -0000

thanks for responding here.
i just ran:
yum remove x2goserver-extensions

and yum also elected to remove x2goserver, agent and xsession as 
dependencies. do you advise to remove all of these too?

-- 

<https://www.ureka.org>

*ura soul*
/founder & co-creator/

web: www.ureka.org <https://www.ureka.org>

YouTube <https://www.youtube.com/user/neekos72> Twitter 
<https://twitter.com/ura_soul1> Facebook 
<https://www.facebook.com/ureka.community>

---

From: Michael DePaulo <[email-masked]>
Date: Sun, 25 Jan 2015 07:51:12 -0500

Yes, you should do so and then reinstall the x2goserver and
x2goserver-xesssion packages. Doing so will reinstall the necessary
dependencies (e.g., nxagent).

Of course, you should do so via a local console or command-line SSH, not
via an X2Go session.

And if you have made any changes to files under /etc/x2go/, you should back
them up 1st.

-Mike#2

On Sun, Jan 25, 2015 at 7:38 AM, ura <[email-masked]> wrote:

>  [...]

---

From: "ura" <[email-masked]>
Date: Sun, 25 Jan 2015 13:29:03 -0000

ok, i just removed them.
yum upgrade did nothing and yum run is not a valid yum directive.
in any case, after re-installing the packages and running yum update, i 
now see no warnings in yum and the x2go client/server connection is 
running fine.

thanks again.

On 25/01/15 12:51, Michael DePaulo wrote:
> Of course, you should do so via a local console or command-line SSH, 
> not via an X2Go session.
>
> And if you have made any changes to files under /etc/x2go/, you should 
> back them up 1st.
>
> -Mike#2
>
> On Sun, Jan 25, 2015 at 7:38 AM, ura <[email-masked] 
> <mailto:[email-masked]>> wrote:
>
>>>     1. You have X2Go installed from packages.x2go.org
>>>     <http://packages.x2go.org>. The version string
>>>     starts with: 4.0.1.18-0
>>>     packages.x2go.org <http://packages.x2go.org>. This is normal.
>>>     <http://packages.x2go.org>

-- 

<https://www.ureka.org>

*ura soul*
/founder & co-creator/

---

From: Michael DePaulo <[email-masked]>
Date: Sun, 25 Jan 2015 09:42:54 -0500

On Sun, Jan 25, 2015 at 8:29 AM, ura <[email-masked]> wrote:

> now see no warnings in yum and the x2go client/server connection is running
> fine.
>
> thanks again.
>

Ura,

Great :)

Orion,

Yes, please do so when you get a chance.

-Mike#2