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

Re: Synaptic error



On Sun, Apr 12, 2020 at 10:39:34AM -0500, Richard Owlett wrote:
> On 04/12/2020 09:17 AM, Reco wrote:
> > 	Hi.
> > 
> > On Sun, Apr 12, 2020 at 09:07:07AM -0500, Richard Owlett wrote:
> > > As I said, there has been no previous problem with Synaptic.
> > > Where would I look for cause of missing archives sub-directory?
> > 
> > Unless you have an audit facility configured in your kernel - you have
> > to guess.
> 
> Unless an audit facility is installed by default, I don't have it.
> Sounds like something I should read up on.
> Suggested link(s) for someone coming at the subject cold?

apt install auditd

man auditctl

You'll need this:

auditctl -a always,exit -F dir=/var/cache/apt/archives -F perm=wa


> > > Is it safe to blindly create it?
> > 
> > Yep. 0:0 as group:owner, 0755 as permission.
> > 
> > $ ls -ald /var/cache/apt/archives/
> > drwxr-xr-x 3 root root 4096 Apr 11 12:00 /var/cache/apt/archives/
> 
> I created the sub-directory using Caja.
> # ls -ald /var/cache/apt/archives/
> drwxr-xr-x 2 root root 4096 Apr 12 09:41 /var/cache/apt/archives/
> 
> *NOTE* When I ran ls there were only 2 {NOT 3} hard links.
> I attempted to install via Synaptic again.
> The error message was:
> > W: Failed to fetch http://deb.debian.org/debian/pool/main/t/texinfo/install-info_6.3.0.dfsg.1-1+b2_i386.deb
> >   Could not open file /var/cache/apt/archives/partial/install-info_6.3.0.dfsg.1-1+b2_i386.deb - open (2: No such file or directory) [IP: 151.101.52.204 80]
> > 
> > W: Failed to fetch http://deb.debian.org/debian/pool/main/t/texinfo/info_6.3.0.dfsg.1-1+b2_i386.deb
> >   Could not open file /var/cache/apt/archives/partial/info_6.3.0.dfsg.1-1+b2_i386.deb - open (2: No such file or directory) [IP: 151.101.52.204 80]

Your local apt index file is out of sync with the mirror.
They should give a button in Synaptic that performs the equivalent of
"apt-get update".

Reco


Reply to: