The Linux Community Forum

Support => General Help & Advice => Topic started by: pooky2483 on November 28, 2016, 12:57:43 am

Title: [SOLVED] 2 Updates which will not update
Post by: pooky2483 on November 28, 2016, 12:57:43 am
I have 2 updates which I can't get to update. I am using Muon Update Manager (MUM) & Muon Package Manager (MPM).
The 2 updates are mencoder & mplayer.
Is there any way I can find out if anything is stopping them from being updated, I know packages can be held but I don't know how to check or unhold them. In MPM, it list them as upgradeable but I'm unable to upgrade them.

How can I check if there's anything else wrong which is preventing me from upgrading them?
Title: Re: 2 Updates which will not update
Post by: pooky2483 on November 28, 2016, 01:11:28 am
I'm also getting an error in FireFox.
libavcodec may be vulnerable or not supported. and should be updated to play video.
Title: Re: 2 Updates which will not update
Post by: Mark Greaves (PCNetSpec) on November 29, 2016, 07:45:33 pm
Run:
Code: [Select]
sudo apt-get update
then
Code: [Select]
sudo apt-get upgrade
any errors ?

if so, post them.
Title: Re: 2 Updates which will not update
Post by: pooky2483 on December 05, 2016, 07:18:21 pm
All went ok but I saw this;

The following packages have been kept back:
  mencoder mplayer
The following packages will be upgraded:
  ghostscript ghostscript-x google-chrome-stable libgs9 libgs9-common
  oxideqt-codecs-extra
6 to upgrade, 0 to newly install, 0 to remove and 2 not to upgrade.

It's still not touching them!

p.s. Sorry for taking a while to get back to you.
Title: Re: 2 Updates which will not update
Post by: Mark Greaves (PCNetSpec) on December 06, 2016, 12:27:57 am
When you see that packages are "being held back" it usually means updating them will pull in packages (as dependencies) that are not already installed on your system .. apt- get upgrade can only UPGRADE packages to newer versions, it CANNOT pull in packages that don't already exist on the system .. you need to apt-get dist-upgrade for that

To finish the upgrade you'll need to give it express permission to pull in the dependencies that it needs that aren't already installed:
Code: [Select]
sudo apt-get dist-upgrade
should allow it to pull them in.
Title: Re: 2 Updates which will not update
Post by: pooky2483 on December 06, 2016, 01:37:35 pm
Will that take me away from 14.04? i.e. to the next version?
If so, I don't want to proceed with the command as I prefer to stick with 14.04 (and will have to suffer the held back packages).

If it keeps me on 14.04 then I will continue with the command.
Title: Re: 2 Updates which will not update
Post by: Mark Greaves (PCNetSpec) on December 06, 2016, 02:47:00 pm
No you'll stay on 14.04
Title: Re: 2 Updates which will not update
Post by: pooky2483 on December 06, 2016, 07:00:26 pm
I have entered
Code: [Select]
sudo apt-get dist-upgrade
and I get this;
The following packages were automatically installed and are no longer required:
  kde-config-pimactivity libdirac-encoder0 libdrm-amdgpu1 libepoxy0 libevdev2
  libkactivities-models1 libkwineffects1abi4 libllvm3.6 libnepomukcleaner4
  libntdb1 libokularcore4 libpimactivity4 libtar0 libwebpmux1 libwxbase3.0-0
  libwxgtk3.0-0 libx264-148 mysql-server-core-5.5 nepomuk-core-runtime
  python-imaging python-ntdb python-pexpect python-pil python-renderpm
  python-reportlab python-reportlab-accel shared-desktop-ontologies
Use 'apt-get autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.

Looks like it's not done anything!!!
Title: Re: 2 Updates which will not update
Post by: Mark Greaves (PCNetSpec) on December 06, 2016, 10:37:47 pm
run:
Code: [Select]
sudo apt-get update
then
Code: [Select]
sudo apt-get upgrade
then
Code: [Select]
sudo apt-get dist-upgrade
and you should be up to date.

You might also want want to clear those orphaned packages:
Code: [Select]
sudo apt-get autoremove
Title: Re: 2 Updates which will not update
Post by: Tramlink on December 07, 2016, 09:38:01 am
Running mint 17.3 mate 64bit.

I'm also getting an error in FireFox. 50.0.2
libavcodec may be vulnerable or not supported. and should be updated to play video.

I have followed the update procedure above but I am still getting the same message when using firefox.

I have checked in the package manager and I have the most up to date version.
Title: Re: 2 Updates which will not update
Post by: pooky2483 on December 07, 2016, 07:52:33 pm
Mark, I entered the commands you said to and then to check, I then re-entered
Code: [Select]
sudo apt-get upgrade
And got the following...

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  mencoder mplayer
0 to upgrade, 0 to newly install, 0 to remove and 2 not to upgrade.

It's still not doing anything to them!!!
Title: Re: 2 Updates which will not update
Post by: Mark Greaves (PCNetSpec) on December 08, 2016, 09:53:31 am
Weird :-\

Okay what happens if you run:
Code: [Select]
sudo apt-get install --reinstall mencoder mplayer
Title: Re: 2 Updates which will not update
Post by: pooky2483 on December 09, 2016, 11:32:58 am
Nothing happens, I get this;

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libfdk-aac0
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
  mencoder mplayer
Suggested packages:
  mplayer-doc
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Title: Re: 2 Updates which will not update
Post by: Mark Greaves (PCNetSpec) on December 09, 2016, 09:05:54 pm
Okay sommat weird goin on....

Are you still on 14.04 (64bit) as your sig suggests ?

and what's the output from:
Code: [Select]
dpkg -l | grep mencoder
and
Code: [Select]
dpkg -l | grep mplayer

[EDIT]

Does running
Code: [Select]
sudo apt-get clean
clear them ?
Title: Re: 2 Updates which will not update
Post by: pooky2483 on December 10, 2016, 12:47:50 pm
Code: [Select]
dpkg -l | grep mencoder
ii  acidrip                                     0.14-0.2ubuntu7                                all          ripping and encoding DVD tool using mplayer and mencoder
ii  mencoder                                    2:1.1+dfsg1-0ubuntu3                           amd64        MPlayer's Movie Encoder

Code: [Select]
dpkg -l | grep mplayer
ii  acidrip                                     0.14-0.2ubuntu7                                all          ripping and encoding DVD tool using mplayer and mencoder
ii  mplayer                                     2:1.2+svn37881~trusty                          amd64        movie player for Unix-like systems
ii  mplayerthumbs                               4:4.14.3-0ubuntu1~ubuntu14.04~ppa1             amd64        video thumbnail generator using mplayer

Looks like
Code: [Select]
sudo apt-get clean
sorted it as when I ran Muon update Manager, there were updates to install, so I installed them. Then I re-checked for updates and there were none and no further warning about the two packages.
Title: Re: 2 Updates which will not update
Post by: pooky2483 on December 10, 2016, 12:54:59 pm
Thanks for fixing the problem Mark, what exactly was wrong, do you know?
Title: Re: [SOLVED] 2 Updates which will not update
Post by: Mark Greaves (PCNetSpec) on December 10, 2016, 01:01:05 pm
Looks like there were some packages (or information about them) in your local package cache that were refusing to install for whatever reason .. clearing the package cache allowed them be re-downloaded and installed.
Title: Re: [SOLVED] 2 Updates which will not update
Post by: pooky2483 on December 22, 2016, 03:53:48 pm
Sorry Mark, it seems I was wrong, they are still failing to update!
Title: Re: 2 Updates which will not update
Post by: Mark Greaves (PCNetSpec) on December 23, 2016, 10:32:43 am
According to this
http://packages.ubuntu.com/search?suite=trusty&keywords=mencoder (http://packages.ubuntu.com/search?suite=trusty&keywords=mencoder)
and this
http://packages.ubuntu.com/search?suite=trusty&keywords=mplayer (http://packages.ubuntu.com/search?suite=trusty&keywords=mplayer)
the current versions for 14.04 (trusty) are

mencoder     2:1.1+dfsg1-0ubuntu3

mplayer     2:1.1+dfsg1-0ubuntu3


And yet you have a later version of mplayer (2:1.2+svn37881~trusty) .. my guess is you're getting this from a PPA that's now broken.

What's the output from:
Code: [Select]
for APT in `find /etc/apt/ -name \*.list`; do grep -o "^deb http://ppa.launchpad.net/[a-z0-9\-]\+/[a-z0-9\-]\+" $APT | while read ENTRY ; do USER=`echo $ENTRY | cut -d/ -f4` PPA=`echo $ENTRY | cut -d/ -f5` ; echo ppa:$USER/$PPA ; done ; done
Title: Re: 2 Updates which will not update
Post by: pooky2483 on December 29, 2016, 08:00:17 pm
The result is;

ppa:jonathonf/vlc
ppa:kubuntu-ppa/backports
ppa:team-xbmc/ppa
Title: Re: 2 Updates which will not update
Post by: pooky2483 on December 29, 2016, 08:06:43 pm
Mark, I think I've found the cause of the problem. THIS (http://ubuntuhandbook.org/index.php/2015/02/upgrade-vlc-2-2-0-stable-ubuntu-14-04/) page is where I found I could install the newest version of VLC, but all it's caused is problems.
Title: Re: 2 Updates which will not update
Post by: Mark Greaves (PCNetSpec) on December 29, 2016, 11:07:11 pm
Yep, PPA's can be both a godsend and a nightmare .. nature of the beast I'm afraid.

You could purge that PPA, but it'll mean loosing that version of VLC (?)
Title: Re: 2 Updates which will not update
Post by: pooky2483 on December 30, 2016, 01:05:02 am
You could purge that PPA, but it'll mean loosing that version of VLC (?)

That's a sacrifice I'm willing to take, if it means using a version which 14.04 classes as current stable then so be it.

How do I go about it, do I just remove the PPA and the system will revert to the current stable for 14.04?

Title: Re: 2 Updates which will not update
Post by: Mark Greaves (PCNetSpec) on December 30, 2016, 11:03:55 am
Make sure ppa-purge is installed:
Code: [Select]
sudo apt-get install ppa-purge
then purge the ppa:jonathonf/vlc PPA:
Code: [Select]
sudo ppa-purge ppa:jonathonf/vlc
that should disable that PPA and revert anything installed from it back to the default versions
Title: Re: 2 Updates which will not update
Post by: pooky2483 on December 30, 2016, 01:06:44 pm
Now THAT fixed it.
Thanks again Mark :-)
Title: Re: [SOLVED] 2 Updates which will not update
Post by: Mark Greaves (PCNetSpec) on December 30, 2016, 09:30:44 pm
No worries mate :)
SimplePortal 2.3.3 © 2008-2010, SimplePortal