Fetch errors after mintupdate-debian upgrade
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
Fetch errors after mintupdate-debian upgrade
I'm on LMDE XFCE, and I just loaded an update to mintupdate-debian (v 1.0.6 according to Synaptic). During the apply step, I got a dialog that asked me to point to a repository, with 3 choices (in France, USA and Germany). I chose the USA, but after that whenever I ran Update Manager I got a fetch error (too long to include here).
I restored the old /etc/apt/sources.list file and deleted the one that was added, but I did compare them and they didn't look any different.
I have been patiently waiting for UP5 to hit the Latest repository, but I want to make sure that I'm pointing to the correct set of repositories so I get the update properly, and it is amazingly unclear on what the 'Latest' repository file should be from what I've seen.
This is my /etc/apt/sources.list file, just so its clear:
deb http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.com/latest testing main contrib non-free
deb http://debian.linuxmint.com/latest/security/ testing/updates main contrib non-free
deb http://debian.linuxmint.com/latest/multimedia testing main non-free
Any help would be appreciated: I like LMDE, but it updates so infrequently that I forget the finer points when something comes down and breaks.
MikeC
I restored the old /etc/apt/sources.list file and deleted the one that was added, but I did compare them and they didn't look any different.
I have been patiently waiting for UP5 to hit the Latest repository, but I want to make sure that I'm pointing to the correct set of repositories so I get the update properly, and it is amazingly unclear on what the 'Latest' repository file should be from what I've seen.
This is my /etc/apt/sources.list file, just so its clear:
deb http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.com/latest testing main contrib non-free
deb http://debian.linuxmint.com/latest/security/ testing/updates main contrib non-free
deb http://debian.linuxmint.com/latest/multimedia testing main non-free
Any help would be appreciated: I like LMDE, but it updates so infrequently that I forget the finer points when something comes down and breaks.
MikeC
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Fetch errors after mintupdate-debian upgrade
you don't have by any change the deleted faulty source.list to compare? that, yes would be very useful
Re: Fetch errors after mintupdate-debian upgrade
No, alas, though I did a cursory side-by-side visual comparison and I didn't see any differences (but for some reason I always have trouble parsing the sources.list files in my head).zerozero wrote:you don't have by any change the deleted faulty source.list to compare? that, yes would be very useful
Unfortunately, I had rm'ed the file before I remembered about diff....
Sorry,
MikeC
Re: Fetch errors after mintupdate-debian upgrade
MikeC,
are you willing to perform an experiment for us?
now that you have the original sources.list in place can you please run in terminal this will rerun mint-debian-mirrors and will ask you to pick the best server, after that finishes give us the output of
much appreciated
are you willing to perform an experiment for us?
now that you have the original sources.list in place can you please run in terminal
Code: Select all
mint-choose-debian-mirror
Code: Select all
inxi -r
Re: Fetch errors after mintupdate-debian upgrade
Output of mint-choose-debian-mirror:zerozero wrote:MikeC,
are you willing to perform an experiment for us?
now that you have the original sources.list in place can you please run in terminalthis will rerun mint-debian-mirrors and will ask you to pick the best server, after that finishes give us the output ofCode: Select all
mint-choose-debian-mirror
much appreciatedCode: Select all
inxi -r
Code: Select all
Current server: http://debian.linuxmint.com/ (latest)
Server http://debian.linuxmint.com - 14Kbps
Server http://mirror.rts-informatique.fr/linuxmint/debian - 52Kbps
Server http://debian.lth.se/lmde - 38Kbps
Best server: http://mirror.rts-informatique.fr/linuxmint/debian
Selected server: http://debian.linuxmint.com
Saving old /etc/apt/sources.list in /etc/apt/sources.list.bk
Updating /etc/apt/sources.list
And now I get the same fetch error again, and here is the capturable text in the box:
Code: Select all
W: Failed to fetch http://debian.linuxmint.comlatest/dists/testing/InRelease
W: Failed to fetch http://debian.linuxmint.comlatest/security/dists/testing/updates/InRelease
W: Failed to fetch http://debian.linuxmint.comlatest/multimedia/dists/testing/InRelease
W: Failed to fetch http://debian.linuxmint.comlatest/dists/testing/Release.gpg Could not resolve 'debian.linuxmint.comlatest'
W: Failed to fetch http://debian.linuxmint.comlatest/security/dists/testing/updates/Release.gpg Could not resolve 'debian.linuxmint.comlatest'
W: Failed to fetch http://debian.linuxmint.comlatest/multimedia/dists/testing/Release.gpg Could not resolve 'debian.linuxmint.comlatest'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Code: Select all
Repos: Active apt sources in file: /etc/apt/sources.list
deb http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.comlatest testing main contrib non-free
deb http://debian.linuxmint.comlatest/security/ testing/updates main contrib non-free
deb http://debian.linuxmint.comlatest/multimedia testing main non-free
I told you I had a blind spot where sources.list was....
And please spell my last name correctly on the bug fix list.....
MikeC
Re: Fetch errors after mintupdate-debian upgrade
mikecz,
as i kinda suspected same bug as here http://forums.linuxmint.com/viewtopic.p ... 21#p628381
i'm going to link this topic in that one to give it more visibility.
as i kinda suspected same bug as here http://forums.linuxmint.com/viewtopic.p ... 21#p628381
i'm going to link this topic in that one to give it more visibility.
Re: Fetch errors after mintupdate-debian upgrade
Glad to to my tiny little part.zerozero wrote:mikecz,
as i kinda suspected same bug as here http://forums.linuxmint.com/viewtopic.p ... 21#p628381
i'm going to link this topic in that one to give it more visibility.
Now, if only UP5 would go live on Latest, this will be a good week..
MikeC
Re: Fetch errors after mintupdate-debian upgrade
So I guess we should wait before updating mintupdate.zerozero wrote:mikecz,
as i kinda suspected same bug as here http://forums.linuxmint.com/viewtopic.p ... 21#p628381
i'm going to link this topic in that one to give it more visibility.
Is this correct?
Re: Fetch errors after mintupdate-debian upgrade
Just make a backup copy of your sources.list file then do the update. If you have a problem afterwards you simply replace sources.list with your good backup copy. That way you can report on success or failure.m4daredsun wrote:So I guess we should wait before updating mintupdate.
Is this correct?
I updated mintupdate-debian yesterday and it worked just fine. Probability is that yours will too, but if you get a failure it's easy to fix and you supply another data point towards resolution of the bug.
It's this easy to do...
Backup your current working sources file.
Code: Select all
sudo cp /etc/apt/sources.list /etc/apt/sources.list.good
If you get failures as noted above, do this (to preserve the evidence ).
Code: Select all
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bad
Code: Select all
sudo cp /etc/apt/sources.list.good /etc/apt/sources.list
Re: Fetch errors after mintupdate-debian upgrade
Wow... that one was tricky
First of all, thanks for your feedback. Basically we're looking at two bugs here... special characters within the source file prevented the script from parsing it well... and in some cases the current server would contain a / and the selected one wouldn't.. leading to a missing / in the resulting sources.list.
Both bugs were fixed in mint-debian-mirrors 2012.09.18.
First of all, thanks for your feedback. Basically we're looking at two bugs here... special characters within the source file prevented the script from parsing it well... and in some cases the current server would contain a / and the selected one wouldn't.. leading to a missing / in the resulting sources.list.
Both bugs were fixed in mint-debian-mirrors 2012.09.18.
Re: Fetch errors after mintupdate-debian upgrade
Wow, a reply from clem himself! I feel honoured.
So, UP5 finally went live, and something strange happened during the applying (aside from it taking 4+ hours to download everything): the mint-choose-debian-mirror script only showed 2 mirrors, and since I prefer the main one (debian.linuxmint.com), I hit 'cancel', and that bombed out the setup script for Mint-Update. I don't think it stopped anything being installed, however.
I had to re-install the mint-choose-debian-mirror package to get it to work properly after the update finished, but it still doesn't list the main mirror as a choice, only the other two.
That, and there is no description of UP5 in "Update Pack Info", so I'd like to know how to refresh that.
MikeC
So, UP5 finally went live, and something strange happened during the applying (aside from it taking 4+ hours to download everything): the mint-choose-debian-mirror script only showed 2 mirrors, and since I prefer the main one (debian.linuxmint.com), I hit 'cancel', and that bombed out the setup script for Mint-Update. I don't think it stopped anything being installed, however.
I had to re-install the mint-choose-debian-mirror package to get it to work properly after the update finished, but it still doesn't list the main mirror as a choice, only the other two.
That, and there is no description of UP5 in "Update Pack Info", so I'd like to know how to refresh that.
MikeC