Skip to content

add flag to upgrade only deb-get packages - #1246

Merged
philclifford merged 1 commit into
wimpysworld:mainfrom
silentJET85:upgrade-dg-only
Dec 29, 2024
Merged

philclifford merged 1 commit into
wimpysworld:mainfrom
silentJET85:upgrade-dg-only

Conversation

@silentJET85

Copy link
Copy Markdown
Contributor

closes #1107
This adds the flag --dg-only which will only upgrade packages which were installed by deb-get, rather than doing a general apt-get upgrade.
I've tested it in Debian 12 and Kubuntu 24.04 and it seems to work properly.

I used --dg-only rather than the --repos-only suggested in the feature request, as that flag when updating doesn't trigger apt-get, and I figured that would be inconsistent behavior. Since this will trigger apt-get, but only for packages that deb-get has installed. (As listed in /etc/deb-get/installed.)

Thoughts?

@philclifford philclifford left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a feature I endorse (the whole point being to apply updates and keep systems up-to-date) but it has been requested and fulfilled so ...

Thanks.

@philclifford
philclifford merged commit fbd62c0 into wimpysworld:main Dec 29, 2024
@silentJET85
silentJET85 deleted the upgrade-dg-only branch December 30, 2024 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature request] deb-get upgrade respect --repos-only

2 participants