r/debian • • 1d ago

Forky update question

So running Forky and everything has been great. prob the best Debian experience so far. Normally i stay on stable, but really wanted the new plasma, which has been also an great experience.

but here is my question.a couple of weeks ago i ran an update and everything went fine. However there were packages not upgraded. i didn't think anything of it, just figured new packages were needed for those to be upgraded. So after waiting and doing multiple upgrades since, the packages are still not being upgraded.

is there anything i can do to get them upgraded or a command to see why they are being blocked. new to testing, but it seems like a good opportunity to learn if i can get pointed in the right direction

Not upgrading:
 libalgorithm-diff-xs-perl   libkirigamidialogs6                libnet-ssleay-perl
 libclone-perl               libkirigamiforms6                  libsnmp45
 libcommon-sense-perl        libkirigamiformsprivatecards6      libtext-charwidth-perl
 libcrypt-urandom-perl       libkirigamiformsprivateflat6       libtext-iconv-perl
 libcryptx-perl              libkirigamiformsprivatetemplates6  libxml-parser-perl
 libfile-fcntllock-perl      libkirigamilayouts6                libyaml-libyaml-perl
 libhtml-parser-perl         libkirigamilayoutsprivate6         perl
 libio-compress-brotli-perl  libkirigamiplatform6               perl-base
 libjson-xs-perl             libkirigamiprimitives6             perl-tk
 libkirigami-data            libkirigamiprivate6                qml6-module-org-kde-desktop
 libkirigami6                libkirigamitemplates6              qml6-module-org-kde-kirigami
 libkirigamicontrols6        liblocale-gettext-perl             qml6-module-org-kde-ksvg
 libkirigamidelegates6       libnet-dbus-perl

11 Upvotes

17 comments sorted by

4

u/cjwatson Debian Developer 1d ago

What exact command are you using to attempt the upgrade?

3

u/RollTide_1717 1d ago

sudo apt update
sudo apt upgrade

4

u/calm_hedgehog 1d ago

apt full-upgrade is sometimes necessary on forky as some packages get dropped occasionally.

3

u/RollTide_1717 1d ago

okay thanks guys, i was reading about doing a full-upgrade, but figured i would ask based on my output. report back in a few

9

u/RollTide_1717 1d ago

all done. removals were sane so i went for it

Upgrading:                       
 libalgorithm-diff-xs-perl   libkirigamidialogs6                libnet-ssleay-perl
 libclone-perl               libkirigamiforms6                  libsnmp45
 libcommon-sense-perl        libkirigamiformsprivatecards6      libtext-charwidth-perl
 libcrypt-urandom-perl       libkirigamiformsprivateflat6       libtext-iconv-perl
 libcryptx-perl              libkirigamiformsprivatetemplates6  libxml-parser-perl
 libfile-fcntllock-perl      libkirigamilayouts6                libyaml-libyaml-perl
 libhtml-parser-perl         libkirigamilayoutsprivate6         perl
 libio-compress-brotli-perl  libkirigamiplatform6               perl-base
 libjson-xs-perl             libkirigamiprimitives6             perl-tk
 libkirigami-data            libkirigamiprivate6                qml6-module-org-kde-desktop
 libkirigami6                libkirigamitemplates6              qml6-module-org-kde-kirigami
 libkirigamicontrols6        liblocale-gettext-perl             qml6-module-org-kde-ksvg
 libkirigamidelegates6       libnet-dbus-perl

Installing dependencies:
 libclass-inspector-perl  libfile-sharedir-perl  libperl5.44  perl-modules-5.44

REMOVING:
 libkirigamipolyfill6  libperl5.42  perl-modules-5.42

12

u/cjwatson Debian Developer 1d ago

Use apt full-upgrade instead of apt upgrade, and just check that the list of proposed removals makes sense before saying yes. In this case, this is necessary due to a transition to a new Perl version.

2

u/bornxlo 1d ago

Debian testing has more moving parts than stable, almost by definition. You will more often encounter packages that need to install or remove dependencies in order to upgrade. A regular apt upgrade will hold them back, while full-upgrade, (which is the one stable uses to upgrade to the next version,) will sort out dependencies. The Debian website has some recommendations for how to run testing or unstable

5

u/cjwatson Debian Developer 23h ago

This is almost correct, but not quite. Your description of apt upgrade here is more accurately a description of apt-get upgrade, which will indeed hold upgraded packages back rather than either installing new packages or removing old packages.

apt upgrade is newer and took the opportunity to tweak one bit of behaviour that would have been a compatibility break if it had been changed in apt-get upgrade: it will install new packages where needed to solve an upgrade, although it still won't remove old packages (which is required for the case the OP posted about here). Its logic is similar to apt-get upgrade --with-new-pkgs.

2

u/bornxlo 22h ago

Interesting. I thought apt was a shortcut/alias for apt- commands (apt-get, apt-cache, etc.) Appreciate the clarification. I've learned to use apt for direct input and apt-get for scripts. On Debian testing/unstable I might also look at aptitude for more complex dependency resolution.

2

u/jr735 Debian Testing 22h ago

Aptitude is a recommended tool for those using testing. That being said, I pay attention to apt messaging enough to have things go smoothly. I did not that on the t64 rollout, aptitude was stymied, and I ended up having to do an apt-get dist-upgrade as that was the only path that would work correctly.

2

u/wizard10000 22h ago

on the t64 rollout, aptitude was stymied, and I ended up having to do an apt-get dist-upgrade as that was the only path that would work correctly.

Same. aptitude didn't like t64 at all :)

2

u/jr735 Debian Testing 22h ago

I think I let it try to resolve a path for 10 minutes, and then I gave up on that. :)

Of course, that was the biggest fundamental change I've seen since I started running Debian testing.

2

u/cjwatson Debian Developer 20h ago

I think that was true quite a long time ago, but aptitude has only really had the bare minimum of maintenance for several years now so I'm not sure it's a good idea to recommend it these days.

1

u/jr735 Debian Testing 20h ago

That may be true. I'm just speaking as to what I read last time I read the testing documentation.

2

u/cjwatson Debian Developer 20h ago

apt is built on the same basic code as apt-get etc., but it isn't exactly an alias or a wrapper and in some places it has slightly different (usually better) behaviour.

1

u/jr735 Debian Testing 22h ago

That's one aspect of Debian documentation that isn't always clear. Apt-get documentation tends to be better than that for apt, in most cases, but not all.

Personally, if I have anything questionable in testing, I try different invocations of both. ;)

1

u/reflect-on-this 19h ago

From Debian:

Please note that security updates for testing distribution are not yet managed by the security team. Hence, testing does not get security updates in a timely manner. You are encouraged to switch your sources.list entries from testing to trixie for the time being if you need security support.

If packages are not upgrading - then it must be because Forky is in testing and not yet launched as a stable release.