Jak macie ustawione aktualizacje w Ubuntu?

Mam Ubu 12.04 i czasem mnie wkurza, gdy włączam menedżera aktualizacji - klikam sprawdź i pojawia mi się 50 aktualizacji. Klikam zaaktualizuj i wyskakuje mi wkurzający komunikat, że coś a la aktualizacja przerwana, bo wymaga zainstalowania niezaufanych pakietów.

Oczywiście muszę zostawić zaznaczone, że tylko ważne aktualizacje i odhaczać aktualizacje proponowane itd.

Nie chcę sprawdzać każdego nowego pakietu. Jak macie ustawione aktualizację, aby było szybko i bezpiecznie?

Ja mam wszystko zaznaczone, w LTS zaznaczam również aktualizację systemu poza wersje beta :wink:

Masz klucze GPG dla tych repozytoriów? Jeśli nie wiesz, uruchom terminal i pokaż wynik polecenia.

sudo apt-get update
ich@mich-desktop:~$ sudo apt-get update

[sudo] password for mich: 

Stary http://pl.archive.ubuntu.com precise Release.gpg

Stary http://pl.archive.ubuntu.com precise-updates Release.gpg                 

Stary http://pl.archive.ubuntu.com precise-backports Release.gpg               

Stary http://pl.archive.ubuntu.com precise Release                             

Stary http://extras.ubuntu.com precise Release.gpg                             

Stary http://archive.canonical.com precise Release.gpg                         

Stary http://ppa.launchpad.net precise Release.gpg                             

Stary http://ppa.launchpad.net precise Release.gpg                             

Stary http://ppa.launchpad.net precise Release.gpg                             

Stary http://pl.archive.ubuntu.com precise-updates Release                     

Stary http://extras.ubuntu.com precise Release                                 

Stary http://archive.canonical.com precise Release                             

Stary http://pl.archive.ubuntu.com precise-backports Release                   

Stary http://ppa.launchpad.net precise Release                                 

Stary http://pl.archive.ubuntu.com precise/main Sources                        

Stary http://pl.archive.ubuntu.com precise/restricted Sources                  

Stary http://pl.archive.ubuntu.com precise/universe Sources                    

Stary http://pl.archive.ubuntu.com precise/multiverse Sources                  

Stary http://pl.archive.ubuntu.com precise/main i386 Packages                  

Stary http://extras.ubuntu.com precise/main Sources                            

Stary http://pl.archive.ubuntu.com precise/restricted i386 Packages            

Stary http://pl.archive.ubuntu.com precise/universe i386 Packages              

Stary http://pl.archive.ubuntu.com precise/multiverse i386 Packages            

Stary http://pl.archive.ubuntu.com precise/main TranslationIndex               

Stary http://security.ubuntu.com precise-security Release.gpg                  

Stary http://ppa.launchpad.net precise Release                                 

Stary http://archive.canonical.com precise/partner Sources                     

Stary http://pl.archive.ubuntu.com precise/multiverse TranslationIndex         

Stary http://pl.archive.ubuntu.com precise/restricted TranslationIndex         

Stary http://pl.archive.ubuntu.com precise/universe TranslationIndex           

Stary http://pl.archive.ubuntu.com precise-updates/main Sources                

Stary http://pl.archive.ubuntu.com precise-updates/restricted Sources          

Stary http://pl.archive.ubuntu.com precise-updates/universe Sources            

Stary http://extras.ubuntu.com precise/main i386 Packages                      

Ign. http://extras.ubuntu.com precise/main TranslationIndex                   

Stary http://ppa.launchpad.net precise Release                                 

Stary http://archive.canonical.com precise/partner i386 Packages               

Ign. http://archive.canonical.com precise/partner TranslationIndex            

Stary http://pl.archive.ubuntu.com precise-updates/multiverse Sources          

Stary http://pl.archive.ubuntu.com precise-updates/main i386 Packages          

Stary http://pl.archive.ubuntu.com precise-updates/restricted i386 Packages    

Stary http://pl.archive.ubuntu.com precise-updates/universe i386 Packages      

Stary http://pl.archive.ubuntu.com precise-updates/multiverse i386 Packages    

Stary http://pl.archive.ubuntu.com precise-updates/main TranslationIndex       

Stary http://pl.archive.ubuntu.com precise-updates/multiverse TranslationIndex 

Stary http://pl.archive.ubuntu.com precise-updates/restricted TranslationIndex 

Stary http://pl.archive.ubuntu.com precise-updates/universe TranslationIndex   

Stary http://ppa.launchpad.net precise/main Sources                            

Stary http://ppa.launchpad.net precise/main i386 Packages                      

Ign. http://ppa.launchpad.net precise/main TranslationIndex                   

Stary http://security.ubuntu.com precise-security Release                      

Stary http://pl.archive.ubuntu.com precise-backports/main Sources              

Stary http://pl.archive.ubuntu.com precise-backports/restricted Sources        

Stary http://pl.archive.ubuntu.com precise-backports/universe Sources          

Stary http://pl.archive.ubuntu.com precise-backports/multiverse Sources        

Stary http://pl.archive.ubuntu.com precise-backports/main i386 Packages        

Stary http://pl.archive.ubuntu.com precise-backports/restricted i386 Packages  

Stary http://ppa.launchpad.net precise/main Sources                            

Stary http://ppa.launchpad.net precise/main i386 Packages                      

Ign. http://ppa.launchpad.net precise/main TranslationIndex                   

Stary http://pl.archive.ubuntu.com precise-backports/universe i386 Packages    

Stary http://pl.archive.ubuntu.com precise-backports/multiverse i386 Packages  

Stary http://pl.archive.ubuntu.com precise-backports/main TranslationIndex     

Stary http://pl.archive.ubuntu.com precise-backports/multiverse TranslationIndex

Stary http://pl.archive.ubuntu.com precise-backports/restricted TranslationIndex

Stary http://pl.archive.ubuntu.com precise-backports/universe TranslationIndex 

Stary http://pl.archive.ubuntu.com precise/main Translation-pl                 

Stary http://pl.archive.ubuntu.com precise/main Translation-en                 

Stary http://pl.archive.ubuntu.com precise/multiverse Translation-pl           

Stary http://ppa.launchpad.net precise/main Sources                            

Stary http://ppa.launchpad.net precise/main i386 Packages                      

Ign. http://ppa.launchpad.net precise/main TranslationIndex                   

Stary http://pl.archive.ubuntu.com precise/multiverse Translation-en           

Stary http://pl.archive.ubuntu.com precise/restricted Translation-pl           

Stary http://pl.archive.ubuntu.com precise/restricted Translation-en           

Stary http://pl.archive.ubuntu.com precise/universe Translation-pl             

Stary http://pl.archive.ubuntu.com precise/universe Translation-en             

Stary http://pl.archive.ubuntu.com precise-updates/main Translation-pl         

Stary http://security.ubuntu.com precise-security/main Sources                 

Stary http://pl.archive.ubuntu.com precise-updates/main Translation-en         

Stary http://pl.archive.ubuntu.com precise-updates/multiverse Translation-pl   

Stary http://pl.archive.ubuntu.com precise-updates/multiverse Translation-en   

Stary http://pl.archive.ubuntu.com precise-updates/restricted Translation-pl   

Stary http://pl.archive.ubuntu.com precise-updates/restricted Translation-en   

Stary http://pl.archive.ubuntu.com precise-updates/universe Translation-pl     

Stary http://pl.archive.ubuntu.com precise-updates/universe Translation-en     

Stary http://pl.archive.ubuntu.com precise-backports/main Translation-en       

Stary http://pl.archive.ubuntu.com precise-backports/multiverse Translation-en 

Stary http://pl.archive.ubuntu.com precise-backports/restricted Translation-en 

Stary http://pl.archive.ubuntu.com precise-backports/universe Translation-en   

Stary http://security.ubuntu.com precise-security/restricted Sources           

Stary http://security.ubuntu.com precise-security/universe Sources             

Stary http://security.ubuntu.com precise-security/multiverse Sources           

Stary http://security.ubuntu.com precise-security/main i386 Packages           

Stary http://security.ubuntu.com precise-security/restricted i386 Packages     

Stary http://security.ubuntu.com precise-security/universe i386 Packages       

Stary http://security.ubuntu.com precise-security/multiverse i386 Packages     

Stary http://security.ubuntu.com precise-security/main TranslationIndex        

Stary http://security.ubuntu.com precise-security/multiverse TranslationIndex  

Stary http://security.ubuntu.com precise-security/restricted TranslationIndex  

Stary http://security.ubuntu.com precise-security/universe TranslationIndex    

Stary http://security.ubuntu.com precise-security/main Translation-en          

Stary http://security.ubuntu.com precise-security/multiverse Translation-en    

Ign. http://extras.ubuntu.com precise/main Translation-pl_PL                  

Stary http://security.ubuntu.com precise-security/restricted Translation-en    

Ign. http://archive.canonical.com precise/partner Translation-pl_PL           

Ign. http://extras.ubuntu.com precise/main Translation-pl                     

Stary http://security.ubuntu.com precise-security/universe Translation-en      

Ign. http://ppa.launchpad.net precise/main Translation-pl_PL                  

Ign. http://ppa.launchpad.net precise/main Translation-pl                     

Ign. http://archive.canonical.com precise/partner Translation-pl              

Ign. http://extras.ubuntu.com precise/main Translation-en                     

Ign. http://ppa.launchpad.net precise/main Translation-en                     

Ign. http://ppa.launchpad.net precise/main Translation-pl_PL

Ign. http://ppa.launchpad.net precise/main Translation-pl 

Ign. http://ppa.launchpad.net precise/main Translation-en 

Ign. http://ppa.launchpad.net precise/main Translation-pl_PL

Ign. http://archive.canonical.com precise/partner Translation-en

Ign. http://ppa.launchpad.net precise/main Translation-pl

Ign. http://ppa.launchpad.net precise/main Translation-en

Czytanie list pakietów... Gotowe

Apt nie zgłasza błędów, sprawdź w źródłach oprogramowania czy masz wszystkie klucze GPG i czy są aktualne. Sprawdź czy masz zainstalowane pakiety ubuntu-keyrings i ubuntu-extras-keyring, sprawdź na stronach repozytoriów prywatnych, z których korzystasz czy dostępne są klucze GPG, na pewno będzie tam też instrukcja jak je pobrać i importować.

Spróbuj zaktualizować przez terminal i zobacz czy Ci wyskoczy jakaś informacja:

w sumie problem rozwiązuje aktualizacja przez termina (szybko i bezpiecznie) l, a nie przez menedżera aktualizacji… i tak będę robił…

Można to cudo (menedżer aktualizacji) wywalić jeszcze z autostartu, żeby nie bruździł. Podaj wynik:

ls -al /etc/xdg/autostart
mich@mich-desktop:~$ ls -al /etc/xdg/autostart

razem 144

drwxr-xr-x 2 root root 4096 mar 15 09:13 .

drwxr-xr-x 6 root root 4096 lut 19 10:03 ..

-rw-r--r-- 1 root root 306 maj 17 2012 at-spi-dbus-bus.desktop

-rw-r--r-- 1 root root 417 kwi 3 2012 bluetooth-applet.desktop

-rw-r--r-- 1 root root 227 kwi 3 2012 bluetooth-applet-unity.desktop

-rw-r--r-- 1 root root 365 kwi 11 2012 deja-dup-monitor.desktop

-rw-r--r-- 1 root root 501 mar 23 2012 gdu-notification-daemon.desktop

-rw-r--r-- 1 root root 369 lip 12 2012 gnome-fallback-mount-helper.desktop

-rw-r--r-- 1 root root 451 kwi 12 2012 gnome-keyring-gpg.desktop

-rw-r--r-- 1 root root 479 kwi 12 2012 gnome-keyring-pkcs11.desktop

-rw-r--r-- 1 root root 472 kwi 12 2012 gnome-keyring-secrets.desktop

-rw-r--r-- 1 root root 454 kwi 12 2012 gnome-keyring-ssh.desktop

-rw-r--r-- 1 root root 471 kwi 16 2012 gnome-screensaver.desktop

-rw-r--r-- 1 root root 297 lip 12 2012 gnome-settings-daemon.desktop

-rw-r--r-- 1 root root 527 lip 19 2012 gnome-sound-applet.desktop

-rw-r--r-- 1 root root 309 mar 22 2012 gnome-user-share.desktop

-rw-r--r-- 1 root root 279 mar 23 2012 gsettings-data-convert.desktop

-rw-r--r-- 1 root root 353 maj 18 2012 gwibber.desktop

-rw-r--r-- 1 root root 294 lis 9 2011 indicator-keylock.desktop

-rw-r--r-- 1 root root 372 lip 26 2012 jockey-gtk.desktop

-rw-r--r-- 1 root root 210 lip 26 2012 nautilus-autostart.desktop

-rw-r--r-- 1 root root 342 kwi 3 2012 nm-applet.desktop

-rw-r--r-- 1 root root 244 mar 27 2012 onboard-autostart.desktop

-rw-r--r-- 1 root root 322 maj 17 2012 orca-autostart.desktop

-rw-r--r-- 1 root root 358 lut 11 2012 polkit-gnome-authentication-agent-1.desktop

-rw-r--r-- 1 root root 391 maj 30 2012 print-applet.desktop

-rw-r--r-- 1 root root 3920 cze 1 2012 pulseaudio.desktop

-rw-r--r-- 1 root root 256 cze 1 2012 pulseaudio-kde.desktop

-rw-r--r-- 1 root root 450 mar 22 2012 telepathy-indicator.desktop

-rw-r--r-- 1 root root 222 lip 12 2012 ubuntuone-launch.desktop

-rw-r--r-- 1 root root 8937 sie 9 2012 update-notifier.desktop

-rw-r--r-- 1 root root 312 kwi 4 2012 user-dirs-update-gtk.desktop

-rw-r--r-- 1 root root 372 cze 28 2012 vino-server.desktop

-rw-r--r-- 1 root root 336 kwi 11 2012 zeitgeist-datahub.desktop

mich@mich-desktop:~$

Jakbyś nie chciał, żeby cię prześladował menedżer aktualizacji to po prostu przesuń plik w inne miejsce, np. do katalogu domowego:

sudo mv /etc/xdg/autostart/update-notifier.desktop /home/to_juz_koniec

Okresowo trzeba sprawdzić i ew. zainstalować aktualizacje:

sudo apt-get update && sudo apt-get dist-upgrade

Aby nie trzymać pobranych pakietów na dysku, okresowo:

sudo apt-get clean