Open Benjamin-Loison opened 3 months ago
sudo apt install -y mintupgrade
mintupgrade
mintupgrade needs to be run as root.
Same icon issue on the Linux Mint 21.3 laptop of:
-----BEGIN PGP MESSAGE-----
hF4DTQa9Wom5MBgSAQdAVzzSnSDmqi6ih5nfQrektvMjcps2ERH1sKOXZ3rs+mAw
JVgngwtRKV+o1s+M4gzGHr+MAVHHFLX5OpMF5rDmrQlWSLMHEivn2uTyKfNNvLLV
0kABoK3JiLGn5YHacOORzKWZz7ASVqHGMpHqELZ3Py2GjA5J1AlUPOT0dOlCkCR+
8GuEmOhWMKlgf+3+bLhfXPWF
=fjDy
-----END PGP MESSAGE-----
/etc/apt/sources.list
:
#deb cdrom:[Linux Mint 21.1 _Vera_ - Release amd64 20221217]/ jammy main
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
/etc/apt/sources.list.d/signal-xenial.list
:
deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main
/etc/apt/sources.list.d/vscodium.list
:
deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.asc ] https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs vscodium main
Related to Benjamin_Loison/vscodium-deb-rpm-repo/issues/1.
Fix results in commenting those lines. Same issue for Element. Once the upgrade is complete, does it uncomment or remind that disabled those? In our case uncommenting is pretty safe except Waydroid which needs to be modified to new OS version.
/etc/apt/sources.list.d/nodesource.list
:
deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x jammy main
deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x jammy main
Fix opens:
So I commented those lines.
/etc/apt/sources.list.d/mysql.list
:
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out entries below, but any other modifications may be lost.
# Use command 'dpkg-reconfigure mysql-apt-config' as root for modifications.
deb [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/ubuntu/ jammy mysql-apt-config
deb [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/ubuntu/ jammy mysql-8.0
deb [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/ubuntu/ jammy mysql-tools
#deb [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/ubuntu/ jammy mysql-tools-preview
deb-src [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/ubuntu/ jammy mysql-8.0
I suspect having compiled and installed my compiled Xournal++.
sudo apt purge -y xournalpp
sudo apt purge -y nodejs
sudo apt purge -y mysql-common
Same issue wth RustDesk and Element on Linux Mint 21.3 Cinnamon of:
-----BEGIN PGP MESSAGE-----
hF4DTQa9Wom5MBgSAQdAPzXuvW+jLFUFzlAvpJEiUye/pOny30iv0ebanikWmxMw
7H7EVSBAsPDj/6Qf3KTSyIkUnPwx6u2mNLkvzWfByptgUrKQpnnZA60BuK3OXXnM
0kABs8u7gGkTMl0/7bazl8f13Q5g33abKPcCHdhMfl2MJl9yj2zX5ZFqzd4hsV5m
KwTHrp4YRlW7wugeugB9EAx4
=ZxET
-----END PGP MESSAGE-----
Revérifier does not help.
sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y
ls /var/run/reboot-required
ls: impossible d'accéder à '/var/run/reboot-required': Aucun fichier ou dossier de ce nom
and
sudo dpkg --configure -a
do not help.
Faced Benjamin-Loison/mintsources/issues/6.
Searching DuckDuckGo and Google with "E: Broken packages"
:
https://www.linuxquestions.org/questions/linux-newbie-8/e-broken-packages-939626/ does not help.
/etc/apt/sources.list
:
# deb cdrom:[Linux Mint 20.3 _Una_ - Release amd64 20220104]/ focal contrib main
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
ls /etc/apt/sources.list.d/
element-io.list signal-xenial.list
official-package-repositories.list spotify.list
FOLDER=/etc/apt/sources.list.d
for file in `ls $FOLDER`
do
echo \`$file\`:
echo '```'
cat $FOLDER/$file
echo '```'
echo
done
element-io.list
:
#deb [signed-by=/usr/share/keyrings/element-io-archive-keyring.gpg] https://packages.element.io/debian/ default main
official-package-repositories.list
:
deb http://packages.linuxmint.com wilma main upstream import backport
deb http://archive.ubuntu.com/ubuntu noble main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu noble-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu noble-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
signal-xenial.list
:
#deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main
spotify.list
:
deb http://repository.spotify.com stable non-free
sudo apt install -f
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
7zip fonts-sil-annapurna gir1.2-xmlb-2.0 libdav1d7 libfuture-io-perl libplist-2.0-4 libsharpyuv-dev libsharpyuv0 libunistring5 libunistring5:i386 libwebpdecoder3
libzix-0-0 mint-backgrounds-wilma python3-attr python3-deprecation python3-feedparser python3-filetype python3-html2text python3-markdown-it python3-mdurl
python3-png python3-pyasyncore python3-repolib python3-sgmllib3k
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 2184 non mis à jour.
Source: the Stack Overflow answer 72868202
does not help.
sudo apt-get update --fix-missing
sudo apt-get --fix-broken install
Source: https://forums.linuxmint.com/viewtopic.php?p=2011331&sid=c70da2581712fe1f9555fafac91c1d84#p2011331
does not seem to help.
sudo apt-get autoremove
Source: https://forums.linuxmint.com/viewtopic.php?p=2011446&sid=c70da2581712fe1f9555fafac91c1d84#p2011446
Searching DuckDuckGo and Google for "Error - Return code: 100":
https://forums.linuxmint.com/viewtopic.php?t=388933 does not seem to help.
https://www.linuxquestions.org/questions/linux-mint-84/lm22-update-tool-4175739872/ https://www.linuxquestions.org/questions/linux-mint-84/lm22-wilma-upgrade-error-return-code-100-a-4175739879-print/
Manually running the command the updater is trying could help.
are only about fresh installation.
https://forums.linuxmint.com/viewtopic.php?t=394031 does not seem to help.
I commented Spotify source.
apt-get dist-upgrade
reproduces the issue of the updater using:
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get dist-upgrade --download-only --yes
"apt dist-upgrade" "E: Paquets défectueux"
and "apt-get dist-upgrade" "E: Paquets défectueux"
DuckDuckGo and Google results do not seem helpful.
As root
:
history | grep -E 'apt(|-get) install'
3 apt install signal-desktop
7 sudo apt install vim
11 sudo apt install signal
12 sudo apt install whatsapp-for-linux
13 sudo apt install snap
14 sudo apt install whatsapp-for-linux
17 sudo apt install snapd
20 apt install snapd
22 apt install signal-desktop
39 sudo apt-get update && sudo apt-get install spotify-client
41 sudo apt install snap
45 sudo apt install snapd
51 sudo apt install tree
54 sudo apt install snapd
73 apt install meson
74 apt install libparted
75 apt install libparted3-dev
76 apt install libparted-dev
77 sudo apt install pkg-config
78 apt install libcairo-dev
79 sudo apt install libcurl4-openssl-dev libssl-dev
81 apt install cmake
82 apt install libcups2-dev
83 sudo apt install libgirepository1.0-dev
86 apt install libdbus-1-dev
88 apt install pkg-config
89 apt install python3-icu
90 apt install libicu-dev
92 sudo apt install htop
104 apt install -y nmap
So:
cmake
htop
libcairo-dev
libcups2-dev
libcurl4-openssl-dev
libdbus-1-dev
libgirepository1.0-dev
libicu-dev
libparted
libparted3-dev
libparted-dev
libssl-dev
meson
nmap
pkg-config
python3-icu
signal-desktop
snapd
spotify-client
tree
vim
whatsapp-for-linux
Thanks to .* apt install
and sort | uniq
.
As regular user:
history | grep -E 'apt(|-get) install'
234 sudo apt install zoom
239 sudo apt install zoom
241 sudo apt install xournal
249 sudo apt install speedtest-go
266 sudo apt install python3-pip
289 sudo apt install rustdesk
352 sudo apt install obs-studio
376 sudo apt install chromium
385 sudo apt install virtualbox
397 sudo apt install libparted-dev
404 sudo apt install virtualbox-guest-additions-iso
428 sudo apt install arp-scan
446 sudo apt install gimp
465 sudo apt install xclip
472 sudo apt install --reinstall whatsapp-desktop
475 sudo apt install whatsapp-desktop
479 sudo apt install inkscape
495 sudo apt install libsimde-dev
499 sudo apt install mintupgrade
513 sudo apt install signal-desktop
518 history | grep apt install
519 history | grep 'apt install'
520 sudo apt install libsimde-dev
613 sudo apt install iotop
662 sudo apt install element-desktop
668 sudo apt install libsystemd-dev
701 sudo apt install pdfgrep
737 sudo apt install hp-setup
739 sudo apt install hp-setup --qt3
744 sudo apt install hplip
746 sudo apt install hplip-gui
750 sudo apt install hplip-gui
802 sudo apt install python3-is-python
803 sudo apt install python-is-python3
822 sudo apt install python-dbus
823 sudo apt install libpython-dbus
824 sudo apt install libpython-dbus-de
825 sudo apt install libpython-dbus-dev
840 sudo apt install hplip
841 sudo apt install hplip-gui
848 sudo apt install gnome-twaks
849 sudo apt install gnome-tweaks
880 sudo apt install torbrowser-launcher
909 sudo apt install torbrowser
910 sudo apt install apt-transport-https
913 sudo apt install ./deb.torproject.org-keyring_2022.04.27.1_all.deb
915 sudo apt install tor
926 sudo apt install tor
928 sudo apt install torbrowser-launcher
952 sudo apt install ./rustdesk-1.2.3-x86_64.deb
956 sudo apt install keepassxc
992 sudo apt install -y tor-browser
995 sudo apt install torbrowser-launcher
998 apt install apt-transport-tor
1163 sudo apt install -y blender
1165 sudo apt install -y xournalpp
1167 sudo apt install -y command-not-found
1194 sudo apt install -y fsck.ntfs
1195 sudo apt install -y ntfsfix
1217 sudo apt install -f
So:
apt-transport-https
apt-transport-tor
arp-scan
blender
chromium
command-not-found
deb.torproject.org-keyring
element-desktop
fsck.ntfs
gimp
gnome-tweaks
hplip
hplip-gui
hp-setup
inkscape
iotop
keepassxc
libparted-dev
libpython-dbus
libpython-dbus-dev
libsimde-dev
libsystemd-dev
mintupgrade
ntfsfix
obs-studio
pdfgrep
python3-is-python
python3-pip
python-dbus
python-is-python3
rustdesk
signal-desktop
speedtest-go
tor
tor-browser
torbrowser
torbrowser-launcher
virtualbox
virtualbox-guest-additions-iso
whatsapp-desktop
xclip
xournalpp
zoom
Meta-so:
apt-transport-https
apt-transport-tor
arp-scan
blender
chromium
cmake
command-not-found
deb.torproject.org-keyring
element-desktop
fsck.ntfs
gimp
gnome-tweaks
hplip
hplip-gui
hp-setup
htop
inkscape
iotop
keepassxc
libcairo-dev
libcups2-dev
libcurl4-openssl-dev
libdbus-1-dev
libgirepository1.0-dev
libicu-dev
libparted
libparted3-dev
libparted-dev
libpython-dbus
libpython-dbus-dev
libsimde-dev
libssl-dev
libsystemd-dev
meson
mintupgrade
nmap
ntfsfix
obs-studio
pdfgrep
pkg-config
python3-icu
python3-is-python
python3-pip
python-dbus
python-is-python3
rustdesk
signal-desktop
snapd
speedtest-go
spotify-client
tor
tor-browser
torbrowser
torbrowser-launcher
tree
vim
virtualbox
virtualbox-guest-additions-iso
whatsapp-desktop
whatsapp-for-linux
xclip
xournalpp
zoom
for package in `cat packages.txt`
do
#echo $package
if `grep -q "$package" output.txt`
then
echo -n 'X'
else
echo -n '_'
fi
echo " $package"
done
_ apt-transport-https
_ apt-transport-tor
X arp-scan
X blender
X chromium
X cmake
_ command-not-found
X element-desktop
_ fsck.ntfs
X gimp
_ gnome-tweaks
X hplip
_ hplip-gui
_ hp-setup
_ htop
X inkscape
_ iotop
X keepassxc
_ libcairo-dev
X libcups2-dev
X libcurl4-openssl-dev
_ libdbus-1-dev
_ libgirepository1.0-dev
_ libicu-dev
X libparted
_ libparted3-dev
X libparted-dev
_ libpython-dbus
_ libpython-dbus-dev
_ libsimde-dev
X libssl-dev
_ libsystemd-dev
_ meson
_ mintupgrade
X nmap
_ ntfsfix
X obs-studio
X pdfgrep
X pkg-config
_ python3-icu
_ python3-is-python
_ python3-pip
_ python-dbus
_ python-is-python3
X rustdesk
X signal-desktop
X snapd
_ speedtest-go
_ spotify-client
X tor
_ tor-browser
_ torbrowser
_ torbrowser-launcher
X tree
_ vim
X virtualbox
_ virtualbox-guest-additions-iso
_ whatsapp-desktop
_ whatsapp-for-linux
_ xclip
X xournalpp
_ zoom
No clear pattern.
Except:
hplip
libcups2-dev
I do not have much doubts that others are causing the issue.
The first but it is not going to be installed is for blender.
I am fine temporarily removing some packages but I do not understand the ones blocking.
Change temporarily language.
LANGUAGE=en_US apt dist-upgrade
Source: the Ask Ubuntu answer 1268419
at least return errors in English instead of French.
LANGUAGE=en_US apt list --installed
for package in `cat installed_packages.txt | cut -d '/' -f 1`
do
#echo $package
if `grep -q "$package" output.txt`
then
echo -n 'X'
else
echo -n '_'
fi
echo " $package"
done
for package in `cat installed_packages.txt | cut -d '/' -f 1`
do
grep -q "$package" output.txt && echo "$package"
done
apt smallest set of packages to remove to solve conflict DuckDuckGo and Google results do not help much.
for package in `cat packages.txt`
do
grep -q "$package" output.txt && grep -q "$package/" installed_packages.txt && echo "$package"
done
arp-scan
blender
chromium
cmake
element-desktop
gimp
hplip
inkscape
keepassxc
libcups2-dev
libcurl4-openssl-dev
libparted-dev
libssl-dev
nmap
obs-studio
pdfgrep
pkg-config
rustdesk
signal-desktop
snapd
tor
tree
virtualbox
xournalpp
for package in `cat packages.txt`
do
grep -q "$package" output.txt && grep -q "$package/" installed_packages.txt && ! grep -q "$package/" my_installed_packages.txt && echo "$package"
done
blender
snapd
On my Linux Mint 22 Cinnamon Framework 13:
sudo apt install -y blender
So snapd
seems to blame.
snap list
Nom Version Révision Suivi Éditeur Notes
bare 1.0 5 latest/stable canonical✓ base
core22 20240731 1564 latest/stable canonical✓ base
firefox 129.0.2-1 4793 latest/stable mozilla✓ -
gnome-42-2204 0+git.510a601 176 latest/stable canonical✓ -
gtk-common-themes 0.1-81-g442e511 1535 latest/stable canonical✓ -
snapd 2.63 21759 latest/stable canonical✓ snapd
sudo apt purge -y snapd
sudo touch /etc/apt/preferences.d/nosnap.pref
sudo apt install snapd
Even after sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y
still have apt dist-upgrade
issue.
Let us try a reboot.
Could consider an example package and try to understand what is wrong with this one. Well it does not seem very interesting for xwayland
for instance.
Could uninstall packages that I know keep data or do not have any specific.
mdm
was not installed and installing it does not help, source: the Super User answers 559345 and 1018461.
cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-6.8.0-41-generic root=UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX ro quite splash
Source: the Super User comment 680929
/etc/profile.d/infinality-settings.sh
does not exist, source: the Super User answer 649573
fontconfig-infinality
is not installed, source: the Super User answer 610009
Could check logs.
ls /etc/profile.d/
01-locale-fix.sh
bash_completion.sh
debuginfod.csh
debuginfod.sh
flatpak.sh
gawk.csh
gawk.sh
im-config_wayland.sh
vte-2.91.sh
vte.csh
Adding startx
to not existing file /etc/rc.local
does not help, source: the Unix Stack Exchange answer 401885.
anydesk
not installed and just uninstalled RustDesk 1.2.3 it seems. Doing so does not solve the issue.
sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && apt dist-upgrade
Atteint :1 http://security.ubuntu.com/ubuntu noble-security InRelease
Atteint :2 http://archive.ubuntu.com/ubuntu noble InRelease
Ign :3 http://packages.linuxmint.com wilma InRelease
Atteint :4 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Atteint :5 http://packages.linuxmint.com wilma Release
Atteint :6 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
8 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
The following upgrades have been deferred due to phasing:
language-pack-en language-pack-en-base language-pack-fr language-pack-gnome-en language-pack-gnome-en-base language-pack-gnome-fr
Les paquets suivants ont été conservés :
language-pack-fr-base language-pack-gnome-fr-base
0 mis à jour, 0 nouvellement installés, 0 à enlever et 8 non mis à jour.
N: Some packages may have been kept back due to phasing.
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
0 mis à jour, 0 nouvellement installés, 0 à enlever et 8 non mis à jour.
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
The following upgrades have been deferred due to phasing:
language-pack-en language-pack-en-base language-pack-fr language-pack-gnome-en language-pack-gnome-en-base language-pack-gnome-fr
Les paquets suivants ont été conservés :
language-pack-fr-base language-pack-gnome-fr-base
0 mis à jour, 0 nouvellement installés, 0 à enlever et 8 non mis à jour.
N: Some packages may have been kept back due to phasing.
Search DuckDuckGo and Google for "N: Some packages may have been kept back due to phasing."
and The following upgrades have been deferred due to phasing
.
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1988819
Related to Benjamin_Loison/apt/issues/13.
dmesg
...
[ 6.861262] systemd-rc-local-generator[981]: /etc/rc.local is not marked executable, skipping.
...
sudo chmod +x /etc/rc.local
does not solve the issue.
dmesg
does not mention rc.local
and startx
anymore.
Should investigate terminal output associated to running startx
.
ls /var/log/
alternatives.log auth.log.2.gz dmesg dpkg.log.7.gz lastlog mintupdate.log.8.gz ubuntu-system-adjustments-adjust-grub-title.log
alternatives.log.1 auth.log.3.gz dmesg.0 dpkg.log.8.gz lightdm mintupdate.log.9.gz ubuntu-system-adjustments-start.log
alternatives.log.10.gz auth.log.4.gz dmesg.1.gz dpkg.log.9.gz mail.log openvpn ubuntu-system-adjustments-stop.log
alternatives.log.11.gz boot.log dmesg.2.gz faillog mintsystem.log private wtmp
alternatives.log.12.gz boot.log.1 dmesg.3.gz fontconfig.log mintsystem.timestamps README Xorg.0.log
alternatives.log.2.gz boot.log.2 dmesg.4.gz gpu-manager.log mintupdate.log samba Xorg.0.log.old
alternatives.log.3.gz boot.log.3 dpkg.log gufw.log mintupdate.log.10.gz speech-dispatcher Xorg.1.log
alternatives.log.4.gz boot.log.4 dpkg.log.1 hp mintupdate.log.11.gz syslog Xorg.1.log.old
alternatives.log.5.gz boot.log.5 dpkg.log.10.gz installer mintupdate.log.12.gz syslog.1 Xorg.2.log
alternatives.log.6.gz boot.log.6 dpkg.log.11.gz ipp-usb mintupdate.log.1.gz syslog.2.gz Xorg.2.log.old
alternatives.log.7.gz boot.log.7 dpkg.log.12.gz journal mintupdate.log.2.gz syslog.3.gz Xorg.3.log
alternatives.log.8.gz bootstrap.log dpkg.log.2.gz kern.log mintupdate.log.3.gz syslog.4.gz Xorg.3.log.old
alternatives.log.9.gz btmp dpkg.log.3.gz kern.log.1 mintupdate.log.4.gz syslog.6.gz
apt btmp.1 dpkg.log.4.gz kern.log.2.gz mintupdate.log.5.gz syslog.7.gz
auth.log cups dpkg.log.5.gz kern.log.3.gz mintupdate.log.6.gz timeshift
auth.log.1 cups-browsed dpkg.log.6.gz kern.log.4.gz mintupdate.log.7.gz tor
cat lastlog
does not return anything.
EE occurrences of Xorg.0.log
do not seem interesting.
Setting @reboot startx
in crontab -e
for the used home encrypted user does not work even once provide credentials in the terminal.
Installing RustDesk 1.3.0 does not help.
df -h
indicates 5.8 free GB.
https://www.reddit.com/r/linux4noobs/comments/grtmkt/linux_mint_startx/ is exactly my situation.
LANGUAGE=en_US sudo dpkg-reconfigure lightdm
/usr/sbin/dpkg-reconfigure: lightdm is broken or not fully installed
Source: https://www.reddit.com/r/linux4noobs/comments/grtmkt/comment/fs26iqu/
LANGUAGE=en_US sudo dpkg --configure lightdm
dpkg: error processing package lightdm (--configure):
package lightdm is not ready for configuration
cannot configure (current status 'config-files')
Errors were encountered while processing:
lightdm
Source: the Ask Ubuntu answer 1154672
sudo apt install --reinstall lightdm
Source: the Ask Ubuntu question 1151995
leads to almost the usual interface so let say that it is ok. In addition that contrarily to startx
, Signal does not require the password once logged in and launching it.
Do we have in an exportable format the list of Removed packages? Selecting multiple entries does not seem possible and just copying one does not seem to work but I may be biased as I wrote this in the context of #issuecomment-2257236471.
Note that as started mintupgrade
from shell we have some logs.
sudo dpkg --configure -a
Setting up grub-efi-amd64-signed (1.202+2.12-1ubuntu7) ...
Unknown device "/dev/disk/by-id/*": No such file or directory
dpkg: error processing package grub-efi-amd64-signed (--configure):
installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of shim-signed:
shim-signed depends on grub-efi-amd64-signed (>= 1.187.2~) | grub-efi-arm64-signed (>= 1.187.2~); however:
Package grub-efi-amd64-signed is not configured yet.
Package grub-efi-arm64-signed is not installed.
dpkg: error processing package shim-signed (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
grub-efi-amd64-signed
shim-signed
ls /dev/disk/
by-partlabel by-partuuid by-path by-uuid
sudo apt remove grub-efi-amd64-signed grub-efi-amd64-bin
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
shim-signed : Depends: grub-efi-amd64-signed (>= 1.187.2~) but it is not going to be installed or
grub-efi-arm64-signed (>= 1.187.2~) but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Source: https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+bug/1995753/comments/6
sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-117-generic
Found initrd image: /boot/initrd.img-5.15.0-117-generic
Found linux image: /boot/vmlinuz-5.15.0-116-generic
Found initrd image: /boot/initrd.img-5.15.0-116-generic
Found linux image: /boot/vmlinuz-5.15.0-56-generic
Found initrd image: /boot/initrd.img-5.15.0-56-generic
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
done
does not help.
DuckDuckGo results for "Unknown device "/dev/disk/by-id/*": No such file or directory"
including it exactly:
https://forum.ubuntu.ru/index.php?topic=320254.0 does not seem interesting. https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+bug/1995753 see #issuecomment-2257167918
For Google:
The issue seems specific to running in a virtual machine and maybe especially Virtual Machine Manager using a VirtualBox virtual machine file format. Related to Benjamin_Loison/virtualbox/issues/52.
ls /dev/vda
/dev/vda
sudo apt-get install -y grub-pc 'grub-efi*-' --allow-remove-essential
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'grub-efi-arm64' for glob 'grub-efi*'
Note, selecting 'grub-efi-amd64' for glob 'grub-efi*'
Note, selecting 'grub-efi-arm' for glob 'grub-efi*'
Note, selecting 'grub-efi-amd64-signed' for glob 'grub-efi*'
Note, selecting 'grub-efi-arm64-signed' for glob 'grub-efi*'
Note, selecting 'grub-efi-amd64-bin' for glob 'grub-efi*'
Note, selecting 'grub-efi-amd64-signed-template' for glob 'grub-efi*'
Note, selecting 'grub-efi-amd64-dbg' for glob 'grub-efi*'
Note, selecting 'grub-efi-ia32-bin' for glob 'grub-efi*'
Note, selecting 'grub-efi-ia32-dbg' for glob 'grub-efi*'
Note, selecting 'grub-efi-ia32' for glob 'grub-efi*'
Note, selecting 'grub-efi-ia64' for glob 'grub-efi*'
Note, selecting 'grub-efi' for glob 'grub-efi*'
Package 'grub-efi-arm64' is not installed, so not removed
Package 'grub-efi-arm64-signed' is not installed, so not removed
Package 'grub-efi-ia64' is not installed, so not removed
Package 'grub-efi-arm' is not installed, so not removed
Package 'grub-efi' is not installed, so not removed
Package 'grub-efi-amd64' is not installed, so not removed
Package 'grub-efi-amd64-dbg' is not installed, so not removed
Package 'grub-efi-ia32' is not installed, so not removed
Package 'grub-efi-ia32-bin' is not installed, so not removed
Package 'grub-efi-ia32-dbg' is not installed, so not removed
Package 'grub-efi-amd64-signed-template' is not installed, so not removed
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mintsources : Depends: mint-common (>= 2) but it is not going to be installed
Depends: gir1.2-xapp-1.0 but it is not going to be installed
Depends: inxi but it is not going to be installed
shim-signed : Depends: grub-efi-amd64-signed (>= 1.187.2~) but it is not going to be installed or
grub-efi-arm64-signed (>= 1.187.2~) but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Operation not supported: cannot modify field 'serial' of the disk
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/addhardware.py", line 358, in change_config_helper
define_func(devobj=devobj, do_hotplug=True, **define_args)
File "/usr/share/virt-manager/virtManager/object/domain.py", line 813, in define_disk
self._process_device_define(editdev, xmlobj, do_hotplug)
File "/usr/share/virt-manager/virtManager/object/domain.py", line 534, in _process_device_define
self.hotplug(device=editdev)
File "/usr/share/virt-manager/virtManager/object/domain.py", line 1106, in hotplug
self._update_device(device)
File "/usr/share/virt-manager/virtManager/object/domain.py", line 1067, in _update_device
self._backend.updateDeviceFlags(xml, flags)
File "/usr/lib/python3/dist-packages/libvirt.py", line 3244, in updateDeviceFlags
raise libvirtError('virDomainUpdateDeviceFlags() failed')
libvirt.libvirtError: Operation not supported: cannot modify field 'serial' of the disk
Closing Upgrade Tool, Shut Down and Power on the virtual machine.
mintupgrade-2024-07-29T220550.log.gpg.zip
ls /dev/vda
/dev/vda
ls /dev/disk/
by-id by-partlabel by-partuuid by-path by-uuid
ls /dev/disk/by-id/*
/dev/disk/by-id/virtio-test /dev/disk/by-id/virtio-test-part1 /dev/disk/by-id/virtio-test-part2 /dev/disk/by-id/virtio-test-part3
As KeePassXC Perform Auto-Type is not working due to GNOME terminal selection issue:
sudo mintupgrade
(mintupgrade.py:5740): Gtk-WARNING **: 02:34:36.949: cannot open display:
does not work too.
Maybe just moving the terminal at the bottom and leave Virtual Machine Manager while being on the terminal is fine.
mintupgrade-2024-07-30T023556.log.gpg.zip
/etc/os-release
:
NAME="Linux Mint"
VERSION="22 (Wilma)"
ID=linuxmint
ID_LIKE="ubuntu debian"
PRETTY_NAME="Linux Mint 22"
VERSION_ID="22"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=wilma
UBUNTU_CODENAME=noble
mintupgrade-2024-07-30T130509.log
:
Note: The APT repositories point towards the destination.
Running check 'Phase 1: Preparation'
=================
APT Repositories:
=================
Repos:
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
Active apt repos in: /etc/apt/sources.list.d/marin-m-songrec-jammy.list
1: deb [signed-by=/etc/apt/keyrings/marin-m-songrec-jammy.gpg] https://ppa.launchpadcontent.net/marin-m/songrec/ubuntu jammy main
Active apt repos in: /etc/apt/sources.list.d/mysql.list
1: deb [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/ubuntu/ jammy mysql-apt-config
2: deb [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/ubuntu/ jammy mysql-8.0
3: deb [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/ubuntu/ jammy mysql-tools
4: deb-src [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/ubuntu/ jammy mysql-8.0
No active apt repos in: /etc/apt/sources.list.d/nodesource.list
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb https://mirrors.cicku.me/linuxmint/packages wilma main upstream import backport
2: deb http://mirror.plusserver.com/ubuntu/ubuntu noble main restricted universe multiverse
3: deb http://mirror.plusserver.com/ubuntu/ubuntu noble-updates main restricted universe multiverse
4: deb http://mirror.plusserver.com/ubuntu/ubuntu noble-backports main restricted universe multiverse
5: deb http://security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
Active apt repos in: /etc/apt/sources.list.d/protonvpn-stable.list
1: deb [arch="all", signed-by=/usr/share/keyrings/protonvpn-stable-archive-keyring.gpg] https://repo.protonvpn.com/debian stable main
No active apt repos in: /etc/apt/sources.list.d/signal-xenial.list
No active apt repos in: /etc/apt/sources.list.d/vscodium.list
Active apt repos in: /etc/apt/sources.list.d/waydroid.list
1: deb [signed-by=/usr/share/keyrings/waydroid.gpg] https://repo.waydro.id/ jammy main
=================
Running check 'Linux Mint version'
Check succeeded: Linux Mint version
Running check 'Power source'
Check succeeded: Power source
Running check 'System snapshots'
Check succeeded: System snapshots
Running check 'Held packages'
Check succeeded: Held packages
Running check 'Package repositories'
Mint repository last modified on 2024-07-28 10:29:05
Check succeeded: Package repositories
Running check 'Phase 2: Simulation and download'
=================
APT Repositories:
=================
Repos:
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
Active apt repos in: /etc/apt/sources.list.d/marin-m-songrec-jammy.list
1: deb [signed-by=/etc/apt/keyrings/marin-m-songrec-jammy.gpg] https://ppa.launchpadcontent.net/marin-m/songrec/ubuntu jammy main
Active apt repos in: /etc/apt/sources.list.d/mysql.list
1: deb [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/ubuntu/ jammy mysql-apt-config
2: deb [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/ubuntu/ jammy mysql-8.0
3: deb [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/ubuntu/ jammy mysql-tools
4: deb-src [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/ubuntu/ jammy mysql-8.0
No active apt repos in: /etc/apt/sources.list.d/nodesource.list
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb https://mirrors.cicku.me/linuxmint/packages wilma main upstream import backport
2: deb http://mirror.plusserver.com/ubuntu/ubuntu noble main restricted universe multiverse
3: deb http://mirror.plusserver.com/ubuntu/ubuntu noble-updates main restricted universe multiverse
4: deb http://mirror.plusserver.com/ubuntu/ubuntu noble-backports main restricted universe multiverse
5: deb http://security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
Active apt repos in: /etc/apt/sources.list.d/protonvpn-stable.list
1: deb [arch="all", signed-by=/usr/share/keyrings/protonvpn-stable-archive-keyring.gpg] https://repo.protonvpn.com/debian stable main
No active apt repos in: /etc/apt/sources.list.d/signal-xenial.list
No active apt repos in: /etc/apt/sources.list.d/vscodium.list
Active apt repos in: /etc/apt/sources.list.d/waydroid.list
1: deb [signed-by=/usr/share/keyrings/waydroid.gpg] https://repo.waydro.id/ jammy main
=================
mintupgrade-inhibit-power: no process found
sudo apt purge -y mintupgrade
sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && pip install --upgrade pip
kile
Command 'kile' not found, but can be installed with:
sudo apt install kile
On my Linux Mint 22 Cinnamon Framework 13:
sudo apt install -y kile
Then Kile works quite fine, see benjaminloison/kile/issues/23.
sudo apt install -y pip
waydroid
waydroid: command not found
It would be nice to try it to see if Weston is still needed, hence if using X11 or Wayland.
sudo apt install -y waydroid
df -h
Filesystem Size Used Avail Use% Mounted on
...
/dev/mapper/vgmint-root 1.8T 1.7T 88G 95% /
...
/home/benjamin/.Private 1.8T 1.7T 88G 95% /home/benjamin
ls /home/
benjamin benjamin-less-safe
sudo du -s /home/
3210193420 /home/
sudo du -sh /root/
4.5G /root/
The main thing differing on my Linux Mint 21.3 Cinnamon Framework 13 compared to its Linux Mint (trust) virtual machine is the full disk and home encryptions.
Cannot disable in Preferences this check even if I plan in about 10 minutes to go plug to power source but not yet.
Related to Benjamin_Loison/virtualbox/issues/55.
Unplugging power cable at the following stage does not raise any issue it seems:
mintupgrade
logs can be found at /home/benjamin/Desktop/bens_folder/devices/framework/mintupgrade-2024-07-30T133855.log
.
Restart solves this network issue.
Related to Benjamin_Loison/virtualbox/issues/{53,54}, Benjamin-Loison/keepassxc/issues/56, Benjamin_Loison/vlc/issues/13, Benjamin_Loison/Thunderbird/issues/56, #119, #121 and Benjamin_Loison/FileZilla/issues/16.
Are we supposed to be able to interrupt the upgrade at any time? Related to Benjamin-Loison/EmbeddedController/issues/6.
On a relative laptop there is only home encryption:
-----BEGIN PGP MESSAGE-----
hF4DTQa9Wom5MBgSAQdAtnZVfczV39fJ3VhjPPx5ejxAcSjzOHPf320JcH2MejQw
whyP3fw+7InngiFHgAOFnrPvLEIrESP4MF6OWcOVlyLoxHw9CrbARR0e+jKS2e3i
0kABM8c8cGmwQJQ9rBtTZF0ZOltnG0OEbDxK7kRyMIiTF+F13/MLA+LYv/htFUfK
CF3YNO5iep2AQiKPG0rsfRjk
=0VS0
-----END PGP MESSAGE-----
During the upgrade the font rendering will break and your fonts will become unreadable. The upgrade tool is protected against this issue and is not impacted. Do not interrupt the upgrade. Do not close the terminal attached to it. Ignore the issue until the upgrade is finished. For more information on this issue read Unreadable fonts during the upgrade.
Source: https://linuxmint-user-guide.readthedocs.io/en/latest/upgrade-to-mint-22.html#notes
emphasis is mine.
what kind of issue is this?
@BOplaid Updating to Linux Mint 22 from Linux Mint 21.3 on multiple computers is a quite significant work. During this process I figured out multiple bugs, documented roughly here, that I will try to solve upstream before next Linux Mint release or will be a good comparison basis for next Linux Mint release issues.
Related to Benjamin_Loison/virtualbox/issues/50.
https://linuxmint-user-guide.readthedocs.io/en/latest/upgrade-to-mint-22.html
linuxmint/mintupgrade/issues/87