The Wanderer <wande...@fastmail.fm> writes: > On 2020-07-27 at 09:56, Rodolfo Medina wrote: > >> The Wanderer <wande...@fastmail.fm> writes: >> >>> On 2020-07-27 at 08:53, Rodolfo Medina wrote: > >>>> But audacity is installed on my Debian box since months... How can it >>>> depend on a package installed a few days ago...? >>> >>> My guess would be that this is about architecture differences. >>> >>> What the install line from above indicates was installed on the 23rd is >>> the i386 version of liblilv-0-0. I suspect that the amd64 version was >>> already installed. The amd64 version of audacity depends on the amd64 >>> version of this library, and the i386 version of audacity almost >>> certainly depends on the i386 version of this library. >>> >>> Try >>> >>> # aptitude purge liblilv-0-0:i386 >>> >>> and see what that gives you. >> >> Your guess seems to be true: >> >> # aptitude purge liblilv-0-0:i386 >> The following packages will be REMOVED: >> liblilv-0-0:i386{p} libserd-0-0:i386{u} libsord-0-0:i386{u} >> libsratom-0-0:i386{u} >> 0 packages upgraded, 0 newly installed, 4 to remove and 192 not upgraded. >> Need to get 0 B of archives. After unpacking 394 kB will be freed. >> Do you want to continue? [Y/n/?] >> >> , so it's also important that appendix `:i386'. Now, I want to remove all >> tha packages I installed on last july 23th. To do so, I do: >> >> $ grep "2015-12-19.*.install " /var/log/dpkg.log | awk '{ print $4 }' | cut >> -d: -f1 | tr '\n' ' ' >> >> How can I modify the above command so to include - when it is present - also >> that important suffix? > > Drop the '| cut -d: -f1' part. That explicitly gets rid of the suffix. > As far as I can tell from trivial testing, the resulting package list is > in the correct syntax to be passed to apt-get or aptitude for removal.
Unfortunately, root@lenovo:~# aptitude purge "2020-07-23.*.install " /var/log/dpkg.log | awk '{ print $4 }' | tr '\n' ' ' Unable to apply some actions, aborting information... information... package root@lenovo:~# Strange, because: $ grep "2020-07-23.*.install " /var/log/dpkg.log | awk '{ print $4 }' | tr '\n' ' ' xml-core:all docutils-common:all docutils-doc:all libimagequant0:amd64 libjs-sphinxdoc:all python-alabaster:all python-asn1crypto:all python-babel-localedata:all python-tz:all python-babel:all python-certifi:all python-cffi-backend:amd64 python-enum34:all python-ipaddress:all python-cryptography:amd64 python-roman:all python-docutils:all python-idna:all python-imagesize:all python-markupsafe:amd64 python-jinja2:all python-olefile:all python-openssl:all python-pyparsing:all python-packaging:all python-pil:amd64 python-pygments:all python-urllib3:all python-requests:all python-typing:all sphinx-common:all python-sphinx:all nasm:amd64 yasm:amd64 cmake-data:all libcurl4:amd64 librhash0:amd64 libuv1:amd64 cmake:amd64 libchromaprint-tools:amd64 libchromaprint-dev:amd64 frei0r-plugins-dev:amd64 libunistring-dev:amd64 libunbound8:amd64 libgnutls-dane0:amd64 libopts25:amd64 gnutls-bin:amd64 libgmpxx4ldbl:amd64 libgmp-dev:amd64 libgnutlsxx28:amd64 libidn2-dev:amd64 libp11-kit-dev:amd64 libtasn1-6-dev:amd64 nettle-dev:amd64 libgnutls28-dev:amd64 libtasn1-doc:all libdpkg-perl:all libfile-fcntllock-perl:amd64 pkg-config:amd64 ladspa-sdk:amd64 aom-tools:amd64 libaom-dev:amd64 libserd-0-0:i386 libsord-0-0:i386 libsratom-0-0:i386 liblilv-0-0:i386 libserd-dev:amd64 libsord-dev:amd64 lv2-dev:amd64 libsratom-dev:amd64 liblilv-dev:amd64 libraw1394-dev:amd64 libiec61883-dev:amd64 libraw1394-tools:amd64 libraw1394-11:i386 libiec61883-0:i386 libraw1394-dev:i386 Maybe all those `:all'...? Then get cut off only them? rodolfo