![]() |
APT - packages have been kept back - Printable Version +- Linux Lite Forums (https://www.linuxliteos.com/forums) +-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5) +--- Forum: Updates (https://www.linuxliteos.com/forums/forumdisplay.php?fid=46) +--- Thread: APT - packages have been kept back (/showthread.php?tid=8426) Pages:
1
2
|
APT - packages have been kept back - mgqk15 - 08-02-2022 Hi, I've installed Linuxlite 6.0. It's been working fine but today when I try an APT UPGRADE I get the following message that packages have been kept back. How do I resolve The following packages have been kept back: fonts-opensymbol libegl-mesa0 libgbm1 libgl1-mesa-dri libglapi-mesa libglx-mesa0 libreoffice-avmedia-backend-gstreamer libreoffice-base-core libreoffice-common libreoffice-core libreoffice-gnome libreoffice-gtk3 libreoffice-pdfimport libreoffice-style-colibre libreoffice-style-elementary libreoffice-style-galaxy libreoffice-style-tango libreoffice-style-yaru libuno-cppu3 libuno-cppuhelpergcc3-3 libuno-purpenvhelpergcc3-3 libuno-sal3 libuno-salhelpergcc3-3 libxatracker2 mesa-va-drivers mesa-vdpau-drivers uno-libs-private ure 0 to upgrade, 0 to newly install, 0 to remove and 28 not to upgrade. Thanks for your help Moz Re: APT - packages have been kept back - Valtam - 08-02-2022 Are you using Menu, Favorites, Install Updates application? Re: APT - packages have been kept back - mgqk15 - 08-03-2022 Hi Jerry, I'm using the SUDO APT command from a terminal, please see copy of update I've just run this morning. As you can see it has 1 to upgrade and 28 not to upgrade. Thanks for your help. Moz *********************************** * Copy from terminal window *********************************** moz ~ sudo apt update [sudo] password for moz: Hit:1 https://ppa.launchpadcontent.net/appimagelauncher-team/stable/ubuntu jammy InRelease Hit:2 https://dl.google.com/linux/chrome/deb stable InRelease Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease Hit:4 https://brave-browser-apt-release.s3.brave.com stable InRelease Hit:5 http://us.archive.ubuntu.com/ubuntu jammy InRelease Hit:6 http://archive.canonical.com/ubuntu jammy InRelease Hit:7 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:8 http://repo.linuxliteos.com/linuxlite fluorite InRelease Hit:9 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done 29 packages can be upgraded. Run 'apt list --upgradable' to see them. moz ~ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages have been kept back: fonts-opensymbol libegl-mesa0 libgbm1 libgl1-mesa-dri libglapi-mesa libglx-mesa0 libreoffice-avmedia-backend-gstreamer libreoffice-base-core libreoffice-common libreoffice-core libreoffice-gnome libreoffice-gtk3 libreoffice-pdfimport libreoffice-style-colibre libreoffice-style-elementary libreoffice-style-galaxy libreoffice-style-tango libreoffice-style-yaru libuno-cppu3 libuno-cppuhelpergcc3-3 libuno-purpenvhelpergcc3-3 libuno-sal3 libuno-salhelpergcc3-3 libxatracker2 mesa-va-drivers mesa-vdpau-drivers uno-libs-private ure The following packages will be upgraded: google-chrome-stable 1 to upgrade, 0 to newly install, 0 to remove and 28 not to upgrade. Need to get 89.6 MB of archives. After this operation, 12.6 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 https://dl.google.com/linux/chrome/deb stable/main amd64 google-chrome-stable amd64 104.0.5112.79-1 [89.6 MB] Fetched 89.6 MB in 16s (5,565 kB/s) (Reading database ... 368637 files and directories currently installed.) Preparing to unpack .../google-chrome-stable_104.0.5112.79-1_amd64.deb ... Unpacking google-chrome-stable (104.0.5112.79-1) over (103.0.5060.134-1) ... Setting up google-chrome-stable (104.0.5112.79-1) ... Processing triggers for gnome-menus (3.36.0-1ubuntu3) ... Processing triggers for man-db (2.10.2-1) ... Processing triggers for menu (2.1.47ubuntu4) ... Processing triggers for mailcap (3.70+nmu1ubuntu1) ... Processing triggers for desktop-file-utils (0.26-1ubuntu3) ... moz ~ Re: APT - packages have been kept back - Valtam - 08-03-2022 Please use the provided Install Updates on the Menu. We don't use sudo apt upgrade in our code. Let me know if the same issue occurs. Re: APT - packages have been kept back - Şerban S. - 08-03-2022 (08-02-2022, 08:20 AM)mgqk15 link Wrote: [...]when I try an APT UPGRADE I get the following message that packages have been kept back.[...] Hi! ![]() The APT message, is weird, to say the least! If there were any errors at all, then where are they (is it...) listed in the APT output? On the other hand... Looking at the package list, I can recognize the updates that I received in the last 4 days or so and all worked flawlessly. On the other hand... As far as I can see, most packages are LibreOffice related. The problem with LibreOffice, is that it crushes (freezez) the system. I wanted to use it after the clean install from LL 5.8 to LL 6.0 since I use it daily, but it froze my desktop, several times, even after upgradeing to the latest office version. Far more, this "latest & greatest" was worse than the LibreOffice (7.4.2?) that is packed in the ISO. So the only choice I had, was to revert to the old version I used for years: 6.0.3.2. I answered a previous post, exactly related to this issue: computer frozen by LibreOffice. What confuses me though, is why on Earth, APT holds the gstreamer packages, without any error message?! ![]() The only logical answer is that all held packages, are tied (mandatory dependencies) to the LibreOffice installation. My solution: 1. Uninstall LibreOffice. Works easy from Synaptic. Select full uninstall; 2. Download LibreOffice 6.0.3.2; Unpack it; 3. Read the "README_en-US" file (in the readmes directory). Pay attention to the current path, when entering the sudo dpkg -i *.deb command into the terminal. I usually provide the full path to the files (say: /video/LibreOffice/LibreOffice_6.0.3.2_Linux_x86-64_deb/debs/*.deb). So, pay attention to the fully qualified path before hitting "Enter" in the terminal window. 4. Run sudo apt update, then sudo apt upgrade. From where I look, this will work. At least, it worked for me. Give it a try and if this makes the nightmare go away, remember to add the "SOLVED" label to the first post in the thread. Below, there is a sample code to what I do to install another LibreOffice than the default one: Code: cd /video/X-99-Kit-Linux/LibreOffice-Versiuni-Info/LibreOffice_6.0.3.2_Linux_x86-64_deb/DEBS/ You need to modify the above code with the appropriate data, that points to the current directory where you unpacked the packages. Best wishes! ![]() [Later edit...] I saw Jerry's message. I seldom use (that is: exceptionally only) sudo apt update, then sudo apt upgrade. Probably the only case is, when I install a new Linux Lite (meaning, from a bootable stick) and that rarely happens, except when the previous version is the end of line, such as LL 5.8 which is followed by a major version (6.0). For each update/upgrade, I rely on the Lite specific module (Update or Upgrade). So when I wrote "update worked flawlessly", the update was performed by the Linux Lite appropriate module. In this case, Update; namely: /usr/bin/lite-updates. As a showcase... Yesterday, there were some 100 package updates. All went like a breeze and some 60%, were LibreOffice and gstreamer related, so maybe if you do what I suggested, all wil work well. A last second thought, to follow Jerry's guidelines: After installing LibreOffice 6.0.3.2, instead of using the sequence sudo apt update, then sudo apt upgrade, since you are in CLI, use: Code: sudo /usr/bin/lite-updates This will pop up the Lite Updates graphic module. If there is any update, it will show the list; else, you'll get the message "Your system is up to date". Good luck! ![]() Re: APT - packages have been kept back - Valtam - 08-03-2022 @Şerban - thank you for your help, but OP, DO NOT follow his instructions until you have responded to my post. We DO NOT use sudo apt upgrade. Re: APT - packages have been kept back - mgqk15 - 08-03-2022 Hi Jerry, I've just run the install updates from the menu and just got a pop up message "Your system is up to date". Kind regards Moz Re: APT - packages have been kept back - Valtam - 08-03-2022 Excellent. Re: APT - packages have been kept back - mgqk15 - 08-03-2022 Thanks for your help Jerry, Moz Re: APT - packages have been kept back - Valtam - 08-03-2022 You're very welcome ![]() |