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

 

 

 

Held-back packages issue

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
nism0
Posts: 6
Joined: 2018-10-07 07:56

Held-back packages issue

#1 Post by nism0 »

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 ... 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:~$ 

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Held-back packages issue

#2 Post by Head_on_a_Stick »

Please post the output of

Code: Select all

LC_ALL=C apt policy
Thanks!
deadbang

nism0
Posts: 6
Joined: 2018-10-07 07:56

Re: Held-back packages issue

#3 Post by nism0 »

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:~$ 

arzgi
Posts: 1193
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: Held-back packages issue

#4 Post by arzgi »

Here we go again, you have something called frankendebian.

https://wiki.debian.org/DontBreakDebian

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Held-back packages issue

#5 Post by Head_on_a_Stick »

^^ 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.
deadbang

nism0
Posts: 6
Joined: 2018-10-07 07:56

Re: Held-back packages issue

#6 Post by nism0 »

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?

arzgi
Posts: 1193
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: Held-back packages issue

#7 Post by arzgi »

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.

nism0
Posts: 6
Joined: 2018-10-07 07:56

Re: Held-back packages issue

#8 Post by nism0 »

I'm reading it right now, thx. Anyways, the only way to "cure" frankendebian is to completely reinstall it?

arzgi
Posts: 1193
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: Held-back packages issue

#9 Post by arzgi »

In almost any case: yes.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Held-back packages issue

#10 Post by debiman »

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
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Held-back packages issue

#11 Post by Head_on_a_Stick »

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 http://forums.debian.net/viewtopic.php? ... 2&p=655783

A reinstall is the only way to be absolutely sure.
deadbang

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Held-back packages issue

#12 Post by stevepusser »

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.
MX Linux packager and developer

nism0
Posts: 6
Joined: 2018-10-07 07:56

Re: Held-back packages issue

#13 Post by nism0 »

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?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Held-back packages issue

#14 Post by stevepusser »

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.
MX Linux packager and developer

User avatar
RU55EL
Posts: 546
Joined: 2014-04-07 03:42
Location: /home/russel

Re: Held-back packages issue

#15 Post by RU55EL »

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

nism0
Posts: 6
Joined: 2018-10-07 07:56

Re: Held-back packages issue

#16 Post by nism0 »

Ok, now I understand that installing packages from unsupported sources like from sid's repo/ppa etc can brake other packages too and that was the main cause of my disaster. Testing Stretch since today. Thanks guys for help.

Post Reply