Ubuntu Suomen keskustelualueet
Ubuntun käyttö => Ubuntu tietokoneissa => Aiheen aloitti: Dassiswas - 08.09.08 - klo:10.44
-
Mikä neuvoksi, kun Synaptics pakettienhallinta ilmoittaa seuraavaa?
Kaikkien ohjelmalähteiden hakemistoja ei voi noutaa
Ohjelmalähde on saattanut poistua käytöstä tai siihen ei saatu yhteyttä verkko-ongelmien vuoksi. Noutamatta jääneen hakemiston sijaan käytetään vanhempaa versiota, jos sellainen on saatavilla. Muussa tapauksessa kyseinen ohjelmalähde jätetään huomiotta. Tarkista verkkoyhteytesi ja varmista, että asetuksissa annettu ohjelmalähteen osoite on oikein.
Tiedoston http://security.ubuntu.com/ubuntu/dists/hardy-security/Release nouto ei onnistunut Unable to find expected entry http://fi.archive.ubuntu.com/ubuntu//binary-i386/Packages in Meta-index file (malformed Release file?)
Tiedoston http://fi.archive.ubuntu.com/ubuntu/dists/hardy/Release nouto ei onnistunut Unable to find expected entry http://fi.archive.ubuntu.com/ubuntu//source/Sources in Meta-index file (malformed Release file?)
Tämä virhe tuntuu estävän koko päivittämisen yleensäkin, koska ei moneen päivään ole löytynyt päivityksiä. aina vaan saman laatikon pökkää. Onko osoitteet väärin jossain minulla ja miten voin asian korjata?
-
En ole varma miten tätä korjattaisiin graafisesti. Joten:
Kirjoita Päätteeseen
cat /etc/apt/sources.list
ja liitä komennon tuloste tänne.
Samoin tein voit ketsoa ja kertoa, mitä virheitä antaa komento
sudo apt-get update
-
Samoin tein voit ketsoa ja kertoa, mitä virheitä antaa komento
sudo apt-get update
W: Tiedoston http://fi.archive.ubuntu.com/ubuntu/dists/hardy/Release nouto ei onnistunut Unable to find expected entry http://fi.archive.ubuntu.com/ubuntu//source/Sources in Meta-index file (malformed Release file?)
W: Tiedoston http://fi.archive.ubuntu.com/ubuntu/dists/hardy-updates/Release nouto ei onnistunut Unable to find expected entry http://fi.archive.ubuntu.com/ubuntu//binary-i386/Packages in Meta-index file (malformed Release file?)
W: Tiedoston http://security.ubuntu.com/ubuntu/dists/hardy-security/Release nouto ei onnistunut Unable to find expected entry http://fi.archive.ubuntu.com/ubuntu//binary-i386/Packages in Meta-index file (malformed Release file?)
W: Tiedoston http://fi.archive.ubuntu.com/ubuntu/dists/hardy-backports/Release nouto ei onnistunut Unable to find expected entry http://fi.archive.ubuntu.com/ubuntu//binary-i386/Packages in Meta-index file (malformed Release file?)
E: Joidenkin hakemistotiedostojen nouto ei onnistunut, ne on ohitettu tai käytetty vanhoja.
-
Kirjoita Päätteeseen
cat /etc/apt/sources.list
ja liitä komennon tuloste tänne.
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security restricted main multiverse universe #Added by software-properties
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
# deb http://ppa.launchpad.net/awn-testing/ubuntu hardy main
# deb-src http://ppa.launchpad.net/awn-testing/ubuntu hardy main
deb http://ppa.launchpad.net/abiword-stable/ubuntu hardy main
deb http://fi.archive.ubuntu.com/ubuntu/ hardy main restricted deb-src http://fi.archive.ubuntu.com/ubuntu/ hardy main restricted
deb http://security.ubuntu.com/ubuntu/ hardy-security restricted universe http://fi.archive.ubuntu.com/ubuntu/ hardy deb-src main multiverse
deb-src http://security.ubuntu.com/ubuntu/ hardy-security restricted universe http://fi.archive.ubuntu.com/ubuntu/ hardy deb-src main multiverse #Added by software-properties
deb http://fi.archive.ubuntu.com/ubuntu/ hardy-updates restricted universe http://fi.archive.ubuntu.com/ubuntu/ hardy deb-src main multiverse
deb http://fi.archive.ubuntu.com/ubuntu/ hardy-backports restricted universe http://fi.archive.ubuntu.com/ubuntu/ hardy deb-src main multiverse
deb http://fi.archive.ubuntu.com/ubuntu/ hardy main restricted
-
Ilmeisesti olet muokannut tuota filettä käsin, ainakin tulosteessasi näyttäisi olevan muutamassa kohdassa kaksi lähdettä samalla rivillä. Ja kun sitä rupesin parsimaan on siellä muutakin sotkua (sanoja ja rivinvaihtoja väärissä paikoissa).
Avaa tiedosto tarvittavilla oikeuksilla:
gksu gedit /etc/apt/sources.list
Korjaa se näyttämään tältä
deb http://security.ubuntu.com/ubuntu hardy-security main restricted multiverse universe
deb-src http://security.ubuntu.com/ubuntu hardy-security restricted main multiverse universe
deb http://fi.archive.ubuntu.com/ubuntu/ hardy main restricted multiverse universe
deb-src http://fi.archive.ubuntu.com/ubuntu/ hardy main restricted multiverse universe
# deb http://ppa.launchpad.net/awn-testing/ubuntu hardy main
# deb-src http://ppa.launchpad.net/awn-testing/ubuntu hardy main
# deb http://ppa.launchpad.net/abiword-stable/ubuntu hardy main
Tuossa on ainakin minun mielestäni ne lähteet, joita sinulla on alunperin ollut käytössä. Viimeiset kolme ovat kommentoituina eli niistä ei haeta ohjelmia.
Kerro miten kävi.
-
vielä on jtain hämminkiä: Tiedoston http://fi.archive.ubuntu.com/ubuntu/dists/hardy/Release nouto ei onnistunut Unable to find expected entry http://fi.archive.ubuntu.com/ubuntu//source/Sources in Meta-index file (malformed Release file?)
Joidenkin hakemistotiedostojen nouto ei onnistunut, ne on ohitettu tai käytetty vanhoja.
TÄllä hetkellä kyseinen tiedosto näyttää tältä:
# 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 universe multiverse
deb-src http://fi.archive.ubuntu.com/ubuntu/ hardy http://fi.archive.ubuntu.com/ubuntu/ hardy deb-src main #Added by software-properties
## Major bug fix updates produced after the final release of the
## distribution.
## 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.
## 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.
## 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.
## 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 multiverse universe
deb-src http://security.ubuntu.com/ubuntu hardy-security restricted main multiverse universe
deb http://fi.archive.ubuntu.com/ubuntu/ hardy main restricted multiverse universe
deb-src http://fi.archive.ubuntu.com/ubuntu/ hardy main restricted multiverse universe
# deb http://ppa.launchpad.net/awn-testing/ubuntu hardy main
# deb-src http://ppa.launchpad.net/awn-testing/ubuntu hardy main
# deb http://ppa.launchpad.net/abiword-stable/ubuntu hardy main
mitäs puuttuu?
-
Hei Dassiswas,
Et tainnut tehdä niin kuin pontvil sanoi.
Tiedostossasi "sources.list" on paljon ratkaisevia virheitä (vääriä rivinvaihtoja, väärin alkavia rivejä, puuttuvia merkkejä jne.)
On parasta, että korjaat koko tiedoston.
Tuossa "sources.list" -tiedostossa periaate on yksinkertainen:
- jokainen alkava rivi on merkityksellinen
- uusi komento aloittaa aina uuden rivin
- aputekstirivit (kommentit), joita ei haluta komennoiksi on aloitettava merkillä #
Edellisestä johtuen tuon "sources.list" -tiedoston jokaisen rivin tulee alkaa kirjaimilla deb,
tai sitten rivin tulee alkaa # -merkillä (kommentoitu),
taikka olla kokonaan tyhjä rivi.
Kommentteja ei tarvitse olla noin paljon kuin sinulla on.
Oikeastaan vain ensimmäisessä rivissä, jossa on asennustiedot CD:ltä.
Jos tässäkään ei ole # -merkkiä alussa, yrittää Ubuntu päivittää CD-asennuslevyltä.
Saat selkeimmän ja yksinkertaisimman ja varmasti toimivan "sources.list" -tiedoston seuraavasti:
1. Avaa päätteellä (terminal) tekstieditori:
gksudo gedit /etc/apt/sources.list
2. Poista kaikki teksti siitä tiedostosta. Siis ihan kaikki.
3. Kopio siihen tiedostoon koko seuraava teksti, ei mitään muuta.
# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted
deb http://fi.archive.ubuntu.com/ubuntu/ hardy main restricted multiverse universe
deb-src http://fi.archive.ubuntu.com/ubuntu/ hardy main restricted multiverse universe
deb http://fi.archive.ubuntu.com/ubuntu/ hardy-updates main restricted multiverse universe
deb-src http://fi.archive.ubuntu.com/ubuntu/ hardy-updates main restricted multiverse universe
deb http://security.ubuntu.com/ubuntu/ hardy-security main restricted multiverse universe
deb-src http://security.ubuntu.com/ubuntu/ hardy-security main restricted multiverse universe
deb http://fi.archive.ubuntu.com/ubuntu/ hardy-backports main restricted multiverse universe
deb-src http://fi.archive.ubuntu.com/ubuntu/ hardy-backports main restricted multiverse universe
deb http://archive.canonical.com/ubuntu/ hardy partner
deb-src http://archive.canonical.com/ubuntu/ hardy partner
4. Tallenna tiedosto.
Sulje kaikki ohjelmat. Käynnistä Ubuntu uudestaan. Nauti ja päivitä rauhassa.
T. harrykaa
-
Kiitos, danke, thank you, xie xie!