Unable to upgrade because of Linux-Libre?
- Login o registrati per inviare commenti
Hey,
I tried to upgrade my Trisquel 10 machine to 11, but I am facing this error:
Err:5 http://linux-libre.fsfla.org/pub/linux-libre/freesh/mirrors.txt
Problem is, I can't find it's entry in Synaptic to remove it or replace with a working mirror (apparently that destination is indeed down).
And from the looks of it, Trisquel refuses to upgrade until this is solved.
Any idea how to solve this? Thanks!
Maybe wait until the website's back up? It shouldn't be long.
Well yes, if I can't do anything about it I will have to wait. BUT, the question remains, if the mirror is not appearing in the sources list, how could I get it out and upgrade (let's assume it was something that wouldn't be back up).
You can disable the GNU Linux-libre repository with this command:
sudo sed -i 's|Enabled: yes|Enabled: no|' /etc/apt/sources.list.d/freesh.sources
The repository is located at /etc/apt/sources.list.d/freesh.sources
Thanks!
In the meantime I did locate that file and edited to replace the mirror with another one from page https://www.fsfla.org/ikiwiki/selibre/linux-libre/index.en.html#mirrors
It seems I am now able to run sudo apt update and sudo apt upgrade (before it was not able). After it's done, I will try upgrading the entire system for 11.
Thanks!
Changing the mirror allowedme to update Linux-Libre.
But I can't still do "do-release-upgrade" it just mentions a non solvable error and exits.
I remember last year in a friend's computer something similar happened and I was able to upgrade with another tool.... aptitude? perhaps? But running aptitude full-upgrade also doesn't show any upgrade available :(
Trisquel documentation only points in this direction. What else should I try?
I can't still do "do-release-upgrade" it just mentions a non solvable error and exits.
What error?
That's the thing, it doesn't specify.
But searching in /var/log/main I notice that it complains about broken packages. However, again synaptic is no help, since it shows no broken packages there at all. I already disabled any third party PPA (only had 1 so it was easy).
I tried finding out what packages could be broken or on hold with:
sudo dpkg -l | grep ^..R
sudo dpkg --configure -a
sudo apt update --fix-missing
None returned any output that helps identifying the packages.
seeing as "trisquel" was the only package mentioned in the log (assuming the mention was about the package itself and not the OS name), I did "sudo apt-get remove trisquel and after that I updated again and installed it again. But still upgrading is not working.
I don't think it's a good idea, but if I replaced "nabia" with "aramo" in the sources list, would that cause the system to install the new versions of the packages?
Try join the IRC channel for a more real time advice, you might be skipping some important details on your process.
In case you have any more nabia entries in, /etc/apt:
sudo find /etc/apt/ -type f -exec sed -i 's/nabia/aramo/g' {} +
Then:
sudo apt update
sudo apt dist-upgrade
And hold on to your hat.
Yeah, I joined with Ark74 in the IRC channel and he helped me, we tried a few different things but eventually had to go that "forced" route,which surprisingly worked quite well!
It did manage to upgrade to 11, afterwards rebooted and it seems to have fixed a few extra dependencies installed a few extra packages and.... It all seems to be working fine with 11!
Thanks for the help anyway :)
That entry isn't a mirror but the main server. The .txt file, provided by the main server, is where the package manager downloads the list of mirrors from in order to know which server to actually use. Also, the main server is back online so it's possible to restore the original entry now so that your machine will automatically select a mirror using that .txt file. This is the recommended process.