install

Post your Debian questions here.

install

Postby linuly » July 17th, 2018, 10:46 am

hi,
how can i see if there are available updates to my installed packages?with apt list --upgradable?
how can i see what repositories i have?in /etc/apt/sources.list?

i like to install apache on debian 9.this fails to install.why?
apt-get install --fix-missing apache*
Do you want to continue? [Y/n] y
Err:1 http://ftp.us.debian.org/debian stretch/main i386 libc-dev-bin i386 2.24-11+deb9u3
Could not resolve 'ftp.us.debian.org'
Err:2 http://ftp.us.debian.org/debian stretch/main i386 libc6-dev i386 2.24-11+deb9u3
Could not resolve 'ftp.us.debian.org'
Err:3 http://ftp.us.debian.org/debian stretch/main i386 libsctp1 i386 1.0.17+dfsg-1+b1
Could not resolve 'ftp.us.debian.org'
Err:4 http://ftp.us.debian.org/debian stretch/main i386 libsctp-dev i386 1.0.17+dfsg-1+b1
Could not resolve 'ftp.us.debian.org'
Err:5 http://ftp.us.debian.org/debian stretch/main i386 libapr1-dev i386 1.5.2-5
Could not resolve 'ftp.us.debian.org'
Unable to correct missing packages.
E: Failed to fetch http://security.debian.org/debian-secur ... 4_i386.deb Could not resolve 'security.debian.org'
E: Failed to fetch http://security.debian.org/debian-secur ... u4_all.deb Could not resolve 'security.debian.org'
E: Failed to fetch http://security.debian.org/debian-secur ... 4_i386.deb Could not resolve 'security.debian.org'
E: Failed to fetch http://ftp.us.debian.org/debian/pool/ma ... 3_i386.deb Could not resolve 'ftp.us.debian.org'
E: Failed to fetch http://security.debian.org/debian-secur ... 1_i386.deb Could not resolve 'security.debian.org'
E: Failed to fetch http://ftp.us.debian.org/debian/pool/ma ... 3_i386.deb Could not resolve 'ftp.us.debian.org'
E: Aborting install
linuly
 
Posts: 2
Joined: July 4th, 2018, 8:38 am

new

Postby linuly » July 18th, 2018, 11:48 am

hi,
how can i see if there are new packages available for my installed packages?
how can i find in what package is tcpdump to download it?
tnx
linuly
 
Posts: 2
Joined: July 4th, 2018, 8:38 am

Re: new

Postby fsmithred » July 18th, 2018, 12:51 pm

Use -s or --simulate with your favorite package manager command to see what will be upgraded.
Code: Select all
apt-get update
apt-get -s upgrade
apt-get -s dist-upgrade


or

Code: Select all
aptitude -s safe-upgrade
aptitude -s full-upgrade


Code: Select all
apt-cache search tcpdump
This will show that there's a package named tcpdump.

If you wanted to search for which package contains the tcpdump command, do the following:
Code: Select all
apt-get install apt-file
apt-file update
apt-file find tcpdump
and it will show you that tcpdump is in the tcpdump package.

Code: Select all
apt-get install tcpdump
fsmithred
 
Posts: 334
Joined: February 11th, 2011, 4:14 am


Return to General Questions

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron

x