[solved ] unable to upgrade packages

New to Debian (Or Linux in general)? Ask your questions here!

[solved ] unable to upgrade packages

Postby maxbre » 2019-08-05 05:59

Code: Select all
sudo apt list --upgradable
Listing... Done
gir1.2-gst-plugins-base-1.0/stable 1.14.4-dmo2 amd64 [upgradable from: 1.10.4-1+deb9u1]
gir1.2-javascriptcoregtk-4.0/stable 2.24.2-dmo1 amd64 [upgradable from: 2.18.6-1~deb9u1.0]
gir1.2-webkit2-4.0/stable 2.24.2-dmo1 amd64 [upgradable from: 2.18.6-1~deb9u1.0]
gstreamer1.0-alsa/stable 1.14.4-dmo2 amd64 [upgradable from: 1.10.4-1+deb9u1]
gstreamer1.0-libav/stable 1:1.14.4-dmo3 amd64 [upgradable from: 1:1.10.4-dmo1]
gstreamer1.0-plugins-bad/stable 1:1.14.4-dmo7 amd64 [upgradable from: 1:1.10.4-dmo2]
gstreamer1.0-plugins-base/stable 1.14.4-dmo2 amd64 [upgradable from: 1.10.4-1+deb9u1]
gstreamer1.0-plugins-good/stable 1.14.4-dmo2 amd64 [upgradable from: 1.10.4-1]
gstreamer1.0-plugins-ugly/stable 1:1.14.4-dmo2 amd64 [upgradable from: 1:1.10.4-dmo1]
gstreamer1.0-pulseaudio/stable 1.14.4-dmo2 amd64 [upgradable from: 1.10.4-1]
gstreamer1.0-x/stable 1.14.4-dmo2 amd64 [upgradable from: 1.10.4-1+deb9u1]
libasound2-plugins/stable 1:1.1.8-dmo1 amd64 [upgradable from: 1:1.1.4-dmo1+deb9u1]
libass9/stable 2:0.14.0-dmo1 amd64 [upgradable from: 2:0.13.7-dmo1]
libbabl-0.1-0/stable 1:0.1.66-dmo1 amd64 [upgradable from: 1:0.1.28-dmo1]
libbluray2/stable 2:1.1.2-dmo1 amd64 [upgradable from: 2:1.0.0-dmo1]
libchromaprint1/stable 1:1.4.3-dmo2 amd64 [upgradable from: 1:1.4.2-dmo1]
libgstreamer-plugins-bad1.0-0/stable 1:1.14.4-dmo7 amd64 [upgradable from: 1:1.10.4-dmo2]
libgstreamer-plugins-base1.0-0/stable 1.14.4-dmo2 amd64 [upgradable from: 1.10.4-1+deb9u1]
libjavascriptcoregtk-4.0-18/stable 2.24.2-dmo1 amd64 [upgradable from: 2.18.6-1~deb9u1.0]
libwebkit2gtk-4.0-37/stable 2.24.2-dmo1 amd64 [upgradable from: 2.18.6-1~deb9u1.0]



Code: Select all
sudo apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libchromaprint1
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.



Code: Select all
sudo apt install libchromaprint1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libchromaprint1 : Depends: libavcodec58 (>= 10:4.0) but it is not going to be installed
                   Depends: libavutil56 (>= 10:4.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


my system
Code: Select all

uname -a
Linux 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u4 (2019-07-19) x86_64 GNU/Linux


any help for fixing this problem?

thank you
Last edited by maxbre on 2019-08-05 06:57, edited 1 time in total.
maxbre
 
Posts: 63
Joined: 2014-11-08 16:44

Re: unable to upgrade packages

Postby ruwolf » 2019-08-05 06:11

I have seen no problem, only 1 package kept back, it is OK.
Which is/are your source list(s)?
Code: Select all
apt-cache policy
Last edited by ruwolf on 2019-08-05 06:29, edited 1 time in total.
User avatar
ruwolf
 
Posts: 392
Joined: 2008-02-18 05:04
Location: Slovakia, Banovce nad Bebravou, Matice slovenskej 1260/4-7

Re: unable to upgrade packages

Postby maxbre » 2019-08-05 06:28

Code: Select all
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 https://download.sublimetext.com apt/stable/ Packages
     release o=Sublime Text,a=apt/stable,l=Sublime Text APT Repository,c=
     origin download.sublimetext.com
 500 https://repo.skype.com/deb stable/main amd64 Packages
     release o=. stable,a=stable,n=stable,l=. stable,c=main,b=amd64
     origin repo.skype.com
 500 https://deb.opera.com/opera-stable stable/non-free i386 Packages
     release o=Opera Software AS,a=stable,n=stable,l=The Opera web browser,c=non-free,b=i386
     origin deb.opera.com
 500 https://deb.opera.com/opera-stable stable/non-free amd64 Packages
     release o=Opera Software AS,a=stable,n=stable,l=The Opera web browser,c=non-free,b=amd64
     origin deb.opera.com
 500 http://mirror3.mirror.garr.it/mirrors/deb-multimedia stable/non-free i386 Packages
     release v=10,o=Unofficial Multimedia Packages,a=stable,n=buster,l=Unofficial Multimedia Packages,c=non-free,b=i386
     origin mirror3.mirror.garr.it
 500 http://mirror3.mirror.garr.it/mirrors/deb-multimedia stable/non-free amd64 Packages
     release v=10,o=Unofficial Multimedia Packages,a=stable,n=buster,l=Unofficial Multimedia Packages,c=non-free,b=amd64
     origin mirror3.mirror.garr.it
 500 http://mirror3.mirror.garr.it/mirrors/deb-multimedia stable/main i386 Packages
     release v=10,o=Unofficial Multimedia Packages,a=stable,n=buster,l=Unofficial Multimedia Packages,c=main,b=i386
     origin mirror3.mirror.garr.it
 500 http://mirror3.mirror.garr.it/mirrors/deb-multimedia stable/main amd64 Packages
     release v=10,o=Unofficial Multimedia Packages,a=stable,n=buster,l=Unofficial Multimedia Packages,c=main,b=amd64
     origin mirror3.mirror.garr.it
 500 http://download.virtualbox.org/virtualbox/debian stretch/contrib i386 Packages
     release o=Oracle Corporation,n=stretch,l=Oracle Corporation,c=contrib,b=i386
     origin download.virtualbox.org
 500 http://download.virtualbox.org/virtualbox/debian stretch/contrib amd64 Packages
     release o=Oracle Corporation,n=stretch,l=Oracle Corporation,c=contrib,b=amd64
     origin download.virtualbox.org
 500 https://qgis.org/debian stretch/main i386 Packages
     release o=QGIS project,a=stretch,n=stretch,l=QGIS repository,c=main,b=i386
     origin qgis.org
 500 https://qgis.org/debian stretch/main amd64 Packages
     release o=QGIS project,a=stretch,n=stretch,l=QGIS repository,c=main,b=amd64
     origin qgis.org
 500 http://cran.mirror.garr.it/mirrors/CRAN/bin/linux/debian stretch-cran35/ Packages
     release o=CRAN,a=stretch-cran35,n=stretch-cran35,l=CRAN Backports,c=
     origin cran.mirror.garr.it
 100 http://ftp.debian.org/debian stretch-backports/non-free i386 Packages
     release o=Debian Backports,a=stretch-backports,n=stretch-backports,l=Debian Backports,c=non-free,b=i386
     origin ftp.debian.org
 100 http://ftp.debian.org/debian stretch-backports/non-free amd64 Packages
     release o=Debian Backports,a=stretch-backports,n=stretch-backports,l=Debian Backports,c=non-free,b=amd64
     origin ftp.debian.org
 100 http://ftp.debian.org/debian stretch-backports/contrib i386 Packages
     release o=Debian Backports,a=stretch-backports,n=stretch-backports,l=Debian Backports,c=contrib,b=i386
     origin ftp.debian.org
 100 http://ftp.debian.org/debian stretch-backports/contrib amd64 Packages
     release o=Debian Backports,a=stretch-backports,n=stretch-backports,l=Debian Backports,c=contrib,b=amd64
     origin ftp.debian.org
 100 http://ftp.debian.org/debian stretch-backports/main i386 Packages
     release o=Debian Backports,a=stretch-backports,n=stretch-backports,l=Debian Backports,c=main,b=i386
     origin ftp.debian.org
 100 http://ftp.debian.org/debian stretch-backports/main amd64 Packages
     release o=Debian Backports,a=stretch-backports,n=stretch-backports,l=Debian Backports,c=main,b=amd64
     origin ftp.debian.org
 500 http://ftp.it.debian.org/debian stretch-updates/main i386 Packages
     release o=Debian,a=oldstable-updates,n=stretch-updates,l=Debian,c=main,b=i386
     origin ftp.it.debian.org
 500 http://ftp.it.debian.org/debian stretch-updates/main amd64 Packages
     release o=Debian,a=oldstable-updates,n=stretch-updates,l=Debian,c=main,b=amd64
     origin ftp.it.debian.org
 500 http://security.debian.org/debian-security stretch/updates/non-free i386 Packages
     release v=9,o=Debian,a=oldstable,n=stretch,l=Debian-Security,c=non-free,b=i386
     origin security.debian.org
 500 http://security.debian.org/debian-security stretch/updates/non-free amd64 Packages
     release v=9,o=Debian,a=oldstable,n=stretch,l=Debian-Security,c=non-free,b=amd64
     origin security.debian.org
 500 http://security.debian.org/debian-security stretch/updates/contrib i386 Packages
     release v=9,o=Debian,a=oldstable,n=stretch,l=Debian-Security,c=contrib,b=i386
     origin security.debian.org
 500 http://security.debian.org/debian-security stretch/updates/contrib amd64 Packages
     release v=9,o=Debian,a=oldstable,n=stretch,l=Debian-Security,c=contrib,b=amd64
     origin security.debian.org
 500 http://security.debian.org/debian-security stretch/updates/main i386 Packages
     release v=9,o=Debian,a=oldstable,n=stretch,l=Debian-Security,c=main,b=i386
     origin security.debian.org
 500 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
     release v=9,o=Debian,a=oldstable,n=stretch,l=Debian-Security,c=main,b=amd64
     origin security.debian.org
 500 http://ftp.it.debian.org/debian stretch/non-free i386 Packages
     release v=9.9,o=Debian,a=oldstable,n=stretch,l=Debian,c=non-free,b=i386
     origin ftp.it.debian.org
 500 http://ftp.it.debian.org/debian stretch/non-free amd64 Packages
     release v=9.9,o=Debian,a=oldstable,n=stretch,l=Debian,c=non-free,b=amd64
     origin ftp.it.debian.org
 500 http://ftp.it.debian.org/debian stretch/contrib i386 Packages
     release v=9.9,o=Debian,a=oldstable,n=stretch,l=Debian,c=contrib,b=i386
     origin ftp.it.debian.org
 500 http://ftp.it.debian.org/debian stretch/contrib amd64 Packages
     release v=9.9,o=Debian,a=oldstable,n=stretch,l=Debian,c=contrib,b=amd64
     origin ftp.it.debian.org
 500 http://ftp.it.debian.org/debian stretch/main i386 Packages
     release v=9.9,o=Debian,a=oldstable,n=stretch,l=Debian,c=main,b=i386
     origin ftp.it.debian.org
 500 http://ftp.it.debian.org/debian stretch/main amd64 Packages
     release v=9.9,o=Debian,a=oldstable,n=stretch,l=Debian,c=main,b=amd64
     origin ftp.it.debian.org


any problem?
what about this?
Code: Select all
E: Unable to correct problems, you have held broken packages.

no worries?

thank you
maxbre
 
Posts: 63
Joined: 2014-11-08 16:44

Re: unable to upgrade packages

Postby ruwolf » 2019-08-05 06:44

Source of your problem is that you have mixed repositories (old-stable & stable).

Your official debian (and VirtualBox, QGIS & CRAN) repository is stretch (previously stable, but currently old-stable), but sublimetext, skype, opera, deb-multimedia are stable, which was stretch, but currently it is buster.

You should use only one type of repository names.
Either by stability (oldoldstable, oldstable, stable, testing, unstable), or by Toy Story names (jessie, stretch, buster, bullseye, sid).
Because stability is shifting, what was previously testing, it is stable, now,
what was previously stable, it is oldstable, now, etc...
Last edited by ruwolf on 2019-08-05 09:49, edited 1 time in total.
User avatar
ruwolf
 
Posts: 392
Joined: 2008-02-18 05:04
Location: Slovakia, Banovce nad Bebravou, Matice slovenskej 1260/4-7

Re: unable to upgrade packages

Postby maxbre » 2019-08-05 06:53

oh, I see...

you mean changing in my sources.list the following lines

Code: Select all
#multimedia non-free
deb http://mirror3.mirror.garr.it/mirrors/deb-multimedia stable main non-free
deb-src http://mirror3.mirror.garr.it/mirrors/deb-multimedia stable main non-free


into this

Code: Select all
#multimedia non-free
deb http://mirror3.mirror.garr.it/mirrors/deb-multimedia stretch main non-free
deb-src http://mirror3.mirror.garr.it/mirrors/deb-multimedia stretch main non-free
maxbre
 
Posts: 63
Joined: 2014-11-08 16:44

Re: unable to upgrade packages

Postby ruwolf » 2019-08-05 06:55

Yes, rename all stable to stretch...
User avatar
ruwolf
 
Posts: 392
Joined: 2008-02-18 05:04
Location: Slovakia, Banovce nad Bebravou, Matice slovenskej 1260/4-7

Re: unable to upgrade packages

Postby maxbre » 2019-08-05 06:57

yup, that's it!

thank you, sorted out (apparent problem!)

best
maxbre
 
Posts: 63
Joined: 2014-11-08 16:44

Re: [solved ] unable to upgrade packages

Postby eor2004 » 2019-08-06 17:34

@ maxbre: Hi, you have deb-multimedia repo enabled, if I were you I remove that line ASAP!
OS: Debian 10 Buster 64-bit DE: MATE 1.20 CPU: AMD Phenom II X4 925 @ 2.8GHZ RAM: 8GB CORSAIR XMS2 PC2-6400U DDR2 (CM2X2048-6400C5C) GPU: ATI Radeon HD 3200 Mobo: Gigabyte GA-MA78GPM-DS2H HDD: Hitachi 2TB (HUA723020ALA641) 7200RPM
User avatar
eor2004
 
Posts: 198
Joined: 2013-10-01 22:49
Location: Puerto Rico

Re: unable to upgrade packages

Postby Danna81 » 2019-11-13 06:24

maxbre wrote:
Code: Select all
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 https://download.sublimetext.com apt/stable/ Packages
     release o=Sublime Text,a=apt/stable,l=Sublime Text APT Repository,c=
     origin download.sublimetext.com
 500 https://repo.skype.com/deb stable/main amd64 Packages
     release o=. stable,a=stable,n=stable,l=. stable,c=main,b=amd64
     origin repo.skype.com
 500 https://deb.opera.com/opera-stable stable/non-free i386 Packages
     release o=Opera Software AS,a=stable,n=stable,l=The Opera web browser,c=non-free,b=i386
     origin deb.opera.com
 500 https://deb.opera.com/opera-stable stable/non-free amd64 Packages
     release o=Opera Software AS,a=stable,n=stable,l=The Opera web browser,c=non-free,b=amd64
     origin deb.opera.com
 500 http://mirror3.mirror.garr.it/mirrors/deb-multimedia stable/non-free i386 Packages
     release v=10,o=Unofficial Multimedia Packages,a=stable,n=buster,l=Unofficial Multimedia Packages,c=non-free,b=i386
     origin mirror3.mirror.garr.it
 500 http://mirror3.mirror.garr.it/mirrors/deb-multimedia stable/non-free amd64 Packages
     release v=10,o=Unofficial Multimedia Packages,a=stable,n=buster,l=Unofficial Multimedia Packages,c=non-free,b=amd64
     origin mirror3.mirror.garr.it
 500 http://mirror3.mirror.garr.it/mirrors/deb-multimedia stable/main i386 Packages
     release v=10,o=Unofficial Multimedia Packages,a=stable,n=buster,l=Unofficial Multimedia Packages,c=main,b=i386
     origin mirror3.mirror.garr.it
 500 http://mirror3.mirror.garr.it/mirrors/deb-multimedia stable/main amd64 Packages
     release v=10,o=Unofficial Multimedia Packages,a=stable,n=buster,l=Unofficial Multimedia Packages,c=main,b=amd64
     origin mirror3.mirror.garr.it
 500 http://download.virtualbox.org/virtualbox/debian stretch/contrib i386 Packages
     release o=Oracle Corporation,n=stretch,l=Oracle Corporation,c=contrib,b=i386
     origin download.virtualbox.org
 500 http://download.virtualbox.org/virtualbox/debian stretch/contrib amd64 Packages
     release o=Oracle Corporation,n=stretch,l=Oracle Corporation,c=contrib,b=amd64
     origin download.virtualbox.org
 500 https://qgis.org/debian stretch/main i386 Packages
     release o=QGIS project,a=stretch,n=stretch,l=QGIS repository,c=main,b=i386
     origin qgis.org
 500 https://qgis.org/debian stretch/main amd64 Packages
     release o=QGIS project,a=stretch,n=stretch,l=QGIS repository,c=main,b=amd64
     origin qgis.org
 500 http://cran.mirror.garr.it/mirrors/CRAN/bin/linux/debian stretch-cran35/ Packages
     release o=CRAN,a=stretch-cran35,n=stretch-cran35,l=CRAN Backports,c=
     origin cran.mirror.garr.it
 100 http://ftp.debian.org/debian stretch-backports/non-free i386 Packages
     release o=Debian Backports,a=stretch-backports,n=stretch-backports,l=Debian Backports,c=non-free,b=i386
     origin ftp.debian.org
 100 http://ftp.debian.org/debian stretch-backports/non-free amd64 Packages
     release o=Debian Backports,a=stretch-backports,n=stretch-backports,l=Debian Backports,c=non-free,b=amd64
     origin ftp.debian.org
 100 http://ftp.debian.org/debian stretch-backports/contrib i386 Packages
     release o=Debian Backports,a=stretch-backports,n=stretch-backports,l=Debian Backports,c=contrib,b=i386
     origin ftp.debian.org
 100 http://ftp.debian.org/debian stretch-backports/contrib amd64 Packages
     release o=Debian Backports,a=stretch-backports,n=stretch-backports,l=Debian Backports,c=contrib,b=amd64
     origin ftp.debian.org
 100 http://ftp.debian.org/debian stretch-backports/main i386 Packages
     release o=Debian Backports,a=stretch-backports,n=stretch-backports,l=Debian Backports,c=main,b=i386
     origin ftp.debian.org
 100 http://ftp.debian.org/debian stretch-backports/main amd64 Packages
     release o=Debian Backports,a=stretch-backports,n=stretch-backports,l=Debian Backports,c=main,b=amd64
     origin ftp.debian.org
 500 http://ftp.it.debian.org/debian stretch-updates/main i386 Packages
     release o=Debian,a=oldstable-updates,n=stretch-updates,l=Debian,c=main,b=i386
     origin ftp.it.debian.org
 500 http://ftp.it.debian.org/debian stretch-updates/main amd64 Packages
     release o=Debian,a=oldstable-updates,n=stretch-updates,l=Debian,c=main,b=amd64
     origin ftp.it.debian.org
 500 http://security.debian.org/debian-security stretch/updates/non-free i386 Packages
     release v=9,o=Debian,a=oldstable,n=stretch,l=Debian-Security,c=non-free,b=i386
     origin security.debian.org
 500 http://security.debian.org/debian-security stretch/updates/non-free amd64 Packages
     release v=9,o=Debian,a=oldstable,n=stretch,l=Debian-Security,c=non-free,b=amd64
     origin security.debian.org
 500 http://security.debian.org/debian-security stretch/updates/contrib i386 Packages
     release v=9,o=Debian,a=oldstable,n=stretch,l=Debian-Security,c=contrib,b=i386
     origin security.debian.org
 500 http://security.debian.org/debian-security stretch/updates/contrib amd64 Packages
     release v=9,o=Debian,a=oldstable,n=stretch,l=Debian-Security,c=contrib,b=amd64
     origin security.debian.org
 500 http://security.debian.org/debian-security stretch/updates/main i386 Packages
     release v=9,o=Debian,a=oldstable,n=stretch,l=Debian-Security,c=main,b=i386
     origin security.debian.org
 500 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
     release v=9,o=Debian,a=oldstable,n=stretch,l=Debian-Security,c=main,b=amd64
     origin security.debian.org
 500 http://ftp.it.debian.org/debian stretch/non-free i386 Packages
     release v=9.9,o=Debian,a=oldstable,n=stretch,l=Debian,c=non-free,b=i386
     origin ftp.it.debian.org
 500 http://ftp.it.debian.org/debian stretch/non-free amd64 Packages
     release v=9.9,o=Debian,a=oldstable,n=stretch,l=Debian,c=non-free,b=amd64
     origin ftp.it.debian.org
 500 http://ftp.it.debian.org/debian stretch/contrib i386 Packages
     release v=9.9,o=Debian,a=oldstable,n=stretch,l=Debian,c=contrib,b=i386
     origin ftp.it.debian.org
 500 http://ftp.it.debian.org/debian stretch/contrib amd64 Packages
     release v=9.9,o=Debian,a=oldstable,n=stretch,l=Debian,c=contrib,b=amd64
     origin ftp.it.debian.org
 500 http://ftp.it.debian.org/debian stretch/main i386 Packages
     release v=9.9,o=Debian,a=oldstable,n=stretch,l=Debian,c=main,b=i386
     origin ftp.it.debian.org
 500 http://ftp.it.debian.org/debian stretch/main amd64 Packages
     release v=9.9,o=Debian,a=oldstable,n=stretch,l=Debian,c=main,b=amd64
     origin ftp.it.debian.org


any problem?
what about this?
Code: Select all
E: Unable to correct problems, you have held broken packages.

no worries?

thank you


Facing the same problem, please help me.
Danna81
 
Posts: 1
Joined: 2019-11-13 06:16

Re: [solved ] unable to upgrade packages

Postby stevepusser » 2019-11-13 19:32

OK, you read this thread, right? And you saw the information that we needed from the original poster to solve the issue, yet you don't provide the same info from the start?

Instead of hijacking this thread, please start a new one, and provide the same information in your first post. At the very least, install inxi and give us the output of "inxi -r" in the terminal.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Clipgrab 3.8.6, Hedgewars 1.0.0, PulseEffects 4.6.8, Telegram-desktop 1.8.15, Pale Moon 28.7.2, KeepassXC 2.5.1
User avatar
stevepusser
 
Posts: 11297
Joined: 2009-10-06 05:53


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 1 guest

fashionable