Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4455

Troubleshooting • I messed up my trusty RPI bookworm by trying to outsmart apt (raspberrypi-ui-mods)

$
0
0
Hi

I tried to do apt update/apt upgrade today.

It went sort of fine almost to the end.
apt upgrade finished fine - but I ended with the message that two packages was held back, one of which was
raspberrypi-ui-mods

I googled, and learned that that kind of issues could be fixed with apt dist-upgrade, so I did that.

Here's the logs from the attempts, and I hoipe someone can spot where I messed up, and if it is fixable somehow.

Here is the current result of trying to reinstall it:

Code:

sudo apt install --reinstall raspberrypi-ui-modsReading package lists... DoneBuilding dependency tree... DoneReading state information... Done0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.1 not fully installed or removed.After this operation, 0 B of additional disk space will be used.E: Internal Error, No file name for raspberrypi-ui-mods:arm64

And here's what I actually did after the point where apt upgrade ended revealing that it had held two packages back, which I tried fixing with the "dist-upgrade" :

Code:

root@raspberrypi4:~# apt list --upgradableListing... Donelxinput/stable 0.3.5-1+rpt26 arm64 [upgradable from: 0.3.5-1+rpt24]raspberrypi-ui-mods/stable 1.20241211 arm64 [upgradable from: 1.20241029]root@raspberrypi4:~# apt-get dist-upgradeReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneCalculating upgrade... DoneThe following packages were automatically installed and are no longer required:  edid-decode python3-gi-cairoUse 'apt autoremove' to remove them.The following packages will be REMOVED:  arandr lxinputThe following NEW packages will be installed:  autotouch raindrop rasputin wlopm xmlstarletThe following packages will be upgraded:  raspberrypi-ui-mods1 upgraded, 5 newly installed, 2 to remove and 0 not upgraded.Need to get 1.397 kB of archives.After this operation, 612 kB of additional disk space will be used.Do you want to continue? [Y/n] yGet:1 http://deb.debian.org/debian bookworm/main arm64 xmlstarlet arm64 1.6.1-3 [210 kB]Get:2 http://archive.raspberrypi.org/debian bookworm/main arm64 rasputin arm64 0.2 [54,4 kB]Get:3 http://archive.raspberrypi.org/debian bookworm/main arm64 autotouch all 0.1 [2.724 B]Get:4 http://archive.raspberrypi.org/debian bookworm/main arm64 raindrop arm64 0.12 [63,3 kB]Get:5 http://archive.raspberrypi.org/debian bookworm/main arm64 raspberrypi-ui-mods arm64 1.20241211 [1.058 kB]Get:6 http://archive.raspberrypi.org/debian bookworm/main arm64 wlopm arm64 0.1.0-1~bpo11+rpt1 [8.356 B]Fetched 1.397 kB in 0s (4.560 kB/s)Reading changelogs... Done(Reading database ... 143677 files and directories currently installed.)Removing arandr (0.1.11-1+rpt26) ...dpkg: lxinput: dependency problems, but removing anyway as you requested: lxde depends on rasputin | lxinput; however:  Package rasputin is not installed.  Package lxinput is to be removed.Removing lxinput (0.3.5-1+rpt24) ...Selecting previously unselected package rasputin.(Reading database ... 143531 files and directories currently installed.)Preparing to unpack .../0-rasputin_0.2_arm64.deb ...Unpacking rasputin (0.2) ...Selecting previously unselected package xmlstarlet.Preparing to unpack .../1-xmlstarlet_1.6.1-3_arm64.deb ...Unpacking xmlstarlet (1.6.1-3) ...Selecting previously unselected package autotouch.Preparing to unpack .../2-autotouch_0.1_all.deb ...Unpacking autotouch (0.1) ...Selecting previously unselected package raindrop.Preparing to unpack .../3-raindrop_0.12_arm64.deb ...Unpacking raindrop (0.12) ...Preparing to unpack .../4-raspberrypi-ui-mods_1.20241211_arm64.deb ...Unpacking raspberrypi-ui-mods (1.20241211) over (1.20241029) ...Selecting previously unselected package wlopm.Preparing to unpack .../5-wlopm_0.1.0-1~bpo11+rpt1_arm64.deb ...Unpacking wlopm (0.1.0-1~bpo11+rpt1) ...Setting up rasputin (0.2) ...Setting up wlopm (0.1.0-1~bpo11+rpt1) ...Setting up raindrop (0.12) ...Setting up raspberrypi-ui-mods (1.20241211) ...Installing new version of config file /etc/xdg/labwc/environment ...Installing new version of config file /etc/xdg/labwc/rc.xml ...mkdir: cannot create directory ‘/proc//.config’: No such file or directorydpkg: error processing package raspberrypi-ui-mods (--configure): installed raspberrypi-ui-mods package post-installation script subprocess returned error exit status 1Setting up xmlstarlet (1.6.1-3) ...Setting up autotouch (0.1) ...Processing triggers for libglib2.0-0:arm64 (2.74.6-2+deb12u5) ...Processing triggers for man-db (2.11.2-2) ...Processing triggers for shared-mime-info (2.2-1) ...Processing triggers for mailcap (3.70+nmu1) ...Processing triggers for desktop-file-utils (0.26-1) ...Processing triggers for gnome-menus (3.36.0-1.1) ...Errors were encountered while processing: raspberrypi-ui-modsE: Sub-process /usr/bin/dpkg returned an error code (1)root@raspberrypi4:~# apt info arandrPackage: arandrVersion: 0.1.11-1+rpt26Priority: optionalSection: x11Maintainer: Christian M. Amsüss <chrysn@fsfe.org>Installed-Size: 397 kBDepends: python3:any, x11-xserver-utils, python3-gi, python3-gi-cairo, gir1.2-gtk-3.0, edid-decode, raspi-config (>= 20220301), wlr-randr, libinput-toolsHomepage: http://christian.amsuess.com/tools/arandr/Download-Size: 73,6 kBAPT-Sources: http://archive.raspberrypi.org/debian bookworm/main arm64 PackagesDescription: Simple visual front end for XRandR ARandR is a visual front end for XRandR, which provides full control over the relative positioning and rotation of monitors, as well as saving and loading to/from shell scripts. root@raspberrypi4:~# apt updateHit:1 http://deb.debian.org/debian bookworm InReleaseHit:2 http://deb.debian.org/debian bookworm-updates InReleaseHit:3 http://security.debian.org/debian-security bookworm-security InReleaseHit:4 http://archive.raspberrypi.org/debian bookworm InReleaseReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneAll packages are up to date.

Statistics: Posted by dillerdaller — Fri Jan 24, 2025 6:02 pm — Replies 5 — Views 153



Viewing all articles
Browse latest Browse all 4455

Trending Articles