Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

package

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
linuly
Posts: 12
Joined: 2018-07-17 06:50

package

#1 Post by linuly »

hi,
with what command i can see what new packages are available?

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 85 times

Re: package

#2 Post by 4D696B65 »

as root

Code: Select all

apt update

arzgi
Posts: 1185
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: package

#3 Post by arzgi »

linuly wrote:hi,
with what command i can see what new packages are available?
You already asked this in other thread. There are no new packages in debian stable, only security updates.

linuly
Posts: 12
Joined: 2018-07-17 06:50

Re: package

#4 Post by linuly »

hi,
last thing.
how can i find in what package is tcpdump to install it?
tnx.

arzgi
Posts: 1185
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: package

#5 Post by arzgi »

linuly wrote:hi,
last thing.
how can i find in what package is tcpdump to install it?
tnx.
Great you have chosen Debian, but it really would benefit you if you read something about Debian, so you would not have to ask questions like that here.

Debian has apt-package management, frontends to it are apt, apt-get, aptitude, and synaptic (gui). All those have search function. I use apt, and aptitude, so the procedure would be

Code: Select all

apt search tcpdump
as root:

Code: Select all

apt install tcpdump
OR

Code: Select all

aptitude search tcpdump
as root:

Code: Select all

aptitude install tcpdump

linuly
Posts: 12
Joined: 2018-07-17 06:50

Re: package

#6 Post by linuly »

hi,
I knew the answers to my questions but i liked to see other way to perform.
apt update -is not accurate(your reply).better apt list -u -a
apt search is fine.i used apt-file search.
better be polite next time or skip my questions.

User avatar
cds60601
df -h | participant
df -h | participant
Posts: 706
Joined: 2017-11-25 05:58
Location: Florida
Has thanked: 129 times
Been thanked: 60 times

Re: package

#7 Post by cds60601 »

linuly wrote:hi,
I knew the answers to my questions but i liked to see other way to perform.
apt update -is not accurate(your reply).better apt list -u -a
apt search is fine.i used apt-file search.
better be polite next time or skip my questions.

I prefer this method:

Code: Select all

apt update
Then after the update, it tells you (or not) that there are files to be upgraded. If I want to see what is going to be upgraded, I type this:

Code: Select all

apt list --upgradable
This gives you a list of file to be upgraded. Of course the key is to ensure that you do an apt update first.

EDIT: I apparently got this thread confused with another... Disregard.

Cheers
Chris
Last edited by cds60601 on 2018-07-18 17:49, edited 1 time in total.
Supercalifragilisticexpialidocious

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: package

#8 Post by GarryRicketson »

Post by linuly » 2018-07-18 04:53
hi,
last thing.
how can i find in what package is tcpdump to install it?
what package for debian is tcpdump to install it?
Amazing, coincidence ?
First hit: https://packages.debian.org/jessie/tcpdump
Debian -- Details of package tcpdump in jessie - Debian -- Packages
Ok, now lesson 101, apply some logic:
Follow the link, https://packages.debian.org/jessie/tcpdump
But you say you are using the current "stable" version, which is Debian Stretch
Lesson 102, read all of the page carefully ,you will notice up in the upper right
side, there are options for various versions of Debian:
Select >click Debian stretch
https://packages.debian.org/stretch/tcpdump

Lesson 103:
Post by linuly » 2018-07-18 10:02
hi,
I knew the answers to my questions but i liked to see other way to perform.
apt update -is not accurate(your reply).better apt list -u -a
apt search is fine.i used apt-file search.
better be polite next time or skip my questions.
Nobody was rude, all the members that have offered help, were polite.
Don't accuse people willing to help you of being impolite , when they have not been. That is a good way to get every one to just skip your questions in the future.
Lesson 104: Don't be a help vampire,.
I knew the answers to my questions :mrgreen: ---snip--

When you actually know the answers to your questions, then why bother people asking them, ? Ahh, "but i liked to see other way to perform", that seems like a odd excuse, but by copy/pasting the question into a search engine usually will produce results, including "other ways", ....
Asking questions that are easily answered by reading the documentation for Debian, and/or doing some basic searches, often get answers that might seem
to not be polite, but in reality are polite, and just the plain truth, IE:
Post by arzgi » 2018-07-18 05:10
linuly wrote:
hi,
last thing.
how can i find in what package is tcpdump to install it?
tnx.
Great you have chosen Debian, but it really would benefit you if you read something about Debian, so you would not have to ask questions like that here.
As I demonstrated, the question could have easily been answered with a simple search, one can find the package, then it is a simple:

Code: Select all

apt install tcdump
(if it is not installed), To upgrade or update, later, is another topic, but there is also plenty of good documentation on this at debian.org and the wiki.
Before you tell me to be polite, I am being polite, and genuinely hope this helps you and others avoid being "help vampires" and getting answers that you do not consider polite.
If I wanted to be rude I could, but would not, I would just ignore the post instead of taking the time to politely try to help. But if I wanted to be rude,
I would just say : "RTFM, and if you don't know what that means, do a search."
===
I kind of like this, some one asked "what is a help vampire", instead of doing a search : https://meta.stackoverflow.com/question ... lp-vampire
====== end lessons 101 thru 104 ====

Post Reply