LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-01-2008, 01:11 AM   #1
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 230

Rep: Reputation: 30
Problem with packages - local list doesn't list all packages from a mirror


Hello,
I've installed Debian on a friend of mine's computer, I have alway used Slackware so far, so I'm trying to learn how the apt mechanism works. I'm using KPackage to manage packages, it seems good, however there's a problem I can't get to solve.
For example, I needed to install flex.
My sources.list is:
Code:
deb http://ftp.debian.org/debian etch main
deb-src http://ftp.debian.org/debian etch main

deb http://ftp.de.debian.org/debian etch main
deb-src http://ftp.de.debian.org/debian etch main
Anyway, kpackage didn't list flex anywhere.
I went to packages.debian.org, and there it was, I downloaded it from ftp.de.debian.org.
So, the question is, why doesn't kpackage list that package (and many more) even if the mirror is inside sources.list?
Thank you!
 
Old 09-01-2008, 02:52 AM   #2
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
I didn't know that kpackage still existed, maybe because I don't use KDE no more.
You could try synaptic or check if kpackage reads its configuration from /etc/apt/sources.list or a custom sources.list file.
 
Old 09-01-2008, 04:44 AM   #3
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Quote:
Originally Posted by simopal6 View Post
Hello,
I've installed Debian on a friend of mine's computer, I have alway used Slackware so far, so I'm trying to learn how the apt mechanism works. I'm using KPackage to manage packages, it seems good, however there's a problem I can't get to solve.
For example, I needed to install flex.
My sources.list is:
Code:
deb http://ftp.debian.org/debian etch main
deb-src http://ftp.debian.org/debian etch main

deb http://ftp.de.debian.org/debian etch main
deb-src http://ftp.de.debian.org/debian etch main
Anyway, kpackage didn't list flex anywhere.
I went to packages.debian.org, and there it was, I downloaded it from ftp.de.debian.org.
So, the question is, why doesn't kpackage list that package (and many more) even if the mirror is inside sources.list?
Thank you!
Did you do a
Code:
apt-get update
after changing the sources.list file?

Also don't use kpackage as I'm not sure how well it integrates with the package management system. Use synaptic or aptitude (or plain apt-get command line) to install applications.

Also you need to specify "contrib non-free" after "main" to get all available packages.

Last edited by vharishankar; 09-01-2008 at 04:45 AM.
 
  


Reply



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
how to save a list of installed packages and install these packages later mandavi Ubuntu 5 09-07-2009 11:36 AM
Keeping a local mirror of packages current KaYoS Slackware 14 10-23-2007 05:25 AM
can local packages be added to sources.list? wabbalee Linux - Software 9 02-01-2007 08:30 AM
get list of latest list of packages bobwall Linux - Distributions 1 11-30-2004 03:48 PM
other mirror for packages for sources.list jasmith Yoper 1 11-12-2004 02:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:02 PM.

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
Open Source Consulting | Domain Registration