Welcome, Guest. Please login or register.
Did you miss your activation email?

Recent Posts

Pages: [1] 2 3 ... 10
1
I did the full-upgrade now as apache wasn't removed.

Seems everything fine but I will shutdown the system later.
2
@absolut: I do not have packages in a state to be reported this way, thus, can you please verify (or falsify), that the following "construct" does what you propose:
Code: [Select]
for i in $(aptitude search "~aremove" -F%p); do aptitude why-not "~Bbreaks" $i; doneIt would be a one-liner, if it works. Thank you.

hi ro_sid,

the starting point of your construct is aptitude search for "remove" and does  produce in my case only following output:
Code: [Select]
root@sidbox:~# aptitude search "~aremove" -F%p
libgphoto2-l10n
libnsl-dev
libtirpc-dev
python3-nose
python3-pyrsistent
python3-zombie-imp
vlc-l10n

your one liner thus results in this output:
Code: [Select]
$ for i in $(aptitude search "~aremove" -F%p); do aptitude why-not "~Bbreaks" $i; done
Automatically installed, current version 2.5.31-2.1, priority optional
No dependencies require to remove libgphoto2-l10n
Automatically installed, current version 1.3.0-3, priority optional
No dependencies require to remove libnsl-dev
Automatically installed, current version 1.3.4+ds-1, priority optional
The candidate version 1.3.4+ds-1.1 has priority optional
No dependencies require to remove libtirpc-dev
Automatically installed, current version 1.3.7-12, priority optional
No dependencies require to remove python3-nose
Automatically installed, current version 0.20.0-1+b1, priority optional
No dependencies require to remove python3-pyrsistent
Automatically installed, current version 0.0.2-2, priority optional
No dependencies require to remove python3-zombie-imp
Automatically installed, current version 3.0.20-3, priority optional
No dependencies require to remove vlc-l10n

whereas apt full-upgrade -dy lists for me the following:
Code: [Select]
root@sidbox:~# LANG=C apt full-upgrade -dy
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  kuserfeedback-doc libkgantt2-l10n libnsl-dev libtirpc-dev python3-nose python3-pyrsistent python3-zombie-imp
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  libabsl20220623 libappimage1.0abi1 libapt-pkg6.0 libarchive13 libaribb24-0 libarpack2 libasound2 libatk-bridge2.0-0 libatk1.0-0 libatm1 libatopology2 libatspi2.0-0 libauparse0 libboost-chrono1.83.0 libburn4 libcanberra0 libcapi20-3 libcdio-cdda2 libcdio-paranoia2
  libcdio19 libcfitsio10 libchafa0 libclucene-contribs1v5 libclucene-core1v5 libcmis-0.6-6 libcups2 libcupsfilters1 libcupsimage2 libcurl3-gnutls libcurl4 libdb5.3 libdebuginfod1 libdirectfb-1.7-7 libdmtx0b libdv4 libdvbv5-0 libdvdread8 libdw1 libefiboot1 libefisec1
  libefivar1 libelf1 libept1.6.0 libevent-2.1-7 libevent-core-2.1-7 libext2fs2 libflac12 libfontembed1 libfuse2 libgail18 libgdal34 libgdbm-compat4 libgdbm6 libgeoip1 libgeos-c1v5 libgeos3.12.1 libgimp2.0 libglibmm-2.4-1v5 libglibmm-2.68-1 libgnokii7 libgnutls-dane0
  libgnutls30 libgpgme11 libgpgmepp6 libgphoto2-6 libgphoto2-port12 libgps30 libgsoap-2.8.132 libgtk-3-0 libgtk2.0-0 libgtkmm-3.0-1v5 libgts-0.7-5 libhdf5-103-1 libhdf5-hl-100 libhogweed6 libhwy1 libical3 libieee1284-3 libimath-3-1-29 libimlib2 libiso9660-11
  libisoburn1 libisofs6 libiw30 libixml11 libjxr0 libkf5akonadisearchcore5 libkf5akonadisearchdebug5 libkf5akonadisearchpim5 libkf5akonadisearchxapian5 libkf5kdelibs4support5 libkmlbase1 libkmldom1 libkmlengine1 liblirc-client0 libllvm17 liblouisutdml9 libmagic1
  libmagick++-6.q16-9 libmagickcore-6.q16-7 libmagickwand-6.q16-7 libmbedcrypto7 libmbedtls14 libmbedx509-1 libminizip1 libmjpegutils-2.1-0 libmpeg2encpp-2.1-0 libmplex2-2.1-0 libmtdev1 libmtp9 libneon27 libneon27-gnutls libnetcdf19 libnetpbm11 libnettle8 libnpth0
  libntfs-3g89 libnvme1 libopenmpt0 liborc-0.4-0 libparted-fs-resize0 libparted2 libpcap0.8 libperl5.38 libphonon4qt5-4 libpipewire-0.3-0 libpkcs11-helper1 libpng16-16 libpodofo0.9.8 libpoppler-cpp0v5 libpoppler-glib8 libpoppler-qt5-1 libpoppler126 libprotobuf-lite32
  libprotobuf32 libpskc0 libpsl5 libpython3.11 libqalculate22 libqgpgme15 libqpdf29 libqt5concurrent5 libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5opengl5 libqt5printsupport5 libqt5sql5 libqt5test5 libqt5widgets5 libqt5xml5 libqt6core6 libqt6dbus6
  libqt6gui6 libqt6network6 libqt6opengl6 libqt6openglwidgets6 libqt6printsupport6 libqt6sql6 libqt6test6 libqt6widgets6 libqt6xml6 libraw23 librdf0 libreadline8 libreiserfscore0 libruby3.1 libsmbclient libsnmp40 libsoup2.4-1 libspandsp2 libspatialaudio0
  libspatialite8 libsphinxbase3 libssh2-1 libssl3 libstoken1 libtevent0 libtirpc3 libts0 libtss2-esys-3.0.2-0 libtss2-mu-4.0.1-0 libtss2-sys1 libtss2-tcti-cmd0 libtss2-tcti-device0 libtss2-tcti-libtpms0 libtss2-tcti-mssim0 libtss2-tcti-spi-helper0 libtss2-tcti-swtpm0
  libtss2-tctildr0 libuno-cppu3 libuno-cppuhelpergcc3-3 libuno-purpenvhelpergcc3-3 libuno-sal3 libuno-salhelpergcc3-3 libupnp17 liburcu8 libuv1 libv4l-0 libv4lconvert0 libxerces-c3.2 libxmlsec1 libxmlsec1-nss libxmlsec1-openssl libxt6 libzbar0 libzip4 libzvbi0
  libzzip-0-13
The following NEW packages will be installed:
  gcr4 libabsl20220623t64 libappimage1.0abi1t64 libapt-pkg6.0t64 libarchive13t64 libaribb24-0t64 libarpack2t64 libasound2t64 libatk-bridge2.0-0t64 libatk1.0-0t64 libatm1t64 libatopology2t64 libatspi2.0-0t64 libauparse0t64 libboost-chrono1.83.0t64 libburn4t64
  libcanberra0t64 libcapi20-3t64 libcdio-cdda2t64 libcdio-paranoia2t64 libcdio19t64 libcfitsio10t64 libchafa0t64 libclucene-contribs1t64 libclucene-core1t64 libcmis-0.6-6t64 libcups2t64 libcupsfilters1t64 libcupsimage2t64 libcurl3t64-gnutls libcurl4t64 libdb5.3t64
  libdebuginfod1t64 libdirectfb-1.7-7t64 libdmtx0t64 libdv4t64 libdvbv5-0t64 libdvdread8t64 libdw1t64 libefiboot1t64 libefisec1t64 libefivar1t64 libelf1t64 libept1.6.0t64 libevent-2.1-7t64 libevent-core-2.1-7t64 libext2fs2t64 libflac12t64 libfontembed1t64 libfuse2t64
  libgail18t64 libgck-2-2 libgcr-4-4 libgdal34t64 libgdbm-compat4t64 libgdbm6t64 libgeoip1t64 libgeos-c1t64 libgeos3.12.1t64 libgimp2.0t64 libglib2.0-0t64 libglibmm-2.4-1t64 libglibmm-2.68-1t64 libgnokii7t64 libgnutls-dane0t64 libgnutls30t64 libgpgme11t64
  libgpgmepp6t64 libgphoto2-6t64 libgphoto2-port12t64 libgps30t64 libgsoap-2.8.132t64 libgtk-3-0t64 libgtk2.0-0t64 libgtkmm-3.0-1t64 libgts-0.7-5t64 libhdf5-103-1t64 libhdf5-hl-100t64 libhogweed6t64 libhwy1t64 libical3t64 libieee1284-3t64 libimath-3-1-29t64
  libimlib2t64 libiso9660-11t64 libisoburn1t64 libisofs6t64 libiw30t64 libixml11t64 libjxr0t64 libkf5akonadisearchcore5t64 libkf5akonadisearchdebug5t64 libkf5akonadisearchpim5t64 libkf5akonadisearchxapian5t64 libkf5kdelibs4support5t64 libkmlbase1t64 libkmldom1t64
  libkmlengine1t64 liblirc-client0t64 libllvm17t64 liblouisutdml9t64 libmagic1t64 libmagick++-6.q16-9t64 libmagickcore-6.q16-7t64 libmagickwand-6.q16-7t64 libmbedcrypto7t64 libmbedtls14t64 libmbedx509-1t64 libminizip1t64 libmjpegutils-2.1-0t64 libmpeg2encpp-2.1-0t64
  libmplex2-2.1-0t64 libmtdev1t64 libmtp9t64 libneon27t64 libneon27t64-gnutls libnetcdf19t64 libnetpbm11t64 libnettle8t64 libnpth0t64 libntfs-3g89t64 libnvme1t64 libopenmpt0t64 liborc-0.4-0t64 libparted-fs-resize0t64 libparted2t64 libpcap0.8t64 libperl5.38t64
  libphonon4qt5-4t64 libpipewire-0.3-0t64 libpkcs11-helper1t64 libpng16-16t64 libpodofo0.9.8t64 libpoppler-cpp0t64 libpoppler-glib8t64 libpoppler-qt5-1t64 libpoppler126t64 libprotobuf-lite32t64 libprotobuf32t64 libpskc0t64 libpsl5t64 libpython3.11t64
  libqalculate22t64 libqgpgme15t64 libqpdf29t64 libqt5concurrent5t64 libqt5core5t64 libqt5dbus5t64 libqt5gui5t64 libqt5network5t64 libqt5opengl5t64 libqt5printsupport5t64 libqt5sql5t64 libqt5test5t64 libqt5widgets5t64 libqt5xml5t64 libqt6core6t64 libqt6dbus6t64
  libqt6gui6t64 libqt6network6t64 libqt6opengl6t64 libqt6openglwidgets6t64 libqt6printsupport6t64 libqt6sql6t64 libqt6test6t64 libqt6widgets6t64 libqt6xml6t64 libraw23t64 librdf0t64 libreadline8t64 libreiserfscore0t64 libruby3.1t64 libsmbclient0 libsnmp40t64
  libsoup-2.4-1 libspandsp2t64 libspatialaudio0t64 libspatialite8t64 libsphinxbase3t64 libssh2-1t64 libssl3t64 libstoken1t64 libtevent0t64 libtirpc3t64 libts0t64 libtss2-esys-3.0.2-0t64 libtss2-mu-4.0.1-0t64 libtss2-sys1t64 libtss2-tcti-cmd0t64
  libtss2-tcti-device0t64 libtss2-tcti-libtpms0t64 libtss2-tcti-mssim0t64 libtss2-tcti-spi-helper0t64 libtss2-tcti-swtpm0t64 libtss2-tctildr0t64 libuno-cppu3t64 libuno-cppuhelpergcc3-3t64 libuno-purpenvhelpergcc3-3t64 libuno-sal3t64 libuno-salhelpergcc3-3t64
  libupnp17t64 liburcu8t64 libuv1t64 libv4l-0t64 libv4lconvert0t64 libxerces-c3.2t64 libxkbregistry0 libxmlsec1t64 libxmlsec1t64-nss libxmlsec1t64-openssl libxt6t64 libzbar0t64 libzip4t64 libzvbi0t64 libzzip-0-13t64 linux-headers-6.7.10-1-siduction-amd64
  linux-image-6.7.10-1-siduction-amd64
The following packages have been kept back:
  python3-ipywidgets
The following packages will be upgraded:


... snip ...


best
absolut
3
Well seems like it's bad RAM, memtest is spitting out a lot of errors 🥲
4
Code: [Select]
[   36.175771] BTRFS error (device nvme0n1p2): tree first key mismatch detected, bytenr=641661665280 parent_transid=83112 key expected=(16040497152,168,134221824) has=(16040497152,168,4096)
[   36.175937] BTRFS error (device nvme0n1p2): tree first key mismatch detected, bytenr=641661665280 parent_transid=83112 key expected=(16040497152,168,134221824) has=(16040497152,168,4096)
[   36.175948] BTRFS error (device nvme0n1p2): failed to run delayed ref for logical 16040960000 num_bytes 4096 type 178 action 1 ref_mod 1: -5
[   36.175955] BTRFS error (device nvme0n1p2: state A): Transaction aborted (error -5)
[   36.175958] BTRFS: error (device nvme0n1p2: state A) in btrfs_run_delayed_refs:2167: errno=-5 IO failure
[   36.175960] BTRFS info (device nvme0n1p2: state EA): forced readonly

I got the original error again, so that is not lost 😅
5
After following this thread and a simulated full-upgrade running through OK I went for a full-upgrade this morning and after an anxious 10-15 min everything completed fine.
6
@absolut: I do not have packages in a state to be reported this way, thus, can you please verify (or falsify), that the following "construct" does what you propose:
Code: [Select]
for i in $(aptitude search "~aremove" -F%p); do aptitude why-not "~Bbreaks" $i; doneIt would be a one-liner, if it works. Thank you.
7
Software - Support / BTRFS tree first key mismatch detected
« Last post by Zombiefleischer on Today at 01:19:05 »
Hello fellow linux users,

I got (I think) a bitflip today as my main drive sprung into read-only mode with the message " tree first key mismatch detected"
After rebooting I landed in initramfs as /root could not be mounted. In my tries to recover/repair this I accidentally deleted the message with
Code: [Select]
btrfs rescue zero-log /dev/nvme0n1p2I'm now at a point, where I don't know, what I should do now.
I tried:
Code: [Select]
siducer@siduction:~$ sudo btrfsck -p /dev/nvme0n1p2
Opening filesystem to check...
Checking filesystem on /dev/nvme0n1p2
UUID: 678ea3a2-d45e-4198-a28a-3a7d93329e7f
[1/7] checking root items                      (0:00:08 elapsed, 5484866 items checked)
ref mismatch on [7601295360 8192] extent item 9, found 1elapsed, 399549 items checked)
[2/7] checking extents                         (0:00:24 elapsed, 405437 items checked)
ERROR: errors found in extent allocation tree or chunk allocation
[3/7] checking free space tree                 (0:00:01 elapsed, 1076 items checked)
[4/7] checking fs roots                        (0:01:47 elapsed, 297815 items checked)
[5/7] checking csums (without verifying data)  (0:00:00 elapsed, 876800 items checked)
[6/7] checking root refs                       (0:00:00 elapsed, 59 items checked)
[7/7] checking quota groups skipped (not enabled on this FS)
found 1122057031680 bytes used, error(s) found
total csum bytes: 1088396968
total tree bytes: 6641614848
total fs tree bytes: 4897996800
total extent tree bytes: 541425664
btree space waste bytes: 1040216153
file data blocks allocated: 5041668685824
 referenced 1470731497472

siducer@siduction:~$ sudo btrfs rescue chunk-recover /dev/nvme0n1p2
Scanning: 852492288 in dev0scan chunk headers error

siducer@siduction:~$ sudo btrfs check -p --check-data-csum /dev/nvme0n1p2
Opening filesystem to check...
Checking filesystem on /dev/nvme0n1p2
UUID: 678ea3a2-d45e-4198-a28a-3a7d93329e7f
[1/7] checking root items                      (0:00:08 elapsed, 5484866 items checked)
ref mismatch on [7601295360 8192] extent item 9, found 1elapsed, 399765 items checked)
[2/7] checking extents                         (0:00:23 elapsed, 405437 items checked)
ERROR: errors found in extent allocation tree or chunk allocation
[3/7] checking free space tree                 (0:00:01 elapsed, 1076 items checked)
[4/7] checking fs roots                        (0:01:47 elapsed, 297815 items checked)
[5/7] checking csums against data              (0:41:49 elapsed, 876800 items checked))
[6/7] checking root refs                       (0:00:00 elapsed, 59 items checked)
[7/7] checking quota groups skipped (not enabled on this FS)
found 1122057031680 bytes used, error(s) found
total csum bytes: 1088396968
total tree bytes: 6641614848
total fs tree bytes: 4897996800
total extent tree bytes: 541425664
btree space waste bytes: 1040216153
file data blocks allocated: 5041668685824
 referenced 1470731497472

siducer@siduction:~$ sudo btrfs check -p -b /dev/nvme0n1p2
Opening filesystem to check...
Checking filesystem on /dev/nvme0n1p2
UUID: 678ea3a2-d45e-4198-a28a-3a7d93329e7f
[1/7] checking root items                      (0:00:07 elapsed, 5484866 items checked)
ref mismatch on [7601295360 8192] extent item 9, found 1elapsed, 401033 items checked)
[2/7] checking extents                         (0:00:24 elapsed, 405437 items checked)
ERROR: errors found in extent allocation tree or chunk allocation
[3/7] checking free space tree                 (0:00:01 elapsed, 1076 items checked)
[4/7] checking fs roots                        (0:01:46 elapsed, 297815 items checked)
[5/7] checking csums (without verifying data)  (0:00:01 elapsed, 876800 items checked)
[6/7] checking root refs                       (0:00:00 elapsed, 59 items checked)
[7/7] checking quota groups skipped (not enabled on this FS)
found 1122057031680 bytes used, error(s) found
total csum bytes: 1088396968
total tree bytes: 6641614848
total fs tree bytes: 4897996800
total extent tree bytes: 541425664
btree space waste bytes: 1040216153
file data blocks allocated: 5041668685824
 referenced 1470731497472

I have not tried --repair and --init-csum-tree/--init-extent-tree as they come with a lot of warnings I don't have that much experience with btrfs yet.
Can someone please help me out of this misery?

o/ Zombiefleischer
8
michaa, not bad... indeed bash scripting would work!

i was thinking somehow in the direction of "apt list --upgradable", where such a transition of packages would be highlighted "out of the box"... my thoughts are: that happens here massively with suffix t64, but also would generally happen to individual library version upgrades, e.g. a suffix increment from libarpack1 to libarpack2

so... closest i came to this:

after storing _only_ the apt output regarding the to be REMOVED packages in a file A, i ran:

Code: [Select]
cat A | tr " " "\n" > AA

and then

Code: [Select]
for i in $(cat AA); do LANG=C aptitude why-not $i | grep Breaks; done

p   libabsl20220623t64 Breaks  libabsl20220623 (< 20220623.1-3.1)
p   libappimage1.0abi1t64  Breaks  libappimage1.0abi1 (< 1.0.4-5-3.1)
p   libapt-pkg6.0t64 Breaks  libapt-pkg6.0 (< 2.7.13)
p   libarchive13t64 Breaks  libarchive13 (< 3.7.2-1.1)
p   libaribb24-0t64    Breaks   libaribb24-0 (< 1.0.3-2.1)
p   libarpack2t64                Breaks     libarpack2 (< 3.9.1-1.1)
^C

9
....
 does anyone know a more user-friendly way to do this investigation, and not like i did?
...

Quote
Ok,
apt-to-be-removed kopiert nach/copy to "A", dann/then

Code: [Select]
cat A | tr " " "\n" > AAund/and
apt-to-be-installed kopiert nach/copy to  "B", dann/then

Code: [Select]
cat B| tr " " "\n" > BB;
nun/now

Code: [Select]
comm -23 <(sort -u AA) <(sed 's/t64$//' BB | sort -u)--->  :) 8)
10

see attached screenshot with a file diff below...

question i have now is, does anyone know a more user-friendly way to do this investigation, and not like i did?
best regards,
absolut




That looks like a very user friendly/visual way to do it.
Pages: [1] 2 3 ... 10