Ko dol vleče popravke, posodobitve ali programe pride do error
Vedno ko pride ven nova verzija kubunta naredim samo spremembo imena v sources listi. In pol se mi pojavi klicaj zraven ure pač da je treba narediti posodobitev. Kliknem na klicaj odpre se adept no saj postopek poznate. In začne dol vlečti in pol včasih pride do 40% ali pa do 70% in se ustavi in nekaj časa čaka in ko ni odziva napiše error gre vlečt drug paket. Zdaj me pa zanima kaj naredi s temi paketi ki jih dol ko konca ne povleče in ki piše samo error? Jih potem naknadno dol povleče?
Komentarji
al pa
sudo apt-get update
sudo apt-get dist-upgrade <-----------tole potem dvakrat
erik@erik-desktop:~$ apt-get update
E: Napačna vrstica 56 v seznamu virov /etc/apt/sources.list (razčlenitev distribucije)
Verjetno je kaj v sources.list napisano namesto "edgy" "dapper".
deb http://si.archive.ubuntu.com/ubuntu/ edgy main restricted
deb-src http://si.archive.ubuntu.com/ubuntu/ edgy restricted main multiverse universe #Added by software-properties
## Major bug fix updates produced afterdeb
## distribution.
deb http://si.archive.ubuntu.com/ubuntu/ edgy-updates main restricted
deb-src http://si.archive.ubuntu.com/ubuntu/ edgy-updates restricted main multiverse universe #Added by software-properties
## Uncomment the following two lines to add software from the 'universe'
## repository.
## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# deb http://si.archive.ubuntu.com/ubuntu/ dapper universe
# deb-src http://si.archive.ubuntu.com/ubuntu/ dapper universe
## 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://si.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
# deb-src http://si.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu edgy-security main restricted
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted #Added by software-properties
# deb http://security.ubuntu.com/ubuntu dapper-security universe
# deb-src http://security.ubuntu.com/ubuntu dapper-security universe
## Automatix repo
# deb http://www.getautomatix.com/apt edgy main
#AUTOMATIX REPOS START
deb http://www.getautomatix.com/apt edgy main
deb http://archive.canonical.com/ubuntu dapper-commercial main
# deb http://people.ubuntu.com/~seb128/deb ./
# deb http://archive.canonical.com/ubuntu edgy-commercial main
deb http://si.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse
deb-src http://si.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse #Added by software-properti$
deb http://si.archive.ubuntu.com/ubuntu/ edgy-updates restricted universe multiverse
deb http://si.archive.ubuntu.com/ubuntu/ edgy-security main restricted universe multiverse
deb-src http://si.archive.ubuntu.com/ubuntu/ edgy-security main restricted universe multiverse #Added by software-properties
deb http://si.archive.ubuntu.com/ubuntu/ edgy restricted universe multiverse
deb http://si.archive.ubuntu.com/ubuntu/ edgy
#AUTOMATIX REPOS END
in kje je ta 56ta vrstica??
deb http://archive.canonical.com/ubuntu dapper-commercial main
??
## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu
## servers. RealPlayer10, Opera, DesktopSecure and more to come.)
deb http://archive.canonical.com/ubuntu edgy-commercial main
deb http://si.archive.ubuntu.com/ubuntu/ edgy in ne vem kaj napisat naprej al pa zbrisat
tam ni psalo nič od automatixovega repozitorija!!
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
pote probam tut v terminalu
sudo apt-get update (dela )
sudo apt-get -f install (ne dela )
sudo apt-get dist-upgrade (ne dela ((()
pri zadnjih dveh uporabah mi javi error ki je že prej omenjen
KAJ PA ZDAJ??
(vraga- že tretji edit)
in potem v terminalu napišem:
erik@erik-desktop:~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of gnome-panel:
gnome-panel depends on gnome-panel-data (= 1:2.18.1-0ubuntu3.1); however:
Version of gnome-panel-data on system is 1:2.18.1-0ubuntu3.
dpkg: error processing gnome-panel (--configure):
dependency problems - leaving unconfigured
Setting up libpanel-applet2-0 (2.18.1-0ubuntu3.1) ...
Setting up update-manager-core (0.59.20) ...
dpkg: error processing gnome-panel-data (--configure):
Package is in a very bad inconsistent state - you should
reinstall it before attempting configuration.
Errors were encountered while processing:
gnome-panel
gnome-panel-data
in kaj pa zdaj----mislim kako reinstalirat??
4. EDIT
kaj naj sedaj naredim z updejterjem ko mi javi :
"
Software index is broken
It is impossible to install or remove any software. Please use the package manager "Synaptic" or run "sudo apt-get install -f" in a terminal to fix this issue at first.
"
sudo apt-get autoremove --purge gnome-panel
in nato
sudo apt-get install gnome-panel
upošteval sem tvoj nasvet samo do 1. koraka. Zakaj??
erik@erik-desktop:~$ sudo apt-get autoremove --purge gnome-panel
Password:
Branje seznama paketov... Narejeno
Gradnja drevesa odvisnosti
Reading state information... Narejeno
Poskusite zagnati 'apt-get -f install', če želite popraviti:
Naslednji paketi imajo nerešene odvisnosti:
alacarte: Odvisen od: gnome-panel vendar ne bo nameščen
automatix2: Odvisen od: python2.4 vendar ne bo nameščen
gnome-applets: Odvisen od: gnome-panel (>= 2.13.4) vendar ne bo nameščen
ubuntu-desktop: Odvisen od: gnome-panel vendar ne bo nameščen
E: Nerešene odvisnosti. Poskusite 'apt-get -f install' brez paketov (ali podajte rešitev).
erik@erik-desktop:~$
p.s. ali je treba nadaljevat??
EDIT: 2.gi korak (1+2)
erik@erik-desktop:~$ sudo apt-get autoremove --purge gnome-panel
Password:
Branje seznama paketov... Narejeno
Gradnja drevesa odvisnosti
Reading state information... Narejeno
Poskusite zagnati 'apt-get -f install', če želite popraviti:
Naslednji paketi imajo nerešene odvisnosti:
alacarte: Odvisen od: gnome-panel vendar ne bo nameščen
automatix2: Odvisen od: python2.4 vendar ne bo nameščen
gnome-applets: Odvisen od: gnome-panel (>= 2.13.4) vendar ne bo nameščen
ubuntu-desktop: Odvisen od: gnome-panel vendar ne bo nameščen
E: Nerešene odvisnosti. Poskusite 'apt-get -f install' brez paketov (ali podajte rešitev).
erik@erik-desktop:~$ sudo apt-get install gnome-panel
Branje seznama paketov... Narejeno
Gradnja drevesa odvisnosti
Reading state information... Narejeno
Najnovejša različica gnome-panel je že nameščena.
Poskusite zagnati 'apt-get -f install', če želite popraviti:
Naslednji paketi imajo nerešene odvisnosti:
automatix2: Odvisen od: python2.4 vendar ne bo nameščen
gnome-panel: Odvisen od: gnome-panel-data (= 1:2.18.1-0ubuntu3.1) vendar bo paket 1:2.18.1-0ubuntu3 nameščen
E: Nerešene odvisnosti. Poskusite 'apt-get -f install' brez paketov (ali podajte rešitev).
erik@erik-desktop:~$