apt-get and cnr client
I am trying to use apt-get to reinstall my cnr client in linsprie oem,
Thsi is the output that I am getting from apt-get update pc1:~# apt-get update Err ftp://non-us.debian.org sarge/non-US/main Packages Could not resolve 'non-us.debian.org' Get:1 ftp://ftp.us.debian.org sarge/main Packages Err ftp://ftp.us.debian.org sarge/main Packages Unable to fetch file, server said 'Failed to open file. ' [IP: 204.152.191.39 21] Get:2 ftp://ftp.us.debian.org sarge/main Release Err ftp://non-us.debian.org sarge/non-US/main Release Could not resolve 'non-us.debian.org' Ign ftp://ftp.us.debian.org sarge/main Release Get:3 ftp://ftp.us.debian.org sarge/contrib Packages Err ftp://ftp.us.debian.org sarge/contrib Packages Unable to fetch file, server said 'Failed to open file. ' [IP: 204.152.191.39 21] Err ftp://non-us.debian.org sarge/non-US/contrib Packages Could not resolve 'non-us.debian.org' Get:4 ftp://ftp.us.debian.org sarge/contrib Release Ign ftp://ftp.us.debian.org sarge/contrib Release Get:5 ftp://ftp.us.debian.org sarge/non-free Packages Err ftp://non-us.debian.org sarge/non-US/contrib Release Could not resolve 'non-us.debian.org' Err ftp://ftp.us.debian.org sarge/non-free Packages Unable to fetch file, server said 'Failed to open file. ' [IP: 204.152.191.39 21] Get:6 ftp://ftp.us.debian.org sarge/non-free Release Ign ftp://ftp.us.debian.org sarge/non-free Release Err ftp://non-us.debian.org sarge/non-US/non-free Packages Could not resolve 'non-us.debian.org' Err ftp://non-us.debian.org sarge/non-US/non-free Release Could not resolve 'non-us.debian.org' Failed to fetch ftp://ftp.us.debian.org/debian/dists...-i386/Packages Unable to fetch file, server said 'Failed to open file. ' [IP: 204.152.191.39 21] Failed to fetch ftp://ftp.us.debian.org/debian/dists...-i386/Packages Unable to fetch file, server said 'Failed to open file. ' [IP: 204.152.191.39 21] Failed to fetch ftp://ftp.us.debian.org/debian/dists...-i386/Packages Unable to fetch file, server said 'Failed to open file. ' [IP: 204.152.191.39 21] Failed to fetch ftp://non-us.debian.org/debian-non-U...-i386/Packages Could not resolve 'non-us.debian.org' Failed to fetch ftp://non-us.debian.org/debian-non-U...y-i386/Release Could not resolve 'non-us.debian.org' Failed to fetch ftp://non-us.debian.org/debian-non-U...-i386/Packages Could not resolve 'non-us.debian.org' Failed to fetch ftp://non-us.debian.org/debian-non-U...y-i386/Release Could not resolve 'non-us.debian.org' Failed to fetch ftp://non-us.debian.org/debian-non-U...-i386/Packages Could not resolve 'non-us.debian.org' Failed to fetch ftp://non-us.debian.org/debian-non-U...y-i386/Release Could not resolve 'non-us.debian.org' Reading Package Lists... Done Building Dependency Tree... Done W: Couldn't stat source package list ftp://ftp.us.debian.org sarge/main Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_sarge_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list ftp://ftp.us.debian.org sarge/contrib Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_sarge_contrib_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list ftp://ftp.us.debian.org sarge/non-free Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_sarge_non-free_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list ftp://non-us.debian.org sarge/non-US/main Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_sarge_non-US_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list ftp://non-us.debian.org sarge/non-US/contrib Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_sarge_non-US_contrib_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list ftp://non-us.debian.org sarge/non-US/non-free Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_sarge_non-US_non-free_binary-i386_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. pc1:~# Here is what my sources.list shows # If you uncomment the lines below you can use apt-get to install packages # from the Debian distribution. However, PLEASE NOTE that you may pull in # packages which are incompatible with the LindowsOS distribution, and will # cause the CNR installer to stop working deb ftp://ftp.us.debian.org/debian sarge main contrib non-free deb ftp://non-us.debian.org/debian-non-US sarge/non-US main contrib non-free I am trying to update this so I can reinstall my cnr client which is not working. |
Talk about ancient. The sarge repositories were moved to
http://archive.debian.org. You will need to edit yout /etc/apt/sources.list. Ie replace ftp.us.debian.org with archive.debian.org. Evo2. |
Here is my output from console
pc1:~# apt-get update E: Type 'http://archive.debian.org' is not known in on line 5 in source list /etc/apt/sources.li pc1:~# E: Type 'http://archive.debian.org' is not known in on line 5 in source list /etc/apt/sources.list Here is what my sources.list looks like # If you uncomment the lines below you can use apt-get to install packages # from the Debian distribution. However, PLEASE NOTE that you may pull in # packages which are incompatible with the LindowsOS distribution, and will # cause the CNR installer to stop working http://archive.debian.org |
Seems spoon feeding may be needed. Please put the follwing line in you sources.list and delete/comment any lines causing errors.
Code:
deb http://archive.debian.org/debian sarge main contrib non-free Cheers, Evo2. |
How could I use apt-get to install the cnr client?
|
Get the .deb and double click on it.
|
Quote:
Code:
apt-get update Please read about how to use apt-get at the following URL. http://www.debian.org/doc/manuals/apt-howto/ Evo2. |
I did the update and this is the output that I am getting
pc1:~# apt-get install cnr-client Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package cnr-client pc1:~# |
Wehn I try to install different packages such as cnrclient I am getting the message that I ahve unmet dependenciesand than it says try runnign apt-get -f install whith no package name and this is the output that I am getting.
|
Quote:
Code:
dpkg -l cnr-client |
Quote:
Evo2. |
The name of the client was wrong this is the output I am now getting
pc1:~# apt-get install cnr-client Reading Package Lists... Done Building Dependency Tree... Done Debian Configuration |
Quote:
Code:
apt-get install --reinstall cnr-client |
I am still having problems the name of the program was wrong I have the right name. This is the output that I am getting.
pc1:~# apt-get install cnrclient Reading Package Lists... Done Building Dependency Tree... Done caner Configuration |
pc1:~# apt-get install cnrclient
Reading Package Lists... Done Building Dependency Tree... Done Debian Configuration ───────────────────────────────────────────────────────────────────────────────── ┌───────────────────────────[!!] Configuring Libc6─────────────────────────────┐ │ Running services and programs that are using NSS need to be restarted, │ │ otherwise they might not be able to do lookup or authentication any more. │ │ The installation process is able to restart some services (such as ssh or │ │ telnetd), but other programs cannot be restarted automatically. One such │ │ program that needs manual stopping and restart after the glibc upgrade by │ │ yourself is xdm - because automatic restart might disconnect your active │ │ X11 sessions. │ │ │ │ This script detected the following installed services which must be │ │ stopped before the upgrade: kdm │ │ │ │ If you want to interrupt the upgrade now and continue later, please │ │ answer No to the question below. │ │ │ │ Do you want to upgrade glibc now? │ │ │ │ │ ├──────────────────────────────────────────────────────────────────────────────┤ │ < Yes > < No > │ └──────────────────────────────────────────────────────────────────────────────┘ readlink: invalid option -- e Try `readlink --help' for more information. readlink: invalid option -- e Try `readlink --help' for more information. readlink: invalid option -- e Try `readlink --help' for more information. readlink: invalid option -- e Try `readlink --help' for more information. readlink: invalid option -- e Try `readlink --help' for more information. readlink: invalid option -- e Try `readlink --help' for more information. readlink: invalid option -- e Try `readlink --help' for more information. readlink: invalid option -- e Try `readlink --help' for more information. readlink: invalid option -- e Try `readlink --help' for more information. readlink: invalid option -- e Try `readlink --help' for more information. readlink: invalid option -- e Try `readlink --help' for more information. WARNING: POSIX threads library NPTL requires kernel version 2.6.8 or later. If you use a kernel 2.4, please upgrade it before installing glibc. The installation of a 2.6 kernel _could_ ask you to install a new libc first, this is NOT a bug, and should *NOT* be reported. In that case, please add etch sources to your /etc/apt/sources.list and run: apt-get install -t etch linux-image-2.6 Then reboot into this new kernel, and proceed with your upgrade dpkg: error processing /var/cache/apt/archives/libc6_2.7-18_i386.deb (--unpack): subprocess pre-installation script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/libc6_2.7-18_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) This is the last output that Iam getting pc1:~# |
All times are GMT -5. The time now is 04:37 AM. |