Failures in apt-get?
I have been trying to apt-get updates, after it finishes it say the following errors, and suggests i do apt-get update to correct it, however it just comes up with the same errors over ond over, no matter how many times i apt-get update.
after i did the orginal apt-get update, i tried to do a apt-get install guarddog, it updated my entire system, and after about a 450mb download, there was still no guarddog. The apt-get guarddog keeps saying that it will install about 45 megs of files, and never does, no matter how many times i do this guarddog is never installed. ...........apt-get update produces the following....................................... Err http://ndiswrapper.sourceforge.net ./ Packages 404 Not Found Err http://kanotix.com ./ Packages 404 Not Found Hit http://security.debian.org stable/updates/main Packages Hit http://ftp.de.debian.org stable/main Packages Ign http://kanotix.com ./ Release Hit http://ftp.de.debian.org stable/main Release Hit http://security.debian.org stable/updates/main Release Err http://kanotix.com ./ Sources 404 Not Found Hit http://ftp.de.debian.org stable/contrib Packages Hit http://security.debian.org stable/updates/contrib Packages Ign http://kanotix.com ./ Release Hit http://ftp.de.debian.org stable/contrib Release Ign http://ndiswrapper.sourceforge.net ./ Release Hit http://security.debian.org stable/updates/contrib Release Hit http://ftp.de.debian.org stable/non-free Packages Hit http://security.debian.org stable/updates/non-free Packages Hit http://ftp.de.debian.org stable/non-free Release Hit http://security.debian.org stable/updates/non-free Release Hit http://ftp.de.debian.org stable/main Sources Hit http://security.debian.org testing/updates/main Packages Hit http://ftp.de.debian.org stable/main Release Hit http://security.debian.org testing/updates/main Release Hit http://ftp.de.debian.org stable/contrib Sources Hit http://security.debian.org testing/updates/contrib Packages Hit http://ftp.de.debian.org stable/contrib Release Hit http://security.debian.org testing/updates/contrib Release Hit http://ftp.de.debian.org stable/non-free Sources Hit http://security.debian.org testing/updates/non-free Packages Hit http://ftp.de.debian.org stable/non-free Release Hit http://security.debian.org testing/updates/non-free Release Hit http://ftp.de.debian.org testing/main Packages Hit http://ftp.de.debian.org testing/main Release Hit http://ftp.de.debian.org testing/contrib Packages Hit http://ftp.de.debian.org testing/contrib Release Hit http://ftp.de.debian.org testing/non-free Packages Hit http://ftp.de.debian.org testing/non-free Release Hit http://ftp.de.debian.org testing/main Sources Hit http://ftp.de.debian.org testing/main Release Hit http://ftp.de.debian.org testing/contrib Sources Hit http://ftp.de.debian.org testing/contrib Release Hit http://ftp.de.debian.org testing/non-free Sources Hit http://ftp.de.debian.org testing/non-free Release Hit http://ftp.de.debian.org unstable/main Packages Hit http://ftp.de.debian.org unstable/main Release Hit http://ftp.de.debian.org unstable/contrib Packages Hit http://ftp.de.debian.org unstable/contrib Release Hit http://ftp.de.debian.org unstable/non-free Packages Hit http://ftp.de.debian.org unstable/non-free Release Hit http://ftp.de.debian.org unstable/main Sources Hit http://ftp.de.debian.org unstable/main Release Hit http://ftp.de.debian.org unstable/contrib Sources Hit http://ftp.de.debian.org unstable/contrib Release Hit http://ftp.de.debian.org unstable/non-free Sources Hit http://ftp.de.debian.org unstable/non-free Release Hit http://ftp.de.debian.org ../project/experimental/main Packages Hit http://ftp.de.debian.org ../project/experimental/main Release Hit http://ftp.de.debian.org ../project/experimental/contrib Packages Hit http://ftp.de.debian.org ../project/experimental/contrib Release Hit http://ftp.de.debian.org ../project/experimental/non-free Packages Hit http://ftp.de.debian.org ../project/experimental/non-free Release Failed to fetch http://ndiswrapper.sourceforge.net/debian/./Packages.gz 404 Not Found Failed to fetch http://kanotix.com/files/debian/./Packages.gz 404 Not Found Failed to fetch http://kanotix.com/files/debian/./Sources.gz 404 Not Found Reading Package Lists... Done W: Couldn't stat source package list http://ndiswrapper.sourceforge.net ./ Packages (/var/lib/apt/lists/ndiswrapper.sourceforge.net_debian_._Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://kanotix.com ./ Packages (/var/lib/apt/lists/kanotix.com_files_debian_._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. .........apt-get install guarddog produces the following................................. Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: akregator amor ark arts artsbuilder atlantik cervisia cpp-4.0 cupsys cupsys-bsd cupsys-client dbus-qt-1c2 eyesapplet fifteenapplet filelight freefem3d g++-4.0 gambas-gb-qt gcc-4.0 gcc-4.0-base gnome-about gnome-cups-manager gnome-desktop-data gnome-menus gnome-panel gnome-panel-data gs-common gs-esp gwenview kaddressbook kalarm kalzium kamera kandy kappfinder karbon karm kasteroids kate katomic kbabel kbabel-dev kbackgammon kbattleship kblackbox kbounce kbruch kcalc kcharselect kchart kcoloredit kcontrol kcron kdat kde-i18n-bg kde-i18n-ca kde-i18n-cs kde-i18n-da kde-i18n-de kde-i18n-el kde-i18n-es kde-i18n-et kde-i18n-fi kde-i18n-fr kde-i18n-he kde-i18n-hu kde-i18n-it kde-i18n-ja kde-i18n-nl kde-i18n-pl kde-i18n-pt kde-i18n-ptbr kde-i18n-ru kde-i18n-sk kde-i18n-sl kde-i18n-sr kde-i18n-sv kde-i18n-tr kde-i18n-zhcn kdeadmin-kfile-plugins kdeartwork-style kdeartwork-theme-window kdebase-bin kdebase-data kdebase-kio-plugins kdeedu-data kdegraphics-kfile-plugins kdelibs kdelibs-bin kdelibs-data kdelibs4-dev kdelibs4c2 kdenetwork-kfile-plugins kdepasswd kdepim kdepim-kfile-plugins kdepim-kio-plugins kdepim-kresources kdepim-wizards kdeprint kdesktop kdessh kdf kdiff3 kdissert kdm kdvi keduca kenolaba kfax kfilereplace kfind kfloppy kformula kfouleggs kgamma kget kghostview kgoldrunner khangman khelpcenter khexedit kicker kiconedit kile kile-i18n kimagemapeditor kiosktool kipi-plugins kitchensync kiten kivio kivio-data kjumpingcube klaptopdaemon klatin kleopatra klettres klettres-data klickety klines klinkstatus klipper kmahjongg kmail kmailcvt kmenuedit kmessedwords kmines kmix kmoon kmplot kmrml knode knotes kodo koffice-data koffice-dev koffice-libs kolf kolourpaint kommander kommander-dev kompare konqueror konqueror-nsplugins konquest konsole konsolekalendar kontact konversation kooka kopete korganizer korn koshell kpackage kpager kpat kpdf kpercentage kpersonalizer kpf kphone kpilot kpoker kppp kpresenter krdc kreversi krfb kruler krusader ksame kscreensaver kscreensaver-xsavers kshisen ksim ksirtet ksmiletris ksmserver ksnake ksnapshot ksokoban kspaceduel ksplash kspread kstars kstars-data ksvg ksync ksysguard ksysguardd ksysv kteatime ktimer ktip ktnef ktouch ktron ktuberling kturtle ktux kugar kuickshow kuser kvdr kverbos kview kviewshell kvoctrain kweather kwifimanager kwin kwin4 kword kwordquiz kworldclock kxsldbg libarts1-dev libarts1c2 libartsc0 libartsc0-dev libbluetooth1 libcupsimage2 libcupsys2 libcupsys2-dev libcvsservice0 libedit2 libgadu3 libgcrypt11 libgcrypt11-dev libglib2.0-0 libglib2.0-data libglib2.0-dev libgnome-desktop-2 libgnome-menu0 libgnomecups1.0-1 libgnomecupsui1.0-1c2a libgnomeprint2.2-0 libgnomeprint2.2-data libgnomevfs2-0 libgnomevfs2-common libgnutls12 libgphoto2-2 libgphoto2-port0 libgsf-1 libjack0.100.0-0 libjack0.100.0-dev libkcal2b libkdeedu1 libkdegames1 libkdepim1a libkexif1c2 libkgantt0 libkipi0c2 libkiten1 libkleopatra0a libkmime2 libkonq4 libkpimexchange1 libkpimidentities1 libkscan1 libksieve0 libktnef1 libmagick9 libmimelib1c2 libopenexr-dev libopenexr2c2 libpanel-applet2-0 libparted1.6-13 libpng12-0 libpng12-dev libqcad0 libqt3-compat-headers libqt3-headers libqt3-mt libqt3-mt-dev libqt3-mt-psql libselinux1 libsensors3 libsnmp-base libsnmp9 libssl0.9.8 libstdc++6 libstdc++6-4.0-dev libwnck16 libwpd8c2 libwv2-1c2 libxau6 libxcomposite1 libxdamage1 libxdmcp6 libxfixes3 libxinerama-dev libxinerama1 libxkbfile1 libxml2 libxml2-dev libxslt1-dev libxslt1.1 libxxf86dga1 libxxf86misc1 libxxf86vm1 lisa lsb-base lskat nethack-common nethack-console nethack-qt nethack-x11 networkstatus noteedit noteedit-data openssh-client openssh-server pinentry-qt qca-tls qcad qps qt3-dev-tools qtparted quanta quanta-data samba samba-common scribus secpolicy smbclient smbfs ssh tora tuxeyes umbrello xfprint4 xlibs-static-dev xlibs-static-pic Suggested packages: rar atlantikdesigner gcc-4.0-locales cupsys-driver-gutenprint cupsys-driver-gimpprint foomatic-filters-ppds xpdf-korean xpdf-japanese xpdf-chinese-traditional xpdf-chinese-simplified cups-pdf hplip gtklp cupsys-pt xpp doc-central gcc-4.0-doc lib64stdc++6 libc6-dev-amd64 lib64gcc1 amd64-libs-dev kttsd konq-speaker kde kdepim-doc-html egroupware latex-ucs latex-beamer prosper openoffice.org kicker-applets gallery mjpegtools spamassassin bogofilter annoyance-filter wordnet knewsticker libsoap-lite-perl gpg kedit krename xxdiff unace unrar rng-tools libgcrypt11-doc libglib2.0-doc gnutls-bin libparted1.6-dev libparted1.6-i18n libqt3-mt-mysql libqt3-mt-odbc libqt3-i18n qt3-doc lm-sensors linux-image-2.6 kernel-image-2.6 lm-sensors-mod-2.9.2 lm-sensors-mod-2.9.1 lm-sensors-mod-2.9 libstdc++6-4.0-doc ssh-askpass rssh pinentry-doc partlibrary gubed samba-doc scribus-template scribus-doc xspecs Recommended packages: ncompress zoo libmudflap0-dev kregexpeditor kdemultimedia-kio-plugins dcraw kdeprinter ttf-kochi-gothic ttf-kochi-mincho openoffice.org-mimelnk ocrad akode gamin phpdoc wdg-html-reference docbook-defguide smbldap-tools The following packages will be REMOVED: dbus-qt-1 digikam digikamimageplugins isdn-config jackd k3b k3blibs kaffeine kate-plugins kbear kcmlinuz kde-amusements kde-i18n-fa kde-i18n-zhtw kdeaddons-kfile-plugins kdebluetooth kdeedu kdelibs4 kdemultimedia-kfile-plugins kdevelop3 kdevelop3-data kdevelop3-plugins kig kmymoney2 konq-plugins kxconfig libarts1 libcupsys2-gnutls10 libgnomecupsui1.0-1 libjack0.80.0-dev libkcal2a libkdepim1 libkexif1 libkipi0 libmimelib1a libopenexr2 libqt3c102-mt libqt3c102-mt-psql libtse3-0.2.7 libwv2-1 lyx lyx-common lyx-qt lyx-xforms rosegarden4 vimpart The following NEW packages will be installed: dbus-qt-1c2 gnome-menus guarddog kdelibs4c2 libarts1c2 libcupsys2 libedit2 libgnome-menu0 libgnomecupsui1.0-1c2a libgnutls12 libjack0.100.0-0 libjack0.100.0-dev libkcal2b libkdepim1a libkexif1c2 libkipi0c2 libkiten1 libkmime2 libmagick9 libmimelib1c2 libopenexr2c2 libparted1.6-13 libqt3-mt libqt3-mt-psql libsnmp9 libssl0.9.8 libwnck16 libwpd8c2 libwv2-1c2 libxau6 libxcomposite1 libxdamage1 libxdmcp6 libxfixes3 libxinerama-dev libxinerama1 libxkbfile1 libxxf86dga1 libxxf86misc1 libxxf86vm1 openssh-client openssh-server The following held packages will be changed: kdelibs4-dev libqt3-mt-dev The following packages will be upgraded: akregator amor ark arts artsbuilder atlantik cervisia cpp-4.0 cupsys cupsys-bsd cupsys-client eyesapplet fifteenapplet filelight freefem3d g++-4.0 gambas-gb-qt gcc-4.0 gcc-4.0-base gnome-about gnome-cups-manager gnome-desktop-data gnome-panel gnome-panel-data gs-common gs-esp gwenview kaddressbook kalarm kalzium kamera kandy kappfinder karbon karm kasteroids kate katomic kbabel kbabel-dev kbackgammon kbattleship kblackbox kbounce kbruch kcalc kcharselect kchart kcoloredit kcontrol kcron kdat kde-i18n-bg kde-i18n-ca kde-i18n-cs kde-i18n-da kde-i18n-de kde-i18n-el kde-i18n-es kde-i18n-et kde-i18n-fi kde-i18n-fr kde-i18n-he kde-i18n-hu kde-i18n-it kde-i18n-ja kde-i18n-nl kde-i18n-pl kde-i18n-pt kde-i18n-ptbr kde-i18n-ru kde-i18n-sk kde-i18n-sl kde-i18n-sr kde-i18n-sv kde-i18n-tr kde-i18n-zhcn kdeadmin-kfile-plugins kdeartwork-style kdeartwork-theme-window kdebase-bin kdebase-data kdebase-kio-plugins kdeedu-data kdegraphics-kfile-plugins kdelibs kdelibs-bin kdelibs-data kdelibs4-dev kdenetwork-kfile-plugins kdepasswd kdepim kdepim-kfile-plugins kdepim-kio-plugins kdepim-kresources kdepim-wizards kdeprint kdesktop kdessh kdf kdiff3 kdissert kdm kdvi keduca kenolaba kfax kfilereplace kfind kfloppy kformula kfouleggs kgamma kget kghostview kgoldrunner khangman khelpcenter khexedit kicker kiconedit kile kile-i18n kimagemapeditor kiosktool kipi-plugins kitchensync kiten kivio kivio-data kjumpingcube klaptopdaemon klatin kleopatra klettres klettres-data klickety klines klinkstatus klipper kmahjongg kmail kmailcvt kmenuedit kmessedwords kmines kmix kmoon kmplot kmrml knode knotes kodo koffice-data koffice-dev koffice-libs kolf kolourpaint kommander kommander-dev kompare konqueror konqueror-nsplugins konquest konsole konsolekalendar kontact konversation kooka kopete korganizer korn koshell kpackage kpager kpat kpdf kpercentage kpersonalizer kpf kphone kpilot kpoker kppp kpresenter krdc kreversi krfb kruler krusader ksame kscreensaver kscreensaver-xsavers kshisen ksim ksirtet ksmiletris ksmserver ksnake ksnapshot ksokoban kspaceduel ksplash kspread kstars kstars-data ksvg ksync ksysguard ksysguardd ksysv kteatime ktimer ktip ktnef ktouch ktron ktuberling kturtle ktux kugar kuickshow kuser kvdr kverbos kview kviewshell kvoctrain kweather kwifimanager kwin kwin4 kword kwordquiz kworldclock kxsldbg libarts1-dev libartsc0 libartsc0-dev libbluetooth1 libcupsimage2 libcupsys2-dev libcvsservice0 libgadu3 libgcrypt11 libgcrypt11-dev libglib2.0-0 libglib2.0-data libglib2.0-dev libgnome-desktop-2 libgnomecups1.0-1 libgnomeprint2.2-0 libgnomeprint2.2-data libgnomevfs2-0 libgnomevfs2-common libgphoto2-2 libgphoto2-port0 libgsf-1 libkdeedu1 libkdegames1 libkgantt0 libkleopatra0a libkonq4 libkpimexchange1 libkpimidentities1 libkscan1 libksieve0 libktnef1 libopenexr-dev libpanel-applet2-0 libpng12-0 libpng12-dev libqcad0 libqt3-compat-headers libqt3-headers libqt3-mt-dev libselinux1 libsensors3 libsnmp-base libstdc++6 libstdc++6-4.0-dev libxml2 libxml2-dev libxslt1-dev libxslt1.1 lisa lsb-base lskat nethack-common nethack-console nethack-qt nethack-x11 networkstatus noteedit noteedit-data pinentry-qt qca-tls qcad qps qt3-dev-tools qtparted quanta quanta-data samba samba-common scribus secpolicy smbclient smbfs ssh tora tuxeyes umbrello xfprint4 xlibs-static-dev xlibs-static-pic 316 upgraded, 42 newly installed, 46 to remove and 1328 not upgraded. Need to get 0B/444MB of archives. After unpacking 45.0MB of additional disk space will be used. Do you want to continue? [Y/n] y W: Couldn't stat source package list http://ndiswrapper.sourceforge.net ./ Packages (/var/lib/apt/lists/ndiswrapper.sourceforge.net_debian_._Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://kanotix.com ./ Packages (/var/lib/apt/lists/kanotix.com_files_debian_._Packages) - stat (2 No such file or directory) Preconfiguring packages ... (Reading database ... 355792 files and directories currently installed.) Removing kdebluetooth ... dpkg-divert: mismatch on divert-to when removing `diversion of /usr/bin/kdesktop_lock to /usr/bin/kdesktop_lock_nobt by kdebluetooth' found `diversion of /usr/bin/kdesktop_lock to /usr/bin/kdesktop_lock.orig by kdelock-knoppix' dpkg: error processing kdebluetooth (--remove): subprocess post-removal script returned error exit status 2 Errors were encountered while processing: kdebluetooth W: Couldn't stat source package list http://ndiswrapper.sourceforge.net ./ Packages (/var/lib/apt/lists/ndiswrapper.sourceforge.net_debian_._Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://kanotix.com ./ Packages (/var/lib/apt/lists/kanotix.com_files_debian_._Packages) - stat (2 No such file or directory) W: You may want to run apt-get update to correct these problems E: Sub-process /usr/bin/dpkg returned an error code (1) |
Well, for the entries that are failing (the ones blurbing 404 Not Found), make sure they are correct and up to date, it happens that some third party repositories move things to other places occasionally. Basically, go to their websites and check what the apt repository entries are supposed to look like.
|
you have various 'experimental' mirrors added.
fine, but don't expect things to work |
k i will ignore the silly answer, and try to deal with the hint about the 404 blurb, how do I send apt-get to the correct place if and when i find the correct site?, and how would I know what a correct repository is supposed to look like?
Thanks |
Where did you get those apt repository entries (they are listed in /etc/apt/sources.list if you have forgotten) in the first place? And if you copied them from some random place, a good way to start looking them up is to
- Attempt to visit a website at the host the apt repository is on - Perform some search with some prominent web search service to locate the website - When you find the site, find there what the apt repository entries are supposed to look like - Repeat ad nauseam |
the apt output here says something about missing directories, you could start there.
You apparently have a dependency problem - sorry about my silly answer but it didn't seem that surprising with such a sources.list And it's true: you must check the entries at their website. |
repository sites updated
the repository sites must have come from the default new release dvd December 2005 installation of knoppix 4.0 running debian 2.6.12, everything on this sys is from the dvd. except for the nvidia driver i installed.
the only thing i am trying to install at the moment is a firewall called guarddog, i was told to do apt-get update, then do apt-get install guarddog, I have done nothing else, but i do want to get the firewall working. i did search the web and discovered that ndiswrapper is a windows translation thing, i dont need it, and the kanotix is a german site that was all greek to me, not sure if i need it, can i just rem the references to these repositories in my /etc/apt/sources.list? if so then i still need to know why doing apt-get install guarddog does not install guarddog by the way, i fiddled briefly with several linux versions over the years, never really doing much, just recently i decided to actually do something with it, and so i still have a lot to learn. I chose this dvd type, because i am on a satelite modem, and am restricted to a maximum download of 350mb in a four hour period, after which (if i exceed the threshold) i am restricted to surfing only for 24 hours, downloading 2 to 3 gig of files would take a couple of weeks. it is my intent to explore the default software installed by the dvd, and remove the stuff i do not need, i chose to do this cause it was eaisier to remove it after trying it, than it is to search for software that i can not identify, or properly name in the first place. Thanks again :) |
There is a command called apt-setup that will give you a standard debian sources.list, from the nearest mirror or the one that matches your locale.
You could back up this one and try it. Anyway I would rem(ove) everything except the stable and testing entries and see what happens, maybe the deps would resolve. |
k i think i solved the errors by rem ing the entries in my sources list, but i will try the apt-setup as u suggested, thank you much :)
|
All times are GMT -5. The time now is 06:56 PM. |