browsing the https://repo.pureos.net/pureos/pool/main/l/llvm-toolchain-7 URL, I can see the packages are there, but all of them have a “+deb10u2” included in the name (libclang-common-7-dev_7.0.1-8+deb10u2_amd64.deb, which is different from the file name on the first URL libclang-common-7-dev_7.0.1-8_amd64.deb for example).
Is this something configured incorrectly on my system? If so, could anyone provide me some help on how to solve it?
PS: I already tried the solutions suggested by apt (“maybe run apt-get update or try with --fix-missing?”). In fact, when I try running apt install with --fix-missing, I get an additional error line which says: “Unable to correct missing packages.”
PSS: This problem only happens with these 2 packages. I was able to successfully install several other packages without any issues
Im lazy so i sudo to root
And i stopped using apt-get because of something that Parrot told me.
( the distro not the bird )
I don’t remember what it was but I stopped using apt-get
Anyway - it works for me.
Wish i could be more helpful.
root@_____:~# apt install libclang-dev
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
libappindicator3-1 libindicator3-7 lightning purebrowser
Use ‘apt autoremove’ to remove them.
The following additional packages will be installed:
The following NEW packages will be installed:
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 13.7 MB of archives.
After this operation, 126 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://repo.pureos.net/pureos amber/main amd64 libclang-7-dev amd64 1:7.0.1-8+deb10u2 [13.7 MB]
Get:2 https://repo.pureos.net/pureos amber/main amd64 libclang-dev amd64 1:7.0-47 [7,088 B]
Fetched 13.7 MB in 4s (3,443 kB/s)
Selecting previously unselected package libclang-7-dev.
(Reading database … 381069 files and directories currently installed.)
Preparing to unpack …/libclang-7-dev_1%3a7.0.1-8+deb10u2_amd64.deb …
Unpacking libclang-7-dev (1:7.0.1-8+deb10u2) …
Selecting previously unselected package libclang-dev.
Preparing to unpack …/libclang-dev_1%3a7.0-47_amd64.deb …
Unpacking libclang-dev (1:7.0-47) …
Setting up libclang-7-dev (1:7.0.1-8+deb10u2) …
Setting up libclang-dev (1:7.0-47) …
You’re getting a bunch of 404 errors, that means it can’t locate the repo that has the packages you’re looking for (it’s probably down for some reason). You can wait it out or switch to a different mirror. I can’t off top of my head remember how to do the latter on a Debian OS, but it should be easy to find out.
The repo is actually not down. As I mentioned in my question, I can browse to the repo and even find the packages there, but for some reason my system is looking for the packages without the +deb10u2 into the name. If you look at @nonattribution’s post, you’ll see that in his case, his system is looking for the correct package name
i missed the notifications for your reply, sorry!
I knew i was too burnt out last week to be of much help - but -
Looking now i see that you are getting a different version
I have installed Version: 1:7.0-47
It looks like you are trying to install version Version: 1:7.0.1-8+deb10u2
try sudo apt install clang-7
instead of sudo apt install clang
( or apt-get if you prefer )
Also - you can usually download the package and install it with dpkg -i filename.deb
Edit ( but using d[kg like can screw things up at times - i.e. break packages temporarily etc )