I get a 404 web error when I do atp-get pdate with the medibuntu repo enabled

Asked by dave67

I wanted to add the medibuntu repo and the key as i have in the other pc and I get the 404 page error and I am using dapper
I needed the w32codecs so i can have mp3 support in banshee

Question information

Language:
English Edit question
Status:
Solved
For:
Medibuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Hanusz leszek
Solved:
Last query:
Last reply:
Revision history for this message
dave67 (davewilliams67) said :
#1

well I added them right now the repo is commented out

Revision history for this message
Hanusz leszek (leszek-skynet) said :
#2

Hello,

What is the content of the /etc/apt/sources.list file ?

Please type this command in a terminal and report the result here:
cat /etc/apt/sources.list

Revision history for this message
dave67 (davewilliams67) said :
#3

ok I tied again and here is the result

Ign http://medibuntu.sos-sts.com dapper/free Sources
Ign http://medibuntu.sos-sts.com dapper/non-free Sources
Err http://medibuntu.sos-sts.com dapper/free Sources
  404 Not Found [IP: 88.191.42.241 80]
Err http://medibuntu.sos-sts.com dapper/non-free Sources
  404 Not Found [IP: 88.191.42.241 80]
Fetched 5B in 3s (1B/s)
Failed to fetch http://medibuntu.sos-sts.com/dists/dapper/free/source/Sources.gz 404 Not Found [IP: 88.191.42.241 80]
Failed to fetch http://medibuntu.sos-sts.com/dists/dapper/non-free/source/Sources.gz 404 Not Found [IP: 88.191.42.241 80]
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.

Revision history for this message
dave67 (davewilliams67) said :
#4

here you go

main@PC3:~$ cat /etc/apt/sources.list

deb-src http://us.archive.ubuntu.com/ubuntu/ dapper main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-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/ dapper universe main restricted multiversedeb-src http://us.archive.ubuntu.com/ubuntu/ dapper universe

## 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://us.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu dapper-security main restricted
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
deb http://security.ubuntu.com/ubuntu dapper-security universe multiverse
deb-src http://security.ubuntu.com/ubuntu dapper-security universe
deb-src http://medibuntu.sos-sts.com dapper free non-fre

Revision history for this message
dave67 (davewilliams67) said :
#5

oh yes the non-free is all there i cliped it when I Pasted the list sorry

Revision history for this message
Hanusz leszek (leszek-skynet) said :
#6

type "gksudo gedit /etc/apt/sources.list" in a terminal
remove the last line and save the file.

then paste this in a terminal:
sudo wget http://medibuntu.sos-sts.com/sources.list.d/dapper.list -O /etc/apt/sources.list.d/medibuntu.list

Revision history for this message
dave67 (davewilliams67) said :
#7

I will try this but to let you klnow I have tried this before with the wget and most of the time it will not work I had to save the key page the last time I did this and import it.

Revision history for this message
dave67 (davewilliams67) said :
#8

Ok i did this command here is the result what did this do so i can learn from this? I did do the apt-get update and it updated even medibuntu with no errors

main@PC3:~$ sudo wget http://medibuntu.sos-sts.com/sources.list.d/dapper.list -O /etc/apt/sources.list.d/medibuntu.list
--12:14:41-- http://medibuntu.sos-sts.com/sources.list.d/dapper.list
           => `/etc/apt/sources.list.d/medibuntu.list'
Resolving medibuntu.sos-sts.com... 88.191.42.241, 88.191.13.100, 88.191.26.58, . ..
Connecting to medibuntu.sos-sts.com|88.191.42.241|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 238 [text/plain]

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

12:14:43 (6.13 MB/s) - `/etc/apt/sources.list.d/medibuntu.list' saved [238/238]

Revision history for this message
Lionel Le Folgoc (mrpouit) said :
#9

You did nothing special. Sometimes, one of our mirrors fails (404 or 403 errors), and the only thing to do is waiting, or retrying and hopefully you'll hit a non-broken mirror. ;)

Revision history for this message
Lionel Le Folgoc (mrpouit) said :
#10

Oh, sorry! This is not your issue.

In the sources.list pasted in the 4th post, there was a missing "repo/" in the url:

deb http://medibuntu.sos-sts.com dapper free non-fre
deb-src http://medibuntu.sos-sts.com dapper free non-fre

should be

deb-src http://medibuntu.sos-sts.com/repo dapper free non-free
deb-src http://medibuntu.sos-sts.com/repo dapper free non-free

Anyway, the command you entered (sudo wget http://medibuntu.sos-sts.com/sources.list.d/dapper.list -O /etc/apt/sources.list.d/medibuntu.list) will download an extra sources.list file for medibuntu.

Revision history for this message
Best Hanusz leszek (leszek-skynet) said :
#11

Don't listen to Lionel, Your message mean that the medibuntu.list file was saved correctly and now you can install packages from the medibuntu repository after the package list is updated.

Revision history for this message
dave67 (davewilliams67) said :
#12

Thanks Hanusz leszek, that solved my question.