Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2901

Installation • Re: packages (aptitude, nis, autofs, net-tools) can't be found in PXE installation

$
0
0
Hello, welcome to the forums!
It can find package "ifupdown", while it reports "Package [xxx] is not available" for aptitude, nis, autofs, net-tools.
ifupdown is installed in an early stage by "anna".
I use "in-target apt-get install [package_name] -y; \" to install a few packages into the new Debian instance.
Could you use "in-target apt-get update; \" just before?
Hello Sir,

I added "in-target apt-get update; \" before "in-target apt-get install nis autofs net-tools -y; \", and it gets my problem fixed immediately.

I have a question about this: do i need to use "apt-get update" every time before I use "apt-get install" ? I thought "apt-get update" is executed automatically when I execute "apt-get install".

Statistics: Posted by shabi101 — 2024-11-03 03:56



Viewing all articles
Browse latest Browse all 2901

Trending Articles