Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] What's wrong with the update?

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
jasonnix
Posts: 27
Joined: 2023-12-04 11:30
Has thanked: 1 time

[Solved] What's wrong with the update?

#1 Post by jasonnix »

Hello,
I want to update the system, but I get the following message:

Code: Select all

# apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease 
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease           
Reading package lists... Done                     
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
#
# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libsemanage-common passwd
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
What is wrong?

Thank you.
Last edited by jasonnix on 2024-02-23 12:00, edited 1 time in total.

User avatar
bbbhltz
Posts: 166
Joined: 2024-01-10 14:53
Location: Normandy
XMMP/Jabber: bbbhltz@mailbox.org
Has thanked: 49 times
Been thanked: 33 times

Re: [O/S] What's wrong with the update?

#2 Post by bbbhltz »

Hello. Nothing is wrong here. This is a common occurrence that can happen for differen reasons. Maybe dependencies changed for one of the packages you have installed so that a new package must be installed to perform the upgrade.

If you need that package you can try running

Code: Select all

sudo apt-get --with-new-pkgs upgrade <packages>
or simply

Code: Select all

sudo apt-get install <packagea>
The former might be the better solution (maybe wait for a second opinion).

I tend to be cautious when this happens. So, do not do a dist-upgrade as it could remove packages.
bbbhltz
longtime desktop Linux user; eternal newbie

User avatar
PsychoHermit
Posts: 68
Joined: 2022-08-16 04:17
Location: Carson City, Nv
Has thanked: 6 times
Been thanked: 2 times

Re: [O/S] What's wrong with the update?

#3 Post by PsychoHermit »

If you do a dist-upgrade it will tell you what it's going to do and you can always say no if it's going to remove packages.

--glenn

User avatar
pbear
Posts: 329
Joined: 2023-08-27 15:05
Location: San Francisco
Has thanked: 1 time
Been thanked: 57 times

Re: [O/S] What's wrong with the update?

#4 Post by pbear »

What versions do you have at present. Here's what I see (bookworm stable, fully updated):

Code: Select all

All packages are up to date.
root@debian:~# apt list passwd
Listing... Done
passwd/stable,now 1:4.13+dfsg1-1+b1 amd64 [installed]
root@debian:~# apt list libsemanage-common
Listing... Done
libsemanage-common/stable,now 3.4-1 all [installed]
FWIW, I always use apt full-upgrade, which is basically the same thing as apt-get dist-upgrade. Never had a problem.

jasonnix
Posts: 27
Joined: 2023-12-04 11:30
Has thanked: 1 time

Re: [O/S] What's wrong with the update?

#5 Post by jasonnix »

bbbhltz wrote: 2024-02-18 07:07 Hello. Nothing is wrong here. This is a common occurrence that can happen for differen reasons. Maybe dependencies changed for one of the packages you have installed so that a new package must be installed to perform the upgrade.

If you need that package you can try running

Code: Select all

sudo apt-get --with-new-pkgs upgrade <packages>
or simply

Code: Select all

sudo apt-get install <packagea>
The former might be the better solution (maybe wait for a second opinion).

I tend to be cautious when this happens. So, do not do a dist-upgrade as it could remove packages.
Hello,
Thank you so much.
problem solved.

Post Reply