[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: APT Questions.



Andrzej Swedrzynski <kokosz@earthdawn.pl> writes:

Hi,

> I can easily add new CD using apt-setup or apt-cdrom, but how can I
> remove informations about them?

comment out the lines in /etc/apt/sources.list.

> 2. Can I use apt to upgrade my potato to woody? Using apt-get dist-upgrade
> I upgraded from 2.2 to 2.2r3, but can I make a further step forward?

Edit the lines in sources.list so that they point to woody and do
apt-get update and apt-get dist-upgrade.

> 3. My CD was damaged and when I tried to install one package from it
> (using dpkg -i) it ended in error. However the package was partially
> installed with errors and now I can not access manuals (possibly there are
> other errors I do not yet know about).

What about reinstalling the package via the net and then cleanly
remove it?

> 4. Let's suppose that I know the name of the program but I do not know
> what package it is in. I have my CDs, but do not have access to Debian
> search site. Can I use apt, dpkg or other tool to search my packages for
> occurence of this program?

You can search through your whole APT cache via 'apt-get search
<pattern>'; or you can also search via dpkg -l. See the man pages.

        hth,
	moritz
-- 
Moritz Schulte <moritz@chaosdorf.de> http://www.chaosdorf.de/moritz/
Debian/GNU supporter - http://www.debian.org/ http://www.gnu.org/
GPG fingerprint = 3A14 3923 15BE FD57 FC06  B501 0841 2D7B 6F98 4199



Reply to: