sudo-apt-get-update-not-working /etc/apt/sources.list

https://askubuntu.com/questions/586369/sudo-apt-get-update-not-working

 

5

Follow following steps

  1. First Backup your old sources.list, mv /etc/apt/sources.list /etc/apt/sources.list.back

  2. Check your OS version, Release

    lsb_release -r

  3. Go to http://repogen.simplylinux.ch/

  4. Select Country

  5. Select Ubuntu Release

  6. Select Your choice. Important is first 12 and choose whatever you require

  7. Generate new sources list

  8. Open your editor like vi or vim

    vim /etc/apt/sources.list

  9. Save the file

  10. Retry with sudo apt-get update

 

 

posted on 2021-07-14 01:32  cdekelon  阅读(35)  评论(0)    收藏  举报

导航