PDA

View Full Version : problems with apt-get



peter.bauer
05-30-2003, 07:42 PM
Hi,

I have problems after hdd installation (koppix v3.2):
I tried to install the debian packet "everybuddy 0.2.1beta6-2".
Then I got the error:

root@brainstorm:/home/knoppix# apt-get install /home/knoppix/everybuddy_0.2.1beta6-2_i386.deb
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list http://people.debian.org sid/i386/ Packages (/var/lib/apt/lists/people.debian.org_%7ebranden_sid_i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Couldn't find package
root@brainstorm:/home/knoppix#

Then I tried following things:
root@brainstorm:/home/knoppix# apt-get update
...
Failed to fetch http://people.debian.org/~branden/sid/i386/Packages 404 Not Found
Failed to fetch http://people.debian.org/~branden/sid/source/Sources 404 Not Found
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list http://people.debian.org sid/i386/ Packages (/var/lib/apt/lists/people.debian.org_%7ebranden_sid_i386_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_sid_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.

I found this in /etc/apt/source.list:
# XFree 4.2/4.3
deb http://people.debian.org/~branden sid/i386/
deb-src http://people.debian.org/~branden sid/source/
deb http://www.penguinppc.org/~daniels/sid/i386 ./
deb-src http://www.penguinppc.org/~daniels/sid/source ./

Hm what can I do? :?:

I'd be very happy if anybody could help me.

peter

PS: I'm sorry for my bad English.

Stephen
05-30-2003, 08:29 PM
They moved the branden packages try:


# XFree 4.2/4.3
deb http://people.debian.org/~branden/packages sid/i386/
deb-src http://people.debian.org/~branden/packages sid/source/
deb http://www.penguinppc.org/~daniels/sid/i386 ./
deb-src http://www.penguinppc.org/~daniels/sid/source ./

peter.bauer
05-30-2003, 09:00 PM
jeep,

you're right. The paths were false.
But now there still are another errors:
root@brainstorm:/home/knoppix# ls
dcc Desktop everybuddy_0.2.1beta6-2_i386.deb GNUstep office tmp
root@brainstorm:/home/knoppix# apt-get install everybuddy_0.2.1beta6-2_i386.deb
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package everybuddy_0.2.1beta6-2_i386.deb
root@brainstorm:/home/knoppix#
What's now wrong? I can't check this ...

Am i blind? I can't find the error. I hope anyone can help me.

peter

PS: I'm sorry, but I'm a really linux rookie

Stephen
05-30-2003, 09:34 PM
jeep,

you're right. The paths were false.
But now there still are another errors:
root@brainstorm:/home/knoppix# ls
dcc Desktop everybuddy_0.2.1beta6-2_i386.deb GNUstep office tmp
root@brainstorm:/home/knoppix# apt-get install everybuddy_0.2.1beta6-2_i386.deb
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package everybuddy_0.2.1beta6-2_i386.deb
root@brainstorm:/home/knoppix#
What's now wrong? I can't check this ...

Am i blind? I can't find the error. I hope anyone can help me.

peter

PS: I'm sorry, but I'm a really linux rookie

You are trying to install the stable package with apt-get Here's what apt-cache policy says about the package on my machine:


[05:30 PM Fri May 30: root @ /home/stephen]
># acp everybuddy
everybuddy:
Installed: (none)
Candidate: 0.4.3-1
Version Table:
0.4.3-1 0
990 http://ftp.de.debian.org testing/main Packages
500 http://ftp.de.debian.org unstable/main Packages
0.2.1beta6-2 0
500 http://ftp.de.debian.org stable/main Packages


you should be trying to install version 0.4.3-1 the latest version unless there is some reason you need the older version.



root@brainstorm:/home/knoppix#apt-get -s install everybuddy/unstable

this simulates the install so you can see what apt is going to do if you are happy with what it will do remove the -s to install. Also I notice you have the .deb for the .2 in your directory if you were trying to install this then you should use dpkg



root@brainstorm:/home/knoppix# dpkg -i everybuddy_0.2.1beta6-2_i386.deb

peter.bauer
05-31-2003, 02:20 PM
Hi,
you really helped me a lot. Thanks.
Now it works ;)
I didn't get that I have to use dpkg if the file is already on hdd.
apt-get only installs the new one, but if that doesn't matter, everything is ok. I was only unsure because it was titled with unstable.
Well thanks again that you helped a really linux rookie like me.

peter

PS: I'm sorry for my bad English

Stephen
05-31-2003, 04:46 PM
Hi,
you really helped me a lot. Thanks.
Now it works ;)
I didn't get that I have to use dpkg if the file is already on hdd.
apt-get only installs the new one, but if that doesn't matter, everything is ok. I was only unsure because it was titled with unstable.
Well thanks again that you helped a really linux rookie like me.

peter

PS: I'm sorry for my bad English

Your welcome if your interested in learning more about apt here (http://www.debian.org/doc/manuals/apt-howto/ch-apt-get.en.html) is an apt how-to. Apt can take a little getting used to but it works quite well once you understand it. Also you could have tried to install any version eg. apt-get install everybuddy/stable would have installed the stable version you don't have to take the newest version. And don't be afraid of the "unstable" label on the packages Debian unstable is better than the stable version of most other distributions.

Your english was certainly readable to me. Good luck.