apk doesn't seem to fully be able to roll back from edge to stable in all cases, and worse, doesn't tell me why
apk doesn't seem to fully be able to roll back from edge to stable in all cases. I went from postmarketOS edge to stable by changing the repo sources and using sudo apk upgrade -a
. Yet, I seem to be stuck with edge-only nettle
with something still depending on it, not letting me remove it:
$ sudo apk del nettle
World updated, but the following packages are not removed due to:
nettle: epiphany gnutls samba-libs libsmbclient vlc vlc-qt samba-util-libs
libwbclient gnupg gpgme ffmpeg-libs ffmpeg-dev pipewire firefox mutter
gnome-shell gnome-session phosh postmarketos-ui-phosh qt5-qtwebengine
plasma-angelfish telegram-desktop vte3 kgx lxterminal glib-networking
libsoup evolution-data-server folks calls chatty gnome-calendar rest
gnome-online-accounts libgdata midori libgweather gnome-settings-daemon
gnome-clocks libosinfo tracker-miners nautilus libtracker tracker
webkit2gtk geocode-glib geoclue cups-libs gtk+3.0 libcanberra-gtk3 cheese
gnome-disk-utility gnome-screenshot gnome-bluetooth-libs gnome-bluetooth
network-manager-applet colord-gtk gcr ibus libnma libhandy gnome-desktop
phoc squeekboard eog tepl gedit clutter-gtk caribou gtksourceview4 zenity
gspell clutter clutter-gst libdazzle baobab vino gnome-autoar libpeas amtk
gtk+2.0 adwaita-gtk2-theme gnome-themes-extra lightdm qt5-qtbase-x11 kcrash
kio purpose plasma-framework kdeclarative kglobalaccel kxmlgui kbookmarks
kservice kwallet kauth kconfigwidgets kiconthemes ktextwidgets
qt5-qtdeclarative qt5-qtwayland postmarketos-ui-phosh-qt_tweaks qt5-qtbase
kpackage kdbusaddons karchive kdoctools kwindowsystem knotifications
qt5-qtsvg qt5-qtmultimedia qt5-qtspeech qt5-qtquickcontrols2 kirigami2
kirigami2-libs kguiaddons qt5-qtx11extras kjobwidgets attica
qt5-qtwebchannel kwidgetsaddons kcompletion polkit-qt-1 qt5-qtimageformats
kconfig kactivities-libs quazip kcoreaddons solid-libs kitemviews kcodecs
sonnet kwayland ki18n qt5-qtgraphicaleffects libdbusmenu-qt cups-pk-helper
xorg-server-xwayland
OK: 2677 MiB in 792 packages
However, since nettle
is edge-only, that could only happen if I still have another edge package installed which sudo apk upgrade -a
should have fixed. Yet, sudo apk upgrade -a
seems perfectly content with this situation:
$ sudo apk upgrade -a
OK: 2677 MiB in 792 packages
With those being the current repo sources:
$ cat /etc/apk/repositories
http://postmarketos1.brixit.nl/postmarketos/v20.05
http://dl-cdn.alpinelinux.org/alpine/v3.12/main
http://dl-cdn.alpinelinux.org/alpine/v3.12/community
So I appear to be stuck in this state, with apk
not even really telling me why even. This is somewhat unsatisfactory.
-
Is it possible to somehow list all packages that are currently without a source in the repo? (Since that would likely reveal what edge stuff I am unintentionally still stuck with)
-
Why does this not do anything?
$ sudo apk del --force-broken-world nettle World updated, but the following packages are not removed due to: nettle: epiphany gnutls samba-libs libsmbclient vlc vlc-qt samba-util-libs libwbclient gnupg gpgme ffmpeg-libs ffmpeg-dev pipewire firefox mutter gnome-shell gnome-session phosh postmarketos-ui-phosh qt5-qtwebengine plasma-angelfish telegram-desktop vte3 kgx lxterminal glib-networking libsoup evolution-data-server folks calls chatty gnome-calendar rest gnome-online-accounts libgdata midori libgweather gnome-settings-daemon gnome-clocks libosinfo tracker-miners nautilus libtracker tracker webkit2gtk geocode-glib geoclue cups-libs gtk+3.0 libcanberra-gtk3 cheese gnome-disk-utility gnome-screenshot gnome-bluetooth-libs gnome-bluetooth network-manager-applet colord-gtk gcr ibus libnma libhandy gnome-desktop phoc squeekboard eog tepl gedit clutter-gtk caribou gtksourceview4 zenity gspell clutter clutter-gst libdazzle baobab vino gnome-autoar libpeas amtk gtk+2.0 adwaita-gtk2-theme gnome-themes-extra lightdm qt5-qtbase-x11 kcrash kio purpose plasma-framework kdeclarative kglobalaccel kxmlgui kbookmarks kservice kwallet kauth kconfigwidgets kiconthemes ktextwidgets qt5-qtdeclarative qt5-qtwayland postmarketos-ui-phosh-qt_tweaks qt5-qtbase kpackage kdbusaddons karchive kdoctools kwindowsystem knotifications qt5-qtsvg qt5-qtmultimedia qt5-qtspeech qt5-qtquickcontrols2 kirigami2 kirigami2-libs kguiaddons qt5-qtx11extras kjobwidgets attica qt5-qtwebchannel kwidgetsaddons kcompletion polkit-qt-1 qt5-qtimageformats kconfig kactivities-libs quazip kcoreaddons solid-libs kitemviews kcodecs sonnet kwayland ki18n qt5-qtgraphicaleffects libdbusmenu-qt cups-pk-helper xorg-server-xwayland OK: 2677 MiB in 792 packages
-
Could
sudo apk upgrade -a
possibly be changed to hint at some out-of-repo packages still being in the system? Just as a heads up warning that in overall, the system might not be in a clean state. Like, no need to list them all if that is too verbose, but to have any sort of pointer at that to start with (e.g. by listing the number of out-of-repo packages at least) would be very helpful. -
It seems like
sudo apk upgrade -a
potentially has a bug, since it feels like it should have resolved this entirely. However, it might be easier to investigate this once I know more about what is even the current state right now in my system