LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   APT-GET problems. Please help me.. (http://www.linuxquestions.org/questions/linux-general-1/apt-get-problems-please-help-me-183108/)

Santorres 05-18-2004 09:43 PM

APT-GET problems. Please help me..
 
:Pengy:

>>I'm a new Knoppix User, i never used apt-get before. I posted a thread three days ago asking for some help using it, but here is what i got:

>>The next lines are just an example of it trying to download synaptic, but anyway i got the same with every package, even if i used the Kpackage my distro brought.

Invalid operation synaptic
root@CyberComunista:/home/knoppix# apt-get install synaptic
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
Sorry, but the following packages have unmet dependencies:
libwine: Depends: libxv1 but it is not going to be installed
synaptic: Depends: libapt-pkg-libc6.3-5-3.3
Depends: libatk1.0-0 (>= 1.4.1) but 1.2.3-1 is to be installed
Depends: libglib2.0-0 (>= 2.2.3) but 2.2.1-3 is to be installed
Depends: libxml2 (>= 2.6.8) but 2.5.6-2 is to be installed
Depends: libzvt2.0-0 (>= 2.0.1cvs20021009-1) but it is not going to be installed
Depends: zlib1g (>= 1:1.2.1) but 1:1.1.4-11 is to be installed
Depends: scrollkeeper but it is not going to be installed
W: Couldn't stat source package list http://non-us.debian.org ./ Packages (/var/lib/apt/lists/non-us.debian.org_%7ekitame_mozilla_._Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://people.debian.org sid/i386/ Packages (/var/lib/apt/lists/people.debian.org_%7ebranden_packages_sid_i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://www.penguinppc.org ./ Packages (/var/lib/apt/lists/www.penguinppc.org_%7edaniels_sid_i386_._Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

>> So according to this i tried what it says (apt-get -f install), and i got this:

root@CyberComunista:/home/knoppix# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libxv1
The following NEW packages will be installed:
libxv1
0 packages upgraded, 1 newly installed, 0 to remove and 900 not upgraded.
14 packages not fully installed or removed.
Need to get 0B/138kB of archives. After unpacking 299kB will be used.
Do you want to continue? [Y/n] y

>> Now i got this:

W: Couldn't stat source package list http://non-us.debian.org ./ Packages (/var/lib/apt/lists/non-us.debian.org_%7ekitame_mozilla_._Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://people.debian.org sid/i386/ Packages (/var/lib/apt/lists/people.debian.org_%7ebranden_packages_sid_i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://www.penguinppc.org ./ Packages (/var/lib/apt/lists/www.penguinppc.org_%7edaniels_sid_i386_._Packages) - stat (2 No such file or directory)
(Leyendo la base de datos ...
111641 ficheros y directorios instalados actualmente.)
Desempaquetando libxv1 (de .../libxv1_4.3.0.dfsg.1-1_i386.deb) ...
dpkg: error al procesar /var/cache/apt/archives/libxv1_4.3.0.dfsg.1-1_i386.deb (--unpack):
intentando sobreescribir `/usr/X11R6/lib/libXv.so.1.0', que está también en el paquete xlibs
dpkg-deb: el subproceso paste fue terminado por la señal (Tubería rota)
Se encontraron errores al procesar:
/var/cache/apt/archives/libxv1_4.3.0.dfsg.1-1_i386.deb
W: Couldn't stat source package list http://non-us.debian.org ./ Packages (/var/lib/apt/lists/non-us.debian.org_%7ekitame_mozilla_._Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://people.debian.org sid/i386/ Packages (/var/lib/apt/lists/people.debian.org_%7ebranden_packages_sid_i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://www.penguinppc.org ./ Packages (/var/lib/apt/lists/www.penguinppc.org_%7edaniels_sid_i386_._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)

>> SO i tried updating it (apt-get update) and i cant manage to do it yet. What should i do ? Please somebody help me out with this, i'm really a newbie.

Thanks for all for everyone..

Santorres...


:newbie:

binidiot 05-18-2004 11:31 PM

Just a guess, but edit your /etc/apt/sources.list and comment out all those URLs that are not working and add "deb http://http.us.debian.org/debian stable main contrib non-free" , or "http://http.non-us.debian.org/debian stable main contrib non-free" and "deb http://security.debian.org/ stable/updates main" ... run apt-get upgrade, apt-get update and then apt-get install whatever. Cheers.

comp12345 05-19-2004 12:25 PM

Run an
Code:

apt-get update
before running
Code:

apt-get -f install

Santorres 05-19-2004 10:06 PM

It does not work yet... Please...
 
:Pengy:

thanks for your help, anyway it is not working anyway. I tried everything you told me and it still does not work. Please, think in any othr possibility, cause i have tried several.

Is there a way i can restore my whole installation of knoppix, meant, is there a command or function similar as the fuc,,, Micro$soft W. to restore the wai it was before working well ? Please reply me any suggestion.. Thank you again.

:newbie:

alexfittyfives 05-19-2004 10:45 PM

Hmmmm, apt really is your friend for doing this. What is the output you get when running apt-get update?

Why don't you post your /etc/apt/sources.list

Now this sounds really stupid, but you are connected to the internet when you're doing all this aren't you?

Genesee 05-20-2004 01:44 PM

do you mean "apt-get update" failed, or that the install post-update failed?

are you running apt-get update as root?

also, this may help:
http://www.debian.org/doc/manuals/ap.../index.es.html


All times are GMT -5. The time now is 10:47 AM.