"gmcaplan---" == gmcaplan--- via WLUG <wlug@lists.wlug.org> writes:
I hope one or more of you can help me. I upgraded today from Ubuntu 18.04 LTS to 20.04 LTS on my desktop computer. (I know I am way behind, but I can do this only in the summer etc., etc.) I used the built-in Ubuntu update feature. It worked better than I expected and took less that two hours. The data backups I did ahead of time took much longer.
Anyway, 20.04 is running but I have two problems.
Number One:
Many terminal commands give this message: Errors were encountered while processing: linux-image-4.15.0-212-generic Processing was halted because there were too many errors. W: Can not find PkgVer for 'linux-image-extra-4.4.0-122-generic' E: Sub-process /usr/bin/dpkg returned an error code (1)
In particular, here is what happens when I try to remove 4.4.0-212.
sudo apt-get --purge remove linux-image-extra-4.4.0-212-generic Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package linux-image-extra-4.4.0-212-generic E: Couldn't find any package by glob 'linux-image-extra-4.4.0-212-generic' E: Couldn't find any package by regex 'linux-image-extra-4.4.0-212-generic'
This is funky. I suspect that you have an old package from a previous upgrade, did you come from Ubuntu 16.x or earlier on this same system? You might try to run the following, all as root or with sudo: apt clean apt update apt install --fix-missing apt upgrade and see what each command says. So please share the full and complete outputs. You might also be able to do: apt purge linux-image-extra-4.4.0-212-generic But maybe you can share the output of: dpkg-query -l | grep linux-image-extra and see if that package is listed and share with us the full details? From the looks of it, you DID do a previous upgrade from Ubuntu 16.0 at some point, but didn't didn't do: apt autoremove once you finished the ugprade to 18.x, but I think we can make this work with a bit of finagling. Also, please look at these instructions, and once we get this fixed, I'm going to suggest you go right to 22.04 LTS, and then just stick with LTS versions if you can't upgrade very often. https://help.ubuntu.com/community/EOLUpgrades But the last thing to try, if none of the above works might be to do: dpkg --purge --force-remove-reinstreq linux-image-extra-4.4.0-212-generic and see if _that_ does the trick. John
Number Two:
I cannot get audio out of Line Out to my speakers. And I cannot get audio into Line In to make recordings. I *do* get audio from the audio output on my HDMI monitor. This might be related to the need for codecs, but when I try various terminal commands to load more codecs, I get problem Number 1 !
Yeah, let's fix your apt-repo, which seems to be in a wierd state. But maybe you can also post what your hardware is, including the output of: lspci
Some of what I read on the Web mentions tex files that could cause Number 1. I do have TeXstudio installed. I tried to uninstall texstudio and texlive, but when I do that, I get the message ant Number One!
Yeah, I doubt that's the problem, but we'll try to help here. Do you have any special stuff in /etc/apt/sources.list or do you have any extra file in ls /etc/apt/sources.list.d/ and what I'd probably do is remove all extra sources in there for now, just to make sure things are ok.