Ubuntu Suomen keskustelualueet
Ubuntun käyttö => Ubuntu tietokoneissa => Aiheen aloitti: rikkeli - 25.01.09 - klo:16.49
-
Elikkä tuli vahingossa poistettua jotain tärkeitä juttuja /etc/apt/sources.list :'( ja nyt ei pelitä Synaptic eikä mikään muukaan pakkettien hallinta!
Mitenköhän sais mahdollisesti kuntoon?
Antaa tälläsen virheilmoituksen:
E: Tyyppi "" on tuntematon rivillä 1 lähdeluettelossa /etc/apt/sources.list
E: Lähdelistaa ei voi lukea.
Siirry ohjelmalähteiden hallintaikkunaan ja korjaa tilanne.
E: _cache->open() failed, please report.
-
Kerrotko miten sen voi tehdä VAHINGOSSA? :o
-
Miltä se tiedosto nyt näyttää.
Tuossa omani, josta voit kopioida:
#Muokattu sources.list
# Päivitykset
deb http://archive.ubuntu.com/ubuntu/ jaunty main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty main universe multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-updates main universe multiverse restricted
# Backports
# deb http://fi.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
# deb-src http://fi.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
# deb http://archive.canonical.com/ubuntu jaunty partner
# deb-src http://archive.canonical.com/ubuntu jaunty partner
# Turvallisuuspäivitykset
deb http://archive.ubuntu.com/ubuntu/ jaunty-security main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security main universe multiverse restricted
Vaihdat vaan "jaunty" tilalle käyttämäsi jakeluversio (hardy, intrepid)
-
Tältä se näyttää:
# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fi.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://fi.archive.ubuntu.com/ubuntu/ hardy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://fi.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://fi.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
## 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://fi.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://fi.archive.ubuntu.com/ubuntu/ hardy universe
deb http://fi.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://fi.archive.ubuntu.com/ubuntu/ hardy-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://fi.archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://fi.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://fi.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://fi.archive.ubuntu.com/ubuntu/ hardy-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://fi.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://fi.archive.ubuntu.com/ubuntu/ hardy-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 hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb-src http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse
# Avant Window Navigator
deb http://download.tuxfamily.org/syzygy42 gutsy avant-window-navigator
deb-src http://download.tuxfamily.org/syzygy42 gutsy avant-window-navigator
-
Miltä se tiedosto nyt näyttää.
Tuossa omani, josta voit kopioida:
#Muokattu sources.list
# Päivitykset
deb http://archive.ubuntu.com/ubuntu/ jaunty main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty main universe multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-updates main universe multiverse restricted
# Backports
# deb http://fi.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
# deb-src http://fi.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
# deb http://archive.canonical.com/ubuntu jaunty partner
# deb-src http://archive.canonical.com/ubuntu jaunty partner
# Turvallisuuspäivitykset
deb http://archive.ubuntu.com/ubuntu/ jaunty-security main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security main universe multiverse restricted
Vaihdat vaan "jaunty" tilalle käyttämäsi jakeluversio (hardy, intrepid)
eikä toikaan auttanu vaikka kokeilin! samaa virheilmotusta huutaa :-\
-
Arvaus:
Onko sulla eka rivillä vaan välilyönti..
Siis katso se oma sources.list tarkoin.
Deletellä pyyhit, että eka merkki on varmasti yläkulmassa vaikka tuo #
Ei siis kannata pitää tyhjää riviä (ainakaan ensimmäistä riviä).
-
Jep sehän se syy oli ;D
Kiitos erittäin paljon!!!!