Re: About /var/log/dpgk.log
The Wanderer <wanderer@fastmail.fm> writes:
> On 2020-07-27 at 08:53, Rodolfo Medina wrote:
>
>> The Wanderer <wanderer@fastmail.fm> writes:
>>
>>> On 2020-07-27 at 08:15, Rodolfo Medina wrote:
>
>>>
>>> That log message means that at 08:02:37 on July 23rd, 2020, the computer
>>> went from not having any i386-architecture version of liblilv-0-0
>>> installed at all to having version 0.24.2~dfsg0-2 installed.
>>>
>>> The "<none>" is the version which was installed *before* dpkg took
>>> action. The field after that is the version which was installed *after*
>>> dpkg took action. (Or maybe "was to be"; I don't know what gets logged
>>> in the case where the install fails, et cetera.)
>>
>> Clear now, thanks...
>>
>> Now, when I try to remove liblilv-0-0, Debian warns me that audacity depends
>> on it:
>>
>> # aptitude purge liblilv-0-0
>> The following packages will be REMOVED:
>> liblilv-0-0{p}
>> 0 packages upgraded, 0 newly installed, 1 to remove and 192 not upgraded.
>> Need to get 0 B of archives. After unpacking 132 kB will be freed.
>> The following packages have unmet dependencies:
>> audacity : Depends: liblilv-0-0 (>= 0.16.0~dfsg0) but it is not going to be
>> installed
>>
>>
>> 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?
thanks
rodolfo
Reply to: