Software & UpdatesGüncelleme kanallarını etkinleştirmek için Ubuntu'da bir GUI olduğunu biliyorum
- güncellemeler
- önerilen
- backports
- güvenlik
bu ekran görüntüsünde gösterildiği gibi:
Bu gibi komutları kullanarak bir terminal içinde bunu yapmak için kolay bir yol arıyorum
sudo apt-add-update enable updates
sudo apt-add-update enable proposed
sudo apt-add-update enable backports
sudo apt-add-update enable security
sudo apt-add-update disable updates
sudo apt-add-update disable proposed
sudo apt-add-update disable backports
sudo apt-add-update disable security
ve ek bir şey
sudo apt-add-update enable default
sudo apt-add-update disable default
Daha iyi anlaşılması için bazı örnekler
Boş
sources.listcat /etc/apt/sources.list<empty>sudo apt-add-update enable security<empty>
Bir etkin depo (
main)cat /etc/apt/sources.listdeb http://archive.ubuntu.com/ubuntu wily mainsudo apt-add-update enable securitydeb http://archive.ubuntu.com/ubuntu wily main deb http://archive.ubuntu.com/ubuntu wily-security main
Bir veya iki satırda iki veya daha fazla etkin depo
cat /etc/apt/sources.listdeb http://archive.ubuntu.com/ubuntu wily main universeveya
deb http://archive.ubuntu.com/ubuntu wily main deb http://archive.ubuntu.com/ubuntu wily universesudo apt-add-update enable securitydeb http://archive.ubuntu.com/ubuntu wily main universe deb http://archive.ubuntu.com/ubuntu wily-security main universeveya
deb http://archive.ubuntu.com/ubuntu wily main deb http://archive.ubuntu.com/ubuntu wily-security main deb http://archive.ubuntu.com/ubuntu wily universe deb http://archive.ubuntu.com/ubuntu wily-security universe
ile
deb-srcgirdilericat /etc/apt/sources.listdeb http://archive.ubuntu.com/ubuntu wily main universe deb-src http://archive.ubuntu.com/ubuntu wily main universesudo apt-add-update enable securitydeb http://archive.ubuntu.com/ubuntu wily main universe deb-src http://archive.ubuntu.com/ubuntu wily main universe deb http://archive.ubuntu.com/ubuntu wily-security main universe deb-src http://archive.ubuntu.com/ubuntu wily-security main universe
Etkin olmayan
deb-srcgirişlerlecat /etc/apt/sources.listdeb http://archive.ubuntu.com/ubuntu wily main universe # deb-src http://archive.ubuntu.com/ubuntu wily main universesudo apt-add-update enable securitydeb http://archive.ubuntu.com/ubuntu wily main universe # deb-src http://archive.ubuntu.com/ubuntu wily main universe deb http://archive.ubuntu.com/ubuntu wily-security main universe
defaultşeycat /etc/apt/sources.listdeb http://archive.ubuntu.com/ubuntu wily-security universesudo apt-add-update enable defaultdeb http://archive.ubuntu.com/ubuntu wily universe deb http://archive.ubuntu.com/ubuntu wily-security universe
Sadece bir giriş ve
disableeylemcat /etc/apt/sources.listdeb http://archive.ubuntu.com/ubuntu wily-security universesudo apt-add-update disable security<empty>
Farklı veya samerepositories için farklı veya aynı sunucular, her sunucuya saygı gösterin
cat /etc/apt/sources.listdeb http://archive.ubuntu.com/ubuntu wily universe deb http://us.archive.ubuntu.com/ubuntu wily mainsudo apt-add-update enable securitydeb http://archive.ubuntu.com/ubuntu wily universe deb http://us.archive.ubuntu.com/ubuntu wily main deb http://archive.ubuntu.com/ubuntu wily-security universe deb http://us.archive.ubuntu.com/ubuntu wily-security main
Farklı depolar için farklı Ubuntu sürümleri, her bir sürüme saygı gösterin
cat /etc/apt/sources.listdeb http://archive.ubuntu.com/ubuntu wily main universe deb http://archive.ubuntu.com/ubuntu trusty mainsudo apt-add-update enable securitydeb http://archive.ubuntu.com/ubuntu wily main universe deb http://archive.ubuntu.com/ubuntu trusty main deb http://archive.ubuntu.com/ubuntu wily-security main universe deb http://archive.ubuntu.com/ubuntu trusty-security main
PPA'lar veya diğer paket kaynakları (Canonical olmayan)
sources.list?Aldırmamak!
Protokolleri değiştirmeyin, örneğin
https,http,tor, ...



