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 06-09-2009, 05:34 PM   #1
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,146

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Can't install packages


I've just installed Lenny from DVD and I can't install any packages over the internet.

I've tried System-Administration-Add applications and Synaptic, and even apt-get. The first shows Wine uninstaller, but no Wine. It lists Gnucash, but doesn't actually install it. Synaptic doesn't find either. apt-et reports them as unavailable.

Where do I go from here, other than re-installing Fedora?
 
Old 06-09-2009, 06:15 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Can you post your /etc/apt/sources.list?

If installed from DVD, it probably defaults to using the DVD for all package installation (though some of those should exist on the DVD).
 
Old 06-10-2009, 03:53 AM   #3
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,146

Original Poster
Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Thanks for the advice: I now have my software.

But who would have guessed that clicking on /etc/apt/sources.list would run a program to set up the repositories? So far I've spent nearly four hours installing and configuring Debian, and I'm not done yet. It's a lot less friendly than Fedora.
 
Old 06-10-2009, 12:05 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Quote:
Originally Posted by DavidMcCann View Post
It's a lot less friendly than Fedora.
I'm sure it's just like the whole "which distro" thing in that it's personal preference. I'm just curious in what way is it less friendly for you? Or if it's just different and you're not used to it yet. The two are a bit apples to oranges...

For me personally, I knew it was right the first time I installed it after distro hopping from Mandrake to Slackware to Red Hat 9 finally to Debian Woody. Of course, I'm a bit of a nerd... I do bare installs (command line only) and then install what I want. Lean, mean, and configured just how I want it.
 
Old 06-10-2009, 02:42 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I'd say it's just different and unfamiliar, not any harder. I started with Mandrake and Redhat as well for the first couple years, then switched to Debian and had to relearn a few things that are handled differently.. in the end I much prefer how Debian does things over how fedora handles them. Can't comment on gui based admin tools though since I've never used any of them..


Interesting comment about clicking on the /etc/apt/sources.list file to get an admin app for it.. I did just go and try clicking on that file and sure enough a sources.list management interface popped up, who would a guessed it ? Been using Debian for around 6 years and I never knew it did that.. vim has always been my configuration app of choice for the sources.list.
 
Old 06-11-2009, 12:09 AM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by DavidMcCann View Post
Thanks for the advice: I now have my software.

But who would have guessed that clicking on /etc/apt/sources.list would run a program to set up the repositories? So far I've spent nearly four hours installing and configuring Debian, and I'm not done yet. It's a lot less friendly than Fedora.
No one would have guessed that because it's not true. Clicking on /etc/apt/sources.list (which is a text file) will usually open up an editor which (if you are root or have used sudo) will allow you to edit the file, adding, deleting or modifying the repos that are found there.

I would strongly advise you to use aptitude to do your routine updating/upgrading tasks as in:
Code:
sudo aptitude update
and
Code:
sudo aptitude safe-upgrade
cheers,
jdk
 
Old 06-11-2009, 10:34 AM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Quote:
Originally Posted by jdkaye View Post
No one would have guessed that because it's not true. Clicking on /etc/apt/sources.list (which is a text file) will usually open up an editor which (if you are root or have used sudo) will allow you to edit the file, adding, deleting or modifying the repos that are found there.
Actually it Does open an app to manage the sources list, See my previous post..

I'm just as surprised as you are..
 
Old 06-11-2009, 01:57 PM   #8
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by farslayer View Post
Actually it Does open an app to manage the sources list, See my previous post..

I'm just as surprised as you are..
Not for me. When I click on sources.list in Konqueror, the file opens in kate - a text editor. Do you know what app manages sources.list? Maybe I just never installed it.
cheers,
jdk
 
Old 06-11-2009, 02:04 PM   #9
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
/usr/bin/software-properties-gtk

Code:
it-lenny:~$ aptitude search software
i   python-software-properties   - manage the repositories that you install software from                        
i   software-properties-gtk      - manage the repositories that you install software from                        
p   software-properties-kde      - manage the repositories that you install software from
Since I went through the effort of a screenshot I just uploaded it to http://screenshots.debian.net/packag...properties-gtk - although I don't think you can see it on their site till the mods approve it.

If you install the kde version you should add a screen shot of it to their site as well
Attached Thumbnails
Click image for larger version

Name:	sources.list.png
Views:	12
Size:	62.0 KB
ID:	799  

Last edited by farslayer; 06-11-2009 at 02:12 PM.
 
Old 06-11-2009, 10:38 PM   #10
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by farslayer View Post
/usr/bin/software-properties-gtk

Code:
it-lenny:~$ aptitude search software
i   python-software-properties   - manage the repositories that you install software from                        
i   software-properties-gtk      - manage the repositories that you install software from                        
p   software-properties-kde      - manage the repositories that you install software from
Since I went through the effort of a screenshot I just uploaded it to http://screenshots.debian.net/packag...properties-gtk - although I don't think you can see it on their site till the mods approve it.

If you install the kde version you should add a screen shot of it to their site as well
Thanks farslayer. This explains it.
Code:
jdkaye@Attila:~$ aptitude search software
p   libsoftware-license-perl          - Perl module that provides templated softwar
p   python-software-properties        - manage the repositories that you install so
p   software-properties-gtk           - manage the repositories that you install so
p   software-properties-kde           - manage the repositories that you install so
As you can see, I haven't installed it.
Cheers,
jdk
 
Old 06-13-2009, 11:22 AM   #11
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,146

Original Poster
Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
My grumbles are, of course, just a reflection of a learning curve — eventually I'll get over it. Of course, I should have noticed "Software sources" in the menu immediately above "Synaptic"!

The difference between Fedora and Debian over the repository settings makes sense. Fedora comes on one DVD and has a custom install option, where you can review every package. When you've used the disk, you no longer need it, so the installer can be set to the on-line source. Debian comes on five disks with no custom installer, so there's lots left to discover on the disks after the basic installation is complete. The catch for me was that I didn't have the five disks, but a one disk version specially made for a magazine cover disk.

After some of my panics over the last week, at least I might be a bit more tolerant of people who are scared of moving from Windows to Linux!
 
Old 06-13-2009, 11:17 PM   #12
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
With Debian you can either download the additional discs and add them to the sources list with apt-cdrom, or comment them out of the sources.list entirely and use just online sources (which is what most users with broadband access do)..
The reason Debian has 5 DVD's and Fedora only one is that Debians repository has that many more packages than fedora. With Fedora you would need to add some third party repositories in order to find some items, while Debian has all of that and more in theirs, you rarely need to go outside their repositories for most items... It's one of the reasons I prefer Debian.
 
Old 06-14-2009, 04:35 PM   #13
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,146

Original Poster
Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
I spoke too soon. It's now gone back to expecting the disks I haven't got and it won't change. "Software sources" is set to online, but neither synaptic nor apt-get will work. Where do I go from here?

The file /etc/apt/sources.list is as follows (the stuff about "failed to verify" sounds ominous)

# deb-src cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Unofficial Multi-architecture i386/source CUSTOM #1 20090306-10:54]/ lenny main
# deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Unofficial Multi-architecture i386/source CUSTOM #1 20090306-10:54]/ lenny main
#

deb-src cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Unofficial Multi-architecture i386/source CUSTOM #1 20090306-10:54]/ lenny main
deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Unofficial Multi-architecture i386/source CUSTOM #1 20090306-10:54]/ lenny main


# Line commented out by installer because it failed to verify:
# deb http://security.debian.org/ lenny/updates main
# Line commented out by installer because it failed to verify:
# deb-src http://security.debian.org/ lenny/updates main

# Line commented out by installer because it failed to verify:
deb http://volatile.debian.org/debian-volatile lenny/volatile main
# Line commented out by installer because it failed to verify:
# deb http://ftp.gb.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates contrib non-free main
deb http://http.us.debian.org/debian/ lenny main
# deb-src http://volatile.debian.org/debian-volatile lenny/volatile main

Last edited by DavidMcCann; 06-14-2009 at 04:40 PM. Reason: Added data
 
Old 06-14-2009, 11:08 PM   #14
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
If you expect to get updates online and not from a CD then you have to comment out or remove these lines:
Quote:
Originally Posted by DavidMcCann View Post
deb-src cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Unofficial Multi-architecture i386/source CUSTOM #1 20090306-10:54]/ lenny main
deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Unofficial Multi-architecture i386/source CUSTOM #1 20090306-10:54]/ lenny main
and uncomment this line:

Quote:
# deb http://ftp.gb.debian.org/debian/ lenny main contrib non-free
and add this line:
Quote:
deb-src http://ftp.gb.debian.org/debian/ lenny main contrib non-free
Then try
Code:
sudo aptitude update
and
Code:
sudo aptitude safe-upgrade
and see if things behave normally. You'll probably need to add other repos to your sources.list depending on what else you want.
Cheers,
jdk
 
Old 06-15-2009, 10:40 AM   #15
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
just as an example, here is my complete sources.list

it-lenny:~$ cat /etc/apt/sources.list
Code:
# Standard Repositories 
deb http://ftp.uwsg.indiana.edu/linux/debian/  lenny main non-free contrib
deb-src http://ftp.uwsg.indiana.edu/linux/debian/ lenny main non-free contrib

# Debian Security Updates
deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free

# Debian backports - Useful occasionally for newer software
deb http://www.backports.org/debian lenny-backports main contrib non-free

# Debian Multimedia - media players, Multimedia codecs, etc.. 
deb http://www.debian-multimedia.org lenny main
Of course for your standard repositories you want one that is geographically close to your location.

Last edited by farslayer; 06-15-2009 at 10:44 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
Uncertain how to configure/install packages & compiler before install VMware on FC8. Azazwa Linux - Newbie 1 03-28-2009 07:27 PM
How to install the rest of the Linux packages from USB drive after install? ArchW Linux - General 2 03-08-2006 07:50 AM
How to install teh rest of the Linux packages from USB drive after install? ArchW Linux - Newbie 4 03-07-2006 08:43 AM
Mandrake Update/Install Packages/Remove Packages wslyhbb Mandriva 2 03-15-2004 09:43 AM

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

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