Hallo,
geen zin in INTRO? skip naar PROBLEEM
INTRO
Ik ben vandaag overgegaan van windows server 2k8r2 naar ubuntu 10.10 server editie(ik gebruik mijn server voornamelijk als homeserver). Ik ben nog een onwijze noob met linux, maar wil het toch erg graag leren.
Om het iig een beetje te leren heb ik op een oude computer ubuntu geknald. De afgelopen week heb ik flink gestoeid met zowel 10.10 server als desktop versie. Nadat het me gelukt was alle diensten te installeren op ubuntu 10.10 server durfde ik het wel aan. Windows eraf geplempt en ubuntu server 10.10 erop! Want tja, alles werkte op de testbak dus waarom niet?!
Enige verschil bij het instellen van de testbak en mn server is dat ik op de testbak nooit de command "apt-get update && upgrade" heb uitgevoerd, echter alleen apt-get update. Dus toen ik dat (ergens gelezen op internet dat dat kon -.-) op mn server deed ging die allemaal enge dingen doen die ik op de testbak nog niet had gezien!
Hij ging allemaal enge dingen doen met kernel en progamma's die ik al had geinstalleerd. Het was me duidelijk dat je op deze manier de update/upgrade functie uitvoert zoals je die hebt op de desktop versie "updates installeren".
nadat alles klaar was ben ik verder gegaan met installeren (ik had openssh-server, java, python properties tomcat6 dus al geinstalleerd voordat ik update/upgrade command uitvoerde).
Ik heb toen mysql en vsftpd geinstalleerd volgens mij, hier geen problemen tegen gekomen. Ik zal hierna wel iets vaags hebben gedaan want nu komt het.
PROBLEEM
(rootsessie)
De command apt-get update werkt niet meer, hij geeft het volgende als ik apt-get update uitvoer:
deb http://security.ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted
deb http://security.ubuntu.com/ubuntu maverick-security universe
deb-src http://security.ubuntu.com/ubuntu maverick-security universe
deb http://security.ubuntu.com/ubuntu maverick-security multiverse
deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse
root@blaat:/home/gambit# sudo apt-get update
Ign http://ppa.launchpad.net maverick Release.gpg
Ign http://security.ubuntu.com maverick-security Release.gpg
Ign http://ppa.launchpad.net/...ty-team/sun-java6/ubuntu/ maverick/main Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/main Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/main Translation-en_US
Ign http://ppa.launchpad.net/...ty-team/sun-java6/ubuntu/ maverick/main Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en
Ign http://ppa.launchpad.net maverick Release
Ign http://security.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en
Ign http://ppa.launchpad.net maverick/main Sources/DiffIndex
Ign http://security.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en_US
Ign http://ppa.launchpad.net maverick/main amd64 Packages/DiffIndex
Ign http://security.ubuntu.com/ubuntu/ maverick-security/universe Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/universe Translation-en_US
Ign http://ppa.launchpad.net maverick/main Sources
Ign http://security.ubuntu.com maverick-security Release
Ign http://ppa.launchpad.net maverick/main amd64 Packages
Ign http://security.ubuntu.com maverick-security/main Sources/DiffIndex
Err http://ppa.launchpad.net maverick/main Sources
404 Not Found
Err http://ppa.launchpad.net maverick/main amd64 Packages
404 Not Found
Ign http://security.ubuntu.com maverick-security/restricted Sources/DiffIndex
Ign http://security.ubuntu.com maverick-security/universe Sources/DiffIndex
Ign http://security.ubuntu.com maverick-security/multiverse Sources/DiffIndex
Ign http://security.ubuntu.com maverick-security/main amd64 Packages/DiffIndex
Ign http://security.ubuntu.com maverick-security/restricted amd64 Packages/DiffIndex
Ign http://security.ubuntu.com maverick-security/universe amd64 Packages/DiffIndex
Ign http://security.ubuntu.com maverick-security/multiverse amd64 Packages/DiffIndex
Ign http://security.ubuntu.com maverick-security/main Sources
Ign http://nl.archive.ubuntu.com maverick Release.gpg
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick/main Translation-en_US
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en_US
Ign http://security.ubuntu.com maverick-security/restricted Sources
Ign http://security.ubuntu.com maverick-security/universe Sources
Ign http://security.ubuntu.com maverick-security/multiverse Sources
Ign http://security.ubuntu.com maverick-security/main amd64 Packages
Ign http://security.ubuntu.com maverick-security/restricted amd64 Packages
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en
Ign http://security.ubuntu.com maverick-security/universe amd64 Packages
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en_US
Ign http://security.ubuntu.com maverick-security/multiverse amd64 Packages
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick/universe Translation-en_US
Ign http://nl.archive.ubuntu.com maverick-updates Release.gpg
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en
Err http://security.ubuntu.com maverick-security/main Sources
404 Not Found [IP: 91.189.88.37 80]
Err http://security.ubuntu.com maverick-security/restricted Sources
404 Not Found [IP: 91.189.88.37 80]
Err http://security.ubuntu.com maverick-security/universe Sources
404 Not Found [IP: 91.189.88.37 80]
Err http://security.ubuntu.com maverick-security/multiverse Sources
404 Not Found [IP: 91.189.88.37 80]
Err http://security.ubuntu.com maverick-security/main amd64 Packages
404 Not Found [IP: 91.189.88.37 80]
Err http://security.ubuntu.com maverick-security/restricted amd64 Packages
404 Not Found [IP: 91.189.88.37 80]
Err http://security.ubuntu.com maverick-security/universe amd64 Packages
404 Not Found [IP: 91.189.88.37 80]
Err http://security.ubuntu.com maverick-security/multiverse amd64 Packages
404 Not Found [IP: 91.189.88.37 80]
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en_US
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en_US
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en_US
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en_US
Ign http://nl.archive.ubuntu.com maverick Release
Ign http://nl.archive.ubuntu.com maverick-updates Release
Ign http://nl.archive.ubuntu.com maverick/main Sources/DiffIndex
Ign http://nl.archive.ubuntu.com maverick/restricted Sources/DiffIndex
Ign http://nl.archive.ubuntu.com maverick/universe Sources/DiffIndex
Ign http://nl.archive.ubuntu.com maverick/multiverse Sources/DiffIndex
Ign http://nl.archive.ubuntu.com maverick/main amd64 Packages/DiffIndex
Ign http://nl.archive.ubuntu.com maverick/restricted amd64 Packages/DiffIndex
Ign http://nl.archive.ubuntu.com maverick/universe amd64 Packages/DiffIndex
Ign http://nl.archive.ubuntu.com maverick/multiverse amd64 Packages/DiffIndex
Ign http://nl.archive.ubuntu.com maverick-updates/main Sources/DiffIndex
Ign http://nl.archive.ubuntu.com maverick-updates/restricted Sources/DiffIndex
Ign http://nl.archive.ubuntu.com maverick-updates/universe Sources/DiffIndex
Ign http://nl.archive.ubuntu.com maverick-updates/multiverse Sources/DiffIndex
Ign http://nl.archive.ubuntu.com maverick-updates/main amd64 Packages/DiffIndex
Ign http://nl.archive.ubuntu.com maverick-updates/restricted amd64 Packages/DiffIndex
Ign http://nl.archive.ubuntu.com maverick-updates/universe amd64 Packages/DiffIndex
Ign http://nl.archive.ubuntu.com maverick-updates/multiverse amd64 Packages/DiffIndex
Ign http://nl.archive.ubuntu.com maverick/main Sources
Ign http://nl.archive.ubuntu.com maverick/restricted Sources
Ign http://nl.archive.ubuntu.com maverick/universe Sources
Ign http://nl.archive.ubuntu.com maverick/multiverse Sources
Ign http://nl.archive.ubuntu.com maverick/main amd64 Packages
Ign http://nl.archive.ubuntu.com maverick/restricted amd64 Packages
Ign http://nl.archive.ubuntu.com maverick/universe amd64 Packages
Ign http://nl.archive.ubuntu.com maverick/multiverse amd64 Packages
Ign http://nl.archive.ubuntu.com maverick-updates/main Sources
Ign http://nl.archive.ubuntu.com maverick-updates/restricted Sources
Ign http://nl.archive.ubuntu.com maverick-updates/universe Sources
Ign http://nl.archive.ubuntu.com maverick-updates/multiverse Sources
Ign http://nl.archive.ubuntu.com maverick-updates/main amd64 Packages
Ign http://nl.archive.ubuntu.com maverick-updates/restricted amd64 Packages
Ign http://nl.archive.ubuntu.com maverick-updates/universe amd64 Packages
Ign http://nl.archive.ubuntu.com maverick-updates/multiverse amd64 Packages
Err http://nl.archive.ubuntu.com maverick/main Sources
404 Not Found
Err http://nl.archive.ubuntu.com maverick/restricted Sources
404 Not Found
Err http://nl.archive.ubuntu.com maverick/universe Sources
404 Not Found
Err http://nl.archive.ubuntu.com maverick/multiverse Sources
404 Not Found
Err http://nl.archive.ubuntu.com maverick/main amd64 Packages
404 Not Found
Err http://nl.archive.ubuntu.com maverick/restricted amd64 Packages
404 Not Found
Err http://nl.archive.ubuntu.com maverick/universe amd64 Packages
404 Not Found
Err http://nl.archive.ubuntu.com maverick/multiverse amd64 Packages
404 Not Found
Err http://nl.archive.ubuntu.com maverick-updates/main Sources
404 Not Found
Err http://nl.archive.ubuntu.com maverick-updates/restricted Sources
404 Not Found
Err http://nl.archive.ubuntu.com maverick-updates/universe Sources
404 Not Found
Err http://nl.archive.ubuntu.com maverick-updates/multiverse Sources
404 Not Found
Err http://nl.archive.ubuntu.com maverick-updates/main amd64 Packages
404 Not Found
Err http://nl.archive.ubuntu.com maverick-updates/restricted amd64 Packages
404 Not Found
Err http://nl.archive.ubuntu.com maverick-updates/universe amd64 Packages
404 Not Found
Err http://nl.archive.ubuntu.com maverick-updates/multiverse amd64 Packages
404 Not Found
W: Failed to fetch http://ppa.launchpad.net/...ck/main/source/Sources.gz 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/.../binary-amd64/Packages.gz 404 Not Found
W: Failed to fetch http://security.ubuntu.co...ty/main/source/Sources.gz 404 Not Found [IP: 91.189.88.37 80]
W: Failed to fetch http://security.ubuntu.co...tricted/source/Sources.gz 404 Not Found [IP: 91.189.88.37 80]
W: Failed to fetch http://security.ubuntu.co...niverse/source/Sources.gz 404 Not Found [IP: 91.189.88.37 80]
W: Failed to fetch http://security.ubuntu.co...tiverse/source/Sources.gz 404 Not Found [IP: 91.189.88.37 80]
W: Failed to fetch http://security.ubuntu.co.../binary-amd64/Packages.gz 404 Not Found [IP: 91.189.88.37 80]
W: Failed to fetch http://security.ubuntu.co.../binary-amd64/Packages.gz 404 Not Found [IP: 91.189.88.37 80]
W: Failed to fetch http://security.ubuntu.co.../binary-amd64/Packages.gz 404 Not Found [IP: 91.189.88.37 80]
W: Failed to fetch http://security.ubuntu.co.../binary-amd64/Packages.gz 404 Not Found [IP: 91.189.88.37 80]
W: Failed to fetch http://nl.archive.ubuntu....ck/main/source/Sources.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu....tricted/source/Sources.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu....niverse/source/Sources.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu....tiverse/source/Sources.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu..../binary-amd64/Packages.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu..../binary-amd64/Packages.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu..../binary-amd64/Packages.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu..../binary-amd64/Packages.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu....es/main/source/Sources.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu....tricted/source/Sources.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu....niverse/source/Sources.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu....tiverse/source/Sources.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu..../binary-amd64/Packages.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu..../binary-amd64/Packages.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu..../binary-amd64/Packages.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu..../binary-amd64/Packages.gz 404 Not Found
E: Some index files failed to download, they have been ignored, or old ones used instead.
Ik dus op internet zoeken wat ik moest doen. Heb gezocht op de laatste error "E: Some index files failed to download, they have been ignored, or old ones used instead.".
En vaak als antwoord kwam eruit dat ik met een simpele "apt-get update" het probleem kon oplossen. Dat is nou net het geen wat niet meer werkt bij mij. Ook had ik gevonden dat je nog steeds programma's kon installeren en dat de 404 error betekende dat de websites misschien uit de lucht zijn (uhh zo veel?!).
Dus ik toch maar samba installeren met "apt-get install samba"
root@blaat:/home/gambit# apt-get install samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libavahi-client3 libcups2 libfile-copy-recursive-perl libtalloc2 libwbclient0 samba-common
samba-common-bin update-inetd
Suggested packages:
cups-common openbsd-inetd inet-superserver smbldap-tools ldb-tools
The following NEW packages will be installed:
libavahi-client3 libcups2 libfile-copy-recursive-perl libtalloc2 libwbclient0 samba samba-common
samba-common-bin update-inetd
0 upgraded, 9 newly installed, 0 to remove and 3 not upgraded.
Need to get 15.3MB of archives.
After this operation, 43.9MB of additional disk space will be used.
Do you want to continue [Y/n]?
ik druk op y -> enter
krijg ik het volgende:
WARNING: The following packages cannot be authenticated!
libavahi-client3 libcups2 libfile-copy-recursive-perl libtalloc2 libwbclient0 samba-common update-inetd
samba-common-bin samba
Install these packages without verification [y/N]?
ik druk weer op y -> enter
krijg ik:
Err http://nl.archive.ubuntu.com/ubuntu/ maverick/main libavahi-client3 amd64 0.6.27-2ubuntu3
404 Not Found
Err http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/main libcups2 amd64 1.4.4-6ubuntu2.3
404 Not Found
Err http://nl.archive.ubuntu.com/ubuntu/ maverick/main libfile-copy-recursive-perl all 0.38-1
404 Not Found
Err http://nl.archive.ubuntu.com/ubuntu/ maverick/main libtalloc2 amd64 2.0.1-1
404 Not Found
Err http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/main libwbclient0 amd64 2:3.5.4~dfsg-1ubuntu8.1
404 Not Found
Err http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/main samba-common all 2:3.5.4~dfsg-1ubuntu8.1
404 Not Found
Err http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/main update-inetd all 4.36ubuntu0.1
404 Not Found
Err http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/main samba-common-bin amd64 2:3.5.4~dfsg-1ubuntu8.1
404 Not Found
Err http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/main samba amd64 2:3.5.4~dfsg-1ubuntu8.1
404 Not Found
Err http://security.ubuntu.com/ubuntu/ maverick-security/main libcups2 amd64 1.4.4-6ubuntu2.3
404 Not Found [IP: 91.189.92.167 80]
Failed to fetch http://nl.archive.ubuntu....0.6.27-2ubuntu3_amd64.deb 404 Not Found
Failed to fetch http://security.ubuntu.co....4.4-6ubuntu2.3_amd64.deb 404 Not Found [IP: 91.189.92.167 80]
Failed to fetch http://nl.archive.ubuntu....rsive-perl_0.38-1_all.deb 404 Not Found
Failed to fetch http://nl.archive.ubuntu....talloc2_2.0.1-1_amd64.deb 404 Not Found
Failed to fetch http://nl.archive.ubuntu....dfsg-1ubuntu8.1_amd64.deb 404 Not Found
Failed to fetch http://nl.archive.ubuntu....4~dfsg-1ubuntu8.1_all.deb 404 Not Found
Failed to fetch http://nl.archive.ubuntu....etd_4.36ubuntu0.1_all.deb 404 Not Found
Failed to fetch http://nl.archive.ubuntu....dfsg-1ubuntu8.1_amd64.deb 404 Not Found
Failed to fetch http://nl.archive.ubuntu....dfsg-1ubuntu8.1_amd64.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Hij zegt dus dat hij bij een aantal archives niet kan komen "404 not found" wat schetst mijn verbazing?! als ik naar bv de laatste link ga "http://nl.archive.ubuntu.com/ubuntu/pool/main/s/samba/samba_3.5.4~dfsg-1ubuntu8.1_amd64.deb" in mijn ff browser, kan ik hem gewoon downloaden. Erg vreemd allemaal.
Ook zag ik veel forum posts dat werd gevraagd op de uitvoer van "cat /etc/apt/sources.list"
Hier de uitvoer:
root@blaat:/home/gambit# cat /etc/apt/sources.list
#
# deb cdrom:[Ubuntu-Server 10.10 _Maverick Meerkat_ - Release amd64 (20101007)]/ maverick main restricted
# deb cdrom:[Ubuntu-Server 10.10 _Maverick Meerkat_ - Release amd64 (20101007)]/ maverick main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://nl.archive.ubuntu.com/ubuntu/ maverick main restricted
deb-src http://nl.archive.ubuntu.com/ubuntu/ maverick main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://nl.archive.ubuntu.com/ubuntu/ maverick-updates main restricted
deb-src http://nl.archive.ubuntu.com/ubuntu/ maverick-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://nl.archive.ubuntu.com/ubuntu/ maverick universe
deb-src http://nl.archive.ubuntu.com/ubuntu/ maverick universe
deb http://nl.archive.ubuntu.com/ubuntu/ maverick-updates universe
deb-src http://nl.archive.ubuntu.com/ubuntu/ maverick-updates universe
## 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.
deb http://nl.archive.ubuntu.com/ubuntu/ maverick multiverse
deb-src http://nl.archive.ubuntu.com/ubuntu/ maverick multiverse
deb http://nl.archive.ubuntu.com/ubuntu/ maverick-updates multiverse
deb-src http://nl.archive.ubuntu.com/ubuntu/ maverick-updates multiverse
## 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://nl.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
# deb-src http://nl.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
## 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 maverick partner
# deb-src http://archive.canonical.com/ubuntu maverick partner
## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu maverick main
# deb-src http://extras.ubuntu.com/ubuntu maverick main
deb http://security.ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted
deb http://security.ubuntu.com/ubuntu maverick-security universe
deb-src http://security.ubuntu.com/ubuntu maverick-security universe
deb http://security.ubuntu.com/ubuntu maverick-security multiverse
deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse
CONCLUSIE
apt-update en apt-upgrade werken niet meer geeft error "E: Some index files failed to download, they have been ignored, or old ones used instead." met heel veel 404 errors
samba installeren lukt niet, packages worden niet herkend en geeft error "WARNING: The following packages cannot be authenticated! libavahi-client3 libcups2 libfile-copy-recursive-perl libtalloc2 libwbclient0 samba-common update-inetd
Ik weet dus niet goed waar de errors vandaan komen of wat ik fout heb gedaan. Ik heb ook nog andere commands na de update/upgrade uitgevoerd maar weet niet meer goed welke (doh).
Ik hoop dat er iemand is die me kan vertellen wat ik fout heb gedaan en of een oplossing kan geven. Ik word namelijk een beetje verdrietig van mezelf
Alvast bedankt, Nyxium
geen zin in INTRO? skip naar PROBLEEM
INTRO
Ik ben vandaag overgegaan van windows server 2k8r2 naar ubuntu 10.10 server editie(ik gebruik mijn server voornamelijk als homeserver). Ik ben nog een onwijze noob met linux, maar wil het toch erg graag leren.
Om het iig een beetje te leren heb ik op een oude computer ubuntu geknald. De afgelopen week heb ik flink gestoeid met zowel 10.10 server als desktop versie. Nadat het me gelukt was alle diensten te installeren op ubuntu 10.10 server durfde ik het wel aan. Windows eraf geplempt en ubuntu server 10.10 erop! Want tja, alles werkte op de testbak dus waarom niet?!
Enige verschil bij het instellen van de testbak en mn server is dat ik op de testbak nooit de command "apt-get update && upgrade" heb uitgevoerd, echter alleen apt-get update. Dus toen ik dat (ergens gelezen op internet dat dat kon -.-) op mn server deed ging die allemaal enge dingen doen die ik op de testbak nog niet had gezien!
Hij ging allemaal enge dingen doen met kernel en progamma's die ik al had geinstalleerd. Het was me duidelijk dat je op deze manier de update/upgrade functie uitvoert zoals je die hebt op de desktop versie "updates installeren".
nadat alles klaar was ben ik verder gegaan met installeren (ik had openssh-server, java, python properties tomcat6 dus al geinstalleerd voordat ik update/upgrade command uitvoerde).
Ik heb toen mysql en vsftpd geinstalleerd volgens mij, hier geen problemen tegen gekomen. Ik zal hierna wel iets vaags hebben gedaan want nu komt het.
PROBLEEM
(rootsessie)
De command apt-get update werkt niet meer, hij geeft het volgende als ik apt-get update uitvoer:
deb http://security.ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted
deb http://security.ubuntu.com/ubuntu maverick-security universe
deb-src http://security.ubuntu.com/ubuntu maverick-security universe
deb http://security.ubuntu.com/ubuntu maverick-security multiverse
deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse
root@blaat:/home/gambit# sudo apt-get update
Ign http://ppa.launchpad.net maverick Release.gpg
Ign http://security.ubuntu.com maverick-security Release.gpg
Ign http://ppa.launchpad.net/...ty-team/sun-java6/ubuntu/ maverick/main Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/main Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/main Translation-en_US
Ign http://ppa.launchpad.net/...ty-team/sun-java6/ubuntu/ maverick/main Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en
Ign http://ppa.launchpad.net maverick Release
Ign http://security.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en
Ign http://ppa.launchpad.net maverick/main Sources/DiffIndex
Ign http://security.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en_US
Ign http://ppa.launchpad.net maverick/main amd64 Packages/DiffIndex
Ign http://security.ubuntu.com/ubuntu/ maverick-security/universe Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/universe Translation-en_US
Ign http://ppa.launchpad.net maverick/main Sources
Ign http://security.ubuntu.com maverick-security Release
Ign http://ppa.launchpad.net maverick/main amd64 Packages
Ign http://security.ubuntu.com maverick-security/main Sources/DiffIndex
Err http://ppa.launchpad.net maverick/main Sources
404 Not Found
Err http://ppa.launchpad.net maverick/main amd64 Packages
404 Not Found
Ign http://security.ubuntu.com maverick-security/restricted Sources/DiffIndex
Ign http://security.ubuntu.com maverick-security/universe Sources/DiffIndex
Ign http://security.ubuntu.com maverick-security/multiverse Sources/DiffIndex
Ign http://security.ubuntu.com maverick-security/main amd64 Packages/DiffIndex
Ign http://security.ubuntu.com maverick-security/restricted amd64 Packages/DiffIndex
Ign http://security.ubuntu.com maverick-security/universe amd64 Packages/DiffIndex
Ign http://security.ubuntu.com maverick-security/multiverse amd64 Packages/DiffIndex
Ign http://security.ubuntu.com maverick-security/main Sources
Ign http://nl.archive.ubuntu.com maverick Release.gpg
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick/main Translation-en_US
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en_US
Ign http://security.ubuntu.com maverick-security/restricted Sources
Ign http://security.ubuntu.com maverick-security/universe Sources
Ign http://security.ubuntu.com maverick-security/multiverse Sources
Ign http://security.ubuntu.com maverick-security/main amd64 Packages
Ign http://security.ubuntu.com maverick-security/restricted amd64 Packages
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en
Ign http://security.ubuntu.com maverick-security/universe amd64 Packages
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en_US
Ign http://security.ubuntu.com maverick-security/multiverse amd64 Packages
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick/universe Translation-en_US
Ign http://nl.archive.ubuntu.com maverick-updates Release.gpg
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en
Err http://security.ubuntu.com maverick-security/main Sources
404 Not Found [IP: 91.189.88.37 80]
Err http://security.ubuntu.com maverick-security/restricted Sources
404 Not Found [IP: 91.189.88.37 80]
Err http://security.ubuntu.com maverick-security/universe Sources
404 Not Found [IP: 91.189.88.37 80]
Err http://security.ubuntu.com maverick-security/multiverse Sources
404 Not Found [IP: 91.189.88.37 80]
Err http://security.ubuntu.com maverick-security/main amd64 Packages
404 Not Found [IP: 91.189.88.37 80]
Err http://security.ubuntu.com maverick-security/restricted amd64 Packages
404 Not Found [IP: 91.189.88.37 80]
Err http://security.ubuntu.com maverick-security/universe amd64 Packages
404 Not Found [IP: 91.189.88.37 80]
Err http://security.ubuntu.com maverick-security/multiverse amd64 Packages
404 Not Found [IP: 91.189.88.37 80]
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en_US
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en_US
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en_US
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en
Ign http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en_US
Ign http://nl.archive.ubuntu.com maverick Release
Ign http://nl.archive.ubuntu.com maverick-updates Release
Ign http://nl.archive.ubuntu.com maverick/main Sources/DiffIndex
Ign http://nl.archive.ubuntu.com maverick/restricted Sources/DiffIndex
Ign http://nl.archive.ubuntu.com maverick/universe Sources/DiffIndex
Ign http://nl.archive.ubuntu.com maverick/multiverse Sources/DiffIndex
Ign http://nl.archive.ubuntu.com maverick/main amd64 Packages/DiffIndex
Ign http://nl.archive.ubuntu.com maverick/restricted amd64 Packages/DiffIndex
Ign http://nl.archive.ubuntu.com maverick/universe amd64 Packages/DiffIndex
Ign http://nl.archive.ubuntu.com maverick/multiverse amd64 Packages/DiffIndex
Ign http://nl.archive.ubuntu.com maverick-updates/main Sources/DiffIndex
Ign http://nl.archive.ubuntu.com maverick-updates/restricted Sources/DiffIndex
Ign http://nl.archive.ubuntu.com maverick-updates/universe Sources/DiffIndex
Ign http://nl.archive.ubuntu.com maverick-updates/multiverse Sources/DiffIndex
Ign http://nl.archive.ubuntu.com maverick-updates/main amd64 Packages/DiffIndex
Ign http://nl.archive.ubuntu.com maverick-updates/restricted amd64 Packages/DiffIndex
Ign http://nl.archive.ubuntu.com maverick-updates/universe amd64 Packages/DiffIndex
Ign http://nl.archive.ubuntu.com maverick-updates/multiverse amd64 Packages/DiffIndex
Ign http://nl.archive.ubuntu.com maverick/main Sources
Ign http://nl.archive.ubuntu.com maverick/restricted Sources
Ign http://nl.archive.ubuntu.com maverick/universe Sources
Ign http://nl.archive.ubuntu.com maverick/multiverse Sources
Ign http://nl.archive.ubuntu.com maverick/main amd64 Packages
Ign http://nl.archive.ubuntu.com maverick/restricted amd64 Packages
Ign http://nl.archive.ubuntu.com maverick/universe amd64 Packages
Ign http://nl.archive.ubuntu.com maverick/multiverse amd64 Packages
Ign http://nl.archive.ubuntu.com maverick-updates/main Sources
Ign http://nl.archive.ubuntu.com maverick-updates/restricted Sources
Ign http://nl.archive.ubuntu.com maverick-updates/universe Sources
Ign http://nl.archive.ubuntu.com maverick-updates/multiverse Sources
Ign http://nl.archive.ubuntu.com maverick-updates/main amd64 Packages
Ign http://nl.archive.ubuntu.com maverick-updates/restricted amd64 Packages
Ign http://nl.archive.ubuntu.com maverick-updates/universe amd64 Packages
Ign http://nl.archive.ubuntu.com maverick-updates/multiverse amd64 Packages
Err http://nl.archive.ubuntu.com maverick/main Sources
404 Not Found
Err http://nl.archive.ubuntu.com maverick/restricted Sources
404 Not Found
Err http://nl.archive.ubuntu.com maverick/universe Sources
404 Not Found
Err http://nl.archive.ubuntu.com maverick/multiverse Sources
404 Not Found
Err http://nl.archive.ubuntu.com maverick/main amd64 Packages
404 Not Found
Err http://nl.archive.ubuntu.com maverick/restricted amd64 Packages
404 Not Found
Err http://nl.archive.ubuntu.com maverick/universe amd64 Packages
404 Not Found
Err http://nl.archive.ubuntu.com maverick/multiverse amd64 Packages
404 Not Found
Err http://nl.archive.ubuntu.com maverick-updates/main Sources
404 Not Found
Err http://nl.archive.ubuntu.com maverick-updates/restricted Sources
404 Not Found
Err http://nl.archive.ubuntu.com maverick-updates/universe Sources
404 Not Found
Err http://nl.archive.ubuntu.com maverick-updates/multiverse Sources
404 Not Found
Err http://nl.archive.ubuntu.com maverick-updates/main amd64 Packages
404 Not Found
Err http://nl.archive.ubuntu.com maverick-updates/restricted amd64 Packages
404 Not Found
Err http://nl.archive.ubuntu.com maverick-updates/universe amd64 Packages
404 Not Found
Err http://nl.archive.ubuntu.com maverick-updates/multiverse amd64 Packages
404 Not Found
W: Failed to fetch http://ppa.launchpad.net/...ck/main/source/Sources.gz 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/.../binary-amd64/Packages.gz 404 Not Found
W: Failed to fetch http://security.ubuntu.co...ty/main/source/Sources.gz 404 Not Found [IP: 91.189.88.37 80]
W: Failed to fetch http://security.ubuntu.co...tricted/source/Sources.gz 404 Not Found [IP: 91.189.88.37 80]
W: Failed to fetch http://security.ubuntu.co...niverse/source/Sources.gz 404 Not Found [IP: 91.189.88.37 80]
W: Failed to fetch http://security.ubuntu.co...tiverse/source/Sources.gz 404 Not Found [IP: 91.189.88.37 80]
W: Failed to fetch http://security.ubuntu.co.../binary-amd64/Packages.gz 404 Not Found [IP: 91.189.88.37 80]
W: Failed to fetch http://security.ubuntu.co.../binary-amd64/Packages.gz 404 Not Found [IP: 91.189.88.37 80]
W: Failed to fetch http://security.ubuntu.co.../binary-amd64/Packages.gz 404 Not Found [IP: 91.189.88.37 80]
W: Failed to fetch http://security.ubuntu.co.../binary-amd64/Packages.gz 404 Not Found [IP: 91.189.88.37 80]
W: Failed to fetch http://nl.archive.ubuntu....ck/main/source/Sources.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu....tricted/source/Sources.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu....niverse/source/Sources.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu....tiverse/source/Sources.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu..../binary-amd64/Packages.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu..../binary-amd64/Packages.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu..../binary-amd64/Packages.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu..../binary-amd64/Packages.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu....es/main/source/Sources.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu....tricted/source/Sources.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu....niverse/source/Sources.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu....tiverse/source/Sources.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu..../binary-amd64/Packages.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu..../binary-amd64/Packages.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu..../binary-amd64/Packages.gz 404 Not Found
W: Failed to fetch http://nl.archive.ubuntu..../binary-amd64/Packages.gz 404 Not Found
E: Some index files failed to download, they have been ignored, or old ones used instead.
Ik dus op internet zoeken wat ik moest doen. Heb gezocht op de laatste error "E: Some index files failed to download, they have been ignored, or old ones used instead.".
En vaak als antwoord kwam eruit dat ik met een simpele "apt-get update" het probleem kon oplossen. Dat is nou net het geen wat niet meer werkt bij mij. Ook had ik gevonden dat je nog steeds programma's kon installeren en dat de 404 error betekende dat de websites misschien uit de lucht zijn (uhh zo veel?!).
Dus ik toch maar samba installeren met "apt-get install samba"
root@blaat:/home/gambit# apt-get install samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libavahi-client3 libcups2 libfile-copy-recursive-perl libtalloc2 libwbclient0 samba-common
samba-common-bin update-inetd
Suggested packages:
cups-common openbsd-inetd inet-superserver smbldap-tools ldb-tools
The following NEW packages will be installed:
libavahi-client3 libcups2 libfile-copy-recursive-perl libtalloc2 libwbclient0 samba samba-common
samba-common-bin update-inetd
0 upgraded, 9 newly installed, 0 to remove and 3 not upgraded.
Need to get 15.3MB of archives.
After this operation, 43.9MB of additional disk space will be used.
Do you want to continue [Y/n]?
ik druk op y -> enter
krijg ik het volgende:
WARNING: The following packages cannot be authenticated!
libavahi-client3 libcups2 libfile-copy-recursive-perl libtalloc2 libwbclient0 samba-common update-inetd
samba-common-bin samba
Install these packages without verification [y/N]?
ik druk weer op y -> enter
krijg ik:
Err http://nl.archive.ubuntu.com/ubuntu/ maverick/main libavahi-client3 amd64 0.6.27-2ubuntu3
404 Not Found
Err http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/main libcups2 amd64 1.4.4-6ubuntu2.3
404 Not Found
Err http://nl.archive.ubuntu.com/ubuntu/ maverick/main libfile-copy-recursive-perl all 0.38-1
404 Not Found
Err http://nl.archive.ubuntu.com/ubuntu/ maverick/main libtalloc2 amd64 2.0.1-1
404 Not Found
Err http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/main libwbclient0 amd64 2:3.5.4~dfsg-1ubuntu8.1
404 Not Found
Err http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/main samba-common all 2:3.5.4~dfsg-1ubuntu8.1
404 Not Found
Err http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/main update-inetd all 4.36ubuntu0.1
404 Not Found
Err http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/main samba-common-bin amd64 2:3.5.4~dfsg-1ubuntu8.1
404 Not Found
Err http://nl.archive.ubuntu.com/ubuntu/ maverick-updates/main samba amd64 2:3.5.4~dfsg-1ubuntu8.1
404 Not Found
Err http://security.ubuntu.com/ubuntu/ maverick-security/main libcups2 amd64 1.4.4-6ubuntu2.3
404 Not Found [IP: 91.189.92.167 80]
Failed to fetch http://nl.archive.ubuntu....0.6.27-2ubuntu3_amd64.deb 404 Not Found
Failed to fetch http://security.ubuntu.co....4.4-6ubuntu2.3_amd64.deb 404 Not Found [IP: 91.189.92.167 80]
Failed to fetch http://nl.archive.ubuntu....rsive-perl_0.38-1_all.deb 404 Not Found
Failed to fetch http://nl.archive.ubuntu....talloc2_2.0.1-1_amd64.deb 404 Not Found
Failed to fetch http://nl.archive.ubuntu....dfsg-1ubuntu8.1_amd64.deb 404 Not Found
Failed to fetch http://nl.archive.ubuntu....4~dfsg-1ubuntu8.1_all.deb 404 Not Found
Failed to fetch http://nl.archive.ubuntu....etd_4.36ubuntu0.1_all.deb 404 Not Found
Failed to fetch http://nl.archive.ubuntu....dfsg-1ubuntu8.1_amd64.deb 404 Not Found
Failed to fetch http://nl.archive.ubuntu....dfsg-1ubuntu8.1_amd64.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Hij zegt dus dat hij bij een aantal archives niet kan komen "404 not found" wat schetst mijn verbazing?! als ik naar bv de laatste link ga "http://nl.archive.ubuntu.com/ubuntu/pool/main/s/samba/samba_3.5.4~dfsg-1ubuntu8.1_amd64.deb" in mijn ff browser, kan ik hem gewoon downloaden. Erg vreemd allemaal.
Ook zag ik veel forum posts dat werd gevraagd op de uitvoer van "cat /etc/apt/sources.list"
Hier de uitvoer:
root@blaat:/home/gambit# cat /etc/apt/sources.list
#
# deb cdrom:[Ubuntu-Server 10.10 _Maverick Meerkat_ - Release amd64 (20101007)]/ maverick main restricted
# deb cdrom:[Ubuntu-Server 10.10 _Maverick Meerkat_ - Release amd64 (20101007)]/ maverick main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://nl.archive.ubuntu.com/ubuntu/ maverick main restricted
deb-src http://nl.archive.ubuntu.com/ubuntu/ maverick main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://nl.archive.ubuntu.com/ubuntu/ maverick-updates main restricted
deb-src http://nl.archive.ubuntu.com/ubuntu/ maverick-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://nl.archive.ubuntu.com/ubuntu/ maverick universe
deb-src http://nl.archive.ubuntu.com/ubuntu/ maverick universe
deb http://nl.archive.ubuntu.com/ubuntu/ maverick-updates universe
deb-src http://nl.archive.ubuntu.com/ubuntu/ maverick-updates universe
## 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.
deb http://nl.archive.ubuntu.com/ubuntu/ maverick multiverse
deb-src http://nl.archive.ubuntu.com/ubuntu/ maverick multiverse
deb http://nl.archive.ubuntu.com/ubuntu/ maverick-updates multiverse
deb-src http://nl.archive.ubuntu.com/ubuntu/ maverick-updates multiverse
## 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://nl.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
# deb-src http://nl.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
## 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 maverick partner
# deb-src http://archive.canonical.com/ubuntu maverick partner
## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu maverick main
# deb-src http://extras.ubuntu.com/ubuntu maverick main
deb http://security.ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted
deb http://security.ubuntu.com/ubuntu maverick-security universe
deb-src http://security.ubuntu.com/ubuntu maverick-security universe
deb http://security.ubuntu.com/ubuntu maverick-security multiverse
deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse
CONCLUSIE
apt-update en apt-upgrade werken niet meer geeft error "E: Some index files failed to download, they have been ignored, or old ones used instead." met heel veel 404 errors
samba installeren lukt niet, packages worden niet herkend en geeft error "WARNING: The following packages cannot be authenticated! libavahi-client3 libcups2 libfile-copy-recursive-perl libtalloc2 libwbclient0 samba-common update-inetd
Ik weet dus niet goed waar de errors vandaan komen of wat ik fout heb gedaan. Ik heb ook nog andere commands na de update/upgrade uitgevoerd maar weet niet meer goed welke (doh).
Ik hoop dat er iemand is die me kan vertellen wat ik fout heb gedaan en of een oplossing kan geven. Ik word namelijk een beetje verdrietig van mezelf
Alvast bedankt, Nyxium