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

Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH ?)



	Hi.

On Thu, May 30, 2019 at 10:26:29AM -0400, Greg Wooledge wrote:
> On Thu, May 30, 2019 at 05:19:49PM +0300, Reco wrote:
> > "dpkg -s" gets package state from /var/lib/dpkg/status.
> > "apt-cache" also uses /var/lib/apt/lists/*.
> > 
> > Basically your result tells that libcap2-bin is "optional" from the
> > repository POV, but your local package database thinks it's "important".
> > 
> > And in this case I trust the repository and have to assume that your
> > local package database is somehow corrupt.
> 
> arc3:~$ grep -A2 'Package: libcap2-bin' /var/lib/dpkg/status
> Package: libcap2-bin
> Status: install ok installed
> Priority: important
> 
> wooledg:~$ grep -A2 'Package: libcap2-bin' /var/lib/dpkg/status
> Package: libcap2-bin
> Status: install ok installed
> Priority: important
> 
> wooledg:~$ ssh root@megview5 "grep -A2 'Package: libcap2-bin' /var/lib/dpkg/status"
> root@megview5's password: 
> Package: libcap2-bin
> Status: install ok installed
> Priority: important
> 
> wooledg:~$ ssh svr4 "grep -A2 'Package: libcap2-bin' /var/lib/dpkg/status"
> wooledg@svr4's password: 
> Package: libcap2-bin
> Status: install ok installed
> Priority: important
> 
> oledg:~$ ssh meglin2 "grep -A2 'Package: libcap2-bin' /var/lib/dpkg/status"
> wooledg@meglin2's password: 
> Package: libcap2-bin
> Status: install ok installed
> Priority: optional
> 
> meglin2 is jessie.  wooledg is buster.  The others are stretch.

Yep. But for me it's (stretch):

$ grep -A2 'Package: libcap2-bin' /var/lib/dpkg/status
Package: libcap2-bin
Status: install ok installed
Priority: optional

Reco


Reply to: