LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   you have held broken packages (https://www.linuxquestions.org/questions/debian-26/you-have-held-broken-packages-4175674941/)

shruggy 05-10-2020 08:19 AM

Quote:

Originally Posted by Thomas#555 (Post 6121363)
how to do a batch downgrade

Try
Code:

sudo apt install ^lib{'e?gl.*',x11-xcb1}/buster gstreamer.\*-gl/buster

Thomas#555 05-10-2020 08:24 AM

I got an instant monster list that I can't get in to a file (>> just does the first two lines) here is some of it:
Code:

Note, selecting 'glade' for glob '*gl*'
Note, selecting 'giggle' for glob '*gl*'
Note, selecting 'librust-encoding-index-singlebyte-1.20141219-dev' for glob '*gl*'
Note, selecting 'libglobus-gass-copy-doc' for glob '*gl*'
Note, selecting 'libxmmsclient-glib-dev' for glob '*gl*'
E: Release 'stable' for 'libglu1' was not found
E: Release 'stable' for 'apertium-gl-en' was not found
E: Release 'stable' for 'apertium-gl-es' was not found
E: Release 'stable' for 'apertium-gl-pt' was not found
E: Release 'stable' for 'autoconf-gl-macros' was not found
E: Release 'stable' for 'bglibs-doc' was not found

So not sure it worked.

shruggy 05-10-2020 08:29 AM

When installing packages with apt you can always require a package from specific release (package_name/release) provided the repos for that release are enabled in sources.list.

You also can test with apt -s install ... -s means simulate.

shruggy 05-10-2020 09:23 AM

Let's try this (I also edited my post above, that idea with \*gl\* was stupid and dangerous, sorry):
Code:

sudo apt install ^lib{'e?gl.*',x11-xcb1}/buster gstreamer.\*-gl/buster
or you can just start an interactive aptitude session
Code:

sudo aptitude
and resolve conflicts from there. b in aptitude searches for the next broken package.

Thomas#555 05-10-2020 09:27 AM

I'll try the latter later...


All times are GMT -5. The time now is 03:26 AM.