On Mon, Jan 10, 2011 at 1:04 PM, pt3...@gmail.com <pt3...@gmail.com> wrote:
> Hello,
>
> I'm a Debian Squeeze new user and have some basic questions about
> Debian package tools.
>
> Is it true I should avoid APT and use some other frontend or, better,
> dpkg directly?
> I tried aptitude, but I don't like ncurses-based tools. I prefer the
> classic command line if possible.
You can use aptitude without ncurse interface (aptitude update;
aptitude install ....; aptitude full-upgrade ...)

>
> How can I obtain the list of sources currently used by installed packages?
> For example, since I have "gcc" installed, it should show "main", and
> since I also have "firmware-iwlwifi", it should include "non-free",
> too.
> This is for checking if /etc/apt/sources.list is consistent with
> installed packages.
aptitude search ~i -F"%20s %p"

>
> I'm not sure if the following procedure is right for staying up to date:
> apt-get update; apt-get upgrade; apt-get autoremove --purge; apt-get autoclean
> Am I missing something else?
apt-get upgrade or apt-get dist-upgrade to get your system with
lastest pacakges availables in repo

Regards,


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktik=t8_tya3zio3jf5duqrfot659trnq8bdne...@mail.gmail.com

Reply via email to