Wallabag fails to update from 2.5.4~ynh3 to 2.5.4~ynh4 due to php "WARNING - E: Packages need to be removed but remove is disabled."

  • READ ME AND USE THIS TEMPLATE IF YOU WANT TO GET HELP ! You may ask your question in english or french, whichever is easiest for you… But please use one of the templates provided below :wink:
  • LISEZ-MOI ET UTILISEZ CE MODÈLE DE TOPIC SI VOUS SOUHAITEZ OBTENIR DE L’AIDE ! Vous pouvez poser votre question en anglais ou français, selon ce qui est le plus simple pour vous… Mais de préférence en utilisant l’un des deux modèles fournis ci-dessous :wink:

:uk:/:us: Message template (english)

The “support” category is meant to ask for help or troubleshooting related to installing or using YunoHost or its applications. It is not to ask assistance on general system administration, network administration or special use cases that goes beyond the scope of the project. If you wish to discuss more advanced use case, please post in the “Advanced Use Case” category.

Before posting, please :

My YunoHost server

Hardware: Proxmox running on x86-64 server hardware
YunoHost version: 11.2.27
I have access to my server : I have full access to my server
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain:
If your request is related to an app, specify its name and version: Wallabag 2.5.4~ynh4

Description of my issue

Unable to update Wallabag. Please see my yunopaste log

https://paste.yunohost.org/raw/atewesodub


So let’s investigate why those are here in the first place with :

sudo apt remove php-igbinary php-redis --dry-run

Here is the result:

minnix@yuno:~$ sudo apt remove php-igbinary php-redis --dry-run
[sudo] password for minnix: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libtidy5deb1 linux-image-5.10.0-30-amd64 php7.4 php7.4-tidy
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  php-igbinary php-redis wallabag2-ynh-deps
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
Remv wallabag2-ynh-deps [2.5.4~ynh2]
Remv php-redis [5.3.2+4.3.0-2+deb11u1]
Remv php-igbinary [3.2.1+2.0.8-2]

Okay so let’s look at sudo apt show wallabag2-ynh-deps

minnix@yuno:~$ sudo apt show wallabag2-ynh-deps
Package: wallabag2-ynh-deps
Version: 2.5.4~ynh2
Status: install ok installed
Priority: optional
Section: misc
Maintainer: Equivs Dummy Package Generator <root@yuno.minnix.dev>
Installed-Size: 9,216 B
Depends: mariadb-server, php7.4-cli, php7.4-curl, php7.4-gd, php7.4-gettext, php7.4-intl, php7.4-json, php7.4-ldap, php7.4-mbstring, php7.4-mysql, php7.4-redis, php7.4-tidy, php7.4-xml, php7.4, php7.4-fpm, php7.4-common
Download-Size: unknown
APT-Manual-Installed: yes
APT-Sources: /var/lib/dpkg/status
Description: Fake package for wallabag2 (YunoHost app) dependencies
 This meta-package is only responsible of installing its dependencies.

Hmmmokay so lets try maybe a better solution with :

sudo apt install php7.4-igbinary php7.4-redis php-igbinary- php-redis- --dry-run
minnix@yuno:~$ sudo apt install php7.4-igbinary php7.4-redis php-igbinary- php-redis- --dry-run
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  linux-image-5.10.0-30-amd64
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
  php-igbinary php-redis
The following NEW packages will be installed:
  php7.4-igbinary php7.4-redis
0 upgraded, 2 newly installed, 2 to remove and 0 not upgraded.
Remv php-redis [5.3.2+4.3.0-2+deb11u1] [wallabag2-ynh-deps:amd64 ]
Inst php7.4-redis (6.0.2-1+0~20231128.56+debian11~1.gbp9f3071 bullseye [amd64])
Remv php-igbinary [3.2.1+2.0.8-2] []
Inst php7.4-igbinary (3.2.15-1+0~20231202.49+debian11~1.gbpe9ffe8 bullseye [amd64])
Conf php7.4-redis (6.0.2-1+0~20231128.56+debian11~1.gbp9f3071 bullseye [amd64])
Conf php7.4-igbinary (3.2.15-1+0~20231202.49+debian11~1.gbpe9ffe8 bullseye [amd64])

Yup that sounds good, let’s proceed with : sudo apt install php7.4-igbinary php7.4-redis php-igbinary- php-redis- and then you’ll have to answer “y”

That worked! Wallabag successfully upgraded. Thanks.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.