Kirjoittaja Aihe: apt-get update -> Couldn't stat source package list http://archive.ubuntu.com br  (Luettu 3278 kertaa)

CP

  • Vieras
Mistä nämä repository ongelmat johtuvat  >:(? Ei mene edes apt-get update läpi monen muun softan asentamisesta puhumattakaan. Tämä on jo neljäs päivä kun yritän tätä saada toimimaan  :'(, joten täytyy kysyä josko täällä joku osaisi neuvoa.

Koodia: [Valitse]
Err http://archive.ubuntu.com breezy/main Packages
  Sub-process gzip returned an error code (1)
99% [6 Packages gzip 0]
gzip: stdin: not in gzip format
Err http://archive.ubuntu.com breezy/universe Packages
  Sub-process gzip returned an error code (1)
Fetched 6B in 46s (0B/s)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/breezy/main/binary-i386/Packages.gz  Sub-process gzip returned an error code (1)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/breezy/universe/binary-i386/Packages.gz  Sub-process gzip returned an error code (1)
Reading package lists... Done
W: Couldn't stat source package list http://archive.ubuntu.com breezy/main Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.

Sources.list
Koodia: [Valitse]
deb http://archive.ubuntu.com/ubuntu breezy main restricted
deb-src http://archive.ubuntu.com/ubuntu breezy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu breezy-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu breezy-updates main restricted

## 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://archive.ubuntu.com/ubuntu breezy universe multiverse
deb-src http://archive.ubuntu.com/ubuntu breezy universe multiverse

## Security Updates
deb http://security.ubuntu.com/ubuntu breezy-security main restricted
deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

deb http://security.ubuntu.com/ubuntu breezy-security universe multiverse
deb-src http://security.ubuntu.com/ubuntu breezy-security universe multiverse

## official backports
deb http://archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

## plf primary repo
## http 100mbit/s mirror provided thanks to OVH http://ovh.com
deb http://packages.freecontrib.org/ubuntu/plf/ breezy free non-free
deb-src http://packages.freecontrib.org/ubuntu/plf/ breezy free non-free

## plf secundairy repo. Use if primary repo is offline.
## FTP mirror from http://free.fr (french ISP)
## deb ftp://ftp.free.fr/pub/Distributions_Linux/plf/ubuntu/plf/ breezy free non-free
## deb-src ftp://ftp.free.fr/pub/Distributions_Linux/plf/ubuntu/plf/ breezy free non-free

## plf mirror. Use if primary and secundairy are offline
## deb http://public.planetmirror.com/pub/plf/ubuntu/plf/ breezy free non-free

##
## Use the following repos only if you need them.
## To use one remove the "##"  from the line that starts with "## deb".
##

## wine
## deb http://wine.sourceforge.net/apt/ binary/

## opera web browser
## deb http://deb.opera.com/opera/ etch non-free

## Oo2 final - you can optionally use this one until OOo2 final arrives in backports
## deb http://people.ubuntu.com/~doko/OOo2 ./

janne

  • Käyttäjä
  • Viestejä: 5150
    • Profiili
Mistä nämä repository ongelmat johtuvat  >:(? Ei mene edes apt-get update läpi monen muun softan asentamisesta puhumattakaan. Tämä on jo neljäs päivä kun yritän tätä saada toimimaan  :'(, joten täytyy kysyä josko täällä joku osaisi neuvoa.

olisiko ollut jotain tilapäistä vikaa repositoryissä? minulla tuo nimittäin meni ainakin ongelmitta läpi, kun kokeilin tuolla sinun soirces.listilläsi.
Janne

CP

  • Vieras
Mistä nämä repository ongelmat johtuvat  >:(? Ei mene edes apt-get update läpi monen muun softan asentamisesta puhumattakaan. Tämä on jo neljäs päivä kun yritän tätä saada toimimaan  :'(, joten täytyy kysyä josko täällä joku osaisi neuvoa.
olisiko ollut jotain tilapäistä vikaa repositoryissä? minulla tuo nimittäin meni ainakin ongelmitta läpi, kun kokeilin tuolla sinun soirces.listilläsi.

En usko, olen itse sössinyt jotain todella perusteellisesti. gzip ilmoittaa tuollaisen virheen jonka jälkeen ilmoitetaan failed to fetch. Ihmeellisintä on, että tuon kyseisen paketin kun hakee vaikkapa selaimella ja tarkastaa sen niin ei siinä ole mitään vikaa. Jotenkin epäilen, että tämä liittyy jotenkin hakemiston lukkiutumiseen tai johonkin vastaavaan. Poistin nimittäin aiemmin yhden lockin tuolta rm:llä.

gzip: stdin: not in gzip format
Err http://archive.ubuntu.com breezy/main Packages
  Sub-process gzip returned an error code (1)

Koodia: [Valitse]
$ sudo apt-get update
Password:
Get:1 http://security.ubuntu.com breezy-security Release.gpg [189B]
Hit http://security.ubuntu.com breezy-security Release
Ign http://packages.freecontrib.org breezy Release.gpg
Get:2 http://archive.ubuntu.com breezy Release.gpg [189B]
Get:3 http://archive.ubuntu.com breezy-updates Release.gpg [189B]
Ign http://packages.freecontrib.org breezy Release
Hit http://security.ubuntu.com breezy-security/main Packages
Get:4 http://archive.ubuntu.com breezy-backports Release.gpg [189B]
Hit http://archive.ubuntu.com breezy Release
Ign http://packages.freecontrib.org breezy/free Packages
Hit http://security.ubuntu.com breezy-security/restricted Packages
Hit http://security.ubuntu.com breezy-security/main Sources
Hit http://archive.ubuntu.com breezy-updates Release
Ign http://packages.freecontrib.org breezy/non-free Packages
Hit http://archive.ubuntu.com breezy-backports Release
Ign http://archive.ubuntu.com breezy/main Packages
Hit http://archive.ubuntu.com breezy/restricted Packages
Hit http://security.ubuntu.com breezy-security/restricted Sources
Hit http://security.ubuntu.com breezy-security/universe Packages
Hit http://security.ubuntu.com breezy-security/multiverse Packages
Hit http://security.ubuntu.com breezy-security/universe Sources
Hit http://security.ubuntu.com breezy-security/multiverse Sources
Ign http://packages.freecontrib.org breezy/free Sources
Ign http://packages.freecontrib.org breezy/non-free Sources
Hit http://archive.ubuntu.com breezy/main Sources
Hit http://archive.ubuntu.com breezy/restricted Sources
Ign http://archive.ubuntu.com breezy/universe Packages
Hit http://archive.ubuntu.com breezy/multiverse Packages
Hit http://archive.ubuntu.com breezy/universe Sources
Hit http://archive.ubuntu.com breezy/multiverse Sources
Hit http://packages.freecontrib.org breezy/free Packages
Hit http://archive.ubuntu.com breezy-updates/main Packages
Hit http://archive.ubuntu.com breezy-updates/restricted Packages
Hit http://archive.ubuntu.com breezy-updates/main Sources
Hit http://archive.ubuntu.com breezy-updates/restricted Sources
Hit http://packages.freecontrib.org breezy/non-free Packages
Hit http://packages.freecontrib.org breezy/free Sources
Hit http://archive.ubuntu.com breezy-backports/main Packages
Hit http://archive.ubuntu.com breezy-backports/restricted Packages
Hit http://archive.ubuntu.com breezy-backports/universe Packages
Hit http://archive.ubuntu.com breezy-backports/multiverse Packages
Get:5 http://archive.ubuntu.com breezy/main Packages [769kB]
Get:6 http://archive.ubuntu.com breezy/universe Packages [3028kB]
Hit http://packages.freecontrib.org breezy/non-free Sources
99% [5 Packages gzip 0]
gzip: stdin: not in gzip format
Err http://archive.ubuntu.com breezy/main Packages
  Sub-process gzip returned an error code (1)
99% [Working]
gzip: stdin: not in gzip format
Err http://archive.ubuntu.com breezy/universe Packages
  Sub-process gzip returned an error code (1)
Fetched 6B in 1s (5B/s)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/breezy/main/binary-i386/Packages.gz  Sub-process gzip returned an error code (1)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/breezy/universe/binary-i386/Packages.gz  Sub-process gzip returned an error code (1)
Reading package lists... Done
W: Couldn't stat source package list http://archive.ubuntu.com breezy/main Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.
$
« Viimeksi muokattu: 17.12.05 - klo:20.37 kirjoittanut CP »

janne

  • Käyttäjä
  • Viestejä: 5150
    • Profiili
En usko, olen itse sössinyt jotain todella perusteellisesti. gzip ilmoittaa tuollaisen virheen jonka jälkeen ilmoitetaan failed to fetch. Ihmeellisintä on, että tuon kyseisen paketin kun hakee vaikkapa selaimella ja tarkastaa sen niin ei siinä ole mitään vikaa. Jotenkin epäilen, että tämä liittyy jotenkin hakemiston lukkiutumiseen tai johonkin vastaavaan. Poistin nimittäin aiemmin yhden lockin tuolta rm:llä.

hmm... ehkä sinull aon sitten apt rikki. kokeile asentaa se uudestaan:
Koodia: [Valitse]
$ sudo apt-get install --reinstall apt
en ole kyllä ikinä törmännyt tuollaiseen tapaukseen, mutta pääkäyttäjän oikeuksin saa kyllä järjestelmän rikki, jos välttämättä haluaa (ja välillä vahingossakin ;) ).
Janne

CP

  • Vieras
hmm... ehkä sinull aon sitten apt rikki. kokeile asentaa se uudestaan:
Koodia: [Valitse]
$ sudo apt-get install --reinstall apt
en ole kyllä ikinä törmännyt tuollaiseen tapaukseen, mutta pääkäyttäjän oikeuksin saa kyllä järjestelmän rikki, jos välttämättä haluaa (ja välillä vahingossakin ;) ).
Tuo komento ei toiminut, mutta ei sillä väliä koska keksin viimeinkin ratkaisun. Englanninkielisiltä foorumeiltakaan en löytänyt ratkaisua, joten kirjoitin sen saman myös sinne koska muutamalla muullakin on ollut ilmeisesti sama ongelma. Ilmeisesti ongelmana oli se, että /var/lib/apt/lists -hakemistoon oli jäänyt viallinen tiedosto ja ongelman sai korjattua tyhjentämällä nuo hakemistot. Tein sen seuraavasti, oli se oikeaoppista tai ei. Nyt sain ainakin kaikki updatet sun muut menemään läpi ja sain viimeinkin myös gxinen asennettua. Yes!  ::)

cd /var/lib/apt/lists
sudo rm * -f
cd partial
sudo rm * -f
sudo apt-get update