LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-27-2009, 11:01 AM   #1
Davide82
LQ Newbie
 
Registered: Jul 2009
Posts: 5

Rep: Reputation: 0
Sources.list after cd installation


Hi!
I am a newbie debian user.
I just installed Debian lenny from cd iso. A minimal installation w/ default settings.
Then I wanted to install the motion detection package "motion" (quite common and official!).

Here http://www.debian-administration.org/articles/347 people stay: "we now have an easy-to-install motion package right in the main repositories."
So I believed it should be straightforwardlly installed w/ "apt-get"...
But it says "couldn't find package motion".

Strange isn't it?
What should I do?
Of course something is missing in sources.list, but what is missing?
I want only stable repository; not unstable/testing.

The package is even here: http://packages.debian.org/stable/graphics/motion

So why after the installation I don't have a useful sources.list??

Thank you all.



#
# deb cdrom:[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 CD Binary-1 20090628-14:43]/ lenny main

deb cdrom:[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 CD Binary-1 20090628-14:43]/ lenny main

deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main

deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
 
Old 07-27-2009, 11:27 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
http://www.debian.org/doc/FAQ/ch-get...s-updatestable
 
Old 07-27-2009, 11:31 AM   #3
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Stretch Amd64
Posts: 1,477

Rep: Reputation: Disabled
Quote:
Of course something is missing in sources.list, but what is missing?
You only have the security and the volatile repo's active.
Make your sources list look something like this:

Code:
#
# deb cdrom:[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 CD Binary-1 20090628-14:43]/ lenny main

#deb cdrom:[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 CD Binary-1 20090628-14:43]/ lenny main

deb http://ftp.uk.debian.org/debian/ lenny main 
deb-src http://ftp.uk.debian.org/debian/ lenny main

deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main

deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
Notice that i have commented out the cd entry.
Obviously you can change uk to a more suitable entry if you wish.

Then simply:

aptitude update

Make sure you have no error messages,then:

aptitude install motion
 
Old 07-27-2009, 11:32 AM   #4
Davide82
LQ Newbie
 
Registered: Jul 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Yes, but i wasn't bothering whether packages were updated or not, but I say WHY there isn't a useful sources.list after installation w/ AT LEAST the official repository?

I know there are many many exotic repository, but I'm simply trying to install an official package listed on the official site!!!

People shout about how apt-get is exeptional... but why isn't sources.list usable??

Last edited by Davide82; 07-27-2009 at 11:35 AM.
 
Old 07-27-2009, 11:35 AM   #5
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
They expect people using the minimal install image to know enough.
 
Old 07-27-2009, 11:40 AM   #6
Davide82
LQ Newbie
 
Registered: Jul 2009
Posts: 5

Original Poster
Rep: Reputation: 0
what is the advantage of avoiding a line with the repository???
Is this exciting?
 
Old 07-27-2009, 11:40 AM   #7
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Stretch Amd64
Posts: 1,477

Rep: Reputation: Disabled
Quote:
Yes, but i wasn't bothering whether packages where updated or not, but I say WHY there isn't a useful sources.list after installation w/ AT LEAST the official repository?
You need to run aptitude update after modifying /etc/apt/sources.list.
Why it's not there and working i can't say.I wasn't there when you did the install.

Quote:
I know there are many many exotic repository, but I'm simply trying to install an official package listed on the official site!!!
And i've given you an example of an official repo.

Quote:
People shout about how apt-get is exeptional... but why isn't sources.list usable??
Apt is an exceptional package manager.It just takes a little effort to learn.
 
Old 07-27-2009, 11:46 AM   #8
Davide82
LQ Newbie
 
Registered: Jul 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Ok, I didn't say thank you to have given to me the url of the repository.
So thank you! Sorry if I didn't do it before!
I know how apt works: I know I have to write source.list and after do an update.
I was simply trying to understand why they decided to avoid the official repository in the install.
At least they could leave a line commented! Don't you think?
Indeed I installed with default settings.

Last edited by Davide82; 07-27-2009 at 11:48 AM.
 
Old 07-27-2009, 11:53 AM   #9
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Stretch Amd64
Posts: 1,477

Rep: Reputation: Disabled
Quote:
I was simply trying to understand why they decided to avoid the official repository in the install
They probably didn't.
You probably made the wrong choice during the installation.
Don't sweat it.It's easily rectified.
Edit the file,update.Then install.
Job done.
 
Old 07-27-2009, 11:56 AM   #10
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Argue with the people on
http://lists.debian.org/debian-policy/
or
http://lists.debian.org/debian-qa/
 
Old 07-27-2009, 12:17 PM   #11
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Stretch Amd64
Posts: 1,477

Rep: Reputation: Disabled
So have you got the package you wanted installed?
 
Old 07-27-2009, 12:20 PM   #12
Davide82
LQ Newbie
 
Registered: Jul 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Yes, yes!
Thank you
 
Old 07-27-2009, 12:23 PM   #13
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Stretch Amd64
Posts: 1,477

Rep: Reputation: Disabled
It would be useful to use the thread tools,and mark this thread solved.
Also feel free to click the 'thumbs up' if you think we have helped you.
 
  


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; E: Type 'GPG' is not known on line 20 in source list /etc/apt/sources.list tomorrow Linux - Newbie 9 05-21-2009 09:42 AM
sources.list...no sources! phantom_cyph Fedora 4 10-16-2007 10:26 PM
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 02:57 PM
Ubuntu Sources List! I need some great sources lists! Jengo Linux - Newbie 1 06-24-2005 05:50 PM
Software Sources Manager, how to add installation cd sources after deletion Lakota Mandriva 1 10-23-2003 01:39 AM

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

All times are GMT -5. The time now is 08:48 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