LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-01-2018, 03:11 PM   #1
grobber
LQ Newbie
 
Registered: Jan 2018
Posts: 16

Rep: Reputation: Disabled
'1 package not upgraded' conundrum


I'm on Debian 9.3 32 bit stable. Today I started encountering the following issue.

I updated and fully upgraded the system (ffmpeg + some attendant libraries; about 10 packages). All went smoothly, but now

apt upgrade
apt full-upgrade
apt-get upgrade
apt-get dist-upgrade
apt autoremove

all show

0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded

Aptitude shows no packages marked for upgrading, 'dpkg --audit' returns with exit code 0, 'apt update' says everything's up to date, 'dpkg -l' returns only packages marked 'ii' (I've grepped for anything *not* starting with 'ii' with no results).

Is there any way to figure out which package dpkg is dropping the ball on?

Edit: I forgot to mention, 'apt-mark showhold' returns nothing (i.e. no held packages).

Last edited by grobber; 01-01-2018 at 03:33 PM. Reason: omitted information
 
Old 01-01-2018, 03:40 PM   #2
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: Devuan+lxde
Posts: 658

Rep: Reputation: 190Reputation: 190
What's the output of
Code:
apt list --upgradable
 
1 members found this post helpful.
Old 01-01-2018, 03:54 PM   #3
grobber
LQ Newbie
 
Registered: Jan 2018
Posts: 16

Original Poster
Rep: Reputation: Disabled
Ah, that's yet more info I forgot to add: I'd tried that with no hits. So that command returns nothing. Well, to be precise, it returns

Listing... Done

and nothing else.
 
Old 01-01-2018, 04:06 PM   #4
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: Devuan+lxde
Posts: 658

Rep: Reputation: 190Reputation: 190
Interesting.
Did you check apt-get logs? Usually located at /var/log/apt/term.log
 
Old 01-01-2018, 04:25 PM   #5
grobber
LQ Newbie
 
Registered: Jan 2018
Posts: 16

Original Poster
Rep: Reputation: Disabled
Sure did, but I'm giving that file another go as we speak.

Nothing looks suspicious though. I can see all of the activity for the day, some packages installed, some removed / purged, etc. I recognize what's logged and I don't see any warnings, errors, and so on. Nor did I get any throughout the day while undergoing all of this; I just happened to notice the stray '1' by accident under 'not upgraded' when running autoremove.

If I could somehow increase the verbosity of the commands I listed (which return the errant '1') perhaps that would help, but the closest I can get to 'verbose' looking through the apt / apt-get man pages is the -V flag for apt-get, and running either

apt-get -V autoremove
or
apt-get -V dist-upgrade

makes no difference (same '1 not upgraded' message).
 
Old 01-01-2018, 04:34 PM   #6
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: Devuan+lxde
Posts: 658

Rep: Reputation: 190Reputation: 190
Strange. Well that's about as far as I can take you. I've never experienced that problem before. Hopefully someone else may have another suggestion of where to look.

You don't mention any loss of functionality, so hopefully you will be good until it gets resolved. Good luck!
 
Old 01-01-2018, 04:44 PM   #7
grobber
LQ Newbie
 
Registered: Jan 2018
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TheEzekielProject View Post
Strange. Well that's about as far as I can take you. I've never experienced that problem before. Hopefully someone else may have another suggestion of where to look.
No worries at all, it's much appreciated regardless!

Quote:
Originally Posted by TheEzekielProject View Post
You don't mention any loss of functionality, so hopefully you will be good until it gets resolved. Good luck!
Oh, yes, as far as I can tell it's all in good order, just somewhat strange. It'd be interesting to get to the bottom of it, but it doesn't seem to have affected functionality thus far.
 
Old 01-01-2018, 05:35 PM   #8
grobber
LQ Newbie
 
Registered: Jan 2018
Posts: 16

Original Poster
Rep: Reputation: Disabled
All right, tracked down the issue:

A few days back I installed a package from source with checkinstall because the newer upstream version fixed a bug in Debian's version. I then pinned that package to pin priority -1 in /etc/apt/preferences.d/preferences so Debian wouldn't downgrade it to its own version.

I then apparently promptly forgot about it.. I also seem to have never run 'apt autoremove' after those changes, so was not familiar with the apt behavior under the circumstances.

I tested that this was the problem by removing the package; sure enough, the '1 not upgraded' went away. I've since re-installed it, now that I know this is normal behavior.
 
Old 01-01-2018, 05:45 PM   #9
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: Devuan+lxde
Posts: 658

Rep: Reputation: 190Reputation: 190
Glad you figured it out! You can mark your question as 'Solved' using Thread Tools at the top
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Wheezy: same package bash upgraded in the same dist-upgrade command; why? floppy_stuttgart Debian 1 10-30-2016 10:36 AM
[SOLVED] slackpkg+: how to keep one package in slackware being upgraded by a 3rd party repos? michaelslack Slackware 9 12-15-2014 06:28 AM
Upgraded sdl package breaks mouse in OpenTTD elesmod Slackware 8 06-22-2013 10:28 PM
[SOLVED] keyboard stopped working in X when I upgraded udev from 1.75 to 1.82After I upgraded RandomTroll Slackware 3 07-26-2012 02:48 PM
Preventing a Package from being Upgraded neoAKiRAz Ubuntu 3 04-25-2007 06:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration