From I.Elston at bolton.ac.uk Wed Dec 6 11:46:56 2023 From: I.Elston at bolton.ac.uk (Elston, Ian) Date: Wed, 6 Dec 2023 11:46:56 +0000 Subject: [ZendTo] error installing zendto-saml on ubuntu References: Message-ID: Hi all I've set up a new ubuntu box, installed zendto with the installer script, and then gone to run apt install zendto-saml as we want to point this new one at ADFS or AAD. So I follow https://zend.to/saml#packages When I run apt install zendto-saml I get some error Preparing to unpack .../7-zendto-saml_1.0-1_all.deb ... dpkg: error processing archive /tmp/apt-dpkg-install-2tFDGY/7-zendto-saml_1.0-1_all.deb (--unpack): conffile name 'opt/zendto/simplesamlphp/config/acl.php' is not an absolute pathname Errors were encountered while processing: /tmp/apt-dpkg-install-2tFDGY/7-zendto-saml_1.0-1_all.deb needrestart is being skipped since dpkg has failed E: Sub-process /usr/bin/dpkg returned an error code (1) I found this on the archives http://jul.es/pipermail/zendto/2022-February/004588.html Can anyone reproduce this error? Is there a workaround for a relative linux-y novice? ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk [University of Bolton] This email (and any attachments) is confidential and may contain personal views which are not the views of the University of Bolton unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose information in any way nor act in reliance on it and notify the sender immediately. Please note the University of Bolton monitors emails sent or received. Further communication will signify your consent to this. From alt36 at cam.ac.uk Thu Dec 7 09:42:22 2023 From: alt36 at cam.ac.uk (Adam Thorn) Date: Thu, 7 Dec 2023 09:42:22 +0000 Subject: [ZendTo] error installing zendto-saml on ubuntu In-Reply-To: References: <2c233b8b-f312-41d4-9eec-76f1fd11bbd3@cam.ac.uk> Message-ID: On 06/12/2023 11:46, Elston, Ian via ZendTo wrote: > Hi all > > I've set up a new ubuntu box, installed zendto with the installer script, and then gone to run apt install zendto-saml as we want to point this new one at ADFS or AAD. > > So I follow https://zend.to/saml#packages>> > When I run apt install zendto-saml I get some error > > > Preparing to unpack .../7-zendto-saml_1.0-1_all.deb ... > dpkg: error processing archive /tmp/apt-dpkg-install-2tFDGY/7-zendto-saml_1.0-1_all.deb (--unpack): > conffile name 'opt/zendto/simplesamlphp/config/acl.php' is not an absolute pathname > Errors were encountered while processing: > /tmp/apt-dpkg-install-2tFDGY/7-zendto-saml_1.0-1_all.deb > needrestart is being skipped since dpkg has failed > E: Sub-process /usr/bin/dpkg returned an error code (1) > > I found this on the archives > http://jul.es/pipermail/zendto/2022-February/004588.html>> > > Can anyone reproduce this error? Is there a workaround for a relative linux-y novice? I've never used the installation script but note that zendto-saml_1.0-1_all.deb is not the latest version. The links on https://zend.to/downloads for the zendto-saml deb are for 1.1-3. I've had a quick look at the 1.0-1 vs 1.1-3 debs and can see that 1.0-1 definitely has the packaging error referenced in the mailing list post you found, whereas 1.1-3 does not. I think the installer downloads installs zendto-repo.deb, which'll provide /etc/apt/sources.list.d/zendto.list . What are the contents of that file, and what version of Ubuntu are you using? Adam From alt36 at cam.ac.uk Thu Dec 7 09:52:50 2023 From: alt36 at cam.ac.uk (Adam Thorn) Date: Thu, 7 Dec 2023 09:52:50 +0000 Subject: [ZendTo] error installing zendto-saml on ubuntu In-Reply-To: References: <2c233b8b-f312-41d4-9eec-76f1fd11bbd3@cam.ac.uk> <1ac9d873-b3d1-4d76-bc3b-28d0d50b8930@cam.ac.uk> Message-ID: On 07/12/2023 09:42, Adam Thorn via ZendTo wrote: > I've never used the installation script but note that > zendto-saml_1.0-1_all.deb is not the latest version. The links on > https://zend.to/downloads for the zendto-saml deb are for 1.1-3. Ah, the deb repos hosted on http://zend.to all contain version 1.0-1 of zendto-saml, so need to be updated. In the mean time you can download and install the latest deb manually by e.g. cd /tmp wget -O - https://zend.to/files/zendto-saml_1.1-3.deb sudo apt-get install /tmp/zendto-saml_1.1_3.deb Adam From alt36 at cam.ac.uk Thu Dec 7 09:55:37 2023 From: alt36 at cam.ac.uk (Adam Thorn) Date: Thu, 7 Dec 2023 09:55:37 +0000 Subject: [ZendTo] error installing zendto-saml on ubuntu In-Reply-To: References: <2c233b8b-f312-41d4-9eec-76f1fd11bbd3@cam.ac.uk> <1ac9d873-b3d1-4d76-bc3b-28d0d50b8930@cam.ac.uk> Message-ID: On 07/12/2023 09:52, Adam Thorn via ZendTo wrote: > wget -O - https://zend.to/files/zendto-saml_1.1-3.deb Whoops, sorry, that's the wrong syntax for wget. Depending upon whether you prefer curl or wget, either curl -O https://zend.to/files/zendto-saml_1.1-3.deb or wget -O zendto-saml_1.1-3.deb https://zend.to/files/zendto-saml_1.1-3.deb Adam From I.Elston at bolton.ac.uk Fri Dec 8 10:14:49 2023 From: I.Elston at bolton.ac.uk (Elston, Ian) Date: Fri, 8 Dec 2023 10:14:49 +0000 Subject: [ZendTo] error installing zendto-saml on ubuntu In-Reply-To: References: <2c233b8b-f312-41d4-9eec-76f1fd11bbd3@cam.ac.uk> <1ac9d873-b3d1-4d76-bc3b-28d0d50b8930@cam.ac.uk> Message-ID: Ah yeah I just went off the instructions and I assume went to the repos with apt install zendto-saml Now I did wget https://zend.to/files/zendto-saml_1.1-3.deb then apt install /home/nads/zendto-saml_1.1-3.deb I do get something which looks a Bit Odd at the end N: Download is performed unsandboxed as root as file '/home/nads/zendto-saml_1.1-3.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) But it looks like its installed... root at zeus:/home/nads# apt list |grep zendto WARNING: apt does not have a stable CLI interface. Use with caution in scripts. zendto-repo/now 1.3-1 all [installed,local] zendto-saml/now 1.1-3 all [installed,local] zendto/lynx,trusty,xenial,bionic,now 6.13-3 all [installed] Thanks! ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton 01204 903971 http://www.bolton.ac.uk -----Original Message----- From: ZendTo On Behalf Of Adam Thorn via ZendTo Sent: 07 December 2023 09:53 To: zendto at zend.to Cc: Adam Thorn Subject: Re: [ZendTo] error installing zendto-saml on ubuntu WARNING: This message originated from outside the University. Use caution when following links or opening attachments. On 07/12/2023 09:42, Adam Thorn via ZendTo wrote: > I've never used the installation script but note that > zendto-saml_1.0-1_all.deb is not the latest version. The links on > https://zend.to/downloads for the zendto-saml deb are for 1.1-3. Ah, the deb repos hosted on http://zend.to all contain version 1.0-1 of zendto-saml, so need to be updated. In the mean time you can download and install the latest deb manually by e.g. cd /tmp wget -O - https://zend.to/files/zendto-saml_1.1-3.deb sudo apt-get install /tmp/zendto-saml_1.1_3.deb Adam _______________________________________________ ZendTo mailing list ZendTo at zend.to http://jul.es/mailman/listinfo/zendto [University of Bolton] This email (and any attachments) is confidential and may contain personal views which are not the views of the University of Bolton unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose information in any way nor act in reliance on it and notify the sender immediately. Please note the University of Bolton monitors emails sent or received. Further communication will signify your consent to this.