LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem installing apache2 on linux mint lmde4 debbie (https://www.linuxquestions.org/questions/linux-newbie-8/problem-installing-apache2-on-linux-mint-lmde4-debbie-4175715038/)

msm1 07-25-2022 03:52 AM

problem installing apache2 on linux mint lmde4 debbie
 
Hi - I am new to this forum and new to linux. I've tried to install apache web server on my new linux system which I set up yesterday. I use linux mint lmde4 debbie, 32 bit. I did an update before (sudo apt-get update). When I type in sudo apt install apache2, I get 404-errors and apache doesn't install. Here is what I get
Code:

Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following additional packages will be installed:
  apache2-bin apache2-data apache2-utils libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
Suggested packages:
  apache2-doc apache2-suexec-pristine | apache2-suexec-custom
The following NEW packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
0 upgraded, 8 newly installed, 0 to remove and 96 not upgraded.
Need to get 2,029 kB/2,276 kB of archives.
After this operation, 7,534 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Ign:1 https://deb.debian.org/debian buster/main i386 apache2-bin i386 2.4.38-3+deb10u3
Err:1 https://deb.debian.org/debian buster/main i386 apache2-bin i386 2.4.38-3+deb10u3
  404  Not Found [IP: 199.232.190.132 443]
Ign:2 https://deb.debian.org/debian buster/main i386 apache2-data all 2.4.38-3+deb10u3
Err:2 https://deb.debian.org/debian buster/main i386 apache2-data all 2.4.38-3+deb10u3
  404  Not Found [IP: 199.232.190.132 443]
Ign:3 https://deb.debian.org/debian buster/main i386 apache2-utils i386 2.4.38-3+deb10u3
Err:3 https://deb.debian.org/debian buster/main i386 apache2-utils i386 2.4.38-3+deb10u3
  404  Not Found [IP: 199.232.190.132 443]
Ign:4 https://deb.debian.org/debian buster/main i386 apache2 i386 2.4.38-3+deb10u3
Err:4 https://deb.debian.org/debian buster/main i386 apache2 i386 2.4.38-3+deb10u3
  404  Not Found [IP: 199.232.190.132 443]
E: Failed to fetch http://security.debian.org/pool/updates/main/a/apache2/apache2-bin_2.4.38-3+deb10u3_i386.deb  404  Not Found [IP: 199.232.190.132 443]
E: Failed to fetch http://security.debian.org/pool/updates/main/a/apache2/apache2-data_2.4.38-3+deb10u3_all.deb  404  Not Found [IP: 199.232.190.132 443]
E: Failed to fetch http://security.debian.org/pool/updates/main/a/apache2/apache2-utils_2.4.38-3+deb10u3_i386.deb  404  Not Found [IP: 199.232.190.132 443]
E: Failed to fetch http://security.debian.org/pool/updates/main/a/apache2/apache2_2.4.38-3+deb10u3_i386.deb  404  Not Found [IP: 199.232.190.132 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Any idea what's going on and what I could do? Many thanks in advance.

computersavvy 07-25-2022 03:30 PM

First, you should, with that many (96) packages waiting for update, run `sudo apt update && sudo apt upgrade' to get the system fully updated. (you said you did the update but failed to mention the upgrade)

Second, a 404 error is "not found" meaning the page (document) is not found on that server.
Code:

E: Failed to fetch http://security.debian.org/pool/updates/main/a/apache2/apache2-bin_2.4.38-3+deb10u3_i386.deb  404  Not Found [IP: 199.232.190.132 443]
E: Failed to fetch http://security.debian.org/pool/updates/main/a/apache2/apache2-data_2.4.38-3+deb10u3_all.deb  404  Not Found [IP: 199.232.190.132 443]
E: Failed to fetch http://security.debian.org/pool/updates/main/a/apache2/apache2-utils_2.4.38-3+deb10u3_i386.deb  404  Not Found [IP: 199.232.190.132 443]
E: Failed to fetch http://security.debian.org/pool/updates/main/a/apache2/apache2_2.4.38-3+deb10u3_i386.deb  404  Not Found [IP: 199.232.190.132 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

these errors tell you exactly what package and what the results were.

I can verify that my system will also not find those packages at that site. Maybe the package is not available? Maybe it is not at that repo? Someone who uses a 32 bit system may be able to assist.

knudfl 07-26-2022 07:07 AM

Example, valid link listings
https://packages.debian.org/buster/i...ache2/download
https://packages.debian.org/buster/i...2-bin/download
https://packages.debian.org/buster/a...-data/download
https://packages.debian.org/buster/i...utils/download

( I don't see any "https" links )


-

msm1 08-10-2022 04:15 PM

@ computersavvy
 
many thanks, upgrading (which doesn't mean upgrading to lmde5) was the right step. After that, apache installed itself smoothly.


All times are GMT -5. The time now is 04:21 PM.