You are Here:
Linux Lite 6.0 Final Released - See Release Announcements



APT - packages have been kept back

Author (Read 546 times)

0 Members and 1 Guest are viewing this topic.

Re: APT - packages have been kept back
« Reply #11 on: August 03, 2022, 04:43:50 AM »
 

Şerban S.

  • Şerban
  • PayPal Supporter
  • Forum Regular
  • *****
  • 210
    Posts
  • Reputation: 10
  • Linux Lite Member

  • Linux Lite: 6.0 64bit

  • CPU: Intel® Core™ i7-4790

  • MEMORY: 16Gb

  • VIDEO CARD: Intel® HD Graphics 4600 + NVidia GK107 (GeForce GT630 OEM)

  • Kernel: 5.x
@Ş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.
Your post appeared while I was writing. I saw it after posting so I added a "Later Edit".
I also avoid as much as I can this sequence, since /usr/bin/lite-updates works fine for me. :)

Best regards! :)
"It's easy to die for an idea. It's way harder TO LIVE for your idea!"
Current Machine:
 Dell Precision T1700, 16 GB RAM, 240 GB SSD.
Laptop:
 Lenovo ThinkPad T400 + SSD Kingston A 400, 480 GB.
 

Re: APT - packages have been kept back
« Reply #10 on: August 03, 2022, 04:33:02 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8481
    Posts
  • Reputation: 786
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 6.0 64bit

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
You're very welcome :)
 

Re: APT - packages have been kept back
« Reply #9 on: August 03, 2022, 04:31:35 AM »
 

mgqk15

  • New to Forums
  • *
  • 4
    Posts
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 6.0 64bit

  • CPU: Intel Celeron CPU 1007U @ 1.50GHz

  • MEMORY: 4Gb

  • VIDEO CARD: VGA compatible controller
Thanks for your help Jerry,

Moz
 

Re: APT - packages have been kept back
« Reply #8 on: August 03, 2022, 04:23:33 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8481
    Posts
  • Reputation: 786
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 6.0 64bit

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Excellent.
 

Re: APT - packages have been kept back
« Reply #7 on: August 03, 2022, 04:21:45 AM »
 

mgqk15

  • New to Forums
  • *
  • 4
    Posts
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 6.0 64bit

  • CPU: Intel Celeron CPU 1007U @ 1.50GHz

  • MEMORY: 4Gb

  • VIDEO CARD: VGA compatible controller
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
« Reply #6 on: August 03, 2022, 03:33:26 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8481
    Posts
  • Reputation: 786
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 6.0 64bit

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
@Ş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
« Reply #5 on: August 03, 2022, 03:25:43 AM »
 

Şerban S.

  • Şerban
  • PayPal Supporter
  • Forum Regular
  • *****
  • 210
    Posts
  • Reputation: 10
  • Linux Lite Member

  • Linux Lite: 6.0 64bit

  • CPU: Intel® Core™ i7-4790

  • MEMORY: 16Gb

  • VIDEO CARD: Intel® HD Graphics 4600 + NVidia GK107 (GeForce GT630 OEM)

  • Kernel: 5.x
[...]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: [Select]
cd /video/X-99-Kit-Linux/LibreOffice-Versiuni-Info/LibreOffice_6.0.3.2_Linux_x86-64_deb/DEBS/
sudo dpkg -i *.deb

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: [Select]
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! :)
« Last Edit: August 03, 2022, 04:08:46 AM by Şerban S. »
"It's easy to die for an idea. It's way harder TO LIVE for your idea!"
Current Machine:
 Dell Precision T1700, 16 GB RAM, 240 GB SSD.
Laptop:
 Lenovo ThinkPad T400 + SSD Kingston A 400, 480 GB.
 

Re: APT - packages have been kept back
« Reply #4 on: August 03, 2022, 03:24:14 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8481
    Posts
  • Reputation: 786
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 6.0 64bit

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
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
« Reply #3 on: August 03, 2022, 01:59:25 AM »
 

mgqk15

  • New to Forums
  • *
  • 4
    Posts
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 6.0 64bit

  • CPU: Intel Celeron CPU 1007U @ 1.50GHz

  • MEMORY: 4Gb

  • VIDEO CARD: VGA compatible controller
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
« Reply #2 on: August 02, 2022, 04:14:41 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8481
    Posts
  • Reputation: 786
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 6.0 64bit

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Are you using Menu, Favorites, Install Updates application?
 

APT - packages have been kept back
« Reply #1 on: August 02, 2022, 04:20:32 AM »
 

mgqk15

  • New to Forums
  • *
  • 4
    Posts
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 6.0 64bit

  • CPU: Intel Celeron CPU 1007U @ 1.50GHz

  • MEMORY: 4Gb

  • VIDEO CARD: VGA compatible controller
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
« Last Edit: August 03, 2022, 04:33:11 AM by Jerry »
 

 

-->
X Close Ad

Linux Lite 6.0 Final Released - See Release Announcements