I'm trying to roll back my pigpio installation to test for changes but running into this problem:
pi@MyPi:~ $ sudo apt install pigpio=1.68-3+rpi1
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
pigpio : Depends: libpigpiod-if2-1 (= 1.68-3+rpi1) but 1.71-0~rpt1 is to be installed
Depends: libpigpiod-if1 (= 1.68-3+rpi1) but 1.71-0~rpt1 is to be installed
Depends: libpigpiod-if-dev (= 1.68-3+rpi1) but 1.71-0~rpt1 is to be installed
Depends: pigpio-tools (= 1.68-3+rpi1) but 1.71-0~rpt1 is to be installed
Depends: libpigpio1 (= 1.68-3+rpi1) but 1.71-0~rpt1 is to be installed
Depends: libpigpio-dev (= 1.68-3+rpi1) but 1.71-0~rpt1 is to be installed
Depends: pigpiod (= 1.68-3+rpi1) but 1.71-0~rpt1 is to be installed
E: Unable to correct problems, you have held broken packages.
The last line includes an error message but it doesn't seem to be the problem:
pi@MyPi:~ $ apt-mark showhold
pi@MyPi:~ $
If I add a package, it does show up in hold.
Note, I've also removed pigpio:
pi@MyPi:~ $ sudo apt purge pigpio -y && sudo apt autoremove -y
I can get past my issue by manually specifying each package as the old version but this seems unnecessary.
pi@MyPi:~ $ sudo apt install pigpio=1.68-3+rpi1 libpigpiod-if2-1=1.68-3+rpi1 libpigpiod-if1=1.68-3+rpi1 libpigpiod-if-dev=1.68-3+rpi1 pigpio-tools=1.68-3+rpi1 libpigpio1=1.68-3+rpi1 libpigpio-dev=1.68-3+rpi1 pigpiod=1.68-3+rpi1
In particular, I think this means that in the future if I remove pigpio
, it's dependencies won't be cleaned up too.
Is there some simple apt
option I'm missing?