PDA

View Full Version : problem with apt



waellinux
04-29-2005, 02:03 AM
after installing knoppix 3.7 on hdd i tried to use apt-get but nothing happend for example
root@box:/home/waelali# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

then i tried to install kaffeine or freecraft(game) this was the answer

root@box:/home/waelali# apt-get install freecraft
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package freecraft


root@box:/home/waelali# apt-get install kaffeine
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package kaffeine

tdjokic
04-29-2005, 04:06 AM
If you use grafic apt-get(?) - kpackages, it is easier, you cen see all packages and select them.

sd5867
04-29-2005, 05:33 AM
It sounds like kaffine and freecraft are not the proper names of the packages. Just incase, do an apt-get update, to make sure you have your packages loaded. Also, make sure you have the proper privliges for apt-get if not, it won't let you get the packages.

As, like tdjokic, use a graphical package manager to get the packages you need, it'll show you all available packages and descriptions, you can do this by either kpackage or synaptic, both are great. if you have them installed, just type them in the run command. If not, use

apt-get install kapackage
apt-get install synaptic



SD

waellinux
04-29-2005, 12:02 PM
i tried to install synaptic by using this command
apt-get install synaptic
but u can see
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package synaptic

can it be aworng in source .list ?
every line in this file is starting with # is that right or wrong?

Markus
04-29-2005, 12:36 PM
Either the sources.list or you didn't update the local database: "dselect update"

sd5867
04-29-2005, 04:12 PM
can it be wrong in source .list ?
every line in this file is starting with # is that right or wrong?

the # means that it is a comment in the sources.list.

remove the # from all the lines that start out deb http://...... or deb ftp://.......
then do an apt-get update

Markus
04-29-2005, 09:36 PM
Oops, should have read the whole post ;)

bab_fast
05-03-2005, 08:21 PM
i have a problem : i want to upgrade mai os with this command : apt-get upgrade
when it finnish the download status it write this ...

bab_fast
07-20-2005, 12:42 AM
Unpacking libice6 (from
.../libice6_4.3.0.dfsg.1-12.0.1_i386.deb) ...
dpkg: error processing
/var/cache/apt/archives/libice6_4.3.0.dfsg.1-12.0.1_i386.deb
(--unpack):
trying to overwrite `/usr/X11R6/lib/libICE.so.6.3',
which is also in package xlibs
dpkg-deb: subprocess paste killed by signal (Broken
pipe)

fingers99
07-20-2005, 08:54 PM
An apt-get upgrade will almost certainly either fail or break a HD install of Knoppix. You could do a lot worse than read the first few lines of /etc/apt/sources.list

gvim /etc/apt/sources.list:



# /etc/apt/sources.list for Knoppix
# If you want to do a "full upgrade", you should first
# upgrade the Packages from Debian/unstable (KDE & Co.)
# before doing a (dist-)upgrade for Debian/testing.

# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.