kanotix.com
General Support - problem with apt
gianni21 - 20.10.2006, 09:09 Uhr
Titel: problem with apt
hi guys i've a problem with apt. I didn't use kanotix for long time, and today i've decided to boot this O.S. I've tried to operate with apt but it don't work...
A lot of repository are unavailable and if i foud a package and i would install it the error message is: Package is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
this is my sources.list:
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.
# Unstable
deb http://ftp.us.debian.org/debian unstable main contrib non-free
deb-src http://ftp.us.debian.org/debian unstable main contrib non-free
# Testing
deb http://ftp.us.debian.org/debian testing main contrib non-free
deb-src http://ftp.us.debian.org/debian testing main contrib non-free
# Experimental
#deb http://ftp.de.debian.org/debian experimental main contrib non-free
#deb-src http://ftp.de.debian.org/debian experimental main contrib non-free
# Kanotix
deb http://kanotix.com/files/debian sid main contrib non-free vdr
deb-src http://kanotix.com/files/debian sid main contrib non-free vdr
# Pixma
deb http://mambo.kuhp.kyoto-u.ac.jp/~takushi/debian ./
# Loibls Archiv
deb http://www.andreas-loibl.de/linux/debian ./
deb-src http://www.andreas-loibl.de/linux/debian ./
# Tobi's Experimental VDR Repository (multipatch)
deb http://e-tobi.net/vdr-experimental sid base addons vdr-multipatch
deb-src http://e-tobi.net/vdr-experimental sid base addons vdr-multipatch
bluewater - 20.10.2006, 09:44 Uhr
Titel:
I am a bit perplexed by "a lot of the repository is unavailable"
However as you said a long time .. are your keys up to date
apt-get install kanotix-keyrings
then
apt-get update
apt-get install whatevereverpackageyouwanted
Be careful though , if its been a while for you you will probably pull in a lot of other upgrades for all sorts of stuff like xorg blah blah.
You should probably do a dist-upgrade
"Always check Current Warnings on the KANOTIX main web site. Log out of KDE. Go to Textmode by doing Ctrl+Alt+F1 ; logon as root, and then in type init 3 ; apt-get update ; apt-get dist-upgrade ;run fix-fonts ; run fglrx or nvidia script if xorg updated and you have such a graphics adapter otherwise do ; init 5 && exit
[DO NOT DIST-UPGRADE [or UPGRADE] with adept or synaptic]'
Then there is also the h2 d-u script .. read the latest threads for the h2 d-u script at:
http://kanotix.com/PNphpBB2-viewtopic-t-19305.html
the h2 site is here:
http://techpatterns.com/forums/about736.html
Your best option is to bite the bullet and get hold of 2006-01-RC4 (see main website page) and do a upgrade install, the off- line-faq has info to help you to upgrade-install and the on-line-faq has the full monty
devil - 20.10.2006, 11:10 Uhr
Titel:
gianni,
http://ftp.de.debian.org/debian was unreachable this morning.
you can use ftp2 instead
the following line will set that for you:
perl -pi -e s/ftp.de.debian.org/ftp2.de.debian.org/ /etc/apt/sources.list
then apt-get update and you are good to go
greetz
devil
gianni21 - 20.10.2006, 11:40 Uhr
Titel:
see here:
root@linuxbox:/etc/apt# apt-get install kanotix-keyrings
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
kanotix-keyrings: Depends: debian-archive-keyring but it is not installable
E: Broken packages
devil - 20.10.2006, 11:46 Uhr
Titel:
did you do, what i suggested?
what kanotix-version?
greetz
devil
gianni21 - 20.10.2006, 14:10 Uhr
Titel:
yes i've make that u have suggest....
my kanotix version is 2.6.14-kanotix-6
devil - 20.10.2006, 14:37 Uhr
Titel:
thats not the kanotix-version, but the kernel, but i guess, its 2005-04
bit old. why dont you do an update-install with the newest version 2006-01 RC4?
i really dont know, what the problem is.
greetz
devil
gianni21 - 20.10.2006, 14:40 Uhr
Titel:
devil can i update the distro from apt or i must download the new o.s. and reinstall it?
devil - 20.10.2006, 14:50 Uhr
Titel:
you have to get the new iso and you can do update-install from the installer there.
your home will be preserved.
greetz
devil
witthoet - 02.11.2006, 02:01 Uhr
Titel: problem with apt
I am having a similar problem. When I do an apt-get upgrade I get a lot of "400 bad requests or 404 not found" from the responding server.
I tried to upgrade my key ring and get "You may want to run apt-get update to correct these problem(a bunch of errors before this message saying no such file or directory). Couldn't find package kanotix-keyrings"
What version do I have? Not sure my kernel is 2.6.15-nast-5. This is a prebuilt kernel from Laura Chappell's NAST course.
I am already downloading the RC4 for the latest ISO version but would like to fix this because I have been told that installing your ISO will break some of the forensic software that is installed.
bluewater - 02.11.2006, 02:38 Uhr
Titel:
An update -nstall from the live-cd does not break apps , it just takes them out by default.
To quote :"Packages not on the Live-CD will be deinstalled. This effect is induced by principle but can be reversed."
On the 2006-01-RC4 Live-CD there is a an off-line-faq that has a tab called "dist-upgrades" (has been renamed for the upcoming RC5 version , not out as yet, to "Upgrading KANOTIX"). it tells you how to preserve apps
It is also on-line here
http://kanotix.com/FAQ-id_cat-63.html#q275
(approx 12 hours later 3/11/2006 0048. AEDST: google
your search - 2.6.15-nast-5. - did not match any documents.)
piper - 02.11.2006, 06:23 Uhr
Titel: Re: problem with apt
witthoet hat folgendes geschrieben::
I am having a similar problem. When I do an apt-get upgrade I get a lot of "400 bad requests or 404 not found" from the responding server.
I tried to upgrade my key ring and get "You may want to run apt-get update to correct these problem(a bunch of errors before this message saying no such file or directory). Couldn't find package kanotix-keyrings"
What version do I have? Not sure my kernel is 2.6.15-nast-5. This is a prebuilt kernel from Laura Chappell's NAST course.
I am already downloading the RC4 for the latest ISO version but would like to fix this because I have been told that installing your ISO will break some of the forensic software that is installed.
Are you talking about this
http://www.hotlabs.org/toolkit/
and the software
http://www.hotlabs.org/toolkit/nast-win-sw-wired.html
What linux distro does this use ?
Try in konsole
Code:
wget -O/etc/apt/sources.list http://kanotix.com/files/fix/sources.list
apt-get update
witthoet - 03.11.2006, 01:27 Uhr
Titel:
Thanks.
That seemed to help with the problem with the kanotix www site but I am getting NO SUCH FILE OR DIRECTORY errors from the ftp.de.debian.org site. I tried using ftp2..... but same think
Am going to log off here(using Vista RC2 box) and relogon with my Dell D520 laptop that comes with the HOTLABS course(Highly Recommended) so I can post the results of the apt-get update.
witthoet - 03.11.2006, 01:34 Uhr
Titel:
Here is the out put of the wget -O/etc/apt/sources.list http://kanotix.com/files/fix/sources.list command:
--19:29:22-- http://kanotix.com/files/fix/sources.list
=> `/etc/apt/sources.list'
Resolving kanotix.com... 85.10.195.118
Connecting to kanotix.com|85.10.195.118|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 759 [text/plain]
100%[==========================================================>] 759 --.--K/s
19:29:37 (65.80 MB/s) - `/etc/apt/sources.list' saved [759/759]
root@box:~#
Here is the output of my apt-get update, I also tried FTP2 and get the same thing:
Hit http://kanotix.com sid/main Packages
Hit http://kanotix.com sid/main Release
Hit http://kanotix.com sid/contrib Packages
Hit http://kanotix.com sid/contrib Release
Hit http://kanotix.com sid/non-free Packages
Hit http://kanotix.com sid/non-free Release
Hit http://kanotix.com sid/main Sources
Hit http://kanotix.com sid/main Release
Hit http://kanotix.com sid/contrib Sources
Hit http://kanotix.com sid/contrib Release
Hit http://kanotix.com sid/non-free Sources
Hit http://kanotix.com sid/non-free Release
Err http://ftp.de.debian.org unstable/main Packages
400 Bad Request
Ign http://ftp.de.debian.org unstable/main Release
Err http://ftp.de.debian.org unstable/contrib Packages
400 Bad Request
Ign http://ftp.de.debian.org unstable/contrib Release
Err http://ftp.de.debian.org unstable/non-free Packages
400 Bad Request
Ign http://ftp.de.debian.org unstable/non-free Release
Err http://ftp.de.debian.org unstable/main Sources
400 Bad Request
Ign http://ftp.de.debian.org unstable/main Release
Err http://ftp.de.debian.org unstable/contrib Sources
400 Bad Request
Ign http://ftp.de.debian.org unstable/contrib Release
Err http://ftp.de.debian.org unstable/non-free Sources
400 Bad Request
Ign http://ftp.de.debian.org unstable/non-free Release
Err http://ftp.de.debian.org testing/main Packages
400 Bad Request
Ign http://ftp.de.debian.org testing/main Release
Err http://ftp.de.debian.org testing/contrib Packages
400 Bad Request
Ign http://ftp.de.debian.org testing/contrib Release
Err http://ftp.de.debian.org testing/non-free Packages
400 Bad Request
Ign http://ftp.de.debian.org testing/non-free Release
Err http://ftp.de.debian.org testing/main Sources
400 Bad Request
Ign http://ftp.de.debian.org testing/main Release
Err http://ftp.de.debian.org testing/contrib Sources
400 Bad Request
Ign http://ftp.de.debian.org testing/contrib Release
Err http://ftp.de.debian.org testing/non-free Sources
400 Bad Request
Ign http://ftp.de.debian.org testing/non-free Release
Reading Package Lists...
witthoet - 03.11.2006, 02:49 Uhr
Titel:
I think I will hold still for a while. I am getting a clean apt-get upgrade, but with 374 packages on hold. Most of these are gnome, kde and X files. I think I will let it settle down for a while and see if everything is working OK before I try anything else.
What I was really shooting for was to upgrade the kernel to see if I could get my Intel WIFI card working on this Dell D520. I think it is an Intel 3945.
PIPER, thanks for your suggestions. If you do have anything else you would like me to try, I will be happy to.
v/r
Tim
piper - 03.11.2006, 05:09 Uhr
Titel:
Assuming your in the U.S., Change your source list to read like this, then apt-get update, it would be wise to use h2's d-u script found in my sig. READ CAREFULLY
# Unstable
deb http://ftp.us.debian.org/debian/ unstable main contrib non-free
deb-src http://ftp.us.debian.org/debian/ unstable main contrib non-free
# Testing
deb http://ftp.us.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.us.debian.org/debian/ testing main contrib non-free
# Experimental
# deb http://ftp.us.debian.org/debian/ experimental main contrib non-free
# deb-src http://ftp.us.debian.org/debian/ experimental main contrib non-free
# Kanotix
deb http://kanotix.com/files/debian/ sid main contrib non-free vdr
deb-src http://kanotix.com/files/debian/ sid main contrib non-free vdr
witthoet - 03.11.2006, 12:10 Uhr
Titel:
I ran the script but it aborted. It said the install was to old or not supported
I placed the lines you gave me in my source.list file and while it looks better, I am still getting index files failed to load errors:
oot@box:~# apt-get update
Get:1 http://ftp.us.debian.org unstable Release.gpg [189B]
Get:2 http://ftp.us.debian.org testing Release.gpg [189B]
Get:3 http://ftp.us.debian.org unstable Release [79.6kB]
Get:4 http://ftp.us.debian.org testing Release [74.4kB]
Get:5 http://ftp.us.debian.org unstable/main Packages [4435kB]
Ign http://kanotix.com sid Release.gpg
Ign http://kanotix.com sid Release
Ign http://kanotix.com sid/main Packages/DiffIndex
Ign http://kanotix.com sid/contrib Packages/DiffIndex
Ign http://kanotix.com sid/non-free Packages/DiffIndex
Ign http://kanotix.com sid/vdr Packages
Ign http://kanotix.com sid/main Sources/DiffIndex
Ign http://kanotix.com sid/contrib Sources/DiffIndex
Get:6 http://ftp.us.debian.org unstable/contrib Packages [62.4kB]
Get:7 http://ftp.us.debian.org unstable/non-free Packages [89.8kB]
Get:8 http://ftp.us.debian.org unstable/main Sources [1258kB]
Ign http://kanotix.com sid/non-free Sources/DiffIndex
Ign http://kanotix.com sid/vdr Sources
Ign http://kanotix.com sid/main Packages
Ign http://kanotix.com sid/contrib Packages
Get:9 http://ftp.us.debian.org unstable/contrib Sources [21.7kB]
Get:10 http://ftp.us.debian.org unstable/non-free Sources [30.0kB]
Get:11 http://ftp.us.debian.org testing/main Packages [4214kB]
Ign http://kanotix.com sid/non-free Packages
Err http://kanotix.com sid/vdr Packages
400 Bad Request
Ign http://kanotix.com sid/main Sources
Ign http://kanotix.com sid/contrib Sources
Ign http://kanotix.com sid/non-free Sources
Get:12 http://ftp.us.debian.org testing/contrib Packages [50.4kB]
Get:13 http://ftp.us.debian.org testing/non-free Packages [76.0kB]
Get:14 http://ftp.us.debian.org testing/main Sources [1207kB]
Err http://kanotix.com sid/vdr Sources
400 Bad Request
Err http://kanotix.com sid/main Packages
400 Bad Request
Get:15 http://ftp.us.debian.org testing/contrib Sources [17.7kB]
Get:16 http://ftp.us.debian.org testing/non-free Sources [26.3kB]
Err http://kanotix.com sid/contrib Packages
400 Bad Request
Err http://kanotix.com sid/non-free Packages
400 Bad Request
Err http://kanotix.com sid/main Sources
400 Bad Request
Err http://kanotix.com sid/contrib Sources
400 Bad Request
Err http://kanotix.com sid/non-free Sources
400 Bad Request
Fetched 11.6MB in 2m8s (90.8kB/s)
Failed to fetch http://kanotix.com/files/debian/dists/s ... ackages.gz 400 Bad Request
Failed to fetch http://kanotix.com/files/debian/dists/s ... Sources.gz 400 Bad Request
Failed to fetch http://kanotix.com/files/debian/dists/s ... ackages.gz 400 Bad Request
Failed to fetch http://kanotix.com/files/debian/dists/s ... ackages.gz 400 Bad Request
Failed to fetch http://kanotix.com/files/debian/dists/s ... ackages.gz 400 Bad Request
Failed to fetch http://kanotix.com/files/debian/dists/s ... Sources.gz 400 Bad Request
Failed to fetch http://kanotix.com/files/debian/dists/s ... Sources.gz 400 Bad Request
Failed to fetch http://kanotix.com/files/debian/dists/s ... Sources.gz 400 Bad Request
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.
root@box:~#
witthoet - 03.11.2006, 12:16 Uhr
Titel:
oops.
I did an apt-get update about 5 times in a row and then it finally completed successfully.
I then did an apt-get upgrade and no change. I have 374 applications on hold. Most of them are gnome, kde, x files and lib files.
v/r
jackiebrown - 03.11.2006, 14:09 Uhr
Titel:
Try apt-get dist-upgrade
**ducks off to work before problems ensue.
witthoet - 03.11.2006, 14:40 Uhr
Titel:
I considered doing an apt-get dist-upgrade but have seen articles saying that that may actually create problems.
The one concern I have is that I don't want ANY of the currently installed applications removed. If I do a dist-upgrade my understanding is that if it can't find a package upgrade then it removes the old package. Is that correct?
v/r
wegface - 03.11.2006, 18:39 Uhr
Titel:
no that is not correct. If h2's script tells u its too old to run a d-u, i'd wisely listen and upgrade with the new cd as suggested. Dist-upgrading a really old system WILL cause problems- if u know how to fix them fine, but if you dont......
piper - 04.11.2006, 00:02 Uhr
Titel:
jackiebrown hat folgendes geschrieben::
Try apt-get dist-upgrade
**ducks off to work before problems ensue.
I agree totally with the dist-upgrade part that is why the prefered way in Kanotix is DIST-UPGRADE
some will argue but .....................
wegface hat folgendes geschrieben::
no that is not correct. If h2's script tells u its too old to run a d-u, i'd wisely listen and upgrade with the new cd as suggested. Dist-upgrading a really old system WILL cause problems- if u know how to fix them fine, but if you dont......
I agree once again
witthoet
what does the output of
cat /etc/kanotix-version and uname -a give you ?
The smartest thing to do is download and install KANOTIX-2006-01-RC4
piper - 04.11.2006, 00:06 Uhr
Titel:
Editing the file /etc/apt/apt.conf and adding this
Code:
Acquire::PDiffs "false";
to it will get rid of the DiffIndex
witthoet - 04.11.2006, 02:21 Uhr
Titel:
The output of cat /etc/kanotix-version is "BUG HUNTER X"
The output of uname -a is:
"Linux box 2.6.13-nast-5 #3 Thu Aug 10 12:02:07: EDT 2006 i686 GNU/Linux"
I downloaded RC4 yesterday so will try to install, if that doesn't work then I will do a apt-get distro-upgrade
v/r
witthoet - 04.11.2006, 02:39 Uhr
Titel:
Upgrading from the RC4 CD is a no go.
When I try to upgrade it says no Kanotix installation found.
I think the build is so customized that it is no longer recognized as a Kanotix build.
I will try the distro-upgrade.
For what it is worth Kanotix looks good. I have never used it before and am impressed. Normally I use Fedora and am playing with FC6 now.
I will let you know how it turns out - including if I trash my system and have to rebuild. HA HA
witthoet - 04.11.2006, 02:46 Uhr
Titel:
Dist-upgrade is underway.
Because I am at my weekend house with a slow internet it will take around 13 hours to get 443MEG of files.
Will let you know how it goes.
v/r
witthoet - 04.11.2006, 03:06 Uhr
Titel:
And the light bulb turned on!
All of you helpful people kept telling me what to do to fix this and yet nothing "really" worked. I then decided to go back to square one and start from the most basic assumption - Is this Kanotix??
My assumption is YES. Why? Because when the kernel starts booting it shows the Kanotix line along with the penguiin. I assumed it was a Kanotix distro with a remote-exploit.org software package installed on it.
It actually appears to be a distribution in itself from Remote-exploit.org. The thing that made me originally think this was not the case was that their WWW site says their distro is built on Knoppix it didn't mention Kanotix...
So, I guess the question is Is Debian=Knoppix=Kanotix? Are the last two based on Debian? I guess so but would like to confirm.
Anyway, the answer is to probably see if an update is available from the www.remote-exploit.org site but I think I will just see what happens with the apt-get dist-upgrade that is underway. If I don't like the results I will just restore from backup and then upgrade from remote-exploit.org
v/r
v/r
Crest - 04.11.2006, 03:19 Uhr
Titel:
Yes, Knoppix and Kanotix are Debian based. And Kanotix was originally just a modified Knoppix with better HW support and easier HD installation. Nowadays its a distribution on it's own, just with even better HW support
witthoet - 04.11.2006, 03:27 Uhr
Titel:
I am very impress with Kanotix.
I am thinking of just installing in on the NAST laptop I have and then just installing all the tools manually. It will be a LOT of work but....
Anyway, I will touch base with the forum tomorrow sometime and let you know how it when with the dist-upgrade.
Thanks all for your time, understanding and patiences for a Kanotix newbie...
v/r
Kano - 04.11.2006, 10:52 Uhr
Titel:
Kanotix was never a modified Knoppix. It was a rebuild with Knoppix tools added.
wegface - 04.11.2006, 11:00 Uhr
Titel:
Bug hunter is sooo old your dist-upgrade will fail miserably as more than one person said in this thread. Downloading kanotix from other sites is generally not the best idea, much safer to dl from here....
witthoet - 06.11.2006, 22:28 Uhr
Titel:
Well, the dist-upgrade cause it to remove X so I quit, restored from backup and am back to the original build of the software.
No harm done and a lot of lessons learned.
I will just download the update form Remote-exploit.org and keep trucking.
Thanks all..
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007