Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-27723

APT proxy snapshots not usable by client

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.30.1
    • Fix Version/s: None
    • Component/s: APT, Proxy Repository
    • Labels:
    • Environment:
      Docker

      Description

      I have configured 3 separate APT proxies for 3 different distributions: xenial, xenial-updates and xenial-securities. This works fine in my client by using this apt sources 

      deb https://a:b@foo.com/nexus/repository/xenial-proxy/ xenial main universe
      deb https://a:b@foo.com/nexus/repository/xenial-security-proxy/ xenial-security main universe
      deb https://a:b@foo.com/nexus/repository/xenial-updates-proxy/ xenial-updates main universe
      

       

      WIth this config, the client reports this on update 

      me@test:~$ sudo apt update 
      Get:1 https://foo.com/nexus/repository/xenial-proxy xenial InRelease [247 kB]
      Get:2 https://foo.com/nexus/repository/xenial-security-proxy xenial-security InRelease [109 kB]
      Get:3 https://foo.com/nexus/repository/xenial-updates-proxy xenial-updates InRelease [109 kB]
      Get:4 https://foo.com/nexus/repository/xenial-proxy xenial/main arm64 Packages [1,130 kB]
      Get:5 https://foo.com/nexus/repository/xenial-proxy xenial/main Translation-en_CA [420 kB]
      Get:6 https://foo.com/nexus/repository/xenial-proxy xenial/main Translation-en [568 kB]
      Get:7 https://foo.com/nexus/repository/xenial-proxy xenial/main arm64 DEP-11 Metadata [720 kB]
      Get:8 https://foo.com/nexus/repository/xenial-proxy xenial/main DEP-11 64x64 Icons [409 kB]
      Get:9 https://foo.com/nexus/repository/xenial-proxy xenial/universe arm64 Packages [7,275 kB]
      Get:10 https://foo.com/nexus/repository/xenial-proxy xenial/universe Translation-en_CA [3,039 kB]
      Get:11 https://foo.com/nexus/repository/xenial-proxy xenial/universe Translation-en [4,354 kB] 
      Get:12 https://foo.com/nexus/repository/xenial-proxy xenial/universe arm64 DEP-11 Metadata [3,362 kB] 
      Get:13 https://foo.com/nexus/repository/xenial-proxy xenial/universe DEP-11 64x64 Icons [7,448 kB] 
      Get:14 https://foo.com/nexus/repository/xenial-security-proxy xenial-security/main arm64 Packages [894 kB] 
      Get:15 https://foo.com/nexus/repository/xenial-security-proxy xenial-security/main Translation-en [380 kB] 
      Get:16 https://foo.com/nexus/repository/xenial-security-proxy xenial-security/main arm64 DEP-11 Metadata [87.9 kB] 
      Get:17 https://foo.com/nexus/repository/xenial-security-proxy xenial-security/main DEP-11 64x64 Icons [111 kB] 
      Get:18 https://foo.com/nexus/repository/xenial-security-proxy xenial-security/universe arm64 Packages [754 kB] 
      Get:19 https://foo.com/nexus/repository/xenial-security-proxy xenial-security/universe Translation-en [225 kB] 
      Get:20 https://foo.com/nexus/repository/xenial-security-proxy xenial-security/universe arm64 DEP-11 Metadata [125 kB] 
      Get:21 https://foo.com/nexus/repository/xenial-security-proxy xenial-security/universe DEP-11 64x64 Icons [206 kB] 
      Get:22 https://foo.com/nexus/repository/xenial-updates-proxy xenial-updates/main arm64 Packages [1,235 kB] 
      Get:23 https://foo.com/nexus/repository/xenial-updates-proxy xenial-updates/main Translation-en [482 kB] 
      Get:24 https://foo.com/nexus/repository/xenial-updates-proxy xenial-updates/main arm64 DEP-11 Metadata [321 kB] 
      Get:25 https://foo.com/nexus/repository/xenial-updates-proxy xenial-updates/main DEP-11 64x64 Icons [252 kB] 
      Get:26 https://foo.com/nexus/repository/xenial-updates-proxy xenial-updates/universe arm64 Packages [1,159 kB] 
      Get:27 https://foo.com/nexus/repository/xenial-updates-proxy xenial-updates/universe Translation-en [358 kB] 
      Get:28 https://foo.com/nexus/repository/xenial-updates-proxy xenial-updates/universe arm64 DEP-11 Metadata [280 kB] 
      Get:29 https://foo.com/nexus/repository/xenial-updates-proxy xenial-updates/universe DEP-11 64x64 Icons [437 kB]
       
      

       

      However, if I take a snapshot of those 3 repos and now change my apt sources to

      deb https://a:b@foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27/ xenial main universe
      
      deb https://a:b@foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27/ xenial-security main universe
      
      deb https://a:b@foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27/ xenial-updates main universe

       

      Now the client reports a bunch of Ign and some errors at the end and I can't install any packages from the proxy snapshot

      $ sudo apt update 
      Get:1 https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27 xenial InRelease [247 kB]
      Get:2 https://foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27 xenial-security InRelease [109 kB]
      Get:3 https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27 xenial-updates InRelease [109 kB]
      Ign:4 https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27 xenial/main arm64 Packages
      Ign:5 https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27 xenial/main Translation-en_CA
      Ign:6 https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27 xenial/main Translation-en
      Ign:7 https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27 xenial/main arm64 DEP-11 Metadata
      Ign:8 https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27 xenial/main DEP-11 64x64 Icons
      Ign:9 https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27 xenial/universe arm64 Packages
      Ign:10 https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27 xenial/universe Translation-en_CA
      Ign:11 https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27 xenial/universe Translation-en
      Ign:12 https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27 xenial/universe arm64 DEP-11 Metadata
      Ign:13 https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27 xenial/universe DEP-11 64x64 Icons
      Get:4 https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27 xenial/main arm64 Packages [1,130 kB]
      Ign:5 https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27 xenial/main Translation-en_CA
      Ign:6 https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27 xenial/main Translation-en
      Ign:7 https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27 xenial/main arm64 DEP-11 Metadata
      Ign:14 https://foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27 xenial-security/main arm64 Packages
      Ign:15 https://foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27 xenial-security/main Translation-en
      Ign:16 https://foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27 xenial-security/main arm64 DEP-11 Metadata
      Ign:17 https://foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27 xenial-security/main DEP-11 64x64 Icons
      Ign:18 https://foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27 xenial-security/universe arm64 Packages
      Ign:19 https://foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27 xenial-security/universe Translation-en
      Ign:20 https://foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27 xenial-security/universe arm64 DEP-11 Metadata
      Ign:21 https://foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27 xenial-security/universe DEP-11 64x64 Icons
      Ign:8 https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27 xenial/main DEP-11 64x64 Icons
      Get:9 https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27 xenial/universe arm64 Packages [7,275 kB]
      Ign:22 https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27 xenial-updates/main arm64 Packages                                                                          
      Ign:23 https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27 xenial-updates/main Translation-en                                                                          
      Ign:24 https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27 xenial-updates/main arm64 DEP-11 Metadata                                                                   
      Ign:25 https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27 xenial-updates/main DEP-11 64x64 Icons                                                                      
      Ign:26 https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27 xenial-updates/universe arm64 Packages                                                                      
      Ign:27 https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27 xenial-updates/universe Translation-en                                                                      
      Ign:28 https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27 xenial-updates/universe arm64 DEP-11 Metadata                                                               
      Ign:29 https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27 xenial-updates/universe DEP-11 64x64 Icons                                                                  
      Ign:10 https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27 xenial/universe Translation-en_CA                                                                                   
      Ign:11 https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27 xenial/universe Translation-en                                                                                      
      Ign:12 https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27 xenial/universe arm64 DEP-11 Metadata                                                                               
      Ign:13 https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27 xenial/universe DEP-11 64x64 Icons                                                                                  
      Ign:5 https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27 xenial/main Translation-en_CA                                                                                        
      Ign:6 https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27 xenial/main Translation-en                                                                                           
      Err:7 https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27 xenial/main arm64 DEP-11 Metadata                                                                                    
        404  Not Found
      Get:14 https://foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27 xenial-security/main arm64 Packages [894 kB]                                                               
      Ign:15 https://foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27 xenial-security/main Translation-en                                                                        
      Ign:16 https://foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27 xenial-security/main arm64 DEP-11 Metadata                                                                 
      Ign:17 https://foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27 xenial-security/main DEP-11 64x64 Icons                                                                    
      Get:18 https://foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27 xenial-security/universe arm64 Packages [754 kB]                                                           
      Ign:19 https://foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27 xenial-security/universe Translation-en                                                                    
      Ign:20 https://foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27 xenial-security/universe arm64 DEP-11 Metadata                                                             
      Ign:21 https://foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27 xenial-security/universe DEP-11 64x64 Icons                                                                
      Ign:8 https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27 xenial/main DEP-11 64x64 Icons                                                                                       
      Get:22 https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27 xenial-updates/main arm64 Packages [1,235 kB]                                                               
      Ign:23 https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27 xenial-updates/main Translation-en                                                                          
      Ign:24 https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27 xenial-updates/main arm64 DEP-11 Metadata                                                                   
      Ign:25 https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27 xenial-updates/main DEP-11 64x64 Icons                                                                      
      Get:26 https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27 xenial-updates/universe arm64 Packages [1,159 kB]                                                           
      Ign:27 https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27 xenial-updates/universe Translation-en                                                                      
      Ign:28 https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27 xenial-updates/universe arm64 DEP-11 Metadata                                                               
      Ign:29 https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27 xenial-updates/universe DEP-11 64x64 Icons                                                                  
      Ign:15 https://foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27 xenial-security/main Translation-en                                                                        
      Ign:16 https://foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27 xenial-security/main arm64 DEP-11 Metadata                                                                 
      Err:17 https://foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27 xenial-security/main DEP-11 64x64 Icons                                                                    
        404  Not Found
      Ign:19 https://foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27 xenial-security/universe Translation-en                                                                    
      Ign:20 https://foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27 xenial-security/universe arm64 DEP-11 Metadata                                                             
      Ign:21 https://foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27 xenial-security/universe DEP-11 64x64 Icons                                                                
      Ign:23 https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27 xenial-updates/main Translation-en                                                                          
      Ign:24 https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27 xenial-updates/main arm64 DEP-11 Metadata                                                                   
      Err:25 https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27 xenial-updates/main DEP-11 64x64 Icons                                                                      
        404  Not Found
      Ign:27 https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27 xenial-updates/universe Translation-en                                                                      
      Ign:28 https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27 xenial-updates/universe arm64 DEP-11 Metadata                                                               
      Ign:29 https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27 xenial-updates/universe DEP-11 64x64 Icons                                                                  
      Ign:15 https://foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27 xenial-security/main Translation-en                                                                        
      Ign:23 https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27 xenial-updates/main Translation-en                                                                          
      Ign:24 https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27 xenial-updates/main arm64 DEP-11 Metadata                                                                   
      Fetched 12.9 MB in 10s (1,243 kB/s)                                                                                                                                                                       
      Reading package lists... Done
      E: Failed to fetch https://foo.com/nexus/repository/xenial-proxy/snapshots/2021-05-27/dists/xenial/main/dep11/Components-arm64.yml  404  Not Found
      E: Failed to fetch https://foo.com/nexus/repository/xenial-security-proxy/snapshots/2021-05-27/dists/xenial-security/main/dep11/icons-64x64.tar  404  Not Found
      E: Failed to fetch https://foo.com/nexus/repository/xenial-updates-proxy/snapshots/2021-05-27/dists/xenial-updates/main/dep11/icons-64x64.tar  404  Not Found
      E: Some index files failed to download. They have been ignored, or old ones used instead.
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            hilikus Hilikus
            Last Updated By:
            Joe Tom Joe Tom
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response:

                tigCommentSecurity.panel-title