Failure: Copy from another Launchpad PPA source has expired binaries

Asked by SFEN

Hi,

I wanted to copy the binary package (binary only) gcc-11 - 11.4.0-2ubuntu1~20.04 from ppa:ubuntu-toolchain-r/test so that I can have access to gcc-11 in 20.04 during my build but I got an error instead: Launchpad encountered an error during the following operation: copying package gcc-11. gcc-11 11.4.0-2ubuntu1~20.04 in focal (source has expired binaries). Then I attempted to copy the source and compile but encountered other errors during the upload phase: https://launchpadlibrarian.net/715051258/upload_27790764_log.txt basically it says the package version is older than that in the archive. I currently don't have gcc-11 in my ppa so I don't know why I was getting these errors. On the other hand I don't know how to get access to other PPA other than the one I am currently uploading to. For example, I wanted to have access to ppa:ubuntu-toolchain-r/test but as far as I know, I can only have access to the official Ubuntu repositories and my own PPA during package generation. If I can have access to other PPAs then I don't need to copy gcc-11 anymore.

Thank you!

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1
Revision history for this message
Best Manfred Hampl (m-hampl) said (last edit ):
#2

AN explanation for the upload rejects like
INFO lib32atomic1_11.4.0-2ubuntu1~20.04_amd64.deb: Version older than that in the archive. 11.4.0-2ubuntu1~20.04 <= 13.1.0-8ubuntu1~20.04.2

There is gcc-13 in the PPA, which contains a deb file with lib32atomic1 version 13.1.0-8ubuntu1~20.04.2
So it does not make sens to upload a deb file with lib32atomic1 from gcc-11 with version 11.4.0-2ubuntu1~20.04

Whoever uses your PPA will automatically get the higher version (from gcc-13).
This, however, will most probably also be the case, if you try using gcc-11 from elsewhere, as long as there is a version of gcc-13 in your PPA.

Revision history for this message
SFEN (sfen) said :
#3

Thanks Manfred Hampl, that solved my question.

Revision history for this message
Samriz (sam1232) said :
#4

I was also looking for this. Thank you