apt-get problems

If none of the more specific forums is the right place to ask

apt-get problems

Postby Mark19960 » 2006-03-04 15:19

Hi all,
I am very new to debian and I am trying to get used to the apt stuff.
I have run apt-get update and it does whatever it does to update itself, then i try something.. say 'apt-get install samba' and it tells me 'couldn't find package samba'

I try a few other things like nano, and it tells me its already the latest version, as i would expect

I have installed from the netinst image on a sparc machine.
so is this an issue with it not updating itself correctly or is there more configuration required? I read the manpage and there does not appear to be a 'search' function in apt-get either.

my thought is that samba isnt really 'samba' per se but samba-[version] so i tried 'apt-get install samba* and it told me the same thing.

ideas?
Mark19960
 

Postby adssse » 2006-03-04 15:33

In order to search the packages available through apt use (as root):

apt-cache search package_name

I dont use samba so I cant offer any specific advice to that issue. Hope this helps.
adssse
 
Posts: 71
Joined: 2006-01-17 05:36

Postby bluesdog » 2006-03-04 20:50

I don't currently use Samba, either, but it most certainly is a package.

Your /etc/apt/sources.list may need some attention.

While you're at it, you might want to install aptitude
Code: Select all
apt-get install aptitude
which seems to handle package dependencies better than plain apt.

If you're new to debian, you might also check out synaptic, a gui front end to apt and dpkg
Code: Select all
apt-get install synaptic
User avatar
bluesdog
 
Posts: 2082
Joined: 2006-02-01 09:02
Location: Similkameen, British Columbia, Canada


Return to General Questions

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable