Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install error on Ubuntu 18.04 i386 #12

Open
Kabak85 opened this issue Dec 15, 2020 · 7 comments
Open

Install error on Ubuntu 18.04 i386 #12

Kabak85 opened this issue Dec 15, 2020 · 7 comments

Comments

@Kabak85
Copy link

Kabak85 commented Dec 15, 2020

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.

@ra-at-diladele-com
Copy link
Contributor

ra-at-diladele-com commented Dec 15, 2020 via email

@Kabak85
Copy link
Author

Kabak85 commented Dec 15, 2020

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.

@ra-at-diladele-com
Copy link
Contributor

ra-at-diladele-com commented Dec 15, 2020 via email

@Kabak85
Copy link
Author

Kabak85 commented Dec 15, 2020

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.

@ra-at-diladele-com
Copy link
Contributor

ra-at-diladele-com commented Dec 15, 2020 via email

@Kabak85
Copy link
Author

Kabak85 commented Dec 15, 2020

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
Copy link
Author

Kabak85 commented Dec 18, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants