Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
aptcc not installing recommends #145
Comments
|
does apt install pkg to update install the recommends? |
|
It does. both upgrade and dist-upgrade as a matter of fact |
|
no, I mean install as in |
|
oh. good question. I can't check right now as I have no linux at hand until sunday, if you don't get to it before then I'll make a test repo and have a look. |
|
k thks, as aptcc should do the same as apt install foo, I only use dist-upgrade to get a list of upgradable things |
ximion
added
the
Backend: aptcc (Debian GNU/Linux)
label
Jul 24, 2016
|
Testing repo: https://github.com/apachelogger/test-apt-recommends-install kitteh meows the repo also has build.sh which rebuilds the repo, update.sh which does an apt update bypassing gpg verification and test.sh which tests an install sequence apt install kitteh=1
same for dist-upgrade, same for upgrade. For good measure, I also tried qapt-batch --install kitteh (to install 2 on top of 1) which also works as expected. So there's definitely something wrong in aptcc's resolution. |
apachelogger
referenced this issue
Aug 16, 2016
Closed
[aptcc] updates never get autoinst resolution #153
apachelogger
changed the title from
aptcc not installing recommends on update
to
aptcc not installing recommends
Sep 19, 2016
|
So, as it turns out this affects regular install as well. Namely if you install kitteh=2 from above's repo it won't pull in meows. I have an unfinished fix for this which is basically the same for both install and update. We first want to mark all to be changed packages without autoinst. We then want to mark all of them again but this time with autoinst. After this we probably can mark them protected, in between it's probably more of a hindrance to resolution than anything. By first marking everything without autoinst we can make sure that explicit selection trumps in an or-group e.g. I need to do a bit more testing on the when to mark things protected though. |

apachelogger commentedJul 12, 2016
This is inconsistent with apt where both upgrade and dist-upgrade will install new recommends. Furthermore, this actually can have negative impact on any form of rolling system where this sort of thing might occur regularly.