squid-ubuntu icon indicating copy to clipboard operation
squid-ubuntu copied to clipboard

Install error on Ubuntu 18.04 i386

Open Kabak85 opened this issue 4 years ago • 7 comments

Hello,

When using the script "ubuntu18/04_Install_squid.sh", dpkg say that he can't fin package with suffix "_amd64.deb".

You need to correct this in order to build it into i386 and amd64.

Kabak85 avatar Dec 15 '20 20:12 Kabak85

We have only amd64

Best regards, Rafael Akchurin

On 15 Dec 2020, at 21:23, Kabak85 [email protected] wrote:



Hello,

When using the script "ubuntu18/04_Install_squid.sh", dpkg say that he can't fin package with suffix "_amd64.deb".

You need to correct this in order to build it into i386 and amd64.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/diladele/squid-ubuntu/issues/12, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AATNHVXCRDHFYMFE5MZ4DO3SU7ASHANCNFSM4U45MLLQ.

ra-at-diladele-com avatar Dec 15 '20 20:12 ra-at-diladele-com

Hello,

What do you mean by "we have only amd64" ? Do you mean "we have no i386 installation for testing purpose" ?

I ran the script and it create i386 build. I had install it and it seems to be running.

The command "systemctl status squid" write "active (running)", no errors in this screen. I had test with a computer, i had the "access denied" from squid/4.13.

Best regards.

Kabak85 avatar Dec 15 '20 20:12 Kabak85

I mean we do not host i386.

Best regards, Rafael Akchurin

On 15 Dec 2020, at 21:48, Kabak85 [email protected] wrote:



Hello,

What do you mean by "we have only amd64" ? Do you mean "we have no i386 installation for testing purpose" ?

I ran the script and it create i386 build. I had install it and it seems to be running.

The command "systemctl status squid" write "active (running)", no errors in this screen. I had test with a computer, i had the "access denied" from squid/4.13.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/diladele/squid-ubuntu/issues/12#issuecomment-745557837, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AATNHVWT5F5F4A5ZX3QUCMLSU7DRHANCNFSM4U45MLLQ.

ra-at-diladele-com avatar Dec 15 '20 20:12 ra-at-diladele-com

Hello,

I must be stupid because i dont understand.

I suggest you to use an wildcard for the architecture. Your script will be arch independant so you don't have to create an "i386" version.

Best regards.

Kabak85 avatar Dec 15 '20 21:12 Kabak85

Ah ok, but we do not build i386 at all, since no need for that.

Best regards, Rafael Akchurin

On 15 Dec 2020, at 22:07, Kabak85 [email protected] wrote:



Hello,

I must be stupid because i dont understand.

I suggest you to use an wildcard for the architecture. Your script will be arch independant so you don't have to create an "i386" version.

Best regards.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/diladele/squid-ubuntu/issues/12#issuecomment-745567762, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AATNHVUAFWECB6OGBFROUGLSU7FZPANCNFSM4U45MLLQ.

ra-at-diladele-com avatar Dec 15 '20 21:12 ra-at-diladele-com

I don't ask you to build and distribute i386 binaries. Only to make an adjustement avoiding errors when somebody use your script in order to build and install it from sources.

Best regards.

Kabak85 avatar Dec 15 '20 21:12 Kabak85

Hello,

I suggest to replace : 17 dpkg --install squid_${SQUID_PKG}_amd64.deb 18 dpkg --install squidclient_${SQUID_PKG}_amd64.deb

By something like that : 17 dpkg --install squid_${SQUID_PKG}_*.deb 18 dpkg --install squidclient_${SQUID_PKG}_*.deb

Or like that :
SQUID_PKG_ARCH=$(dpkg --print-architecture) dpkg --install squid_${SQUID_PKG}_${SQUID_PKG_ARCH}.deb dpkg --install squidclient_${SQUID_PKG}_${SQUID_PKG_ARCH}.deb

Best regards

Kabak85 avatar Dec 18 '20 05:12 Kabak85