usrmerge breaks update from 20.04 to 22.04 - FATAL ERROR: Both /bin/egrep and /usr/bin/egrep exist.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
usrmerge (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
A system update from 20.04 to 22.04 stopped in the middle with the following error:
$ sudo apt -f install
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
cryptsetup-run dh-elpa-helper elpa-dash elpa-ghub elpa-git-commit elpa-let-alist elpa-magit elpa-magit-popup elpa-magit-section elpa-transient elpa-treepy elpa-with-editor emacs fonts-mathjax gcc-10-base
gir1.
libart-2.0-2 libbasicusageen
libboost-
libdirectfb-1.7-7 libdns-export1109 libdvdread7 libebml4v5 libedataserver-
libfreehep-
libgtkmm-2.4-1v5 libgtkspell0 libgupnp-1.2-0 libhandy-0.0-0 libhogweed5 libidn11 libigdgmm11 libilmbase24 libio-string-perl libjas-plotter-java libjaxen-java libjdom1-java libjs-mathjax libjson-c4
libjuh-java libjurt-java libkf5crash5 libleatherman1.4.2 liblibreoffice-java liblivemedia77 libllvm12 libmatroska6v5 libmms0 libmozjs-68-0 libnb-org-
libneon27-gnutls libnettle7 libntfs-3g883 libofa0 libopenexr24 liborcus-0.15-0 libotf0 libparse-
libpoppler97 libprotobuf-lite17 libprotobuf17 libpython3.8 libpython3.
libsrt1 libtablelayout-java libtepl-4-0 libtracker-
libxml-
linux-
python-lxml python-numpy python-olefile python-pil python-
ruby-molinillo ruby-net-
Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
1 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
usrmerge (25ubuntu2) wird eingerichtet ...
Smartmatch is experimental at /usr/lib/
FATAL ERROR:
Both /bin/egrep and /usr/bin/egrep exist.
You can try correcting the errors reported and running again
/usr/lib/
Do not install or update other Debian packages until the program
has been run successfully.
dpkg: Fehler beim Bearbeiten des Paketes usrmerge (--configure):
»installiertes usrmerge-Skript des Paketes post-installati
Fehler traten auf beim Bearbeiten von:
usrmerge
libdvd-pkg: Checking orig.tar integrity...
/usr/src/
libdvd-pkg: `apt-get check` failed, you may have broken packages. Aborting...
[ Rootkit Hunter version 1.4.6 ]
File updated: searched for 182 files, found 164
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: usrmerge 25ubuntu2
ProcVersionSign
Uname: Linux 5.4.0-109-generic x86_64
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 22 01:30:21 2022
InstallationDate: Installed on 2019-09-18 (946 days ago)
InstallationMedia: Ubuntu-Server 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=de_DE.UTF-8
SHELL=/bin/bash
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: usrmerge
UpgradeStatus: Upgraded to jammy on 2022-04-21 (0 days ago)
After diffing egrep and fgrep in /bin and /usr/bin,
spotting no difference and removing the /bin version I was able to continue my installation.