Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #267469 > unrolled thread
| Started by | Gremlin <scott-andrews@columbus.rr.com> |
|---|---|
| First post | 2024-02-16 15:10 +0100 |
| Last post | 2024-02-16 22:30 +0100 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.debian.user
cruft report: The new kid on the block Gremlin <scott-andrews@columbus.rr.com> - 2024-02-16 15:10 +0100
Re: cruft report: The new kid on the block Sven Joachim <svenjoac@gmx.de> - 2024-02-16 17:00 +0100
Re: cruft report: The new kid on the block Gremlin <scott-andrews@columbus.rr.com> - 2024-02-16 22:30 +0100
| From | Gremlin <scott-andrews@columbus.rr.com> |
|---|---|
| Date | 2024-02-16 15:10 +0100 |
| Subject | cruft report: The new kid on the block |
| Message-ID | <I874B-ay4s-1@gated-at.bofh.it> |
cruft report: Fri Feb 16 08:54:01 2024
---- missing: dpkg ----
/etc/network/if-post-down.d/wireless-tools
/etc/network/if-pre-up.d/ethtool
/etc/network/if-pre-up.d/wireless-tools
/etc/network/if-up.d/ethtool
wireless-tools and ethtool owns these files but are missing from the
system, ie MIA
cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
ls /etc/net*
/etc/netconfig /etc/networks
/etc/network:
if-down.d if-post-down.d if-pre-up.d if-up.d interfaces
scott@scott:~/Installation $ ls -Rhal /etc/net*
-rw-r--r-- 1 root root 767 Aug 11 2022 /etc/netconfig
-rw-r--r-- 1 root root 60 Dec 4 23:36 /etc/networks
/etc/network:
total 36K
drwxr-xr-x 6 root root 4.0K Feb 16 08:53 .
drwxr-xr-x 119 root root 12K Feb 16 07:04 ..
drwxr-xr-x 2 root root 4.0K Feb 16 08:53 if-down.d
drwxr-xr-x 2 root root 4.0K Feb 16 08:50 if-post-down.d
drwxr-xr-x 2 root root 4.0K Feb 16 08:52 if-pre-up.d
drwxr-xr-x 2 root root 4.0K Feb 16 08:53 if-up.d
-rw-r--r-- 1 root root 134 Feb 16 08:53 interfaces
/etc/network/if-down.d:
total 8.0K
drwxr-xr-x 2 root root 4.0K Feb 16 08:53 .
drwxr-xr-x 6 root root 4.0K Feb 16 08:53 ..
lrwxrwxrwx 1 root root 32 Feb 24 2023 wpasupplicant ->
../../wpa_supplicant/ifupdown.sh
/etc/network/if-post-down.d:
total 8.0K
drwxr-xr-x 2 root root 4.0K Feb 16 08:50 .
drwxr-xr-x 6 root root 4.0K Feb 16 08:53 ..
lrwxrwxrwx 1 root root 32 Feb 24 2023 wpasupplicant ->
../../wpa_supplicant/ifupdown.sh
/etc/network/if-pre-up.d:
total 8.0K
drwxr-xr-x 2 root root 4.0K Feb 16 08:52 .
drwxr-xr-x 6 root root 4.0K Feb 16 08:53 ..
lrwxrwxrwx 1 root root 32 Feb 24 2023 wpasupplicant ->
../../wpa_supplicant/ifupdown.sh
/etc/network/if-up.d:
total 8.0K
drwxr-xr-x 2 root root 4.0K Feb 16 08:53 .
drwxr-xr-x 6 root root 4.0K Feb 16 08:53 ..
lrwxrwxrwx 1 root root 32 Feb 24 2023 wpasupplicant ->
../../wpa_supplicant/ifupdown.sh
apt-file show ethtool
ethtool: /etc/network/if-pre-up.d/ethtool
ethtool: /etc/network/if-up.d/ethtool
ethtool: /sbin/ethtool
ethtool: /usr/share/bash-completion/completions/ethtool
ethtool: /usr/share/doc/ethtool/AUTHORS
ethtool: /usr/share/doc/ethtool/NEWS.gz
ethtool: /usr/share/doc/ethtool/README
ethtool: /usr/share/doc/ethtool/README.Debian
ethtool: /usr/share/doc/ethtool/changelog.Debian.gz
ethtool: /usr/share/doc/ethtool/copyright
ethtool: /usr/share/man/man8/ethtool.8.gz
Doing a reinstall does not recreate them, why?
[toc] | [next] | [standalone]
| From | Sven Joachim <svenjoac@gmx.de> |
|---|---|
| Date | 2024-02-16 17:00 +0100 |
| Message-ID | <I88N3-ayU7-5@gated-at.bofh.it> |
| In reply to | #267469 |
On 2024-02-16 09:06 -0500, Gremlin wrote:
> cruft report: Fri Feb 16 08:54:01 2024
> ---- missing: dpkg ----
> /etc/network/if-post-down.d/wireless-tools
> /etc/network/if-pre-up.d/ethtool
> /etc/network/if-pre-up.d/wireless-tools
> /etc/network/if-up.d/ethtool
>
> wireless-tools and ethtool owns these files but are missing from the
> system, ie MIA
That is not supposed to happen, but it is hard to tell who removed these
files, when and why. The etckeeper tool can help to track down such
changes.
> Doing a reinstall does not recreate them, why?
Because these files are conffiles, and the admin is free to edit or
delete them; dpkg will respect these changes and not reinstate missing
conffiles, unless given the "--force-confmiss" option.
Cheers,
Sven
[toc] | [prev] | [next] | [standalone]
| From | Gremlin <scott-andrews@columbus.rr.com> |
|---|---|
| Date | 2024-02-16 22:30 +0100 |
| Message-ID | <I8dWp-aCbu-9@gated-at.bofh.it> |
| In reply to | #267480 |
On 2/16/24 10:50, Sven Joachim wrote: > On 2024-02-16 09:06 -0500, Gremlin wrote: > >> cruft report: Fri Feb 16 08:54:01 2024 >> ---- missing: dpkg ---- >> /etc/network/if-post-down.d/wireless-tools >> /etc/network/if-pre-up.d/ethtool >> /etc/network/if-pre-up.d/wireless-tools >> /etc/network/if-up.d/ethtool >> >> wireless-tools and ethtool owns these files but are missing from the >> system, ie MIA > > That is not supposed to happen, but it is hard to tell who removed these > files, when and why. The etckeeper tool can help to track down such > changes. > >> Doing a reinstall does not recreate them, why? > > Because these files are conffiles, and the admin is free to edit or > delete them; dpkg will respect these changes and not reinstate missing > conffiles, unless given the "--force-confmiss" option. > > Cheers, > Sven > > This did the trick: Installation/pakman -r ethtool pakman: 2024-02-13 Remove: ethtool Package: ethtool Packages that will be removed: ethtool* Remove <Y/N> y Reading package lists... Building dependency tree... Reading state information... The following packages will be REMOVED: ethtool* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 737 kB disk space will be freed. (Reading database ... 140228 files and directories currently installed.) Removing ethtool (1:6.1-1) ... Processing triggers for man-db (2.11.2-2) ... (Reading database ... 140218 files and directories currently installed.) Purging configuration files for ethtool (1:6.1-1) ... Reading package lists... Building dependency tree... Reading state information... The following packages will be REMOVED: ethtool* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 737 kB disk space will be freed. (Reading database ... 140228 files and directories currently installed.) Removing ethtool (1:6.1-1) ... Processing triggers for man-db (2.11.2-2) ... (Reading database ... 140218 files and directories currently installed.) Purging configuration files for ethtool (1:6.1-1) ... Removing: ethtool: Completed Removal: Complete pakman: 2024-02-13: Run Complete Installation/pakman -i ethtool pakman: 2024-02-13 Installing: ethtool Package: ethtool New packages: ethtool Continue Install <Y/N> y Installing: ethtool Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: ethtool 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/184 kB of archives. After this operation, 737 kB of additional disk space will be used. Selecting previously unselected package ethtool. (Reading database ... 140216 files and directories currently installed.) Preparing to unpack .../ethtool_1%3a6.1-1_arm64.deb ... Unpacking ethtool (1:6.1-1) ... Setting up ethtool (1:6.1-1) ... Processing triggers for man-db (2.11.2-2) ... Installing: ethtool: Completed Installation: Complete Thanks
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web