LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-18-2004, 09:43 PM   #1
Santorres
Member
 
Registered: Jun 2003
Location: Bogota, Colombia
Distribution: Red Hat 8, knoppix, Xandros
Posts: 51

Rep: Reputation: 15
Question APT-GET problems. Please help me..




>>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...


 
Old 05-18-2004, 11:31 PM   #2
binidiot
Member
 
Registered: May 2004
Location: Spain
Distribution: Debian Woody, FreeBSD 5.2.1
Posts: 106

Rep: Reputation: 15
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.
 
Old 05-19-2004, 12:25 PM   #3
comp12345
Member
 
Registered: Feb 2004
Posts: 467

Rep: Reputation: 30
Run an
Code:
apt-get update
before running
Code:
apt-get -f install
 
Old 05-19-2004, 10:06 PM   #4
Santorres
Member
 
Registered: Jun 2003
Location: Bogota, Colombia
Distribution: Red Hat 8, knoppix, Xandros
Posts: 51

Original Poster
Rep: Reputation: 15
It does not work yet... Please...



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.

 
Old 05-19-2004, 10:45 PM   #5
alexfittyfives
LQ Newbie
 
Registered: May 2004
Distribution: Debian/Ubuntu
Posts: 15

Rep: Reputation: 0
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?
 
Old 05-20-2004, 01:44 PM   #6
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
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

Last edited by Genesee; 05-20-2004 at 01:47 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get problems curly08 Ubuntu 4 05-06-2005 03:51 AM
apt-get problems PDD Linux - Software 1 11-11-2004 05:44 AM
apt-get problems PDD Linux - Software 3 10-26-2004 07:02 AM
I am having APT problems UncleAnt Conectiva 1 10-15-2004 12:04 AM
problems with apt-get wedgeworth Linux - Software 66 12-31-2003 05:19 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration