[Solved] Few warnings with today's dist-upgrade

Started by micspabo, 2024/06/01, 13:51:22

Previous topic - Next topic

micspabo


# apt update && apt dist-upgrade
...
dpkg: warning: old file '/sbin/mkfs.jfs' is the same as several new files! (both '/usr/sbin/jfs_mkfs' and '/usr/sbin/mkfs.jfs')
dpkg: warning: old file '/sbin/jfs_mkfs' is the same as several new files! (both '/usr/sbin/jfs_mkfs' and '/usr/sbin/mkfs.jfs')
dpkg: warning: old file '/sbin/jfs_fsck' is the same as several new files! (both '/usr/sbin/fsck.jfs' and '/usr/sbin/jfs_fsck')
dpkg: warning: old file '/sbin/fsck.jfs' is the same as several new files! (both '/usr/sbin/fsck.jfs' and '/usr/sbin/jfs_fsck')
...


Trying to find out which are the old files,-

# ls --color --time-style=long-iso --group-directories-first -lhag /sbin/mkfs.jfs
  -rwxr-xr-x 2 root 59K 2024-05-31 17:37 /sbin/mkfs.jfs

# ls --color --time-style=long-iso --group-directories-first -lhag /usr/sbin/jfs_mkfs
  -rwxr-xr-x 2 root 59K 2024-05-31 17:37 /usr/sbin/jfs_mkfs

# ls --color --time-style=long-iso --group-directories-first -lhag /usr/sbin/mkfs.jfs
  -rwxr-xr-x 2 root 59K 2024-05-31 17:37 /usr/sbin/mkfs.jfs


I am lost as all have the same timestamp.
What do I have to do in this case to cleanup behind D-U?
⢀⣴⠾⠻⢶⣦⠀  
⣾⠁⢠⠒⠀⣿⡁   Debian's Gesellschaftsvertrag
⢿⡄⠘⠷⠚⠋⠀     <https://www.debian.org/social_contract.de.html>
⠈⠳⣄⠀         Danke dafür!

edlin

/sbin sollte nur ein Link auf /usr/sbin sein. Das heißt, physisch liegen die Dateien unter /usr/sbin. Damit ist es auch normal, dass es sich um dieselben Dateien mit dem gleichen Zeitstempel handeln muss.

edlin@Devil:~$ ls -l / |grep sbin
lrwxrwxrwx   1 root     root        8 16. Aug 2023  sbin -> usr/sbin


edlin
,,Ein kluger Mann macht nicht alle Fehler selber. Er lässt auch anderen eine Chance."

Winston Churchill

micspabo

Das sich die Katze da selber in ihren Schwanz beißt habe ich nicht geblickt.
Danke!
⢀⣴⠾⠻⢶⣦⠀  
⣾⠁⢠⠒⠀⣿⡁   Debian's Gesellschaftsvertrag
⢿⡄⠘⠷⠚⠋⠀     <https://www.debian.org/social_contract.de.html>
⠈⠳⣄⠀         Danke dafür!