job done, reason why it wouldnt start as the cert wasnt there so made new
self signed using below

openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout selfsigned.key
-out selfsigned.crt

edited the x2gohtml.conf file and nginx can now restart fine

On Wed, 5 Oct 2022 at 13:39, robert k Wild <robertkw...@gmail.com> wrote:

> ok ive done a new vm and i cant restart nginx
>
> root@x11:/etc/nginx/sites-enabled# pwd
> /etc/nginx/sites-enabled
> root@x11:/etc/nginx/sites-enabled# ls
> x2gohtmlclient-demo.conf
> root@x11:/etc/nginx/sites-enabled#
>
> systemctl restart nginx
> Job for nginx.service failed because the control process exited with error
> code.
> See "systemctl status nginx.service" and "journalctl -xeu nginx.service"
> for details.
>
>
> On Wed, 5 Oct 2022 at 11:53, robert k Wild <robertkw...@gmail.com> wrote:
>
>> same result
>>
>> apt --fix-broken install
>> Reading package lists... Done
>> Building dependency tree... Done
>> Reading state information... Done
>> Correcting dependencies... Done
>> The following packages were automatically installed and are no longer
>> required:
>>   libcapture-tiny-perl libconfig-simple-perl libdbd-pg-perl
>> libdbd-sqlite3-perl libdbi-perl libfile-which-perl libjs-sphinxdoc
>> libjs-underscore
>>   libnx-x11-6 libpq5 libswitch-perl libx2go-log-perl
>> libx2go-server-db-perl libx2go-server-perl libxcomp3 libxcompshad3
>> net-tools nx-x11-common
>>   nxagent pwgen python3-brotli python3-cpuinfo python3-dns python3-lz4
>> python3-lzo python3-uritools sshfs x2goserver-common x2goserver-x2goagent
>>   xserver-xorg-video-dummy
>> Use 'apt autoremove' to remove them.
>> The following additional packages will be installed:
>>   libx2go-server-perl x2goserver-common
>> The following packages will be REMOVED:
>>   libx2go-utils-perl
>> The following packages will be upgraded:
>>   libx2go-server-perl x2goserver-common
>> 2 upgraded, 0 newly installed, 1 to remove and 30 not upgraded.
>> 2 not fully installed or removed.
>> Need to get 0 B/131 kB of archives.
>> After this operation, 104 kB of additional disk space will be used.
>> Do you want to continue? [Y/n] y
>> debconf: delaying package configuration, since apt-utils is not installed
>> (Reading database ... 124016 files and directories currently installed.)
>> Preparing to unpack
>> .../libx2go-server-perl_4.1.0.4-0~1949~ubuntu22.04.1_all.deb ...
>> Unpacking libx2go-server-perl (4.1.0.4-0~1949~ubuntu22.04.1) over
>> (4.1.0.3-5) ...
>> dpkg: error processing archive
>> /var/cache/apt/archives/libx2go-server-perl_4.1.0.4-0~1949~ubuntu22.04.1_all.deb
>> (--unpack):
>>  trying to overwrite '/usr/share/man/man3/X2Go::Utils.3pm.gz', which is
>> also in package libx2go-utils-perl 4.1.0.3-5
>> Errors were encountered while processing:
>>
>>  
>> /var/cache/apt/archives/libx2go-server-perl_4.1.0.4-0~1949~ubuntu22.04.1_all.deb
>> needrestart is being skipped since dpkg has failed
>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>> root@x11:~# apt-get install x2goserver x2goserver-xsession
>> Reading package lists... Done
>> Building dependency tree... Done
>> Reading state information... Done
>> You might want to run 'apt --fix-broken install' to correct these.
>> The following packages have unmet dependencies:
>>  libx2go-log-perl : Depends: x2goserver-common (>=
>> 4.1.0.4-0~1949~ubuntu22.04.1) but 4.1.0.3-5 is to be installed
>>  libx2go-server-db-perl : Depends: x2goserver-common (>=
>> 4.1.0.4-0~1949~ubuntu22.04.1) but 4.1.0.3-5 is to be installed
>>  libx2go-server-perl : Depends: libx2go-log-perl (< 4.1.0.3-5.1~) but
>> 4.1.0.4-0~1949~ubuntu22.04.1 is to be installed
>>                        Depends: libx2go-server-db-perl (< 4.1.0.3-5.1~)
>> but 4.1.0.4-0~1949~ubuntu22.04.1 is to be installed
>>  x2goserver : Depends: libx2go-server-perl (>=
>> 4.1.0.4-0~1949~ubuntu22.04.1) but 4.1.0.3-5 is to be installed
>>               Depends: x2goserver-common (>=
>> 4.1.0.4-0~1949~ubuntu22.04.1) but 4.1.0.3-5 is to be installed
>>               Depends: x2goserver-x2goagent (>=
>> 4.1.0.4-0~1949~ubuntu22.04.1) but 4.1.0.3-5 is to be installed
>>               Depends: x2goserver-x2gokdrive (<
>> 4.1.0.4-0~1949~ubuntu22.04.1.1~) but it is not going to be installed
>>               Depends: x2goserver-x2gokdrive (>=
>> 4.1.0.4-0~1949~ubuntu22.04.1) but it is not going to be installed
>>               Recommends: x2goserver-extensions (<
>> 4.1.0.4-0~1949~ubuntu22.04.1.1~) but it is not going to be installed
>>               Recommends: x2goserver-extensions (>=
>> 4.1.0.4-0~1949~ubuntu22.04.1) but it is not going to be installed
>>               Recommends: x2goserver-fmbindings (<
>> 4.1.0.4-0~1949~ubuntu22.04.1.1~) but it is not going to be installed
>>               Recommends: x2goserver-fmbindings (>=
>> 4.1.0.4-0~1949~ubuntu22.04.1) but it is not going to be installed
>>               Recommends: x2goserver-printing (<
>> 4.1.0.4-0~1949~ubuntu22.04.1.1~) but it is not going to be installed
>>               Recommends: x2goserver-printing (>=
>> 4.1.0.4-0~1949~ubuntu22.04.1) but it is not going to be installed
>> E: Unmet dependencies. Try 'apt --fix-broken install' with no packages
>> (or specify a solution).
>>
>> On Wed, 5 Oct 2022 at 11:51, Stefan Baur <x2go-m...@baur-itcs.de> wrote:
>>
>>> Am 05.10.22 um 12:49 schrieb robert k Wild:
>>> > E: Unmet dependencies. Try 'apt --fix-broken install' with no packages
>>> (or
>>> > specify a solution).
>>> >
>>> > looks like i need to re install ubuntu as i dont get it
>>>
>>> So what happens when you run "apt --fix-broken install", as the output
>>> suggests?
>>>
>>> Kind Regards,
>>> Stefan Baur
>>>
>>> --
>>> BAUR-ITCS UG (haftungsbeschränkt)
>>> Geschäftsführer: Stefan Baur
>>> Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
>>> Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
>>>
>>
>>
>> --
>> Regards,
>>
>> Robert K Wild.
>>
>
>
> --
> Regards,
>
> Robert K Wild.
>


-- 
Regards,

Robert K Wild.
_______________________________________________
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Reply via email to