Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

(Solved) Suddenly Sparky Wont Upgrade

Started by frogprince, March 27, 2014, 12:31:40 AM

Previous topic - Next topic

frogprince

Hi: I tried to upgrade Sparky today on my Dell X1, but could not do so using either apt-get or synaptic. When I click on "reload" in Synaptic, I get a series of error messages:



W: Failed to fetch http://repo.sparkylinux.org/dists/sparky/InRelease



W: Failed to fetch http://repo.sparkylinux.org/dists/sparky/Release.gpg  Could not resolve 'repo.sparkylinux.org'



W: Failed to fetch http://ftp.debian.org/debian/dists/testing/main/source/SourcesIndex  Hash Sum mismatch



W: Failed to fetch http://ftp.debian.org/debian/dists/testing/contrib/source/SourcesIndex  Hash Sum mismatch



W: Failed to fetch http://ftp.debian.org/debian/dists/testing/non-free/source/SourcesIndex  Hash Sum mismatch



W: Failed to fetch http://ftp.debian.org/debian/dists/testing/main/binary-i386/PackagesIndex  Hash Sum mismatch



W: Failed to fetch http://ftp.debian.org/debian/dists/testing/contrib/binary-i386/PackagesIndex  Hash Sum mismatch



W: Failed to fetch http://ftp.debian.org/debian/dists/testing/non-free/binary-i386/PackagesIndex  Hash Sum mismatch



W: Failed to fetch http://ftp.debian.org/debian/dists/testing/contrib/i18n/Translation-enIndex  Hash Sum mismatch



W: Failed to fetch http://ftp.debian.org/debian/dists/testing/main/i18n/Translation-enIndex  Hash Sum mismatch



W: Failed to fetch http://ftp.debian.org/debian/dists/testing/non-free/i18n/Translation-enIndex  Hash Sum mismatch



W: Some index files failed to download. They have been ignored, or old ones used instead.



Have I lost support for this version of Sparky? Or ??



Thanks in advance.


pavroo

Nothing is easy as it looks. Danielle Steel

frogprince

#2
Pavroo: thanks for your prompt reply! I followed the procedures noted above, The number of error messages is much reduced, but I still get:



W: Failed to fetch http://repo.sparkylinux.org/repo/dists/testing/InRelease



W: Failed to fetch http://repo.sparkylinux.org/repo/dists/testing/Release.gpg  Could not resolve 'repo.sparkylinux.org'



W: Some index files failed to download. They have been ignored, or old ones used instead.



Do I need yet another key, or ???




pavroo

#3
You can't download package list from http://repo.sparkylinux.org because it doesn't exist any more.

Follow the instruction http://sparkylinux.org/repository-changed/" class="bbcode_url">http://sparkylinux.org/repository-changed/ - remove the old address and add the new one.
Nothing is easy as it looks. Danielle Steel

frogprince

#4
Pavroo:



The site http://sparkylinux.org/repository-changed/  states:



"To change old repository for the new one, edit (as root) the file:



nano /etc/apt/sources.list



Remove the text from the file:



# sparky

deb http://repo.sparkylinux.org/ sparky main

#deb http://repo.sparkylinux.org/ sparky dev



Add new two lines to the file:



# sparky

deb http://sparkylinux.org/repo testing main



Download the new public key:

wget -O - http://sparkylinux.org/repo/sparkylinux.gpg.key | apt-key add -



And refresh package list:

apt-get update"



After doing so, my /etc/apt/sources.list reads:



deb http://ftp.debian.org/debian/ testing main contrib non-free

deb-src http://ftp.debian.org/debian/ testing main contrib non-free

deb http://security.debian.org/ testing/updates main contrib non-free

deb-src http://security.debian.org/ testing/updates main contrib non-free

deb http://www.deb-multimedia.org testing main non-free

# opera web browser

deb http://deb.opera.com/opera/ stable non-free

# google-chrome web browser

deb http://dl.google.com/linux/chrome/deb/ stable main

# snowlinux (e17)

# do not use it for regular updates

# deb http://packages.snowlinux.de/ glacier main import upstream

# sparky

deb http://repo.sparkylinux.org/repo testing main



When I run apt-get update, I get the error message:



W: Failed to fetch http://repo.sparkylinux.org/repo/dists/testing/InRelease



W: Failed to fetch http://repo.sparkylinux.org/repo/dists/testing/Release.gpg  Could not resolve 'repo.sparkylinux.org'



W: Some index files failed to download. They have been ignored, or old ones used instead.



Can you help me with what I'm missing? Thanks again for your time.










pavroo

#5
Change the line from:

Code:



to:

Code:



Nothing is easy as it looks. Danielle Steel

frogprince

#6
Pavroo: Well, that was a silly mistake. And it was staring me in the face all this time! After that change, I have no more errors and the system is finally up to date. Thanks for your time and patience!

View the most recent posts on the forum