Duet Pi Regression - How?
-
Excellent idea on the lines! I will do that. In fact, I was a bit concerned about line length... not only that, but I'm flattening a 'list' now, all I have to do is not do that.
I go back and forth on the -y. Given that this is intended to be used by people who literally can't even answer the initial "Do you want me to do what you asked? [Y/n]" prompt... well... I'm inclined to leave it in.
re: servers, yeah, this one is entirely local. In fact, it ought to insist on a recent (whatever that means) sudo apt update.
-
This post is deleted! -
@Danal said in Duet Pi Regression - How?:
I go back and forth on the -y. Given that this is intended to be used by people who literally can't even answer the initial "Do you want me to do what you asked? [Y/n]" prompt... well... I'm inclined to leave it in.
you don't get any questions if you have all the packages specified;
the one you're missing is (likely) libunwind8 (if there are questions)no idea how that snuck into anything, but the rest holds true..ref the bottom code block; no -Y and no question (also before libunwind8) https://forum.duet3d.com/post/150402
-
Direct copy from your code block; don't know why it is different on your machine and mine.
P.S. Given the name "lib un-wind ate" I was trying to figure out if you were making a bad pun or someting...
sudo apt install \ > duetcontrolserver=1.2.3.0 \ > duetruntime=1.2.3.0 \ > duetsd=1.0.5 \ > duettools=1.2.3.0 \ > duetwebserver=1.2.1.0 \ > duetwebcontrol=2.0.4-1 \ > reprapfirmware=1.2.3.0-1 \ > duetsoftwareframework=1.2.3.0 Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be DOWNGRADED: duetcontrolserver duetruntime duetsd duetsoftwareframework duettools duetwebcontrol duetwebserver reprapfirmware 0 upgraded, 0 newly installed, 8 downgraded, 0 to remove and 0 not upgraded. Need to get 32.2 MB/32.2 MB of archives. After this operation, 0 B of additional disk space will be used. W: Sources disagree on hashes for supposely identical version '1.2.3.0' of 'duetsoftwareframework:armhf'. W: Sources disagree on hashes for supposely identical version '1.0.5' of 'duetsd:armhf'. Do you want to continue? [Y/n]
-
I suspect this message in your install (the other thread) explains the difference:
The following NEW packages will be installed: duetcontrolserver duetruntime duetsd duetsoftwareframework duettools duetwebcontrol duetwebserver reprapfirmwar
as vs. my:
The following packages will be DOWNGRADED: duetcontrolserver duetruntime duetsd duetsoftwareframework duettools duetwebcontrol duetwebserver reprapfirmware
Of course, this could also be it:
W: Sources disagree on hashes for supposely identical version '1.2.3.0' of 'duetsoftwareframework:armhf'. W: Sources disagree on hashes for supposely identical version '1.0.5' of 'duetsd:armhf'.
-
@Danal said in Duet Pi Regression - How?:
W: Sources disagree on hashes for supposely identical version '1.2.3.0' of 'duetsoftwareframework:armhf'.
W: Sources disagree on hashes for supposely identical version '1.0.5' of 'duetsd:armhf'.that goes away if you remove one of the two package feeds?
-
@Danal said in Duet Pi Regression - How?:
P.S. Given the name "lib un-wind ate" I was trying to figure out if you were making a bad pun or someting...
to be honest I have no idea where it came from, but it did show up as a dependency and got autoremoved a few times. figured it was something new in the latest version, but seems to be gremlins..
-
@bearer said in Duet Pi Regression - How?:
W: Sources disagree on hashes for supposely identical version '1.0.5' of 'duetsd:armhf'.
that goes away if you remove one of the two package feeds?
Hmmm... I am removing /etc/apt/sources.list.d/duet3d.list (leaving duet3d-unstable.list) and then running sudo apt update
However, I don't see how that would remove any entries that are already in the apt "database". We'll see in a few min, apt is updating a bunch of raspbian stuff.
-
It DID eliminate the warnings.
It still asks the Y/n question. I now believe it really is the "DOWNGRADED".
-
Put the stable file back in /etc/apt/sources.list.d
Forgot to run sudo apt update and just ran the long duet install command. No warnings.
Ran sudo apt update
Ran the long install again. Warnings are back. That proves it DOES 'recalc' (or how ever you want to phrase it), based on presence/absence of the '.list' files, even if there are no actual updates.
Cool.
P.S. It asked the [Y/n] on every run. Nothing to do with the warnings, apparently.