Kirjoittaja Aihe: Synaptic eikä muutkaan päivitykset toimi!!  (Luettu 1837 kertaa)

rikkeli

  • Käyttäjä
  • Viestejä: 23
    • Profiili
Synaptic eikä muutkaan päivitykset toimi!!
« : 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.

Storck

  • Vieras
Vs: Synaptic eikä muutkaan päivitykset toimi!!
« Vastaus #1 : 25.01.09 - klo:17.18 »
Kerrotko miten sen voi tehdä VAHINGOSSA?  :o

gdm

  • Sitä saa mitä tilaa...
  • Käyttäjä
  • Viestejä: 4363
    • Profiili
    • Keskustelualueiden säännöt
Vs: Synaptic eikä muutkaan päivitykset toimi!!
« Vastaus #2 : 25.01.09 - klo:17.49 »
Miltä se tiedosto nyt näyttää.


Tuossa omani, josta voit kopioida:
Koodia: [Valitse]
#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)
Lisää [Ratkaistu] aloitusviestiin jos ongelmasi selviää!
Saamasi tuki on ilmaista, joten älä vaadi tai uhkaile saadaksesi apua!

rikkeli

  • Käyttäjä
  • Viestejä: 23
    • Profiili
Vs: Synaptic eikä muutkaan päivitykset toimi!!
« Vastaus #3 : 25.01.09 - klo:18.09 »
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

rikkeli

  • Käyttäjä
  • Viestejä: 23
    • Profiili
Vs: Synaptic eikä muutkaan päivitykset toimi!!
« Vastaus #4 : 25.01.09 - klo:18.28 »
Miltä se tiedosto nyt näyttää.


Tuossa omani, josta voit kopioida:
Koodia: [Valitse]
#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 :-\

zepotus

  • Käyttäjä
  • Viestejä: 271
    • Profiili
Vs: Synaptic eikä muutkaan päivitykset toimi!!
« Vastaus #5 : 25.01.09 - klo:18.52 »
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ä).

Ubuntu 12.04 64-bit (i5-750 @ 3.8 Ghz, 4Gt, OCZ Agility 3 60Gt, 150Gt Raptor + 500 Gt + 1000 Gt, GT240 nvidia)

rikkeli

  • Käyttäjä
  • Viestejä: 23
    • Profiili
Vs: Synaptic eikä muutkaan päivitykset toimi!![RATKAISTU]
« Vastaus #6 : 25.01.09 - klo:19.04 »
Jep sehän se syy oli ;D

Kiitos erittäin paljon!!!!