LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-04-2004, 05:42 PM   #1
efi360
Member
 
Registered: Feb 2004
Location: San Antonio, TX.
Distribution: Debian
Posts: 71

Rep: Reputation: 15
Angry Cant get apt to update


Cant get apt to update using bonzi linux wich is a minimal debian with kde
installed on hard drive I dont even know where to procede to fix
just keep sayin done but did not really update .nothing will install with apt-get install See below. ps. net connection is ok Thats how i am posting
Any help please. Thanks

efi@Box2:~$ su
Password:
Box2:/home/efi# apt-get update
Reading Package Lists... Done
Building Dependency Tree... Done
Box2:/home/efi#
Box2:/home/efi# apt-get install kdetoys
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package kdetoys
Box2:/home/efi#
 
Old 04-04-2004, 06:42 PM   #2
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,876

Rep: Reputation: 88
Confirm your /etc/apt/sources.list contains valid entries. There should be some sites listed after you typed apt-get update.
Confirm kdetoys is the correct name for the package.
dpkg --list *partialname* (use the asterisks on either side-substitute your own search string)
will give you a better idea what's available.
That's for Debian anyway.
Good Luck
 
Old 04-04-2004, 06:58 PM   #3
efi360
Member
 
Registered: Feb 2004
Location: San Antonio, TX.
Distribution: Debian
Posts: 71

Original Poster
Rep: Reputation: 15
kdetoys is a correct package I have installed it in other distros Knoppix and Konotix both with apt and no problem. also tried kdegames,fluxbox, xmms. All with no result on this distro still says cant find packages
here is what was in /etc/apt/sources.list I dont know if this is correct for debian or should there be more apreciate the help.


# /etc/apt/sources.list created by Bonzai Linux

# deb ftp://security.debian.org/debian-security stable/updates main

# KDE - please replace x.x.x with the current KDE version.
# deb ftp://ftp.uni-kl.de/pub/linux/kde/stable/x.x.x/Debian woody main

deb cdrom:[Debian GNU/Linux 3.0 (woody) - Bonzai Linux]/ stable contrib main
 
Old 04-04-2004, 07:04 PM   #4
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,876

Rep: Reputation: 88
The "#" in front of most of the entries means they are "commented out". The only working entry you have now is for the CD.
You may want to check the Bonsai site for any further suggestions but you should just remove the "#" in front of the Debian security site and from the kde link (but not the real comment above). Check for the correct version as it suggests.
After removing the "#"'s and adding the KDE version, apt-get should work for you.
 
Old 04-04-2004, 07:14 PM   #5
tuxguy
Member
 
Registered: Mar 2004
Location: North Bay, Ontario - CANADA
Distribution: Debian
Posts: 77

Rep: Reputation: 16
Here is my sources.list
Code:
deb http://debian.lcs.mit.edu/debian/ testing main  contrib non-free
deb-src http://debian.lcs.mit.edu/debian/ testing main  contrib non-free
might want to take the testing out.. I am running sarge.

using apt-cache search kdetoys

It returns a good package, so just add these to your sources.list file and apt-get update then the cache search...

good luck

Last edited by tuxguy; 04-04-2004 at 07:17 PM.
 
Old 04-05-2004, 09:28 AM   #6
efi360
Member
 
Registered: Feb 2004
Location: San Antonio, TX.
Distribution: Debian
Posts: 71

Original Poster
Rep: Reputation: 15
Working good

Thanks for all the help apt is working good now.
I took the comments out and added some more sources. I need to lern more about Apt.
 
Old 04-05-2004, 11:40 AM   #7
souljah
Member
 
Registered: Feb 2004
Location: New York City
Distribution: Debian
Posts: 97

Rep: Reputation: 15
on a side note, you really want to have the literal name of the release you are using. ie for stable use 'woody' or for testing put 'sarge' and unstable use 'sid'. Otherwise you could mistakenly upgrade when the next release goes stable. Upgrading by mistake is no fun.
 
Old 04-05-2004, 11:48 AM   #8
tuxguy
Member
 
Registered: Mar 2004
Location: North Bay, Ontario - CANADA
Distribution: Debian
Posts: 77

Rep: Reputation: 16
well that's really good to know! thanks souljah!
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get install not working / apt-get update is ok remy215 Debian 2 10-01-2005 08:02 PM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 01:28 PM
apt-get update biojayc Ubuntu 1 04-28-2005 02:50 PM
Does 'apt-get update' update the database used by 'apt-cache'? davidas Debian 5 04-20-2004 02:27 AM
apt-get update hangs at 66% electrobass Linux - Software 1 05-25-2003 10:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:08 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration