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

System and Network configuration • Re: apt problem with dns

$
0
0
Hello, thanks,
I start with some missing elements that I can't interpret for sure as negative answers to my questions
Do you remember when this first happened? Do you have any memories of an event that you could connect to this? (Any changes in your system? A crash? A full file system?)
Have you checked the logs for clues?
[...]
Is aptitude installed? If so, is its behaviour the same?

Code:

#> aptitude update
What is the output of (important: as user, not root)

Code:

$> LANG="C" ls -la /var/lib/apt/*

Code:

$> mawk 'BEGIN{FS=":"} NR==FNR{if (/_apt/){print $1,$3,$4; uid=$3}} NR!=FNR{if ($3==uid){print $3"="$1}}' /etc/passwd{,}

Code:

$> md5sum /var/lib/dpkg/info/ca-certificates*

Code:

$> LANG="C" ls -l /etc/ca-certificates.conf

Code:

$>  cat /etc/ca-certificates.conf

Code:

$> md5sum /etc/ssl/certs/ca-certificates.crt
Edit: forgot the important part below:

Code:

#> update-ca-certificates -v       ### as root this one. Please post the output.

Code:

$> md5sum /etc/ssl/certs/ca-certificates.crt      ### again

Code:

$> LANG="C" ls -la /etc/ssl/

Code:

$> LANG="C" ls -l /etc/ssl/certs/

Code:

$> LANG="C" ls -lL /etc/ssl/certs/

Code:

$> LANG="C" ls -ld /usr/share/ca-certificates/mozilla/
10 - The wget work without any problem.
Did you test as user, not root?

Code:

$> mkdir /tmp/aptdwnldtest/; cd /tmp/aptdwnldtest/$> LANG="C" wget https://deb.debian.org/debian/pool/main/h/hello/hello_2.10-3_amd64.deb
(please paste the output)

What about

Code:

#> LANG="C" apt -o "APT::Sandbox::User=root" update
?

Statistics: Posted by fabien — 2024-02-08 01:26



Viewing all articles
Browse latest Browse all 4056

Trending Articles