Held-back packages issue

If none of the more specific forums is the right place to ask

Held-back packages issue

Postby nism0 » 2018-10-07 08:12

Hi folks,

This is my first post on this forum, but also a "gateway of last resort" since I've searched Internet and this forum too for solution but didn't find any acceptible.
I've got problem with held-back packages. It started from simple installation of audacious package but there were some unmet dependenies. I also tried to install them manually, with aptitude -f install but it turns into some packages "held-back".

I try solutions from here: https://askubuntu.com/questions/601/the-following-packages-have-been-kept-back-why-and-how-do-i-solve-it

So first of all I tried to install audacious manually with apt-get install:

Code: Select all
nism0@zalman:~$ sudo apt-get install audacious
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności       
Odczyt informacji o stanie... Gotowe
Nie udało się zainstalować niektórych pakietów. Może to oznaczać,
że zażądano niemożliwej sytuacji lub użyto dystrybucji niestabilnej,
w której niektóre pakiety nie zostały jeszcze utworzone lub przeniesione
z katalogu Incoming ("Przychodzące").
Następujące informacje mogą pomóc rozwiązać sytuację:

Następujące pakiety mają niespełnione zależności:
 audacious : Wymaga: audacious-plugins (>= 1:3.10) ale nie zostanie zainstalowany
E: Nie udało się naprawić problemów, zatrzymano uszkodzone pakiety.
nism0@zalman:~$ sudo apt-get install audacious-plugins
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności       
Odczyt informacji o stanie... Gotowe
Nie udało się zainstalować niektórych pakietów. Może to oznaczać,
że zażądano niemożliwej sytuacji lub użyto dystrybucji niestabilnej,
w której niektóre pakiety nie zostały jeszcze utworzone lub przeniesione
z katalogu Incoming ("Przychodzące").
Następujące informacje mogą pomóc rozwiązać sytuację:

Następujące pakiety mają niespełnione zależności:
 audacious-plugins : Wymaga: libavcodec58 (>= 10:4.0.2) ale nie zostanie zainstalowany
                     Wymaga: libavformat58 (>= 10:4.0.2) ale nie zostanie zainstalowany
                     Wymaga: libavutil56 (>= 10:4.0.2) ale nie zostanie zainstalowany
                     Wymaga: libcdio-cdda2 (>= 10.2+0.94+2) ale nie zostanie zainstalowany
                     Wymaga: libcdio18 (>= 1:2.0.0) ale nie zostanie zainstalowany
                     Wymaga: libsdl2-2.0-0 (>= 2.0.8) ale nie zostanie zainstalowany
                     Poleca: audacious (>= 2.4.3) ale nie zostanie zainstalowany
E: Nie udało się naprawić problemów, zatrzymano uszkodzone pakiety.
nism0@zalman:~$ ^C


Trial of installing each of unment dependencies results with the same as above, so I tried second solution:

Code: Select all
nism0@zalman:~$ sudo apt-get --with-new-pkgs upgrade
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności       
Odczyt informacji o stanie... Gotowe
Obliczanie aktualizacji... Gotowe
Następujące pakiety zostały zatrzymane:
  libchromaprint1
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 1 nieaktualizowanych.
nism0@zalman:~$


After this, tried to install above package manually:

Code: Select all
nism0@zalman:~$ sudo apt-get install libchromaprint1
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności       
Odczyt informacji o stanie... Gotowe
Nie udało się zainstalować niektórych pakietów. Może to oznaczać,
że zażądano niemożliwej sytuacji lub użyto dystrybucji niestabilnej,
w której niektóre pakiety nie zostały jeszcze utworzone lub przeniesione
z katalogu Incoming ("Przychodzące").
Następujące informacje mogą pomóc rozwiązać sytuację:

Następujące pakiety mają niespełnione zależności:
 libchromaprint1 : Wymaga: libavcodec58 (>= 10:4.0) ale nie zostanie zainstalowany
                   Wymaga: libavutil56 (>= 10:4.0) ale nie zostanie zainstalowany
E: Nie udało się naprawić problemów, zatrzymano uszkodzone pakiety.
nism0@zalman:~$


And here the circle closes again...

Finally I tried apt-get upgrade:

Code: Select all
nism0@zalman:~$ sudo apt-get upgrade
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności       
Odczyt informacji o stanie... Gotowe
Obliczanie aktualizacji... Gotowe
Następujące pakiety zostały zatrzymane:
  gir1.2-gst-plugins-base-1.0 gstreamer1.0-alsa gstreamer1.0-libav gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-pulseaudio gstreamer1.0-x libasound2-plugins
  libbabl-0.1-0 libchromaprint1 libgstreamer-plugins-base1.0-0 libjavascriptcoregtk-4.0-18 libwebkit2gtk-4.0-37
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 14 nieaktualizowanych.
nism0@zalman:~$


And desperately dist-upgrade which is not a best idea, but...

Code: Select all
nism0@zalman:~$ sudo apt-get dist-upgrade
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności       
Odczyt informacji o stanie... Gotowe
Obliczanie aktualizacji... Gotowe
Następujące pakiety zostały zatrzymane:
  libchromaprint1
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 1 nieaktualizowanych.
nism0@zalman:~$


Here are my OS details:

Code: Select all
nism0@zalman:~$ uname -a
Linux zalman 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u5 (2018-09-30) x86_64 GNU/Linux
nism0@zalman:~$
nism0
 
Posts: 6
Joined: 2018-10-07 07:56

Re: Held-back packages issue

Postby Head_on_a_Stick » 2018-10-07 08:22

Please post the output of
Code: Select all
LC_ALL=C apt policy

Thanks!
User avatar
Head_on_a_Stick
 
Posts: 8008
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Held-back packages issue

Postby nism0 » 2018-10-07 08:24

Here you go:

Code: Select all
nism0@zalman:~$ LC_ALL=C apt policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://ftp.debian.org/debian jessie/contrib amd64 Packages
     release v=8.11,o=Debian,a=oldstable,n=jessie,l=Debian,c=contrib,b=amd64
     origin ftp.debian.org
 500 http://ftp.debian.org/debian jessie/main amd64 Packages
     release v=8.11,o=Debian,a=oldstable,n=jessie,l=Debian,c=main,b=amd64
     origin ftp.debian.org
 500 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages
     release v=1.0,o=Google, Inc.,a=stable,n=stable,l=Google,c=main,b=amd64
     origin dl.google.com
 500 http://deb.opera.com/opera stable/non-free amd64 Packages
     release o=Opera Software ASA,a=stable,n=stable,l=The Opera web browser,c=non-free,b=amd64
     origin deb.opera.com
 500 http://www.deb-multimedia.org testing/non-free amd64 Packages
     release v=0.0,o=Unofficial Multimedia Packages,a=testing,n=buster,l=Unofficial Multimedia Packages,c=non-free,b=amd64
     origin www.deb-multimedia.org
 500 http://www.deb-multimedia.org testing/main amd64 Packages
     release v=0.0,o=Unofficial Multimedia Packages,a=testing,n=buster,l=Unofficial Multimedia Packages,c=main,b=amd64
     origin www.deb-multimedia.org
 500 http://httpredir.debian.org/debian stretch/non-free amd64 Packages
     release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=non-free,b=amd64
     origin httpredir.debian.org
 500 http://httpredir.debian.org/debian stretch/contrib amd64 Packages
     release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=contrib,b=amd64
     origin httpredir.debian.org
 500 http://httpredir.debian.org/debian stretch/main amd64 Packages
     release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=amd64
     origin httpredir.debian.org
 500 http://ftp.de.debian.org/debian wheezy/main amd64 Packages
     release v=7.11,o=Debian,a=oldoldstable,n=wheezy,l=Debian,c=main,b=amd64
     origin ftp.de.debian.org
 500 http://ftp.pl.debian.org/debian stretch-updates/main amd64 Packages
     release o=Debian,a=stable-updates,n=stretch-updates,l=Debian,c=main,b=amd64
     origin ftp.pl.debian.org
 500 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
     release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=main,b=amd64
     origin security.debian.org
 500 http://ftp.pl.debian.org/debian stretch/main amd64 Packages
     release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=amd64
     origin ftp.pl.debian.org
Pinned packages:
nism0@zalman:~$
nism0
 
Posts: 6
Joined: 2018-10-07 07:56

Re: Held-back packages issue

Postby arzgi » 2018-10-07 08:28

Here we go again, you have something called frankendebian.

https://wiki.debian.org/DontBreakDebian
arzgi
 
Posts: 387
Joined: 2008-02-21 17:03
Location: Finland

Re: Held-back packages issue

Postby Head_on_a_Stick » 2018-10-07 08:30

^^ That's quite a cocktail :mrgreen:

Your system seems to be (mostly) Debian stretch but with wheezy sources added (why?) along with the standard stealth Chrome entry and a deb-multimedia source that points to testing — I would be looking to blame deb-multimedia for this mess but I'm just guessing.
User avatar
Head_on_a_Stick
 
Posts: 8008
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Held-back packages issue

Postby nism0 » 2018-10-07 08:38

Head_on_a_Stick wrote:^^ That's quite a cocktail :mrgreen:

Your system seems to be (mostly) Debian stretch but with wheezy sources added (why?) along with the standard stealth Chrome entry and a deb-multimedia source that points to testing — I would be looking to blame deb-multimedia for this mess but I'm just guessing.



I needed some apps which were not present in stretch but were present in wheezy reps. Ad others entries: have no idea why I put them there. What would you advice then? Deleting all unnecessary entries from /etc/apt/sources.list and doing apt-get update and then try to install packages?
nism0
 
Posts: 6
Joined: 2018-10-07 07:56

Re: Held-back packages issue

Postby arzgi » 2018-10-07 08:52

You can try that, but at the end, it's most likely you have to reinstall soon.

Just removing source will not delete the packages you have installed from there.

Read the link I gave.
arzgi
 
Posts: 387
Joined: 2008-02-21 17:03
Location: Finland

Re: Held-back packages issue

Postby nism0 » 2018-10-07 08:58

I'm reading it right now, thx. Anyways, the only way to "cure" frankendebian is to completely reinstall it?
nism0
 
Posts: 6
Joined: 2018-10-07 07:56

Re: Held-back packages issue

Postby arzgi » 2018-10-07 08:59

In almost any case: yes.
arzgi
 
Posts: 387
Joined: 2008-02-21 17:03
Location: Finland

Re: Held-back packages issue

Postby debiman » 2018-10-07 09:16

nism0 wrote:Anyways, the only way to "cure" frankendebian is to completely reinstall it?

no.
but:
usually the effort it takes to fix a frankendebian is much, much larger than reinstalling.
esp. if the user in question is not very experienced with debian.
User avatar
debiman
 
Posts: 2900
Joined: 2013-03-12 07:18

Re: Held-back packages issue

Postby Head_on_a_Stick » 2018-10-07 09:46

nism0 wrote:Deleting all unnecessary entries from /etc/apt/sources.list

That won't actually work for Chrome because the .deb package supplied by the Big G also installs a cron job to replace /etc/apt/sources.list.d/chrome.list if it is removed; the correct method is to keep the file but comment out the repository line. But then you would be running a browser without receiving updates, which seems unwise.

debiman wrote:usually the effort it takes to fix a frankendebian is much, much larger than reinstalling.
esp. if the user in question is not very experienced with debian.

I'm not sure if many experienced Debian users will have experience of fixing broken FrankenDebians because most experienced Debian users would never consider creating a FrankenDebian in the first place :mrgreen:

See also viewtopic.php?f=12&t=134762&p=655783

A reinstall is the only way to be absolutely sure.
User avatar
Head_on_a_Stick
 
Posts: 8008
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Held-back packages issue

Postby stevepusser » 2018-10-07 17:40

If you were trying to get the latest audacious 3.10 for Jessie, I maintain a multimedia backports repository that has compatible Jessie builds that won't break your system (but might update many support libraries, depending on the package):

https://build.opensuse.org/package/show ... /audacious

Unfortunately, it doesn't show up at the top of Google search results like the random blog instructions that'll break your system.

If you're going to reinstall, I'd suggest you take the opportunity to install Stretch instead of Jessie, though.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Kdenlive 18.08.1, Pale Moon 28.1.0, wine-staging 3.17, qBittorrent 4.1.3, Liquorix kernel 4.18-13, Audacity 2.3.0
User avatar
stevepusser
 
Posts: 10002
Joined: 2009-10-06 05:53

Re: Held-back packages issue

Postby nism0 » 2018-10-08 06:08

stevepusser wrote:If you were trying to get the latest audacious 3.10 for Jessie, I maintain a multimedia backports repository that has compatible Jessie builds that won't break your system (but might update many support libraries, depending on the package):

https://build.opensuse.org/package/show ... /audacious

Unfortunately, it doesn't show up at the top of Google search results like the random blog instructions that'll break your system.

If you're going to reinstall, I'd suggest you take the opportunity to install Stretch instead of Jessie, though.


I'll definitely take advantage of installing latest stable release. To sum up - the main cause was a mess in sources.list, right?
nism0
 
Posts: 6
Joined: 2018-10-07 07:56

Re: Held-back packages issue

Postby stevepusser » 2018-10-08 16:58

nism0 wrote:
stevepusser wrote:If you were trying to get the latest audacious 3.10 for Jessie, I maintain a multimedia backports repository that has compatible Jessie builds that won't break your system (but might update many support libraries, depending on the package):

https://build.opensuse.org/package/show ... /audacious

Unfortunately, it doesn't show up at the top of Google search results like the random blog instructions that'll break your system.

If you're going to reinstall, I'd suggest you take the opportunity to install Stretch instead of Jessie, though.


I'll definitely take advantage of installing latest stable release. To sum up - the main cause was a mess in sources.list, right?


Yes...it's not a mortal sin to add third party repositories, but they have to be compatible, like mine or Google's. Ubuntu and upstream Debian repositories, along with PPAs, have the capability to break your system. Deb-multimedia is supposed to be compatible, but also has caused issues for other packages in th main Debian repos.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Kdenlive 18.08.1, Pale Moon 28.1.0, wine-staging 3.17, qBittorrent 4.1.3, Liquorix kernel 4.18-13, Audacity 2.3.0
User avatar
stevepusser
 
Posts: 10002
Joined: 2009-10-06 05:53

Re: Held-back packages issue

Postby RU55EL » 2018-10-08 17:37

If you haven't already, be sure to read the page at the link arzgi posted. It is important that you understand the information there.

arzgi wrote:Here we go again, you have something called frankendebian.

https://wiki.debian.org/DontBreakDebian
User avatar
RU55EL
 
Posts: 380
Joined: 2014-04-07 03:42
Location: /home/russel

Next

Return to General Questions

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable