apt-get update - sources.list error ?

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Spewbacca
Level 1
Level 1
Posts: 31
Joined: Mon Aug 27, 2007 5:56 pm
Location: Virginia - USA
Contact:

apt-get update - sources.list error ?

Post by Spewbacca »

Hi All

This has been an issue(?) for sometime now...

The question is why do I see this:
<snip>
Hit http://archive.ubuntu.com feisty-backports Release
Ign http://medibuntu.sos-sts.com feisty Release.gpg
Hit http://www.linuxmint.com cassandra/ Packages
Ign http://medibuntu.sos-sts.com feisty/free Translation-en_US
Ign http://medibuntu.sos-sts.com feisty/non-free Translation-en_US
Ign http://medibuntu.sos-sts.com feisty Release
Ign http://medibuntu.sos-sts.com feisty/free Packages
Ign http://medibuntu.sos-sts.com feisty/non-free Packages
Hit http://security.ubuntu.com feisty-security/main Packages
Hit http://archive.canonical.com feisty-commercial/main Packages
Err http://medibuntu.sos-sts.com feisty/free Packages
302 Found
Hit http://security.ubuntu.com feisty-security/restricted Packages
Hit http://security.ubuntu.com feisty-security/universe Packages
Hit http://security.ubuntu.com feisty-security/multiverse Packages
Err http://medibuntu.sos-sts.com feisty/non-free Packages
302 Found
Hit http://security.ubuntu.com feisty-security/main Sources
<snip>
Failed to fetch http://medibuntu.sos-sts.com/repo/dists ... ackages.gz 302 Found
Failed to fetch http://medibuntu.sos-sts.com/repo/dists ... ackages.gz 302 Found
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.
root@Cassandra-Full:/home/spew#

...after running apt-get update ?
Even better, how should I fix it??

Thx in advance,
--Spewy
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Spewbacca
Level 1
Level 1
Posts: 31
Joined: Mon Aug 27, 2007 5:56 pm
Location: Virginia - USA
Contact:

Re: apt-get update - sources.list error ?

Post by Spewbacca »

Sorry for the bad form by posting a reply to ones original post :?
but having done more research today I have additional detail to add.

New troubles:(Full Details Below)
Is it now likely the key is at issue here? (http://www.linuxmint.com/repository/cas ... elease.gpg )

or is something missing from:
root@Cassandra-Full:~# ls /etc/apt/sources.list.d/
medibuntu.list

After reading here: https://help.ubuntu.com/community/Medibuntu
Perhaps in haste, I tried the following:

Chose matching distro version
# Ubuntu 7.04 "Feisty Fawn"
Then:
chuck@Cassandra-Full:~$ sudo su root
root@Cassandra-Full:~# wget
http://www.medibuntu.org/sources.list.d/feisty.list -O
/etc/apt/sources.list.d/medibuntu.list
--16:11:55-- http://www.medibuntu.org/sources.list.d/feisty.list
=> `/etc/apt/sources.list.d/medibuntu.list'
Resolving http://www.medibuntu.org... 87.98.242.10
Connecting to http://www.medibuntu.org|87.98.242.10|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 224 [text/plain]

100%[================================>] 224 --.--K/s

16:11:55 (5.17 MB/s) - `/etc/apt/sources.list.d/medibuntu.list' saved
[224/224]

Next step was to add the GPG Key:
root@Cassandra-Full:~# wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update
OK
Get:1 http://packages.medibuntu.org feisty Release.gpg [189B]
Ign http://packages.medibuntu.org feisty/free Translation-en_US
Get:2 http://security.ubuntu.com feisty-security Release.gpg [191B]
Ign http://security.ubuntu.com feisty-security/main Translation-en_US
Get:3 http://archive.canonical.com feisty-commercial Release.gpg [191B]
Ign http://archive.canonical.com feisty-commercial/main Translation-en_US
Get:4 http://archive.ubuntu.com feisty Release.gpg [191B]
Ign http://archive.ubuntu.com feisty/main Translation-en_US
Ign http://packages.medibuntu.org feisty/non-free Translation-en_US
Hit http://packages.medibuntu.org feisty Release
Ign http://archive.ubuntu.com feisty/restricted Translation-en_US
Ign http://archive.ubuntu.com feisty/universe Translation-en_US
Ign http://archive.ubuntu.com feisty/multiverse Translation-en_US
Get:5 http://archive.ubuntu.com feisty-proposed Release.gpg [191B]
Ign http://archive.ubuntu.com feisty-proposed/main Translation-en_US
Ign http://archive.ubuntu.com feisty-proposed/restricted Translation-en_US
Ign http://archive.ubuntu.com feisty-proposed/universe Translation-en_US
Ign http://archive.ubuntu.com feisty-proposed/multiverse Translation-en_US
Get:6 http://archive.ubuntu.com feisty-updates Release.gpg [191B]
Ign http://archive.ubuntu.com feisty-updates/main Translation-en_US
Ign http://security.ubuntu.com feisty-security/restricted Translation-en_US
Ign http://security.ubuntu.com feisty-security/universe Translation-en_US
Ign http://security.ubuntu.com feisty-security/multiverse Translation-en_US
Hit http://security.ubuntu.com feisty-security Release
Get:7 http://archive.canonical.com feisty-commercial Release [5999B]
Ign http://archive.ubuntu.com feisty-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com feisty-updates/universe Translation-en_US
Ign http://archive.ubuntu.com feisty-updates/multiverse Translation-en_US
Hit http://security.ubuntu.com feisty-security/main Packages
Ign http://packages.medibuntu.org feisty/free Packages
Get:8 http://archive.ubuntu.com feisty-backports Release.gpg [191B]
Ign http://archive.ubuntu.com feisty-backports/main Translation-en_US
Ign http://archive.ubuntu.com feisty-backports/restricted Translation-en_US
Ign http://archive.ubuntu.com feisty-backports/universe Translation-en_US
Ign http://archive.ubuntu.com feisty-backports/multiverse Translation-en_US
Hit http://archive.ubuntu.com feisty Release
Hit http://archive.ubuntu.com feisty-proposed Release
Hit http://archive.ubuntu.com feisty-updates Release
Hit http://archive.canonical.com feisty-commercial/main Packages
Hit http://security.ubuntu.com feisty-security/restricted Packages
Hit http://security.ubuntu.com feisty-security/universe Packages
Hit http://security.ubuntu.com feisty-security/multiverse Packages
Ign http://packages.medibuntu.org feisty/non-free Packages
Hit http://archive.ubuntu.com feisty-backports Release
Hit http://security.ubuntu.com feisty-security/main Sources
Hit http://security.ubuntu.com feisty-security/restricted Sources
Hit http://security.ubuntu.com feisty-security/universe Sources
Hit http://security.ubuntu.com feisty-security/multiverse Sources
Hit http://packages.medibuntu.org feisty/free Packages
Hit http://packages.medibuntu.org feisty/non-free Packages
Hit http://archive.ubuntu.com feisty/main Packages
Hit http://archive.ubuntu.com feisty/restricted Packages
Hit http://archive.ubuntu.com feisty/universe Packages
Hit http://archive.ubuntu.com feisty/multiverse Packages
Hit http://archive.ubuntu.com feisty/main Sources
Hit http://archive.ubuntu.com feisty/restricted Sources
Hit http://archive.ubuntu.com feisty/universe Sources
Hit http://archive.ubuntu.com feisty/multiverse Sources
Hit http://archive.ubuntu.com feisty-proposed/main Packages
Hit http://archive.ubuntu.com feisty-proposed/restricted Packages
Hit http://archive.ubuntu.com feisty-proposed/universe Packages
Hit http://archive.ubuntu.com feisty-proposed/multiverse Packages
Hit http://archive.ubuntu.com feisty-updates/main Packages
Hit http://archive.ubuntu.com feisty-updates/restricted Packages
Hit http://archive.ubuntu.com feisty-updates/universe Packages
Hit http://archive.ubuntu.com feisty-updates/multiverse Packages
Hit http://archive.ubuntu.com feisty-updates/main Sources
Hit http://archive.ubuntu.com feisty-updates/restricted Sources
Hit http://archive.ubuntu.com feisty-updates/universe Sources
Hit http://archive.ubuntu.com feisty-updates/multiverse Sources
Hit http://archive.ubuntu.com feisty-backports/main Packages
Hit http://archive.ubuntu.com feisty-backports/restricted Packages
Hit http://archive.ubuntu.com feisty-backports/universe Packages
Hit http://archive.ubuntu.com feisty-backports/multiverse Packages
Hit http://archive.ubuntu.com feisty-backports/main Sources
Hit http://archive.ubuntu.com feisty-backports/restricted Sources
Hit http://archive.ubuntu.com feisty-backports/universe Sources
Hit http://archive.ubuntu.com feisty-backports/multiverse Sources
Err http://www.linuxmint.com cassandra/ Release.gpg
Could not connect to http://www.linuxmint.com:80 (85.25.140.189), connection timed out
Err http://www.linuxmint.com cassandra/ Translation-en_US
Could not connect to http://www.linuxmint.com:80 (85.25.140.189), connection timed out
Fetched 7334B in 4m0s (31B/s)
Failed to fetch http://www.linuxmint.com/repository/cas ... elease.gpg Could not connect to http://www.linuxmint.com:80 (85.25.140.189), connection timed out
Failed to fetch http://www.linuxmint.com/repository/cassandra/en_US.bz2 Could not connect to http://www.linuxmint.com:80 (85.25.140.189), connection timed out
Reading package lists... Done
W: Some index files failed to download, they have been ignored, or old ones used instead.

Is it now likely the key is at issue here? (http://www.linuxmint.com/repository/cas ... elease.gpg )

or is something missing from:
root@Cassandra-Full:~# ls /etc/apt/sources.list.d/
medibuntu.list

root@Cassandra-Full:~# cat /etc/apt/sources.list
## UBUNTU REPOSITORIES
## -------------------
##
## Feisty (Ubuntu 7.04)
deb http://archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
##
## Proposed Updates
deb http://archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse
##
## Bug Fixes
deb http://archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
##
## Security Updates
deb http://security.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
##
## Backports
deb http://archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse

## LINUX MINT REPOSITORIES
## -----------------------
##
## Cassandra (Linux Mint 3.0)
deb http://www.linuxmint.com/repository cassandra/
##
## Romeo (Linux Mint Unstable)
## deb http://www.linuxmint.com/repository romeo/

## OTHER REPOSITORIES
## ------------------
##
## Canonical (RealPlayer10, Opera, DesktopSecure etc...)
deb http://archive.canonical.com/ubuntu feisty-commercial main
##
## Medibuntu (Codecs and extra applications)
## deb http://medibuntu.sos-sts.com/repo/ feisty free non-free
##
## Last.FM .deb apt repository
## deb http://apt.last.fm/ debian stable
root@Cassandra-Full:~# ls -axl /etc/apt/total 96
drwxr-xr-x 4 root root 4096 2008-03-05 16:11 .
drwxr-xr-x 123 root root 12288 2008-03-05 14:38 ..
drwxr-xr-x 2 root root 4096 2007-08-23 15:28 apt.conf.d
-rw------- 1 root root 0 2006-10-25 09:27 secring.gpg
-rw-r--r-- 1 root root 1568 2008-03-05 16:11 sources.list
-rw-r--r-- 1 root root 1565 2008-03-05 15:11 sources.list~
drwxr-xr-x 2 root root 4096 2008-02-11 14:43 sources.list.d
-rw-r--r-- 1 root root 783 2006-11-11 13:15 sources.list.orig
-rw------- 1 root root 1200 2006-11-12 12:28 trustdb.gpg
-rw-r--r-- 1 root root 26647 2008-03-05 14:46 trusted.gpg
-rw-r--r-- 1 root root 25478 2008-02-11 14:43 trusted.gpg~
root@Cassandra-Full:~# cat /etc/apt/sources.list.orig
deb http://archive.ubuntu.com/ubuntu/ edgy main
deb http://security.ubuntu.com/ubuntu edgy-security main restricted
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted
deb http://archive.ubuntu.com/ubuntu/ edgy restricted
deb http://archive.ubuntu.com/ubuntu/ edgy universe
deb http://security.ubuntu.com/ubuntu edgy-security universe
deb-src http://security.ubuntu.com/ubuntu edgy-security universe
deb http://archive.ubuntu.com/ubuntu/ edgy multiverse
deb http://us.archive.ubuntu.com/ubuntu/ edgy-updates main restricted
deb http://packages.freecontrib.org/plf edgy-plf free non-free
deb-src http://packages.freecontrib.org/plf edgy-plf free non-free
deb http://archive.canonical.com/ubuntu edgy-commercial main
root@Cassandra-Full:~#

What's with all the 'edgy' references in /etc/apt/sources.list.orig ?

Thx for reading,
--Spewy
McLovin

Re: apt-get update - sources.list error ?

Post by McLovin »

did you add the Edgy repos? I can't think of any other reason they would be there. look at the lines that are giving you errors. try commenting them out and then try to update again. it looks like its the Feisty repos giving you the issues. All I can think of is to either, comment them out and try gain, or try to go to those site directly and see if they are there. Also make sure the entries are correct in the sources.list file, sometimes if you don't have a "/" in the proper place it will give issues.
Spewbacca
Level 1
Level 1
Posts: 31
Joined: Mon Aug 27, 2007 5:56 pm
Location: Virginia - USA
Contact:

Re: apt-get update - sources.list error ? - SOLVED

Post by Spewbacca »

> did you add the Edgy repos? I can't think of any other reason they would be there.
Nope, I didn't added the edgy repos. I believe they were included with the initial install(23AUG2007) from CD??
root@Cassandra-Full:~# ls -axl /etc/apt/total 96
drwxr-xr-x 4 root root 4096 2008-03-05 16:11 .
drwxr-xr-x 123 root root 12288 2008-03-05 14:38 ..
drwxr-xr-x 2 root root 4096 2007-08-23 15:28 apt.conf.d
-rw------- 1 root root 0 2006-10-25 09:27 secring.gpg
-rw-r--r-- 1 root root 1568 2008-03-05 16:11 sources.list
-rw-r--r-- 1 root root 1565 2008-03-05 15:11 sources.list~
drwxr-xr-x 2 root root 4096 2008-02-11 14:43 sources.list.d
-rw-r--r-- 1 root root 783 2006-11-11 13:15 sources.list.orig
The date stamp for "sources.list.orig" is long before my install.
> it looks like its the Feisty repos giving you the issues.
Actually it was the ## Cassandra (Linux Mint 3.0) repository
http://www.linuxmint.com/repository cassandra/

The trouble reported yesterday...
******************************************************************************************************
Err http://www.linuxmint.com cassandra/ Release.gpg
Could not connect to http://www.linuxmint.com:80 (85.25.140.189), connection timed out
Err http://www.linuxmint.com cassandra/ Translation-en_US
Could not connect to http://www.linuxmint.com:80 (85.25.140.189), connection timed out
Fetched 7334B in 4m0s (31B/s)
Failed to fetch http://www.linuxmint.com/repository/cas ... elease.gpg Could not connect to http://www.linuxmint.com:80 (85.25.140.189), connection timed out
Failed to fetch http://www.linuxmint.com/repository/cassandra/en_US.bz2 Could not connect to http://www.linuxmint.com:80 (85.25.140.189), connection timed out
Reading package lists... Done
W: Some index files failed to download, they have been ignored, or old ones used instead.
**********************************************************************************************************
Even though I could resolve/browse http://www.linuxmint.com,
http://www.linuxmint.com/fourm/, and http://www.linuxmint.com/wiki/ the repos weren't responding.
it seems to simply have been the linux mint repos were not available, perhaps they were temporarily off line?

This morning, the results were without error. Yeah!

root@Cassandra-Full:~# apt-get update
Get:1 http://packages.medibuntu.org feisty Release.gpg [189B]
Ign http://packages.medibuntu.org feisty/free Translation-en_US
Ign http://www.linuxmint.com cassandra/ Release.gpg
Ign http://www.linuxmint.com cassandra/ Translation-en_US
Ign http://packages.medibuntu.org feisty/non-free Translation-en_US
Hit http://packages.medibuntu.org feisty Release
Get:2 http://archive.ubuntu.com feisty Release.gpg [191B]
Ign http://archive.ubuntu.com feisty/main Translation-en_US
Get:3 http://security.ubuntu.com feisty-security Release.gpg [191B]
Ign http://security.ubuntu.com feisty-security/main Translation-en_US
Ign http://www.linuxmint.com cassandra/ Release
Get:4 http://archive.canonical.com feisty-commercial Release.gpg [191B]
Ign http://archive.canonical.com feisty-commercial/main Translation-en_US
Ign http://security.ubuntu.com feisty-security/restricted Translation-en_US
Ign http://security.ubuntu.com feisty-security/universe Translation-en_US
Ign http://security.ubuntu.com feisty-security/multiverse Translation-en_US
Ign http://archive.ubuntu.com feisty/restricted Translation-en_US
Ign http://archive.ubuntu.com feisty/universe Translation-en_US
Ign http://archive.ubuntu.com feisty/multiverse Translation-en_US
Get:5 http://archive.ubuntu.com feisty-proposed Release.gpg [191B]
Ign http://archive.ubuntu.com feisty-proposed/main Translation-en_US
Ign http://archive.ubuntu.com feisty-proposed/restricted Translation-en_US
Ign http://www.linuxmint.com cassandra/ Packages
Get:6 http://archive.canonical.com feisty-commercial Release [5999B]
Ign http://archive.ubuntu.com feisty-proposed/universe Translation-en_US
Ign http://archive.ubuntu.com feisty-proposed/multiverse Translation-en_US
Get:7 http://archive.ubuntu.com feisty-updates Release.gpg [191B]
Ign http://archive.ubuntu.com feisty-updates/main Translation-en_US
Hit http://www.linuxmint.com cassandra/ Packages
Ign http://archive.ubuntu.com feisty-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com feisty-updates/universe Translation-en_US
Ign http://archive.ubuntu.com feisty-updates/multiverse Translation-en_US
Get:8 http://archive.ubuntu.com feisty-backports Release.gpg [191B]
Ign http://archive.ubuntu.com feisty-backports/main Translation-en_US
Ign http://archive.ubuntu.com feisty-backports/restricted Translation-en_US
Ign http://archive.ubuntu.com feisty-backports/universe Translation-en_US
Ign http://archive.ubuntu.com feisty-backports/multiverse Translation-en_US
Hit http://archive.ubuntu.com feisty Release
Get:9 http://archive.ubuntu.com feisty-proposed Release [36.5kB]
Hit http://archive.ubuntu.com feisty-updates Release
Hit http://archive.ubuntu.com feisty-backports Release
Ign http://packages.medibuntu.org feisty/free Packages
Hit http://archive.canonical.com feisty-commercial/main Packages
Ign http://packages.medibuntu.org feisty/non-free Packages
Hit http://archive.ubuntu.com feisty/main Packages
Hit http://packages.medibuntu.org feisty/free Packages
Hit http://archive.ubuntu.com feisty/restricted Packages
Hit http://archive.ubuntu.com feisty/universe Packages
Hit http://archive.ubuntu.com feisty/multiverse Packages
Hit http://archive.ubuntu.com feisty/main Sources
Hit http://archive.ubuntu.com feisty/restricted Sources
Hit http://archive.ubuntu.com feisty/universe Sources
Hit http://archive.ubuntu.com feisty/multiverse Sources
Hit http://packages.medibuntu.org feisty/non-free Packages
Get:10 http://security.ubuntu.com feisty-security Release [50.9kB]
Get:11 http://archive.ubuntu.com feisty-proposed/main Packages [657B]
Get:12 http://security.ubuntu.com feisty-security/main Packages [115kB]
Get:13 http://security.ubuntu.com feisty-security/restricted Packages [6341B]
Get:14 http://security.ubuntu.com feisty-security/universe Packages [71.1kB]
Get:15 http://security.ubuntu.com feisty-security/multiverse Packages [6092B]
Get:16 http://security.ubuntu.com feisty-security/main Sources [21.1kB]
Get:17 http://security.ubuntu.com feisty-security/restricted Sources [956B]
Get:18 http://security.ubuntu.com feisty-security/universe Sources [10.3kB]
Get:19 http://security.ubuntu.com feisty-security/multiverse Sources [1056B]
Get:20 http://archive.ubuntu.com feisty-proposed/restricted Packages [14B]
Get:21 http://archive.ubuntu.com feisty-proposed/universe Packages [1491B]
Get:22 http://archive.ubuntu.com feisty-proposed/multiverse Packages [14B]
Hit http://archive.ubuntu.com feisty-updates/main Packages
Hit http://archive.ubuntu.com feisty-updates/restricted Packages
Hit http://archive.ubuntu.com feisty-updates/universe Packages
Hit http://archive.ubuntu.com feisty-updates/multiverse Packages
Hit http://archive.ubuntu.com feisty-updates/main Sources
Hit http://archive.ubuntu.com feisty-updates/restricted Sources
Hit http://archive.ubuntu.com feisty-updates/universe Sources
Hit http://archive.ubuntu.com feisty-updates/multiverse Sources
Hit http://archive.ubuntu.com feisty-backports/main Packages
Hit http://archive.ubuntu.com feisty-backports/restricted Packages
Hit http://archive.ubuntu.com feisty-backports/universe Packages
Hit http://archive.ubuntu.com feisty-backports/multiverse Packages
Hit http://archive.ubuntu.com feisty-backports/main Sources
Hit http://archive.ubuntu.com feisty-backports/restricted Sources
Hit http://archive.ubuntu.com feisty-backports/universe Sources
Hit http://archive.ubuntu.com feisty-backports/multiverse Sources
Fetched 329kB in 4s (77.2kB/s)
Reading package lists... Done
root@Cassandra-Full:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
tzdata
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 316kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com feisty-proposed/main tzdata 2007k-0ubuntu0.7.04.1 [316kB]
Fetched 316kB in 1s (193kB/s)
(Reading database ... 93125 files and directories currently installed.)
Preparing to replace tzdata 2007k-0ubuntu0.7.04 (using .../tzdata_2007k-0ubuntu0.7.04.1_all.deb) ...
Unpacking replacement tzdata ...
Setting up tzdata (2007k-0ubuntu0.7.04.1) ...
Current default timezone: 'America/New_York'.
Local time is now: Thu Mar 6 08:47:31 EST 2008.
Universal Time is now: Thu Mar 6 13:47:31 UTC 2008.
Run 'tzconfig' if you wish to change it.

root@Cassandra-Full:~#

So... all's well, that ends well.
Case closed!

Thx!
--Spewy
Locked

Return to “Software & Applications”