我虚拟机上的源 ---sources.list

本文记录了作者在使用Ubuntu10.04过程中遇到的软件源更新问题,包括尝试多个镜像站点的过程及结果,并分享了详细的源配置列表。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

在家,发现虚拟机上的srt和本本上的ubuntu10.04的srt都不行。

 

重新测试了一下:

 

 

root@ubuntu:/etc/apt# gedit sources.list

root@ubuntu:/etc/apt# sudo apt-get update 更新源列表命令

Get:1 http://mirrors.163.com lucid Release.gpg [189B]

Hit http://Ubuntu.cn99.com lucid Release.gpg                                   

Ign http://mirrors.163.com/ubuntu/ lucid/main Translation-en_US                

Ign http://mirrors.163.com/ubuntu/ lucid/universe Translation-en_US            

Ign http://mirrors.163.com/ubuntu/ lucid/restricted Translation-en_US          

Ign http://mirrors.163.com/ubuntu/ lucid/multiverse Translation-en_US          

Get:2 http://mirrors.163.com lucid-security Release.gpg [198B]                 

Ign http://mirrors.163.com/ubuntu/ lucid-security/universe Translation-en_US   

Ign http://mirrors.163.com/ubuntu/ lucid-security/main Translation-en_US       

Ign http://mirrors.163.com/ubuntu/ lucid-security/multiverse Translation-en_US 

Ign http://mirrors.163.com/ubuntu/ lucid-security/restricted Translation-en_US 

Get:3 http://mirrors.163.com lucid-updates Release.gpg [198B]                  

Ign http://mirrors.163.com/ubuntu/ lucid-updates/universe Translation-en_US    

Ign http://mirrors.163.com/ubuntu/ lucid-updates/main Translation-en_US        

Ign http://Ubuntu.cn99.com/ubuntu/ lucid/main Translation-en_US                

Ign http://Ubuntu.cn99.com/ubuntu/ lucid/universe Translation-en_US            

Ign http://Ubuntu.cn99.com/ubuntu/ lucid/restricted Translation-en_US          

Ign http://Ubuntu.cn99.com/ubuntu/ lucid/multiverse Translation-en_US          

Hit http://Ubuntu.cn99.com lucid-security Release.gpg                          

Ign http://Ubuntu.cn99.com/ubuntu/ lucid-security/universe Translation-en_US   

Ign http://Ubuntu.cn99.com/ubuntu/ lucid-security/main Translation-en_US       

Ign http://Ubuntu.cn99.com/ubuntu/ lucid-security/multiverse Translation-en_US 

Ign http://Ubuntu.cn99.com/ubuntu/ lucid-security/restricted Translation-en_US 

Hit http://Ubuntu.cn99.com lucid-updates Release.gpg                           

Hit http://tw.archive.ubuntu.com lucid Release.gpg                             

Ign http://mirrors.163.com/ubuntu/ lucid-updates/multiverse Translation-en_US  

Ign http://mirrors.163.com/ubuntu/ lucid-updates/restricted Translation-en_US  

Get:4 http://mirrors.163.com lucid-proposed Release.gpg [198B]                 

Ign http://mirrors.163.com/ubuntu/ lucid-proposed/universe Translation-en_US   

Ign http://mirrors.163.com/ubuntu/ lucid-proposed/main Translation-en_US       

Ign http://Ubuntu.cn99.com/ubuntu/ lucid-updates/universe Translation-en_US    

Ign http://Ubuntu.cn99.com/ubuntu/ lucid-updates/main Translation-en_US        

Ign http://Ubuntu.cn99.com/ubuntu/ lucid-updates/multiverse Translation-en_US  

Ign http://Ubuntu.cn99.com/ubuntu/ lucid-updates/restricted Translation-en_US  

Ign http://mirrors.163.com/ubuntu/ lucid-proposed/multiverse Translation-en_US 

Ign http://mirrors.163.com/ubuntu/ lucid-proposed/restricted Translation-en_US 

Get:5 http://mirrors.163.com lucid-backports Release.gpg [198B]                

Ign http://mirrors.163.com/ubuntu/ lucid-backports/universe Translation-en_US  

Ign http://mirrors.163.com/ubuntu/ lucid-backports/main Translation-en_US      

Ign http://mirrors.163.com/ubuntu/ lucid-backports/multiverse Translation-en_US

Ign http://mirrors.163.com/ubuntu/ lucid-backports/restricted Translation-en_US

Get:6 http://mirrors.163.com lucid Release [57.2kB]                            

Hit http://Ubuntu.cn99.com lucid-proposed Release.gpg                          

Ign http://Ubuntu.cn99.com/ubuntu/ lucid-proposed/universe Translation-en_US   

Ign http://Ubuntu.cn99.com/ubuntu/ lucid-proposed/main Translation-en_US       

Ign http://Ubuntu.cn99.com/ubuntu/ lucid-proposed/multiverse Translation-en_US 

Ign http://Ubuntu.cn99.com/ubuntu/ lucid-proposed/restricted Translation-en_US 

Hit http://Ubuntu.cn99.com lucid-backports Release.gpg                         

Ign http://Ubuntu.cn99.com/ubuntu/ lucid-backports/universe Translation-en_US  

Ign http://Ubuntu.cn99.com/ubuntu/ lucid-backports/main Translation-en_US      

Ign http://Ubuntu.cn99.com/ubuntu/ lucid-backports/multiverse Translation-en_US

Ign http://Ubuntu.cn99.com/ubuntu/ lucid-backports/restricted Translation-en_US

Hit http://Ubuntu.cn99.com lucid Release                                       

Hit http://Ubuntu.cn99.com lucid-security Release                              

Hit http://Ubuntu.cn99.com lucid-updates Release                               

Hit http://Ubuntu.cn99.com lucid-proposed Release                              

Get:7 http://mirrors.163.com lucid-security Release [44.7kB]                   

Hit http://Ubuntu.cn99.com lucid-backports Release                             

Get:8 http://mirrors.163.com lucid-updates Release [44.7kB]                    

Get:9 http://mirrors.163.com lucid-proposed Release [44.7kB]                   

Get:10 http://mirrors.163.com lucid-backports Release [38.5kB]                 

Hit http://Ubuntu.cn99.com lucid/main Packages                                 

Hit http://Ubuntu.cn99.com lucid/universe Packages                             

Hit http://Ubuntu.cn99.com lucid/restricted Packages                           

Hit http://Ubuntu.cn99.com lucid/multiverse Packages                           

Hit http://Ubuntu.cn99.com lucid/main Sources                                  

Hit http://Ubuntu.cn99.com lucid/universe Sources                              

Hit http://Ubuntu.cn99.com lucid/restricted Sources                            

Get:11 http://mirrors.163.com lucid/main Packages [1,386kB]                    

Hit http://Ubuntu.cn99.com lucid/multiverse Sources                            

Hit http://Ubuntu.cn99.com lucid-security/universe Packages                    

Hit http://Ubuntu.cn99.com lucid-security/main Packages                        

Hit http://Ubuntu.cn99.com lucid-security/multiverse Packages                  

Hit http://Ubuntu.cn99.com lucid-security/restricted Packages                  

Hit http://Ubuntu.cn99.com lucid-security/universe Sources                     

Hit http://Ubuntu.cn99.com lucid-security/main Sources                         

Hit http://Ubuntu.cn99.com lucid-security/multiverse Sources                   

Hit http://Ubuntu.cn99.com lucid-security/restricted Sources                   

Ign http://apt.wxwidgets.org lucid-wx Release.gpg                              

Ign http://apt.wxwidgets.org/ lucid-wx/main Translation-en_US                  

Hit http://Ubuntu.cn99.com lucid-updates/universe Packages                     

Hit http://security.ubuntu.com lucid-security Release.gpg                      

Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_US   

Ign http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_US

Hit http://Ubuntu.cn99.com lucid-updates/main Packages                         

Hit http://Ubuntu.cn99.com lucid-updates/multiverse Packages                   

Hit http://Ubuntu.cn99.com lucid-updates/restricted Packages                   

Hit http://Ubuntu.cn99.com lucid-updates/universe Sources                      

Hit http://Ubuntu.cn99.com lucid-updates/main Sources                          

Hit http://us.archive.ubuntu.com lucid Release.gpg                             

Ign http://tw.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_US          

Ign http://us.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_US          

Ign http://us.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_US    

Hit http://Ubuntu.cn99.com lucid-updates/multiverse Sources                    

Hit http://Ubuntu.cn99.com lucid-updates/restricted Sources                    

Hit http://Ubuntu.cn99.com lucid-proposed/universe Packages                    

Hit http://Ubuntu.cn99.com lucid-proposed/main Packages                        

Hit http://Ubuntu.cn99.com lucid-proposed/multiverse Packages                  

Hit http://Ubuntu.cn99.com lucid-proposed/restricted Packages                  

Hit http://Ubuntu.cn99.com lucid-proposed/universe Sources                     

Hit http://Ubuntu.cn99.com lucid-proposed/main Sources                         

Hit http://Ubuntu.cn99.com lucid-proposed/multiverse Sources                   

Hit http://Ubuntu.cn99.com lucid-proposed/restricted Sources                   

Hit http://Ubuntu.cn99.com lucid-backports/universe Packages                   

Hit http://Ubuntu.cn99.com lucid-backports/main Packages                       

Hit http://Ubuntu.cn99.com lucid-backports/multiverse Packages                 

Hit http://Ubuntu.cn99.com lucid-backports/restricted Packages                 

Hit http://Ubuntu.cn99.com lucid-backports/universe Sources                    

Hit http://Ubuntu.cn99.com lucid-backports/main Sources                        

Hit http://Ubuntu.cn99.com lucid-backports/multiverse Sources                  

Hit http://Ubuntu.cn99.com lucid-backports/restricted Sources                  

Ign http://tw.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_US      

Ign http://apt.wxwidgets.org lucid-wx Release                                  

Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_US

Ign http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_US

Hit http://security.ubuntu.com lucid-security Release                          

Ign http://us.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_US      

Ign http://us.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_US    

Hit http://us.archive.ubuntu.com lucid-updates Release.gpg                     

Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_US  

Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_US

Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_US

Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_US

Ign http://tw.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_US    

Hit http://apt.wxwidgets.org lucid-wx/main Packages                            

Hit http://security.ubuntu.com lucid-security/main Packages                    

Hit http://us.archive.ubuntu.com lucid Release                                 

Ign http://tw.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_US    

Hit http://apt.wxwidgets.org lucid-wx/main Sources                             

Hit http://us.archive.ubuntu.com lucid-updates Release                         

Hit http://tw.archive.ubuntu.com lucid-updates Release.gpg                     

Hit http://security.ubuntu.com lucid-security/restricted Packages              

Hit http://security.ubuntu.com lucid-security/main Sources                     

Hit http://us.archive.ubuntu.com lucid/main Packages                           

Hit http://us.archive.ubuntu.com lucid/restricted Packages                     

Hit http://us.archive.ubuntu.com lucid/main Sources                            

Hit http://us.archive.ubuntu.com lucid/restricted Sources                      

Hit http://us.archive.ubuntu.com lucid/universe Packages                       

Ign http://tw.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_US

Hit http://security.ubuntu.com lucid-security/restricted Sources               

Hit http://security.ubuntu.com lucid-security/universe Packages                

Hit http://security.ubuntu.com lucid-security/universe Sources                 

Hit http://security.ubuntu.com lucid-security/multiverse Packages              

Hit http://security.ubuntu.com lucid-security/multiverse Sources               

Hit http://us.archive.ubuntu.com lucid/universe Sources                        

Hit http://us.archive.ubuntu.com lucid/multiverse Packages                     

Hit http://us.archive.ubuntu.com lucid/multiverse Sources                      

Hit http://us.archive.ubuntu.com lucid-updates/main Packages                   

Hit http://us.archive.ubuntu.com lucid-updates/restricted Packages             

Hit http://us.archive.ubuntu.com lucid-updates/main Sources                    

Ign http://tw.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_US  

Hit http://us.archive.ubuntu.com lucid-updates/restricted Sources              

Hit http://us.archive.ubuntu.com lucid-updates/universe Packages               

Hit http://us.archive.ubuntu.com lucid-updates/universe Sources                

Hit http://us.archive.ubuntu.com lucid-updates/multiverse Packages             

Hit http://us.archive.ubuntu.com lucid-updates/multiverse Sources              

Ign http://tw.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_US

Ign http://tw.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_US

Get:12 http://mirrors.163.com lucid/universe Packages [5,448kB]                

Hit http://tw.archive.ubuntu.com lucid-proposed Release.gpg                    

Ign http://tw.archive.ubuntu.com/ubuntu/ lucid-proposed/universe Translation-en_US

Ign http://tw.archive.ubuntu.com/ubuntu/ lucid-proposed/main Translation-en_US 

Ign http://tw.archive.ubuntu.com/ubuntu/ lucid-proposed/multiverse Translation-en_US

Ign http://tw.archive.ubuntu.com/ubuntu/ lucid-proposed/restricted Translation-en_US

Hit http://tw.archive.ubuntu.com lucid-security Release.gpg                    

Ign http://tw.archive.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_US

Ign http://tw.archive.ubuntu.com/ubuntu/ lucid-security/main Translation-en_US 

Ign http://tw.archive.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_US

Ign http://tw.archive.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_US

Hit http://tw.archive.ubuntu.com lucid-backports Release.gpg                   

Ign http://tw.archive.ubuntu.com/ubuntu/ lucid-backports/main Translation-en_US

Ign http://tw.archive.ubuntu.com/ubuntu/ lucid-backports/multiverse Translation-en_US

Ign http://tw.archive.ubuntu.com/ubuntu/ lucid-backports/restricted Translation-en_US

Ign http://tw.archive.ubuntu.com/ubuntu/ lucid-backports/universe Translation-en_US

Hit http://tw.archive.ubuntu.com lucid Release                                 

Hit http://tw.archive.ubuntu.com lucid-updates Release                         

Hit http://tw.archive.ubuntu.com lucid-proposed Release                        

Hit http://tw.archive.ubuntu.com lucid-security Release                        

Hit http://tw.archive.ubuntu.com lucid-backports Release                       

Hit http://tw.archive.ubuntu.com lucid/main Packages                           

Hit http://tw.archive.ubuntu.com lucid/universe Packages                       

Hit http://tw.archive.ubuntu.com lucid/restricted Packages                     

Hit http://tw.archive.ubuntu.com lucid/multiverse Packages                     

Hit http://tw.archive.ubuntu.com lucid/main Sources                            

Hit http://tw.archive.ubuntu.com lucid/universe Sources                        

Hit http://tw.archive.ubuntu.com lucid/restricted Sources                      

Hit http://tw.archive.ubuntu.com lucid/multiverse Sources                      

Get:13 http://mirrors.163.com lucid/restricted Packages [6,208B]               

Get:14 http://mirrors.163.com lucid/multiverse Packages [180kB]                

Hit http://tw.archive.ubuntu.com lucid-updates/universe Packages               

Get:15 http://mirrors.163.com lucid/main Sources [659kB]                       

Hit http://tw.archive.ubuntu.com lucid-updates/main Packages                   

Hit http://tw.archive.ubuntu.com lucid-updates/multiverse Packages             

Hit http://tw.archive.ubuntu.com lucid-updates/restricted Packages             

Hit http://tw.archive.ubuntu.com lucid-updates/universe Sources                

Get:16 http://mirrors.163.com lucid/universe Sources [3,165kB]                 

Hit http://tw.archive.ubuntu.com lucid-updates/main Sources                    

Hit http://tw.archive.ubuntu.com lucid-updates/multiverse Sources              

Hit http://tw.archive.ubuntu.com lucid-updates/restricted Sources              

Hit http://tw.archive.ubuntu.com lucid-proposed/universe Packages              

Hit http://tw.archive.ubuntu.com lucid-proposed/main Packages                  

Hit http://tw.archive.ubuntu.com lucid-proposed/multiverse Packages            

Hit http://tw.archive.ubuntu.com lucid-proposed/restricted Packages            

Hit http://tw.archive.ubuntu.com lucid-proposed/universe Sources               

Hit http://tw.archive.ubuntu.com lucid-proposed/main Sources                   

 

srt的全面试失败

Err http://Ubuntu.srt.cn lucid Release.gpg                                     

  Could not connect to Ubuntu.srt.cn:80 (211.155.227.167). - connect (111: Connection refused)

Err http://Ubuntu.srt.cn/ubuntu/ lucid/main Translation-en_US                  

  Unable to connect to Ubuntu.srt.cn:http:

Err http://Ubuntu.srt.cn/ubuntu/ lucid/universe Translation-en_US              

  Unable to connect to Ubuntu.srt.cn:http:

Err http://Ubuntu.srt.cn/ubuntu/ lucid/restricted Translation-en_US            

  Unable to connect to Ubuntu.srt.cn:http:

Err http://Ubuntu.srt.cn/ubuntu/ lucid/multiverse Translation-en_US            

  Unable to connect to Ubuntu.srt.cn:http:

Err http://Ubuntu.srt.cn lucid-security Release.gpg                            

  Unable to connect to Ubuntu.srt.cn:http:

Err http://Ubuntu.srt.cn/ubuntu/ lucid-security/universe Translation-en_US     

  Unable to connect to Ubuntu.srt.cn:http:

Err http://Ubuntu.srt.cn/ubuntu/ lucid-security/main Translation-en_US         

  Unable to connect to Ubuntu.srt.cn:http:

Err http://Ubuntu.srt.cn/ubuntu/ lucid-security/multiverse Translation-en_US   

  Unable to connect to Ubuntu.srt.cn:http:

Err http://Ubuntu.srt.cn/ubuntu/ lucid-security/restricted Translation-en_US   

  Unable to connect to Ubuntu.srt.cn:http:

Err http://Ubuntu.srt.cn lucid-updates Release.gpg                             

  Unable to connect to Ubuntu.srt.cn:http:

Err http://Ubuntu.srt.cn/ubuntu/ lucid-updates/universe Translation-en_US      

  Unable to connect to Ubuntu.srt.cn:http:

Err http://Ubuntu.srt.cn/ubuntu/ lucid-updates/main Translation-en_US          

  Unable to connect to Ubuntu.srt.cn:http:

Err http://Ubuntu.srt.cn/ubuntu/ lucid-updates/multiverse Translation-en_US    

  Unable to connect to Ubuntu.srt.cn:http:

Err http://Ubuntu.srt.cn/ubuntu/ lucid-updates/restricted Translation-en_US    

  Unable to connect to Ubuntu.srt.cn:http:

Err http://Ubuntu.srt.cn lucid-proposed Release.gpg                            

  Unable to connect to Ubuntu.srt.cn:http:

Err http://Ubuntu.srt.cn/ubuntu/ lucid-proposed/universe Translation-en_US     

  Unable to connect to Ubuntu.srt.cn:http:

Err http://Ubuntu.srt.cn/ubuntu/ lucid-proposed/main Translation-en_US         

  Unable to connect to Ubuntu.srt.cn:http:

Err http://Ubuntu.srt.cn/ubuntu/ lucid-proposed/multiverse Translation-en_US   

  Unable to connect to Ubuntu.srt.cn:http:

Err http://Ubuntu.srt.cn/ubuntu/ lucid-proposed/restricted Translation-en_US   

  Unable to connect to Ubuntu.srt.cn:http:

Err http://Ubuntu.srt.cn lucid-backports Release.gpg                           

  Unable to connect to Ubuntu.srt.cn:http:

Err http://Ubuntu.srt.cn/ubuntu/ lucid-backports/universe Translation-en_US    

  Unable to connect to Ubuntu.srt.cn:http:

Err http://Ubuntu.srt.cn/ubuntu/ lucid-backports/main Translation-en_US        

  Unable to connect to Ubuntu.srt.cn:http:

Err http://Ubuntu.srt.cn/ubuntu/ lucid-backports/multiverse Translation-en_US  

  Unable to connect to Ubuntu.srt.cn:http:

Err http://Ubuntu.srt.cn/ubuntu/ lucid-backports/restricted Translation-en_US  

  Unable to connect to Ubuntu.srt.cn:http:

 

台湾的也都还可以

Hit http://tw.archive.ubuntu.com lucid-proposed/multiverse Sources             

Hit http://tw.archive.ubuntu.com lucid-proposed/restricted Sources             

Hit http://tw.archive.ubuntu.com lucid-security/universe Packages              

Hit http://tw.archive.ubuntu.com lucid-security/main Packages                  

Hit http://tw.archive.ubuntu.com lucid-security/multiverse Packages            

Hit http://tw.archive.ubuntu.com lucid-security/restricted Packages            

Hit http://tw.archive.ubuntu.com lucid-security/universe Sources               

Get:17 http://mirrors.163.com lucid/restricted Sources [3,775B]                

Get:18 http://mirrors.163.com lucid/multiverse Sources [119kB]                 

Get:19 http://mirrors.163.com lucid-security/universe Packages [64.4kB]       

Hit http://tw.archive.ubuntu.com lucid-security/main Sources                   

Get:20 http://mirrors.163.com lucid-security/main Packages [142kB]             

Get:21 http://mirrors.163.com lucid-security/multiverse Packages [1,995B]      

Get:22 http://mirrors.163.com lucid-security/restricted Packages [14B]         

Get:23 http://mirrors.163.com lucid-security/universe Sources [19.0kB]         

Get:24 http://mirrors.163.com lucid-security/main Sources [45.5kB]             

Get:25 http://mirrors.163.com lucid-security/multiverse Sources [651B]         

Get:26 http://mirrors.163.com lucid-security/restricted Sources [14B]          

Get:27 http://mirrors.163.com lucid-updates/universe Packages [186kB]          

Hit http://tw.archive.ubuntu.com lucid-security/multiverse Sources             

Hit http://tw.archive.ubuntu.com lucid-security/restricted Sources             

Get:28 http://mirrors.163.com lucid-updates/main Packages [448kB]              

Hit http://tw.archive.ubuntu.com lucid-backports/main Packages                 

Hit http://tw.archive.ubuntu.com lucid-backports/multiverse Packages           

Get:29 http://mirrors.163.com lucid-updates/multiverse Packages [8,427B]       

Get:30 http://mirrors.163.com lucid-updates/restricted Packages [3,240B]       

Get:31 http://mirrors.163.com lucid-updates/universe Sources [66.6kB]          

Get:32 http://mirrors.163.com lucid-updates/main Sources [179kB]               

Hit http://tw.archive.ubuntu.com lucid-backports/restricted Packages           

Hit http://tw.archive.ubuntu.com lucid-backports/universe Packages             

Get:33 http://mirrors.163.com lucid-updates/multiverse Sources [4,369B]        

Get:34 http://mirrors.163.com lucid-updates/restricted Sources [1,443B]        

Get:35 http://mirrors.163.com lucid-proposed/universe Packages [13.3kB]        

Get:36 http://mirrors.163.com lucid-proposed/main Packages [114kB]             

Get:37 http://mirrors.163.com lucid-proposed/multiverse Packages [14B]         

Get:38 http://mirrors.163.com lucid-proposed/restricted Packages [14B]         

Get:39 http://mirrors.163.com lucid-proposed/universe Sources [4,999B]         

Get:40 http://mirrors.163.com lucid-proposed/main Sources [50.4kB]             

Get:41 http://mirrors.163.com lucid-proposed/multiverse Sources [14B]       

Get:42 http://mirrors.163.com lucid-proposed/restricted Sources [14B]       

Get:43 http://mirrors.163.com lucid-backports/universe Packages [29.0kB]    

Get:44 http://mirrors.163.com lucid-backports/main Packages [5,914B]           

Get:45 http://mirrors.163.com lucid-backports/multiverse Packages [1,378B]     

Get:46 http://mirrors.163.com lucid-backports/restricted Packages [14B]        

Get:47 http://mirrors.163.com lucid-backports/universe Sources [11.1kB]

Get:48 http://mirrors.163.com lucid-backports/main Sources [3,809B]            

Get:49 http://mirrors.163.com lucid-backports/multiverse Sources [1,633B]      

Get:50 http://mirrors.163.com lucid-backports/restricted Sources [14B]         

Hit http://tw.archive.ubuntu.com lucid-backports/universe Sources              

Hit http://tw.archive.ubuntu.com lucid-backports/main Sources                  

Hit http://tw.archive.ubuntu.com lucid-backports/multiverse Sources            

Hit http://tw.archive.ubuntu.com lucid-backports/restricted Sources            

 

这好像是结果告知

Fetched 12.6MB in 27s (450kB/s)                                                

Reading package lists... Done

W: Failed to fetch http://Ubuntu.srt.cn/ubuntu/dists/lucid/Release.gpg  Could not connect to Ubuntu.srt.cn:80 (211.155.227.167). - connect (111: Connection refused)

 

W: Failed to fetch http://Ubuntu.srt.cn/ubuntu/dists/lucid/main/i18n/Translation-en_US.bz2  Unable to connect to Ubuntu.srt.cn:http:

 

W: Failed to fetch http://Ubuntu.srt.cn/ubuntu/dists/lucid/universe/i18n/Translation-en_US.bz2  Unable to connect to Ubuntu.srt.cn:http:

 

W: Failed to fetch http://Ubuntu.srt.cn/ubuntu/dists/lucid/restricted/i18n/Translation-en_US.bz2  Unable to connect to Ubuntu.srt.cn:http:

 

W: Failed to fetch http://Ubuntu.srt.cn/ubuntu/dists/lucid/multiverse/i18n/Translation-en_US.bz2  Unable to connect to Ubuntu.srt.cn:http:

 

W: Failed to fetch http://Ubuntu.srt.cn/ubuntu/dists/lucid-security/Release.gpg  Unable to connect to Ubuntu.srt.cn:http:

 

W: Failed to fetch http://Ubuntu.srt.cn/ubuntu/dists/lucid-security/universe/i18n/Translation-en_US.bz2  Unable to connect to Ubuntu.srt.cn:http:

 

W: Failed to fetch http://Ubuntu.srt.cn/ubuntu/dists/lucid-security/main/i18n/Translation-en_US.bz2  Unable to connect to Ubuntu.srt.cn:http:

 

W: Failed to fetch http://Ubuntu.srt.cn/ubuntu/dists/lucid-security/multiverse/i18n/Translation-en_US.bz2  Unable to connect to Ubuntu.srt.cn:http:

 

W: Failed to fetch http://Ubuntu.srt.cn/ubuntu/dists/lucid-security/restricted/i18n/Translation-en_US.bz2  Unable to connect to Ubuntu.srt.cn:http:

 

W: Failed to fetch http://Ubuntu.srt.cn/ubuntu/dists/lucid-updates/Release.gpg  Unable to connect to Ubuntu.srt.cn:http:

 

W: Failed to fetch http://Ubuntu.srt.cn/ubuntu/dists/lucid-updates/universe/i18n/Translation-en_US.bz2  Unable to connect to Ubuntu.srt.cn:http:

 

W: Failed to fetch http://Ubuntu.srt.cn/ubuntu/dists/lucid-updates/main/i18n/Translation-en_US.bz2  Unable to connect to Ubuntu.srt.cn:http:

 

W: Failed to fetch http://Ubuntu.srt.cn/ubuntu/dists/lucid-updates/multiverse/i18n/Translation-en_US.bz2  Unable to connect to Ubuntu.srt.cn:http:

 

W: Failed to fetch http://Ubuntu.srt.cn/ubuntu/dists/lucid-updates/restricted/i18n/Translation-en_US.bz2  Unable to connect to Ubuntu.srt.cn:http:

 

W: Failed to fetch http://Ubuntu.srt.cn/ubuntu/dists/lucid-proposed/Release.gpg  Unable to connect to Ubuntu.srt.cn:http:

 

W: Failed to fetch http://Ubuntu.srt.cn/ubuntu/dists/lucid-proposed/universe/i18n/Translation-en_US.bz2  Unable to connect to Ubuntu.srt.cn:http:

 

W: Failed to fetch http://Ubuntu.srt.cn/ubuntu/dists/lucid-proposed/main/i18n/Translation-en_US.bz2  Unable to connect to Ubuntu.srt.cn:http:

 

W: Failed to fetch http://Ubuntu.srt.cn/ubuntu/dists/lucid-proposed/multiverse/i18n/Translation-en_US.bz2  Unable to connect to Ubuntu.srt.cn:http:

 

W: Failed to fetch http://Ubuntu.srt.cn/ubuntu/dists/lucid-proposed/restricted/i18n/Translation-en_US.bz2  Unable to connect to Ubuntu.srt.cn:http:

 

W: Failed to fetch http://Ubuntu.srt.cn/ubuntu/dists/lucid-backports/Release.gpg  Unable to connect to Ubuntu.srt.cn:http:

 

W: Failed to fetch http://Ubuntu.srt.cn/ubuntu/dists/lucid-backports/universe/i18n/Translation-en_US.bz2  Unable to connect to Ubuntu.srt.cn:http:

 

W: Failed to fetch http://Ubuntu.srt.cn/ubuntu/dists/lucid-backports/main/i18n/Translation-en_US.bz2  Unable to connect to Ubuntu.srt.cn:http:

 

W: Failed to fetch http://Ubuntu.srt.cn/ubuntu/dists/lucid-backports/multiverse/i18n/Translation-en_US.bz2  Unable to connect to Ubuntu.srt.cn:http:

 

W: Failed to fetch http://Ubuntu.srt.cn/ubuntu/dists/lucid-backports/restricted/i18n/Translation-en_US.bz2  Unable to connect to Ubuntu.srt.cn:http:

 

W: Some index files failed to download, they have been ignored, or old ones used instead.

 

 

=======================

发布一下我的机子上的列表,以便后来测试用。

 

#deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to

# newer versions of the distribution.

######################################################

 

deb http://Ubuntu.cn99.com/ubuntu/ lucid main universe restricted multiverse

deb-src http://Ubuntu.cn99.com/ubuntu/ lucid main universe restricted multiverse

deb http://Ubuntu.cn99.com/ubuntu/ lucid-security universe main multiverse restricted

deb-src http://Ubuntu.cn99.com/ubuntu/ lucid-security universe main multiverse restricted

deb http://Ubuntu.cn99.com/ubuntu/ lucid-updates universe main multiverse restricted

deb http://Ubuntu.cn99.com/ubuntu/ lucid-proposed universe main multiverse restricted

deb-src http://Ubuntu.cn99.com/ubuntu/ lucid-proposed universe main multiverse restricted

deb http://Ubuntu.cn99.com/ubuntu/ lucid-backports universe main multiverse restricted

deb-src http://Ubuntu.cn99.com/ubuntu/ lucid-backports universe main multiverse restricted

deb-src http://Ubuntu.cn99.com/ubuntu/ lucid-updates universe main multiverse restricted

 

######################163, it is said that , speed is good

deb http://mirrors.163.com/ubuntu/ lucid main universe restricted multiverse

deb-src http://mirrors.163.com/ubuntu/ lucid main universe restricted multiverse

deb http://mirrors.163.com/ubuntu/ lucid-security universe main multiverse restricted

deb-src http://mirrors.163.com/ubuntu/ lucid-security universe main multiverse restricted

deb http://mirrors.163.com/ubuntu/ lucid-updates universe main multiverse restricted

deb http://mirrors.163.com/ubuntu/ lucid-proposed universe main multiverse restricted

deb-src http://mirrors.163.com/ubuntu/ lucid-proposed universe main multiverse restricted

deb http://mirrors.163.com/ubuntu/ lucid-backports universe main multiverse restricted

deb-src http://mirrors.163.com/ubuntu/ lucid-backports universe main multiverse restricted

deb-src http://mirrors.163.com/ubuntu/ lucid-updates universe main multiverse restricted

 

#骨头源(骨头源是bones7456架设的一个Ubuntu源),提供 Ubuntu,deepin

 

deb http://Ubuntu.srt.cn/ubuntu/ lucid main universe restricted multiverse

deb-src http://Ubuntu.srt.cn/ubuntu/ lucid main universe restricted multiverse

deb http://Ubuntu.srt.cn/ubuntu/ lucid-security universe main multiverse restricted

deb-src http://Ubuntu.srt.cn/ubuntu/ lucid-security universe main multiverse restricted

deb http://Ubuntu.srt.cn/ubuntu/ lucid-updates universe main multiverse restricted

deb http://Ubuntu.srt.cn/ubuntu/ lucid-proposed universe main multiverse restricted

deb-src http://Ubuntu.srt.cn/ubuntu/ lucid-proposed universe main multiverse restricted

deb http://Ubuntu.srt.cn/ubuntu/ lucid-backports universe main multiverse restricted

deb-src http://Ubuntu.srt.cn/ubuntu/ lucid-backports universe main multiverse restricted

deb-src http://Ubuntu.srt.cn/ubuntu/ lucid-updates universe main multiverse restricted

 

#Ubuntu 10.04 台湾更新源:

 

deb http://tw.archive.ubuntu.com/ubuntu/ lucid main universe restricted multiverse

deb http://tw.archive.ubuntu.com/ubuntu/ lucid-updates universe main multiverse restricted

deb http://tw.archive.ubuntu.com/ubuntu/ lucid-proposed universe main multiverse restricted

deb http://tw.archive.ubuntu.com/ubuntu/ lucid-security universe main multiverse restricted

deb http://tw.archive.ubuntu.com/ubuntu/ lucid-backports main multiverse restricted universe

deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid main universe restricted multiverse

deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid-security universe main multiverse restricted

deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid-updates universe main multiverse restricted

deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid-proposed universe main multiverse restricted

deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid-backports universe main multiverse restricted

#####################################################

  # wxWidgets/wxPython repository at apt.wxwidgets.org

   deb http://apt.wxwidgets.org/ lucid-wx main

   deb-src http://apt.wxwidgets.org/ lucid-wx  main  

####################################################

deb http://us.archive.ubuntu.com/ubuntu/ lucid main restricted

deb-src http://us.archive.ubuntu.com/ubuntu/ lucid main restricted

 

## Major bug fix updates produced after the final release of the

## distribution.

deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted

deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted

 

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

## team. Also, please note that software in universe WILL NOT receive any

## review or updates from the Ubuntu security team.

deb http://us.archive.ubuntu.com/ubuntu/ lucid universe

deb-src http://us.archive.ubuntu.com/ubuntu/ lucid universe

deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe

deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe

 

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 

## team, and may not be under a free licence. Please satisfy yourself as to 

## your rights to use the software. Also, please note that software in 

## multiverse WILL NOT receive any review or updates from the Ubuntu

## security team.

deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse

deb-src http://us.archive.ubuntu.com/ubuntu/ lucid multiverse

deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse

deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse

 

## Uncomment the following two lines to add software from the 'backports'

## repository.

## N.B. software from this repository may not have been tested as

## extensively as that contained in the main release, although it includes

## newer versions of some applications which may provide useful features.

## Also, please note that software in backports WILL NOT receive any review

## or updates from the Ubuntu security team.

# deb http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse

# deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse

 

## Uncomment the following two lines to add software from Canonical's

## 'partner' repository.

## This software is not part of Ubuntu, but is offered by Canonical and the

## respective vendors as a service to Ubuntu users.

# deb http://archive.canonical.com/ubuntu lucid partner

# deb-src http://archive.canonical.com/ubuntu lucid partner

 

deb http://security.ubuntu.com/ubuntu lucid-security main restricted

deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted

deb http://security.ubuntu.com/ubuntu lucid-security universe

deb-src http://security.ubuntu.com/ubuntu lucid-security universe

deb http://security.ubuntu.com/ubuntu lucid-security multiverse

deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse

<think>好的,我需要帮助用户在VMware虚拟机上的Ubuntu 24.04系统中安装和配置ROS2 Rolling版本。首先,我得确认ROS2 Rolling是否支持Ubuntu 24.04,因为不同ROS版本对应不同的Ubuntu版本。根据之前的经验,ROS2 Rolling通常与Ubuntu Jammy(22.04)配合使用,但用户现在使用的是更新的24.04(Noble Numbat),可能需要检查官方文档是否有更新支持。 接下来,用户提到使用VMware虚拟机,并且已经配置了VMware Tools,这样可以方便地复制粘贴命令或者文件,这对安装过程有帮助。安装步骤大致包括设置软件、安装ROS2包、配置环境等。但需要特别注意依赖项是否满足,特别是Ubuntu 24.04可能有些库的版本不同,可能导致兼容性问题。 首先,用户需要确保系统已更新,然后添加ROS2的APT仓库。可能需要从官方获取正确的列表。例如,通常使用curl命令下载并设置密钥,然后添加sources.list.d目录。但需要确认ROS2 Rolling的仓库是否支持24.04,如果官方尚未支持,可能需要调整仓库中的发行版名称,比如尝试使用jammy的,或者查找是否有测试中的支持。 安装完成后,需要安装ROS2的基本包,可能使用sudo apt install ros-rolling-desktop。然后配置环境变量,自动source到bashrc中。最后,测试示例,比如运行demo节点,确保安装成功。 另外,用户可能需要安装colcon构建工具和其他依赖,比如ros-dev-tools。这部分也需要检查是否适用于24.04。如果遇到依赖错误,可能需要手动解决,比如安装特定版本的库,或者等待官方更新支持。 此外,用户可能在虚拟机中需要配置网络,确保能够正常下载软件包。如果遇到网络问题,可能需要检查虚拟机的网络设置,比如NAT或桥接模式。还有,安装完成后,建议用户运行基础教程中的示例,验证ROS2是否正确安装。 最后,根据用户提供的引用[^1],他们提到在Ubuntu中安装VMware Tools,确保虚拟机与宿主机之间的交互顺畅,这对复制命令或文件很重要。如果安装过程中需要重启,用户已经知道使用sudo reboot,这可能会在安装VMware Tools或ROS2后需要执行。 总结步骤:检查系统兼容性→更新系统→添加ROS2仓库→安装ROS2→配置环境→测试安装→处理可能的依赖问题。需要逐步指导用户,并提醒可能遇到的兼容性问题及解决方法。</think>在VMware虚拟机Ubuntu 24.04中安装ROS2 Rolling需注意系统兼容性,以下是详细步骤: ### 一、系统兼容性确认 ROS2 Rolling官方主要支持Ubuntu 22.04(Jammy)。若需在24.04(Noble Numbat)上安装,需检查仓库适配情况: ```bash sudo apt update && sudo apt upgrade -y ``` ### 二、添加ROS2仓库 1. 设置编码和: ```bash sudo apt install locales sudo locale-gen en_US en_US.UTF-8 sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 # 尝试使用Jammy的仓库(需验证) sudo apt install software-properties-common sudo add-apt-repository universe sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu jammy main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null ``` ### 三、安装ROS2 Rolling 1. 更新并安装核心包: ```bash sudo apt update sudo apt install ros-rolling-desktop ``` 2. 安装开发工具: ```bash sudo apt install python3-colcon-common-extensions ros-dev-tools ``` ### 四、环境配置 ```bash echo "source /opt/ros/rolling/setup.bash" >> ~/.bashrc source ~/.bashrc ``` ### 五、验证安装 运行示例节点: ```bash ros2 run demo_nodes_cpp talker # 新终端中执行 ros2 run demo_nodes_cpp listener ``` 若显示消息交互,则安装成功。 ### 六、依赖问题处理 若出现库版本冲突: 1. 手动安装缺失依赖: ```bash sudo apt install libpython3-dev python3-pip ``` 2. 或通过码编译适配版本(需参考ROS2官方文档)
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

等风来不如迎风去

你的鼓励是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值