you have held broken packages
I am no expert, but know enough to use Debian 10 Buster as my daily driver for not-work using bspwm and polybar. I can just about use nvim. I can't diagnose and solve real issues though.
The network crapping out defeated my last week. I reinstalled before realising it was the LAN port borking (it worked fine under W10 under my dual boot). I have had a happy (genuinely!) week getting everything 'just-so' again having backed up my home directory. But I now have a problem that will make me reinstall in the natural way of things, but I want to learn more so here we are. I am getting weird apt issues. eg. Code:
me@debian:~$ sudo apt install qt5-default What may have caused it: I did edit my sources.list to add contrib non-free I did accidentally add a sid source to my sources.list I have removed both changes. What I have tried... Lots. I manually went through this script too: Code:
#!/bin/bash Code:
me@debian:~$ sudo apt install qt5-default qtbase5-dev libgl1-mesa-dev libglvnd-dev |
Quote:
|
Code:
sudo dpkg -C The same problem persists. |
Quote:
|
This is my current /etc/apt/sources.list
Code:
deb http://deb.debian.org/debian/ buster main So we have a smoking gun... Where else can I look for sources? |
If sid is not in sources.list then the packages in question are already downloaded from sid and sit in /var/cache/apt/archives waiting to be installed.
|
Code:
~$sudo ls /var/cache/apt/archives |
Two questions.
1. Have you by chance installed something like apt-cacher-ng? 2. Can you install aptitude? |
Code:
apt search apt-cacher-ng Yes, I can (and just did) install aptitude. |
Code:
sudo aptitude install qt5-default How do I downgrade stuff? I am guessing I did an apt upgrade whilst the rogue sid was in place. |
Code:
sudo apt install libx11-xcb1=2:1.6.7-1 |
I think the issue was my installing kitty terminal - I think that is why I put the rogue entry in. I clicked n and was offered thusly:
Code:
Accept this solution? [Y/n/q/?] n |
Yes, that should work.
|
So I now need to work out how to do a batch downgrade. @shruggy - thank you so much.
|
Quote:
An easier way is to use aptitude to fix it each time... Think I will go for the latter. Cheers! |
All times are GMT -5. The time now is 04:03 PM. |